From 67eff0a854da010cb6ecd119d84238ec3e119272 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 9 Aug 2026 14:15:29 +0200 Subject: Implement received Webmention handling Add the Flask application setup, database models and migrations, authentication, and configuration for development and testing. Implement asynchronous Webmention verification with Huey, including HTML and plain-text source validation, retries, status tracking, and size limits. Add status, login, and paginated received-Webmention views together with comprehensive tests for forms, views, and receiver tasks. --- webmentions_ssg/templates/received.html | 69 +++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 webmentions_ssg/templates/received.html (limited to 'webmentions_ssg/templates/received.html') diff --git a/webmentions_ssg/templates/received.html b/webmentions_ssg/templates/received.html new file mode 100644 index 0000000..ea74557 --- /dev/null +++ b/webmentions_ssg/templates/received.html @@ -0,0 +1,69 @@ +{% extends "base.html" %} +{% from "bootstrap5/pagination.html" import render_pagination %} +{% block content %} +
| Status | +Source | +Target | +Received | +Updated | +Reason | +
|---|---|---|---|---|---|
| + {{ display_status }} + | ++ {{ webmention.source }} + | ++ {{ webmention.target }} + | ++ + | ++ + | +{{ webmention.failure_reason or "—" }} | +
No Webmentions have been received yet.
+ {% endif %} +{% endblock %} -- cgit v1.3.1