Commit Graph

995 Commits

Author SHA1 Message Date
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
0899803294 add my twitter 2017-01-30 14:29:40 +08:00
neilpang
c3b1eb0837 fix format 2017-01-30 12:25:56 +08:00
neilpang
542d7977db add new _url_encode 2017-01-30 12:07:50 +08:00
neilpang
11927a768e minor, rename 2017-01-29 11:47:04 +08:00
neil
ecd5bcec0c Merge pull request #529 from ggenot/dev
Adding kong deploy script
2017-01-29 11:41:41 +08:00
neilpang
839bf0e2c9 fix format 2017-01-22 18:48:21 +08:00
neil
25555b8c3e pass the paths to reload cmd 2017-01-22 18:11:32 +08:00
neilpang
68aea3af9e fix format 2017-01-21 14:19:01 +08:00
neilpang
78f0201dfa add --remove 2017-01-21 13:32:12 +08:00
neilpang
be83a6a37a minor, fix alias 2017-01-21 12:40:43 +08:00
neilpang
f5b546b3c8 rename to LE_CONFIG_HOME 2017-01-21 11:28:10 +08:00
neilpang
d87af4788e Merge branch 'random' into dev
# Conflicts:
#	acme.sh
2017-01-17 22:03:55 +08:00
neilpang
0f21537f14 format 2017-01-17 22:01:36 +08:00
neilpang
0533bde9f2 Merge branch 'random' into dev
# Conflicts:
#	acme.sh
2017-01-17 21:57:12 +08:00
neilpang
32b3717c32 random minute 2017-01-17 21:49:02 +08:00
neil
d950f801af Merge pull request #546 from Neilpang/comma
Comma
2017-01-17 20:17:53 +08:00
neil
a8ab028b84 Merge pull request #545 from Neilpang/comma
fix comma in domain
2017-01-17 20:15:50 +08:00
neilpang
2aff36e74b fix comma in domain 2017-01-17 20:13:15 +08:00
neil
db7e4bf940 fix format 2017-01-17 13:06:44 +08:00
neil
ee20015d44 fix format 2017-01-17 13:04:02 +08:00
neilpang
80941f8413 minor 2017-01-16 22:36:13 +08:00
neilpang
cf909db159 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2017-01-16 22:31:42 +08:00
neilpang
27dbe77fad add "--config-home" 2017-01-16 22:31:24 +08:00
neil
6489a48e1f Merge pull request #536 from Neilpang/dev
Dev
2017-01-14 17:09:41 +08:00
neil
ca24d1762e Merge pull request #535 from bittorf/master
travis: use only POSIX constructs here, avoid bashisms
2017-01-14 17:08:38 +08:00
Bastian Bittorf
2f4b84c074 travis: use only POSIX constructs here, avoid bashisms
e.g. [[ ]] -> [ ] and 'which' -> command -V

Although this is not strictly needed, it keeps the project uniformly POSIX.

Signed-off-by: Bastian Bittorf <bb@npl.de>
2017-01-13 19:52:30 +01:00
neil
6ae810a1fa Merge pull request #534 from Neilpang/dev
Dev
2017-01-13 22:15:01 +08:00
neil
3e3f695536 Merge pull request #526 from bittorf/master
shellcheck: fix several occurences of SC2034
2017-01-13 22:13:28 +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
neil
f2d9930773 Merge pull request #533 from Neilpang/dev
minor
2017-01-13 20:50:52 +08:00
neilpang
2fbf399156 minor 2017-01-13 20:49:58 +08:00
Geoffroi
5fe91d6577 Correction of test from comment of Neilpang + Correction of CRLF with sh not working correctly 2017-01-11 16:17:16 +01:00
Geoffroi
753d0e7df7 Syntax fix part 2 2017-01-11 15:05:26 +01:00
Geoffroi
e2cc350fbc Fix function name 2017-01-11 14:54:52 +01:00
Geoffroi
07feb87dee Travis fix 2017-01-11 14:52:52 +01:00
Geoffroi
1699e94f0f Adding kong deploy script (https://getkong.org) 2017-01-11 14:09:58 +01:00