Johannes Zellner
ba56f7d15d
Special case versions lower than '0.11*' to not pass new --data-dir
2017-04-14 17:24:28 +02:00
Johannes Zellner
6e73761983
We still require the versionsUrl in the setup script to be able to restore to older versions
2017-04-14 15:05:09 +02:00
Girish Ramakrishnan
588812a13a
Disable secure cookies for tests (since they use http)
2017-04-14 01:45:00 -07:00
Girish Ramakrishnan
b6d8721aed
reset config in backups test
2017-04-14 01:35:04 -07:00
Girish Ramakrishnan
da835afde1
More test fixing
2017-04-14 01:28:29 -07:00
Girish Ramakrishnan
5e22caa6e7
Fix updatechecker tests
2017-04-14 00:36:22 -07:00
Girish Ramakrishnan
937931e885
Pass the token when querying for updates
...
Part of #293
2017-04-13 19:40:59 -07:00
Girish Ramakrishnan
c2b140208e
doc: add note on subdomains vs paths
2017-04-13 16:11:12 -07:00
Girish Ramakrishnan
f9a4d00b3c
Query tarball url via appstore
...
Part of #293
2017-04-13 15:41:08 -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
8d78f06a34
Add more 0.110.0 changes
2017-04-13 13:23:40 +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
e0b9dc3623
doc: fix links
2017-04-13 01:34:10 -07: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
6402b0c221
doc: update check api
2017-04-12 18:38:33 -07:00
Girish Ramakrishnan
1f55bb52fc
Add a button to check updates instantly
...
Part of #293
2017-04-12 18:34:20 -07:00
Girish Ramakrishnan
1029402d1e
Make mailer.js work in test mode
2017-04-12 15:35:52 -07:00
Girish Ramakrishnan
abb371d81e
Add 0.110.0 changes
2017-04-12 13:49:27 -07:00
Girish Ramakrishnan
779c9d79b3
Add UI to choose from backups to restore from
...
Fixes #296
2017-04-12 13:41:26 -07:00
Girish Ramakrishnan
832c11d785
Always show the restore button
...
Part of #296
2017-04-12 13:17:53 -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
13db61a0e2
Merge branch 'master' into 'master'
...
Adding proxy_max_temp_file_size 0 to nginx config
Closes #294
See merge request !5
2017-04-10 20:48:50 +00:00
mehdi
fce2cdce7f
Adding proxy_max_temp_file_size 0 to nginx config.
...
Explanation:
When proxying an HTTP request, nginx first fills up the memory buffers (set by proxy_buffer_size and proxy_buffers).
When these are full, it then writes them to a temporary file in batches of proxy_temp_file_write_size until it reaches proxy_max_temp_file_size.
When proxy_max_temp_file_size is not set, and a very large file is being served, it reaches the maximum of 1GB, and nginx begins to behave weirdly.
2017-04-10 22:47:19 +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
Girish Ramakrishnan
558acf27a3
Add 0.109.1 changes
2017-04-07 12:38:48 -07:00
Girish Ramakrishnan
3da503ab8e
doc: improve the data-dir script
2017-04-07 12:34:59 -07:00
Girish Ramakrishnan
299e8aceeb
Check if --data-dir exists
2017-04-07 12:34:59 -07:00
Johannes Zellner
b422a27be8
Use the new disks api to explicitly get the apps data disk stats
...
We can add the other graphs if the disks deviate later
Also this is still pending the check if symlinked folders are reported
correctly.
Fixes #290
2017-04-07 18:46:11 +02: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
Johannes Zellner
3b8edd4896
Do not make the DNS notfication persistent
2017-04-07 17:08:52 +02:00