From 779d10051556242ba1e70b70f6c6e8f1158e861d Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 22 Nov 2026 11:11:23 +0100 Subject: feat(receiver)!: enrich digest notification emails Render plain-text digests with source, target, per-Webmention detail links, and a filtered dashboard link while preserving singular and plural wording. Freeze the notified rows before sending so mentions arriving during delivery are left for the next digest. BREAKING CHANGE: enabling `DIGEST_EMAIL` now requires `SERVER_NAME` so background workers can generate absolute administration URLs. --- contrib/webmentions-ssg.example.cfg | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'contrib') diff --git a/contrib/webmentions-ssg.example.cfg b/contrib/webmentions-ssg.example.cfg index 6393b3f..3f3703e 100644 --- a/contrib/webmentions-ssg.example.cfg +++ b/contrib/webmentions-ssg.example.cfg @@ -222,6 +222,12 @@ LOGIN_USERNAME_RATE_LIMIT = "20/minute;100/hour" DIGEST_EMAIL = "admin@example.com" # Daily notification digest at 08:00 UTC (Huey defaults to UTC). DIGEST_SCHEDULE = "0 8 * * *" +# Required when DIGEST_EMAIL is set: the public hostname of the Webmentions SSG +# *admin interface* (not your static site's SITE_BASE_URL). Flask's url_for +# builds the digest's absolute dashboard and details links outside a request. +SERVER_NAME = "webmentions.example.com" +PREFERRED_URL_SCHEME = "https" +# APPLICATION_ROOT = "/manage" # If the admin is hosted under a path prefix. # --------------------------------------------------------------------------- # Mail (SMTP) -- cgit v1.3.1