Commit Graph

1732 Commits

Author SHA1 Message Date
Julian Lam
ffc33bc263 test: article for new topic, note for replies 2025-04-23 09:41:04 -04:00
Julian Lam
2fdb5db841 test: missing clear ap send cache 2025-04-23 09:41:04 -04:00
Julian Lam
881a6724ad test: additional test for ensuring handle:uid is continually set even after re-assertion 2025-04-23 09:41:04 -04:00
Julian Lam
86b5a159d7 fix: remote categories should not show up in a user's follow lists 2025-04-23 09:41:03 -04:00
Julian Lam
ca51597306 fix: #13255, remote user-to-category migration should not move shares that are already in an existing cid 2025-04-23 09:41:03 -04:00
Julian Lam
dc907bec7a test: additional test for remote category topic assertion when ignoring category 2025-04-23 09:41:03 -04:00
Julian Lam
0d77e860bf fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 2025-04-23 09:41:03 -04:00
Julian Lam
f2a1ff4077 feat: remote user to category migration should also migrate local user follows into category watches 2025-04-23 09:41:03 -04:00
Julian Lam
b10e5aa269 fix: migrate topics as system user instead of uid 0 2025-04-23 09:41:03 -04:00
Julian Lam
d2b8a7c504 send ap follow/undo-follow if remote category watch state changes 2025-04-23 09:41:03 -04:00
Julian Lam
82beaf8fd3 feat: remote group actors migrated to categories if they were previous asserted as remote users 2025-04-23 09:41:03 -04:00
Julian Lam
378c114815 test: #13255, reply to topic in remote category addresses remote category 2025-04-23 09:41:03 -04:00
Julian Lam
0dc2f618e4 feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-04-23 09:41:03 -04:00
Julian Lam
72470d6159 feat: #13255, deliver asserted topics to remote category followers 2025-04-23 09:41:03 -04:00
Julian Lam
e5c4843439 feat: #13255, add category name and handle to category search zset 2025-04-23 09:41:03 -04:00
Julian Lam
2bd474535a test: remote user pruning tests 2025-04-23 09:41:03 -04:00
Julian Lam
681ec76247 feat: integrate remote category pruning into actor pruning logic 2025-04-23 09:41:03 -04:00
Julian Lam
d7b976529a feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-04-23 09:41:03 -04:00
Julian Lam
c556f40ee3 test: introduce overrides into person and group mocks 2025-04-23 09:41:03 -04:00
Julian Lam
93a0b571f9 test: have ap helper mocks for person and group auto-save to ap cache 2025-04-23 09:41:03 -04:00
Julian Lam
d7f1860cbb test: add failing tests for actor/group assertion via wrong method, remote user to category migration 2025-04-23 09:41:03 -04:00
Julian Lam
36a2c3336d feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-04-23 09:41:03 -04:00
Julian Lam
dd030a5efb test: add tests for topics slotting into remote categories if addressed 2025-04-23 09:41:03 -04:00
Julian Lam
adf74f9e79 test: group actor assertion tests 2025-04-23 09:41:03 -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
Barış Soner Uşaklı
ec657b2715 Merge branch 'master' into develop 2025-03-09 12:13:48 -04:00
Barış Soner Uşaklı
1e6c6f4e44 fix: #13094, update unread chats on reconnect
unread topics and notifications were updated on reconnections, added chats as well
convert function to async added awaits
2025-03-09 12:03:09 -04:00
Barış Soner Uşaklı
170787aacd Merge branch 'master' into develop 2025-03-09 11:14:23 -04:00
Barış Soner Uşaklı
b517f05e90 refactor: use navAdmin 2025-03-08 00:39:46 -05:00
Barış Soner Uşaklı
1bd4087be2 Merge branch 'master' into develop 2025-03-08 00:39:14 -05:00
Barış Soner Uşaklı
0427971879 test: #13078, add nav test 2025-03-08 00:39:05 -05:00
Julian Lam
e3edfef865 feat: call announceObject on topic fork, #13215 2025-03-03 11:54:26 -05:00
Julian Lam
feb9421507 test: add failing test for #13215 2025-03-03 11:54:26 -05:00