diff options
| author | Dennis Fink | 2026-11-15 21:18:19 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-15 21:18:19 +0100 |
| commit | 9b00526ab79257b65cedd71595848f09ecf84279 (patch) | |
| tree | f9dfc5c0934499d47499bf083bd864f72947958c /webmentions_ssg/templates | |
| parent | 509d93b2976e353d29441a7a7b7e78ca466dc4fd (diff) | |
| download | webmentions-ssg-9b00526ab79257b65cedd71595848f09ecf84279.tar.gz webmentions-ssg-9b00526ab79257b65cedd71595848f09ecf84279.zip | |
refactor(core)!: clarify Webmention domain terminology
Rename ambiguous models, statuses, task modules, fields, and helpers so
names reflect source documents, verification, endpoint discovery, and
delivery state.
Migrate persisted status values and database identifiers without losing
existing Webmention data.
BREAKING CHANGE: persisted status values and database schema names have
changed, and several public Python names have been renamed.
Diffstat (limited to '')
| -rw-r--r-- | webmentions_ssg/templates/received.html | 2 | ||||
| -rw-r--r-- | webmentions_ssg/templates/sent_source.html | 12 | ||||
| -rw-r--r-- | webmentions_ssg/templates/status.html | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/webmentions_ssg/templates/received.html b/webmentions_ssg/templates/received.html index f00a5f9..f94d104 100644 --- a/webmentions_ssg/templates/received.html +++ b/webmentions_ssg/templates/received.html @@ -27,7 +27,7 @@ SPDX-License-Identifier: BSD-3-Clause "badge_class": "text-bg-danger", "label": "Declined" }, - "deleted": { + "source_removed": { "row_class": "table-danger", "badge_class": "text-bg-danger", "label": "Declined" diff --git a/webmentions_ssg/templates/sent_source.html b/webmentions_ssg/templates/sent_source.html index 31d5c81..2b7a377 100644 --- a/webmentions_ssg/templates/sent_source.html +++ b/webmentions_ssg/templates/sent_source.html @@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-3-Clause "badge_class": "text-bg-success", "label": "Sent" }, - "unsupported": { + "no_endpoint": { "row_class": "table-warning", "badge_class": "text-bg-warning", "label": "Unsupported" @@ -114,7 +114,7 @@ SPDX-License-Identifier: BSD-3-Clause {% endif %} </td> <td> - {% if webmention.active %} + {% if webmention.linked %} <span class="badge text-bg-success">Active</span> {% else %} <span class="badge text-bg-danger">Removed</span> @@ -139,16 +139,16 @@ SPDX-License-Identifier: BSD-3-Clause </div> </td> <td class="small"> - {% if webmention.endpoint is not none %} + {% if webmention.webmention_endpoint is not none %} <div class="mb-1"> <strong>Endpoint:</strong> - <a href="{{ webmention.endpoint }}" class="text-break">{{ webmention.endpoint }}</a> + <a href="{{ webmention.webmention_endpoint }}" class="text-break">{{ webmention.webmention_endpoint }}</a> </div> {% endif %} - {% if webmention.response_status is not none %} + {% if webmention.endpoint_response_status is not none %} <div class="mb-1"> <strong>HTTP:</strong> - {{ webmention.response_status }} + {{ webmention.endpoint_response_status }} </div> {% endif %} {% if webmention.status_url is not none %} diff --git a/webmentions_ssg/templates/status.html b/webmentions_ssg/templates/status.html index 2db2741..a9a39b4 100644 --- a/webmentions_ssg/templates/status.html +++ b/webmentions_ssg/templates/status.html @@ -16,7 +16,7 @@ SPDX-License-Identifier: BSD-3-Clause {% elif webmention.status in ("received", "verifying") %} <div class="text-warning mb-3">{{ render_icon("hourglass-split", size="5rem", title="Verification pending") }}</div> <h1 class="h3">Webmention verification pending</h1> - {% elif webmention.status == "deleted" %} + {% elif webmention.status == "source_removed" %} <div class="text-danger mb-3">{{ render_icon("x-circle-fill", size="5rem", title="Not verified") }}</div> <h1 class="h3">Webmention not verified</h1> {% elif webmention.status == "failed" %} |
