Barış Soner Uşaklı
512b1e7296
fix: remove lowercase bidi controls as well
2026-01-20 11:17:30 -05:00
Barış Soner Uşaklı
e505e36991
fix: make translator.unescape stricter like escape
2026-01-16 13:17:02 -05:00
Barış Soner Uşaklı
b2fa7304e9
fix: closes #13887 , make translator.escape stricter
...
only match [[namespace:key]] allow underscores,dashes and dots in namespace key
add test
2026-01-16 13:00:41 -05:00
Barış Soner Uşaklı
918bb04491
test: add missing awaits, change error message
2026-01-16 12:51:11 -05:00
Barış Soner Uşaklı
57a73c4854
refactor: crossposts.get to support multiple tids
2026-01-14 18:47:52 -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
2f96eed4af
fix: guard against negative uids crossposting
2026-01-12 14:07:45 -05:00
Julian Lam
d20906b592
tests: fix... tests
2026-01-12 12:55:18 -05:00
Julian Lam
47e37ed571
test: intify uid/cid if they are numbers (when getting crossposts)
2026-01-12 12:55:18 -05:00
Julian Lam
0677689a75
test: stop using partialDeepStrictEqual for now
2026-01-12 12:55:18 -05:00
Julian Lam
add163a42d
test: ensure auto-cat and cat sync logic properly integrates with crossposts
2026-01-12 12:55:18 -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
f6cc556d37
fix: topic crosspost delete and purge handling
2026-01-12 12:55:18 -05:00
Julian Lam
0a0a7da9ba
fix: bug where privileges users could not uncrosspost others' crossposts. 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
1be88ca0ea
refactor: move crosspost methods into their own file in src/topics
2026-01-12 12:55:18 -05:00
Julian Lam
ea1e4c7dff
feat: disallow moving topics to and from remote categories, + basic tests for topic moving
2026-01-12 12:55:18 -05:00
Julian Lam
3560b6a3d0
test: new test file for crossposts
2026-01-12 12:55:18 -05:00
Julian Lam
4f1fa2d15c
test: additional logic to allow multi-typing in schema type
2026-01-12 12:55:18 -05:00
Barış Uşaklı
7b793527f9
Change owner rest route ( #13881 )
...
* fix: dont use sass-embedded on freebsd, #13867
* fix : #13715 , dont reduce hardcap if usersPerPage is < 50
* fix: closes #13872 , use translator.compile for notification text
so commas don't cause issues
* fix: remove bidiControls from notification.bodyShort
* refactor: move change owner call to rest api
deprecate socket method
* fix spec
* test: one more fix
* test: add 404
* test: fix tests :rage1:
* test: update test to use new method
2026-01-11 14:38:14 -05:00
Julian Lam
9390ccb6b0
fix: auto-enable post queue as default, adjust tests to compensate
2026-01-09 10:09:05 -05:00
Julian Lam
5954015ed7
test: fix test to check for Secure in cookie string if test runner domain is https
2026-01-09 10:09:05 -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
Barış Soner Uşaklı
2c57cb13e4
Merge branch 'master' into develop
2025-12-06 20:44:57 -05:00
Barış Soner Uşaklı
11b01dfccb
test: fix tests
2025-12-06 20:44:51 -05:00
Barış Uşaklı
6956270411
test: add a test for set db.exists ( #13809 )
...
* test: add a test for set db.exists
* delete empty sets
* test: psql
2025-12-04 18:33:55 -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
Barış Uşaklı
7d5402fe66
feat: setAddBulk ( #13805 )
...
* feat: setAddBulk
add some tests
* fix: sAdd with value array on redis
2025-12-03 18:18:14 -05:00
Julian Lam
d8e55d58de
fix: use setsAdd
2025-12-03 15:21:49 -05:00
Julian Lam
2968772287
chore: allow direct testing in test/categories.js
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
Barış Soner Uşaklı
6cd8a7c740
Merge branch 'master' into develop
2025-11-20 09:14:51 -05:00
Barış Soner Uşaklı
af477d0c2d
fix: update validator dep. to get fix for CVE-2025-56200
...
https://nvd.nist.gov/vuln/detail/CVE-2025-56200
2025-11-20 09:02:17 -05:00
Barış Soner Uşaklı
50951d5db5
Merge branch 'master' into develop
2025-11-13 12:25:24 -05:00
Julian Lam
3a81f90322
fix: make i18n test failure message easier to read
2025-11-06 15:51:23 -05:00
Julian Lam
98a1101d40
test: update test for toPid logic to reflect that toPid stays even if parent is purged
2025-10-31 09:44:06 -04:00
Julian Lam
30b1212a0a
fix: relax toPid assertion checks so that it only checks that it is a number or uri
2025-10-29 15:18:19 -04:00
Barış Soner Uşaklı
430a3e8113
test: add test for #13729
2025-10-24 11:12:20 -04:00
Julian Lam
39e5b8fec3
Merge branch 'master' into develop
2025-10-01 13:51:11 -04:00