Commit Graph

116 Commits

Author SHA1 Message Date
Julian Lam
a99f1237b8 test: add type determination tests for Mocks.notes.public based on generatedTitle flag
Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>
2026-04-20 14:30:17 -04:00
Julian Lam
d724207eaa test: fix up more ap tests 2026-04-20 14:05:59 -04:00
Julian Lam
f631c8b62a fix: returned object type in ap test 2026-04-20 14:02:32 -04:00
Julian Lam
0a9121eff2 fix: fix db require in ap analytics test 2026-04-17 10:04:31 -04:00
Julian Lam
80589eb69c fix: more surprising shit from AI written test file 2026-04-14 13:39:41 -04:00
Julian Lam
b7ba11259e fix: qwen's shitty test suite 2026-04-14 12:59:33 -04:00
Julian Lam
30774a8424 test: activitypub third-party blocklists 2026-04-13 12:55:35 -04:00
Julian Lam
490963fbc2 fix: changed args in activitypub.sign 2026-04-09 20:15:42 -04:00
Julian Lam
5f5fa0930d fix: failing test due to expected thrown exception 2026-04-09 20:15:42 -04:00
Julian Lam
8547fa9e48 fix: broken test 2026-03-27 11:06:26 -04:00
Julian Lam
25fb2969cf test: remove leftover .only 2026-03-27 10:50:12 -04:00
Julian Lam
4d3211caba fix: regression where topic moves during Announce(Create(Note)) stopped working, added test for #14040, fix broken AP test helper mock 2026-03-26 12:04:56 -04:00
Julian Lam
8ca34e74bd fix: improve idempotency of ap test 2026-03-19 12:02:26 -04:00
Barış Soner Uşaklı
25f6088f52 test: fix test maybe 2026-03-11 22:53:38 -04:00
Julian Lam
8cba65cd29 test: added test to ensure that Likes do not get processed when privilege is rescinded
closes #14019
2026-03-02 14:39:32 -05:00
Julian Lam
06e0bd6a12 test: break apart inbox handling tests to its own file in test/activitypub 2026-03-02 13:55:48 -05:00
Julian Lam
29111ba7ca fix: allow break string and summary limits to be defined and applied 2026-02-26 15:43:09 -05:00
Julian Lam
b460506e4d fix: don't show magic break string in regularly parsed posts, tests for ap mocks lib 2026-02-26 12:32:24 -05:00
Julian Lam
560ad81f32 feat: remote account banning, #13904 2026-01-19 14:42:13 -05:00
Julian Lam
6eea4df5ef fix: #13888, decode html entities for AP category name and description 2026-01-13 10:36:03 -05:00
Julian Lam
28249efbe6 fix: remove old remote user to remote category migration logic + tests 2026-01-12 12:55:18 -05:00
Julian Lam
947676efac test: crossposting behaviour and logic tests 2026-01-12 12:55:18 -05:00
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