Commit Graph

77 Commits

Author SHA1 Message Date
Johannes Zellner 0a154339e6 Fix the normal case of changing dns provider 2017-01-10 13:15:14 +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 684e7df939 At least resolve nameservers for dns settings validator 2017-01-06 11:08:10 +01:00
Johannes Zellner d9865f9b0f Allow box to startup without fqdn 2017-01-05 14:02:04 +01:00
Johannes Zellner 55fad3d57e Convert booleans for the correct object 2017-01-02 14:15:20 +01:00
Johannes Zellner 424c36ea49 Convert boolean settings values
The db table only stores strings
2017-01-02 13:47:51 +01:00
Johannes Zellner b26cb4d339 Add dynamic dns settings key 2017-01-02 13:05:48 +01:00
Girish Ramakrishnan f07e6b29a3 Check for manual DNS provider 2016-12-21 15:10:56 -08:00
Girish Ramakrishnan ca8b61caba Allow backup encryption key to be set 2016-12-19 12:41:35 -08:00
Girish Ramakrishnan ec75b14d9e Set timeout for dns queries 2016-12-15 12:00:51 -08:00
Johannes Zellner eaebf9fd73 Fix typo when comparing dkim values 2016-12-15 16:57:29 +01:00
Johannes Zellner 66a4abeb50 Ensure txtRecords is a valid array
The dns api will respond with undefined if no records are found

Mostly related to https://github.com/tjfontaine/node-dns/issues/95
2016-12-15 16:57:29 +01:00
Johannes Zellner e7fc40cfdd Minor code style changes 2016-12-15 16:57:29 +01:00
Johannes Zellner 55d306c938 we use single quotes 2016-12-15 16:57:29 +01:00
Johannes Zellner 8fe1f2fef1 Rename email dns records route 2016-12-15 16:57:29 +01:00
Dennis Schwerdel 1065b56380 Check dns records for generic dns providers 2016-12-15 16:57:29 +01:00
Girish Ramakrishnan 855de8565e Allow setting manual dns provider in api 2016-12-14 14:58:08 -08:00
Girish Ramakrishnan f1ad003b41 Switch dns backend default to manual
Existing cloudrons should be OK because there is no entry in the db
by default for dnsConfig.
2016-12-14 14:56:48 -08:00
Johannes Zellner b1be65d9ce Add fallback certificate backend 2016-12-05 17:01:23 +01:00
Johannes e1be8659fa Also validate DNS config for digitalocean backend 2016-10-25 16:18:54 +02:00
Johannes a23f5d45b0 Improve error feedback when setting Route53 credentials 2016-10-25 16:06:31 +02:00
Johannes 0c6a2008ff Also support noop dns provider in settings backend 2016-10-25 14:55:20 +02:00
Johannes Zellner 2c279dc77e Set LE as default tls config 2016-10-21 10:31:55 -07:00
Johannes Zellner 5d8b46e015 Add more fallbacks for settings 2016-10-21 10:31:30 -07:00
Girish Ramakrishnan 6e8eea6876 Use getBackupConfig instead and allow key to be settable 2016-10-13 15:23:49 -07:00
Johannes Zellner f9e47ac3c0 Ensure we always keep the backup key 2016-10-11 15:56:07 +02:00
Johannes Zellner 9b4228f373 No need for a separate function 2016-10-11 11:47:33 +02:00
Johannes Zellner cac85b17bc Add backup config test for each backend 2016-10-11 11:36:25 +02:00
Girish Ramakrishnan 4e3ba4c96f Check type of bucket and prefix as well 2016-10-09 20:17:42 -07:00
Girish Ramakrishnan 131cd96840 allow various provider in backup config 2016-10-09 00:41:24 -07:00
Girish Ramakrishnan da5e40db66 verify token type 2016-10-09 00:23:23 -07:00
Johannes Zellner be1cc76006 Also allow digitalocean dns settings to be changed 2016-09-20 09:25:48 +02:00
Girish Ramakrishnan c1bb264065 Set a timeout for superagent
The default is 'no timeout' and it will wait for the response forever.

https://github.com/visionmedia/superagent/issues/17#issuecomment-207742985
2016-09-12 13:06:18 -07:00
Girish Ramakrishnan 0900d7b824 Fix crash 2016-09-06 12:54:53 -07:00
Girish Ramakrishnan 5b52eeb573 add route to enable/disable mail
mail is disabled by default

Part of #16
2016-08-30 21:09:22 -07:00
Johannes Zellner 1f1237e785 Setting the appstore config also deals with appstore registration
- First time it registers the cloudron
- Resetting the account will verify that the Cloudron belongs to this user
- If cloudronId is invalid/unknown we reregister
2016-08-01 15:10:47 +02:00
Johannes Zellner 7361acbec5 Add appstore config in settingsdb 2016-07-27 11:20:15 +02:00
Girish Ramakrishnan 57d2fda14c do not validate dns config in test mode 2016-07-12 09:44:58 -07:00
Girish Ramakrishnan 6acd01eaae pass domain as part of the config 2016-07-04 23:22:50 -05:00
Girish Ramakrishnan ab1b5f89a1 validate route53 credentials 2016-07-04 19:42:17 -05:00
Girish Ramakrishnan 65261dc4d5 add time_zone setter route 2016-06-02 13:54:07 -07:00
Girish Ramakrishnan e2e70da4c5 restrict length to 32 2016-06-02 12:51:49 -07:00
Girish Ramakrishnan 48b99a4203 enable developer mode by default
also emphasize on the api aspect
2016-06-01 18:57:15 -07:00
Girish Ramakrishnan 39c4954371 remove isIncomingMailEnabled. always enable for now
also, custom domain === we will take over domain completely (setup
mx and all)
2016-05-13 18:44:08 -07:00
Girish Ramakrishnan 646ba096c3 start recvmail addon in setup_infra 2016-05-11 08:55:51 -07:00
Girish Ramakrishnan f57f8f5e58 fix typo 2016-05-03 12:09:58 -07:00
girish@cloudron.io b72d48b49f set default update config 2016-01-23 05:07:12 -08:00
girish@cloudron.io 3a6b9c23c6 settings: add update config 2016-01-23 05:06:09 -08:00
Girish Ramakrishnan 9d91340223 add settings.setTlsConfig 2015-12-11 22:39:13 -08:00