Jannis Braun
42355ee889
feat(federation): direction-branched approve and deny for outbound queue
- /approve on outbound: generates HMAC, sends /peer/accept to remote.
200 -> activate peer + onPeerActivated cleanup. 202 -> awaiting_approval,
capture token, queue row + subscribers REMAIN. 4xx/5xx/network -> clean
up peer row, leave queue for admin retry.
- /deny on outbound: fans out kind='denied' notifications, cascade-deletes
parent + subscribers, broadcasts admin event. No remote network call.
- /approve and /deny on inbound: existing behavior preserved verbatim.
- GET /approval-requests: response includes direction; outbound rows
carry subscribers[] (joined with users.username, possibly empty).
- Removes Task 1's temporary /deny scaffolding guard now that the
direction-branched dispatcher handles outbound rows correctly.
- Updates docs/systems/federation.md to describe direction-branched flow.
2026-04-26 22:01:14 +02:00
..
2026-03-31 03:40:34 +02:00
2026-04-21 21:11:17 +02:00
2026-04-26 11:53:54 +02:00
2026-04-03 02:51:50 +02:00
2026-04-25 23:33:13 +02:00
2026-04-26 11:53:54 +02:00
2026-03-31 03:40:34 +02:00
2026-03-31 03:40:34 +02:00
2026-04-24 21:22:21 +02:00
2026-04-25 13:15:14 +02:00
2026-04-26 22:01:14 +02:00
2026-04-25 13:15:14 +02:00
2026-03-31 03:40:34 +02:00
2026-03-31 03:40:34 +02:00
2026-03-31 03:40:34 +02:00
2026-04-26 21:37:19 +02:00
2026-03-31 03:40:34 +02:00
2026-03-31 03:40:34 +02:00
2026-04-24 21:19:34 +02:00
2026-04-24 21:22:21 +02:00