985 Commits

Author SHA1 Message Date
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
neil
cd7ac94f35 Merge pull request #555 from Neilpang/dev
fix format
2017-01-21 14:20:00 +08:00
neilpang
68aea3af9e fix format 2017-01-21 14:19:01 +08:00
neil
cdb3216cc9 Merge pull request #554 from Neilpang/dev
add --remove
2017-01-21 13:39:51 +08:00
neilpang
78f0201dfa add --remove 2017-01-21 13:32:12 +08:00
neil
2cd47b0240 Merge pull request #553 from Neilpang/dev
minor, fix alias
2017-01-21 12:41:34 +08:00
neilpang
be83a6a37a minor, fix alias 2017-01-21 12:40:43 +08:00
neil
8ca99e85b0 Merge pull request #552 from Neilpang/dev
Dev
2017-01-21 11:56:04 +08:00
neilpang
f5b546b3c8 rename to LE_CONFIG_HOME 2017-01-21 11:28:10 +08:00
neil
50c9d17830 Merge pull request #547 from Neilpang/random
Random
2017-01-17 22:09:43 +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
2.6.5
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
neil
8a1e335bf5 Merge pull request #528 from Neilpang/dev
Dev
2017-01-10 10:41:37 +08:00
neil
5413bf8753 minor, clear account key cache if new-authz error. 2017-01-10 10:36:47 +08:00
neil
c4c5ecd03d Merge pull request #525 from bittorf/master
dnsapi/dns_dp.sh: shellcheck: fix 1 occurence of SC2126
2017-01-09 22:16:23 +08:00
Bastian Bittorf
3b67cf4378 dnsapi/dns_dp.sh: shellcheck: fix 1 occurence of SC2126
shellcheck message was:
"Consider using grep -c instead of grep | wc"
2017-01-09 15:08:41 +01:00
neil
f3c937f9ed Merge pull request #524 from Neilpang/dev
minor, fix shellcheck warning
2017-01-09 22:02:49 +08:00
neilpang
671a699472 minor, fix shellcheck warning 2017-01-09 22:01:48 +08:00
neil
cc4fa1c6bd Merge pull request #523 from Neilpang/dev
Dev
2017-01-09 20:51:27 +08:00
neilpang
d11d476126 "Don't use [] around ranges in tr, it replaces literal square brackets." 2017-01-09 20:26:07 +08:00
neil
1ce06c7cdd Merge pull request #521 from bittorf/master
dnsapi/dns_lexicon.sh: shellcheck: fix 4 occurences of SC2021
2017-01-09 20:21:58 +08:00
Bastian Bittorf
800f02ba38 dnsapi/dns_lexicon.sh: shellcheck: fix 4 occurences of SC2021:
"Don't use [] around ranges in tr, it replaces literal square brackets."

this introduces another warning:
"Use '[:lower:]' to support accents and foreign alphabets."

This is more a style thingy because we really want to only catch A-Z.
work around this by using a shellcheck-directive and a comment
that the [:lower:] will not work with e.g. busybox-ash.

if we later really want to use [:lower:], we should use 'sed' for that.
2017-01-09 12:21:32 +01:00