Commit Graph

15536 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
28fafcdc56 retrt e11000 in incrObjectField 2026-03-27 11:48:45 -04:00
Barış Soner Uşaklı
837d984b84 refactor: some cleanup of dbal code 2026-03-27 11:24:43 -04:00
Barış Soner Uşaklı
202a99bb48 perf: use $or instead of double $in, in sortedSetIncrByBulk 2026-03-27 10:29:02 -04:00
Julian Lam
4d3211caba fix: regression where topic moves during Announce(Create(Note)) stopped working, added test for #14040, fix broken AP test helper mock 2026-03-26 12:04:56 -04:00
Julian Lam
781ed3447b feat: track user cids (#14114)
* feat: start tracking which cids a user has posted to, update account pages' topics/posts view to call this new sorted set

re: #14113

* feat: upgrade script for #14113

* fix: cids unavailable in getPostsFields, duh

* fix: update sortedSetIncrByBulk in mongo/psql to return early on empty data

* fix: remove unused lodash require

* test: sortedSetIncrBy and sortedSetIncrByBulk tests

* test: who needs null checks anyway

* fix: sortedSetIncrByBulk null response

* test: aggregate zincrbulk data

if there are alot of identical key/value pairs they will be combined into a single row

* fix: key name

* test: fix test name

* lint: fix lint issues

* test: negative values should work too

* fix: add e11000 handler for incrByBulk

* refactor: fix variable name

* merge tests with existing zset test, remove dupes

* test: return topicData for failing test

* delete uid:<uid>:cids on user delete

---------

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2026-03-26 10:30:28 -04:00
Julian Lam
24bd002996 fix: avoid db calls in upgrade scripts, just add blocklists to db, no refresh 2026-03-25 15:19:20 -04:00
Barış Soner Uşaklı
d290aa563e lint: remove unused 2026-03-25 13:21:17 -04:00
Barış Soner Uşaklı
96e1033a0c Merge branch 'master' into develop 2026-03-25 13:21:01 -04:00
Barış Soner Uşaklı
82d380a38d fix: ./nodebb upgrade on windows 2026-03-25 12:51:44 -04:00
Julian Lam
78bdc4a102 refactor: use topic data returned from getSortedTopics instead of getting topic data twice lol 2026-03-25 12:04:28 -04:00
Julian Lam
4b7be68d1b feat: Third-party blocklists (#14115)
* feat: third-party blocklists

* docs: openapi routes for blocklist routes

* fix: handle null blocklists check
2026-03-25 11:31:50 -04:00
Barış Soner Uşaklı
ad5af5f50b Merge branch 'master' into develop 2026-03-25 10:21:36 -04:00
Barış Soner Uşaklı
72f48fd9c4 fix: #14123, aria-hidden fixes
add aria-labels
2026-03-25 10:21:24 -04:00
Barış Soner Uşaklı
a10471fce7 fix: #14121, use normalizedPath when uploading
add test for normalize
2026-03-24 12:43:57 -04:00
Julian Lam
38901c0f02 fix: move AP pageviews middleware down the chain, after s2s assertion and http sig verification, so as to truly count AP requests 2026-03-23 11:25:27 -04:00
Barış Soner Uşaklı
52e42685e8 fix: key name 2026-03-23 11:24:05 -04:00
Barış Soner Uşaklı
cb4b6432dd Merge branch 'master' into develop 2026-03-23 10:03:19 -04:00
Barış Soner Uşaklı
9bcef6b5ea fix: #14116, don't return ban reason if login credentials are incorrect 2026-03-23 09:43:15 -04:00
Barış Soner Uşaklı
43e7f0abb9 feat: add email share 2026-03-22 21:25:43 -04:00
Julian Lam
f5e2a0f49a fix: #14112, federation/rules and relays ACP pages not refreshing table properly on changes, basic form validation 2026-03-20 11:16:07 -04:00
Julian Lam
ebe709da89 fix: call syncfollowcounts on unfollow as well 2026-03-19 11:36:28 -04:00
Julian Lam
44e78e4775 fix: sync follow counts on local and remote follows, #14105 2026-03-18 12:13:50 -04:00
Julian Lam
cc606677cb fix: cold load redirect should only affect guests 2026-03-18 11:09:08 -04:00
Julian Lam
58d3aa77cd feat: add /world as a potential home page route 2026-03-18 10:28:54 -04:00
Julian Lam
35c03e5c8e fix: issue where initial quickcreate post wouldn't go to the right cid 2026-03-17 12:11:24 -04:00
Barış Soner Uşaklı
902533db06 fix: delete cid:<cid>:privilegeMask on category.purge 2026-03-17 11:56:31 -04:00
Barış Soner Uşaklı
779a372fc5 test: add missing selectedCategory to world.yaml
fix url of plugins that are missing it in plugin.json and look for repository.url for backup
2026-03-16 20:31:24 -04:00
Julian Lam
2f5021e547 feat: add category selector to /world quick composer 2026-03-16 15:34:47 -04:00
Julian Lam
5328662510 fix: removing topic tools/checkbox from /world for guests, reword guest CTA in /world 2026-03-16 14:55:31 -04:00
Julian Lam
67a93da507 fix: add back 'after' query param handling in /world that was removed accidentally 2026-03-16 13:50:45 -04:00
Julian Lam
44e65b8d73 feat: ability to show only local posts in /world 2026-03-16 13:34:04 -04:00
Barış Soner Uşaklı
ec4e87ff84 chore: up harmony
change group description to a textarea
2026-03-15 14:23:01 -04:00
Barış Soner Uşaklı
09de6fb9ae perf: switch to set, remove parseFloat in redis
add test to cover float
2026-03-14 17:39:43 -04:00
Barış Soner Uşaklı
6c3daebbce update fix_username_zsets upgrade script
to show progress while deleting
2026-03-13 19:53:35 -04:00
Barış Uşaklı
533ae69c46 feat: allow 3 profile pics (#14092)
* feat: allow 3 profile pics

* test: fix notification test

* test: fix user picture test

* test: relative_path fixes

* fix: relative_path getting saved in when updating profile pic
2026-03-13 18:42:50 -04:00
Julian Lam
1aa5ca8852 fix: restore guest access to /world, default to latest(all) 2026-03-13 13:52:19 -04:00
Julian Lam
1af835641e fix: restored popular calculation behaviour that was broken by e2131d1d2e, removed followingOnly arg passing for popular 2026-03-13 13:19:32 -04:00
Julian Lam
e2131d1d2e refactor: /world sorting logic to always use topics/sorted logic
- New params for getSortedTopics (includeRemote, followingOnly)
- Ability to show latest (followers only) or latest (all), ?all query param to discriminate
- World now always shows posts from the local forum
- Popular sort will be followers-only + local
2026-03-13 12:41:55 -04:00
Barış Soner Uşaklı
f2bca33262 perf: move out nconf.get and isClientScript regex 2026-03-12 22:13:38 -04:00
Barış Soner Uşaklı
40fecd01f3 fix: type 2026-03-12 22:04:48 -04:00
Barış Soner Uşaklı
6147a4d082 fix: merged chat notifications if all the messages are from the same user
usernames.length ends up being 1 so need to use default translation string and not -dual/-triple/-multiple variants
2026-03-12 22:02:03 -04:00
Barış Soner Uşaklı
4fef1b4f9d increase analytics 404 2026-03-12 15:50:33 -04:00
Julian Lam
75a6dfffdc feat: screenshot upload in ACP, send fallback brand icons in manifest, serve assets for richer PWA install UI 2026-03-12 14:28:26 -04:00
Barış Soner Uşaklı
7903d17418 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2026-03-12 13:27:23 -04:00
Barış Soner Uşaklı
36bf3f16ca refactor: move to data 2026-03-12 13:27:18 -04:00
Julian Lam
a8f081c078 fix: buildRecipients to handle if local uids are passed in followers 2026-03-12 13:20:19 -04:00
Barış Soner Uşaklı
dde2465811 use regular random 2026-03-12 13:11:07 -04:00
Barış Soner Uşaklı
e2808be1bc drop 50 to 10 for actors prune 2026-03-12 13:05:19 -04:00
Barış Soner Uşaklı
cdc92f1024 don't build bodyClass twice when rendering 404
its already called in res.render
2026-03-12 13:03:13 -04:00
Barış Soner Uşaklı
f00784fb94 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2026-03-12 12:49:47 -04:00