Release build (minor) of NodeBB @ 2023-10-25T14:34:02.715Z
v3.5.0 (2023-10-25)
New Features
- show # of widgets on templates (2ca5192)
- #12101, dont return rssFeedUrl if feeds are disabled (2955fdb)
- add sidebar setting lang key (97a86ba)
- award notif filter (9e9046b)
- update to mongodb 6.1 (#12087) (e542b27)
- add category canonical url (f96b0b7)
- update error handler to check for pseudo-standard no-* prefix and route to 404 handler instead (db5b0f4)
- flag rescinding logic + api method (e012ede)
- backend methods for rescinding a report, supplemental adds and removing a report now adds to the flag history (bc0f362)
- use homePageTitle in breadcrumbs if its set (1a74520)
- 3 column layout for widgets (db9279e)
- update all language keys to use - instead of _ (#12059) (844cb91)
- closes #12052, ability to disable stale topic warning (f8a3ace)
- add .has() method in cache/ttl lib (d478de1)
- upgrade chartjs to 4.x (fe192b9)
- closes #11553, add forked from message like merged into (be14f6c)
- add workerpool for password, closes #10326 (#12038) (8b25aff)
- add new hook action:chat.onMessagesAddedToDom (a7517d8)
- add composerActions for chat rooms (d906097)
- add heading strings (8c977f4)
- introduce new ACP setting for newbie chat message delay, defaults to 2 minutes (223e765)
Bug Fixes
- deps:
- update dependency cron to v3.1.4 (#12117) (3e45788)
- update dependency ace-builds to v1.31.0 (#12113) (aba7eb0)
- update dependency nconf to v0.12.1 (#12111) (91d0097)
- update dependency @fontsource/inter to v5.0.15 (#12108) (99c3c87)
- update dependency nodemailer to v6.9.7 (#12109) (e546ada)
- update dependency mongodb to v6.2.0 (#11965) (7302e76)
- update dependency @fontsource/inter to v5.0.14 (#12103) (c9c6175)
- update dependency cron to v3.1.3 (#12100) (bad9198)
- update dependency sass to v1.69.4 (#12094) (2adc96c)
- update dependency esbuild to v0.19.5 (#12091) (9443412)
- update dependency webpack-merge to v5.10.0 (#12088) (d45f506)
- update dependency webpack to v5.89.0 (#12083) (1ebdfae)
- update dependency connect-mongo to v5.1.0 (#12085) (212a341)
- update dependency ace-builds to v1.30.0 (#12082) (8456682)
- update dependency cron to v3.1.1 (#12078) (24d6b73)
- update dependency commander to v11.1.0 (#12079) (7d38e9e)
- update dependency sass to v1.69.3 (#12076) (193e54e)
- update dependency workerpool to v6.5.1 (#12077) (14eede1)
- update dependency sass to v1.69.2 (#12074) (0dd4ced)
- update dependency nodemailer to v6.9.6 (#12068) (6c59d72)
- update dependency winston to v3.11.0 (#12064) (fdf279a)
- update dependency cron to v3 (#12049) (f2fad2d)
- update dependency @fontsource/inter to v5.0.13 (#12065) (512ac52)
- update dependency ace-builds to v1.29.0 (#12067) (b04fbf8)
- update dependency sass to v1.69.1 (#12070) (a5d2871)
- update dependency @fontsource/inter to v5.0.12 (#12053) (1033218)
- update dependency sass to v1.69.0 (#12060) (ecb847f)
- update dependency nodebb-plugin-2factor to v7.4.0 (6c5c1af)
- update dependency nodebb-plugin-ntfy to v1.7.3 (98e5825)
- update dependency postcss to v8.4.31 (#12048) (eaa7aff)
- update dependency esbuild to v0.19.4 (#12046) (4289230)
- update dependency rimraf to v5.0.5 (#12036) (3549fbd)
- update dependency nodebb-theme-persona to v13.2.34 (#12043) (339481c)
- update dependency nodebb-plugin-spam-be-gone to v2.2.0 (#12039) (84648db)
- update dependency cron to v2.4.4 (#12033) (c1f873b)
- update dependency ace-builds to v1.28.0 (#12028) (3262923)
- update dependency nodebb-plugin-2factor to v7.3.1 (#12026) (d29ea02)
- update dependency nodebb-plugin-ntfy to v1.7.2 (#12024) (360d325)
- update dependency sass to v1.68.0 (#12023) (be600a8)
- update dependency autoprefixer to v10.4.16 (#12022) (f6b6e6c)
- update dependency nodebb-plugin-2factor to v7.3.0 (#12021) (639fb33)
- update dependency bootswatch to v5.3.2 (#12020) (5dc368a)
- update dependency ace-builds to v1.27.0 (#12019) (f73ed6d)
- update dependency nodebb-plugin-emoji to v5.1.10 (#12018) (16fe4fd)
- update dependency sharp to v0.32.6 (#12016) (f838498)
- update dependency postcss to v8.4.30 (#12015) (7dbc666)
- update dependency rtlcss to v4.1.1 (#12014) (ba894a0)
- update dependency nodebb-plugin-ntfy to v1.7.1 (#12011) (4e834a2)
- update dependency ace-builds to v1.26.0 (#12010) (5a003ac)
- update dependency mongodb to v5.9.0 (#12008) (5bfcd34)
- update dependency cropperjs to v1.6.1 (#12013) (9f5362c)
- update dependency ace-builds to v1.25.1 (#12006) (1558d7a)
- update dependency bootstrap to v5.3.2 (#12005) (44d120d)
- update dependency esbuild to v0.19.3 (#12002) (ef41b8b)
- update dependency sass to v1.67.0 (#12004) (d2e4947)
- update dependency ace-builds to v1.24.2 (#11991) (447b795)
- closes #12115 , toggle hasmore as well (728d63f)
- #10276, only move widgets if area doesn't exist (1739f5a)
- #12090, dont award disabled rewards (c1ae879)
- rewards fixes (347a43f)
- use template name instead of component (f6120eb)
- incorrect data passed to api.flags.get (cc8fe43)
- missing body classes on error pages (54a810d)
- edit notification key (bda37ac)
- lang key (bffa788)
- #12062, relax blockquote selector (99bdad8)
- allowing forward slash in language keys, temporarily allowing upper case characters (d25a24f)
- rename filter-perPage to filter-per-page (872ddc2)
- upgrade script date (6f5a965)
- add upgrade script for notifications (6c3ff86)
- lang key, type has _, lang keys changed to use - (1072b38)
- #12017, unreliable forum updated messaging (715bdac)
- #12057, allow gmods to change user email (344ece8)
- only show emailChanged alert for self (56794cf)
- closes #12054 handle negative start/stop in psql (0f4e664)
- make socket errors and static hook errors less noisy (2a1be01)
- restore notificationSendDelay back to 60 (5fe1ad9)
- breaking tests (857433d)
- #12044, only load notifications when opening dropdown (dbd0a71)
- change
notificationSendDelay
to default to 10 seconds instead of 60, #11445 (cf50b0f) - clear interstitial data if there are no additional interstitials on abort (bdc221e)
- #11808, reduce zeal of middleware.registrationComplete (74902e4)
- pass in missing uid (d50473d)
- #12025, validity checking on user-provided toPid value (fe42fd4)
- #12032, truncate long category names (b518e03)
- field name importance (8041f4d)
- closes #12007, parseInt notification fields (b8e4314)
- on shutdown clear locks (615b2f0)
- remaining text, when sending with send button (6553e45)
- NodeBB/nodebb-plugin-link-preview#18, remove sup from allowedTags, add source + source attributes (f09f410)
- use isPrivileged instead of isAdmin (b9c3cdb)
- failing test due to increased chat message delay (ff07fc4)
- better labels in ACP chat settings, #11983 (88dd21e)
- bump chat message delay by 10x to 2000ms, re: #11983 (9b0b33c)
- #11981, post immediately when canceling scheduling (aa797f2)
- i18n:
Other Changes
Performance Improvements
- no need to count on every call (130815c)
Refactors
- get rid of util.promisify on async function (b1ff93f)
- fix comment (ff6bfeb)
- get rid of async.series (c7c6e8f)
- shorter timeago (6149252)
- shorter code for pinned topics (ff952e5)
- change private message email subject (f9fb3c3)
- use helpers.isAllowedTo (47c16e9)
- add email notification delay to chat message notifications (a47b480)
- remove chat message notification queue, implement merge IDs for chat message notifications, so they can be grouped together (3ba371f)
- update buildCategoryLabel (82ea919)
- use esm only import used chart types/plugins (56b3167)
- get rid of exists db call, use promise.parallel (8895b15)
- get rid of some async.waterfall/series/parallel calls (e452c09)
- get rid of async.waterfall/series (8bc2ef2)
- reduce socket.emits for typing (4d1b8e7)
Tests
- add spec for new notif type (90e10b9)
- worked with chatgpt to restrict the i18n test a bit to match requirements (9936442)
- fix flag tests (6606d96)
- added test cases for .addReport and .rescindReport() (da23905)
- added i18n test to enforce kebab casing (69dde2b)
- add reverse list test (66be982)
- additional tests for #12034 (d7e9f32)
- added tests for new logic paths (toPid validation on post creation) (ce74030)
- 💥 i18n tests (8202c55)