aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/migrations (follow)
Commit message (Collapse)AuthorAge
* refactor(receiver): map received status to enumDennis Fink9 days
| | | | | | | | | Store `ReceivedWebmention.status` as a non-native SQLAlchemy enum so model values round-trip as `ReceivedStatus` while remaining portable across database backends. Add a migration that preserves existing text statuses and coverage for upgrades and enum persistence.
* chore(core): enforce Ruff docstring spacingDennis Fink9 days
| | | | | | Enable additional Ruff docstring checks for summary separation and closing quotes, then normalize migration and application docstrings to satisfy the new rules.
* refactor(core): split modules by responsibilityDennis Fink10 days
| | | | | | | | Break up monolithic views, task helpers, networking, CLI, and application extension setup so each module owns a focused concern. Reorganize the test suite around the new boundaries while preserving existing Webmention behavior and coverage.
* fix(receiver): prevent endless verification recoveryDennis Fink2026-10-31
| | | | | | | | Cap stale verification requeues so repeatedly lost or crashing tasks eventually become terminal failures instead of cycling indefinitely. Reject URLs that httpx cannot safely fetch before enqueueing, and persist unexpected verification errors as terminal failures.
* feat(receiver): add resource limits and retentionDennis Fink2026-10-31
| | | | | | | | Bound incoming request and URL sizes so untrusted Webmention submissions cannot consume unbounded application or database resources. Purge old failed and deleted received Webmentions on a schedule, and use portable SHA-256 URL fingerprints to preserve uniqueness for long URLs.
* fix(receiver): recover stale Webmention verificationsDennis Fink2026-10-30
| | | | | | | | | Add a periodic recovery sweep for Webmentions left in received or verifying states after worker crashes, lost queue entries, or interrupted processing. Use atomic lease-style updates so stale workers cannot overwrite newer results, and index verification state for efficient recovery scans.
* feat(sender): add persistent retry backoffDennis Fink2026-10-30
| | | | | | | | | | Persist retry state per source revision so temporary delivery failures survive worker restarts and duplicate queued tasks cannot bypass the retry schedule. Use capped exponential backoff, stop after a configurable attempt limit, and reset the retry budget when a source changes or an admin resends manually.
* feat(receiver): send Webmention notification digestsDennis Fink2026-10-29
| | | | | | | | | Batch verified Webmention notifications into a scheduled digest so bursts of incoming mentions do not generate a separate email for every verification. Track which mentions have already been reported and leave them pending when SMTP delivery fails so a later digest can retry safely.
* feat(core): add database CLIDennis Fink2026-10-27
Make database initialization and upgrades explicit so new installations cannot silently modify an existing or unversioned schema. Keep Flask-Migrate commands available separately and package the migration environment with the application for reliable deployment.