Commit Graph

8393 Commits

Author SHA1 Message Date
Girish Ramakrishnan 3652d7f186 Fix failing cloudron-test 2016-10-13 14:55:14 -07:00
Girish Ramakrishnan 74abb26016 Fix failing backup test 2016-10-13 14:50:54 -07:00
Girish Ramakrishnan 606f28c724 fix failing setting test 2016-10-13 14:45:18 -07:00
Girish Ramakrishnan 427f72fb24 bump the infra version
this is redundant since we have an upgrade coming up...
2016-10-13 13:23:28 -07:00
Girish Ramakrishnan 21b28d3dcc Dynamically scale addon memory
Simple math for now: we bump up memory in slabs of 4gb

Fixes #79
2016-10-13 13:13:09 -07:00
Johannes Zellner 4099a7a32e Also use cloudronName in account setup 2016-10-13 17:40:00 +02:00
Johannes Zellner 97a17ff25f Amend common template values in a central place 2016-10-13 17:34:21 +02:00
Johannes Zellner 68d37b7260 Render the cloudronName in oauth views 2016-10-13 17:24:26 +02:00
Johannes Zellner 7513817d41 Add newline for password reset 2016-10-13 17:19:41 +02:00
Johannes Zellner a672a930f8 Show cloudron name in password reset mail subject 2016-10-13 17:03:01 +02:00
Johannes Zellner 62b803624f HTMLify the password reset mail 2016-10-13 16:48:58 +02:00
Johannes Zellner 9872ac424f Increase mail container memory
This is only a temporary fix for the next release, in case
we have not yet implemented a dynamic setting
2016-10-13 13:56:55 +02:00
Johannes Zellner bca57b5e47 Show cloudron name for webadmin login
Fixes #80
2016-10-13 13:56:29 +02:00
Johannes Zellner e533f506cc Remove reduandant Cloudron Cloudron 2016-10-13 12:44:08 +02:00
Johannes Zellner 0b8857e1bb Fix the user add email 2016-10-13 12:37:25 +02:00
Johannes Zellner 5a1729d715 Improve the invite mail 2016-10-13 11:56:23 +02:00
Johannes Zellner 946d4f1b70 Actually set the html content for the invite mail 2016-10-13 11:38:52 +02:00
Johannes Zellner 8e033dc387 Use in-place replacement ursa-purejs for native ursa
The native modules often cause headaches with rebuilds
2016-10-13 11:23:57 +02:00
Johannes Zellner cf09f0995f Remove unused requires 2016-10-13 11:21:40 +02:00
Johannes Zellner 19c7dd0de8 Add html version to user welcome mail 2016-10-13 11:21:29 +02:00
Girish Ramakrishnan 1d8df65fbf Fix mailbox name for naked domains
Fixes #81
2016-10-12 19:54:04 -07:00
Girish Ramakrishnan 2be17eeb52 Add semi-tested scaleway backend 2016-10-11 19:47:27 -07:00
Girish Ramakrishnan c12ee50b3b dump the body for debugging 2016-10-11 19:29:23 -07:00
Johannes Zellner f9e47ac3c0 Ensure we always keep the backup key 2016-10-11 15:56:07 +02:00
Johannes Zellner e614b930a5 Report with a distinguished status code if upstream validation failed 2016-10-11 11:49:30 +02:00
Johannes Zellner 9b4228f373 No need for a separate function 2016-10-11 11:47:33 +02:00
Johannes Zellner 6e6d4f7413 Actually verify s3 credentials by using the api 2016-10-11 11:46:28 +02:00
Johannes Zellner cac85b17bc Add backup config test for each backend 2016-10-11 11:36:25 +02:00
Johannes Zellner 9ab845ef8a Set the backup janitor back to every 30min 2016-10-11 10:55:00 +02:00
Johannes Zellner d7ea06e80e Simply remove all backups up to the last to when using filesystem
backend
2016-10-11 10:31:21 +02:00
Johannes Zellner 2d39a9bfa1 Only store last two days of backups 2016-10-11 09:56:42 +02:00
Johannes Zellner f576f38e4c Calculate the backup checksum for client side verification
Fixes #54
2016-10-10 18:11:25 +02:00
Johannes Zellner 8ac8ea7d8a Reduce debug output 2016-10-10 16:27:39 +02:00
Johannes Zellner 9d3f8f23ef Also remove the app backup json files 2016-10-10 16:25:43 +02:00
Johannes Zellner b0a8ba85e1 Also remove the db records for deleted backups 2016-10-10 16:25:43 +02:00
Johannes Zellner 7e41ea9c31 Make the script executable 2016-10-10 16:25:43 +02:00
Johannes Zellner 1e65142f47 Use rmbackup.sh instead of fs.unlink() due to root ownership 2016-10-10 16:25:43 +02:00
Johannes Zellner f05a5226ba Add new sudo file rmbackup.sh as backups are owned by root currently 2016-10-10 16:25:43 +02:00
Johannes Zellner c129328828 There is no result 2016-10-10 16:25:43 +02:00
Johannes Zellner acc644160a Remove the old backups from the storage 2016-10-10 15:45:48 +02:00
Johannes Zellner c7e5c09bb9 Adjust removeBackup() api 2016-10-10 15:45:48 +02:00
Johannes Zellner 1b3ae1f178 Add new storage.removeBackup() api
This currently is only used in the filesystem backend,
but may be expanded to also cleanup S3 in the future
2016-10-10 15:45:48 +02:00
Johannes Zellner bceeb092bf Remove unused require 2016-10-10 14:50:53 +02:00
Johannes Zellner 0d0229e531 Filter potential backups to cleanup 2016-10-10 14:43:47 +02:00
Johannes Zellner 629e061743 Use specific error if app backup for restore can't be found 2016-10-10 13:21:45 +02:00
Girish Ramakrishnan 4e3ba4c96f Check type of bucket and prefix as well 2016-10-09 20:17:42 -07:00
Girish Ramakrishnan 1e6b09c0da reduce task concurrency
trying to restore many apps in low memory, just crashes everything
2016-10-09 13:27:46 -07:00
Girish Ramakrishnan 4ed74a8164 bump postgresql and mail images 2016-10-09 12:53:55 -07:00
Girish Ramakrishnan 131cd96840 allow various provider in backup config 2016-10-09 00:41:24 -07:00
Girish Ramakrishnan da5e40db66 verify token type 2016-10-09 00:23:23 -07:00