Commit Graph

269 Commits

Author SHA1 Message Date
nytral
29992f54a3 delete support for dns_me 2017-03-01 18:28:39 +01:00
nytral
4ab6786163 Merge remote-tracking branch 'upstream/master' 2017-03-01 18:03:39 +01:00
neilpang
839f18d052 fix format 2017-03-01 19:17:20 +08:00
neilpang
177b57e1c0 fix wget content on 404 error 2017-02-28 21:35:20 +08:00
neilpang
d24a87caf1 minor 2017-02-28 20:56:11 +08:00
neilpang
9683ffe13a minor fix error message 2017-02-28 20:39:23 +08:00
Frederic Crozat
fab2d9dc6a add API for Gandi LiveDNS (#680)
* add API for Gandi LiveDNS

* ensure Gandi API key is saved for renewing certificate.

* gandi_livedns: use PUT instead of POST for creating DNS record

* gandi_livedns: fix formatting

* dns_gandi_livedns: fix shellcheck errors
2017-02-28 19:58:04 +08:00
Stefan Seidel
abf4278d09 resolve conflicts 2017-02-23 21:02:21 +00:00
seidler2547
2b2b65fe18 Declare and assign separately to avoid masking return values 2017-02-23 21:00:40 +00:00
Stefan Seidel
3d6a125bdc add documentation 2017-02-23 21:00:40 +00:00
seidler2547
9efd40a366 use export for headers 2017-02-23 20:59:12 +00:00
seidler2547
383fa8401d Remove stray characater
fixes issue where the first listed domain would not work
2017-02-23 20:59:12 +00:00
seidler2547
bf8ffade29 replace head -1, add link to GitHub 2017-02-23 20:59:12 +00:00
seidler2547
1633d14547 forgot dollar sign 2017-02-23 20:59:12 +00:00
seidler2547
e55605dbe9 remove _all_ mktemp 2017-02-23 20:59:12 +00:00
seidler2547
cdec38ba12 return error if any removal failed 2017-02-23 20:59:12 +00:00
seidler2547
1cb6e9e7d0 remove cookiejar file
d'oh
2017-02-23 20:59:12 +00:00
Stefan Seidel
d1d2f6f451 avoid temp file for domain list 2017-02-23 20:59:12 +00:00
Stefan Seidel
743f821f1e improve error message on failed authentication 2017-02-23 20:59:12 +00:00
Stefan Seidel
b95a99e0c2 remove cookiejar temp file 2017-02-23 20:59:12 +00:00
Stefan Seidel
3ebbeb103c old habits 2017-02-23 20:59:12 +00:00
Stefan Seidel
0d4035e996 remove fgrep, escape regex chars instead 2017-02-23 20:59:12 +00:00
Stefan Seidel
88ed5e506a fix whitespace and UUOC 2017-02-23 20:59:12 +00:00
Stefan Seidel
76a3371b40 remove non-POSIX sed -r and use built-in functions 2017-02-23 20:59:12 +00:00
Stefan Seidel
7b2fa1edb4 add API for www.do.de/www.resellerinterface.de 2017-02-23 20:59:12 +00:00
neil
e1c42eb6cc Merge pull request #414 from noplanman/cyon_dns_api
Cyon.ch DNS API
2017-02-20 19:13:35 +08:00
Armando Lüscher
a6d2e3a1e6
Suppress shellcheck warnings. 2017-02-19 13:26:32 +01:00
neilpang
e6e85b0c55 secure debug message 2017-02-19 13:24:00 +08:00
neilpang
db50462920 minor use interactive _sleep 2017-02-18 12:03:21 +08:00
Armando Lüscher
3e1418d662
Use gloo item key for environment change, to support different account types.
(this isn't working 100% yet, still looking for a solution)
2017-02-12 12:30:06 +01:00
Armando Lüscher
884f70fb39
Remove square brackets from ranges.
Export curl header variables.
2017-02-12 12:24:58 +01:00
Armando Lüscher
9499a1142b
Remove custom URL encoding and use library's implementation. 2017-02-12 12:24:58 +01:00
Armando Lüscher
6e8dcdce78
Satisfy shellcheck. 2017-02-12 12:24:58 +01:00
Armando Lüscher
ce9fae82bd
Update cookie retrieval using _egrep_o (thanks @Neilpang) 2017-02-12 12:24:57 +01:00
Armando Lüscher
afa3fc8bf9
Adapt to use general naming rule for account variables. 2017-02-12 12:24:57 +01:00
Armando Lüscher
09eccf6fc0
Use more flexible version of uppercase to lowercase conversion. 2017-02-12 12:24:57 +01:00
Armando Lüscher
edfefb6763
Add usage instructions and repo link to post issues. 2017-02-12 12:24:57 +01:00
Armando Lüscher
98b3dcbf37
Prefix all private functions with _cyon.
Satisfy shellcheck.
2017-02-12 12:22:50 +01:00
Armando Lüscher
2698ef6c5f
Return instead of exit.
Clear OTP secret if environment variable is set to empty. This is for when the 2FA is disabled.
Rename `_is_idn` function to `_is_idn_cyon`.
Remove usage of curl (except for URL encoding of data).
Instead of cleaning up the cookie jar, get rid of it completely and logout of cyon instead.
2017-02-12 12:22:49 +01:00
Armando Lüscher
46b2ee3bae
Replace all echos with printf. 2017-02-12 12:22:49 +01:00
Armando Lüscher
e7ee3a7dd5
Remove jq completely to not require it as a dependency. 2017-02-12 12:22:49 +01:00
Armando Lüscher
0085e6f83b
Don't use jq to fetch list of DNS entries to be deleted. 2017-02-12 12:22:49 +01:00
Armando Lüscher
c90fa3bcfc
Fix problems found by travis. 2017-02-12 12:22:49 +01:00
Armando Lüscher
0ec9b9823f
Add DNS API for cyon.ch 2017-02-12 12:22:48 +01:00
neil
c9d7daab70 fix https://github.com/Neilpang/acme.sh/issues/593 2017-02-10 13:34:34 +08:00
neilpang
b4325026b1 exe 2017-02-05 23:14:25 +08:00
nytral
e82ea94bb6 Merge remote-tracking branch 'upstream/master' 2017-02-05 13:56:10 +01:00
David Kerr
09ed421948 Merge remote-tracking branch 'upstream/master' into FreeDNS 2017-02-04 10:51:52 -05:00
David Kerr
87f5ec5be5 Add Accept-Language:en-US to HTTP header as precaution against future multi-lingual FreeDNS pages. 2017-02-04 10:36:51 -05:00
David Kerr
f78b656f5f Add error message if fails to add TXT record for missing security code (probably a FreeDNS public domain) 2017-02-04 10:21:58 -05:00
David Kerr
e6b940e247 Minor edits to FreeDNS documentation 2017-02-03 22:59:22 -05:00
David Kerr
50a9680f17 Travis error... remove blank line at end of file. 2017-02-03 11:13:12 -05:00
David Kerr
40e6ba1100 fix heading level to match others. 2017-02-01 17:12:52 -05:00
David Kerr
0aed065a75 Updates to README.md 2017-02-01 17:08:26 -05:00
neilpang
1476a9ecf1 fix format 2017-02-01 16:12:43 +08:00
David Kerr
600a235140 Add FreeDNS plugin 2017-01-31 23:16:04 -05:00
neil
aec8307417 Merge pull request #540 from trancee/dev
Added support for Linode DNS API.
2017-01-31 19:35:39 +08:00
neilpang
d78ba322bf fix update 2017-01-31 19:22:14 +08:00
neilpang
ab5c1b0a3a minor 2017-01-31 19:03:29 +08:00
neilpang
53fa16d39f minor 2017-01-31 18:59:00 +08:00
neilpang
05cf405cb5 minor 2017-01-31 18:46:24 +08:00
neilpang
5d833336d3 minor 2017-01-31 18:41:32 +08:00
neilpang
bb6326f4d4 fix for solaris 2017-01-31 15:57:43 +08:00
Philipp Grosswiler
c070407ab2 Fixed Travis CI complaining about missing newline at end of file. 2017-01-31 13:38:16 +07:00
neilpang
1c22c2f76a fix for solaris 2017-01-31 14:04:40 +08:00
neilpang
646c0bfcb9 fix for solaris 2017-01-31 12:51:59 +08:00
neilpang
bcf96608d1 fix for solaris 2017-01-31 12:38:37 +08:00
Philipp Grosswiler
dd17ac5045 Added instructions on how to get the Linode API key. 2017-01-31 10:56:34 +07:00
Philipp Grosswiler
59182dbc97 Removed Linode CLI dependency. 2017-01-31 10:43:30 +07:00
neilpang
542d7977db add new _url_encode 2017-01-30 12:07:50 +08:00
Philipp Grosswiler
38f2334360 Added support for Linode DNS API. 2017-01-16 15:42:17 +07:00
Bastian Bittorf
3ca93f4a4c shellcheck: fix several occurences of SC2034
message:
SC2034: $VARNAME appears unused. Verify it or export it.

most of these are related to the style:
we generate global vars, which are used in other functions.

the var "lexical_url" was really unused (left it as comment)

the travis-check now does not need anymore special flags.

Signed-off-by: Bastian Bittorf <bb@npl.de>
2017-01-13 14:54:09 +01:00
Bastian Bittorf
3b67cf4378 dnsapi/dns_dp.sh: shellcheck: fix 1 occurence of SC2126
shellcheck message was:
"Consider using grep -c instead of grep | wc"
2017-01-09 15:08:41 +01:00
neilpang
671a699472 minor, fix shellcheck warning 2017-01-09 22:01:48 +08:00
Bastian Bittorf
800f02ba38 dnsapi/dns_lexicon.sh: shellcheck: fix 4 occurences of SC2021:
"Don't use [] around ranges in tr, it replaces literal square brackets."

this introduces another warning:
"Use '[:lower:]' to support accents and foreign alphabets."

This is more a style thingy because we really want to only catch A-Z.
work around this by using a shellcheck-directive and a comment
that the [:lower:] will not work with e.g. busybox-ash.

if we later really want to use [:lower:], we should use 'sed' for that.
2017-01-09 12:21:32 +01:00
Kevin Kaland
3cf85634eb Trim potential closing curly brace.
Fixes GH-517.
2017-01-08 00:10:22 +01:00
Karsten Sperling
5415381cf4 Add support for AWS_SESSION_TOKEN and fix bug when multiple hosted zones exist 2017-01-06 15:36:35 +13:00
Paul Koppen
7b4be7be40 Remove spaces from blank lines. 2017-01-03 12:35:10 +00:00
Paul Koppen
b90917a529 Improve legibility. 2017-01-03 12:33:10 +00:00
Paul Koppen
180f05f6f0 Add instructions for the Alwaysdata API. 2017-01-03 12:16:22 +00:00
Paul Koppen
831b95f13a Merge suggested improvements.
* Use `_head_n`.
* Add link to GitHub repo for bug reporting.
2017-01-03 12:09:57 +00:00
Paul Koppen
331b599a81 Use _post for DELETE and switch to JSON API (Alwaysdata default). 2017-01-03 11:41:11 +00:00
Paul Koppen
e5079b9dad Add Alwaysdata DNS API. 2017-01-02 23:39:00 +00:00
neilpang
15af89d51c fix https://github.com/Neilpang/acme.sh/issues/490 2016-12-27 20:40:52 +08:00
neilpang
8c71bd57e7 fix https://github.com/Neilpang/acme.sh/issues/491 2016-12-27 20:19:22 +08:00
klemens
329174b6d9 spelling fixes 2016-12-14 21:32:24 +01:00
neilpang
2728170c01 add debug info 2016-12-07 14:30:17 +08:00
neilpang
7d1c5fca0b fix for solaris 2016-12-07 13:52:31 +08:00
neilpang
39d1eeda23 fix for solaris 2016-12-07 12:41:22 +08:00
neilpang
122cc48c29 minor 2016-12-07 11:51:15 +08:00
neilpang
c7c57cfa0e fix for solaris 2016-12-07 11:49:24 +08:00
neilpang
dfbc244b00 support aws remove 2016-12-06 16:52:02 +08:00
neilpang
f1f3074306 fix format 2016-12-06 15:54:19 +08:00
neilpang
f162ad193f support dnspod remove 2016-12-06 15:46:22 +08:00
neilpang
c0d0100ca8 fix format 2016-12-06 15:18:02 +08:00
neilpang
21f201e371 support cloudflare rm function 2016-12-06 14:58:36 +08:00
neilpang
df62150b5a Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2016-12-06 13:55:28 +08:00
neilpang
eea52a5fa6 update api template 2016-12-06 13:55:06 +08:00
Marcello Barnaba
c12be766e9 Fix Route53 API consumer
Ignoring the Chthlulu argument 😃, Route53 returns its XML all on one line, making not possible to grep the hosted zone record with egrep/sed.

This change splits the XML in multiple lines, so that parsing can succeed.
2016-12-04 20:15:48 +01:00
kookxiang
8379f015d7
Finish dns_cx_rm() method 2016-12-04 22:17:34 +08:00