Commit Graph

4043 Commits

Author SHA1 Message Date
Johannes Zellner 8a47c36e20 CloudronError does not have BILLING_REQUIRED and also doesn't need it 2016-11-15 16:59:45 +01:00
Johannes Zellner 2dc06a01b6 Add cronjob to send alive signal 2016-11-15 15:25:21 +01:00
Johannes Zellner f6695c9567 Add sendAliveStatus() 2016-11-15 15:24:40 +01:00
Johannes Zellner fc3768101d Token exchange route does not need appstoreId 2016-11-15 15:24:28 +01:00
Johannes Zellner 5645954686 This route does not exist anymore 2016-11-14 17:16:42 +01:00
Johannes Zellner f16d1c80f4 Do not log if no update is available 2016-11-14 17:00:30 +01:00
Johannes Zellner a25b884dbb Fix typo, use .body 2016-11-14 16:29:47 +01:00
Johannes Zellner 567401c337 Fetch appstore credentials on app un-/purchase for caas 2016-11-14 15:40:53 +01:00
Johannes 1c80f3d667 Update selfhosting docs for --encyrption-key
Concludes and fixes #98
2016-11-13 14:11:27 +01:00
Johannes 17ebc67d36 Set default backupConfig in cloudron-setup
If we provide the backup key we have to provide other values
to prevent having to perform value merging in settings.js
defaults
2016-11-13 13:37:38 +01:00
Johannes 4248776c16 Give details what encryption key is 2016-11-13 11:49:09 +01:00
Johannes 3e0d6f698e Verify --provider string 2016-11-13 11:47:37 +01:00
Johannes 67e2589a15 Remove noisy ' 2016-11-13 11:35:56 +01:00
Johannes 2398a515b5 Make --encryption-key mandatory 2016-11-13 11:34:02 +01:00
Johannes ad83d805ac Support supplying an encryption key during cloudron-setup 2016-11-13 11:20:50 +01:00
Johannes a6ba3535df Add flattr button to readme 2016-11-11 15:59:10 +01:00
Johannes 3510d8f097 Mention preferred medialinks aspect ratio 2016-11-11 09:40:54 +01:00
Johannes d0100218c9 Add information about metadata for app upload 2016-11-11 09:40:39 +01:00
Johannes 2cdeb40f33 Do not include docs folder in release tarball 2016-11-09 12:28:05 +01:00
Johannes e033dce93e Run update short circuit prior earlier
This allows short circuit of non caas upgrades as well

Fixes #97
2016-11-09 12:25:39 +01:00
Johannes 4c62338e97 Add even more logs for upgrades 2016-11-09 10:44:48 +01:00
Johannes 606599a65b Add a hint about S3 for upgrades 2016-11-08 21:38:42 +01:00
Johannes d091ac4e0a Add screenshot how to make s3 backup public 2016-11-08 21:20:51 +01:00
Johannes b676ebf9d7 Temporarily ensure the box update link anchor is fine 2016-11-08 18:32:26 +01:00
Girish Ramakrishnan e270c27cb0 Remove hardcoded cert 2016-11-08 18:04:07 +05:30
Girish Ramakrishnan 63561a51a4 Fix failing cert test
The hardcoded cert has expired
2016-11-08 17:33:45 +05:30
Girish Ramakrishnan cde7599f87 Choose default confs
Fixes #92
2016-11-08 15:36:48 +05:30
Johannes c9e7308f49 Attempt to set kernel params for generic provider
This is useful for running ubuntu on hardware or in virtualbox
2016-11-08 09:35:18 +01:00
Johannes 0088d9d5fc Renew expired certs in the cert tests 2016-11-08 09:28:48 +01:00
Johannes 4fd5b369f8 Reset app update indicator when an update was triggered
Fixes #48
2016-11-07 15:14:08 +01:00
Johannes 5e0ed1dff3 Don't just center the whole update email
Finally fixes #88
2016-11-07 13:35:02 +01:00
Johannes 215a16cd18 Render update changelog mail with markdown 2016-11-07 13:34:48 +01:00
Johannes cd5ae290bc Add showdown node module 2016-11-07 13:34:47 +01:00
Johannes bd0b66aaad Improve update email 2016-11-07 13:34:47 +01:00
Johannes 45b83232d7 Enable html mails for box updates 2016-11-07 12:32:57 +01:00
Johannes bf2885d7d3 Show markdown in update dialog
Part of #88
2016-11-07 12:20:28 +01:00
Johannes eeb8cc10ae Show error message in update dialog if a backup is currently happening
Fixes #89
2016-11-07 12:17:57 +01:00
Johannes 4668e3a771 Rename box-setup to cloudron-system-setup
This shell script and the associated systemd service
are hooks to setup the system like swap and volumes
It is part of the base image
2016-11-06 14:30:26 +01:00
Johannes 95a90dd050 Check on the installer service to be able to cancel update from box side 2016-11-06 14:30:26 +01:00
Johannes 908aa6f426 Reset the systemd-run service in case it failed earlier
systemd will refuse to run a transient unit if one run
with the same unit name failed earlier
2016-11-06 14:30:26 +01:00
Johannes 15f7ada958 We now use systemd-run no need for sudoDetached 2016-11-06 14:30:26 +01:00
Johannes 18b58ced8d Run the updater through systemd-run
This ensures it can start and stop the box process.
Due to control-group setting to killall children
the updater itself would get killed if the box service
restarts
2016-11-06 14:30:26 +01:00
Johannes 4f6f5bf3b7 Support --data-file instead of passing JSON as arguments
This is required for systemd-run, which limits the process
argument length and makes the data get truncated

https://github.com/coreos/fleet/issues/992
2016-11-06 14:30:26 +01:00
Johannes 50cbae420c Only retry 10 times in installer.sh 2016-11-06 14:30:26 +01:00
Johannes a1207de93f set --unsafe-perm for npm rebuild 2016-11-06 14:30:26 +01:00
Johannes a6824d8272 Ensure various scripts are run as root 2016-11-06 14:30:26 +01:00
Johannes 0eaeb67ba0 Run the box-setup init service
This ensures we have enough swap setup
2016-11-06 14:30:26 +01:00
Johannes b40a9803a8 Adjust script paths for isntaller.sh movement 2016-11-06 14:30:26 +01:00
Johannes f1ab8fde76 Move installer.sh one level up 2016-11-06 14:30:26 +01:00
Johannes 55d11b2832 Remove unused certs/ folder in installer 2016-11-06 14:30:26 +01:00