Commit Graph

87 Commits

Author SHA1 Message Date
Julian Lam
4b22f29778 fix: commenting out outward federation of Add activity, pending forumwg discussion 2025-03-28 12:39:19 -04:00
Julian Lam
08796a0a59 fix: wrong property name used 2025-03-19 14:01:09 -04:00
Julian Lam
74443c3b15 refactor: remove announceObject in favour of feps.announce, added create activity mock to support 2025-03-11 13:24:21 -04:00
Barış Soner Uşaklı
7804b301d5 Merge branch 'master' into develop 2025-02-08 21:19:14 -05:00
Julian Lam
040584f035 fix: missing actor on some local activities when federating out 2025-02-08 20:27:55 -05:00
Julian Lam
9fd6ac6bb8 refactor: move 1b12 announce logic out of inbox and into separate feps module
1b12 announces were previously only happening for local creates and received
activities, but they should happen for all local activities as well.

re: #13072
2025-02-07 08:21:41 -05:00
Julian Lam
51e660d5ae fix: bad logic that invisibly broke outgoing user follows completely 2025-02-02 03:51:27 -05:00
Julian Lam
334be72179 fix: bad logic that invisibly broke outgoing user follows completely 2025-02-02 03:27:54 -05:00
Julian Lam
b3b8b9e98d fix: null checks for category sync and actor assertions 2025-01-24 23:41:19 -05:00
Julian Lam
e61df4debc fix: #13065, send missing actor property when 1b12 announcing local posts 2025-01-22 13:07:41 -05:00
Julian Lam
1661681411 fix: #13021, save details of follow request before sending the follow, avoid race condition 2025-01-09 11:46:56 -05:00
Julian Lam
2851e56bdc feat: pending follows and logic for remote users, #12938 2024-12-11 13:27:34 -05:00
Julian Lam
3023b25172 feat: handle receipt of Add activity #12707 2024-10-24 14:36:42 -04:00
Julian Lam
15516862ce fix: federate out an Add on post creation even if there are no category followers 2024-10-24 13:33:04 -04:00
Julian Lam
3030a720e9 fix: accidental sending of Set to ActivityPub.send 2024-10-24 13:30:51 -04:00
Julian Lam
5e47b19488 refactor: expose buildRecipients as a main activitypub lib method, call buildReceipients in ap controller actors for notes 2024-10-23 11:28:55 -04:00
Julian Lam
61445d3d87 feat: send Update(Note) on chat message deletion and restoration, serving Tombstone if deleted
re: #12853
2024-10-17 11:06:10 -04:00
Julian Lam
e5948464e7 feat: handle Update(Note) when object has limited visibility, #12834 2024-10-15 11:27:57 -04:00
Julian Lam
a226ee9e91 fix: re-enable logging only for dev mode 2024-10-12 22:49:24 -04:00
Julian Lam
1659015c98 feat: federate on chat message edit, #12834 2024-10-10 13:04:07 -04:00
Julian Lam
8a1abe686c fix: duplicate logic and double-parsing issue, #12834 2024-10-07 14:39:55 -04:00
Julian Lam
74d5ced29e fix: federate out a Create(Note) instead of just the note... doi...
#12834
2024-10-07 14:29:45 -04:00
Julian Lam
2ab5ea39a6 feat: federating out chat messages
re #12834
2024-10-07 14:12:31 -04:00
Julian Lam
bd44783e46 feat: #12647, federate out Add activity on inbox.create and local post creation 2024-10-03 11:10:21 -04:00
Julian Lam
6752a54116 feat: update buildRecipients to include all topic participants and their followers, #12735 2024-09-18 14:35:42 -04:00
Julian Lam
047d5992dc fix: id on 1b12 announces 2024-09-17 10:46:05 -04:00
Julian Lam
652d6c6e2b fix: regression that caused replies to not get federated 2024-09-06 22:04:20 -04:00
Julian Lam
909437c306 fix: on topic move out of cid -1, also federate to the public address 2024-09-06 14:35:57 -04:00
Julian Lam
b63440cb14 feat: extend activitypubApi.create.note to accept a post object to reduce unnecessary calls to retrieve post summary 2024-09-05 11:05:30 -04:00
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