Girish Ramakrishnan
609c1d3b78
bump mail container
...
this is also required since we moved the maildir
2017-09-10 00:07:48 -07:00
Girish Ramakrishnan
9906ed37ae
Move mail data inside boxdata directory
...
This also makes the noop backend more useful because it will dump things
in data directory and user can back it up as they see fit.
2017-09-10 00:07:44 -07:00
Girish Ramakrishnan
dcdce6d995
Use MAIL_DATA_DIR constant
2017-09-09 22:24:16 -07:00
Girish Ramakrishnan
547a80f17b
make shell.exec options non-optional
2017-09-09 19:54:31 -07:00
Girish Ramakrishnan
300d3dd545
remove unused requires
2017-09-09 19:23:22 -07:00
Aleksandr Bogdanov
6fce729ed2
Adding Google Cloud DNS
2017-09-09 17:45:26 +02:00
Girish Ramakrishnan
d233ee2a83
ask password only for destructive actions
2017-09-08 15:14:37 -07:00
Girish Ramakrishnan
3240a71feb
wording
2017-09-08 14:42:54 -07:00
Girish Ramakrishnan
322be9e5ba
Add ip blacklist check
...
Fixes #431
2017-09-08 13:29:32 -07:00
Girish Ramakrishnan
e67ecae2d2
typo
2017-09-07 22:01:37 -07:00
Girish Ramakrishnan
75b3e7fc78
resolve symlinks correctly for deletion
...
part of #394
2017-09-07 21:57:08 -07:00
Girish Ramakrishnan
74c8d8cc6b
set label on the redis container
...
this ensures that redis is stopped when app is stopped and also
helps identifying app related containers easily
2017-09-07 20:09:46 -07:00
Girish Ramakrishnan
51659a8d2d
set label on the redis container
...
this ensures that redis is stopped when app is stopped and also
helps identifying app related containers easily
2017-09-07 19:54:05 -07:00
Girish Ramakrishnan
70acf1a719
Allow app volumes to be symlinked
...
The initial plan was to make app volumes to be set using a database
field but this makes the app backups non-portable. It also complicates
things wrt to app and server restores.
For now, ignore the problem and let them be symlinked.
Fixes #394
2017-09-07 15:50:34 -07:00
Girish Ramakrishnan
513517b15e
cf dns: filter by type and name in the REST API
...
Otherwise, we will have to implement pagination
2017-09-05 16:07:14 -07:00
Girish Ramakrishnan
a96f8abaca
DO DNS: list all pages of the domain
2017-09-05 15:52:59 -07:00
Girish Ramakrishnan
df9e2a7856
Use robotsTxt in install route
2017-09-04 12:59:14 -07:00
Girish Ramakrishnan
2b043aa95f
remove unused require
2017-09-04 12:59:05 -07:00
Girish Ramakrishnan
b56dcaac68
Only run scheduler when app is healthy
...
Fixes #393
2017-09-03 18:21:13 -07:00
Johannes Zellner
ed81b7890c
Fixup the test for the password requirement change
2017-09-01 20:08:22 +02:00
Johannes Zellner
cb8dcbf3dd
Lift the password requirement for app configure/update/restore actions
2017-09-01 20:08:22 +02:00
Girish Ramakrishnan
57d5c2cc47
Use IPv4 address to connect to mysql
...
Fixes #412
2017-08-31 10:59:14 -07:00
Girish Ramakrishnan
f9706d6a05
Always generate nginx config for webadmin
...
Part of #406
2017-08-28 21:16:47 -07:00
Girish Ramakrishnan
61f7c1af48
Remove unused error codes
2017-08-28 15:27:17 -07:00
Girish Ramakrishnan
00786dda05
Do not crash if DNS creds do not work during startup
...
If DNS creds are invalid, then platform.start() keeps crashing on a
mail container update. For now, just log the error and move on.
Part of #406
2017-08-28 14:55:36 -07:00
Girish Ramakrishnan
c47f878203
Set priority for MX records
...
Fixes #410
2017-08-26 15:54:38 -07:00
Girish Ramakrishnan
1da91b64f6
Filter out possibly sensitive information for normal users
...
Fixes #407
2017-08-26 14:47:51 -07:00
Girish Ramakrishnan
2a57c4269a
handle app not found
2017-08-23 13:23:04 -07:00
Johannes Zellner
9bef1bcf64
Hijack and demux the container exec stream to be compliant with new
...
dockerode
2017-08-23 16:04:50 +02:00
Girish Ramakrishnan
795e38fe82
file is an object
2017-08-22 09:15:46 -07:00
Girish Ramakrishnan
991b2dad28
bump mail container version
...
part of #400
2017-08-21 15:54:21 -07:00
Girish Ramakrishnan
f3d9a70de7
Only send the stdout stream
2017-08-21 10:46:13 -07:00
Girish Ramakrishnan
6a0ef7a1c1
Allow larger files to be uploaded
...
Note that other upload APIs like avatar are still limited to 1m by
the nginx config
2017-08-20 19:15:54 -07:00
Girish Ramakrishnan
7cb451c157
Allow dirs to downloaded as tarballs
2017-08-20 18:54:59 -07:00
Girish Ramakrishnan
77d2fb97e5
test: create logrotate dir
2017-08-19 18:57:43 -07:00
Girish Ramakrishnan
24e6c4d963
bump test image
2017-08-19 17:57:21 -07:00
Girish Ramakrishnan
064c5cf7f2
Fix failing test
2017-08-19 17:41:15 -07:00
Johannes Zellner
3d59b8a5b0
Deliver content-length and file not found errors for file downloads
2017-08-19 12:13:04 +02:00
Girish Ramakrishnan
52832c881a
Add upload and download for the webterminal
2017-08-18 21:19:48 -07:00
Girish Ramakrishnan
537fbff4aa
Use ws directly to handle new exec ws route
2017-08-18 19:46:18 -07:00
Johannes Zellner
c85f5b15c6
Reenable custom tcp upgrade handling
2017-08-18 11:26:05 -07:00
Johannes Zellner
8fbed7e84b
Ensure we only write to the websocket if it is open
2017-08-18 11:26:00 -07:00
Johannes Zellner
52db28e876
Verify the websocket request
2017-08-18 11:25:49 -07:00
Johannes Zellner
65bc3491f6
enable timeout middleware again and reset it for all upgrade requests
2017-08-18 11:25:45 -07:00
Johannes Zellner
4b41378d08
Ensure app restarts also close the websocket
2017-08-18 11:25:05 -07:00
Johannes Zellner
50074b936a
Integrate the terminal with the logs ui
2017-08-18 11:24:48 -07:00
Girish Ramakrishnan
78ec8e5c0c
Add field to skip backup for an app
...
This skips the app from a backup when doing a full box backup and
simply reuses the previous backup.
The app can still be explicitly backed up using 'cloudron backup'
and explicitly restored using 'cloudron restore --backup'.
When restoring the box, it all depends on the app's last backup.
Fixes #311
2017-08-16 16:36:50 -07:00
Johannes Zellner
67a2ba957e
Use maxsize logrotate rule instead of size
...
The current ruleset means rotate the file daily unless the file grows
larger than 1Mb earlier, then rotate once the file reaches that size.
https://serverfault.com/questions/474941/how-to-rotate-log-based-on-an-interval-unless-log-exceeds-a-certain-size
2017-08-16 19:10:49 +02:00
Johannes Zellner
afcb3dd237
Fix layout issues in oauth views
2017-08-15 13:18:31 +02:00
Girish Ramakrishnan
26361c037d
Merge branch 'mehdi/box-permissions'
...
Closes MR !14
2017-08-14 10:49:54 -07:00