Girish Ramakrishnan
88f0240757
serve acme directory from nginx
2015-12-08 19:04:48 -08:00
Girish Ramakrishnan
f5c2f8849d
Add LE staging url for testing
2015-12-08 18:25:45 -08:00
Girish Ramakrishnan
5c4a8f7803
add acme support
...
this is not used anywhere since we want to wait for rate limits to be
fixed.
The current limits are :
Rate limit on registrations per IP is currently 10 per 3 hours
Rate limit on certificates per Domain is currently 5 per 7 days
The domains are counted based on https://publicsuffix.org/list/ (not TLD). Like appspot.com, herokuapp.com while not a TLD, it a public suffix. This list allows browser authors to limit how cookies can be manipulated by the subdomain of those domains. like app1.appspot.com cannot go and change things of app2.appspot.com.
This means
a) we cannot use LE for cloudron.me, cloudron.us (or we have to get on that list)
b) even for custom domains we get only 5 certs every 7 days. And one of them is taken for my.xx domain.
https://community.letsencrypt.org/t/public-beta-rate-limits/4772/38
2015-12-08 15:52:30 -08:00
Girish Ramakrishnan
5b8fdad5cb
Revert "remove targetBoxVersion checks since all apps are now ported"
...
This reverts commit d104f2a077 .
gitlab is not ported :-(
2015-12-05 02:29:06 -08:00
Girish Ramakrishnan
fe819f95ec
always return logs regardless of state
2015-12-04 13:13:54 -08:00
Girish Ramakrishnan
be6728f8cb
send support an email for app crashes
2015-12-02 16:50:00 -08:00
Girish Ramakrishnan
24d3a81bc8
remove targetBoxVersion checks since all apps are now ported
2015-12-02 15:02:16 -08:00
Girish Ramakrishnan
268c7b5bcf
always create an isolated network ns
2015-12-01 13:59:45 -08:00
Girish Ramakrishnan
64716a2de5
cloudron exec: disable links for subcontainers
...
Dec 01 08:36:53 girish.cloudron.us node[5431]: Error: HTTP code is 409 which indicates error: undefined - Conflicting options: --net=container can't be used with links. This would result in undefined behavior
2015-12-01 00:51:41 -08:00
Girish Ramakrishnan
d2c8457ab1
reset health when app is stopped
2015-11-30 15:41:56 -08:00
Johannes Zellner
667cb84af7
Protect from crash on shutdown
2015-11-27 10:05:57 +01:00
Girish Ramakrishnan
df8653cdd5
Do not set Hostname for subcontainers
2015-11-26 19:26:29 -08:00
Girish Ramakrishnan
32f677ca0d
make app subcontainers share network namespace with app
...
pid namespace sharing is coming in https://github.com/docker/docker/issues/10163
2015-11-26 19:18:31 -08:00
Johannes Zellner
23c04fb10b
Use console.error() to report update errors
2015-11-26 12:04:39 +01:00
Johannes Zellner
0c5d6b1045
Set app backup progress only after we check the error
2015-11-26 12:00:44 +01:00
Johannes Zellner
33f30decd1
Support redirectURIs which already contain query params
2015-11-25 17:50:39 +01:00
Johannes Zellner
9595b63939
Correctly encode the redirectURI in oauth callback
2015-11-25 17:45:18 +01:00
Johannes Zellner
b9695b09cd
Fix crash due to wrong AppsError usage
2015-11-25 13:49:20 +01:00
Girish Ramakrishnan
5a0f7df377
handle scheduler error
2015-11-22 21:17:17 -08:00
Girish Ramakrishnan
2e54be3df8
Revert "fix crash in scheduler"
...
This reverts commit 3b5e30f922 .
2015-11-22 21:13:05 -08:00
Girish Ramakrishnan
6625610aca
fix crash in scheduler
2015-11-22 17:22:06 -08:00
Girish Ramakrishnan
5c9abfe97a
debug output the changeIds
2015-11-19 17:49:30 -08:00
Johannes Zellner
e06f3d4180
Docker bridge default ip has changed
2015-11-19 16:32:03 +01:00
Girish Ramakrishnan
e3cc12da4f
new addon images based on docker 1.9.0
2015-11-18 17:53:58 -08:00
Johannes Zellner
3d80821203
Give correct feedback if an app cannot be found in the appstore
2015-11-13 10:35:29 +01:00
Johannes Zellner
d89db24bfc
Fix indentantion
2015-11-13 09:30:33 +01:00
Girish Ramakrishnan
6bd9173a9d
this docker registry keeps going down
2015-11-12 16:22:53 -08:00
Girish Ramakrishnan
0cef3e1090
do not trust the health state blindly
2015-11-12 16:16:05 -08:00
Girish Ramakrishnan
6bd68961d1
typo
2015-11-12 16:13:15 -08:00
Girish Ramakrishnan
7f8ad917d9
filter out non-healthy apps
2015-11-12 16:04:33 -08:00
Girish Ramakrishnan
7cd89accaf
better pullImage debug output
2015-11-12 15:58:39 -08:00
Girish Ramakrishnan
ffee084d2b
new format of provisioning info
2015-11-12 14:22:43 -08:00
Girish Ramakrishnan
50924b0cd3
use admin.cert and admin.key if present in backup dir
2015-11-12 12:33:52 -08:00
Girish Ramakrishnan
3d86950cc9
fix indentation
2015-11-12 12:28:05 -08:00
Girish Ramakrishnan
db9ddf9969
backup fallback cert
2015-11-12 12:27:25 -08:00
Girish Ramakrishnan
4044070d76
Add -app prefix for all app sources
...
so that this doesn't conflict with some user.
2015-11-11 13:27:45 -08:00
Girish Ramakrishnan
8f05917d97
delete container on network error
2015-11-10 21:56:17 -08:00
Girish Ramakrishnan
3766d67daa
create new container from cloudron exec
2015-11-10 21:36:20 -08:00
Johannes Zellner
b1290c073e
log lines should be newline separated
2015-11-10 11:31:07 +01:00
Girish Ramakrishnan
36daf86ea2
send mail even if no related app was found (for addons)
2015-11-10 01:39:02 -08:00
Girish Ramakrishnan
4fb07a6ab3
make crashnotifier send mails again
...
mailer module waits for dns syncing. crashnotifier has no time for all that.
neither does it initialize the database. it simply wants to send mail.
(the crash itself could have happenned because of some db issue)
maybe it should simply use a shell script at some point.
2015-11-10 00:25:47 -08:00
Girish Ramakrishnan
8f2119272b
print all missing images
2015-11-09 23:31:04 -08:00
Girish Ramakrishnan
ee5bd456e0
set bucket and prefix to make migrate test pass
2015-11-09 22:45:07 -08:00
Girish Ramakrishnan
9c549ed4d8
wait for old apptask to finish before starting new one
...
kill() is async and takes no callback :/
2015-11-09 22:10:10 -08:00
Girish Ramakrishnan
61fc8b7968
better taskmanager debugs
2015-11-09 21:58:34 -08:00
Girish Ramakrishnan
6b30d65e05
add backupConfig in test
2015-11-09 21:08:23 -08:00
Girish Ramakrishnan
10c876ac75
make migrate test work
2015-11-09 20:34:27 -08:00
Girish Ramakrishnan
0966bd0bb1
use debug instead of console.error
2015-11-09 19:10:33 -08:00
Girish Ramakrishnan
294d1bfca4
remove ununsed require
2015-11-09 18:57:57 -08:00
Girish Ramakrishnan
af1d1236ea
expose api server origin to determine if the box is dev/staging/prod
2015-11-09 17:50:09 -08:00