Commit Graph

24 Commits (master)

Author SHA1 Message Date
neil e0381dd757 fix format 4 months ago
neil 7362e8de4d fix format 4 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
Peter Dave Hello 3c933158c8 Use encrypted https instead of plain-text http when we can 2 years ago
Bob Belnap 444a0282d7 rename _error _err
When there are errors with namecheap hosts, acme.sh fails with:

dns_namecheap.sh: line 262: _error: command not found

Based on usage elsewhere in the file, I believe this should be _err
3 years ago
neil 3dbe5d872b fix format 4 years ago
neilpang 52cfb9a041 fix format 4 years ago
neilpang 3817ddef41 fix https://github.com/acmesh-official/acme.sh/issues/3019 4 years ago
dgasaway f49e8ec5ad
Change ipconfig.co to ifconfig.co
URL https://ipconfig.co/ip does not currently work, and since https://ifconfig.co/ip is mentioned on the DNS API wiki page, I assume these messages were a typo.
4 years ago
Peter Dave Hello ac9f6e3a41 Remove trailing spaces in text files
This issue in the shell scripts will also be detected in the stable
version of shfmt(we are currently using an ancient pre-release of shfmt)
5 years ago
Honza Hommer 28a9df669d Escape slashes (#2375) 6 years ago
Timothy Nelson ec54074392 Fix verification for namecheap domains not *owned* by the calling user (#2106) 6 years ago
neilpang 43877d2647 fix rm method to urlencode the existing txt records.
fix https://github.com/Neilpang/acme.sh/issues/2052
6 years ago
neilpang cc6159b39b urlencode the existing txt record value
fix https://github.com/Neilpang/acme.sh/issues/2052
6 years ago
jim-p 10ba2cd312 Use a literal space instead of an escaped space. Fixes #2022 6 years ago
LLeny 46b3a9158c Fixes Neilpang/acme.sh#1888 6 years ago
LLeny 3975792bf1 shfmt 6 years ago
LLeny 697e694de6 Indentation 6 years ago
LLeny 828d8eaadb NC API warning 6 years ago
LLeny 30ee00ff50 RM TXT check 6 years ago
LLeny b859dd660c dns_rm support 6 years ago
LLeny 8868783476 Staging 6 years ago
LLeny d813be1f48 WIP 6 years ago
LLeny 0d03309c2f Namecheap initial 7 years ago