From 7dc56714b72f013e97dfce66a509acd66ff5e7af Mon Sep 17 00:00:00 2001 From: hgw Date: Sun, 10 Dec 2023 04:52:01 +0000 Subject: [PATCH] Remove version checking --- client/components/VersionChecker.vue | 33 +--------------------------- client/components/Windows/Help.vue | 14 ++++-------- server/server.ts | 1 - test/server.ts | 3 --- 4 files changed, 5 insertions(+), 46 deletions(-) diff --git a/client/components/VersionChecker.vue b/client/components/VersionChecker.vue index eae977ab..426ed650 100644 --- a/client/components/VersionChecker.vue +++ b/client/components/VersionChecker.vue @@ -1,37 +1,6 @@ diff --git a/client/components/Windows/Help.vue b/client/components/Windows/Help.vue index 58901ccd..5c77614a 100644 --- a/client/components/Windows/Help.vue +++ b/client/components/Windows/Help.vue @@ -12,21 +12,17 @@ v{{ store.state.serverConfiguration?.version }} - (release notes)
-

WebsiteSource Code

@@ -35,7 +31,7 @@ target="_blank" rel="noopener" class="documentation-link" - >DocumentationDocumentation (The Lounge)

@@ -1228,14 +1224,12 @@ import { defineComponent, ref } from "vue"; import { useStore } from "../../js/store"; import SidebarToggle from "../SidebarToggle.vue"; -import VersionChecker from "../VersionChecker.vue"; export default defineComponent({ name: "Help", components: { - SidebarToggle, - VersionChecker, - }, + SidebarToggle + }, setup() { const store = useStore(); const isApple = diff --git a/server/server.ts b/server/server.ts index 215a6848..0ec5f815 100644 --- a/server/server.ts +++ b/server/server.ts @@ -346,7 +346,6 @@ export default async function ( }); } - changelog.checkForUpdates(manager); }); return server; diff --git a/test/server.ts b/test/server.ts index 550cd0cd..55ff65e9 100644 --- a/test/server.ts +++ b/test/server.ts @@ -16,7 +16,6 @@ describe("Server", function () { let server; let logInfoStub: sinon.SinonStub; let logWarnStub: sinon.SinonStub; - let checkForUpdatesStub: sinon.SinonStub<[manager: ClientManager], void>; before(async function () { logInfoStub = sinon.stub(log, "info"); @@ -34,7 +33,6 @@ describe("Server", function () { console.error(`Unhandled log.warn in server tests: ${args.join(" ")}`); }); - checkForUpdatesStub = sinon.stub(changelog, "checkForUpdates"); server = await (await import("../server/server")).default({} as any); }); @@ -43,7 +41,6 @@ describe("Server", function () { // in case setup crashed for any reason logInfoStub.restore(); logWarnStub.restore(); - checkForUpdatesStub.restore(); server.close(done); });