neil
a8f252e45d
Merge pull request #5057 from phedoreanu/dev
...
dns_1984.hosting - update _get_root check
6 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>
7 months ago
Adrian Fedoreanu
5e64781d65
update _get_root check
8 months ago
Adrian Fedoreanu
15d10eeebc
dns_1984.hosting.sh: update login and account status URLs
1 year ago
Adrian Fedoreanu
0d0478245f
dns_1984hosting.sh: fix login with valid csrftoken and sessionid
1 year ago
DerVerruckteFuchs
5e465a298f
Update 1984 Hosting's URL
3 years ago
DerVerruckteFuchs
41a2d0e06c
reduce ttl
3 years ago
DerVerruckteFuchs
4d95e35c06
get response based on $txtvalue
3 years ago
DerVerruckteFuchs
4e553f34ba
get TXT entry based on $txtvalue
3 years ago
DerVerruckteFuchs
b910726c43
pick first entry if more than one TXT entry exists
3 years ago
DerVerruckteFuchs
64e3cab6ab
add correct number of vars for _get_zone_id
3 years ago
DerVerruckteFuchs
f3196396a2
fix email filtering
3 years ago
DerVerruckteFuchs
148336929d
fix formatting
3 years ago
DerVerruckteFuchs
2f3ec3a77f
filter out instances where email@domain.com exists
3 years ago
Christophe B Billheimer
8d7a487013
change $@ -> $_domain
3 years ago
Christophe B Billheimer
622464ff5e
fix error message for _get_zone_id
3 years ago
Christophe B Billheimer
b45a44e405
fix formatting
3 years ago
Christophe B Billheimer
a196958bd6
add check when getting zone id
3 years ago
Christophe B Billheimer
f101418658
change _url -> url
3 years ago
Christophe B Billheimer
aa05a1e81d
make sure _url gets set where it is needed
3 years ago
Christophe B Billheimer
384bc62f25
make _get_zone_id usage consistent
3 years ago
Christophe B Billheimer
46e62f1a9a
fix typo
3 years ago
Christophe B Billheimer
c5c2014081
add _get_zone_id to dns_1984hosting_rm to get the zone id
3 years ago
Christophe B Billheimer
c668c603cc
add Referer and X-CSRFToken HTTP headers
3 years ago
Christophe B Billheimer
8f3b7c179e
put cookies into a format that the 1984 Hosting website expects
3 years ago
Christophe B Billheimer
ea18c47011
move getting zone id code into its own function
3 years ago
Christophe B Billheimer
ced7110a78
remove -o option from grep and use _egrep_o instead
3 years ago
Christophe B Billheimer
92f13eb8bf
get both the CSRF token and session ID cookies, as they are both needed for login now
3 years ago
Christophe B Billheimer
1312ef7e50
simplify One984HOSTING_COOKIE grep
3 years ago
Christophe B Billheimer
e992979113
Merge branch 'master' of github.com:DerVerruckteFuchs/acme.sh into 1984-hosting-cookie-fix
3 years ago
Christophe B Billheimer
d317b49940
use head instead of tail so that the sessionid cookie gets set correctly
3 years ago
neil
a438c841e1
Merge pull request #3542 from DerVerruckteFuchs/_get_root()-fix
...
fix _get_root() so that it successfully gets the root domain
4 years ago
DerVerruckteFuchs
d9af496b13
Merge branch 'dev' into _get_root()-fix
4 years ago
Christophe B Billheimer
a55cf40b1b
fix _get_root() so that it successfully gets the root domain
4 years ago
Christophe B Billheimer
b19008d1b8
fix dns_1984hosting_add() so checks for HTML responses are actually find HTML responses
4 years ago
neil
d154118600
fix bug
4 years ago
neil
c2273d2c8e
add debug info
4 years ago
Christophe B Billheimer
3891a52aeb
change "$url" -> $url so the value of $url gets passed by reference, and the string "$url" does not erroneously get passed as a variable into _post()
4 years ago
Adrian Fedoreanu
5dbfc2786d
fix dnsapi/dns_1984hosting
4 years ago
Adrian Fedoreanu
6a0ed51f5e
replace response equals with contains
4 years ago
DerVerruckteFuchs
025da92450
Handle case insensitivity for HTTP/1.1 headers.
5 years ago
DerVerruckteFuchs
0ab14399ae
Fix broken grep so that One984HOSTING_COOKIE actually gets set, and isn't left empty.
5 years ago
Adrian Fedoreanu
eef9a60037
add dns_1984hosting dns api
5 years ago