Commit Graph

58 Commits

Author SHA1 Message Date
Julian Lam
f3eb6d500e fix: restrict announce activity to topic moving OUT of cid -1 2024-08-22 15:19:24 -04:00
Julian Lam
daa665ebc0 feat: moving a topic out of cid -1 federates an Announce activity, #12734 2024-08-22 14:45:17 -04:00
Julian Lam
e015339ccf refactor: follow/accept/undo logic to pass the same timestamp throughout the follow's lifetime 2024-07-30 14:05:59 -04:00
Julian Lam
fdc0d670d7 fix: catch thrown errors in src/api/activitypub 2024-07-10 10:15:31 -04:00
Julian Lam
26946c7fe6 fix: only send Update(Actor) to followers, #12674 2024-07-05 11:14:41 -04:00
Julian Lam
a748068c05 fix: missing sorted set member removal on category unfollow 2024-07-04 17:54:04 -04:00
Julian Lam
eab231ee9f fix: add timestamp to follow activity to make it unique 2024-07-04 17:42:59 -04:00
Julian Lam
ef97a784cf fix: incorrect activity id sent out on 1b12 announce 2024-06-25 12:19:24 -04:00
Julian Lam
09d8fbf978 feat: send out Update(Actor) when a category is edited
This commit also updates the activity sent out when a user profile is edited. The activity is now sent to all known actors.

closes #12655
2024-06-25 11:38:13 -04:00
Julian Lam
c8bc6e551b fix: 1b12 conformance for inbox.create as well 2024-06-14 13:37:46 -04:00
Julian Lam
89d2363d5e fix: re-add sending of Announce(Note) for microblog support, #12434 2024-06-14 13:26:04 -04:00
Julian Lam
be95b5b122 fix: FEP 1b12 conformance, federate Announce(Create(Note)) instead of Announce(Note), #12434 2024-06-14 13:17:13 -04:00
Barış Soner Uşaklı
f76a586328 refactor: catch errors 2024-06-13 18:36:05 -04:00
Julian Lam
101062cb92 fix: introduce artificial 5s delay for 1b12 announces 2024-06-13 14:35:09 -04:00
Opliko
42f514b793 feat: add timestamp to most activity ids 2024-06-11 22:55:45 +02:00
Barış Soner Uşaklı
2ae5857005 refactor: remove verbose logs, 2024-06-07 12:13:28 -04:00
Barış Soner Uşaklı
eaf435413e refactor: get rid of noop 2024-06-06 21:10:24 -04:00
Barış Soner Uşaklı
35eb2d0d46 fix: closes #12618, handle missing selector
catch errors in activitypub api missing await on next()
2024-06-06 20:59:02 -04:00
Julian Lam
129017f735 fix: minor cleanup 2024-05-10 17:00:27 -04:00
Julian Lam
1fa9346563 refactor: #12553, buildRecipients so that it is separate from addressing in mocks.js 2024-05-10 15:30:45 -04:00
Julian Lam
2d7ca48d42 fix: rename api.activitypub.create.post to .note() 2024-05-10 14:32:00 -04:00
Julian Lam
ccd187e000 feat: Note deletion logic and refactoring, #12551 2024-05-09 15:49:03 -04:00
Julian Lam
6f9fa66006 fix: Update(Note) federation should only apply to local content 2024-05-07 12:43:27 -04:00
Julian Lam
96db519b79 feat: on post delete, federate out an Update(Tombstone) 2024-05-07 12:37:57 -04:00
Julian Lam
51089a347a fix: attach announcers and their followers to cc, not to targets, only attach announcers to targets 2024-05-07 12:34:07 -04:00
Julian Lam
807c3eac12 feat: on post edit, also target anyone who announced the post and their followers
re: #12537
2024-05-06 15:14:32 -04:00
Opliko
ab055a77a2 feat: add id to Like
part of #12483
2024-04-22 11:40:31 +02:00
Julian Lam
59a9dd8436 refactor: stub routes for category synchronization, refactor remote follow logic to allow categories to conduct follows as well 2024-04-15 16:18:12 -04:00
Opliko
c1dfa8d2fe feat: send undo when rescinding/deleting a report 2024-04-14 01:52:07 +02:00
Opliko
2a2b855fe2 feat: federate flag creation 2024-04-14 00:51:53 +02:00
Opliko
4d07ca4c6a feat: add id to profile updates 2024-04-12 16:43:33 +02:00
Opliko
3cc09d204f feat: add ids for undoing follows 2024-04-10 01:11:49 +02:00
Opliko
72dbcfe3d9 feat: add id to follows and verify accepts 2024-04-09 23:58:52 +02:00
Opliko
9fc194e3a8 feat: send unique identifiers for note activities 2024-04-06 01:50:39 +02:00
Opliko
8003b00acd Revert "feat: log all post edits to the event log, return eid when logging events, plumb eid into Update(Note) to federate out as a unique id"
This reverts commit 83392f3ca2.
2024-04-06 01:18:46 +02:00
Julian Lam
04c743eb4a feat: have category actor send Announce(Note) on remote replies to topics in a cid
#12434
2024-03-22 15:28:01 -04:00
Julian Lam
7df5cabb76 feat: have category actor send Announce(Note) activity on posts from that cid
re: #12434
2024-03-22 14:39:20 -04:00
Julian Lam
83392f3ca2 feat: log all post edits to the event log, return eid when logging events, plumb eid into Update(Note) to federate out as a unique id 2024-03-13 15:27:59 -04:00
Julian Lam
1e6632392b fix: properly build recipients... old logic was just plain wrong :shipit: 2024-03-09 21:09:59 -05:00
Julian Lam
08184f29c1 Revert "fix: pass proper uid to privilege check in AP note federation"
This reverts commit 95427c4af7.
2024-03-08 20:45:54 -05:00
Julian Lam
95427c4af7 fix: pass proper uid to privilege check in AP note federation 2024-03-06 15:07:56 -05:00
Julian Lam
5f85e70006 fix: defer federation of new topics when topic is scheduled, tie activitypub api module to global enable toggle 2024-02-26 15:39:09 -05:00
Julian Lam
35819cc953 refactor: activitypub sending to handle signed requests from categories 2024-02-05 16:57:17 -05:00
Julian Lam
88733a5160 feat: category actors, stub outbox 2024-02-02 17:19:59 -05:00
Julian Lam
607c4623c7 feat: Like(Note) and Undo(Like); federating likes 2024-02-01 16:05:31 -05:00
Julian Lam
0e59f3124e feat: Update(Note) 2024-01-30 11:25:45 -05:00
Julian Lam
fef1882473 fix: remote follows, yet again 2024-01-26 22:35:02 -05:00
Julian Lam
ef8cd34ba1 refactor: replace JIT actor retrieval with actor assertion and storage logic 2024-01-26 15:10:35 -05:00
Julian Lam
5de4f08412 refactor: added mocks.note in preparation for AP note retrieval logic, inReplyTo is always populated now, unless new topic 2024-01-25 15:38:01 -05:00
Julian Lam
8453b83e9e feat: added mocks.actor and Update(Person) activity on profile update 2024-01-24 20:10:22 -05:00