Commit Graph

1740 Commits

Author SHA1 Message Date
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
Barış Soner Uşaklı
e722e86956 refactor: get rid of async.parallel 2025-03-24 10:22:27 -04:00
Barış Soner Uşaklı
807a8c66db fix: race condition in test 2025-03-22 12:12:35 -04:00
Barış Soner Uşaklı
6813664120 feat: testing eslint9 (#13266)
* feat: testing eslint9

* fix: restore original functionality
2025-03-22 11:21:49 -04:00
Barış Soner Uşaklı
8ee69f5169 Merge branch 'master' into develop 2025-03-18 21:22:15 -04:00
Barış Soner Uşaklı
8982923e41 test: add url/statusCode to failing test 2025-03-18 21:22:07 -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
Barış Soner Uşaklı
f9ce92df98 Merge branch 'master' into develop 2025-03-10 17:59:58 -04:00
Barış Soner Uşaklı
76896859fa fix: check if folder exists when uploading files in acp 2025-03-10 16:49:40 -04:00