Hao Guan
5e5ba11601
Add iOS Bark notify hook.
3 years ago
neil
640c7c5fa3
Merge pull request #3798 from Scre13/patch_mail_sh
...
removed -- at beginning of subject
3 years ago
neil
eb6395a62c
Update mail.sh
3 years ago
Scre13
2b2845aa07
removed -- at beginning of subject
3 years ago
neil
54d8c66f3e
Merge pull request #3797 from Scre13/patch_lf_mime_version
...
Removed newline at the end of subject, added MIME-Version header
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
cirow
cd6698c688
Merge branch 'acmesh-official:dev' into dev
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
neil
ec0538d251
Merge pull request #3455 from ecm75/notify_fix
...
fix _exists error message if MAIL_BIN env variable is not set
4 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
afe6f4030e
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
6e49c4ffe0
Prefer Python to curl when both available
4 years ago
medmunds
28d9f00610
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
8f688e5e13
Add Date email header in Python implementation
4 years ago
medmunds
5a182eddbf
Clarify _readaccountconf_mutable_default
4 years ago
medmunds
4b615cb3a9
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
b36247a091
Implement _rfc2822_date helper
4 years ago
medmunds
6e77756d6a
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
6ff75f9a9f
Use PROJECT_NAME and VER for X-Mailer header
...
Also add X-Mailer header to Python version
4 years ago
medmunds
ffe7ef4764
More than one blank line is an abomination, apparently
...
I will not try to use whitespace to group code visually
4 years ago
medmunds
30dae70e2b
Implement curl version of smtp notify-hook
4 years ago
medmunds
557a747d55
Prep for curl or Python; clean up SMTP_* variable usage
4 years ago
medmunds
fe273b3829
Add instructions for reporting bugs
4 years ago
medmunds
2439bb30e8
Only save config if send is successful
4 years ago
medmunds
e48b6bd22d
Make shfmt happy
...
(I'm open to better ways of formatting the heredoc
that embeds the Python script.)
4 years ago
medmunds
1de9ffacb0
Implement smtp notify hook
...
Support notifications via direct SMTP server connection.
Uses Python (2.7.x or 3.4+) to communicate with SMTP server.
4 years ago
Mike Beattie
584cc6de2e
Avoid usage of sed -e
4 years ago
Mike Beattie
2e5a6e21cf
Correct shebang
4 years ago
Mike Beattie
10de4b6b7b
Add Telegram notification script
...
Requires:
- API Token for a bot created with the Telegram Bot Father.
- A Chat ID for a user/group that the bot has permission to post to.
4 years ago
neil
19c4345162
fix shfmt
4 years ago
Honza Hommer
99793bb2c4
chore: remove shellcheck disable
5 years ago
Honza Hommer
24925a1739
feat: add default colors
5 years ago
Honza Hommer
74cdcde449
fix: remove :xdigit:
5 years ago
Honza Hommer
a9c4b8dd1a
feat: Microsoft Teams notify
5 years ago