Commit Graph

3852 Commits

Author SHA1 Message Date
Johannes Zellner 367e9cfdc7 aws provides uppercase properties 2015-08-30 15:47:08 -07:00
Johannes Zellner 46164592cb Fixup the zonename comparison 2015-08-30 15:37:18 -07:00
Johannes Zellner 391cc15540 Move subdomain management from appstore to box 2015-08-30 15:29:14 -07:00
Girish Ramakrishnan 6743dcf49f Pass along aws config for updates 2015-08-27 22:45:04 -07:00
Girish Ramakrishnan 78e29004a5 Add missing quotes to cloudron.conf 2015-08-27 20:15:04 -07:00
Girish Ramakrishnan 600e8ecd49 Fix failing test 2015-08-27 11:43:36 -07:00
Girish Ramakrishnan c7b8d287ff check if response has credentials object 2015-08-27 11:43:02 -07:00
Girish Ramakrishnan d7a8cda054 Fix backup response 2015-08-27 11:19:40 -07:00
Girish Ramakrishnan fcbc4c421a Fix backup test 2015-08-27 11:17:36 -07:00
Girish Ramakrishnan 416d53dccf bash: quote the array expansion 2015-08-27 10:13:05 -07:00
Girish Ramakrishnan e21f290468 bash: quoting array expansion because thats how it is 2015-08-27 09:49:44 -07:00
Girish Ramakrishnan 208f771672 bash: empty array expansion barfs with set -u 2015-08-27 09:33:40 -07:00
Girish Ramakrishnan 1ac1a40759 Fix coding style 2015-08-27 09:30:32 -07:00
Girish Ramakrishnan fba445ded3 getSignedDownloadUrl must return an object with url and sessionToken 2015-08-27 09:26:19 -07:00
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