Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Federate reports #3188

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Federate reports #3188

wants to merge 6 commits into from

Conversation

mouse-reeve
Copy link
Member

Reports should be sent (if the user wants) to the home instance for remote users. I'm using mastodon's Flag activity as a template: https://docs.joinmastodon.org/spec/activitypub/#Flag

Fixes #962

Components:

  • Fix the report model so that user means the user doing the reporting, not the reported user
  • Make the report model activitypub-y
    • Produce the easy parts of the activitypub object
    • Get the "objects" part of the Flag activity in place
  • Allow users to opt out of federating reports
  • Broadcast reports
  • Receive broadcasted reports
  • Test between bookwyrm instances
  • Test between bookwyrm and mastodon instances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reports should create Flag activities
1 participant