neil
a8f252e45d
Merge pull request #5057 from phedoreanu/dev
...
dns_1984.hosting - update _get_root check
2024-05-28 09:27:30 +02: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
Adrian Fedoreanu
5e64781d65
update _get_root check
2024-03-19 19:41:33 +01:00
Adrian Fedoreanu
15d10eeebc
dns_1984.hosting.sh: update login and account status URLs
2023-11-10 08:22:28 +01:00
Adrian Fedoreanu
0d0478245f
dns_1984hosting.sh: fix login with valid csrftoken and sessionid
2023-06-11 15:22:45 +02:00
DerVerruckteFuchs
5e465a298f
Update 1984 Hosting's URL
2022-04-15 23:04:10 -04:00
DerVerruckteFuchs
41a2d0e06c
reduce ttl
2021-09-13 11:44:39 -04:00
DerVerruckteFuchs
4d95e35c06
get response based on $txtvalue
2021-09-12 17:38:27 -04:00
DerVerruckteFuchs
4e553f34ba
get TXT entry based on $txtvalue
2021-09-12 17:20:01 -04:00
DerVerruckteFuchs
b910726c43
pick first entry if more than one TXT entry exists
2021-09-12 17:05:36 -04:00
DerVerruckteFuchs
64e3cab6ab
add correct number of vars for _get_zone_id
2021-09-12 16:57:32 -04:00
DerVerruckteFuchs
f3196396a2
fix email filtering
2021-09-12 16:49:53 -04:00
DerVerruckteFuchs
148336929d
fix formatting
2021-09-12 16:27:40 -04:00
DerVerruckteFuchs
2f3ec3a77f
filter out instances where email@domain.com exists
2021-09-12 16:25:21 -04:00
Christophe B Billheimer
8d7a487013
change $@ -> $_domain
2021-09-12 14:10:54 -04:00
Christophe B Billheimer
622464ff5e
fix error message for _get_zone_id
2021-09-12 13:49:31 -04:00
Christophe B Billheimer
b45a44e405
fix formatting
2021-09-12 13:33:55 -04:00
Christophe B Billheimer
a196958bd6
add check when getting zone id
2021-09-12 13:13:55 -04:00
Christophe B Billheimer
f101418658
change _url -> url
2021-09-12 13:03:54 -04:00
Christophe B Billheimer
aa05a1e81d
make sure _url gets set where it is needed
2021-09-12 13:00:03 -04:00
Christophe B Billheimer
384bc62f25
make _get_zone_id usage consistent
2021-09-12 12:54:42 -04:00
Christophe B Billheimer
46e62f1a9a
fix typo
2021-09-12 12:50:03 -04:00
Christophe B Billheimer
c5c2014081
add _get_zone_id to dns_1984hosting_rm to get the zone id
2021-09-12 12:48:27 -04:00
Christophe B Billheimer
c668c603cc
add Referer and X-CSRFToken HTTP headers
2021-09-12 12:45:06 -04:00
Christophe B Billheimer
8f3b7c179e
put cookies into a format that the 1984 Hosting website expects
2021-09-12 12:37:56 -04:00
Christophe B Billheimer
ea18c47011
move getting zone id code into its own function
2021-09-12 12:35:20 -04:00
Christophe B Billheimer
ced7110a78
remove -o option from grep and use _egrep_o instead
2021-09-10 08:49:38 -04:00
Christophe B Billheimer
92f13eb8bf
get both the CSRF token and session ID cookies, as they are both needed for login now
2021-09-10 08:02:13 -04:00
Christophe B Billheimer
1312ef7e50
simplify One984HOSTING_COOKIE grep
2021-09-10 07:25:18 -04:00
Christophe B Billheimer
e992979113
Merge branch 'master' of github.com:DerVerruckteFuchs/acme.sh into 1984-hosting-cookie-fix
2021-09-08 22:49:24 -04:00
Christophe B Billheimer
d317b49940
use head instead of tail so that the sessionid cookie gets set correctly
2021-09-08 22:48:43 -04:00
neil
a438c841e1
Merge pull request #3542 from DerVerruckteFuchs/_get_root()-fix
...
fix _get_root() so that it successfully gets the root domain
2021-06-09 17:50:54 +08:00
DerVerruckteFuchs
d9af496b13
Merge branch 'dev' into _get_root()-fix
2021-06-05 23:20:01 -04:00
Christophe B Billheimer
a55cf40b1b
fix _get_root() so that it successfully gets the root domain
2021-06-05 23:06:28 -04:00
Christophe B Billheimer
b19008d1b8
fix dns_1984hosting_add() so checks for HTML responses are actually find HTML responses
2021-06-05 22:38:45 -04:00
neil
d154118600
fix bug
2021-06-01 22:21:17 +08:00
neil
c2273d2c8e
add debug info
2021-06-01 22:15:53 +08:00
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()
2021-05-31 15:24:41 -04:00
Adrian Fedoreanu
5dbfc2786d
fix dnsapi/dns_1984hosting
2020-10-19 22:29:16 +02:00
Adrian Fedoreanu
6a0ed51f5e
replace response equals with contains
2020-07-24 16:28:34 +02:00
DerVerruckteFuchs
025da92450
Handle case insensitivity for HTTP/1.1 headers.
2020-05-26 02:00:05 -04:00
DerVerruckteFuchs
0ab14399ae
Fix broken grep so that One984HOSTING_COOKIE actually gets set, and isn't left empty.
2020-05-25 12:04:26 -04:00
Adrian Fedoreanu
eef9a60037
add dns_1984hosting dns api
2020-04-10 23:34:00 +02:00