Commit Graph

31191 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
252d1d09a0 fix: closes #13734, set process.env.NODE_ENV early using argv
if commander or one of the core deps isn't found then packageInstall.installAll is called and uses process.env.NODE_ENV, which was always undefined.
2026-01-21 20:31:16 -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
Barış Soner Uşaklı
2ded681396 refactor: make custom user field icons fixed width in the acp 2026-01-21 18:41:15 -05:00
Barış Soner Uşaklı
7ac5446a13 refactor: use local cache for plugin isActive check 2026-01-21 18:39:45 -05:00
renovate[bot]
3f50d52a4e fix(deps): update dependency pg to v8.17.2 (#13914)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-21 18:20:36 -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
Julian Lam
fac3185974 refactor: Actors.getLocalFollowers to Actors.getFollowers, can pass in both local and remote ids 2026-01-21 14:42:16 -05:00
Julian Lam
eb27b96430 fix: notes announce cache, use cache when retrieving tid posters 2026-01-21 12:53:41 -05:00
Julian Lam
e697d600d1 fix: optimizations
- plugins.isActive response now cached in nconf
- public addresses filtered out of actor assertion logic during
  qualification stage
- bump mentions to fix db call with empty values
- update buildRecipients to exclude public addresses and local URIs when
  building targeting array
2026-01-21 12:07:00 -05:00
Julian Lam
f9affbad58 fix: cache detection logic in context parseItem executing earlier than needed causing false positives 2026-01-21 10:51:15 -05:00
Barış Soner Uşaklı
beb3f8ff94 Merge branch 'master' into develop 2026-01-20 20:15:07 -05:00
Barış Soner Uşaklı
13bf64c956 fix: closes #12458, on socket.io reconnect
load messages after last data-index
2026-01-20 20:14:40 -05:00
Barış Soner Uşaklı
fffe039f46 refactor: remove chats.initialized, all events handlers are removed before being added 2026-01-20 19:09:32 -05:00
Barış Soner Uşaklı
ab39e7f8ae refactor: move chat page events to a new file 2026-01-20 19:02:43 -05:00
Barış Soner Uşaklı
07d2c9463e fix: remove bidi chars from displayname
fixes chat teasers and probably every other place where display name is shown
2026-01-20 18:42:31 -05:00
Barış Soner Uşaklı
50c26dd583 fix: closes #11499 2026-01-20 17:57:55 -05:00
Barış Soner Uşaklı
6b3ec63621 refactor: add guards against bad data & infi loops 2026-01-20 12:05:52 -05:00
Barış Soner Uşaklı
2ba8907ac8 refactor: tags were moved into topic hash a while ago 2026-01-20 11:57:22 -05:00
Barış Soner Uşaklı
512b1e7296 fix: remove lowercase bidi controls as well 2026-01-20 11:17:30 -05:00
Barış Soner Uşaklı
37675689f8 refactor: move username check to createOrQueue 2026-01-19 22:43:39 -05:00
Barış Soner Uşaklı
bb4fd31939 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2026-01-19 22:26:13 -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
Misty Release Bot
aaa9570e7b chore(i18n): fallback strings for new resources: nodebb.error 2026-01-20 03:18:46 +00: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
Julian Lam
428b6e730a fix: replace attachment generation logic in notes.public
Previously, the logic retrieved the list of uploads, checked if they
were thumbs, and set attachment (and noteAttachment) depending on object
type. It was complicated and didn't really work so well, so I simplified
it.

Now thumbs.get is called, and attachment is appended with all thumbs and
uploads. Sizing is not provided. Maybe later. Image is also now set,
which is the first image in attachment.
2026-01-19 21:38:48 -05:00
Barış Soner Uşaklı
f90c86492a chore: up link-preview 2026-01-19 21:36:26 -05:00
Barış Soner Uşaklı
39af838376 fix: #13909, show 413 error properly
add tx string
2026-01-19 20:59:55 -05:00
Misty Release Bot
dce82aaeca chore(i18n): fallback strings for new resources: nodebb.topic 2026-01-20 00:07:11 +00:00
Julian Lam
0c79eaa529 feat: topic crossposts generate topic events, #13908 2026-01-19 19:06:29 -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
Julian Lam
6383bb58e9 fix: #13900, assertion re-index 2026-01-19 14:50:57 -05:00
Julian Lam
39582cbd02 fix: simplicity tweak 2026-01-19 14:44:22 -05:00
Julian Lam
560ad81f32 feat: remote account banning, #13904 2026-01-19 14:42:13 -05:00
Barış Soner Uşaklı
1cbc128a75 refactor: get rid of intersect and use a faster method to load recently created tids 2026-01-19 14:13:29 -05:00
renovate[bot]
271239d41f fix(deps): update dependency pg to v8.17.1 (#13901)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-18 13:21:26 -05:00
Barış Soner Uşaklı
442f9f1d5b fix: closes #11606, detect musl and use sass instead 2026-01-17 14:25:32 -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
Barış Soner Uşaklı
61d7101ad1 Revert "fix(deps): update dependency pg to v8.17.1 (#13893)"
This reverts commit cc8b2db5ef.
2026-01-16 18:47:21 -05:00
renovate[bot]
cc8b2db5ef fix(deps): update dependency pg to v8.17.1 (#13893)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-16 17:23:25 -05:00
Julian Lam
33c2de9c5b feat: opportunistic backfill, #13895 2026-01-16 15:12:24 -05:00
Julian Lam
4bab9fb446 fix: export sendMessage as _sendMessage for use in ap jobs lib 2026-01-16 15:12:24 -05:00
Julian Lam
c595edb4c0 refactor: move ap jobs to its own file 2026-01-16 15:12:24 -05:00
renovate[bot]
62498a3c1b fix(deps): update dependency pg-cursor to v2.16.1 (#13894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-16 13:22:50 -05:00
renovate[bot]
5b5955d6fc fix(deps): update dependency nodebb-theme-harmony to v2.1.35 (#13896)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-16 13:22:41 -05:00
renovate[bot]
dd6fda8152 fix(deps): update dependency satori to v0.19.1 (#13898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-16 13:22:35 -05:00
Barış Soner Uşaklı
e505e36991 fix: make translator.unescape stricter like escape 2026-01-16 13:17:02 -05:00
Barış Soner Uşaklı
f7c5414d6c Merge branch 'master' into develop 2026-01-16 13:08:29 -05:00