Girish Ramakrishnan
eddcc6fe27
Fix another test
2018-11-10 01:35:49 -08:00
Girish Ramakrishnan
953b55439c
eventlog: add domain events
2018-11-10 01:25:34 -08:00
Girish Ramakrishnan
e526890e3e
Add a separate disabled event
2018-11-10 00:35:56 -08:00
Girish Ramakrishnan
71e1e2468b
fix test
2018-11-10 00:22:38 -08:00
Girish Ramakrishnan
fcb7c3e82a
fix casing
2018-11-10 00:18:56 -08:00
Girish Ramakrishnan
0d65635bc4
eventlog: add email enabled/disabled events
2018-11-10 00:17:38 -08:00
Girish Ramakrishnan
4aa76a859f
eventlog: mail list add,remove events
2018-11-10 00:17:25 -08:00
Girish Ramakrishnan
003789265c
eventlog: mailbox add,remove events
2018-11-10 00:06:02 -08:00
Girish Ramakrishnan
1bb3b5e51b
addons: refactor code into dumpPath
2018-11-09 12:02:38 -08:00
Johannes Zellner
111f5a7c99
Update postgres addon to 2.0.2
2018-11-08 20:51:14 +01:00
Girish Ramakrishnan
ccfd385beb
Fix waitForDns
2018-11-05 23:00:55 -08:00
Girish Ramakrishnan
ee6cca5cdf
Make cert an object
2018-11-05 22:39:06 -08:00
Girish Ramakrishnan
0093e840c6
Fix various typos
2018-11-05 21:26:53 -08:00
Girish Ramakrishnan
15039bf293
Fix validation of fallback certs
2018-11-05 21:13:34 -08:00
Girish Ramakrishnan
60992405d5
generate cert with correct CN
2018-11-05 20:48:28 -08:00
Girish Ramakrishnan
d96b1cc864
generate fallback cert correctly for hyphenated domains
2018-11-05 19:53:50 -08:00
Girish Ramakrishnan
5165cd8f40
Use debug
2018-11-05 17:36:23 -08:00
Girish Ramakrishnan
9f8b47daa9
domains.fqdn only takes 2 args
2018-11-05 17:35:50 -08:00
Girish Ramakrishnan
9372afad9a
Fix debug
2018-11-05 17:12:04 -08:00
Girish Ramakrishnan
eef6056174
bump timeout of setup route
2018-11-05 16:55:46 -08:00
Girish Ramakrishnan
a1dfc758c6
Fix debug
2018-11-02 17:10:16 -07:00
Girish Ramakrishnan
8caf5cc741
typo
2018-11-02 14:50:45 -07:00
Girish Ramakrishnan
7739f8f174
Set container hostname to something constant
...
currently, it defaults to the container name. apps might use this hostname
for communication with child containers. but this breaks if app gets updated
and gets a new hostname
2018-11-02 14:47:00 -07:00
Girish Ramakrishnan
0618431be7
print the cloudronId on registration
2018-11-01 23:10:26 -07:00
Girish Ramakrishnan
ff3a4f65dd
autoprovision: register cloudron when provided appstore config
2018-11-01 22:28:51 -07:00
Girish Ramakrishnan
44da148fd1
remove collectd directory again
2018-11-01 20:33:40 -07:00
Girish Ramakrishnan
c09aa2a498
Make LE work with hyphenated domains
2018-11-01 19:08:05 -07:00
Johannes Zellner
041285b187
Add dynamic dns settings routes
2018-10-31 16:02:51 +01:00
Girish Ramakrishnan
e0b1ebba92
verifyOperator -> isUnmanaged
2018-10-30 21:17:34 -07:00
Girish Ramakrishnan
581bbafa06
registry_config route does not require operator check
2018-10-30 20:54:35 -07:00
Girish Ramakrishnan
ce93518c0a
allow hyphenated subdomains on all editions
2018-10-30 20:35:35 -07:00
Girish Ramakrishnan
0ba0b009c7
make the domain locking code more clear
2018-10-30 20:35:32 -07:00
Girish Ramakrishnan
eed8f109bc
operator check is now directly based on edition type
2018-10-30 20:26:22 -07:00
Girish Ramakrishnan
63946509b3
Get autoconf data as separate object
...
This was done because restore API already takes a backupConfig.
So, it's best to split up the primary parameters and the autoconf
2018-10-30 19:27:14 -07:00
Girish Ramakrishnan
668ff99450
Add support for restricted certs as part of dns setup
2018-10-30 18:15:26 -07:00
Girish Ramakrishnan
03984a811f
dnsSetup -> setup
...
It now takes a dnsConfig object. It will end up taking other config
objects for provisioning.
2018-10-30 14:01:02 -07:00
Girish Ramakrishnan
7c733ae150
Fix error handling
2018-10-29 20:19:48 -07:00
Girish Ramakrishnan
9fe02d3818
lint
2018-10-29 20:19:42 -07:00
Girish Ramakrishnan
f10b80d90d
Make apps test great again
2018-10-29 12:49:41 -07:00
Girish Ramakrishnan
caf1d18250
Add flag for tests to check if platform is ready
2018-10-29 12:46:02 -07:00
Girish Ramakrishnan
c700635656
certs: make renew switch to fallback certs
2018-10-28 19:03:57 -07:00
Girish Ramakrishnan
62619d21c0
Handle 409 in container exec
2018-10-27 14:15:52 -07:00
Girish Ramakrishnan
bf7707b70b
cleanup old base image as well
2018-10-27 13:10:02 -07:00
Girish Ramakrishnan
698f3c833b
cloudflare: Fix crash
...
{ success: false,
errors:
[ { code: 9103, message: 'Unknown X-Auth-Key or X-Auth-Email' } ],
messages: [],
result: null }
/home/yellowtent/box/src/dns/cloudflare.js:36
} else if (error.error_chain[0] && error.error_chain[0].message) {
^
TypeError: Cannot read property '0' of undefined
at translateRequestError (/home/yellowtent/box/src/dns/cloudflare.js:36:37)
at /home/yellowtent/box/src/dns/cloudflare.js:57:83
2018-10-27 12:51:24 -07:00
Girish Ramakrishnan
5996a107ed
Return a bogus version to fix the tests
2018-10-27 12:26:39 -07:00
Girish Ramakrishnan
0307dc5145
Carefully prune addon images
...
With the docker image prune we ended up removing the redis image
which was ununsed...
This also prevents us from removing images of some app using the
docker addon
2018-10-27 12:01:22 -07:00
Girish Ramakrishnan
2688a57d46
Move version out of config.js
...
We now store this in a file called VERSION inside the tarball
itself.
2018-10-27 11:13:36 -07:00
Girish Ramakrishnan
7ad069fd94
Make config.setVersion hidden
2018-10-27 10:44:21 -07:00
Girish Ramakrishnan
06d043dac4
Make baseImage an array of objects
2018-10-26 16:58:18 -07:00
Girish Ramakrishnan
97567b7d2a
Do not re-create cloudron.conf
...
All this argument passing going around is just needless
* boxdata/version file is not used
* dashboard config.json is also unused
2018-10-26 15:29:14 -07:00