15 Commits

Author SHA1 Message Date
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
David Kerr
e5975a7137 login with acme.sh _post() rather than using curl. 2017-01-28 14:51:07 -05:00
David Kerr
3674cdde76 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-27 17:53:46 -05:00
David Kerr
8de728f354 Delete stray line copied/pasted from another pugin 2017-01-21 16:26:54 -05:00
David Kerr
57a48f8119 Support for FreeDNS 2017-01-21 16:12:30 -05:00