Commit Graph

31160 Commits

Author SHA1 Message Date
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
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
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ı
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ı
f7c5414d6c Merge branch 'master' into develop 2026-01-16 13:08:29 -05:00
Barış Soner Uşaklı
b2fa7304e9 fix: closes #13887, make translator.escape stricter
only match [[namespace:key]] allow underscores,dashes and dots in namespace key
add test
2026-01-16 13:00:41 -05:00
Barış Soner Uşaklı
918bb04491 test: add missing awaits, change error message 2026-01-16 12:51:11 -05:00
Barış Soner Uşaklı
fe4a447651 refactor: use async/await for group search 2026-01-16 12:36:17 -05:00
Barış Soner Uşaklı
7d36c75790 fix: closes #13897, display group create errors properly
fix typo in redirect after group deletion
2026-01-16 10:58:03 -05:00
Barış Soner Uşaklı
639ea42d5a refactor: put alltime in query string for term 2026-01-15 16:47:28 -05:00
Barış Soner Uşaklı
469a8ef9b4 chore: up dbsearch 2026-01-15 15:46:12 -05:00
Barış Soner Uşaklı
c1a92c4723 chore: up harmony 2026-01-15 15:33:07 -05:00
Barış Soner Uşaklı
317be96fb1 chore: up harmony 2026-01-15 15:18:20 -05:00
Barış Soner Uşaklı
57a73c4854 refactor: crossposts.get to support multiple tids 2026-01-14 18:47:52 -05:00
Barış Soner Uşaklı
be5b36bcd1 test: dont return cross posts 2026-01-14 18:14:49 -05:00
Julian Lam
c494d002ba fix: consider crossposts when building teasers, fixes #13891 2026-01-14 15:01:33 -05:00
Julian Lam
98c0a3fedc fix: #13892, logical flaw 2026-01-14 14:18:20 -05:00
Julian Lam
8b7d350e0a fix: #13892, logical flaw 2026-01-14 14:18:02 -05:00
Misty Release Bot
a9fbcf2aeb chore: update changelog for v4.8.0 2026-01-14 17:54:34 +00:00
Misty Release Bot
8d6a4ed875 chore: incrementing version number - v4.8.0 v4.8.0 2026-01-14 17:54:33 +00:00
Julian Lam
a73ab8ee1e fix: i18n fallbacks 2026-01-14 12:46:19 -05:00
renovate[bot]
9b1c32b184 fix(deps): update dependency spdx-license-list to v6.11.0 (#13890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-14 12:42:41 -05:00
renovate[bot]
974ab1f8bc fix(deps): update dependency diff to v8.0.3 (#13882)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-14 12:41:04 -05:00
Julian Lam
0c75934adf fix: #13889, custom emoji from Piefed 2026-01-13 11:25:18 -05:00
Julian Lam
6eea4df5ef fix: #13888, decode html entities for AP category name and description 2026-01-13 10:36:03 -05:00
Barış Soner Uşaklı
d2f8af25f6 Merge branch 'master' into develop 2026-01-12 20:50:28 -05:00
Barış Soner Uşaklı
0e1ccfc988 refactor: check if tid is truthy 2026-01-12 20:49:31 -05:00
Julian Lam
bcc204fa93 fix: derp 2026-01-12 15:42:33 -05:00
Julian Lam
a4c470ffa9 fix: bump themes 2026-01-12 14:10:31 -05:00
Julian Lam
2f96eed4af fix: guard against negative uids crossposting 2026-01-12 14:07:45 -05:00
Julian Lam
943b53b0bc fix: bump themes 2026-01-12 12:55:18 -05:00
Julian Lam
82507c0fb1 fix: calling sortedSetRemove to remove multiple values, instead of baking it into sortedSetRemoveBulk 2026-01-12 12:55:18 -05:00
Julian Lam
b9b33f9f8d fix: unused values 2026-01-12 12:55:18 -05:00
Julian Lam
d20906b592 tests: fix... tests 2026-01-12 12:55:18 -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