Commit Graph

5536 Commits (0fa20da990243d619e87f623601e5fdf60b1010c)
 

Author SHA1 Message Date
WhiteAls 0fa20da990 Little optimisations and fixes.
- Removed or moved `_normalizeJson` processing to occur only when needed.
- Corrected usage of `_red` to `__red`.
- Simplified JSON parsing by using more concise `cut` commands.
- Simplify token refresh logic.
5 months ago
WhiteAls 1700f064b3 Fix: Support for IDN 6 months ago
WhiteAls 2f08bd1965 Refactor: Improve Yandex360 DNS API integration:
- Make YANDEX360_ORG_ID optional and auto-retrieve if not provided.
- Refactor _get_root function to search across multiple organizations.
6 months ago
WhiteAls 13c68cd799 Refactor: Rename _check_yandex360_variables to _check_variables and improve error handling 6 months ago
WhiteAls c7d78f4594 Fix: Corrected the entry point for Yandex 360 API 6 months ago
WhiteAls 2f1ca949f0 Fix: Make record_id extraction independent of JSON key order 6 months ago
WhiteAls a6488ff9ac Optimizing debug output 6 months ago
WhiteAls 7ca861805d Fixed incorrect links in informational messages 6 months ago
WhiteAls f84577bcda Support for the Yandex 360 for Business DNS API 7 months ago
WhiteAls 37f9fd3498 The old Yandex DNS API was discontinued #4555 7 months ago
neil 11aef82993
Merge pull request #5139 from scruel/scruel-patch-1
feat: guide user to run script as root to create temp admin user
7 months ago
neil 9861e2d724
Merge pull request #5212 from allddd/dns_porkbun_grep_fix
dns_porkbun: remove stray backslashes
7 months ago
allddd 7ae0d0caa3 dns_porkbun: remove stray backslashes 7 months ago
neil 93d2c9a3f0
Merge pull request #5207 from scruel/patch-5
fix(deploy): respect api path with synology Auth API
7 months ago
Scruel Tao 60569fdd83
fix(deploy): respect api path with synology Auth API
fix #5184
7 months ago
neil 0f61e9c15e
Merge pull request #5206 from acmesh-official/dev
sync
7 months ago
neil d81fc155cb add timeout for _getRepoHash
https://github.com/acmesh-official/acme.sh/issues/5200
7 months ago
neil 60f7750d77
Merge pull request #4896 from vladh/master
Improve grammar
7 months ago
Vlad-Stefan Harbuz 9bdfd8f4fe Improve grammar 7 months ago
neil 65868ab8a7 remove centos 7 months ago
neil 0d93145834
Merge pull request #5133 from mdmower/ext-key-usage
feat: Support manually defining extended key usage in CSR
7 months ago
neil fe4113d623 add PROJECT_API for
https://github.com/acmesh-official/acme.sh/issues/5170
8 months ago
neil 9a0e15cced
Merge pull request #5159 from themarek/dev
improve compatibility with FreeBSD
8 months ago
Marek Wester e0c63d58b2 improve compatibility with FreeBSD
it is related to this bug report: opnsense/plugins#3525

FreeBSD's sed doesn't have the -z option, so empty certificates are delivered to vault when running the script on FreeBSD.
8 months ago
neil f7f8ea9b97
Merge pull request #5110 from ionos-cloud/add_ionos_cloud_script
Feature: DNS API for IONOS cloud
8 months ago
neil 58cad98cd8
Merge pull request #5041 from j-c-m/ksh_openbsd_porkbun_fix
Quote echo $data in _porkbun_rest (dns_porkbun)
8 months ago
zak905 74ffbb2172
fix forgotten parenthensis 8 months ago
zak905 cc9c85cc1a
use lower_case util function instead of raw bash command 8 months ago
neil a8f252e45d
Merge pull request #5057 from phedoreanu/dev
dns_1984.hosting - update _get_root check
8 months ago
neil f7e09af5c9
Merge pull request #4738 from stokito/dns_api_info
Structured DNS provider API info
9 months ago
neil 304cb56337
Merge pull request #4929 from jeromecst/master
Add notification support for ntfy.sh
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
zak905 2797d2c535
fix add and rm method names 9 months ago
zak905 f440656572
create new script for ionos cloud and rollback changes to dns_ionos.sh 9 months ago
Scruel Tao 1dbc58d4e0
chore: optimize more msgs 9 months ago
Scruel Tao 47ccb28482
chore: typo 9 months ago
Scruel Tao 744dea00ca
feat: guide user to run script as root to create temp admin user
Message text and comment optimized
9 months ago
zak905 373c2b379c
remove debug print statements and usage of custom fork of acmetest 9 months ago
Matt Mower 957bbab440 feat: Support manually defining extended key usage in CSR
- New CLI param: --extended-key-usage <string>
- When --extended-key-usage is defined:
  1. Set [v3_req]extendedKeyUsage to the provided value.
  2. Store the value in domain conf Le_ExtKeyUse for reuse.
9 months ago
neil bd48c99383 fix ca names 9 months ago
zak905 52d1d421a3
escape brackets in regexp and format using shfmt 9 months ago
zak905 c3cc13595d
use posix compliant lower case shell command 9 months ago
zak905 adc8031e34
fix shell linter and formating 9 months ago
zak905 0974c74a89 transform record name to lower case when searching for TXT record 9 months ago
zak905 c64aae6f39 more debugging - add function argument printing 9 months ago
zak905 b7b1714637 add some debug statements 9 months ago
zak905 d8525493a1 attempt to use custom fork of acmetest 9 months ago
zak905 30d0945855 fix regexp for findind acme challenge record from API response 9 months ago
zak905 ffde1f8343 linting based on ShellCheck results 9 months ago
zak905 96c35b41ed fix TXT record lookup and removal 9 months ago