Commit Graph

2850 Commits

Author SHA1 Message Date
Girish Ramakrishnan 4e16b76cc2 Add mongodb addon support 2015-04-05 21:55:28 -07:00
Johannes Zellner e3c2059cdd Preven grid items to change size due to progress bar 2015-04-05 16:06:29 +02:00
Johannes Zellner 207500eadb Just set the progress to 0 initially 2015-04-05 15:58:27 +02:00
Johannes Zellner da5b9f3abc Apparently TIMESTAMP(2) is not supported everywhere 2015-04-05 15:26:58 +02:00
Johannes Zellner 5183ec4b7c Add fake progress together with installationProgress labels 2015-04-05 11:02:50 +02:00
Johannes Zellner 4119eac684 Place a progress bar in grid item during installation 2015-04-05 10:07:21 +02:00
Johannes Zellner df4a143036 Add appsdb.createdAt timestamp
Fixes #307
2015-04-04 11:37:07 +02:00
Johannes Zellner 0f85b4f412 Fixup link to the appstore in error.html
Fixes #308
2015-04-04 11:35:55 +02:00
Johannes Zellner b79a61f240 Hide access restrictions dropdown on installation
Fixes #305
2015-04-04 11:06:05 +02:00
Johannes Zellner 54c3ed3ec5 Also return better response if we cannot get logstream due to wrong app state 2015-04-04 10:37:46 +02:00
Johannes Zellner f72b9d7890 Return better response if we cannot get logs due to wrong app state 2015-04-04 10:36:15 +02:00
Girish Ramakrishnan 9cbaef5b41 Send params in body instead of query 2015-04-02 16:23:53 -07:00
Girish Ramakrishnan cd550b1807 Expose http port
This is require for images that do not EXPOSE the http port. Without
EXPOSE, portBindings won't work
2015-04-01 12:56:38 -07:00
Johannes Zellner d4d41dcdd5 Ensure the app grit item buttons are properly positioned 2015-04-01 16:43:41 +02:00
Johannes Zellner 354b004c78 Do not use redirects for session login due to chrome not sending cookies
Fixes #303
2015-04-01 16:19:09 +02:00
Johannes Zellner 8518fc3d3f Explicitly set cookie settings and a maxAge 2015-04-01 14:45:02 +02:00
Girish Ramakrishnan 0db08cf3ef Revert "Add hacks to migrate legacy data"
This reverts commit b1381263d3.

Staging Cloudrons have migrated
2015-04-01 01:34:29 -07:00
Girish Ramakrishnan b1381263d3 Add hacks to migrate legacy data 2015-04-01 00:48:49 -07:00
Girish Ramakrishnan 29624c8a30 move version file to box dir 2015-03-31 17:18:15 -07:00
Johannes Zellner 2bc88ebeb6 Rename authCode to code
Fixes #300
2015-03-31 15:20:01 +02:00
Johannes Zellner c7fa8b9268 Remove unused oauth2 assets 2015-03-31 15:18:36 +02:00
Johannes Zellner ef253a6b30 Let tokens be valid for one day 2015-03-31 12:48:52 +02:00
Johannes Zellner ac4e6931e8 Validate redirectURI for oauth client routes 2015-03-31 12:46:01 +02:00
Johannes Zellner a38aae5d8f Add valid-url node module 2015-03-31 12:45:46 +02:00
Johannes Zellner 4770b8bbf1 Give developer tokens also the settings scope 2015-03-31 12:37:07 +02:00
Johannes Zellner a712157ed3 Move client token tests into clients-test.js 2015-03-31 12:00:47 +02:00
Johannes Zellner 3fd5415c46 Move /api/v1/oauth/clients/:clientId/tokens DELETE into clients.js 2015-03-31 11:57:55 +02:00
Johannes Zellner 8cb65ecc8e Move /api/v1/oauth/clients/:clientId/tokens GET into clients.js 2015-03-31 11:49:02 +02:00
Johannes Zellner 6454378543 Move /api/v1/oauth/clients GET into clients.js 2015-03-31 11:42:05 +02:00
Johannes Zellner d6254b8a97 Add /api/v1/oauth/clients/ DELETE tests 2015-03-31 11:32:35 +02:00
Johannes Zellner 8d87d02942 Add /api/v1/oauth/clients/ PUT tests 2015-03-31 11:28:21 +02:00
Johannes Zellner f887a6b466 Add /api/v1/oauth/clients/ GET tests 2015-03-31 11:18:14 +02:00
Johannes Zellner 5983526605 Add new oauth clients developer routes 2015-03-31 10:48:07 +02:00
Johannes Zellner fc040b6b54 Add clients business logic 2015-03-31 10:47:57 +02:00
Johannes Zellner d3049c90a4 Add clientdb.update() 2015-03-31 09:05:48 +02:00
Girish Ramakrishnan 065452760d Resize exec window on start
We should make this more dynamic someday using an oob channel
to communicate window resize

Fixes #296
2015-03-30 22:45:02 -07:00
Girish Ramakrishnan 0f5ffd4caf Update manifestformat to 1.0.3 2015-03-30 21:17:33 -07:00
Girish Ramakrishnan ef209d48a7 Write app config as part of backup
part of #280
2015-03-30 17:17:41 -07:00
Girish Ramakrishnan 3abf107413 mail data is now part of box data
part of #280
2015-03-30 17:11:47 -07:00
Girish Ramakrishnan e5d5e256b8 typo 2015-03-29 22:46:33 -07:00
Girish Ramakrishnan 2b81160071 Fix rmappdir 2015-03-29 22:15:41 -07:00
Girish Ramakrishnan 63ca7f0715 Use NODE_ENV in sudo scripts 2015-03-29 21:22:09 -07:00
Girish Ramakrishnan cbf9354537 Preserve NODE_ENV in sudo scripts 2015-03-29 21:10:09 -07:00
Girish Ramakrishnan b93f394ea0 make backupbox uploads snapshot
btrfs snapshotting does not really give us much in terms of atomicity
since the addons are dumped non-atomically.

The only way to make it all atomic is to stop the app. Snapshot and
let the app start asap. Because we don't stop apps when taking a backup (atm),
the whole btrfs snapshotting thing is superfluous.

part of #280
2015-03-29 19:16:23 -07:00
Girish Ramakrishnan 76365b652e Create data/box subvolume 2015-03-29 19:16:23 -07:00
Girish Ramakrishnan c21022367b Ensure directories as root since they are chown'ed later anyway 2015-03-29 19:16:23 -07:00
Girish Ramakrishnan d2bdfc3e48 Upload snapshot of apps data
btrfs snapshotting does not really give us much in terms of atomicity
since the addons are dumped non-atomically.

The only way to make it all atomic is to stop the app. Snapshot and
let the app start asap. Because we don't stop apps when taking a backup (atm),
the whole btrfs snapshotting thing is superfluous.

Part of #280
2015-03-29 19:16:19 -07:00
Girish Ramakrishnan 4cb846f7d6 Make each app directory a subvolume
Part of #280
2015-03-29 18:54:40 -07:00
Johannes Zellner 9212218bd1 Update the shrinkwrap file 2015-03-27 17:04:55 +01:00
Johannes Zellner 52ce5a2e27 Fix update badge visibility on mobile
Fixes #297
2015-03-27 15:18:43 +01:00