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
Ian Epperson
748cb28017
Add Discord notification
5 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
Honza Hommer
2a8746f6b0
Feat: add msmtp command
5 years ago
Honza Hommer
15b841da06
Feat: simplify conditions for bin and command
5 years ago
Victor Huang
5d88ad554f
Improved token processing method and misc bugfixes
...
Replace '_err' to '_debug' in the final error report.
Removed redundancy code.
5 years ago
Victor Huang
33670a5bd0
CQHTTP: Change shebang to "/usr/bin/env sh"
5 years ago
Victor Huang
64f8a222cb
Add support for CQHTTP QQ bot API
5 years ago
Vitalii Tverdokhlib
f1f14040b8
DOCS: typo
5 years ago
neilpang
35b34c43ed
fix format
5 years ago
neilpang
5698bec621
fix https://github.com/Neilpang/acme.sh/issues/2566
5 years ago
fgma
b9994e52eb
Notify xmpp ( #2407 )
...
* notify via xmpp (using sendxmpp)
* fix formatting in notify/xmpp.sh
* minor cleanup
5 years ago
neilpang
143eac092c
fix notify message
5 years ago
lcdtyph
d74dfb1f5c
IFTTT Webhooks Notification ( #2416 )
...
* IFTTT webhooks Notification
* use sh instead of bash
* don't save value that is not set
5 years ago
neilpang
80af3d6ada
minor
5 years ago
neilpang
28c153a0a2
fix errors
5 years ago
tdk1069
b8e6287774
PushOver notifications ( #2325 )
...
* PushOver notifications, using AppToken, UserKey, and optional sounds
5 years ago
Honza Hommer
51099bf148
Add postmark notify
6 years ago
neil
09bce5e6d6
sync ( #2297 )
...
* Create LICENSE.md
* remove _hostingde_parse_no_strip_whitespace function as this breaks API requests
* Fix sessionid parsing on BSD
* Make travis happy. (SC2020)
* fix for https://github.com/Neilpang/acme.sh/issues/2286
* Notify mail update (#2293 )
* feat: disable e-mail validation if MAIL_NOVALIDATE is set
* fix: expose _MAIL_BIN variable
* fix: call _mail_body and _mail_cmnd directly to make sure that all used variables are exposed
* fix: update notify/mail.sh
Co-Authored-By: Matej Mihevc <zuexo@users.noreply.github.com>
* fix: remove useless echo, quote eval
6 years ago
neil
6a929d6a1a
Merge pull request #2264 from honzahommer/notify-slack
...
Add slack notify
6 years ago
neil
ae380cb21e
Merge pull request #2259 from honzahommer/notify-sendmail
...
Add mail notify
6 years ago
Honza Hommer
d83c9da830
add clearaccountconf MAIL_BIN
6 years ago
Honza Hommer
9a7c9e8d98
remove unset
6 years ago
Honza Hommer
73bbe25d26
add slack notify
6 years ago
Honza Hommer
fc5e3a0aec
remove echo command
6 years ago
Honza Hommer
7625d66259
wip
6 years ago
Honza Hommer
30f2c2bd77
prevent _MAIL_BIN modification
6 years ago
Honza Hommer
e3052c8c57
expose MAIL_BIN variable
6 years ago
Honza Hommer
7b6ebc5c98
try to use ACCOUNT_MAIL if MAIL_FROM is not set
6 years ago
Honza Hommer
d509ef7581
make MAIL_FROM not required
6 years ago
Honza Hommer
d180f01b45
typos
6 years ago
Honza Hommer
91c09dd0a0
ssmtp
6 years ago
Honza Hommer
f6ca92337b
remove unsupported options from mail and mutt command
6 years ago
Honza Hommer
10801bfb25
use mutt if installed
6 years ago
Honza Hommer
a89a62071b
cleanup, lint
6 years ago
Honza Hommer
f6f6d89e06
move sendmail notify to mail notify
6 years ago
neilpang
a4b83895a3
fix https://github.com/Neilpang/acme.sh/issues/2258
6 years ago
Honza Hommer
4f03548608
typos
6 years ago
Honza Hommer
773e1d4e05
use hostname function instead of HOSTNAME env variable
6 years ago
Honza Hommer
d9ef8c1779
add sendmail notify
6 years ago
neilpang
83768f0531
reduce info message
6 years ago
neil
b50e701cae
Add notification ( #2241 )
...
* add cron notify
* fix format
* fix format
6 years ago