Commit Graph

8 Commits

Author SHA1 Message Date
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