Commit graph

78 commits

Author SHA1 Message Date
silverpill 41fdb8abb0 Rename activitypub::activity module to activitypub::types 2023-01-14 23:31:38 +00:00
silverpill 50b8ad9de4 Create type for deserializing Undo() activities and remove Activity type 2022-12-12 21:15:08 +00:00
silverpill 64dbd8ff26 Accept attachments with type Video
Video attachments are used in PixelFed.
2022-12-10 19:01:11 +00:00
silverpill cc728afb7d Remove unused fields from Object and Activity types 2022-12-10 19:01:11 +00:00
silverpill d3819c67e6 Create dedicated types for all activities and remove create_activity() function 2022-12-06 21:07:26 +00:00
silverpill 03ebf75da2 Wrap markdown in remote object content in <p> tag 2022-10-13 16:52:06 +00:00
silverpill a685829472 Implement FEP-e232 and allow to add quotes to posts 2022-10-02 21:23:16 +00:00
silverpill 24303f00d0 Allow tag property value to be an object 2022-09-17 16:35:23 +00:00
silverpill f4d1e756d4 Fetch object referenced by quoteUrl property and create a link between posts 2022-08-21 23:45:49 +00:00
silverpill ecc4afe568 Append object URL to post content if object type is not Note 2022-07-28 22:04:14 +00:00
silverpill 672ff5f0ac Handle incoming Add(Person) and Remove(Person) activities 2022-07-17 02:01:11 +00:00
silverpill d2ba86315c Move AP ID helpers to activitypub::identifiers module 2022-07-16 01:49:48 +00:00
silverpill c9bbf7020e Move Undo(Announce) builder function to builders::undo_announce_note module 2022-07-14 10:57:17 +00:00
silverpill 623e7c9c49 Move Announce(Note) builder function to builders::announce_note module 2022-07-14 10:44:39 +00:00
silverpill 1c4e75b0d8 Move Undo(Like) builder function to builders::undo_like_note module 2022-07-14 09:52:46 +00:00
silverpill 7103de2519 Move Like() builder function to builders::like_note module 2022-07-14 09:50:34 +00:00
silverpill 4f2979f568 Add more tests for activity builders 2022-07-14 09:08:55 +00:00
silverpill b89bd7e570 Move Accept(Follow) builder function to builders::accept_follow module 2022-07-14 08:14:24 +00:00
silverpill d29e27b114 Move Follow() builder function to builders::follow module 2022-07-14 08:14:04 +00:00
silverpill 8d8227c349 Move Create(Note) builder function to builders::create_note module 2022-06-15 11:27:06 +00:00
silverpill e82c6f31fb Move code for building Undo(Follow) activity to builders::undo_follow 2022-06-02 03:28:57 +00:00
silverpill 50986cd358 Move code for building Update(Person) activity to builders::update_person 2022-06-02 03:28:51 +00:00
silverpill c734f3575f Fix invalid ID of Accept(Follow) activity 2022-05-23 08:21:26 +00:00
silverpill 9a20c7891f Fix bug in create_activity_like() 2022-05-13 18:18:09 +00:00
silverpill dc34c980f6 Handle Update(Note) activities 2022-05-11 13:31:08 +00:00
silverpill d090363698 Refactor activity builders 2022-05-09 17:14:13 +00:00
silverpill 8755177eed Convert incoming questions and pages into posts 2022-04-29 13:21:00 +00:00
silverpill b384dcd4d2 Allow Tag objects without name property 2022-04-27 10:39:26 +00:00
silverpill 04e851025b Enforce uniqueness of actor ID 2022-04-20 14:03:13 +00:00
silverpill 0715b7d64f Use actor ID for href field in mention tag
Mastodon also does this in latest version.
2022-04-20 14:02:39 +00:00
silverpill aa997e3a82 Make activity IDs deterministic 2022-04-14 18:33:18 +00:00
silverpill 0bc3c32fcd Allow value of "attachment" property to be an object 2022-04-14 15:58:29 +00:00
silverpill 848de1d685 Set default tag type to Hashtag 2022-02-15 23:14:39 +00:00
silverpill 9330038141 Add "subscribers-only" post visibility setting 2022-02-06 12:05:20 +00:00
silverpill 59a86ea827 Add "followers-only" post visibility setting 2022-01-15 20:40:37 +00:00
silverpill de37f606e3 Skip Note attachments with type other than Document 2022-01-08 21:23:21 +00:00
silverpill f8bb82d6cb Set correct primary and secondary audience for direct messages 2022-01-07 22:28:34 +00:00
silverpill 81d60656e6 Set correct primary audience for Update(Person) activities 2022-01-04 21:55:35 +00:00
silverpill de1760230a Set primary audience of Delete(Note) activities to Public 2022-01-04 21:55:29 +00:00
silverpill 3e5f5b80d3 Set correct primary and secondary audience for outgoing Announce(Note) and Undo(Announce) activities 2022-01-04 21:36:52 +00:00
silverpill 7a373831fe Set correct primary and secondary audience for outgoing Create(Note) activities 2022-01-04 21:01:45 +00:00
silverpill 9156dec5bb Convert actor_json value into Actor type when reading from database 2022-01-02 01:27:50 +00:00
silverpill 94aad001f8 Add in_reply_to field to Post struct
create_note refactored to accept Post without additional in_reply_to argument.
2021-12-31 19:44:17 +00:00
silverpill f9fca604a9 Make media_type property on Attachment type optional 2021-12-29 15:07:19 +00:00
silverpill 492b18a43a Always add primary recipients to "to" array 2021-12-25 00:53:18 +00:00
silverpill dc281f821f Allow attributedTo to be array of values
Initial support for PeerTube.
2021-12-24 15:13:33 +00:00
silverpill 91a91b9c16 Implement outboxes 2021-12-24 12:21:05 +00:00
silverpill de15a57148 Create activitypub::collections module 2021-12-23 00:35:12 +00:00
silverpill 57ada55e8e Add formerType property to Tombstone object 2021-12-18 23:20:25 +00:00
silverpill 3989a40825 Send Undo(Announce) activity when repost is deleted 2021-12-16 18:53:58 +00:00