From 185163a5ca3cabdc3d95cdafaaa9eb110f202fff Mon Sep 17 00:00:00 2001 From: a Date: Tue, 27 Dec 2022 21:11:55 -0600 Subject: [PATCH] add activity types for pixelfed/misskey/pleroma --- content/tech/activitypub/activity.md | 169 ++++++++++++++++++++++++++- 1 file changed, 168 insertions(+), 1 deletion(-) diff --git a/content/tech/activitypub/activity.md b/content/tech/activitypub/activity.md index f6be03a..be3cc78 100644 --- a/content/tech/activitypub/activity.md +++ b/content/tech/activitypub/activity.md @@ -207,4 +207,171 @@ supported activity types + +(seems to require inlining in a lot of places? not 100% sure but that's what it looks like to me) + +- Add + - (must be inlined?) + - Add Story (not final) +- Create + - (requires `to` for some reason, so `cc` only will break) + - Create Question + - (a single `to` item will create a DM if no `cc`) + - Create Note.inReplyTo + - Create Note.attachment +- Follow + - Follow `object` +- Announce + - Announce `object` +- Accept + - Accept Follow (anything else will return immediately) +- Delete + - Delete `object` (if `object` == `actor` and is valid string uri) + - Delete [Person, Tombstone, Story] (???) + - Delete Person + - Delete Tombstone (???) + - Delete Story (not final) +- Like + - Like `object` +- Reject + - (does nothing) +- Undo + - (must be inlined) + - Undo Accept + - (does nothing) + - Undo Announce + - Undo Block + - (does nothing) + - Undo Follow + - Undo Like +- View + - View Story (not final) + - (also seems to get story id by whatever is after the last slash?) +- Story:Reaction (not final; undocumented extension) + - (`id` and `actor` must be valid urls) + - (`inReplyTo` and `to` must be local) + - (`object` must not resolve to Status) + - (seems to get story id by whatever is after the last slash?) +- Story:Reply (not final; undocumented extension) + - (`id` and `actor` must be valid urls) + - (`inReplyTo` and `to` must be local) + - (`object` must not resolve to Status) + - (seems to get story id by whatever is after the last slash?) +- Update (commented out) + +### misskey + + + +- Create +- Delete +- Update +- Read +- Undo +- Follow +- Accept +- Reject +- Add +- Remove +- Like | EmojiReaction | EmojiReact +- Announce +- Block +- Flag + + + +### pleroma + +ObjectValidator + +validate() + +- Block +- Undo +- Delete +- Create ChatMessage +- Create [Question Answer Audio Video Event Article Note Page] +- [Event Question Audio Video Article Note Page] + - Event + - Question + - Audio + - Video + - Article + - Note + - Page +- Update [Question Answer Audio Video Event Article Note Page] +- [Accept Reject Follow Update Like EmojiReact Announce] + - Accept + - Reject + - Follow + - Update + - Like + - EmojiReact + - Announce + - ChatMessage + - Answer +- [Add Remove] + +SideEffects + +handle() + +- Accept + - Accept Follow +- Reject + - Reject Follow +- Follow +- Block +- Update + - Update `object` + - Update `object` +- Like +- Create + - Create ChatMessage + - Create Question + - Create Answer + - Create [Audio Video Event Article Note Page] +- Announce +- Undo + - Undo Like + - Undo EmojiReact + - Undo Announce + - Undo Block +- EmojiReact +- Delete +- Add +- Remove + +Transmogrifier + +handle_incoming() + +- Flag +- Listen Audio +- Like._misskey_reaction +- Create [Question Answer ChatMessage Audio Video Event Article Note Page] +- [Like EmojiReact Announce Add Remove] + - (fetch `actor` and `object`) +- [Update Block Follow Accept Reject] + - (fetch `actor`) +- Delete + - (check if Create exists) +- Undo Follow +- Undo + - (get `object` by `id` and expand it) +- Move + +prepare_outgoing() + +- [Create Listen] +- Update `object` + - [Note Question Audio Video Event Article Page] +- Announce +- Accept -> Accept Follow +- Reject -> Reject Follow +- Answer -> Note \ No newline at end of file