fix: don't send webmentions to this site or WEBMENTION_SKIP_HOSTS (v2.18.3)
Links to the site itself, and to self-hosted apps like Gitea, timed out from inside the container and sat in the admin Log. They are now skipped when queueing; already queued or failed ones are dropped at worker start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
52ecf0f713
commit
b9e5321df2
10 files changed
+223
-5
No files matched your search
@@ -728,7 +728,10 @@ def _notify_status() -> dict:
|
||||
@require_auth
|
||||
def settings():
|
||||
"""Site settings: notifications (v2.18.0). Template: templates/admin/settings.html"""
|
||||
return render_template("admin/settings.html", notify=_notify_status(), user_me=g.me)
|
||||
from starpunk.webmention_sender import skipped_hosts
|
||||
|
||||
return render_template("admin/settings.html", notify=_notify_status(), user_me=g.me,
|
||||
skip_hosts=sorted(skipped_hosts(current_app.config)))
|
||||
|
||||
|
||||
@bp.route("/log")
|
||||
|
||||
Reference in new issue
Block a user