Commit Graph

29836 Commits

Author SHA1 Message Date
Julian Lam
aa452a3b41 test: additional test for remote category topic assertion when ignoring category 2025-03-28 12:25:40 -04:00
Julian Lam
58580d4e48 fix: topics in remote categories showing up in /recent 2025-03-28 12:25:40 -04:00
Julian Lam
1a27a36c42 fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 2025-03-28 12:25:40 -04:00
Barış Soner Uşaklı
71d93d1754 dont make db call if ap disabled 2025-03-28 12:25:40 -04:00
Barış Soner Uşaklı
e256fbe052 refactor: use promise.all 2025-03-28 12:25:40 -04:00
Barış Soner Uşaklı
2bd5293a3a fix: spread fail, @julianlam
add ap check
2025-03-28 12:25:40 -04:00
Julian Lam
700f91c44a feat: remote user to category migration should also migrate local user follows into category watches 2025-03-28 12:25:40 -04:00
Julian Lam
ca934de55a fix: filter out non-asserted targets when sending ap messages, diff. getter method when passed-in ID is a remote category 2025-03-28 12:25:40 -04:00
Julian Lam
c6d7fcdeaf fix: tag whitelist check socket call for remote categories 2025-03-28 12:25:40 -04:00
Julian Lam
17a107d1d5 feat: allowing manual group assertion via category search input 2025-03-28 12:25:40 -04:00
Julian Lam
452eaff723 fix: migrate topics as system user instead of uid 0 2025-03-28 12:25:40 -04:00
Julian Lam
0387be7782 send ap follow/undo-follow if remote category watch state changes 2025-03-28 12:25:40 -04:00
Julian Lam
1686fb2c63 feat: remote group actors migrated to categories if they were previous asserted as remote users 2025-03-28 12:25:40 -04:00
Julian Lam
502de25136 fix: do not send out ap (undo:)follow if local user or category is (not)already following 2025-03-28 12:25:40 -04:00
Julian Lam
d5c27043ac test: #13255, reply to topic in remote category addresses remote category 2025-03-28 12:25:40 -04:00
Julian Lam
38b82acfbc feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-03-28 12:25:40 -04:00
Julian Lam
77bd92d55e fix: allow category controller to respond also by remote category id 2025-03-28 12:25:40 -04:00
Julian Lam
936ea55516 feat: #13255, deliver asserted topics to remote category followers 2025-03-28 12:25:40 -04:00
Julian Lam
0ceb1a6965 fix: #13255, update category search logic to allow for remote categories 2025-03-28 12:25:40 -04:00
Julian Lam
5c94ec4d14 feat: #13255, add category name and handle to category search zset 2025-03-28 12:25:40 -04:00
Julian Lam
4b19c18d51 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-03-28 12:25:40 -04:00
Julian Lam
b60c28c3fa test: remote user pruning tests 2025-03-28 12:25:40 -04:00
Julian Lam
131a8c948b feat: integrate remote category pruning into actor pruning logic 2025-03-28 12:25:40 -04:00
Julian Lam
124c493000 feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-03-28 12:25:40 -04:00
Julian Lam
d97d150939 fix: delete shares zset on account deletion 2025-03-28 12:25:40 -04:00
Julian Lam
bbd638c5f6 test: introduce overrides into person and group mocks 2025-03-28 12:25:40 -04:00
Julian Lam
345c600a96 test: have ap helper mocks for person and group auto-save to ap cache 2025-03-28 12:25:40 -04:00
Julian Lam
9614ef17ae test: add failing tests for actor/group assertion via wrong method, remote user to category migration 2025-03-28 12:25:40 -04:00
Julian Lam
3fbb805721 feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-03-28 12:25:40 -04:00
Julian Lam
9de9e4e9d8 test: add tests for topics slotting into remote categories if addressed 2025-03-28 12:25:40 -04:00
Julian Lam
83fd49fe0d test: group actor assertion tests 2025-03-28 12:25:40 -04:00
Julian Lam
c607e8928e refactor: allow topics to be asserted directly into a remote category, or -1 otherwise 2025-03-28 12:25:40 -04:00
Julian Lam
9417e491bb feat: also include category in to field when mocking post for federation 2025-03-28 12:25:40 -04:00
Julian Lam
aab3a62b25 refactor: ability to browse to remote categories, group actor assertion logic, etc. -- no logic to assign topics to remote categories yet 2025-03-28 12:25:40 -04:00
Julian Lam
48ba372cc5 revert: use of vanity domains, needs rethinking. Originally added in 709a02d97a 2025-03-28 12:25:40 -04:00
renovate[bot]
28ec8a79c0 fix(deps): update dependency satori to v0.12.2 (#13280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 21:48:35 -04:00
Barış Soner Uşaklı
b1cfe9cbd4 Merge branch 'master' into develop 2025-03-27 11:59:05 -04:00
Barış Soner Uşaklı
d161eb6f6c chore: up harmony 2025-03-27 11:57:21 -04:00
Barış Soner Uşaklı
34de970fbe Merge branch 'master' into develop 2025-03-27 11:43:42 -04:00
Barış Soner Uşaklı
2237e17a12 chore: up persona 2025-03-27 11:43:35 -04:00
Barış Soner Uşaklı
389bc062e3 feat: body-parser-2.x test (#13278)
* feat: body-parser-2.x test

* fix req.body
2025-03-27 11:29:37 -04:00
renovate[bot]
57819810ce fix(deps): update dependency cron to v4.1.1 (#13276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 10:02:55 -04:00
renovate[bot]
40ecffa0bd fix(deps): update dependency nodebb-plugin-composer-default to v10.2.49 (#13272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 10:01:23 -04:00
Barış Soner Uşaklı
635d0e605b Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2025-03-27 09:50:50 -04:00
Barış Soner Uşaklı
352c42d8db lint: fix typo 2025-03-27 09:50:46 -04:00
renovate[bot]
5b40c14927 fix(deps): update dependency nodebb-theme-harmony to v2.0.42 (#13274)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 09:48:19 -04:00
Julian Lam
4bbe27d44c fix: on user deletion during assertion (due to 410), if delete fails, just run ap post-deletion to clean up 2025-03-26 13:45:30 -04:00
Julian Lam
7d32cdacb2 fix(deps): bump mentions 2025-03-26 12:01:26 -04:00
Misty Release Bot
c5a1239eba Latest translations and fallbacks 2025-03-26 09:20:35 +00:00
Barış Soner Uşaklı
9637abcaa1 refactor: remove spammy error log 2025-03-25 18:25:35 -04:00