Commit Graph

3101 Commits

Author SHA1 Message Date
Bill Gertz
9af85f5a7e
Updated to use _H1 Authorization: Basic
Updated to use suggested export _H1 env var to supply Authorization Basic credentials. This undocumented support for Basic Authorization, ContentType, etc. needs to be documented in DNSAPI Dev Guide. Removed two stray debugging lines.
2019-10-14 00:01:25 +02:00
Bill Gertz
7ec52145e8
Space style changes.
Local copy of shellcheck somehow missed these, odd.
2019-10-13 20:02:03 +02:00
Bill Gertz
aa6112482d
Rewrite to conform to Dev guide
Created _get_root() that tests the requested host is a subdomain to the domains hosted on MailinaBox (MIAB) DNS Server. Created common _miab_rest() used with dns_miab_add(), dns_miab_rm() and _get_root(). Also created barbaric _is_json() to test the response given by the MIAB Custom DNS API at least looks like a JSON file. We should add a hint to use _normalizeJson with JSON responses so _startswith, _endswith won't perplexingly fail.
2019-10-13 19:56:04 +02:00
neil
d035cdcff9
Merge pull request #2537 from master-nevi/master
Use more widely supported options for the "tr" command line utility in dns_freedns.sh
2019-10-10 10:38:17 +08:00
neil
7ad3ddef2a
Merge pull request #2539 from temoffey/gcore_cdn
Gcore cdn
2019-10-10 10:35:22 +08:00
neil
38e08bb91f
Merge pull request #2434 from dkerr64/FreeDNS
Work around bug in _egrep_o() function
2019-10-10 10:34:26 +08:00
temoffey
252a21e2ae fixed json parse regex for support api gcore_cdn 2019-10-10 00:36:34 +03:00
David Robles
ba7db3edda Use more widely supported options for the "tr" command line utility by removing the use of the character class representation option. Fixes #2536 2019-10-09 08:24:24 -07:00
Bill Gertz
f64b061a28
Style issue
Spaces on blank line on line 133.
2019-10-08 18:46:35 +02:00
Bill Gertz
f323ced4ca
Style issues and orphan _postContentType debug fix
Fixed spacing and removed unneeded debug for _postContenetType
2019-10-08 18:24:14 +02:00
Bill Gertz
c06ec7c6ba
Removed parameters and unused code for _miab_post
Ok, should have noticed earlier that the calls to the private function _miab_post() never used the _needbase64_ or the __postContentType parameters. Parameters and code to handle them has been factored out.
2019-10-08 18:15:16 +02:00
Bill Gertz
835f9aad91
Um that's a wee bit of nit pick.
'Errant' space removed on blank line on line 147.
2019-10-08 16:47:32 +02:00
Bill Gertz
a4ec9f8b44
Fixed weird spacing on line 180
Um, fixed.
2019-10-08 16:34:56 +02:00
Bill Gertz
47c33d0344
Cleanup/ removed private function _get_root
Function _get_root() copied from acme.sh and is not needed here. Other cleanup as recommended by acme.sh test bot.
2019-10-08 16:29:23 +02:00
Bill Gertz
f500c7abcb
dnsapi/dns_miab.sh MIAB DNS-01 Validation
Know I'm new to contorting to this project. I i've broke conventions please let me know what I've screwed up and I'll set it right as quickly as possible.

Propose this as a new DNS-01 validation script to dynamically add challenge DNS records to MailinaBox (MIAB) DNS. MIAB uses a custom DNS API to manage external DNS records.

The script was originally written by Darven Dissek and can be found in his repository: https://framagit.org/DarvenDissek/acme.sh-MIAB-DNS-API/). This has been forked and some slight cleanup applied and change shebang to UNIx shell. The forked repository can be found here: https://github.com/billgertz/MIAB_dns_api.

Wrote to Darven but received no reply. Support for this script has been submitted to the OPNsense project via this pull request: https://github.com/opnsense/plugins/pull/1531
2019-10-08 15:47:39 +02:00
neil
95dd7b5323
Merge pull request #2531 from moose-kazan/master
Fix for dns_vultr.sh
2019-10-06 20:13:19 +08:00
MooSE
65c950e1a4
Update README.md 2019-10-06 15:02:48 +03:00
Vadim Kalinnikov
e484f32b1a - Return shell detect via env 2019-10-06 14:40:57 +03:00
Vadim Kalinnikov
bc396e7a90 Small fix in dns_vultr.sh 2019-10-06 14:38:26 +03:00
neil
ce182f43db
Merge pull request #2527 from PeterDaveHello/RemoveTrailingSpaces
Remove trailing spaces in text files
2019-10-05 21:31:46 +08:00
neil
9382d52d55
Merge pull request #2528 from PeterDaveHello/ImproveTravisCI
Use shallow clone to speed up git clone on Travis CI
2019-10-05 21:23:30 +08:00
Peter Dave Hello
dd156d0689 Use shallow clone to speed up git clone on Travis CI
Shallow clone is faster than a normal one, there is no need to clone the
whole history of a repository when we only needs its latest or certain
state of commit.
2019-10-05 21:13:28 +08:00
Peter Dave Hello
ac9f6e3a41 Remove trailing spaces in text files
This issue in the shell scripts will also be detected in the stable
version of shfmt(we are currently using an ancient pre-release of shfmt)
2019-10-05 21:09:24 +08:00
neilpang
1e7534b9d7 fix https://github.com/Neilpang/acme.sh/issues/2518#issuecomment-538474232 2019-10-05 11:59:04 +08:00
Michael Braunoeder
72d800ed10 [DNSAPI] add dns_rcode0.sh - Support for https://my.rcodezero.at/api-doc (#2489)
* first version dns_rcode0.sh

* fixed URLs for ACME calls

* fixed challenge remove

* read & write Token/URL at rm too

* make info messages debug

* typos fixed

* update rrset only if existing challenge is found

* polish error messages and make "detect root zone" scaleable

* fixed formating issues

* code cleanup, remove some unneeded functions

* removed empty lines

* save rcode0 url only if not default
2019-10-05 11:47:57 +08:00
neil
54143ae6d4
sync (#2523)
sync
2019-10-03 21:15:32 +08:00
neilpang
8ef5daa807 minor, update link 2019-10-03 21:14:11 +08:00
neilpang
fa47ea4196 Merge remote-tracking branch 'remotes/origin/master' into dev 2019-10-03 21:12:52 +08:00
jess
683592fa86 Added financial contributors to the README (#2513) 2019-10-03 21:01:05 +08:00
neil
477a04760c
support google public dns (#2522)
* support google dns

* let's start 2.8.4
2019-10-03 21:00:30 +08:00
neilpang
b4a62bfa30 let's start 2.8.4 2019-10-03 20:51:06 +08:00
neilpang
10eec7d48c support google dns 2019-10-03 20:37:46 +08:00
neil
b8cc10ab5d
Merge pull request #2512 from Neilpang/dev
fix list() performance
2019-09-28 10:56:50 +08:00
neilpang
be0df07dfb fix list() performance
https://github.com/Neilpang/acme.sh/issues/2296
2019-09-28 10:54:31 +08:00
neil
5244097e2d
Merge pull request #2504 from Neilpang/dev
fix https://github.com/Neilpang/acme.sh/issues/2503
2019-09-24 22:11:59 +08:00
neilpang
1ba4ab2bd1 fix https://github.com/Neilpang/acme.sh/issues/2503 2019-09-24 22:10:36 +08:00
neil
2e855f8983
Merge pull request #2502 from Neilpang/dev
fix HEAD request against the new LE CDN.
2019-09-24 20:54:25 +08:00
neilpang
51b4a9e350 fix HEAD request against the new LE CDN.
wget is fixed
2019-09-24 20:50:24 +08:00
neil
237d28cf83
Merge pull request #2501 from Neilpang/dev
fix HEAD request against the new LE CDN.
2019-09-24 20:02:25 +08:00
neilpang
5723fd112f fix HEAD request against the new LE CDN.
curl is fixed
2019-09-24 20:00:21 +08:00
neil
73b89c554e
Merge pull request #2486 from Neilpang/dev
sync
2019-09-17 22:18:30 +08:00
Boot Lee
950d024a11 fix grep error when txt value begin with - char (#2471) 2019-09-14 23:06:25 +08:00
neilpang
815a3be48b fix https://github.com/Neilpang/acme.sh/issues/2478
support `sudo -i` and `sudo -s`
2019-09-14 11:21:55 +08:00
fgma
b9994e52eb Notify xmpp (#2407)
* notify via xmpp (using sendxmpp)

* fix formatting in notify/xmpp.sh

* minor cleanup
2019-09-05 22:28:47 +08:00
Kent Varmedal
80d63dbb7c Add support for Domeneshop DNS API (#2458)
* Add support for Domeneshop DNS API

* Fix double quotes after build fail

* Fixing formating errors
2019-09-05 22:26:28 +08:00
Phil Porada
6b817d4563 Set TXT record TTL to minimum possible value (#2465) 2019-09-05 22:15:28 +08:00
neilpang
1081d98bf9 support to specify the nginx or site conf for nginx mode.
https://github.com/Neilpang/acme.sh/issues/2469
2019-09-05 22:05:54 +08:00
neilpang
91d82da497 Merge remote-tracking branch 'remotes/origin/master' into dev 2019-09-05 21:48:30 +08:00
neil
0ca46774ac
Create FUNDING.yml 2019-09-02 10:36:10 +08:00
Rolph Haspers
f0d6d46766 Added link to API docs 2019-08-19 17:27:19 +02:00