Commit Graph

142 Commits

Author SHA1 Message Date
neilpang 542d7977db add new _url_encode 2017-01-30 12:07:50 +08: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
neilpang a62706678e fix for solaris 2016-12-04 21:33:36 +08:00
neilpang e4468562d2 fix cx 2016-12-04 21:24:38 +08:00
neilpang 3747b7d930 fix cx 2016-12-04 20:40:27 +08:00
neilpang 5be3f22d06 fix issue 2016-12-04 14:45:26 +08:00
neil c572ce946b Dev (#434)
* do not use script home

* fix format

* fix issue when there is no one records in the domain.
2016-12-04 13:46:07 +08:00
neilpang d69f0289ca fix issue when there is no one records in the domain. 2016-12-04 12:22:36 +08:00
neil 58bb94d7c7 Update README.md 2016-11-25 22:20:54 +08:00
sjau 5eed02f7e9 Changing shebang back to sh 2016-11-25 04:50:05 +01:00
sjau 983f1f28ca Fixed wrong zone getting JSON and added lots of debug info 2016-11-24 18:02:42 +01:00
sjau 192ede5e64 Added ISPConfig DNS API 2016-11-24 16:00:32 +01:00
neilpang dbd94d047b fix for aliyun api 2016-11-24 22:27:14 +08:00
baiyangliu be39ab32d1 Add DNS API support for aliyun (#410)
* Add DNS API support for aliyun

* Update README.md

* format

* format

* format

* format...

* format...

* format

* format

* fix bug

* fix bug

* code format

* code format

* fix bug

* just ok...

* fix bug

* fix bug

* fix bug

* change "echo" to "printf"

* fix bug

* code format

* fix bug."head -c" in function _ali_nonce not supported by solaris

* fix bug."head -c" in function _ali_nonce not supported by solaris

* format

* fix bug._ali_nonce not work on solaris

* fix bug. _ali_nonce not work on solaris

* fix bug. _ali_nonce not work on solaris

* add aliyun.com to README.md
2016-11-24 21:49:45 +08:00
neilpang 5b771039fc Support AWS Route53 api 2016-11-20 23:21:07 +08:00
neilpang 2f1bc5864f fix format 2016-11-20 23:09:57 +08:00
neilpang 16d79ebaac fix format 2016-11-20 23:04:28 +08:00
neilpang e009ec8b93 Support AWS Route53 api 2016-11-20 22:57:07 +08:00
neilpang cd79b0343a Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2016-11-18 19:27:53 +08:00
neilpang 88a8d7d901 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2016-11-17 20:14:55 +08:00
magna-z d5c00071d3 Add functional in method dns_pdns_rm() 2016-11-17 14:52:00 +03:00
neilpang ab45b7783f fix format 2016-11-17 00:25:40 +08:00