Girish Ramakrishnan
01d0e56332
refactor code to have a relay provider
...
part of #188
2017-06-28 11:39:45 -05:00
Girish Ramakrishnan
00990b6837
Verify relay credentials
...
part of #188
2017-06-27 16:40:10 -05:00
Girish Ramakrishnan
5088cb47d9
Load and save the relay settings
...
part of #188
2017-06-27 15:13:09 -05:00
Girish Ramakrishnan
60ae4972b0
Bump mail container version (relay support)
2017-06-27 13:16:30 -05:00
Girish Ramakrishnan
ad8ddf80f5
add mail relay tests
...
part of #188
2017-06-27 12:20:51 -05:00
Girish Ramakrishnan
c4d313a2c0
generate smtp_forward.ini
...
part of #188
2017-06-27 11:08:50 -05:00
Johannes Zellner
3307b581af
Give the spawned node processes a bit more memory
...
Two cloudrons failed with 200 again and bumping it up helps
We still should look into the tarfs module to fix the root cause
2017-06-26 13:06:57 +02:00
Girish Ramakrishnan
45e68ef6da
Use latest mysql image
...
have to reconfigure to re-inject new passwords
fixes #362
2017-06-22 14:16:58 -07:00
Girish Ramakrishnan
6d0cdc36b2
move getSubscription to appstore.js
2017-06-21 22:17:32 -07:00
Johannes Zellner
f994b68701
wait for dns with the correct zone even on external domain setup
2017-06-21 15:04:39 +02:00
Johannes Zellner
dd6a19ea85
get zoneName from domain on migration if not set
2017-06-21 13:41:13 +02:00
Johannes Zellner
16978f8c1a
Keep the subdomain as is for non-custom domain cloudrons
2017-06-21 10:23:04 +02:00
Girish Ramakrishnan
a553755f4a
the noop callback will print the error
2017-06-19 22:20:25 -07:00
Girish Ramakrishnan
cd52459f05
more descriptive debug
2017-06-19 22:20:25 -07:00
Girish Ramakrishnan
1802201e9e
Remove one level of indentation
2017-06-19 22:20:22 -07:00
Johannes Zellner
2d72f49261
Ensure the updatechecker does not prematurely callback
...
Also add tests and make sure we send update notifications if automatic
updates cannot be applied
2017-06-19 14:34:36 +02:00
Johannes Zellner
cd42a6c2ea
Send update notifications on the free plan
2017-06-19 13:27:08 +02:00
Johannes Zellner
65f949e669
Add settings.getSubscription()
2017-06-19 13:26:49 +02:00
Johannes Zellner
f3fec9a33c
Handle 402 response on app installation
2017-06-19 12:17:55 +02:00
Girish Ramakrishnan
40aaffe365
tests: Fix usage of settings.setDnsConfig
2017-06-15 20:05:35 -07:00
Girish Ramakrishnan
3745e96a6f
domain -> fqdn
2017-06-15 19:56:04 -07:00
Girish Ramakrishnan
9ead482dc6
Make verifyDnsConfig take zone name
...
part of #110
2017-06-15 19:55:24 -07:00
Girish Ramakrishnan
865c0a7aa7
Pass other level domains to dns API backends
...
part of #110
2017-06-15 19:55:01 -07:00
Girish Ramakrishnan
c760c42f92
make waitForDns take zone name argument
...
part of #110
2017-06-15 19:54:08 -07:00
Girish Ramakrishnan
ded31b977e
Add config.setFqdn and config.setZoneName
...
Part of #110
2017-06-15 19:53:20 -07:00
Johannes Zellner
4781c4e364
Deliver empty JSON object on success
...
This ensures the client does not throw a parsing exception
2017-06-15 07:49:19 -07:00
Girish Ramakrishnan
658cbcdab9
bump mail container version (catchall support)
...
part of #33
2017-06-15 07:48:57 -07:00
Girish Ramakrishnan
0cc980f539
Add setting for catch all address
...
Note that this is not a flag on the mailboxes because we might theoretically
support forwarding to some other external domain in the future.
Part of #33
2017-06-15 07:48:46 -07:00
Johannes Zellner
87ca05281d
Revert "Always check for updates prior to performing an update"
...
Lets keep the rest apis more single purpose and offload this case to the
client
This reverts commit 0bddd5a2c6 .
2017-06-13 22:58:07 +02:00
Johannes Zellner
0bddd5a2c6
Always check for updates prior to performing an update
...
This covers the case where the box has not yet received a tarballUrl but
the user already setup a subscription.
2017-06-13 21:42:32 +02:00
Johannes Zellner
20f2a6e4c6
Block updates if sourceTarballUrl is missing
2017-06-13 21:33:03 +02:00
Johannes Zellner
6d47737de7
Remove unused require
2017-06-13 21:14:27 +02:00
Girish Ramakrishnan
23532eafea
Fix path to version
2017-06-07 20:31:18 -07:00
Girish Ramakrishnan
c0c07c2839
ensure .ssh dir exists
...
Fixes #349
2017-06-07 09:50:31 -07:00
Johannes Zellner
daa4c66e7f
Do not perform automatic updates for major platform version
2017-06-05 18:06:00 +02:00
Girish Ramakrishnan
414e9bdf05
Do not use lastBackupId in cleanup logic
...
lastBackupId is only used as a "message" passing field for apptask restore.
Theoretically, this code somehow protects a race between the cleanup logic
and the restore apptask. this is unlikely to happen and adds unnecessary
complexity.
2017-06-01 14:47:57 -07:00
Girish Ramakrishnan
c342e52e7d
Record copyLastBackup in the backupdb
2017-06-01 14:08:55 -07:00
Girish Ramakrishnan
78aa9c66f7
Add a note why we do not cleanup more aggressively yet
2017-06-01 10:33:49 -07:00
Girish Ramakrishnan
986ec02ac6
Add debug on what backup is preserved
2017-06-01 09:38:39 -07:00
Girish Ramakrishnan
4e0bb9187a
lower case domain in migrate code path
2017-06-01 09:26:03 -07:00
Johannes Zellner
9c8a8571b4
Ensure we lowercase the domain name before consuming it in dns setup
...
Finally fixes #335
2017-06-01 17:29:46 +02:00
Girish Ramakrishnan
0c9dce0c9f
redis: set memoryLimit to 600 because only half is RAM
2017-05-31 23:09:47 -07:00
Girish Ramakrishnan
471539d64b
CNAME output from dig has trailing dot
2017-05-30 21:14:28 -07:00
Girish Ramakrishnan
f34d429052
kill the backup process if it runs for too long
2017-05-30 16:11:12 -07:00
Girish Ramakrishnan
82e53bce36
ensure backups and clean them every 6 hours
...
also, make sure they don't run at the same time.
2017-05-30 16:04:32 -07:00
Girish Ramakrishnan
b04a417cfc
Cleanup errored and creating backups
...
Fixes #330
2017-05-30 15:16:08 -07:00
Girish Ramakrishnan
77641f4b51
Add backupdb.getByState and backupdb.getByTypeAndState
...
part of #330
2017-05-30 14:30:06 -07:00
Girish Ramakrishnan
765d20c8be
Add backup states to track unfinished backups
...
part of #330
2017-05-30 13:43:30 -07:00
Girish Ramakrishnan
d2420de594
refactor backup cleanup logic
2017-05-30 13:43:30 -07:00
Girish Ramakrishnan
ddb69eb25c
remove native-dns and use dig directly
...
native-dns module is unmaintained and we keep getting sporadic
errors from that module
Fixes #220
2017-05-26 16:51:05 -07:00