Commit Graph

29944 Commits

Author SHA1 Message Date
Julian Lam
4fa8581704 fix: missing dep 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
2f480e37ad fix: topics in remote categories showing up in /recent 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
Barış Soner Uşaklı
70dac3aede dont make db call if ap disabled 2025-04-23 09:41:03 -04:00
Barış Soner Uşaklı
00cd1817f6 refactor: use promise.all 2025-04-23 09:41:03 -04:00
Barış Soner Uşaklı
6a1edf6098 fix: spread fail, @julianlam
add ap check
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
4d6de2d174 fix: filter out non-asserted targets when sending ap messages, diff. getter method when passed-in ID is a remote category 2025-04-23 09:41:03 -04:00
Julian Lam
8763d80d98 fix: tag whitelist check socket call for remote categories 2025-04-23 09:41:03 -04:00
Julian Lam
f477d12555 feat: allowing manual group assertion via category search input 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
f012b44d11 fix: do not send out ap (undo:)follow if local user or category is (not)already following 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
5ada2dd234 fix: allow category controller to respond also by remote category id 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
e15e4d354f fix: #13255, update category search logic to allow for remote categories 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
fbedd7290a refactor: categories.sortTidsBySet to not take cid, retrieve from tids themselves
re: ##13255, this fixes the issue with topics outside of cid -1 in /world being sorted incorrectly
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
5ced4898bc fix: delete shares zset on account deletion 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
Julian Lam
71e937b939 refactor: allow topics to be asserted directly into a remote category, or -1 otherwise 2025-04-23 09:41:03 -04:00
Julian Lam
ff1b7a0faa feat: also include category in to field when mocking post for federation 2025-04-23 09:41:03 -04:00
Julian Lam
76b2cf56a5 refactor: ability to browse to remote categories, group actor assertion logic, etc. -- no logic to assign topics to remote categories yet 2025-04-23 09:41:03 -04:00
Julian Lam
6a363edf9d revert: use of vanity domains, needs rethinking. Originally added in 709a02d97a 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ış Uşaklı
b57ce29dc6 chore: up pg, pg-cursor (#13351)
* chore: up pg, pg-cursor

* test: check file directly
2025-04-22 13:32:41 -04:00
Barış Soner Uşaklı
1a3e669b6f Merge branch 'master' into develop 2025-04-22 12:38:25 -04:00
Misty Release Bot
ce196589f5 chore: update changelog for v4.2.2 2025-04-22 16:33:51 +00:00
Misty Release Bot
a8bb46996b chore: incrementing version number - v4.2.2 v4.2.2 2025-04-22 16:33:51 +00:00
Barış Soner Uşaklı
71cd46e132 Merge branch 'master' into develop 2025-04-22 11:46:43 -04:00
Barış Soner Uşaklı
42a5a127b6 fix: escape displayname in topic events 2025-04-22 11:46:03 -04:00
Barış Soner Uşaklı
e2543abb59 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2025-04-22 11:24:58 -04:00
renovate[bot]
bee79784cf chore(deps): update dependency sass-embedded to v1.87.0 (#13347)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 09:52:10 -04:00
renovate[bot]
50a58bbc03 fix(deps): update dependency sass to v1.87.0 (#13348)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 09:51:59 -04:00
Misty Release Bot
92f7f2305f Latest translations and fallbacks 2025-04-22 09:19:47 +00:00
renovate[bot]
25e4e844d9 chore(deps): update dependency @eslint/js to v9.25.1 (#13344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-21 18:54:15 -04:00
renovate[bot]
8d84206f5b fix(deps): update dependency connect-redis to v8.0.3 (#13345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-21 18:54:05 -04:00