Commit Graph

4460 Commits

Author SHA1 Message Date
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
Girish Ramakrishnan 02c5e731a9 add debug log for already provisioned 2016-08-19 17:33:55 -07:00
Girish Ramakrishnan b932a9be10 Set X-Forwarded-Ssl to on
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#supporting-proxied-ssl
http://stackoverflow.com/questions/16042647/whats-the-de-facto-standard-for-a-reverse-proxy-to-tell-the-backend-ssl-is-used
2016-08-17 17:46:36 -07:00
Girish Ramakrishnan 56618cab23 add docs 2016-08-17 10:59:09 -07:00
Girish Ramakrishnan 2f7fa54fc8 Add API and CLI 2016-08-17 09:41:25 -07:00
Girish Ramakrishnan b538c75f05 Add links to other repos 2016-08-17 09:23:57 -07:00
Girish Ramakrishnan 813950a0e5 Add features 2016-08-17 02:04:19 -07:00
Girish Ramakrishnan 8ef004f7f5 fix README 2016-08-17 00:47:14 -07:00
Girish Ramakrishnan 897326675e Add a logo for gitlab 2016-08-15 22:29:55 -07:00
Girish 06a8508c48 Add license 2016-08-15 19:22:47 +00:00
Girish Ramakrishnan 979f63f3f8 add link to upgrade docs 2016-08-14 19:42:16 -07:00
Girish Ramakrishnan 55ba9a351f mail container bugfix (typo in delay deny patch) v0.18.0 2016-08-13 14:19:52 -07:00
Girish Ramakrishnan bb6ee2b5a0 more 0.18.0 changes 2016-08-13 11:30:26 -07:00
Girish Ramakrishnan b58b350827 Throw exception if dkim keys could not be generated 2016-08-13 00:23:55 -07:00
Girish Ramakrishnan 3bd9fcae6a fix dkim dir perms 2016-08-13 00:23:07 -07:00
Girish Ramakrishnan 020ad746a0 change ownership of box directory 2016-08-12 23:55:20 -07:00
Girish Ramakrishnan b049989eb1 do not change ownership of mail data when updating cloudron
the mail container is still running and changing the ownership behind it's
back causes the mail container to be very upset.
2016-08-12 23:36:41 -07:00
Girish Ramakrishnan c25cc560d8 bump memory for mail container 2016-08-12 19:57:49 -07:00
Girish Ramakrishnan d342652212 bump mail container version (spam support) 2016-08-12 17:17:48 -07:00
Johannes Zellner c30cfefcc5 Reduce LDAP account password length
(This is currently ignored)

256 might be a common db field restriction. At least in openproject
it is based on their table layout.
2016-08-12 21:14:32 +02:00
Girish Ramakrishnan 6cfb8226a9 we are tied to docker 1.10 for now 2016-08-11 16:29:03 -07:00