Commit graph

66 commits

Author SHA1 Message Date
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
silverpill cf69ac6eb2 Send Undo(Like) activity when post is unfavourited 2021-12-15 01:03:59 +00:00
silverpill fc153a3156 Set "object" property value to note ID in Like() and Announce() activities 2021-12-12 22:36:50 +00:00
silverpill 816cae6b78 Link hashtags in posts to corresponding tag timeline pages 2021-12-12 19:16:32 +00:00
silverpill a4dd06d6e9 Replace actor ID with actor URL in mentions, add microformats 2021-12-12 00:41:07 +00:00
silverpill 2a58f567b9 Add @ to mention tag names in Note objects 2021-12-12 00:41:07 +00:00
silverpill c4fdb46df7 Parse and store hashtags 2021-12-10 00:38:24 +00:00
silverpill 28511eeafa Use recipient list from Note object in Create activity 2021-12-05 18:12:57 +00:00
silverpill 76bac3a66a Add Note type and use it to construct Create(Note) activities 2021-12-05 16:32:59 +00:00
silverpill 40dbfc05a2 Add API method for deleting posts 2021-12-05 01:55:32 +00:00
silverpill 12c21d86f8 Use ULIDs instead of v4 UUIDs for identifiers 2021-12-02 01:36:35 +00:00
silverpill a9b7426be4 Deliver Announce(Note) activity to followers 2021-11-26 22:53:40 +00:00
silverpill 81adb9b70e Send Announce(Note) after doing a repost 2021-11-25 23:33:13 +00:00