148 Commits
Author SHA1 Message Date
ACHMAD ALIF NASRULLOH 6d559ae69f Add newline at end of waha.sh
Fix missing newline at end of file.
2026-07-16 11:29:39 +07:00
ACHMAD ALIF NASRULLOH 24501ac0ca Merge branch 'dev' into master 2026-07-16 11:27:57 +07:00
Achmad Alif Nasrulloh a82cf763cf fix(notify): remove duplicate Content-Type header in waha hook 2026-07-16 11:23:18 +07:00
ACHMAD ALIF NASRULLOH f5e7e6b225 Merge pull request #7114 from achmadalifn4/master
Add notify waha support
2026-07-12 16:10:21 +08:00
Achmad Alif Nasrulloh d45b6fe8e6 fix(notify): waha: tighten response check 2026-07-12 16:07:33 +08:00
Achmad Alif Nasrulloh 237f2d9c3b Add notify waha support 2026-07-12 16:07:33 +08:00
neil 44c045b056 notify: add the customscript hook
The wiki has documented "21. Set notification for customscript" since
2022 but the implementation (#4193) was never merged, so following the
wiki failed with "Cannot find the hook file". Same interface as
documented: the script gets subject, content and status code as three
arguments. Unlike #4193, the target script is invoked directly instead
of through eval -- the subject/content contain domain names and CA
messages, and eval would allow command injection through them.

https://github.com/acmesh-official/acme.sh/issues/6377
2026-07-12 11:36:45 +08:00
neil 83b52e0cd7 notify/smtp.sh: add --crlf so curl sends CRLF line endings
Postfix with smtpd_forbid_bare_newline (default hardening since 3.9,
after SMTP smuggling) rejects the message with
"521 5.5.2 Error: bare <LF> received". RFC 5321 requires CRLF.
The python sender is unaffected (smtplib already emits CRLF).

fix https://github.com/acmesh-official/acme.sh/issues/7104
2026-07-10 10:38:52 +08:00
neil 934711e51d notify/aws_ses: add container/instance IAM role auth (IMDSv2)
aws_ses_send calls `_use_container_role || _use_instance_role` when no
static AWS keys are set, but those functions were never defined -- only
_use_metadata was -- so role-based auth silently fell through to the
"no api key" error. Add both, using the current IMDSv2-capable versions
from dns_aws.sh, and set the IMDSv2 token header in _use_metadata so the
credential fetch works on IMDSv2-only instances.

Closes #4742
2026-07-05 17:09:51 +08:00
neil ab3093d58c Merge pull request #6472 from UncleVic/master
feat: #6471 add message_thread_id to telegram notifications
2026-02-07 22:11:42 +08:00
neil c21db5c5d5 Change shebang to use env for portability 2026-02-07 22:10:48 +08:00
Jens Spanier 94c670a759 Remove asterisks and line breaks 2026-01-04 11:49:35 +01:00
neil 421946a923 Merge pull request #6589 from de-es/ntfy
Add priority, tags and title to ntfy notification
2025-11-09 18:11:50 +01:00
seagleNet 0fa53d62cb feat: Add notify plugin for opsgenie 2025-11-04 09:35:47 +01:00
Dennis Schmidt 3d21ac4525 CS
Make shfmt happy
2025-10-31 08:41:34 +00:00
Dennis Schmidt 7c5b9a5b92 Add priority, tags and title to ntfy notification
Make the ntfy.sh notifications easier to distinguish at a first glance.
2025-10-31 08:41:34 +00:00
DuolaD a2c2b7ffee Fixed the issue where Telegram bots would not push notifications. 2025-10-18 11:41:26 +08:00
Min Wang 44c7473ef9 fix bug for #6510 2025-09-16 15:09:12 +08:00
Eric Fu e0e3cdc316 Fix sed command in telegram notifier 2025-09-06 22:31:50 +08:00
Viktor Polyakov 45c4a98f1d feat: add message_thread_id to telegram notifications 2025-08-11 16:05:09 +03:00
Sikro 5c7b1cd5f2 add environment variable for notify/telegram.sh
Since the server in mainland China cannot connect to Telegram, add the TELEGRAM_BOT_URLBASE environment variable
Please add the proxy address you set. If this variable is not added, it will be the default value (https://api.telegram.org)
2025-03-23 21:00:34 +01:00
neil fc5e593e2d Merge pull request #6277 from beedaddy/ntfy_token
support NTFY_TOKEN
2025-03-21 20:07:34 +01:00
Martin Brodbeck f1dc79f0b5 support NTFY_TOKEN 2025-03-20 10:13:12 +01:00
metaforget dc8cf0e02e cqhttp notify-hook:Compatibility with QQ Headless Project Napcat 2025-03-03 10:37:38 +08:00
Kirill A. Korinsky 3b8608761b Fix syntax for OpenBSD sh 2024-11-17 20:58:06 +01:00
fazelukario 26c2fc21c8 Moving to MarkdownV2 as the old Markdown is obsolete
- Implemented MarkdownV2 with escape of all necessary characters.
- Ref: https://core.telegram.org/bots/api#markdownv2-style
2024-10-07 05:16:11 +03:00
fazelukario fef74c3bca feat Cross-Platform Compatibility Guide 2024-10-07 03:46:35 +03:00
fazelukario c390f1bfee Escape markdown for subject 2024-10-07 03:34:49 +03:00
neil ea94477cd4 Merge pull request #5229 from tomo2403/master
Update bark.sh
2024-09-15 17:51:52 +02:00
tomo b6f7710621 Update bark.sh
Bark API v2 is now fully implemented. BARK_SOUND is now also optional, as intended by the API.
2024-07-27 14:28:07 +02:00
Joris van den Dries 3cefcd8204 change reference to static value 2024-07-24 15:02:48 +02:00
Joris van den Dries 4cd1871816 Removed obsolete documentation 2024-07-24 12:23:17 +02:00
Joris van den Dries 7aaa9583fa Update teams notify script to support new notification setup using workflows instead of connectors being fased out.
Color support has been dropped since this has no support inside adaptive-card
2024-07-24 12:05:57 +02:00
Jérôme a3612f53dd change shebang to sh 2023-12-26 01:52:16 +01:00
Jérôme 112257c49e Add notification support for ntfy.sh 2023-12-26 01:45:38 +01:00
neil e15513bfdd fix format 2023-10-06 20:05:39 +08:00
neil dbe569c0d9 Merge pull request #4622 from defragatwork/mattermost
Add support for Mattermost notifications (Bot account)
2023-10-06 20:01:50 +08:00
Steven Zhu dd958872a8 Fix SES region variable
The last version do not save the SES region into the config file, breaking the notification hook.
2023-07-14 12:47:44 -04:00
Steven Zhu a6b5f0c9d4 Fix variable naming to make the access key and secret key consistent with Route53. 2023-07-04 22:31:30 -04:00
Steven Zhu 8d136c6a25 Add newline at end of file to satisfy shfmt's "extra line" error 2023-07-04 22:15:53 -04:00
Steven Zhu 4d94270cde Add newline at end of file to satisfy shfmt's "No newline at end of file" error 2023-07-04 22:14:17 -04:00
Steven Zhu e0d96bcb39 Add initial AWS SES support
Copied most of the v4 api stuff from DNS_AWS hook (Thanks!)

New tokens added:
AWS_SES_ACCESS_KEY_ID
AWS_SES_SECRET_ACCESS_KEY
AWS_SES_REGION
AWS_SES_TO
AWS_SES_FROM
AWS_SES_FROM_NAME (Optional)
2023-07-04 21:54:49 -04:00
Alexander Pushkarev bb5f3cc326 Add support for Mattermost notifications. 2023-05-01 23:00:01 +03:00
Chris 1522b713da Use grep -E instead of expr
expr was printing  `expr: warning: '^.*[<>"]': using '^' as the first character of a basic regular expression is not portable;`
2023-02-28 21:08:33 -05:00
Grigory Starinkin d8a4e47a13 disable "$response is referenced but not assigned" warning
the variable is assigned by the `_post` call
2022-07-18 17:20:25 +01:00
Grigory Starinkin bc920949cb Add Slack App notification hook
Slack Incoming webhooks is a legacy custom integration - an outdated
way for teams to integrate with Slack. These integrations lack newer
features and they will be deprecated and possibly removed in the
future. Slack team do not recommend their use. Instead, it's suggested
to use Slack apps.
2022-07-18 10:50:50 +01:00
Sandeep Mittal 9aaae24583 Update callmebotWhatsApp.sh
unused variable removed and cleaned.
2022-05-10 22:22:14 +08:00
neil 915ced7b92 Update callmebotWhatsApp.sh 2022-05-10 22:22:14 +08:00
neil 5a36b9075f Update callmebotWhatsApp.sh 2022-05-10 22:22:14 +08:00
Sandeep Mittal b5a7f46ecc Update callmebotWhatsApp.sh
variable updated to caps
2022-05-10 22:22:13 +08:00