Commit Graph

132 Commits

Author SHA1 Message Date
Julian Lam
f98a7216a3 feat: handle Delete(Context) as a move to cid -1 if the remote context still exists 2025-10-16 16:23:27 -04:00
Julian Lam
2b2028e446 refactor: inbox announce(delete) handling to also handle context deletion, #13712 2025-10-16 11:27:51 -04:00
Julian Lam
4d5005b972 feat: handle incoming Announce(Delete), closes #13712 2025-10-16 11:12:00 -04:00
Julian Lam
9deb576d1e Merge branch 'master' into develop 2025-09-19 14:43:13 -04:00
Julian Lam
f9edb13f62 fix: missing actor assertion on 1b12 announced upboat 2025-09-19 14:43:04 -04:00
Julian Lam
5f4790a48c feat: allow activities to be addressed to as:Public or Public to be treated as public content 2025-09-15 14:01:00 -04:00
Julian Lam
b1dbb19c10 fix: inbox.announce to not reject activities from relays 2025-08-27 14:16:42 -04:00
Julian Lam
f4d1df7c66 feat: relay handshake logic, handle Follow/Accept, send back Accept. 2025-08-27 14:16:42 -04:00
Barış Soner Uşaklı
5dab17450f Revert "test: more logs for failing test"
This reverts commit 79c6e72ce6.
2025-08-27 13:27:36 -04:00
Barış Soner Uşaklı
79c6e72ce6 test: more logs for failing test 2025-08-27 11:29:43 -04:00
Barış Uşaklı
b3a4a128cd refactor: move ap retry queue from lru cache to db (#13568)
* refactor: move ap retry queue from lru cache to db

get rid of the setTimeouts that were running for 2months
retries will survive server restarts

* refactor: reduce exp. backoff
2025-07-30 09:32:58 -04:00
Julian Lam
83a55f6adc fix: don't throw on unknown post on Undo(Like) 2025-05-31 22:46:47 -04:00
Julian Lam
629eec7b5b fix: add try..catch wrapper around Announce(Like) call to internal method so as to not return a 500 — just drop the Like activity 2025-05-30 16:49:15 -04:00
Julian Lam
a888b868c7 fix: additional tests for remote privileges, enforcing privileges for remote edits and deletes 2025-05-26 14:49:48 -04:00
Julian Lam
fe13c75549 fix: #13375, plus additional tests 2025-05-13 13:59:34 -04:00
Julian Lam
5802c7ddd9 fix: missing awaits, more comprehensive 1b12 tests 2025-05-12 15:00:00 -04:00
Julian Lam
b433848971 fix: #13374, updates to posts.edit to handle remote content updates better 2025-05-06 10:45:09 -04:00
Julian Lam
f8d012c81c fix: AP inbox update handling for non-note objects 2025-05-05 17:01:07 -04:00
Julian Lam
9f80d10d09 fix: 1b12 creates being dropped 2025-05-05 16:50:44 -04:00
Julian Lam
044736696e feat: handle Announce(Update(Note)) as well, #13320 2025-04-29 10:28:18 -04:00
Julian Lam
74e32a170f feat: #13255, proper handling of upvotes shared by group actors
fixes #13320
2025-04-29 10:28:18 -04:00
Julian Lam
4b22f29778 fix: commenting out outward federation of Add activity, pending forumwg discussion 2025-03-28 12:39:19 -04:00
Barış Soner Uşaklı
170787aacd Merge branch 'master' into develop 2025-03-09 11:14:23 -04:00
Barış Soner Uşaklı
6b9f166cb8 fix: don't update topic lastposttime by announce
this was causing topics to show up as unread eventhough there are no new posts and out of order on /recent
2025-03-09 11:14:16 -04:00
Julian Lam
3589c570b5 feat: add additional logic that checks whether a cid follows the activity actor, and asserts note into that category if so
closes #13232
2025-03-06 10:53:50 -05:00
Julian Lam
c98f29aeb4 Merge branch 'master' into develop 2025-02-26 12:57:47 -05:00
Julian Lam
c65e1ebb8f fix: #13202, private note assertion failure when cc property is missing 2025-02-26 12:29:57 -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
9c78255e36 fix: broken tests 2025-01-06 16:54:23 -05:00
Julian Lam
d7fe355851 fix: regression on remote deletes, received object is not always a simple id 2024-11-27 14:27:34 -05:00
Julian Lam
830aab66bb fix: thrown exception from failed note assertion 2024-11-27 14:27:34 -05:00
Julian Lam
998273cdc4 fix: #12707 ensure actor matches context attributedTo 2024-10-24 14:44:18 -04:00
Julian Lam
3023b25172 feat: handle receipt of Add activity #12707 2024-10-24 14:36:42 -04:00
Julian Lam
1d5f490de0 fix: guard against missing to/cc 2024-10-17 11:19:22 -04:00
Julian Lam
873d033baf fix: object not array 2024-10-17 11:16:25 -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
9062691aa2 fix: defer postdata retrieval 2024-10-12 22:49:09 -04:00
Julian Lam
b82e20dfc7 feat: handle incoming non-public activities as chat message, #12834 2024-10-08 14:26:55 -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
2713d13ca3 fix: also ignore non-public notes on Update activity 2024-10-02 12:08:46 -04:00
Julian Lam
047d5992dc fix: id on 1b12 announces 2024-09-17 10:46:05 -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
399d41030f fix: add privilege check to user follows 2024-07-24 11:59:50 -04:00
Julian Lam
7bf349b62b fix: accidental passing of string instead of constant 2024-07-24 11:54:41 -04:00
Julian Lam
39f92eac16 refactor: store local follow backreferences for remote users (both followers and following), update actor pruning to take local follow counts into consideration, fixes #12701 2024-07-19 14:37:32 -04:00
Julian Lam
5e343a83f8 fix: Update activity handling for non-Person actors 2024-07-09 14:30:03 -04:00
Julian Lam
600b1a8622 fix: update handling of Announce(Create(Note)) to also handle non-note types 2024-07-04 17:00:14 -04:00
Julian Lam
d6f44d8ec3 fix: #12662, add original activity actor to Announced activity's cc 2024-06-27 14:05:48 -04:00