Girish Ramakrishnan
937931e885
Pass the token when querying for updates
...
Part of #293
2017-04-13 19:40:59 -07:00
Girish Ramakrishnan
eb2ef47df1
remove boxVersionsUrl
...
update checker now uses the appstore routes
2017-04-13 11:38:42 -07:00
Girish Ramakrishnan
cdb5dc2c53
Remove isDev flag
...
We can pretty much test everything here on self-hosted cloudrons now
2017-04-13 11:34:03 -07:00
Girish Ramakrishnan
f6a2406091
Use hat for secret instead of uuid
2017-04-13 11:05:46 -07:00
Johannes Zellner
c7134d2da3
Use a dynamic cookie secret
...
Fixes #300
2017-04-13 15:13:07 +02:00
Johannes Zellner
1692842bf0
Enable secure cookies
...
Fixes #299
2017-04-13 14:04:30 +02:00
Johannes Zellner
1694a1536c
Use our own tar for app backups
...
This is only temporarily as moving away from btrfs snapshots,
we introduced a regression for app backups.
gnu tar fails to create tarballs if the files change during packing.
2017-04-13 13:06:12 +02:00
Girish Ramakrishnan
644bc54a0d
Get box updates via appstore API
...
Part of #293
2017-04-13 01:31:25 -07:00
Girish Ramakrishnan
b2d062bdf8
Get app updates via appstore API
...
Part of #293
2017-04-13 01:23:18 -07:00
Girish Ramakrishnan
894d7a6e72
Handle AppstoreError correctly
2017-04-13 01:11:20 -07:00
Girish Ramakrishnan
fee513594f
Move sendAliveStatus to appstore.js
2017-04-13 01:07:07 -07:00
Girish Ramakrishnan
456c183622
Move sendAliveStatus into appstore.js
2017-04-13 00:52:02 -07:00
Girish Ramakrishnan
0488aada9f
refactor appstore logic to separate file
2017-04-13 00:42:44 -07:00
Girish Ramakrishnan
54f7cf5f64
Fix copy/paste errors
2017-04-13 00:19:11 -07:00
Girish Ramakrishnan
e1740a0d4b
Use new alive route for sending status
2017-04-12 21:29:42 -07:00
Girish Ramakrishnan
bac7d3ad84
Check for app and box updates once an hour
...
Part of #293
2017-04-12 18:48:14 -07:00
Girish Ramakrishnan
1029402d1e
Make mailer.js work in test mode
2017-04-12 15:35:52 -07:00
Girish Ramakrishnan
85fb63298e
Overwrite existing DNS record on restore
2017-04-12 13:17:50 -07:00
Girish Ramakrishnan
25b9d5a746
Fix comment
2017-04-12 00:17:20 -07:00
Girish Ramakrishnan
6dc900bbd8
Bump mysql to fix the encoding issue in dumps
2017-04-12 00:16:33 -07:00
Girish Ramakrishnan
e32b313cf2
refactor restore/clone/install into single function
2017-04-11 15:16:42 -07:00
Girish Ramakrishnan
a01dea3932
Allow installing from a backup
2017-04-11 13:06:39 -07:00
Johannes Zellner
aa0e820605
Bump infra version to rebuild nginx configs
2017-04-10 22:49:35 +02:00
Johannes Zellner
89bb690152
Only log failing REST requests
2017-04-10 14:17:26 +02:00
Girish Ramakrishnan
5c203dc759
Handle case where restore config is not found
2017-04-07 15:29:42 -07:00
Girish Ramakrishnan
4d737d535a
doc: disks api
2017-04-07 12:52:57 -07:00
Johannes Zellner
f2312a6768
Add rest api to list disks where cloudron data is stored
2017-04-07 18:45:36 +02:00
Johannes Zellner
178ffe20a8
use df instead of node-df
2017-04-07 18:45:14 +02:00
Girish Ramakrishnan
f16aab7f80
Add --data-dir to cloudron-setup
...
This allows the data-dir to be re-located
Part of #148
2017-04-06 23:56:57 -07:00
Johannes Zellner
d709a5cfe4
Attempt to give better digitalocean DNS error messages
2017-04-05 16:50:31 +02:00
Girish Ramakrishnan
245d17ad25
Fix test image version
2017-04-04 19:13:03 -07:00
Girish Ramakrishnan
e05e9c3ead
Use latest test-app
2017-04-04 14:47:54 -07:00
Girish Ramakrishnan
8102d431e8
use debug instead
2017-04-04 14:07:28 -07:00
Girish Ramakrishnan
0f76cbbb95
remove temporary authorized_keys file
2017-04-04 14:00:41 -07:00
Girish Ramakrishnan
2a45a9bbd4
test: rate limit is now in nginx
2017-04-04 13:12:50 -07:00
Girish Ramakrishnan
e68d627f72
tests: data -> platformdata
2017-04-04 13:11:44 -07:00
Girish Ramakrishnan
d891058f8c
Restore apps if the existingInfra version is not semver (as in, old infra)
2017-04-04 12:15:29 -07:00
Girish Ramakrishnan
71fe094be1
Make platform version a semver
2017-04-04 12:07:53 -07:00
Johannes Zellner
39ff21bdf4
Bump infra version now with a explicit minor version
2017-04-04 12:34:55 +02:00
Johannes Zellner
72dd7c74d5
Introduce major/minor infra versions
...
The strategy now is that major infra version changes make apps restore,
whereas minor infra version changes only reconfigure and thus restart
them
2017-04-04 12:34:55 +02:00
Johannes Zellner
649092ecb0
Fix typo PLATFORM_CONFIG_DIR -> PLATFORM_DATA_DIR
2017-04-04 12:34:55 +02:00
Johannes Zellner
128a3b03c9
Do not use btrfs snapshots for mail on box backup
2017-04-04 12:34:55 +02:00
Johannes Zellner
847ef6626f
Also use appsdir in rmappdir.sh
2017-04-04 12:34:55 +02:00
Johannes Zellner
4643daeeec
Use appsdata in createappdir.sh
2017-04-04 12:34:55 +02:00
Johannes Zellner
38178afd31
Do not use btrfs snapshots for app backups
2017-04-04 12:34:55 +02:00
Johannes Zellner
9c6324631d
Use APPS_DATA_DIR in app backup and restore scripts
2017-04-04 12:34:55 +02:00
Johannes Zellner
602f8bcd04
Split platform and app data folders and get rid of btrfs volumes
2017-04-04 12:34:55 +02:00
Girish Ramakrishnan
785ae765a4
better error text
2017-04-03 16:54:06 -07:00
Johannes Zellner
b9711d7b47
Move AMI instanceId verification to DNS setup
2017-04-03 22:19:01 +02:00
Girish Ramakrishnan
b92ae44578
Generate 128 byte passwords
2017-03-29 15:38:15 -07:00