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