Manage followers from the API and web UI (phase 2, step 6)
CI / validate-monitoring (push) Successful in 7s
CI / lint (push) Successful in 11s
CI / test (push) Successful in 2m4s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / notify (push) Successful in 6s

- /api/v1/federation: list followers and requests, approve (Accept),
  decline or remove (Reject), block (Block, and future follows are
  refused), list and remove blocks; settings report follower counts
- The actor now reflects the user's real follow-approval setting and
  the followers collection its accepted count
- Turning sharing off sends every follower a Reject and forgets them;
  while those are being delivered the actor stays fetchable with just
  its key (no name or bio) so other servers can verify them, and
  WebFinger already says not found
- Web UI: a Followers page (requests with Approve/Decline, followers
  with Remove/Block behind a confirm step, blocked accounts with
  Unblock; remote names shown as plain text only), follower counts on
  the Sharing page, and a confirmation before turning sharing off
  when that would remove followers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MK52BGoJbPhZ1vSFuKcGUW
This commit is contained in:
mattandClaude Opus 5.5 committed 2026-09-25 21:42:29 +01:00
1 parent 142dc13fea
commit a90cd14f59
12 files changed
+1083 -18

No files matched your search

+2 -1
View File
@@ -24,7 +24,7 @@
<p class="display-status">Your fediverse handle</p>
<p class="approve-app handle" id="handle"></p>
<p class="muted">People can follow you by searching for this in their app. It can't be changed once people follow you.</p>
<p class="notice">Following arrives in a coming update. Until then people can find your profile, and follows wait as requests.</p>
<p class="follower-summary" id="follower-summary"></p>
</div>
<fieldset class="choices">
@@ -74,6 +74,7 @@
<p class="muted" id="profile-link"></p>
</fieldset>
<div class="notice notice-error confirm-off" id="confirm-off" role="alertdialog" aria-live="assertive" hidden></div>
<div class="button-row save-row">
<button class="button" type="submit">Save sharing settings</button>
<span class="muted" id="save-status" role="status"></span>