Girish Ramakrishnan
459314df17
lock for platform start, so that apps are not installed in between
2017-11-28 23:18:43 -08:00
Girish Ramakrishnan
693bc094cc
caas: make fqdn part of dns and s3 credentials
2017-11-28 22:44:40 -08:00
Girish Ramakrishnan
9cdd2df696
set restoring to false
2017-11-28 15:01:59 -08:00
Girish Ramakrishnan
e9b308bb95
Re-purpose the zoneName as the caas domain
2017-11-28 15:00:38 -08:00
Girish Ramakrishnan
432a369bff
Add token to dnsConfig
2017-11-28 15:00:38 -08:00
Girish Ramakrishnan
76312495fd
Add debug
2017-11-28 15:00:33 -08:00
Girish Ramakrishnan
126d8b9bec
stringify and a typo
2017-11-28 02:30:35 -08:00
Girish Ramakrishnan
d001647704
Change path of autoprovision.conf since /root is not readable
2017-11-28 01:23:10 -08:00
Girish Ramakrishnan
8701b36123
make dnsSetup return any provisioning error
2017-11-28 01:20:18 -08:00
Girish Ramakrishnan
c56a24d4fb
Autoprovision from autoprovision.json
...
This is done so that CaaS restore code path can provision correctly
2017-11-27 22:41:32 -08:00
Girish Ramakrishnan
e6eb54d572
More test fixing
2017-11-27 18:19:20 -08:00
Girish Ramakrishnan
68c26c1d12
Fix route/ tests
2017-11-27 16:01:52 -08:00
Girish Ramakrishnan
437312811d
wrap seconds
2017-11-27 15:41:37 -08:00
Girish Ramakrishnan
68d4e70823
Add config._reset to tests
2017-11-27 15:27:54 -08:00
Girish Ramakrishnan
74f3a4dd6f
remove redundant after()
2017-11-27 14:10:27 -08:00
Girish Ramakrishnan
3a74babcf4
Fix error message
2017-11-27 13:59:56 -08:00
Girish Ramakrishnan
ab2f2c9aab
Remove setTimeout from cron.js
...
this causes scripts to not end since the timeout is not killed
2017-11-27 13:43:25 -08:00
Girish Ramakrishnan
8b11692e37
cron: ensure all jobs are cleaned up
2017-11-27 12:44:04 -08:00
Girish Ramakrishnan
abe04d7d10
ldap: call client.unbind
2017-11-27 12:14:31 -08:00
Girish Ramakrishnan
efe75f0c4e
make tests finish
...
database.uninitialize must be called to drop the connection
2017-11-27 11:57:09 -08:00
Girish Ramakrishnan
b6c20877ea
lint
2017-11-27 10:43:12 -08:00
Johannes Zellner
61a7f1a126
mailer.start() is gone remove from test
2017-11-25 00:47:00 +01:00
Girish Ramakrishnan
ca5b69a07d
Fix db export/import
2017-11-24 15:31:06 -08:00
Girish Ramakrishnan
998f736e6f
Add database.exportToFile
2017-11-24 15:29:56 -08:00
Girish Ramakrishnan
180a455299
remove mailer.start and stop
2017-11-24 13:58:40 -08:00
Girish Ramakrishnan
a77bf54df7
cron.initialize is required in domain setup for heartbeats
2017-11-24 13:56:34 -08:00
Johannes Zellner
1466104681
Remove obsolete developer mode
2017-11-24 01:31:15 +01:00
Girish Ramakrishnan
f9f2bd5c28
Fix crash
2017-11-23 13:17:07 -08:00
Girish Ramakrishnan
ef2c44ee2f
Instead of exact match, only require major+minor to match
2017-11-23 12:36:43 -08:00
Girish Ramakrishnan
ac94a0b7f2
Add route to restore box from backup
...
Part of #439
2017-11-22 23:08:59 -08:00
Girish Ramakrishnan
0f191324fa
Add backups.restore to import from box backup
...
Part of #439
2017-11-22 23:08:59 -08:00
Girish Ramakrishnan
b507ccaa33
Add database.importFileFile
...
Part of #439
2017-11-22 23:08:59 -08:00
Girish Ramakrishnan
9f6bc0b779
Start platform only on activated
2017-11-22 23:08:28 -08:00
Girish Ramakrishnan
dc1d10837b
split read/parse of fsmetadata
2017-11-22 23:07:52 -08:00
Girish Ramakrishnan
f9dda85a38
Fix error code handling
2017-11-22 21:03:34 -08:00
Johannes Zellner
8773c0f6e1
Remove unused requires
2017-11-23 02:36:33 +01:00
Girish Ramakrishnan
136ee363a8
Make backups.download take backupConfig
2017-11-22 10:38:04 -08:00
Girish Ramakrishnan
9c5965311f
Handle billing required error in clone
2017-11-22 09:05:06 -08:00
Girish Ramakrishnan
78bd819a36
fix indent
2017-11-21 19:18:03 -08:00
Girish Ramakrishnan
0e15fabf88
Do not put app in errored state if backup fails
...
this will end up sending an email but will put the app itself back
in installed state
Fixes #468
2017-11-21 15:59:25 -08:00
Johannes Zellner
8d69e5f3b9
More test cleanups to support domains api
2017-11-21 02:46:20 +01:00
Johannes Zellner
a94d5d1b3e
Add domains REST api tests
2017-11-20 22:53:14 +01:00
Johannes Zellner
9c0af8b13e
Fixing sysadmin, settings and clients tests
2017-11-20 20:01:50 +01:00
Johannes Zellner
a08ff89b78
Fix ldap and dns tests
2017-11-20 20:01:50 +01:00
Johannes Zellner
f7c7a36fc1
We reuse appFqdn() here for the webadmin
2017-11-20 20:01:50 +01:00
Johannes Zellner
032200b20f
cloudron addDnsRecords needs to provide subdomain and domain separately
2017-11-20 20:01:50 +01:00
Johannes Zellner
4cbb751d82
Fix usage of appFqdn in caas dns backend
2017-11-20 20:01:50 +01:00
Johannes Zellner
27e4f0cb82
make *DNSRecords apis take the explicit domain
2017-11-20 20:01:50 +01:00
Johannes Zellner
33e7c8e904
Create the admin group only on owner creation
...
For new cloudrons this will first remove the previously added group and
mailbox entry from the db migration scripts and readds it once we have a
domain on owner creation
2017-11-20 20:01:50 +01:00
Johannes Zellner
07626dacb5
Ensure certificates needs to be multidomain aware
2017-11-20 20:01:50 +01:00