Commit Graph

15412 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
f6f51f83c4 perf: make a single round trip for set(s)Remove
use bulkWrite
2026-03-10 11:01:01 -04:00
Barış Soner Uşaklı
92fcdd09ca fix: closes #14074, only return url & name
from uploads, add tests to post uploads and thumb uploads to check only name & url is returned
2026-03-10 10:46:17 -04:00
Barış Soner Uşaklı
a391d01d30 fix: closes #14073, fix teasers from child categories
add a test
2026-03-10 09:49:23 -04:00
Barış Soner Uşaklı
a3821ff7f4 handle extensions 2026-03-09 21:33:39 -04:00
Barış Soner Uşaklı
7d4cbf8667 dont log uuids in 404 2026-03-09 21:24:27 -04:00
Barış Soner Uşaklı
4af031398c refactor: get rid of pop 2026-03-09 19:42:08 -04:00
Barış Soner Uşaklı
c4e9e1cbf0 perf: cache groups:createtime
when deleting users, each user.delete() was loading groups:createtime
2026-03-09 19:34:25 -04:00
Barış Soner Uşaklı
4fa44da667 get rid of verbose logs 2026-03-09 13:53:13 -04:00
Barış Soner Uşaklı
8ec1ccccfe fix: promises in groups.leave
speed up user.delete

user.delete calls `groups.leaveAllGroups` which calls rejectMembership with 500+ groups. This function then tries to remove the user from `group:<group>:pending` and `group:<group>:invited` sets so a total for 1k sets. You can't be invited or request membership to privilege groups so filter the groups before sending to rejectMembership

clearGroupTitleIfSet function tries to remove the group title from the user. It was only skipping privilege groups and registered-users, but unverified-users & verified users weren't added to the check

Messaging.leaveRooms, make a single call to isUserInRoom and passing an array of roomIds

In user.delete, check utils.isNumber(uid) once.

Call deleteVotes/deleteChats/revokeAllSessions in Promise.all

If user is local dont call activitypub.actors.remove(), this saves a db call to `await db.isSortedSetMember('usersRemote:lastCrawled', id);`
2026-03-09 13:47:26 -04:00
Barış Soner Uşaklı
02b064923b feat: add mastodon share, closes #14069 2026-03-08 20:12:34 -04:00
Barış Soner Uşaklı
4aea3a8055 refactor: switch to cursor 2026-03-05 20:54:03 -05:00
Barış Soner Uşaklı
75f52cadaf refactor: update upgrade script to scan for missing tid:<tid>:recipients 2026-03-05 20:09:55 -05:00
Barış Soner Uşaklı
4534fad833 thumb fix 2026-03-05 19:59:46 -05:00
Barış Uşaklı
5c271e8958 scan. glob to regex (#14063)
* scan. glob to regex

* lint
2026-03-05 16:01:19 -05:00
Barış Soner Uşaklı
0be4081049 fix: #14062 recipients is normal set 2026-03-05 14:01:57 -05:00
Barış Soner Uşaklı
d35c74558f fix: add missing db call 2026-03-05 13:52:02 -05:00
Barış Soner Uşaklı
1fc3edf764 fix: closes #14062
on topic purge remove them from uid:<uid>:inboxes
upgrade script to cleanup inboxes
2026-03-05 13:44:10 -05:00
Julian Lam
2f5fccdb1a fix: #13239, unescape custom user field values 2026-03-04 11:53:55 -05:00
Barış Soner Uşaklı
4f07b345bf fix: text-break on outgoing link 2026-03-03 12:55:55 -05:00
Barış Soner Uşaklı
88b91c20d9 refactor: move resolve flags and activitypub.out.remove.context
after topic deletion
2026-03-03 12:54:14 -05:00
Barış Soner Uşaklı
2428602f27 fix: logic in checkRequired
if req.body was undefined req.query wasn't checked
2026-03-03 11:33:52 -05:00
Barış Soner Uşaklı
b268164686 fix: closes #14041, show specific error message
if config fails to save
2026-03-03 11:03:06 -05:00
Barış Soner Uşaklı
c98ef396f5 fix: dont crash if payload isnt Error 2026-03-03 10:46:09 -05:00
Barış Soner Uşaklı
30893a1a4e fix: thumbs, send type for resize 2026-03-01 20:13:47 -05:00
Barış Soner Uşaklı
06bf2abfc4 fix: #14033, fix gif profile images
add test
2026-03-01 19:48:53 -05:00
Barış Soner Uşaklı
2d49da7889 fix: #14032, fix regression in room creation
add test
2026-03-01 15:45:32 -05:00
Barış Soner Uşaklı
08e94e35d7 lint: remove unused 2026-03-01 14:21:09 -05:00
Barış Soner Uşaklı
04477f07db fix: parent cid 2026-03-01 14:21:09 -05:00
Barış Soner Uşaklı
095258bd98 closes #14030 2026-03-01 13:50:15 -05:00
Barış Soner Uşaklı
a1b77fa033 fix: ordering nested categories
if a category is nested beyond one level, the cache for the categories needs to be cleared all the way to the root.
2026-03-01 11:46:47 -05:00
Barış Soner Uşaklı
92c0bd8f41 feat: allow callers to parse topic teasers
in different types
2026-02-28 21:00:05 -05:00
Barış Soner Uşaklı
c85e464b14 refactor: show plus signs 2026-02-27 18:47:10 -05:00
Barış Soner Uşaklı
eab26dc4cc show message stats 2026-02-27 18:41:44 -05:00
Barış Soner Uşaklı
117ae6aa43 fix: text-nowrap on timestamps 2026-02-27 17:08:24 -05:00
Barış Soner Uşaklı
f1fa8f12b1 fix: fullscreen acp graphs 2026-02-27 16:46:40 -05:00
Barış Soner Uşaklı
f67414b33e add missing center 2026-02-27 16:08:22 -05:00
Julian Lam
6f1291675e fix: skip parsing of duplicate emoji tags 2026-02-27 14:55:10 -05:00
Barış Soner Uşaklı
950169152e mobile fix for acp searches 2026-02-27 14:47:15 -05:00
Barış Soner Uşaklı
ecc740aa25 graph changes 2026-02-27 14:14:02 -05:00
Julian Lam
415602d89e fix: #14003, set ACAO header on webfinger responses 2026-02-27 13:27:38 -05:00
Barış Soner Uşaklı
fc4742387b lint: fix lint errors 2026-02-27 12:41:40 -05:00
Barış Soner Uşaklı
56341c7540 acp chart fix for mobile 2026-02-27 12:17:43 -05:00
Barış Soner Uşaklı
0ef27187a5 fix: dont show /register page after req.session.forceLogin is set
repro
1. try to access acp after timeout
2. you get redirected to login
3. try to load /register and you get the /register page even though you are already logged in
2026-02-27 00:34:33 -05:00
Barış Soner Uşaklı
64a072c92b fix: escape fullname in chatWithMessage 2026-02-27 00:19:17 -05:00
Julian Lam
b4f8e20b4c fix: send guests to login page if they access uncategorized topics without local posts 2026-02-26 22:40:19 -05:00
Julian Lam
6472462924 fix: remove allowed check from notes.assert as it is already done downstream in topics.(post|reply), update privilege check to inherit world privs if passed-in cid is remote cid 2026-02-26 22:40:19 -05:00
Barış Soner Uşaklı
4a0f44b118 dont parseInt toPid 2026-02-26 22:07:48 -05:00
Barış Soner Uşaklı
53b208b769 fix: NaN on ap post delete 2026-02-26 21:51:49 -05:00
Barış Soner Uşaklı
c6dce656e0 move help text, fix button alignment 2026-02-26 18:12:30 -05:00
Barış Soner Uşaklı
1adfdc25c8 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2026-02-26 16:04:15 -05:00