Commit Graph

24 Commits (master)

Author SHA1 Message Date
Vladimir Alexeev d3f3a70350 keep content:
# dns_selectel_info='Selectel.com
# Domains: Selectel.ru
# Site: Selectel.com
# Docs: github.com/acmesh-official/acme.sh/wiki/dnsapi#dns_selectel
# Options:
# Variables that must be defined before running
2 months ago
Vladimir Alexeev 3f262fe872 keep content:
# dns_selectel_info='Selectel.com
# Domains: Selectel.ru
# Site: Selectel.com
# Docs: github.com/acmesh-official/acme.sh/wiki/dnsapi#dns_selectel
# Options:
# Variables that must be defined before running
2 months ago
Vladimir Alexeev 112bfccfd5 fix _get_root() make it start from 1. because we need to support --domain-alias (only version api actual v2) 2 months ago
Vladimir Alexeev e42ad9be24 fix
don't use debug3, use debug2
  add # shellcheck disable=SC2034
2 months ago
Владимир Алексеев 51151293d7
Remove `date -d` on macOS 8 months ago
Владимир Алексеев a42fef0905
Merge branch 'dev' into master 9 months ago
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>
9 months ago
Vladimir Alexeev a375e924b4 translation of comments into English 10 months ago
Vladimir Alexeev d989617825 set default SL_Ver to v1 10 months ago
Vladimir Alexeev 177d9b7cb0 set default SL_Ver to v1 10 months ago
Vladimir Alexeev 7a1305c1bb fix del record for v1, delete one entry at a time 10 months ago
Vladimir Alexeev 8bb29f53d1 test DNS for v1 (legacy) 003 10 months ago
Vladimir Alexeev 2e3c1ef4ac test DNS for v1 (legacy) 003 10 months ago
Vladimir Alexeev ada7e12b5a test DNS for v1 (legacy) 003 10 months ago
Vladimir Alexeev b8949ba3dd test DNS for v1 (legacy) 002 10 months ago
Vladimir Alexeev 73fe47ba79 test DNS for v1 (legacy) 001 10 months ago
Vladimir Alexeev 577920de86 test DNS for v2 (actual) 001 10 months ago
Vladimir Alexeev 517baa3235 test DNS for v2 (actual) 10 months ago
neilpang 3ce67b282f merge https://github.com/acmesh-official/acme.sh/pull/4108
merge https://github.com/acmesh-official/acme.sh/pull/4108
3 years ago
neilpang 606e59a5d0 fix https://github.com/acmesh-official/acme.sh/issues/4110
fix https://github.com/acmesh-official/acme.sh/issues/4110
3 years ago
neilpang 8c88757451 fix format 7 years ago
neilpang dd171ca44a fix format 7 years ago
neilpang 03140865f0 fix for existing record 7 years ago
neilpang a4fc802d1b Add selectel.com(selectel.ru) DNS API. fix https://github.com/Neilpang/acme.sh/issues/1220 7 years ago