feat(fediverse): report a post/account to its home server (AS2 Flag)
From the interact page you can now report a fediverse post to its home server's
moderators. Sends the Mastodon-standard AS2 Flag (object = [reported account,
reported status], content = the reason) to the reported account's inbox.
- src/services/ActivityPubService.js — sendReport(site, {objectUri, actorUri, reason})
resolves the reported account, builds the Flag and delivers it to their inbox.
- src/routes/posts.js — POST /authorize_interaction/report (owner-only); GET passes
reported and skips re-resolving on the confirmation view.
- src/views/pages/authorize-interaction.ejs — a "Report this post" disclosure with a
reason field, a "reported" confirmation, and scoped styles.
- src/services/i18n.js — fedi.report_* + fedi.reported_* (nl/en/de).
- test/activitypub-as2.test.js — allow the AS2
Flag activity type.
- CHANGELOG(.nl/.de).md — "Report a post to the fediverse" under Unreleased.
Co-Authored-By: Claude <noreply@…>