Michiel Scholten
472c9ed3de
Set subject for notification about new comment, subject should not be empty ( #589 )
5 years ago
Chris Warrick
22abbcdbb4
Include user e-mails in admin notifications only
...
Fixes #533 .
6 years ago
Jelmer Vernooij
161f2dfa20
Revert "Removes potential '//' from email links ( #420 )"
...
It breaks some installations. See https://github.com/posativ/isso/issues/523
This reverts commit 1a3f803b96
.
6 years ago
Samuel FORESTIER
1a3f803b96
Removes potential '//' from email links ( #420 )
...
If the user specifies a public endpoint as `http[s]://comments.exemple.com/` in configuration, the trailing slash will involve a `//` in the generated email links.
6 years ago
Florian Latifi
c5311e1d7d
Properly handle to field in mail notifications when using uWSGI spooler
...
This commit fixes an error occuring when isso sends out mail
notifications via the uWSGI spooler.
6 years ago
Jelmer Vernooij
63cc15a962
Fix current flakes.
6 years ago
Pelle Nilsson
1dd95d5aad
New setting general.reply-notifications
6 years ago
Pelle Nilsson
171fcfab72
Postpone notifications to users until comment has been approved by moderator
6 years ago
Pelle Nilsson
9b2a56e467
Introduce public-endpoint setting
6 years ago
Pelle Nilsson
0063fd6e88
Make unsubscribe work with notifications for replies
6 years ago
Pelle Nilsson
f6f61c547a
Merge remote-tracking branch 'posativ/master' into reply_notification
...
Conflicts:
isso/css/isso.css
isso/ext/notifications.py
isso/js/app/text/postbox.jade
isso/views/comments.py
7 years ago
Pelle Nilsson
36d4ceb2d9
Don't send notification when someone responds to his/her own comment
7 years ago
Pelle Nilsson
22a36bdb7c
Support notifications also for replies
7 years ago
Pelle Nilsson
da6bb0cec7
Fix faulty check for parent comment
7 years ago
Yuchen Pei
73c7933548
A quick dirty fix of #401 ( #406 )
...
Fix URL in moderation mails if isso runs in a sub-URL (closes #401 )
7 years ago
Pelle Nilsson
c9045f5b1f
Implement opt-out for email notifications
7 years ago
Pelle Nilsson
bc4bc55025
Include link to comment in email notifications
7 years ago
Pelle Nilsson
2e85ec653f
Make SMTP connections thread safe
7 years ago
Pelle Nilsson
c30873e8a2
Merge remote-tracking branch 'tsileo/reply_notification' into reply_notification
...
Conflicts:
isso/css/isso.scss
isso/db/comments.py
isso/ext/notifications.py
isso/js/app/i18n/fr.js
isso/js/app/isso.js
isso/js/app/text/postbox.html
isso/views/comments.py
7 years ago
cclauss
7f55c81e08
autopep8 the code and then flake8
7 years ago
Julien Enselme
6973128eac
Correct auth without password or username.
...
If no username is set, returns an empty string. So the test `username is
not None` is always True. Idem for password. This can lead to
authentication problems. This commit fixes the test to `if username and
password` as it was in the previous version.
10 years ago
Martin Zimmermann
630e76f66c
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
isso/ext/notifications.py
isso/utils/http.py
setup.py
10 years ago
Martin Zimmermann
f5566c1325
encode username/password in SMTP auth only for Python 2, fix #146
10 years ago
Martin Zimmermann
aa64b27684
Python 2.7.9 didn't get the context=ssl... backport unfortunately
10 years ago
Martin Zimmermann
f47df75422
use system's CA certificates for Python 2.7.9 or higher to verify TLS connection
10 years ago
Martin Zimmermann
9c2a48b388
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
setup.py
10 years ago
Martin Zimmermann
6a3a9ea114
SMTP authentication uses bytes, not unicode, fixes #126
...
Encode configuration variables as ascii, ignoring non-ascii characters
(Python's smtplib is not yet able to support the UTF8SMTP).
10 years ago
Martin Zimmermann
f489ae63d6
Python3.4 now uses system's CA to connect to SMTP via TLS
10 years ago
Martin Zimmermann
e6fdfb03eb
do not limit From: field to email address-only, closes #87
...
You may now set a full From header, e.g.:
[smtp]
from = Foo Bar <spam@local>
If not, the old name "Ich schrei sonst!" is used.
11 years ago
Martin Zimmermann
5c91a84951
fix uWSGI spooling for Python3
11 years ago
Martin Zimmermann
3b248b293f
set SMTP timeout to 10 seconds and make it configurable, ref 9a735e8
11 years ago
Martin Zimmermann
9a735e8eac
initial SMTP connection now timeouts after 5 seconds, closes #70
11 years ago
Thomas Sileo
a322cf673a
Bugfix
11 years ago
Thomas Sileo
e50ecc7811
Removed debug info
11 years ago
Thomas Sileo
08313c191c
Added reply notification for commenter
11 years ago
Chimo
658e065f23
Adds STARTTLS support to SMTP notifications
11 years ago
Martin Zimmermann
fc984bb656
add Date header, close #42
11 years ago
Martin Zimmermann
ce950259b4
show traceback when smtp connection failed
11 years ago
Martin Zimmermann
63a7df1099
translate deletion and activation links
11 years ago
Martin Zimmermann
17aa3e6fc5
use english text for mail notifications
11 years ago
Martin Zimmermann
6e85c54a2e
refactor views and introduce an API for notifications
...
Keep Isso modular, not monolithic. Make it easy to integrate a
web interface or add XMPP notifications.
This refactorization includes minor bugfixes and changes:
* CORS middleware did not work properly due to wrong unit tests
* more type checks on JSON input
* new detection for origin and public url, closes #28
* new activation and delete url (no redirect for old urls, but you can
convert the old urls: copy hash after `/activate/` (or delete) and
open `/id/<id of comment>/activate/<hash>`
* move crypto.py to utils/
With this commit, SMTP is no longer automatically configured: add
`notify = smtp` to the `[general]` section to use SMTP.
11 years ago