C2S Block and Undo(Block): Shaer's Orbit becomes a real server block
Putting someone "in Orbit" in Shaer was client-side only. The C2S outbox
now accepts Block and Undo(Block), wired onto the same blockTarget/unblock
the web UI uses: the actor lands in ap_blocks, shows up in the Block tab,
and their cached content is purged. Releasing from Orbit undoes it.
Changed files:
src/services/ActivityPubService.js
- ingestOutboxActivity: case 'Block' -> blockTarget(site, uri), 202
- Undo with inner Block -> unblock(site, uri), 202
New file:
test/c2s-block.test.js
- Block lands in ap_blocks, Undo releases, missing object is 400
Changed files:
test/c2s-outbox.test.js
- the unsupported-Undo example was Block; that is real now, the test
uses Move instead
151 tests, all green.
-robo
Co-Authored-By: Claude Opus 4.8 <noreply@…>