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>
31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
{% extends "admin/base.html" %}
|
|
|
|
{% block title %}Settings - StarPunk Admin{% endblock %}
|
|
|
|
{% block admin_content %}
|
|
<div class="settings-admin">
|
|
<h2>Settings</h2>
|
|
|
|
{# Notifications (v2.14.0, ADR-074; moved here in v2.18.0) #}
|
|
<section class="notify-status">
|
|
<h3>Notifications</h3>
|
|
{% if notify.enabled %}
|
|
<p>Sending {{ notify.events|join(', ') }} to {{ notify.services|join(', ') }} at {{ notify.priority }} priority.</p>
|
|
{% if notify.last_error %}<p class="flash flash-error">Last send failed: {{ notify.last_error }}</p>{% endif %}
|
|
<form method="POST" action="{{ url_for('admin.notifications_test') }}"><input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
<button type="submit" class="button">Send test notification</button>
|
|
</form>
|
|
{% else %}
|
|
<p>Off. Set <code>NOTIFY_URLS</code> to one or more Apprise URLs to be notified of new responses.</p>
|
|
{% endif %}
|
|
</section>
|
|
|
|
{# Outgoing webmentions (v2.18.3) #}
|
|
<section>
|
|
<h3>Webmentions</h3>
|
|
<p>Never sent to: {% for h in skip_hosts %}<code>{{ h }}</code>{{ ", " if not loop.last }}{% endfor %}.
|
|
This site is always skipped; add others with <code>WEBMENTION_SKIP_HOSTS</code>.</p>
|
|
</section>
|
|
</div>
|
|
{% endblock %}
|