scripts/interop/run.sh brings up Scrobbler (API, worker, UI behind a
throwaway-TLS Caddy) and GoToSocial 0.22.1 on a private .test network,
creates a GoToSocial user, drives its sign-in/OAuth screens for a token,
and checks: lookup by handle, follow accepted, unfollow, manual approval
and approve, remove, block and unblock, and decline.
Found and fixed along the way:
- Keys whose id is a path serving the actor (GoToSocial's
<actor>/main-key) weren't resolved; now all three publishing styles
are handled
- An Undo of an older Follow arriving after a newer Follow removed the
new follower; an Undo now only removes the Follow it names (and Undo
referencing a Follow by id is understood)
- Rejects embedded the Follow, which some servers (GoToSocial) match by
account pair, so a late Reject could cancel a newer request; Rejects
now reference the Follow by id
- Unblocking didn't tell the other server; it now sends Undo(Block)
- Actors publish an (empty) featured collection, which Mastodon and
GoToSocial fetch
GoToSocial 0.22.1 ignores Reject for already-accepted follows (a TODO
in its code, fixed on its main branch); the removal check on its side
is skipped until a release has it (GTS_REJECT_ENDS_FOLLOWS=1 enables).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MK52BGoJbPhZ1vSFuKcGUW
- /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