From 6d6d079a3a99d3d3a922a640b6925eb2adf044de Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Tue, 17 Nov 2026 17:09:59 +0100 Subject: refactor(core)!: split forms and models by feature Replace monolithic form and model modules with focused packages for receiver, moderation, source, user, and shared validation concerns. Rename source policy concepts to domain moderation, including routes, models, tables, configuration, templates, and tests. BREAKING CHANGE: form and model import paths, moderation routes, and `SOURCE_ALLOWLIST_ENABLED` have changed; use `ALLOWLIST_ENABLED` and the new feature-specific modules. --- contrib/webmentions-ssg.example.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib/webmentions-ssg.example.cfg') diff --git a/contrib/webmentions-ssg.example.cfg b/contrib/webmentions-ssg.example.cfg index 882c86d..9be2cf0 100644 --- a/contrib/webmentions-ssg.example.cfg +++ b/contrib/webmentions-ssg.example.cfg @@ -95,12 +95,12 @@ MAX_REDIRECTS = 20 # also used for outgoing requests # Webmention. Include each hostname you serve; wildcards are not supported. ALLOWED_TARGET_HOSTNAMES = {"example.com", "www.example.com"} -# Optional source allowlist mode. By default, every valid public source is +# Optional allowlist mode. By default, every valid public source is # accepted unless its hostname appears in the admin-managed blocklist. # When enabled, a source must match an allowed domain; blocked entries always -# override allowed entries. Manage both lists in the authenticated "Source rules" +# override allowed entries. Manage both lists in the authenticated "Moderation" # page. Entries include subdomains; an empty allowlist rejects all sources. -SOURCE_ALLOWLIST_ENABLED = False +ALLOWLIST_ENABLED = False # Maximum size of an incoming HTTP request body, including form encoding. This # global Flask limit also applies to login and administration routes. -- cgit v1.3.1