Girish Ramakrishnan
d3d7f2c320
Add config.isDemo()
2016-08-31 20:51:36 -07:00
Girish Ramakrishnan
e25ad601c7
add 0.20.0 changes
2016-08-31 09:27:43 -07:00
Girish Ramakrishnan
a6a61d2586
Fixup the ui code
...
Fixes #16
2016-08-31 09:20:18 -07:00
Girish Ramakrishnan
42b65baa39
Listen to mail config change event correctly
2016-08-31 09:19:41 -07:00
Girish Ramakrishnan
0eab262084
remove any existing container
2016-08-31 09:19:41 -07:00
Girish Ramakrishnan
11b89f473e
s/done/callback
2016-08-31 07:19:24 -07:00
Girish Ramakrishnan
0e935580b6
enable email for existing cloudrons
2016-08-31 05:34:06 -07:00
Girish Ramakrishnan
6d783220fd
Add settings UI to enable/disable mail
2016-08-30 22:46:00 -07:00
Girish Ramakrishnan
344908b5b1
add default mailconfig (false)
2016-08-30 22:17:04 -07:00
Girish Ramakrishnan
723de796c7
add get/setMailConfig
2016-08-30 22:07:38 -07:00
Girish Ramakrishnan
546d8ae4e2
re-setup mail container when config key changes
...
part of #16
2016-08-30 21:54:06 -07:00
Girish Ramakrishnan
f3fd2d7950
add mx record during mail container setup
...
part of #16
2016-08-30 21:36:40 -07:00
Girish Ramakrishnan
cbd4903960
remove .js
2016-08-30 21:33:56 -07:00
Girish Ramakrishnan
267141fa9a
expose ports in mail container based on mail config setting
...
part of #16
2016-08-30 21:33:47 -07:00
Girish Ramakrishnan
af82af5652
test: mail config get/set
...
Part of #16
2016-08-30 21:23:03 -07:00
Girish Ramakrishnan
d3a5a83f93
doc: get/set email config
...
Part of #16
2016-08-30 21:11:26 -07:00
Girish Ramakrishnan
5b52eeb573
add route to enable/disable mail
...
mail is disabled by default
Part of #16
2016-08-30 21:09:22 -07:00
Girish Ramakrishnan
db8afaf3ff
remove underused first run event
2016-08-30 21:09:05 -07:00
Girish Ramakrishnan
8e76d44a30
Remove dead code
...
From 69402d0079
2016-08-30 20:59:28 -07:00
Girish Ramakrishnan
a86e30b917
fix docs a bit
2016-08-30 17:22:59 -07:00
Girish Ramakrishnan
b214bd5d52
Give postgresql more memory
...
Fixes #14
2016-08-30 17:19:05 -07:00
Johannes Zellner
1f1e299939
Do not offer 'install anyway'
2016-08-30 11:33:32 +02:00
Johannes Zellner
8312cbe792
show settings with migrate ui on upgrade button click
2016-08-30 10:37:25 +02:00
Johannes Zellner
a9210dcc0c
Document xFrameOptions in api docs
2016-08-29 15:54:47 +02:00
Girish Ramakrishnan
8339e65eb8
Cloudron incorporated in 2015
2016-08-25 15:03:48 -07:00
Girish Ramakrishnan
3ba5bd836b
use cloudron.conf to determine if this is an update
...
see also d60b386bca
2016-08-25 10:32:58 -07:00
Girish Ramakrishnan
f1ed4ab20c
doc: add alternate backup listing command
2016-08-24 18:45:23 -07:00
Girish Ramakrishnan
22d86ff5b9
create signed urls that are valid for a day
...
sometimes the downloads take overly long and it's annoying that they
expire so soon.
2016-08-24 17:53:31 -07:00
Girish Ramakrishnan
d60b386bca
Use cloudron.conf file to determine if this is an update
...
The installer determines if it an update based on existence of box dir.
It then calls the nginx splash setup code. The splash setup code relies
on the data directory being setup. Otherwise, it barfs in data/nginx.
This results in a case where restarting cloudron-installer when it is
unpacking the box code results in an error about being unable to write
admin.conf (since the data dir gets setup only in box setup.sh).
So, use cloudron.conf to determine if box was setup and running at some
point (this is already used in the js code)
2016-08-23 17:17:24 -07:00
Girish Ramakrishnan
b7869a4fdd
Fix exec docs to be a GET instead of POST
v0.19.0
2016-08-22 14:07:57 -07:00
Girish Ramakrishnan
86903183df
Fix routing TCP upgrades via express middleware
...
Currently, if there was a POST request with 'tcp' upgrade, the code just hangs and waits
till timeout.
Instead, let express code will give us a default 'finalhandler' which responds
appropriately - https://github.com/expressjs/express/blob/master/lib/application.js#L161
https://github.com/pillarjs/finalhandler/blob/master/index.js#L57 for future reference
on how to call this callback should socket.destroy need to be called.
2016-08-22 13:21:46 -07:00
Girish Ramakrishnan
e4c2483ae5
upgrade header value is already checked in the route handlers
...
also, req.end() crashes
2016-08-22 13:21:46 -07:00
Girish Ramakrishnan
36f7e573a8
change base image version
2016-08-21 21:03:15 -07:00
Girish Ramakrishnan
8bebbfbace
0.19.0 changes
2016-08-21 16:45:08 -07:00
Girish Ramakrishnan
e198f34219
add note about db upgrades
2016-08-21 15:50:14 -07:00
Girish Ramakrishnan
6a4bda1f7e
bump test container
2016-08-21 13:25:27 -07:00
Girish Ramakrishnan
3bf0a392b9
bump mysql version
2016-08-21 13:01:31 -07:00
Girish Ramakrishnan
4165bf35d0
bump mail version
2016-08-20 12:08:02 -07:00
Girish Ramakrishnan
fc1a288a2d
bump graphite
2016-08-20 11:07:25 -07:00
Girish Ramakrishnan
7f37a9ce50
Bump redis
2016-08-20 11:03:49 -07:00
Girish Ramakrishnan
d34f8bc082
bump mongodb
2016-08-20 11:00:08 -07:00
Girish Ramakrishnan
50e598112d
doc: mongodb version
2016-08-20 10:59:26 -07:00
Girish Ramakrishnan
8150d1cb8f
bump postgresql
2016-08-20 10:42:12 -07:00
Girish Ramakrishnan
5b53280cd4
make baseImage an array
2016-08-20 10:24:29 -07:00
Girish Ramakrishnan
15e6873c14
doc: base image 0.9.0
2016-08-20 10:22:49 -07:00
Girish Ramakrishnan
f3978897ae
use a different exit code to signal external errors
...
http://tldp.org/LDP/abs/html/exitcodes.html
2016-08-19 21:54:14 -07:00
Girish Ramakrishnan
ba4bb1fd90
box-setup must be run before nginx
...
nginx configs are in the data volume which get mounted only after
box-setup script.
part of #8
2016-08-19 19:37:44 -07:00
Girish Ramakrishnan
bbbc3837b0
box-setup: run before sshd since we modify ssh config files
2016-08-19 19:34:58 -07:00
Girish Ramakrishnan
311e997619
DO: do-resize service has folded into cloud-init
2016-08-19 19:34:12 -07:00
Girish Ramakrishnan
8ee2a7016d
installer: retry fetching installer data 5 times
...
On some VPS providers, getting the userData is "flaky".
Fixes #3
2016-08-19 17:51:14 -07:00