From 567ed8755b6783ef99619f2700b8b2a67095e70e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 31 Jul 2025 18:44:09 -0400 Subject: [PATCH 1/7] feat: add new brite skin from bootswatch --- public/scss/skins.scss | 7 ++++++- src/meta/css.js | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/public/scss/skins.scss b/public/scss/skins.scss index 4940bbbe08..05f05b2622 100644 --- a/public/scss/skins.scss +++ b/public/scss/skins.scss @@ -1,6 +1,11 @@ // fixes for global skin issues +// brite text-secondary is white :/ +.skin-brite .text-secondary { + color: var(--bs-secondary-color) !important; +} + // fix minty buttons -.skin-minty .btn{ +.skin-minty .btn { color: initial!important; } \ No newline at end of file diff --git a/src/meta/css.js b/src/meta/css.js index 4b7e999383..1c8f9f0329 100644 --- a/src/meta/css.js +++ b/src/meta/css.js @@ -16,7 +16,7 @@ const utils = require('../utils'); const CSS = module.exports; CSS.supportedSkins = [ - 'cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal', 'litera', + 'brite', 'cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal', 'litera', 'lumen', 'lux', 'materia', 'minty', 'morph', 'pulse', 'quartz', 'sandstone', 'simplex', 'sketchy', 'slate', 'solar', 'spacelab', 'superhero', 'united', 'vapor', 'yeti', 'zephyr', @@ -270,7 +270,7 @@ CSS.getSkinSwitcherOptions = async function (uid) { { name: '[[user:no-skin]]', value: 'noskin', selected: userSettings.bootswatchSkin === 'noskin' }, ]; const lightSkins = [ - 'cerulean', 'cosmo', 'flatly', 'journal', 'litera', + 'brite', 'cerulean', 'cosmo', 'flatly', 'journal', 'litera', 'lumen', 'lux', 'materia', 'minty', 'morph', 'pulse', 'sandstone', 'simplex', 'sketchy', 'spacelab', 'united', 'yeti', 'zephyr', ]; From 955b27debc036199afa9e34f66812e83464572ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 6 Aug 2025 13:10:56 -0400 Subject: [PATCH 2/7] feat: add inspect argument --- loader.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/loader.js b/loader.js index 0f80697633..50f79be5fc 100644 --- a/loader.js +++ b/loader.js @@ -106,6 +106,10 @@ function forkWorker(index, isPrimary) { if (nconf.get('expose-gc')) { execArgv.push('--expose-gc'); } + if (nconf.get('inspect')) { + execArgv.push('--inspect'); + } + if (!ports[index]) { return console.log(`[cluster] invalid port for worker : ${index} ports: ${ports.length}`); } From 32de562e709410f20fd136c06d200c5912af2528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 6 Aug 2025 13:38:42 -0400 Subject: [PATCH 3/7] Revert "feat: add inspect argument" This reverts commit 955b27debc036199afa9e34f66812e83464572ac. --- loader.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/loader.js b/loader.js index 50f79be5fc..0f80697633 100644 --- a/loader.js +++ b/loader.js @@ -106,10 +106,6 @@ function forkWorker(index, isPrimary) { if (nconf.get('expose-gc')) { execArgv.push('--expose-gc'); } - if (nconf.get('inspect')) { - execArgv.push('--inspect'); - } - if (!ports[index]) { return console.log(`[cluster] invalid port for worker : ${index} ports: ${ports.length}`); } From bb913c152bc050567d4a4236fa5a9535b293d811 Mon Sep 17 00:00:00 2001 From: Misty Release Bot Date: Wed, 6 Aug 2025 17:48:33 +0000 Subject: [PATCH 4/7] chore: incrementing version number - v4.4.6 --- install/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/package.json b/install/package.json index 2d9181bcbf..97e4509313 100644 --- a/install/package.json +++ b/install/package.json @@ -2,7 +2,7 @@ "name": "nodebb", "license": "GPL-3.0", "description": "NodeBB Forum", - "version": "4.4.5", + "version": "4.4.6", "homepage": "https://www.nodebb.org", "repository": { "type": "git", From 3895a0590c27e54e001cf32785db703d84df921e Mon Sep 17 00:00:00 2001 From: Misty Release Bot Date: Wed, 6 Aug 2025 17:48:34 +0000 Subject: [PATCH 5/7] chore: update changelog for v4.4.6 --- CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d512874927..163d3d882c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,38 @@ +#### v4.4.6 (2025-08-06) + +##### Chores + +* incrementing version number - v4.4.5 (6f106923) +* update changelog for v4.4.5 (de05dad2) +* incrementing version number - v4.4.4 (d323af44) +* incrementing version number - v4.4.3 (d354c2eb) +* incrementing version number - v4.4.2 (55c510ae) +* incrementing version number - v4.4.1 (5ae79b4e) +* incrementing version number - v4.4.0 (0a75eee3) +* incrementing version number - v4.3.2 (b92b5d80) +* incrementing version number - v4.3.1 (308e6b9f) +* incrementing version number - v4.3.0 (bff291db) +* incrementing version number - v4.2.2 (17fecc24) +* incrementing version number - v4.2.1 (852a270c) +* incrementing version number - v4.2.0 (87581958) +* incrementing version number - v4.1.1 (b2afbb16) +* incrementing version number - v4.1.0 (36c80850) +* incrementing version number - v4.0.6 (4a52fb2e) +* incrementing version number - v4.0.5 (1792a62b) +* incrementing version number - v4.0.4 (b1125cce) +* incrementing version number - v4.0.3 (2b65c735) +* incrementing version number - v4.0.2 (73fe5fcf) +* incrementing version number - v4.0.1 (a461b758) +* incrementing version number - v4.0.0 (c1eaee45) + +##### New Features + +* add new brite skin from bootswatch (567ed875) + +##### Bug Fixes + +* pass max-memory expose-gc as process args (d5f57af3) + #### v4.4.5 (2025-07-31) ##### Chores From b4ff79061f8018e6d17a476567c256c88e5fa1ac Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 6 Aug 2025 13:50:08 -0400 Subject: [PATCH 6/7] fix: image handling when image url received is not a path with an extension --- src/activitypub/mocks.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.js index e5a8e8e363..e1e9d82b69 100644 --- a/src/activitypub/mocks.js +++ b/src/activitypub/mocks.js @@ -84,7 +84,7 @@ Mocks._normalize = async (object) => { content = 'This post did not contain any content.'; } - switch (true) { + switch (true) { // image handling case image && image.hasOwnProperty('url') && !!image.url: { image = image.url; break; @@ -101,7 +101,8 @@ Mocks._normalize = async (object) => { } if (image) { const parsed = new URL(image); - if (!mime.getType(parsed.pathname).startsWith('image/')) { + const type = mime.getType(parsed.pathname); + if (!type || type.startsWith('image/')) { activitypub.helpers.log(`[activitypub/mocks.post] Received image not identified as image due to MIME type: ${image}`); image = null; } From e7b479954ac0044f576cb51a0eaaa018bf965397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 8 Aug 2025 13:21:43 -0400 Subject: [PATCH 7/7] chore: up widget essentials --- install/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/package.json b/install/package.json index 97e4509313..0308a6526a 100644 --- a/install/package.json +++ b/install/package.json @@ -110,7 +110,7 @@ "nodebb-theme-lavender": "7.1.19", "nodebb-theme-peace": "2.2.43", "nodebb-theme-persona": "14.1.12", - "nodebb-widget-essentials": "7.0.38", + "nodebb-widget-essentials": "7.0.39", "nodemailer": "7.0.3", "nprogress": "0.2.0", "passport": "0.7.0",