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
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:
1 parent
142dc13fea
commit
a90cd14f59
12 files changed
+1083
-18
No files matched your search
@@ -60,7 +60,7 @@ def test_actor_document(fed_client, sharing_user):
|
||||
assert doc["summary"] == "<p>Listening.</p>"
|
||||
assert doc["publicKey"]["id"] == f"{BASE}/users/alice#main-key"
|
||||
assert doc["publicKey"]["publicKeyPem"].startswith("-----BEGIN PUBLIC KEY-----")
|
||||
assert doc["manuallyApprovesFollowers"] is True # follows are requests until phase 2
|
||||
assert doc["manuallyApprovesFollowers"] is False # the user's setting (off by default)
|
||||
assert (doc["discoverable"], doc["indexable"]) == (False, False)
|
||||
assert doc["url"] == "http://localhost:8080/profile.html?u=alice"
|
||||
|
||||
|
||||
Reference in new issue
Block a user