Commit Graph

29861 Commits

Author SHA1 Message Date
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
Barış Soner Uşaklı
c93dc5897a refactor: break long line 2025-04-04 11:47:24 -04:00
renovate[bot]
0bd4394093 chore(deps): update dependency sass-embedded to v1.86.3 (#13301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 11:11:00 -04:00
Barış Soner Uşaklı
c41c7e8a03 fix: posts.uploads.usage since paths changed 2025-04-04 11:04:09 -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ı
cd70e6c610 fix: req.body can be undefined 2025-04-04 09:24:54 -04:00
renovate[bot]
d9074dbc41 fix(deps): update dependency bootstrap to v5.3.4 (#13299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 17:16:47 -04:00
Barış Soner Uşaklı
bbfd64457d fix: closes #13298, catch exceptions in webfinger and nodeinfo 2025-04-03 12:57:49 -04:00
Barış Soner Uşaklı
a6839b6149 refactor: only write to db on runJobs processes
similart to analytics.js
2025-04-03 12:52:02 -04:00
Barış Soner Uşaklı
667367a68f refactor: use bulk increment 2025-04-03 11:53:48 -04:00
renovate[bot]
dd3d1917d1 fix(deps): update dependency nodebb-plugin-mentions to v4.7.3 (#13294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 11:13:07 -04:00
renovate[bot]
dfd2621ebd fix(deps): update dependency bootbox to v6.0.2 (#13293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 11:12:51 -04:00
renovate[bot]
fdcd2a84a4 chore(deps): update dependency sass-embedded to v1.86.2 (#13291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 11:10:21 -04:00
renovate[bot]
1a763cbbf2 fix(deps): update dependency sass to v1.86.2 (#13295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 11:10:04 -04:00
renovate[bot]
311cbec222 fix(deps): update dependency benchpressjs to v2.5.5 (#13292)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 10:40:11 -04:00
renovate[bot]
5caadd2d50 fix(deps): update dependency nodebb-theme-harmony to v2.1.0 (#13296)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 10:39:58 -04:00
Barış Soner Uşaklı
bc8126c7c0 chore: up dbsearch 2025-04-03 10:18:34 -04:00
renovate[bot]
e6a021760d fix(deps): update dependency esbuild to v0.25.2 (#13284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 09:54:27 -04:00
renovate[bot]
c46c262330 fix(deps): update dependency cron to v4.1.3 (#13282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 09:54:04 -04:00