Commit Graph

3838 Commits

Author SHA1 Message Date
Johannes Zellner c943989e47 pass full box data to the update 2015-08-26 10:59:17 -07:00
Johannes Zellner 942e97c7f7 Send new version to update to to the installer 2015-08-26 09:42:48 -07:00
Johannes Zellner 499a91a605 make restoreapp.sh support aws session tokens 2015-08-26 09:14:15 -07:00
Johannes Zellner eba93f2b39 Generate app restore urls locally 2015-08-26 09:11:28 -07:00
Johannes Zellner 0203268ba4 appBackupIds are not needed for backup url generation 2015-08-26 09:06:45 -07:00
Johannes Zellner ab127799bf Load our style sheet as early as possible 2015-08-25 21:59:01 -07:00
Johannes Zellner e597dae360 use backupKey from userData 2015-08-25 18:44:52 -07:00
Girish Ramakrishnan c6a755d2b1 backupKey is a function 2015-08-25 18:37:51 -07:00
Johannes Zellner 1c5170fcea Support optional aws related userData 2015-08-25 17:52:01 -07:00
Johannes Zellner 5d1422d69c Use locally generate signed urls for app backup 2015-08-25 17:52:01 -07:00
Johannes Zellner e96123ddc4 Support session tokens in backupapp.sh 2015-08-25 17:52:00 -07:00
Johannes Zellner ab4ce684dd Only federated tokens need session token 2015-08-25 17:52:00 -07:00
Johannes Zellner 6107e2da54 Also send the restoreKey for the backup done webhook 2015-08-25 17:52:00 -07:00
Johannes Zellner 75d9215f33 Also send the sessionToken when using the pre-signed url 2015-08-25 17:52:00 -07:00
Johannes Zellner ec8ad39db3 Translate the federated credentials 2015-08-25 17:52:00 -07:00
Johannes Zellner fd48b7805a AWS credential creation returns 201 2015-08-25 17:52:00 -07:00
Johannes Zellner a300f18742 AWS credentials are now dealt with a level down 2015-08-25 17:52:00 -07:00
Johannes Zellner 6632b89c2e Use dev bucket for now as a default 2015-08-25 17:52:00 -07:00
Johannes Zellner dbfa78ec59 Use signed urls for upload on the box side 2015-08-25 17:52:00 -07:00
Johannes Zellner a223ae2118 Add config.aws().backupPrefix 2015-08-25 17:52:00 -07:00
Johannes Zellner 6cecc010df Add getSignedUploadUrl() to aws.js 2015-08-25 17:52:00 -07:00
Johannes Zellner 189553dbfe move aws-sdk from dev to normal dependencies 2015-08-25 17:52:00 -07:00
Johannes Zellner 576d2a9c1f Return aws credentials from config.js 2015-08-25 17:52:00 -07:00
Johannes Zellner f68344aba6 refactor backupBoxWithAppBackupIds() 2015-08-25 17:52:00 -07:00
Johannes Zellner a80ad501f0 Add webhooks.js 2015-08-25 17:51:59 -07:00
Johannes Zellner f820d8b113 Construct backupUrl locally 2015-08-25 17:51:59 -07:00
Johannes Zellner c5cc03b200 Add initial aws object to config.js 2015-08-25 17:51:59 -07:00
Johannes Zellner 85cec833b4 Add backupKey to config 2015-08-25 17:51:59 -07:00
Johannes Zellner afad9502a3 Add aws.js 2015-08-25 17:51:59 -07:00
Johannes Zellner ee9d0f2eca Fix typo in backupapp.sh help output 2015-08-25 17:51:59 -07:00
Girish Ramakrishnan b0a2344507 Merge data into args 2015-08-25 15:55:52 -07:00
Girish Ramakrishnan fb3c61d722 Fix boolean logic 2015-08-25 12:24:02 -07:00
Girish Ramakrishnan 2d784c0827 Add force argument
This fixes crash when auto-updating apps
2015-08-25 10:01:20 -07:00
Girish Ramakrishnan cfecaba2cb oldConfig can be null during a restore/upgrade 2015-08-25 09:59:44 -07:00
Girish Ramakrishnan 8b5e04d5e9 Update manifestformat@1.7.0 2015-08-24 22:56:02 -07:00
Girish Ramakrishnan 7ced2880d8 Read memoryLimit from manifest 2015-08-24 22:44:35 -07:00
Girish Ramakrishnan db557fd241 Show upto 200mb 2015-08-24 22:39:06 -07:00
Girish Ramakrishnan 8a50a69a92 Set app memory limit to 200MB (includes 100 MB swap) 2015-08-24 21:58:19 -07:00
Girish Ramakrishnan 559ae64e38 Add RSTATE_ERROR 2015-08-24 21:58:19 -07:00
Girish Ramakrishnan ce9566a72e Rebase addons to use base image 0.3.3 2015-08-24 10:19:18 -07:00
Johannes Zellner 5b90a66e0f Fix form submit with enter for update form 2015-08-22 17:21:25 -07:00
Johannes Zellner 932c427116 Use POST heartbeat route instead of GET 2015-08-22 16:51:56 -07:00
Johannes Zellner 985f0ccf85 Offset the footer in apps view 2015-08-20 23:50:52 -07:00
Girish Ramakrishnan c1f7041273 Delete image only if it changed
This optimization won't work if we have two dockerImage with same
image id....
2015-08-19 14:24:32 -07:00
Girish Ramakrishnan e372ebba92 Check for dockerImage in manifest in install/update/restore routes 2015-08-19 11:08:45 -07:00
Girish Ramakrishnan b6ab08e133 restore without a backup is the same as re-install 2015-08-19 11:00:00 -07:00
Girish Ramakrishnan 3f83e94e96 CN of admin group is admins 2015-08-18 16:35:52 -07:00
Girish Ramakrishnan 58a0e8ecf8 Base image is now 0.3.3 2015-08-18 15:43:50 -07:00
Girish Ramakrishnan 14fe0461f7 containerId can be null 2015-08-18 15:43:50 -07:00
Girish Ramakrishnan 4a86351b4e Clean up the old image and not the current one 2015-08-18 10:01:15 -07:00