Commit Graph

47 Commits

Author SHA1 Message Date
Julian Lam
aa452a3b41 test: additional test for remote category topic assertion when ignoring category 2025-03-28 12:25:40 -04:00
Julian Lam
1a27a36c42 fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 2025-03-28 12:25:40 -04:00
Julian Lam
700f91c44a feat: remote user to category migration should also migrate local user follows into category watches 2025-03-28 12:25:40 -04:00
Julian Lam
452eaff723 fix: migrate topics as system user instead of uid 0 2025-03-28 12:25:40 -04:00
Julian Lam
0387be7782 send ap follow/undo-follow if remote category watch state changes 2025-03-28 12:25:40 -04:00
Julian Lam
1686fb2c63 feat: remote group actors migrated to categories if they were previous asserted as remote users 2025-03-28 12:25:40 -04:00
Julian Lam
d5c27043ac test: #13255, reply to topic in remote category addresses remote category 2025-03-28 12:25:40 -04:00
Julian Lam
38b82acfbc feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-03-28 12:25:40 -04:00
Julian Lam
936ea55516 feat: #13255, deliver asserted topics to remote category followers 2025-03-28 12:25:40 -04:00
Julian Lam
5c94ec4d14 feat: #13255, add category name and handle to category search zset 2025-03-28 12:25:40 -04:00
Julian Lam
b60c28c3fa test: remote user pruning tests 2025-03-28 12:25:40 -04:00
Julian Lam
131a8c948b feat: integrate remote category pruning into actor pruning logic 2025-03-28 12:25:40 -04:00
Julian Lam
124c493000 feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-03-28 12:25:40 -04:00
Julian Lam
bbd638c5f6 test: introduce overrides into person and group mocks 2025-03-28 12:25:40 -04:00
Julian Lam
345c600a96 test: have ap helper mocks for person and group auto-save to ap cache 2025-03-28 12:25:40 -04:00
Julian Lam
9614ef17ae test: add failing tests for actor/group assertion via wrong method, remote user to category migration 2025-03-28 12:25:40 -04:00
Julian Lam
3fbb805721 feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-03-28 12:25:40 -04:00
Julian Lam
9de9e4e9d8 test: add tests for topics slotting into remote categories if addressed 2025-03-28 12:25:40 -04:00
Julian Lam
83fd49fe0d test: group actor assertion tests 2025-03-28 12:25:40 -04:00
Barış Soner Uşaklı
807a8c66db fix: race condition in test 2025-03-22 12:12:35 -04:00
Julian Lam
945617cbcf fix: only 1b12 announce topic fork if OP is local, fix race condition in tests 2025-03-11 15:32:10 -04:00
Julian Lam
254f0738bb feat: 1b12 category announce on post move to a new tid, #13236 2025-03-11 15:06:24 -04:00
Julian Lam
537880d2e8 test: fix actor tests 2025-03-11 13:27:37 -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
Julian Lam
e3edfef865 feat: call announceObject on topic fork, #13215 2025-03-03 11:54:26 -05:00
Julian Lam
feb9421507 test: add failing test for #13215 2025-03-03 11:54:26 -05:00
Julian Lam
dca3c35d76 fix: move AP send logging earlier 2025-03-02 22:58:05 -05:00
Julian Lam
e510e82633 test: new test file for feps 2025-02-28 14:46:12 -05:00
Julian Lam
98aafaaff8 test: allow ap/notes tests to be run in isolation 2025-02-28 13:56:40 -05:00
Julian Lam
f1c2b2be04 Merge branch 'master' into develop 2025-02-27 13:34:28 -05:00
Julian Lam
428300de4f fix: scheduled topics and posts should return 404 on AP request 2025-02-27 13:34:21 -05:00
Julian Lam
01be4d7908 test: moved AP actor tests to separate actors.js file, added failing test for scheduled topics 2025-02-27 13:34:21 -05:00
Barış Soner Uşaklı
37001af0af Merge branch 'master' into develop 2025-02-26 21:07:41 -05:00
Julian Lam
04d5edbbe9 fix: add missing file 2025-02-26 18:25:51 -05:00
Julian Lam
c6ba56a517 test: update test to assert the note assertion itself
add failing test for Video handling
2025-02-26 13:06:37 -05:00
Julian Lam
efb27ce0ac fix: tests for public and private note assertion, failing test for private note assertion with missing cc prop 2025-02-26 12:29:57 -05:00
Julian Lam
64267f7de0 test: remove extra .only, add basic tests for public note assertion 2025-02-25 14:24:56 -05:00
Barış Soner Uşaklı
669755d1e9 test: dont clear local when testing 2025-02-18 11:57:28 -05:00
Barış Soner Uşaklı
f282407322 test: show objects on fail 2025-02-18 11:43:34 -05:00
Barış Soner Uşaklı
6431824216 test: wait after post request 2025-02-18 10:53:25 -05:00
Julian Lam
4a827b7e70 test: adjust webfinger test for updated 404 status code 2025-01-22 14:25:12 -05:00
Julian Lam
12fb205b09 fix: activitypub tests 2025-01-07 12:20:46 -05:00
Julian Lam
8ef0df57e6 refactor: check HTTP signatures on all activitypub requests
- `validate` is now renamed `assertPayload`
- HTTP signature checking is now in new middleware `verify`
- `verify` is now called on all routes in activitypub controller
- Rejects on signature failure for POST requests
2024-10-07 14:08:57 -04:00
Julian Lam
46341673b3 fix: removal of topics from applicable user inboxes when synced
re: #12642
2024-07-05 12:00:23 -04:00
Julian Lam
4e9cd8efc0 feat: track incoming requests by id, analytics increment for some metrics, ignore repeated requests by id
closes #12574
2024-05-14 12:07:18 -04:00
Julian Lam
ccd187e000 feat: Note deletion logic and refactoring, #12551 2024-05-09 15:49:03 -04:00
Julian Lam
94eafe1df3 refactor: split activitypub tests to subfolder files 2024-04-26 11:30:08 -04:00