Commit Graph

3241 Commits

Author SHA1 Message Date
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
Johannes Zellner 724d4e28e2 Show about information in settings view
Fixes #382
2015-06-11 09:35:04 +02:00
Girish Ramakrishnan ed8cd74a52 gPendingTasks is an array 2015-06-10 13:30:22 -07:00
Girish Ramakrishnan 30f4233b9e Add waiting text
Fixes #378
2015-06-10 09:49:12 -07:00
Johannes Zellner 6c7a41ee2e Send region information to appstore on migrate 2015-06-10 16:58:40 +02:00
Johannes Zellner 3b9cc77d38 Send the region slug for the migration call 2015-06-10 16:55:18 +02:00
Johannes Zellner 02fa528e36 model information is a string 2015-06-10 16:49:34 +02:00
Johannes Zellner 39176e6f9e Add optional 'model' property to provisioning 2015-06-10 15:42:30 +02:00
Johannes Zellner 71480a40bc Only send crash mails every 5min
Fixes #381
2015-06-10 15:30:25 +02:00
Johannes Zellner 693ff20a26 Move mailer exports ahead of requires() 2015-06-10 14:14:43 +02:00
Girish Ramakrishnan 502e0bdbae Use preallocated backup swap file of the base image
The code assumes there is only one backup task active
at a time

Part of #378
2015-06-09 21:03:33 -07:00
Girish Ramakrishnan dd47f33807 Leave a note on why the concurrently level is 1 2015-06-09 16:42:51 -07:00
Girish Ramakrishnan a697a3ca6f Refactor task management into taskmanager.js 2015-06-09 16:35:42 -07:00
Girish Ramakrishnan aaed9eb3f5 Set apptask concurrency to 1 2015-06-09 15:58:21 -07:00
Girish Ramakrishnan baf42863a6 Rename gTasks to gActiveTasks 2015-06-09 14:21:09 -07:00
Girish Ramakrishnan e8d6055ea2 Add apps.restartTask 2015-06-09 14:18:26 -07:00
Johannes Zellner c50d7213f3 Add selection for region in migrate view 2015-06-09 22:27:35 +02:00
Johannes Zellner f41ac7a555 Add appstore.getRegions() 2015-06-09 22:27:13 +02:00
Johannes Zellner 6b8d202dcc Show real data what the cloudron currently is 2015-06-09 22:09:46 +02:00
Johannes Zellner 4dbd944136 Adjust tests for config route 2015-06-09 21:57:04 +02:00
Johannes Zellner cd2d82c1f2 Fix migrate route tests 2015-06-09 21:52:36 +02:00
Johannes Zellner 0484ee2ba4 Add cloudron details to config route 2015-06-09 21:47:05 +02:00
Johannes Zellner 3c8dc539e6 migrate route now takes a restoreKey 2015-06-09 20:50:52 +02:00
Johannes Zellner 19fcce6afe Send the restoreKey for migration 2015-06-09 18:45:21 +02:00
Johannes Zellner 9243c71bd7 Redirect the user on error to the origin, not the callback url 2015-06-09 18:30:20 +02:00
Johannes Zellner 862e2fbd49 Do not redirect user if oauth client is unknown
This would leave the without a chance to see the error
2015-06-09 18:27:04 +02:00
Johannes Zellner bb46e780f0 Add migration confirm dialog 2015-06-09 16:59:16 +02:00
Johannes Zellner 4c55b67fe0 Add client.migrate() 2015-06-09 16:16:16 +02:00
Johannes Zellner 20beda3e19 Add migrate route tests 2015-06-09 16:06:29 +02:00
Johannes Zellner 60aa648d9c Add a cloudron migrate route 2015-06-09 15:56:34 +02:00
Johannes Zellner df55218db0 Add cloudron.migrate() 2015-06-09 15:56:17 +02:00
Johannes Zellner 59358c1ad3 Fill migration combobox with available sizes 2015-06-09 14:51:42 +02:00
Johannes Zellner adfb58c29f Add appstore.getSizes() 2015-06-09 14:48:08 +02:00
Johannes Zellner be3446f47a Add upgrade view to navbar menu 2015-06-09 14:00:26 +02:00