From f1da510f04f66db689d19396f1d485887ebf9147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 15 Feb 2025 20:36:07 -0500 Subject: [PATCH] chore: up harmony --- install/package.json | 2 +- public/language/en-GB/themes/harmony.json | 5 +++-- src/socket.io/posts.js | 2 -- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/install/package.json b/install/package.json index 43e4ca648a..b8577ddb8a 100644 --- a/install/package.json +++ b/install/package.json @@ -108,7 +108,7 @@ "nodebb-plugin-spam-be-gone": "2.3.1", "nodebb-plugin-web-push": "0.7.2", "nodebb-rewards-essentials": "1.0.1", - "nodebb-theme-harmony": "2.0.22", + "nodebb-theme-harmony": "2.0.23", "nodebb-theme-lavender": "7.1.17", "nodebb-theme-peace": "2.2.38", "nodebb-theme-persona": "14.0.14", diff --git a/public/language/en-GB/themes/harmony.json b/public/language/en-GB/themes/harmony.json index e3ba514912..727a1b0553 100644 --- a/public/language/en-GB/themes/harmony.json +++ b/public/language/en-GB/themes/harmony.json @@ -15,8 +15,9 @@ "settings.stickyToolbar.help": "The toolbar on topic and category pages will stick to the top of the page", "settings.topicSidebarTools": "Topic sidebar tools", "settings.topicSidebarTools.help": "This option will move the topic tools to the sidebar on desktop", - "settings.autohideBottombar": "Auto hide bottom bar", - "settings.autohideBottombar.help": "The bottom bar on mobile view will be hidden when the page is scrolled down", + "settings.autohideBottombar": "Auto hide mobile navigation bar", + "settings.autohideBottombar.help": "The mobile bar will be hidden when the page is scrolled down", + "settings.topMobilebar": "Move the mobile navigation bar to the top", "settings.openSidebars": "Open sidebars", "settings.chatModals": "Enable chat modals" } \ No newline at end of file diff --git a/src/socket.io/posts.js b/src/socket.io/posts.js index a684d95783..d6833e363a 100644 --- a/src/socket.io/posts.js +++ b/src/socket.io/posts.js @@ -28,8 +28,6 @@ SocketPosts.getRawPost = async function (socket, pid) { }; SocketPosts.getPostSummaryByIndex = async function (socket, data) { - sockets.warnDeprecated(socket, 'GET /api/v3/posts/byIndex/:index/summary?tid=:tid'); - if (data.index < 0) { data.index = 0; }