Commit Graph

29879 Commits

Author SHA1 Message Date
Julian Lam
f91c3a7e0b fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 2025-04-09 10:43:18 -04:00
Barış Soner Uşaklı
0704988218 dont make db call if ap disabled 2025-04-09 10:43:18 -04:00
Barış Soner Uşaklı
fb993c8a55 refactor: use promise.all 2025-04-09 10:43:18 -04:00
Barış Soner Uşaklı
223d70550c fix: spread fail, @julianlam
add ap check
2025-04-09 10:43:18 -04:00
Julian Lam
8d6d1856ae feat: remote user to category migration should also migrate local user follows into category watches 2025-04-09 10:43:18 -04:00
Julian Lam
93eb31c98d fix: filter out non-asserted targets when sending ap messages, diff. getter method when passed-in ID is a remote category 2025-04-09 10:43:18 -04:00
Julian Lam
e86a75219b fix: tag whitelist check socket call for remote categories 2025-04-09 10:43:18 -04:00
Julian Lam
59ccb2cc76 feat: allowing manual group assertion via category search input 2025-04-09 10:43:18 -04:00
Julian Lam
540af998a4 fix: migrate topics as system user instead of uid 0 2025-04-09 10:43:18 -04:00
Julian Lam
edc6708c68 send ap follow/undo-follow if remote category watch state changes 2025-04-09 10:43:18 -04:00
Julian Lam
dba791df6f feat: remote group actors migrated to categories if they were previous asserted as remote users 2025-04-09 10:43:18 -04:00
Julian Lam
c6cacdbd49 fix: do not send out ap (undo:)follow if local user or category is (not)already following 2025-04-09 10:43:18 -04:00
Julian Lam
9c74683b33 test: #13255, reply to topic in remote category addresses remote category 2025-04-09 10:43:18 -04:00
Julian Lam
3ff3403593 feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-04-09 10:43:18 -04:00
Julian Lam
ef0c48bcda fix: allow category controller to respond also by remote category id 2025-04-09 10:43:17 -04:00
Julian Lam
e06ddaddf5 feat: #13255, deliver asserted topics to remote category followers 2025-04-09 10:43:17 -04:00
Julian Lam
40ac3df69f fix: #13255, update category search logic to allow for remote categories 2025-04-09 10:43:17 -04:00
Julian Lam
6f630d76c2 feat: #13255, add category name and handle to category search zset 2025-04-09 10:43:17 -04:00
Julian Lam
b278e8a4ea 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-09 10:43:17 -04:00
Julian Lam
87d2534a4b test: remote user pruning tests 2025-04-09 10:43:17 -04:00
Julian Lam
d3a846e877 feat: integrate remote category pruning into actor pruning logic 2025-04-09 10:43:17 -04:00
Julian Lam
d0e0ce2931 feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-04-09 10:43:17 -04:00
Julian Lam
05d28c02c2 fix: delete shares zset on account deletion 2025-04-09 10:43:17 -04:00
Julian Lam
37b60f0aaa test: introduce overrides into person and group mocks 2025-04-09 10:43:17 -04:00
Julian Lam
ea1df8850d test: have ap helper mocks for person and group auto-save to ap cache 2025-04-09 10:43:17 -04:00
Julian Lam
df233345a7 test: add failing tests for actor/group assertion via wrong method, remote user to category migration 2025-04-09 10:43:17 -04:00
Julian Lam
ff839213e4 feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-04-09 10:43:17 -04:00
Julian Lam
de16003336 test: add tests for topics slotting into remote categories if addressed 2025-04-09 10:43:17 -04:00
Julian Lam
24114d52ba test: group actor assertion tests 2025-04-09 10:43:17 -04:00
Julian Lam
91cebe651a refactor: allow topics to be asserted directly into a remote category, or -1 otherwise 2025-04-09 10:43:17 -04:00
Julian Lam
1b3673da7a feat: also include category in to field when mocking post for federation 2025-04-09 10:43:17 -04:00
Julian Lam
244ce8d70e refactor: ability to browse to remote categories, group actor assertion logic, etc. -- no logic to assign topics to remote categories yet 2025-04-09 10:43:17 -04:00
Julian Lam
3f7c8678a3 revert: use of vanity domains, needs rethinking. Originally added in 709a02d97a 2025-04-09 10:43:17 -04:00
renovate[bot]
41be539fb8 chore(deps): update dependency @eslint/js to v9.24.0 (#13310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 09:35:11 -04:00
renovate[bot]
140440ccbf fix(deps): update dependency webpack to v5.99.5 (#13312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 09:34:51 -04:00
Misty Release Bot
dcb2e9b997 Latest translations and fallbacks 2025-04-09 09:20:04 +00:00
renovate[bot]
5fa09a6756 fix(deps): update dependency cron to v4.1.4 (#13307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 11:52:40 -04:00
renovate[bot]
6f3e985397 fix(deps): update dependency nodebb-theme-persona to v14.1.2 (#13311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 11:52:25 -04:00
renovate[bot]
9905e6aa73 fix(deps): update dependency nodebb-theme-harmony to v2.1.3 (#13309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 11:52:13 -04:00
renovate[bot]
4b511546d2 fix(deps): update dependency bootswatch to v5.3.5 (#13308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 11:51:54 -04:00
Misty Release Bot
b1e95bc637 chore(i18n): fallback strings for new resources: nodebb.error 2025-04-08 13:30:42 +00:00
Barış Soner Uşaklı
b49a4586cf fix: closes #13313, add error:post-deleted 2025-04-08 09:30:16 -04:00
renovate[bot]
22b3dc656e fix(deps): update dependency bootstrap to v5.3.5 (#13304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 16:54:34 -04:00
Barış Soner Uşaklı
52ca086b83 fix: upgrade script 2025-04-07 13:56:04 -04:00
Barış Soner Uşaklı
021b3af04a refactor: remove debug log 2025-04-07 13:23:46 -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ı
bf243e0778 fix: notifications.markAllRead
so that it actually marks all notifications read instead of the most recent 100. if you had more than 100 unread it required clicking multiple times.

also don't use markReadMultiple since we are clearing them all.
2025-04-07 10:05:27 -04:00
Misty Release Bot
8dd98206db Latest translations and fallbacks 2025-04-07 09:19:46 +00:00
renovate[bot]
70e788ba05 fix(deps): update dependency sass to v1.86.3 (#13302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 14:03:25 -04:00
renovate[bot]
cd2ed209a0 fix(deps): update dependency spdx-license-list to v6.10.0 (#13303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 14:02:55 -04:00