Johannes Zellner
a0ef86f287
Remove now unused tutorial route and business logic
...
We can bring that back again if needed
2017-01-17 12:50:59 +01:00
Johannes Zellner
81b7e5645c
This not an error if a cloudron is not yet registered
...
The change avoids scary logs with backtrace
2017-01-17 11:41:50 +01:00
Johannes Zellner
801367b68d
Use specific functions for configureAdmin (with domain) and configurePlainIp (always)
...
This prevents from double configuring on startup on caas cloudrons
2017-01-17 11:38:33 +01:00
Johannes Zellner
f2e8f325d1
Correct debug lines for cert renewal or not existing
2017-01-17 10:35:42 +01:00
Johannes Zellner
7f8db644d1
Use in-memory rate limit
...
Related to #187
2017-01-16 16:49:03 +01:00
Johannes Zellner
08f3b0b612
Add rate limit test
2017-01-16 16:48:17 +01:00
Girish Ramakrishnan
da2aecc76a
Save generated fallback certs as part of the backup
...
this way we don't get a new cert across restarts
2017-01-14 13:18:54 -08:00
Girish Ramakrishnan
7c72cd4399
Fix tests: we do not send mails anymore
2017-01-14 13:01:21 -08:00
Girish Ramakrishnan
5647b0430a
Simplify onConfigured logic
...
We had all this logic because we allowed the user to create a CaaS
cloudron with a custom domain from the appstore. This flow has changed
now.
One can only set the DNS config after verification. Only thing that
is required is a domain check.
2017-01-14 12:59:16 -08:00
Girish Ramakrishnan
7c94543da8
bump test version
2017-01-13 20:06:15 -08:00
Girish Ramakrishnan
2118952120
send the ownerType as part of mailbox query
2017-01-13 19:53:58 -08:00
Girish Ramakrishnan
89152fabde
use latest test image
2017-01-12 19:28:27 -08:00
Girish Ramakrishnan
055e41ac90
Make unbound reply on cloudron network
...
Because of the docker upgrade, dnsbl queries are failing again
since we are not using the unbound server from the containers.
For some reason, docker cannot query 127.0.0.1 (https://github.com/docker/docker/issues/14627 ).
Make unbound listed on the cloudron network and let docker proxy
DNS calls to unbound (docker always use the embedded DNS server
when using UDN).
See also #130
2017-01-12 19:28:23 -08:00
Girish Ramakrishnan
878878e5e4
Bump mail container for testing
2017-01-12 12:04:24 -08:00
Girish Ramakrishnan
7742c8a58e
Remove unused function
2017-01-12 11:50:59 -08:00
Girish Ramakrishnan
04476999f7
Fix grammar
2017-01-12 11:48:03 -08:00
Girish Ramakrishnan
5bff7ebaa1
remove dead comment
2017-01-12 11:46:52 -08:00
Girish Ramakrishnan
44742ea3ae
Fix bug where cloudron cannot be setup if initial dns credentials were invalid
...
To reproduce:
* https://ip
* provide invalid dns creds. at this point, config.fqdn gets set already
* cannot setup anymore
2017-01-12 11:46:52 -08:00
Girish Ramakrishnan
d6ea7fc3a0
Move setupDns to cloudron.js
2017-01-12 11:46:49 -08:00
Johannes Zellner
5219eff190
Remove 'app at' for app backup message
2017-01-12 16:00:57 +01:00
Johannes Zellner
d98f64094e
Set the correct progress percentage
2017-01-12 16:00:56 +01:00
Johannes Zellner
1c9f2495e3
Show the detailed backup progress during update
...
Fixes #157
2017-01-12 16:00:34 +01:00
Johannes Zellner
aa4d95f352
Remove unused node module showdown
2017-01-12 13:13:37 +01:00
Johannes Zellner
558093eab1
Remove now unused mailer.boxUpdateAvailable()
2017-01-12 13:11:18 +01:00
Johannes Zellner
865b041474
Do not send box update emails to admins
...
Fixes #160
2017-01-12 13:09:12 +01:00
Johannes Zellner
1888319313
Send altDomain as Host header if it is set
...
At least nextcloud will respond with 400 if the Host header is not
matching
2017-01-12 10:45:16 +01:00
Girish Ramakrishnan
72dd3026ca
collect docker info output
...
this has information like the storage driver
2017-01-10 20:42:24 -08:00
Girish Ramakrishnan
c7a0b017b4
Fix crash
2017-01-10 18:50:21 -08:00
Girish Ramakrishnan
3176bc1afa
Fix failing tests
2017-01-10 16:54:15 -08:00
Girish Ramakrishnan
b929adf2dd
Fix migration
2017-01-10 16:23:01 -08:00
Girish Ramakrishnan
f3d3b31bed
Fix error return type
2017-01-10 16:16:42 -08:00
Girish Ramakrishnan
f17eaaf025
Add TODO note
2017-01-10 16:16:37 -08:00
Girish Ramakrishnan
80d65acd0d
Set the domain only during dns setup
...
If we change the domain when dns settings are changed, then migration
fails because we callout to appstore API via the domain (for example,
backup url call will fail because it uses the new domain name).
2017-01-10 16:16:32 -08:00
Girish Ramakrishnan
ba02d333d1
remove unused requires
2017-01-10 16:16:25 -08:00
Johannes Zellner
d47de31744
Rename nakeddomain.html to noapp.html
2017-01-11 00:08:13 +01:00
Girish Ramakrishnan
f4b635a169
Fix error type
2017-01-10 14:21:36 -08:00
Johannes Zellner
349c261238
Remove configStatus.domain and replace with toplevel adminFqdn
2017-01-10 22:54:45 +01:00
Johannes Zellner
5d739f012c
Never use the cloudron email account for LetsEncrypt
2017-01-10 18:14:59 +01:00
Johannes Zellner
35404a2832
Return expected dns records also if we hit NXDOMAIN
2017-01-10 15:51:53 +01:00
Johannes Zellner
a20b331095
Convert settings JSON to objects
2017-01-10 15:24:16 +01:00
Johannes Zellner
0a154339e6
Fix the normal case of changing dns provider
2017-01-10 13:15:14 +01:00
Johannes Zellner
11fb0d9850
Verify the my.domain instead of the zone
2017-01-10 12:30:14 +01:00
Johannes Zellner
3f925e5b96
Improve manual dns backend error message
2017-01-10 12:09:30 +01:00
Johannes Zellner
714ae18658
Fix the manual dns verification
2017-01-10 12:07:32 +01:00
Johannes Zellner
226164c591
This error is already a SubdomainError
2017-01-10 11:40:05 +01:00
Johannes Zellner
1d44d0a987
Remove dns validation code in settings.js
2017-01-10 11:33:33 +01:00
Johannes Zellner
babfb5efbb
Make the verifyDnsConfig() api return the valid credentials
2017-01-10 11:32:44 +01:00
Johannes Zellner
badbb89c92
Add INVALID_PROVIDER to SubdomainError
2017-01-10 11:32:24 +01:00
Johannes Zellner
50e705fb25
Remove unused requires
2017-01-10 11:14:16 +01:00
Johannes Zellner
b9e0530ced
Fill in the noops in the other backends
2017-01-10 11:13:33 +01:00