From b2b5429bcf008db357d9d65db77ba37f7af908a8 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Wed, 18 Nov 2026 21:13:34 +0100 Subject: feat(sender): add source list filters and sorting Add status, search, date, sorting, and page-size controls to the source list with validated query parameters and stable pagination. Preserve list context across source details, rescans, resends, and pagination, and surface failed and retrying delivery counts with retry deadlines. --- webmentions_ssg/config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'webmentions_ssg/config.py') diff --git a/webmentions_ssg/config.py b/webmentions_ssg/config.py index be54989..3d05e5d 100644 --- a/webmentions_ssg/config.py +++ b/webmentions_ssg/config.py @@ -91,6 +91,8 @@ class DefaultConfig: RECEIVED_RETENTION_DAYS = 30 # Maximum rows that an admin can request per received Webmentions page. RECEIVED_MAX_PAGE_SIZE = 100 + # Maximum rows that an admin can request per source document page. + SOURCES_MAX_PAGE_SIZE = 100 RECEIVED_RETENTION_SCHEDULE = "0 3 * * *" # Scanner @@ -246,6 +248,7 @@ def validated_config_overrides( "MAX_WEBMENTION_URL_BYTES", "RECEIVED_RETENTION_DAYS", "RECEIVED_MAX_PAGE_SIZE", + "SOURCES_MAX_PAGE_SIZE", ): value = config[key] if type(value) is not int or value <= 0: -- cgit v1.3.1