Changeset f5c3870 in Klonkt for src/views/pages


Ignore:
Timestamp:
06/24/2026 04:08:34 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
19a72df
Parents:
d0cab9d
Message:

feat(fediverse-client): block/defederate accounts & domains

Block an @handle or a whole domain (/blokkeren + 🚫 on timeline items): their
inbound activities are silently dropped (202) and their stored content is purged.
New ap_blocks table + isBlockedAny gate in the inbox. Top-bar bell now points to
the fediverse /meldingen (gated to site managers via canManageFedi) instead of the
dead native notifications.

Co-Authored-By: Claude <noreply@…>

Location:
src/views/pages
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin.ejs

    rd0cab9d rf5c3870  
    5959    <a href="/tijdlijn" class="btn">🌐 <%= t('tl.title') %></a>
    6060    <a href="/meldingen" class="btn">🔔 <%= t('notif.title') %></a>
     61    <a href="/blokkeren" class="btn">🚫 <%= t('blk.title') %></a>
    6162    <a href="/admin/updates" class="btn"><%= t('admin.b_updates') %></a>
    6263    <a href="/admin/handleiding" class="btn"><%= t('admin.b_help') %></a>
  • src/views/pages/timeline.ejs

    rd0cab9d rf5c3870  
    4949              <form method="post" action="/tijdlijn/boost" class="tl-act-form"><input type="hidden" name="note" value="<%= p.id %>"><input type="hidden" name="author" value="<%= p.author_uri %>"><button type="submit" class="tl-act" title="<%= t('fedi.boosts') %>">🔁</button></form>
    5050              <button type="button" class="tl-act fedi-remote-reply-btn" data-fedi-uri="<%= p.id %>" data-fedi-ph="<%= t('fedi.remote_ph') %>" title="<%= t('fedi.remote_reply') %>">↩</button>
     51              <form method="post" action="/blokkeren/add" class="tl-act-form" onsubmit="return confirm('<%= t('tl.block') %>?');"><input type="hidden" name="target" value="<%= p.author_uri %>"><button type="submit" class="tl-act" title="<%= t('tl.block') %>">🚫</button></form>
    5152            </div>
    5253          </div>
Note: See TracChangeset for help on using the changeset viewer.