Girish Ramakrishnan
963e92b517
store fallback certs in the database
2021-05-04 22:30:28 -07:00
Girish Ramakrishnan
442110a437
lint
2021-05-01 11:21:09 -07:00
Girish Ramakrishnan
663e0952fc
move wellKnownJson to domains
...
after some more thought:
* If app moves to another location, user has to remember to move all this config
* It's not really associated with an app. It's to do with the domain info
* We can put some hints in the UI if app is missing.
part of #703
2020-12-23 17:13:22 -08:00
Girish Ramakrishnan
b602e921d0
better error message if domains exists
2020-06-01 16:11:02 -07:00
Girish Ramakrishnan
3fec599c0c
remove mail domain add/remove API
...
merge this as a transaction into domains API
fixes #669
2020-03-31 14:48:19 -07:00
Girish Ramakrishnan
3dabad5e91
Detect that domain is in use by app correctly
2020-03-07 14:52:34 -08:00
Girish Ramakrishnan
4ebe143a98
improve the error message on domain removal
2020-02-27 10:12:39 -08:00
Girish Ramakrishnan
25d871860d
domains: remove locked field
...
we will do this as part of access control if needed later
2020-02-13 21:16:46 -08:00
Girish Ramakrishnan
7a96e4858a
Not found messages at the db level
2019-10-24 20:48:38 -07:00
Girish Ramakrishnan
a017af41c5
Start moving db code to use BoxError as well
2019-10-24 14:09:53 -07:00
Girish Ramakrishnan
4765e4f83c
Add locked flag to domains table
2019-01-25 14:45:45 -08:00
Girish Ramakrishnan
8d944f9a4a
Allow setup to be run again as long as not-activated
...
this is useful if the activation fails somewhere mid-way and we don't
need to re-setup the cloudron all over
2018-12-07 15:11:25 -08:00
Johannes Zellner
5db1716664
Add tlsConfig handling in domaindb.js
2018-01-31 16:56:22 +01:00
Johannes Zellner
3135c227d7
Do not add default domain records when we clear the db for testing
2018-01-26 18:32:01 +01:00
Girish Ramakrishnan
af6d8f41ee
create dkim key when mail domain is added
2018-01-25 10:38:59 -08:00
Johannes Zellner
147c728743
Rename maildb table to mail
2018-01-23 15:45:30 +01:00
Girish Ramakrishnan
6fdb093595
add and remove maildb entries when domain is created and removed
2018-01-21 20:33:21 -08:00
Girish Ramakrishnan
8da04f6f51
make domaindb.update take object
2018-01-20 10:24:11 -08:00
Girish Ramakrishnan
b64c41758e
domaindb.upsert is not used
2018-01-20 10:18:06 -08:00
Girish Ramakrishnan
0eaea12818
make domaindb.add take an object
2018-01-20 10:17:01 -08:00
Girish Ramakrishnan
b098db16cf
domaindb: add DOMAINS_FIELDS
2018-01-20 10:05:31 -08:00
Girish Ramakrishnan
2ac12de204
Add domains.provider
2018-01-09 15:32:49 -08:00
Girish Ramakrishnan
373c003223
provider is always set in domain config
2018-01-09 14:25:58 -08:00
Girish Ramakrishnan
f236bd3316
remove isCustomDomain usage from the UI
...
This also adds domains.provider that we should add to the db itself
at some point
2018-01-09 11:00:32 -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
Johannes Zellner
a4a3e19a92
Remove configJson field for domain records in postprocess
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
1ccc3b84b8
Fixup various tests for multidomain
2017-11-20 20:01:50 +01:00
Johannes Zellner
9155f49d4c
Add domaindb logic
2017-11-20 19:59:26 +01:00