Commit Graph
21 Commits
Author SHA1 Message Date
Armando Lüscher a6d2e3a1e6 Suppress shellcheck warnings. 2017-02-19 13:26:32 +01:00
Armando Lüscher 3e1418d662 Use gloo item key for environment change, to support different account types.
(this isn't working 100% yet, still looking for a solution)
2017-02-12 12:30:06 +01:00
Armando Lüscher 884f70fb39 Remove square brackets from ranges.
Export curl header variables.
2017-02-12 12:24:58 +01:00
Armando Lüscher 9499a1142b Remove custom URL encoding and use library's implementation. 2017-02-12 12:24:58 +01:00
Armando Lüscher 6e8dcdce78 Satisfy shellcheck. 2017-02-12 12:24:58 +01:00
Armando Lüscher ce9fae82bd Update cookie retrieval using _egrep_o (thanks @Neilpang) 2017-02-12 12:24:57 +01:00
Armando Lüscher afa3fc8bf9 Adapt to use general naming rule for account variables. 2017-02-12 12:24:57 +01:00
Armando Lüscher 09eccf6fc0 Use more flexible version of uppercase to lowercase conversion. 2017-02-12 12:24:57 +01:00
Armando Lüscher edfefb6763 Add usage instructions and repo link to post issues. 2017-02-12 12:24:57 +01:00
Armando Lüscher 98b3dcbf37 Prefix all private functions with _cyon.
Satisfy shellcheck.
2017-02-12 12:22:50 +01:00
Armando Lüscher 2698ef6c5f Return instead of exit.
Clear OTP secret if environment variable is set to empty. This is for when the 2FA is disabled.
Rename `_is_idn` function to `_is_idn_cyon`.
Remove usage of curl (except for URL encoding of data).
Instead of cleaning up the cookie jar, get rid of it completely and logout of cyon instead.
2017-02-12 12:22:49 +01:00
Armando Lüscher 46b2ee3bae Replace all echos with printf. 2017-02-12 12:22:49 +01:00
Armando Lüscher e7ee3a7dd5 Remove jq completely to not require it as a dependency. 2017-02-12 12:22:49 +01:00
Armando Lüscher 0085e6f83b Don't use jq to fetch list of DNS entries to be deleted. 2017-02-12 12:22:49 +01:00
Armando Lüscher c90fa3bcfc Fix problems found by travis. 2017-02-12 12:22:49 +01:00
Armando Lüscher 0ec9b9823f Add DNS API for cyon.ch 2017-02-12 12:22:48 +01:00
Armando Lüscher 0a3b6c4813 Keep backwards compatible. 2016-12-18 05:29:27 +01:00
Armando Lüscher 96db9362c5 Fix typo. 2016-12-18 03:17:35 +01:00
Armando Lüscher d20831e41a Update DNS API readme 2016-11-15 14:43:15 +01:00
Armando Lüscher 1bb902984b Clean up readme. 2016-11-15 14:13:58 +01:00
Armando Lüscher 9910ff5fa1 Allow saved password strings to have special characters. (#334) 2016-10-25 20:49:22 +08:00