Commit Graph

1751 Commits

Author SHA1 Message Date
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
Barış Soner Uşaklı
f88f99b7a2 Merge branch 'master' into develop 2025-05-12 10:29:45 -04:00
Barış Soner Uşaklı
16504bad81 fix: sql injection in sortedSetScan 2025-05-12 10:02:59 -04:00
Barış Soner Uşaklı
285d438cb3 fix: escape flag filters 2025-05-12 09:30:33 -04:00
Barış Soner Uşaklı
4245575e09 Merge branch 'master' into develop 2025-05-07 19:06:01 -04:00
Barış Soner Uşaklı
a819d39c31 test: update filter:router.page tests to response:router.page 2025-05-07 12:42:22 -04:00
Julian Lam
52df41b906 test: adjustment for now-removed labels property 2025-05-06 15:13:29 -04:00
Barış Soner Uşaklı
31af05c75a test: fix android test 2025-05-05 11:09:53 -04:00
Barış Soner Uşaklı
25979294e1 test: fix android test 2025-05-05 11:00:30 -04:00
Barış Soner Uşaklı
7ef79981dd test: fix a test 2025-05-05 10:57:43 -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
Julian Lam
d19f692b8d feat: remote group actors migrated to categories if they were previous asserted as remote users 2025-04-29 10:28:17 -04:00
Julian Lam
85e7c1a20d test: #13255, reply to topic in remote category addresses remote category 2025-04-29 10:28:17 -04:00
Julian Lam
b8c531d53d feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-04-29 10:28:17 -04:00
Julian Lam
9c1d5cd36e feat: #13255, deliver asserted topics to remote category followers 2025-04-29 10:28:17 -04:00
Julian Lam
876d1b0414 feat: #13255, add category name and handle to category search zset 2025-04-29 10:28:17 -04:00
Julian Lam
53dc79a1bd test: remote user pruning tests 2025-04-29 10:28:17 -04:00
Julian Lam
9b5855f79d feat: integrate remote category pruning into actor pruning logic 2025-04-29 10:28:17 -04:00
Julian Lam
4be0f73ace feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-04-29 10:28:17 -04:00
Julian Lam
4f7481582c test: introduce overrides into person and group mocks 2025-04-29 10:28:17 -04:00
Julian Lam
80069a198c test: have ap helper mocks for person and group auto-save to ap cache 2025-04-29 10:28:17 -04:00
Julian Lam
afc4764358 test: add failing tests for actor/group assertion via wrong method, remote user to category migration 2025-04-29 10:28:17 -04:00
Julian Lam
f483e883a7 feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-04-29 10:28:17 -04:00
Julian Lam
804052f272 test: add tests for topics slotting into remote categories if addressed 2025-04-29 10:28:17 -04:00
Julian Lam
ca9a5b6dfb test: group actor assertion tests 2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
a5afad27e5 feat: chat allow/deny list, closes #13359 2025-04-25 11:54:11 -04:00
Barış Soner Uşaklı
e0235a1e94 test: shorter test 2025-04-22 17:22:01 -04:00
Barış Soner Uşaklı
f864a5a4ac test: eslint for tests 2025-04-22 17:15:48 -04:00
Barış Soner Uşaklı
92d6e0220b refactor: switch eslint configs to esm
add rules from https://eslint.style/
refactor for in loops to use Object.entries
2025-04-18 21:57:12 -04:00
Julian Lam
5d94f2cad4 test: fix test expecting Note when it is now Article 2025-04-15 10:06:04 -04:00
Barış Soner Uşaklı
3526c937cc fix: tag urls getting double escaped (#13306)
* fix: tag urls getting double escaped

get rid of weird decodeURIComponent($.param()) usage
$.param returns a string suitable for use in query param string

* add a new test
2025-04-07 13:23:22 -04:00
Barış Soner Uşaklı
3ad6ee075b Thumb uploads/post uploads normalization (#13300)
* testing thumn/post upload refactor

* fix: isOrphan check

* lint: fix md5

* test: fix upload test

* user

* fix: upgrade script

* refactor: long line

* lint: lint

* test: fix tests

* Squashed commit of the following:

commit cd70e6c610
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Fri Apr 4 09:24:54 2025 -0400

    fix: req.body can be undefined

* refactor: show data on test fail

* test: logs

* test: change test

* make sure timestamps are different
2025-04-04 10:45:05 -04:00
Barış Soner Uşaklı
34de970fbe Merge branch 'master' into develop 2025-03-27 11:43:42 -04:00