Johannes Zellner
bf711c6ebb
allow to set domain specific fallback certs
2017-11-20 20:01:50 +01:00
Johannes Zellner
a4a3e19a92
Remove configJson field for domain records in postprocess
2017-11-20 20:01:50 +01:00
Johannes Zellner
009b8abf1b
dns api now takes full fqdn instead of subdomain
2017-11-20 20:01:50 +01:00
Johannes Zellner
de44796b6f
Handle errors if domain is still used on deletion attempt
2017-11-20 20:01:50 +01:00
Johannes Zellner
53e3626e51
More test fixes for config database and settings
2017-11-20 20:01:50 +01:00
Johannes Zellner
9aa4fdc829
Fixup the dns provider tests
2017-11-20 20:01:50 +01:00
Johannes Zellner
1ccc3b84b8
Fixup various tests for multidomain
2017-11-20 20:01:50 +01:00
Johannes Zellner
d4b6768464
Fixup validateHostname and related tests
2017-11-20 20:01:50 +01:00
Johannes Zellner
6e07a4ec08
Fixup database tests
2017-11-20 20:01:50 +01:00
Johannes Zellner
1cee0f3831
Fix unregisterSubdomain to work during migration from single to multidomain
...
oldConfig.domain was previously not there and thus might be missing
still
2017-11-20 20:01:50 +01:00
Johannes Zellner
a52747cde0
Avoid logging 'undefined' on success, this looks like a bug otherwise
2017-11-20 20:01:50 +01:00
Johannes Zellner
14d575f514
Make mailboxdb aware of domain field
2017-11-20 20:01:50 +01:00
Johannes Zellner
e43e904622
Refactor all app.location usages to config.appFqdn(app)
2017-11-20 20:01:50 +01:00
Johannes Zellner
1dfa689d1c
Make apptask subdomain cleanup multidomain aware
2017-11-20 19:59:40 +01:00
Johannes Zellner
293e401852
Store domain alongside with location in apps oldConfig
2017-11-20 19:59:40 +01:00
Johannes Zellner
59ae1ac012
Move fallback certificate api to domains
2017-11-20 19:59:40 +01:00
Johannes Zellner
4cf2978088
Remove dns related settings api
...
This is replaced with the multi domain aware api
2017-11-20 19:59:40 +01:00
Johannes Zellner
e1be8b669f
Do not rely on admin subdomain for dns backend config validation
2017-11-20 19:59:40 +01:00
Johannes Zellner
c723b289dc
Only validate the nameservers for manual dns backend
2017-11-20 19:59:40 +01:00
Johannes Zellner
d75959772c
Add more error handling for domains update route
2017-11-20 19:59:40 +01:00
Johannes Zellner
37e23c9465
Add zoneName support to domains rest API
2017-11-20 19:59:40 +01:00
Johannes Zellner
ca3b6e542a
Require password for domain deletion route
2017-11-20 19:59:40 +01:00
Johannes Zellner
3e4466a41e
Fix appdb.add sql query
2017-11-20 19:59:40 +01:00
Johannes Zellner
28c3ef772e
Ensure we pass full fqdn to domains api from apptask
2017-11-20 19:59:40 +01:00
Johannes Zellner
f1b23005c9
Fix appFqdn() usage to match new api
2017-11-20 19:59:40 +01:00
Johannes Zellner
143ba831f4
Make appFqdn() multidomain aware
2017-11-20 19:59:40 +01:00
Johannes Zellner
5ca31f2484
Send domain as part of the apps routes
2017-11-20 19:59:40 +01:00
Johannes Zellner
5c272fe5d9
Make appdb domain aware
2017-11-20 19:59:40 +01:00
Johannes Zellner
155877534f
Fixup apps.validateHostname()
2017-11-20 19:59:26 +01:00
Johannes Zellner
a2a1d842fa
Add db migration scripts
...
This adds domains table and adjusts the apps and mailboxes table accordingly
Also ensure we explicitly set the table collation, this is required
for the foreign key from apps table (utf8) and the newly created
domains table, which by default now would be utf8mb4
Put db table constraint for mailboxes.domain
Update the schema file
2017-11-20 19:59:26 +01:00
Johannes Zellner
260ac0afb7
Remove subdomains.js in favor of multidomain capable domains.js
2017-11-20 19:59:26 +01:00
Johannes Zellner
fb9372d93e
Remove unused dns config change event
2017-11-20 19:59:26 +01:00
Johannes Zellner
eb65f9e758
Remove default settings key for DNS_CONFIG
2017-11-20 19:59:26 +01:00
Johannes Zellner
3265d7151c
Migrate dns test to domains.js
2017-11-20 19:59:26 +01:00
Johannes Zellner
597af2e034
Do not send obsolete settings.dnsConfig with alive status
2017-11-20 19:59:26 +01:00
Johannes Zellner
0b8f0bf731
Remove subdomains usage in cloudron.js
2017-11-20 19:59:26 +01:00
Johannes Zellner
a7e10cead0
Use domains api in platform
2017-11-20 19:59:26 +01:00
Johannes Zellner
0e74a6df35
Deprecate dns settings api and add dns data migration
2017-11-20 19:59:26 +01:00
Johannes Zellner
3fbaa385c4
Add DNS record specific functions to domains.js
2017-11-20 19:59:26 +01:00
Johannes Zellner
29637bb4f4
Add basic domain setting validation
2017-11-20 19:59:26 +01:00
Johannes Zellner
9dba816711
Add domain routes
2017-11-20 19:59:26 +01:00
Johannes Zellner
9155f49d4c
Add domaindb logic
2017-11-20 19:59:26 +01:00
Girish Ramakrishnan
998bc36673
remove manifest arg to backupApp
2017-11-19 17:58:04 -08:00
Girish Ramakrishnan
cd5a14ce47
Use date object instead of string
2017-11-19 16:11:51 -08:00
Girish Ramakrishnan
917122c812
display last updated in app info
2017-11-19 13:20:20 -08:00
Girish Ramakrishnan
ec4910a45e
Fix restore
2017-11-17 22:35:56 -08:00
Girish Ramakrishnan
48a52fae2e
LE agreement URL has changed
2017-11-17 10:35:58 -08:00
Girish Ramakrishnan
0ddbda6068
Fix crash
2017-11-16 15:11:12 -08:00
Girish Ramakrishnan
360fa058ea
store format information for restoring
...
fixes #483
2017-11-16 15:01:27 -08:00
Girish Ramakrishnan
f762d0c0a1
newConfig -> updateConfig
2017-11-16 12:36:07 -08:00