aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/config.py
diff options
context:
space:
mode:
authorDennis Fink2026-11-18 21:13:34 +0100
committerDennis Fink2026-11-18 21:13:34 +0100
commitb2b5429bcf008db357d9d65db77ba37f7af908a8 (patch)
treeed913ee050817609b56d2f5515b2c3fbc9945a75 /webmentions_ssg/config.py
parentbeb0131b089293512c2dab2243b9b2ff314e2387 (diff)
downloadwebmentions-ssg-b2b5429bcf008db357d9d65db77ba37f7af908a8.tar.gz
webmentions-ssg-b2b5429bcf008db357d9d65db77ba37f7af908a8.zip
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.
Diffstat (limited to '')
-rw-r--r--webmentions_ssg/config.py3
1 files changed, 3 insertions, 0 deletions
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: