Commit Graph

3039 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
de1f04d9d8 refactor: dont store ap pids in posts:pid
new zset postsRemote:pid
in topic purge only make 1 db call to reduce counters
2026-02-24 17:36:17 -05:00
Barış Soner Uşaklı
8a60d9c2bc perf: don't call getUids on every topic load
only call if user is guest or spider and cid is -1
use .some instead of filtering entire array
2026-02-23 16:01:06 -05:00
Julian Lam
bcfdbf7c97 fix: gate /world behind ensureLoggedIn middleware 2026-02-23 13:37:01 -05:00
Julian Lam
de4f016f50 fix: #14007, deny access for guests to topics in cid -1, unless a post from a local user exists 2026-02-23 13:26:45 -05:00
Barış Soner Uşaklı
f2bbf3693f fix: closes #7221 restrict cropperjs box to profileImageDimension form ACP
this also resizes the image down to that value and sends a small image to server
move profileImageDimenstion & maximumProfileImageSize from edit to all profile pages, on harmony profile pic can be changed from any page by clicking the avatar
change image.resize so it doesn't resize if image is already same width/height
2026-02-21 22:00:28 -05:00
Barış Soner Uşaklı
523e3b4964 feat: change notif controls to toggles 2026-02-20 21:47:25 -05:00
Barış Soner Uşaklı
1dae3d222f feat: add invitedBy to user info page, closes #13972, closes #13997 2026-02-17 19:58:10 -05:00
Barış Soner Uşaklı
2015777fd1 fix: when registering through an invite, prepopulate the email field on /register/complete with the email 2026-02-17 19:07:28 -05:00
Julian Lam
5df2b8b785 feat: quick create on world page
This commit removes title requirement checks in NodeBB and updates the
topic creation logic so that incoming topic creation API requests
without a title just generate a title (like they already do for incoming
AP content.)
2026-02-17 11:26:13 -05:00
Barış Soner Uşaklı
fd6984d2c6 refactor: privileges.global.can works with array of privileges 2026-02-17 09:54:37 -05:00
Barış Soner Uşaklı
8c6ce198e1 feat: allow configuring unreadCutoff per user, closes #6811 2026-02-16 22:57:00 -05:00
Barış Soner Uşaklı
b607a80aeb fix: #13993, encodeURICompoent pid since it can be AP url 2026-02-16 08:48:21 -05:00
Barış Soner Uşaklı
b5977c20f4 add pagination to admin searches 2026-02-15 12:32:22 -05:00
Barış Soner Uşaklı
3de668794d dont show gaps in admin manage users due to AP users 2026-02-15 11:25:02 -05:00
Barış Soner Uşaklı
f885a51009 nice numbers in tables 2026-02-15 10:52:47 -05:00
Barış Soner Uşaklı
9ac507e5b4 feat: track all caches created in acp
closes #13979
2026-02-12 10:31:18 -05:00
Barış Soner Uşaklı
7336c58cdf refactor: cache page to table
display notif cache too
2026-02-11 20:17:06 -05:00
Julian Lam
fd43368a92 feat: allow re-ordering of auto-categorization rules 2026-02-11 12:54:03 -05:00
Barış Uşaklı
62d88555ae feat: eslint10 (#13967)
* feat: eslint10

* lint: no-useless-assignment
2026-02-10 12:39:11 -05:00
Barış Soner Uşaklı
05dd46c31f test: fix spec, remove log 2026-02-09 18:23:29 -05:00
Julian Lam
9f1369a272 fix: #13962, infinite scroll and pagination not working on world 2026-02-09 13:45:38 -05:00
Barış Soner Uşaklı
3f67a0002a refactor: shorter 2026-02-09 12:41:45 -05:00
Barış Soner Uşaklı
007efc21d4 feat: closes https://github.com/NodeBB/NodeBB/pull/11970
allow favicons via upload plugins
dont hardcoded favicon url to /assets/uploads and use whats saved in acp field
2026-02-09 11:47:28 -05:00
Barış Soner Uşaklı
db07456bc0 test: fix username test
move cover:url code to user/data.js like uploadedpicture
2026-02-08 20:30:01 -05:00
Barış Soner Uşaklı
157959df60 refactor: get rid of url.parse in core 2026-02-08 18:52:55 -05:00
Barış Soner Uşaklı
0eaf2beeb2 feat: closes #13961, rename ban-reasons to custom reasons
use them for ban, mute and post queue depending on the type selected
if type is set to all, the reason is displayed in ban/mute and post queue
move reason label + dropdown + textarea  to a partial
2026-02-07 21:41:11 -05:00
Barış Uşaklı
d086ed2c27 feat: ban/mute reasons (#13960)
add acp page to create reasons
add dropdown to insert them into reason
change reason field into textarea
translate and parse reason before sending ban email
2026-02-07 14:32:05 -05:00
Julian Lam
0fbaa937e4 Refactor /world page, closes #13927 (#13954)
* refactor: wholesale UI/data refactor of world to display in feed-like format

* fix: openapi schema

* fix: remove console log

* fix: restrict 'generatedTitle' from being passed-in via topics API

* fix(deps): bumping themes for world refactor support

* fix: /world title and description update

* fix: missing handleIgnoreWatch in world client side js
2026-02-06 14:07:25 -05:00
Barış Soner Uşaklı
13e22e41bb show rss/heap in info table 2026-02-04 19:51:29 -05:00
Barış Soner Uşaklı
472a8fc13c feat: allow converting pasted images, closes #10352 2026-02-04 12:54:58 -05:00
Barış Soner Uşaklı
c848801268 feat: closes #13009, add dedicated test smtp button
which uses the dirty settings on the page
add clarification under send test email button
add missing lang keys
2026-02-02 13:36:38 -05:00
Barış Soner Uşaklı
cd2eaafc2d Merge branch 'master' into develop 2026-01-23 17:34:18 -05:00
Barış Soner Uşaklı
da5605e0b7 fix: protocol 2026-01-23 17:34:11 -05:00
Barış Soner Uşaklı
3e0f3a6846 Merge branch 'master' into develop 2026-01-23 17:13:38 -05:00
Barış Soner Uşaklı
310e90c782 fix: closes #12986
fix paths in topic thumbs
2026-01-23 17:13:27 -05:00
Barış Soner Uşaklı
07d1f22401 refactor: get rid of global.env, use process.env.NODE_ENV 2026-01-21 20:14:15 -05:00
Julian Lam
ad27347fa2 fix: update buildRecipents to add option to skip target creation step, update ap actors for note to not bother building targets 2026-01-21 14:43:31 -05:00
Barış Soner Uşaklı
7e27da61ab refactor: checkUsername function https://github.com/NodeBB/NodeBB/issues/10864 2026-01-19 22:26:09 -05:00
Barış Soner Uşaklı
84bd409a7c Merge branch 'master' into develop 2026-01-19 22:18:20 -05:00
Barış Soner Uşaklı
635715ef51 refactor: already checked inside user.isPasswordValid 2026-01-19 22:16:37 -05:00
Julian Lam
0262bb83f3 fix: restrict topic backfill to logged-in users when browsing to a category 2026-01-19 21:44:14 -05:00
Barış Uşaklı
e2e1744824 User create / registeration queue refactor (#13905)
* feat: add options parameter to User.create

add emailVerification: ('send'|'verify'|'skip') param to User.create to control email verification

add a new method User.createOrQueue(). store options that will be passed to User.create() when registration is accepted in _opts

If there is no password passed to registration queue(SSO register) don't store hashedPassword

removed the isFirstUser hack in user.create, when creating the admin user in install.js passing `emailVerification: 'verify'` to immediately verify the email, same with all the hacks in tests

auth: if an SSO plugin sends back an info object, redirect to root and display the message

* refactor: make function private

* refactor: destruct return

* test: fix flag test

* test: group tests

* feat: show ssoIcon if available in register queue

* add icon/title
2026-01-19 18:40:48 -05:00
Barış Soner Uşaklı
bb6ed76e13 refactor: shorter params 2026-01-17 12:16:23 -05:00
Barış Soner Uşaklı
05e76eddee refactor: shorter params 2026-01-17 12:16:06 -05:00
Julian Lam
33c2de9c5b feat: opportunistic backfill, #13895 2026-01-16 15:12:24 -05:00
Barış Soner Uşaklı
639ea42d5a refactor: put alltime in query string for term 2026-01-15 16:47:28 -05:00
Julian Lam
7465762d87 fix: typo, client-side handling of crossposts as pertains to uncategorized topics 2026-01-12 12:55:18 -05:00
Julian Lam
273bc68c46 feat: user crossposts federate as:Announce 2026-01-12 12:55:18 -05:00
Julian Lam
b981082dd7 fix: removed ajaxify refresh on crosspost commit, dynamically update post stats in template, logic fix 2026-01-12 12:55:18 -05:00
Julian Lam
349b087502 refactor: crossposts.get to return limited category data (name, icon, etc.), fixed up crosspost modal to hide uncategorized and all categories options 2026-01-12 12:55:18 -05:00