196 Commits

Author SHA1 Message Date
David Kerr
d85dab440f Merge remote-tracking branch 'upstream/master' into FreeDNS 2017-01-31 17:47:59 -05:00
David Kerr
a3e3d3dda9 Resolve travis spellcheck errors (hopefully) 2017-01-31 17:05:44 -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
David Kerr
0d2f5f8142 Resolve merge problems. Oops. 2017-01-30 22:36:37 -05:00
David Kerr
e090070b7c Merge branch 'FreeDNS' of github.com:dkerr64/acme.sh into FreeDNS 2017-01-30 22:32:44 -05:00
David Kerr
598fe81f9f Back to mixed case FREEDNS_User and FREEDNS_Password variable naming 2017-01-30 22:19:12 -05:00
David Kerr
0f04a8df5d use new _url_encode function in acme.sh 2017-01-30 22:16:41 -05:00
David Kerr
4e078aeae9 Revert FREEDNS userid and password variables to all uppercase
As these are exported variables by convention they should be uppercase.
Travis/Spellcheck fails because they are not uppercase and it therefore
expects them to be defined or set before use.
2017-01-30 20:13:47 -05:00
David Kerr
6787545e07 travis spellcheck fix 2017-01-30 20:13:47 -05:00
David Kerr
2d4804274d Remove bash unique string manipulation, replace with cut function. 2017-01-30 20:13:47 -05:00
David Kerr
d059831da1 Implement retry to load subdomain page if first attempt fails.
Sometimes FreeDNS does not reurn the subdomain page but rather
returns a page regarding becoming a premium member.  This usually
happens after a period of inactivity.  Immediately trying again
returns the correct subdomain page.  So, we will try twice to
load the page
2017-01-30 20:13:47 -05:00
David Kerr
8c8edd8356 Remove use of rev command... new method of separating top domain from subdomain. 2017-01-30 20:13:47 -05:00
David Kerr
ab8e7e7abf More cleanup and remove bash unique code. 2017-01-30 20:13:47 -05:00
David Kerr
c1dece1cfb Remove some bash specific string handling, replace with sed.
Plus some more code cleanup.
2017-01-30 20:13:47 -05:00
David Kerr
03ec57a054 Change from ((i++)) to i=$(_math $i + 1) 2017-01-30 20:13:47 -05:00
David Kerr
77a0145187 More code cleanup and remove use of IFS for line splitting. 2017-01-30 20:13:47 -05:00
David Kerr
4c95128113 More travis/spellcheck cleanup 2017-01-30 20:13:47 -05:00
David Kerr
24714b7508 Cleanup travis/spellcheck issues 2017-01-30 20:13:47 -05:00
David Kerr
076f057448 Remove remaining usage of curl and replace with acme.sh _get and _post
plus other misc cleanup
2017-01-30 20:13:47 -05:00
David Kerr
6897fa9880 get subdomain page with acme.sh _get() rather than using curl 2017-01-30 20:13:47 -05:00
David Kerr
98c0716347 login with acme.sh _post() rather than using curl. 2017-01-30 20:13:47 -05:00
David Kerr
5a77efd102 Cache FreeDNS authentication cookie rather than userid and password.
Now the FREEDNS_USER and FREEDNS_PASSWORD need only be exported the first
time it is used and whenever the userid or password is changed.  Subsequent
runs use the cookie cached in account.conf
2017-01-30 20:13:47 -05:00
David Kerr
0eb678753f Delete stray line copied/pasted from another pugin 2017-01-30 20:13:47 -05:00
David Kerr
a2a1e2ed25 Support for FreeDNS 2017-01-30 20:13:47 -05:00
neilpang
542d7977db add new _url_encode 2017-01-30 12:07:50 +08:00
David Kerr
aebbb1ae57 Revert FREEDNS userid and password variables to all uppercase
As these are exported variables by convention they should be uppercase.
Travis/Spellcheck fails because they are not uppercase and it therefore
expects them to be defined or set before use.
2017-01-29 21:24:31 -05:00
David Kerr
9c9ecd4813 travis spellcheck fix 2017-01-29 18:14:21 -05:00
David Kerr
76b7731998 Remove bash unique string manipulation, replace with cut function. 2017-01-29 15:43:58 -05:00
David Kerr
49e8ecd168 Implement retry to load subdomain page if first attempt fails.
Sometimes FreeDNS does not reurn the subdomain page but rather
returns a page regarding becoming a premium member.  This usually
happens after a period of inactivity.  Immediately trying again
returns the correct subdomain page.  So, we will try twice to
load the page
2017-01-29 15:34:55 -05:00
David Kerr
d280e4ad6d Remove use of rev command... new method of separating top domain from subdomain. 2017-01-29 15:09:08 -05:00
David Kerr
0cac509626 More cleanup and remove bash unique code. 2017-01-29 14:10:39 -05:00
David Kerr
a367f3737b Remove some bash specific string handling, replace with sed.
Plus some more code cleanup.
2017-01-29 13:26:37 -05:00
David Kerr
ea8dfd4a3e Change from ((i++)) to i=$(_math $i + 1) 2017-01-29 00:05:59 -05:00
David Kerr
23a6ce2795 More code cleanup and remove use of IFS for line splitting. 2017-01-28 23:57:40 -05:00
David Kerr
0efdf5e992 More travis/spellcheck cleanup 2017-01-28 22:28:52 -05:00
David Kerr
2e26aa11a6 Cleanup travis/spellcheck issues 2017-01-28 22:12:25 -05:00
David Kerr
7da47fa556 Remove remaining usage of curl and replace with acme.sh _get and _post
plus other misc cleanup
2017-01-28 21:53:03 -05:00
David Kerr
abe287528e get subdomain page with acme.sh _get() rather than using curl 2017-01-28 15:15:39 -05:00