Commit Graph
2177 Commits
Author SHA1 Message Date
Henrik Alves b821836dc4 update dns_doapi 2024-05-27 12:45:01 +02:00
Владимир Алексеев a42fef0905 Merge branch 'dev' into master 2024-05-20 07:05:06 +10:00
Sergey Ponomarev 6b7b5caf54 DNS provider API: structured description
Instead of using comments declare info in a special variable.
Then the variable can be used to print the DNS API provider usage.
The usage can be parsed on UI and show all needed inputs for options.

The info is stored in plain string that it's both human-readable and easy to parse:

    dns_example_info='API name
     An extended description.
     Multiline.
    Domains: list of alternative domains to find
    Site: the dns provider website e.g. example.com
    Docs: Link to ACME.sh wiki for the provider
    Options:
     VARIABLE1 Title for the option1.
     VARIABLE2 Title for the option2. Default "default value".
     VARIABLE3 Title for the option3. Description to show on UI. Optional.
    Issues: Link to a support ticket on https://github.com/acmesh-official/acme.sh
    Author: First Lastname <authoremail@example.com>, Another Author <https://github.com/example>;
    '

Here:
VARIABLE1 will be required.
VARIABLE2 will be required too but will be populated with a "default value".
VARIABLE3 is optional and can be empty.

A DNS provider may have alternative options like CloudFlare may use API KEY or API Token.
You can use a second section OptionsAlt: section.

Some providers may have alternative names or domains e.g. Aliyun and AlibabaCloud.
Add them to Domains: section.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-18 12:06:41 +03:00
Marvin Dickhaus fd461fe015 Fix missing XML Escaping in Password String
Fixes #5060
2024-05-16 22:44:47 +02:00
zak905 2797d2c535 fix add and rm method names 2024-05-14 19:50:44 +02:00
zak905 f440656572 create new script for ionos cloud and rollback changes to dns_ionos.sh 2024-05-14 18:35:25 +02:00
zak905 373c2b379c remove debug print statements and usage of custom fork of acmetest 2024-05-06 14:53:51 +02:00
Владимир Алексеев 95b51cf9e6 Merge branch 'acmesh-official:master' into master 2024-05-05 09:42:54 +10:00
Vladimir Alexeev a375e924b4 translation of comments into English 2024-05-05 07:42:22 +10:00
Vladimir Alexeev d989617825 set default SL_Ver to v1 2024-05-04 20:42:38 +10:00
Vladimir Alexeev 177d9b7cb0 set default SL_Ver to v1 2024-05-04 20:38:42 +10:00
Vladimir Alexeev 7a1305c1bb fix del record for v1, delete one entry at a time 2024-05-04 19:12:42 +10:00
zak905 52d1d421a3 escape brackets in regexp and format using shfmt 2024-05-03 17:04:49 +02:00
zak905 c3cc13595d use posix compliant lower case shell command 2024-05-02 18:48:39 +02:00
zak905 adc8031e34 fix shell linter and formating 2024-04-30 17:04:24 +02:00
zak905 0974c74a89 transform record name to lower case when searching for TXT record 2024-04-30 16:59:02 +02:00
zak905 c64aae6f39 more debugging - add function argument printing 2024-04-30 16:59:02 +02:00
zak905 b7b1714637 add some debug statements 2024-04-30 16:59:02 +02:00
zak905 30d0945855 fix regexp for findind acme challenge record from API response 2024-04-30 16:59:02 +02:00
zak905 ffde1f8343 linting based on ShellCheck results 2024-04-30 16:59:02 +02:00
zak905 96c35b41ed fix TXT record lookup and removal 2024-04-30 16:59:02 +02:00
zak905 dc2979926f fix zone search 2024-04-30 16:59:02 +02:00
zak905 ff357dd3fb fix syntax error 2024-04-30 16:59:02 +02:00
zak905 f35e15204d implement dns_ionos_rm function 2024-04-30 16:59:02 +02:00
zak905 3ae4ba3300 dns_ionos.sh: implement dns_ionos_add for ionos cloud 2024-04-30 16:59:02 +02:00
Vladimir Alexeev 8bb29f53d1 test DNS for v1 (legacy) 003 2024-04-30 16:15:45 +10:00
Vladimir Alexeev 2e3c1ef4ac test DNS for v1 (legacy) 003 2024-04-30 13:49:53 +10:00
Vladimir Alexeev ada7e12b5a test DNS for v1 (legacy) 003 2024-04-30 11:03:53 +10:00
Vladimir Alexeev b8949ba3dd test DNS for v1 (legacy) 002 2024-04-30 10:01:50 +10:00
Vladimir Alexeev 73fe47ba79 test DNS for v1 (legacy) 001 2024-04-30 09:57:49 +10:00
Vladimir Alexeev 577920de86 test DNS for v2 (actual) 001 2024-04-30 08:36:36 +10:00
neil e7cfde1904 Merge pull request #5049 from hknet/patch-2
fixed handling of key and secret
2024-04-29 20:14:01 +02:00
Vladimir Alexeev 517baa3235 test DNS for v2 (actual) 2024-04-29 22:54:31 +10:00
alviy aa41df4e7d run test 2024-04-27 13:49:37 +03:00
alviy d73953af3d spellcheck 2024-04-27 12:28:06 +03:00
alviy 54eec82311 spellcheck 2024-04-27 11:45:14 +03:00
alviy dab244ad25 shfmt 2024-04-27 11:29:30 +03:00
alviy dbe7cb8dbb remove rev command 2024-04-27 09:55:38 +03:00
alviy e814cccc44 Update dns_alviy.sh 2024-04-27 00:06:22 +03:00
alviy 1078fdc157 fix Shellcheck 2024-04-26 23:25:38 +03:00
alviy 4bf4259dda Update _get_root logic 2024-04-26 23:05:42 +03:00
alviy 03b53cbb60 run DNS test 2024-04-26 20:38:01 +03:00
alviy 7ef1340e2a Update dns_alviy.sh 2024-04-25 23:16:11 +03:00
alviy c0b87adee5 shfmt 2024-04-25 22:51:32 +03:00
alviy 4a8c2251e0 4th+ level domain 2024-04-25 22:47:53 +03:00
alviy d1df5f3021 test DNS 2024-04-25 22:36:11 +03:00
alviy e1acea52f8 run DNS test 2024-04-25 22:27:04 +03:00
alviy 2e9f159225 shfmt 2024-04-25 22:15:16 +03:00
alviy 2fcda9a73a Quotes recomendations 2024-04-25 22:07:29 +03:00
alviy 78ba205f4d DNS test init 2024-04-25 19:37:49 +03:00