Commit Graph

3099 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
6dba5ce9dd Merge branch 'master' into develop 2026-03-30 19:43:06 -04:00
Barış Soner Uşaklı
fb48ab3455 fix: user image og:image 2026-03-30 19:42:58 -04:00
Barış Uşaklı
2612340bc9 refactor socket notifications (#14135)
* refactor socket notifications

* dunno why these two gut fubared

* add missing yaml files

* more fixes

* fix: schema

* lint: fix lint issues
2026-03-30 12:02:34 -04:00
Barış Soner Uşaklı
10814b64a5 Merge branch 'master' into develop 2026-03-28 13:25:26 -04:00
Barış Soner Uşaklı
835723482e feat: add unreadNids to /api/notifications 2026-03-26 11:50:55 -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
Barış Soner Uşaklı
d290aa563e lint: remove unused 2026-03-25 13:21:17 -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ı
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
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
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
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
Julian Lam
1aa5ca8852 fix: restore guest access to /world, default to latest(all) 2026-03-13 13:52:19 -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
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ı
36bf3f16ca refactor: move to data 2026-03-12 13:27:18 -04:00
Barış Soner Uşaklı
dde2465811 use regular random 2026-03-12 13:11:07 -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
Julian Lam
464bc27574 fix: accidental hardcoded cid 2026-03-12 12:41:39 -04:00
Julian Lam
8496e1efbb fix: missing orderedItems on category outbox index retrieval 2026-03-11 17:47:08 -04:00
Julian Lam
b317cdd365 feat: category group actor outbox, #14083 2026-03-11 14:53:08 -04:00
Julian Lam
c08a45a5cc fix: publish id with user outbox, fixes #13478 2026-03-11 12:35:46 -04:00
Julian Lam
f848393e6e feat: new ap mocks, now publishing user outboxes 2026-03-11 12:35:46 -04:00
Barış Soner Uşaklı
5ff5971465 Merge branch 'master' into develop 2026-03-10 11:01:14 -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ı
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ı
380d989570 perf: cache groups:createtime
when deleting users, each user.delete() was loading groups:createtime
2026-03-09 17:30:20 -04:00
Julian Lam
f19761682a fix: #14072, world to call thumbs with thumbsOnly filter 2026-03-09 14:34:42 -04:00
Julian Lam
d29f1fbdf8 fix: #14071, duplicate items loaded via IS on /world 2026-03-09 12:47:08 -04:00
Julian Lam
5a7316b1b2 fix: #14043, cold-load redirect should only affect guests 2026-03-09 10:36:15 -04:00
Barış Uşaklı
3c0a654012 feat: show cronjobs in acp (#14068)
* feat: show cronjobs in acp

add a wrapper for cronjobs and display in acp

* test: add running to spec

* test: fix running, simplify calls

* test: prevent crash on stopJob
2026-03-06 20:42:38 -05:00
Barış Soner Uşaklı
0785f3d17b Merge branch 'master' into develop 2026-03-05 11:37:28 -05:00
Barış Soner Uşaklı
a4dbbfeae4 lint 2026-03-05 09:05:41 -05:00
Julian Lam
2b12f8b578 feat: redirect cold requests to remote resources to their canonical source, #14043 2026-03-03 12:25:47 -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ı
9e76f38174 Merge branch 'master' into develop 2026-03-01 20:20:37 -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ı
50d106ad04 Merge branch 'master' into develop 2026-03-01 13:50:26 -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ı
b8cd9a6213 req.body can be undefined 2026-02-28 15:09:02 -05:00