Commit Graph

3274 Commits

Author SHA1 Message Date
Johannes Zellner 862aed7044 Add backupswap.sh to on/off the backup swap 2015-06-17 09:22:41 +02:00
Girish Ramakrishnan 22fb979e42 Update manifest format version 2015-06-16 19:45:28 -07:00
Girish Ramakrishnan ff476a3acf Make localstorage a separate addon 2015-06-16 19:45:19 -07:00
Girish Ramakrishnan ae6d8fb991 Add note on what backups call returns 2015-06-16 12:22:08 -07:00
Girish Ramakrishnan a8caa087f7 Resize the exec container 2015-06-16 10:07:26 -07:00
Johannes Zellner 9ad2294a7f Fix migration api tests 2015-06-16 16:57:00 +02:00
Johannes Zellner 6778c64109 Do not wait for the migration to be triggered
Fixes #393
2015-06-16 16:47:43 +02:00
Girish Ramakrishnan 33628bbae4 Send resetToken as part of create user response
This is useful for e2e testing
2015-06-15 12:24:54 -07:00
Johannes Zellner 21820c3ee5 Send a heartbeat immediately once the cloudron is up and running 2015-06-15 15:56:32 +02:00
Johannes Zellner 352f440110 Fix database tests to adhere to new email constraints 2015-06-15 15:53:41 +02:00
Johannes Zellner 126809f1b7 Add missing NOT NULL constraints for email and username 2015-06-15 15:49:25 +02:00
Johannes Zellner 01b78fe654 Remove apiServerOrigin check used for local mode
We always have that set, when deployed. If not we
fail in a lot of places, so if we want to check that,
it should be done in config.js
2015-06-15 15:40:00 +02:00
Johannes Zellner 5a7017c71f Refactor the relocation form 2015-06-15 12:46:35 +02:00
Johannes Zellner f6ec979b8b Separate relocation and upgrade 2015-06-15 12:33:59 +02:00
Johannes Zellner d3ca71f3cf Show placeholder if we cannot upgrade further 2015-06-15 12:15:43 +02:00
Johannes Zellner 931af4c545 Disable backup button if backup is in progress
Fixes #389
2015-06-15 12:10:16 +02:00
Johannes Zellner 39c26745a2 Fix typo 2015-06-15 12:09:17 +02:00
Johannes Zellner 2771444c52 Give feedback on wrong password in migration dialog 2015-06-15 12:06:37 +02:00
Johannes Zellner 3337c44307 Disable move button if region is unchanged 2015-06-15 12:02:13 +02:00
Johannes Zellner c7fa92bdaf Ask user for his password on migration 2015-06-15 11:41:11 +02:00
Johannes Zellner 1bed3f0e22 Require admin and a password for migration api 2015-06-15 11:27:36 +02:00
Johannes Zellner 881f9239a9 Show error if username or email already taken 2015-06-15 10:31:49 +02:00
Johannes Zellner b78b6c7d90 Decrease email and username db fields and add UNIQUE constriants
Fixes #392
2015-06-15 10:17:16 +02:00
Johannes Zellner 5d3a136bba Remove overly outdated comments 2015-06-15 09:55:36 +02:00
Johannes Zellner e7d170416b Show error if login failed
Fixes #387
2015-06-15 09:55:36 +02:00
Girish Ramakrishnan b1e0c573ac portBindings can now be left out in configure command 2015-06-13 21:29:04 -07:00
Girish Ramakrishnan 80d5be9b59 replace assert with assert.strictEqual
git grep -l assert | xargs /usr/local/bin/gsed -i -e 's/assert(\([^&=><|]*\) === \([^&=><|]*\))/assert.strictEqual(\1, \2)/'
2015-06-13 21:01:44 -07:00
Johannes Zellner 57213c2f95 Rework more parts of the upgrade view 2015-06-13 12:56:06 +02:00
Johannes Zellner f9f5891d1e Show error if mandatory query params are missing for oauth
Fixes #386
2015-06-12 19:23:40 +02:00
Johannes Zellner 8743cf0bea Make cloudron-test nock vars pickup from the config 2015-06-12 14:48:58 +02:00
Johannes Zellner 6a6c5b4e53 Remove unused LOCAL mode
This mode was to run the box code locally but
given our hotfix functionality this works well enough.
2015-06-12 14:48:58 +02:00
Johannes Zellner 4c200895e8 Remove unused LOCAL mode
This mode was to run the box code locally but
given our hotfix functionality this works well enough.
2015-06-12 14:07:59 +02:00
Johannes Zellner 2b60af103b Initial rework of the upgrade view 2015-06-12 13:26:23 +02:00
Johannes Zellner 3ccf4e302d Add migration images 2015-06-12 13:14:57 +02:00
Johannes Zellner f654682677 Rework the oauth credentials check to support test credentials 2015-06-12 11:20:48 +02:00
Johannes Zellner 82cdc238dc Special case oauth test credentials 2015-06-12 11:20:48 +02:00
Johannes Zellner 5fb3899581 Add oauth test client credentials
Those can only be used locally as the redirect is to 127.0.0.1

ClientID: cid-test
ClientSecret: cid-secret
Callback: http://127.0.0.1:5000
2015-06-12 11:20:47 +02:00
Girish Ramakrishnan 1226557da2 Add updater.hasBoxUpdate 2015-06-11 21:11:56 -07:00
Girish Ramakrishnan 1f20b9ff5c Make portBindings optional in configure (like install) 2015-06-11 19:20:32 -07:00
Girish Ramakrishnan 19d327722a Fix assert when portBindings is not part of request 2015-06-11 18:58:37 -07:00
Johannes Zellner a878fd0c11 Fixup the migration tests not requiring a restoreKey 2015-06-11 20:00:25 +02:00
Johannes Zellner 54e0ccfc75 Add some debug() 2015-06-11 19:59:56 +02:00
Johannes Zellner 9670dcce1f The migration now creates a restoreKey on server side 2015-06-11 18:34:44 +02:00
Johannes Zellner b6940b3383 Adjust migration unit tests 2015-06-11 18:32:13 +02:00
Johannes Zellner 197368ef3d Create a backup prior to migration 2015-06-11 18:30:02 +02:00
Johannes Zellner 2cc721b410 Do not crash if messageOrObject is null or undefined 2015-06-11 17:42:03 +02:00
Johannes Zellner 57feb9a362 Do not crash if there are no backups yet 2015-06-11 14:46:03 +02:00
Johannes Zellner 2668a9499f Show appstore icon in case the cloudron does not have one
Fixes #384
2015-06-11 13:52:46 +02:00
Johannes Zellner 1b1afcb536 Make app items wider to avoid clipping 2015-06-11 13:18:32 +02:00
Johannes Zellner c0e65a902c Hide rating in appstore view 2015-06-11 13:14:47 +02:00