Steven Zhu
dd958872a8
Fix SES region variable
The last version do not save the SES region into the config file, breaking the notification hook.
1 year ago
Steven Zhu
a6b5f0c9d4
Fix variable naming to make the access key and secret key consistent with Route53.
1 year ago
Steven Zhu
8d136c6a25
Add newline at end of file to satisfy shfmt's "extra line" error
1 year ago
Steven Zhu
4d94270cde
Add newline at end of file to satisfy shfmt's "No newline at end of file" error
1 year ago
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)
1 year ago
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;`
2 years ago
Grigory Starinkin
d8a4e47a13
disable "$response is referenced but not assigned" warning
the variable is assigned by the `_post` call
2 years ago
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.
2 years ago
Sandeep Mittal
9aaae24583
Update callmebotWhatsApp.sh
unused variable removed and cleaned.
3 years ago
neil
915ced7b92
Update callmebotWhatsApp.sh
3 years ago
neil
5a36b9075f
Update callmebotWhatsApp.sh
3 years ago
Sandeep Mittal
b5a7f46ecc
Update callmebotWhatsApp.sh
variable updated to caps
3 years ago
neil
4381657c5e
Update callmebotWhatsApp.sh
3 years ago
Sandeep Mittal
d440b2f2b2
Update callmebotWhatsApp.sh
Added CallMeBot API for WhatsApp Notifications.
3 years ago
Sandeep Mittal
5b42aea9e7
Create callmebotWhatsApp.sh
3 years ago
neil
97a45e3b02
Update discord.sh
3 years ago
neil
451b290b79
Update discord.sh
3 years ago
bosong
b209f66654
fix(notify):remove nofity,move weixin_work.sh to notify
3 years ago
Victor R. Santos
61c853a3c1
Add Gotify notification ( #3759 )
3 years ago
Hao Guan
5e5ba11601
Add iOS Bark notify hook.
3 years ago
neil
eb6395a62c
Update mail.sh
3 years ago
Scre13
2b2845aa07
removed -- at beginning of subject
3 years ago
neil
95bbf1b190
Update mail.sh
3 years ago
Scre13
ee2dab51f3
removed newline at the end of subject, added MIME-Version header
3 years ago
neil
e8756482aa
Update feishu.sh
3 years ago
jearton
35d6da785b
add support for feishu notification
3 years ago
neil
f2958818c8
Update pushbullet.sh
3 years ago
neil
20f604948f
Update pushbullet.sh
3 years ago
ciro
4a8511f680
fix wrong variable name
3 years ago
ciro
c7ca9d7e36
fix shfmt issues
3 years ago
ciro
98ef51514f
added pushbullet functionality
3 years ago
Steven Zhu
849c3fd9c9
Fix space inconsistency
3 years ago
Steven Zhu
da58fcbfce
Add sender name for SendGrid notify hook
3 years ago
Habetdin
7c7d61f61e
Fix special characters escaping
To escape characters '_', '*', '`', '[' outside of an entity, prepend the characters '\' before them.
3 years ago
Eike-Christian Müller
eb0c629fad
more simple mail.sh fix
Reverted the original patch and changed it to the obvious simple solution provided by @Neilpang .
4 years ago
Mike Beattie
fb079f9e50
Update telegram.sh
(fix shellcheck failure)
4 years ago
Mike Beattie
39b09f8f87
Dump _post() call output to /dev/null
Signed-off-by: Mike Beattie <mike@ethernal.org>
4 years ago
Mike Beattie
53d26e5c5c
Add debug output of $_data variable to aid diagnosis
Signed-off-by: Mike Beattie <mike@ethernal.org>
4 years ago
Mike Beattie
e21f3e6c73
Escape asterisks in notification content
This messes with markdown parsing
Signed-off-by: Mike Beattie <mike@ethernal.org>
4 years ago
emueller
37e3e2f9c2
fixed formating
4 years ago
emueller
3c7be32ef5
fix _exists error message when MAIL_BIN env variable is not set
4 years ago
medmunds
06f51a5c34
Change default SMTP_SECURE to "tls"
Secure by default. Also try to minimize configuration errors.
(Many ESPs/ISPs require STARTTLS, and most support it.)
4 years ago
medmunds
db96778064
Prefer Python to curl when both available
4 years ago
medmunds
d8918ea156
Use email.policy.default in Python 3 implementation
Improves standards compatibility and utf-8 handling
in Python 3.3-3.8. (email.policy.default becomes the
default in Python 3.9.)
4 years ago
medmunds
3503474bb8
Add Date email header in Python implementation
4 years ago
medmunds
eb1606b086
Clarify _readaccountconf_mutable_default
4 years ago
medmunds
1330a092fa
Clean email headers and warn on unsupported address format
Just in case, make sure CR or NL don't end up in
an email header.
4 years ago
medmunds
d3c74cfb45
Implement _rfc2822_date helper
4 years ago
medmunds
d044545520
Rework read/save config to not save default values
Add and use _readaccountconf_mutable_default and
_saveaccountconf_mutable_default helpers to capture
common default value handling.
New approach also eliminates need for separate
underscore-prefixed version of each conf var.
4 years ago
medmunds
dc8d91ea39
Use PROJECT_NAME and VER for X-Mailer header
Also add X-Mailer header to Python version
4 years ago