diff options
| author | Dennis Fink | 2026-10-25 20:47:14 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-10-25 20:47:14 +0100 |
| commit | a231913ab273f427697f2d27d615b495f6e160bb (patch) | |
| tree | b9d84e3aab3555ec88c648f790f9c31d8a4266a6 /webmentions_ssg/tasks/consumer.py | |
| parent | ae25061b14f8ea713ec7695848421edf84e4f0fc (diff) | |
| download | webmentions-ssg-a231913ab273f427697f2d27d615b495f6e160bb.tar.gz webmentions-ssg-a231913ab273f427697f2d27d615b495f6e160bb.zip | |
feat(receiver): add email notifications for new webmentions
Send an email after a newly received Webmention is successfully
verified, with SMTP delivery configurable through Flask-Mail.
Avoid notifications for resubmissions and manual reverification, and
keep the persisted verification result unchanged if notification
enqueueing fails.
Diffstat (limited to '')
| -rw-r--r-- | webmentions_ssg/tasks/consumer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webmentions_ssg/tasks/consumer.py b/webmentions_ssg/tasks/consumer.py index 0f73529..d71f2fa 100644 --- a/webmentions_ssg/tasks/consumer.py +++ b/webmentions_ssg/tasks/consumer.py @@ -19,7 +19,7 @@ def create_consumer() -> Huey: """ app = create_app() - from . import receiver, scanner, sender # noqa: F401 + from . import notifications, receiver, scanner, sender # noqa: F401 schedule = crontab( *app.config["WEBMENTIONS_SSG_SCANNER_SCHEDULE"].split(), strict=True |
