Commit Graph

15422 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
59dd22ca2e fix: type 2026-03-12 23:29:29 -04:00
Julian Lam
a3ee74478f fix: skip AP cache on context processing methods 2026-03-12 11:46:00 -04:00
Barış Soner Uşaklı
9eea12ec56 fix: cache key 2026-03-11 20:35:53 -04:00
Barış Soner Uşaklı
0a94cecb0d fix: #14084, fix tags not getting properly removed from topics
this was happening because the same topic was passed to setObject bulk multiple times with different tag data.
the fix is to find the uniq tids first and then only call setObjectBulk once per topic
2026-03-11 17:21:06 -04:00
Barış Soner Uşaklı
ed3a367274 fix: notifs 2026-03-11 12:58:14 -04:00
Barış Soner Uşaklı
6d22e33a1f fix: also use tx.compile in chat notif merge 2026-03-11 12:39:45 -04:00
Barış Soner Uşaklı
e1d0e2a0db fix: merge with txArgs 2026-03-11 12:31:26 -04:00
Barış Soner Uşaklı
4ee4ba9a01 cleaner 2026-03-11 12:18:58 -04:00
Barış Soner Uşaklı
34b6810945 fix: merged notification translations
not escaping commas properly, use translator.compile
2026-03-11 12:09:59 -04:00
Barış Soner Uşaklı
330106e8d4 feat: add partial query help in acp manage users
increase bounce timeout
2026-03-11 11:10:12 -04:00
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