feat/federation #19
No reviewers
Labels
No labels
api
auth
backend
bug
duplicate
enhancement
federation
frontend
help wanted
invalid
new feature
question
storage
stream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
blacklight/songhive!19
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/federation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes: #18
Add POST /api/v1/activities/{id}/like: records an idempotent `like` activity that inherits the target's visibility and fans out to the liked activity author's inbox. `can_view_activity` centralizes entity ACL + per-activity visibility checks, and `create_local_activity` gains a `require_manage` flag so interactions only require view access. Like payload construction and remote actor inbox resolution are delegated to pubby 0.3.1 (`build_like_activity`, `resolve_actor_inbox`); Songhive keeps the Visibility-to-audience adapter, Celery orchestration, and retry policy. Also extract `get_default_user_agent` for federation HTTP requests.- Add PATCH /api/v1/activities/{id} with ACL checks - Re-run mention pipeline on content edits; rebuild payload object content/tags - Cascade visibility updates via VisibilityRules - Add tests for update service and endpoint - Document behavior in changelog and architecture docs- Add GET /api/v1/{entity_type}/{entity_id}/activities with filters and cursor - Enforce per-activity visibility in SQL for correct keyset pagination - Add response serializers and tests for API/service behavior- record_track_publication persists a create Activity with the Create(Audio) payload and fans out with ActivityTarget tracking - add DELETE /api/v1/activities/{id} for per-activity retraction - retract publication rows when a track leaves the fediverse - remove the superseded publish_track_activity delivery helper- Emit "{artist} - {title}" anchor in `name` when URL is linkable - Document Mastodon-specific rendering behavior in architecture notes - Update federation tests for linked `name` output- PATCH /activities/{id} now returns ActivityResponse and refreshes mentions - Add audit logs for activity update/delete/like actions - Fix mention audience rebuild via explicit mention queries - Update frontend store/tests to use returned updated activity - Add tests covering audit logging and update response fieldsWIP: feat/federationto feat/federation