Commit Graph

70 Commits

Author SHA1 Message Date
Girish Ramakrishnan
04476999f7 Fix grammar 2017-01-12 11:48:03 -08:00
Girish Ramakrishnan
3176bc1afa Fix failing tests 2017-01-10 16:54:15 -08:00
Girish Ramakrishnan
f3d3b31bed Fix error return type 2017-01-10 16:16:42 -08:00
Girish Ramakrishnan
f4b635a169 Fix error type 2017-01-10 14:21:36 -08: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
babfb5efbb Make the verifyDnsConfig() api return the valid credentials 2017-01-10 11:32:44 +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
Johannes Zellner
cef93012bf Implement verifyDnsConfig() for manual dns 2017-01-10 11:12:38 +01:00
Johannes Zellner
bd099cc844 Implement verifyDnsConfig() for route53 2017-01-10 11:12:25 +01:00
Johannes Zellner
c1029ba3b0 Implement verifyDnsConfig() for digitalocean 2017-01-10 11:12:13 +01:00
Johannes Zellner
152025baa7 Add verifyDnsConfig() to the dns backend where it belongs 2017-01-10 11:11:41 +01:00
Girish Ramakrishnan
f6507ecbe3 noop dns backend does not wait for dns anymore 2016-12-14 14:56:03 -08:00
Girish Ramakrishnan
79083925d1 Add manual dns backend
The manual differs from noop in that it will perform the
wait for dns check.
2016-12-14 14:54:14 -08:00
Girish Ramakrishnan
3ede9af34b remove subdomains.status 2016-12-14 14:47:03 -08:00
Girish Ramakrishnan
d475d9bcbf Make waitForDns provider specific
This will allow us to create a proper 'noop' backend that does
not wait for dns to be in sync. This is required for local/intranet
setups.
2016-12-14 14:43:20 -08:00
Johannes
db41633663 Support multiple DNS record upserts with digitalocean
Fixes #99
2016-11-30 17:00:16 +01:00
Johannes
eb963f3e1b Report auth issues in digitalocean dns backend 2016-10-25 16:18:33 +02:00
Girish Ramakrishnan
1ef6eefaf6 dns: fix noop get/upsert 2016-10-08 14:38:59 -07:00
Girish Ramakrishnan
370e4f7c25 rename wildcard to noop 2016-10-08 13:00:40 -07:00
Girish Ramakrishnan
72f287c4e5 Fix typos 2016-10-07 14:19:44 -07:00
Girish Ramakrishnan
49e3dba1f2 Add DNS wildcard backend
It assumes that the user setup the wildcard DNS entry manually.
2016-10-07 14:09:20 -07:00
Johannes Zellner
adcdd45053 Specifically handle MX records for digitalocean to suit their api 2016-09-27 12:10:31 +02:00
Johannes Zellner
5ac12452a1 Give MX records a priority on digitalocean 2016-09-20 09:25:48 +02:00
Johannes Zellner
6cecad89ec Remove a console.log 2016-09-20 09:25:48 +02:00
Johannes Zellner
73df6a8dd7 empty subdomain value is represented as @ in DO 2016-09-20 09:25:48 +02:00
Johannes Zellner
6fa643049f Fix status code check 2016-09-20 09:25:48 +02:00
Johannes Zellner
835176ad75 Add support to update a domain in digitalocean 2016-09-20 09:25:48 +02:00
Johannes Zellner
98bb7e3a1a Add initial digitalocean dns backend 2016-09-20 09:25:48 +02:00
Johannes Zellner
487fb23836 Add DNS interface description 2016-09-20 09:25:48 +02:00
Johannes Zellner
cffc6d5fa5 Reorder dns backend exports 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
3aa2ccaef7 remove unused require 2016-09-05 17:09:19 -07:00
Girish Ramakrishnan
90472e1370 remove subdomains.add API 2016-09-05 17:09:00 -07:00
Girish Ramakrishnan
ecc9d1bc02 rename subdomains.update to subdomains.upsert 2016-09-05 16:58:13 -07:00
Girish Ramakrishnan
4fc6eb1876 fix route53.get() 2016-09-05 15:17:42 -07:00
Girish Ramakrishnan
6b4d906336 remove jslint comment 2016-09-04 23:56:50 -07:00
Girish Ramakrishnan
f96fda325d Return SubdomainError.BAD_FIELD in route53 backend
Part of #27
2016-09-04 19:46:46 -07:00
Girish Ramakrishnan
2caf57d2c7 Add SubdomainError.BAD_FIELD
The CaaS backend return 400 for conflicts. We can use this to abort
early if there is a conflict in DNS entries. For example, if an app
subdomain already exists in DNS.

Part of #27
2016-09-04 19:35:19 -07:00
Girish Ramakrishnan
3bdae8f4ac typo 2016-09-04 18:00:28 -07:00
Girish Ramakrishnan
5a6b5f945d fix fqdn for naked domain 2016-07-07 13:14:15 -07:00
Girish Ramakrishnan
944b3a9da1 route53: do not use appFqdn 2016-07-05 16:28:11 -05:00
Girish Ramakrishnan
70034602c7 handle error 2016-07-04 23:32:44 -05:00
Girish Ramakrishnan
ab1b5f89a1 validate route53 credentials 2016-07-04 19:42:17 -05:00
Girish Ramakrishnan
bd5c1269f6 remove jslint 2016-07-02 11:42:52 -05:00
Johannes Zellner
0fb44bfbc1 Forward the error.message instead of making a new Error object
That leads to only Internal Error
2016-02-24 18:12:31 +01:00
Johannes Zellner
a3737c3797 Report access denied errors in route53 backend 2016-02-23 17:29:28 +01:00