94 Commits

Author SHA1 Message Date
Julian Lam
874ffd7b26 feat: refactor out.announce.topic to allow user announces, refactor tests to accommodate 2026-01-07 10:39:10 -05:00
Julian Lam
cfdbbb048d test: more out.announce tests 2026-01-06 12:08:43 -05:00
Julian Lam
67912dc989 test: basic tests for activitypub.out 2026-01-06 11:34:27 -05:00
Julian Lam
41368ef83d test: update activitypub._sent to save targets as well, updated tests to accommodate format change 2026-01-06 11:14:11 -05:00
Barış Soner Uşaklı
301b538649 test: add back logs for failing test 2025-12-17 12:34:54 -05:00
Julian Lam
097d0802b7 feat: stop extraneous vote and tids_read data from being saved for remote users 2025-12-11 10:57:00 -05:00
Julian Lam
c529244229 test: fix failing test by adjusting the tests 2025-12-04 16:03:28 -05:00
Julian Lam
6a56105037 feat: expand postingRestrictedToMods mask testing, handle actor update for that prop 2025-12-04 11:00:41 -05:00
Julian Lam
d8e55d58de fix: use setsAdd 2025-12-03 15:21:49 -05:00
Julian Lam
934e6be911 test: privilege masking tests 2025-12-03 15:21:49 -05:00
Julian Lam
977a67f4cd fix: deep clone activity prop before execution; feps.announce 2025-12-02 13:42:06 -05:00
Julian Lam
8236b594af debug: log mock results 2025-12-02 13:19:48 -05:00
Barış Soner Uşaklı
22d3c52332 test: log label 2025-12-02 12:59:28 -05:00
Barış Soner Uşaklı
e39c91497f test: log activities 2025-12-02 12:47:47 -05:00
Barış Soner Uşaklı
841bd8252c test: on test fail show activities 2025-12-02 11:54:14 -05:00
Julian Lam
3bba902932 test: more fixes for note vs. article 2025-09-25 15:29:10 -04:00
Julian Lam
1587808700 test: short OPs create Notes again 2025-09-25 15:18:26 -04:00
Julian Lam
7184507be2 fix: #13667, record to instances:lastSeen instead of domains:lastSeen 2025-09-25 15:12:52 -04:00
Julian Lam
9221d34f01 fix: remove test for 1b12 announce on topic move (as this no longer occurs) 2025-09-04 11:45:33 -04:00
Barış Soner Uşaklı
bf279d71b0 fix: closes #13501
add missing await
2025-08-27 11:02:12 -04:00
Barış Soner Uşaklı
69a6c1502f test: catch error in failing test 2025-08-26 12:04:58 -04:00
Barış Soner Uşaklı
1515580940 test: add logs for test that's timing out 2025-08-17 11:17:47 -04:00
Barış Soner Uşaklı
9b566a55d9 Merge branch 'master' into develop 2025-07-25 10:57:45 -04:00
Barış Soner Uşaklı
fe9b49e3d5 test: increase timeout of failing test 2025-07-25 10:57:30 -04:00
Barış Soner Uşaklı
22005b9ccf assign correct data 2025-06-27 16:17:06 -04:00
Barış Soner Uşaklı
85e2d7d338 test: psql fix 2025-06-27 16:08:51 -04:00
Barış Soner Uşaklı
0315e36941 chore: remove logs 2025-06-18 13:34:55 -04:00
Barış Uşaklı
14043ab0fd Node redis (#13500)
* refactor: start migrating to node-redis

* few more zset fixes

* fix: db.scan

* fix: list methods

* fix set methods

* fix: hash methods

* use hasOwn, remove cloning

* sorted set fixes

* fix: so data is converted to strings before saving

otherwise node-redis throws below error
TypeError: "arguments[2]" must be of type "string | Buffer", got number instead.

* chore: remove comments

* fix: zrank string param

* use new close

* chore: up dbsearch

* test: add log

* test: more log

* test: log failing test

* test: catch errors in formatApiResponse

add await so exception goes to catch

* tetst: add log

* fix: dont set null/undefined values

* test: more fixes
2025-06-18 13:04:57 -04:00
Julian Lam
0c1a61839e test: fix groups:find webfinger test 2025-05-29 15:08:28 -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
948bfe46f1 test: fix tests to account for a460a55064 2025-05-16 11:43:26 -04:00
Julian Lam
61f6806b6a test: a few additional tests for announce handling 2025-05-14 11:49:12 -04:00
Julian Lam
5b118904c9 test: fix regression from 5802c7ddd9 2025-05-14 11:05:10 -04:00
Julian Lam
9dc91f11a4 test: fix broken test due to adjusted note assertion relation logic 2025-05-14 11:00:56 -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
28b7a20339 lint: yup. 2025-04-29 15:13:22 -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
c2a3ef817d fix: bug where disparate ids all claiming to be the same handle were causing duplicate remote users due to collisions, #13352 2025-04-29 10:28:18 -04:00
Julian Lam
3e508d6c65 test: article for new topic, note for replies 2025-04-29 10:28:18 -04:00
Julian Lam
512f889ec2 test: missing clear ap send cache 2025-04-29 10:28:18 -04:00
Julian Lam
39fc9bae89 test: additional test for ensuring handle:uid is continually set even after re-assertion 2025-04-29 10:28:18 -04:00
Julian Lam
4d1d7c3dca fix: remote categories should not show up in a user's follow lists 2025-04-29 10:28:18 -04:00
Julian Lam
3213da1c77 fix: #13255, remote user-to-category migration should not move shares that are already in an existing cid 2025-04-29 10:28:18 -04:00
Julian Lam
c2f77cee04 test: additional test for remote category topic assertion when ignoring category 2025-04-29 10:28:17 -04:00
Julian Lam
0246c14643 fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 2025-04-29 10:28:17 -04:00
Julian Lam
ac7b7f81b3 feat: remote user to category migration should also migrate local user follows into category watches 2025-04-29 10:28:17 -04:00
Julian Lam
ee34396c71 fix: migrate topics as system user instead of uid 0 2025-04-29 10:28:17 -04:00
Julian Lam
6e374200e5 send ap follow/undo-follow if remote category watch state changes 2025-04-29 10:28:17 -04:00