From b0efd3aa0f90e91dc58041c7d1adacd66610a969 Mon Sep 17 00:00:00 2001 From: ISA Date: Tue, 1 Jul 2025 07:52:22 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=20alle=20K=C3=9Cs=20Firmware=20update?= =?UTF-8?q?=20confirm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 +++++ .../main/settingsPageComponents/GeneralSettings.tsx | 9 ++++++++- .../settings/kueFirmwareUpdateLog.json | 10 ++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 7 files changed, 28 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index 3bd0317..712c17b 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.511 +NEXT_PUBLIC_APP_VERSION=1.6.512 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index 3924c8f..6b66e22 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.511 +NEXT_PUBLIC_APP_VERSION=1.6.512 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 413111f..b67d667 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.512] – 2025-07-01 + +- fix: hide Firmware update button if admin not loged in + +--- ## [1.6.511] – 2025-07-01 - feat: alle KÜs Firmware update diff --git a/components/main/settingsPageComponents/GeneralSettings.tsx b/components/main/settingsPageComponents/GeneralSettings.tsx index d6a17a1..00626e3 100644 --- a/components/main/settingsPageComponents/GeneralSettings.tsx +++ b/components/main/settingsPageComponents/GeneralSettings.tsx @@ -200,7 +200,14 @@ const GeneralSettings: React.FC = () => { diff --git a/mocks/device-cgi-simulator/settings/kueFirmwareUpdateLog.json b/mocks/device-cgi-simulator/settings/kueFirmwareUpdateLog.json index 882dc39..a837917 100644 --- a/mocks/device-cgi-simulator/settings/kueFirmwareUpdateLog.json +++ b/mocks/device-cgi-simulator/settings/kueFirmwareUpdateLog.json @@ -1,4 +1,14 @@ [ + { + "timestamp": "2025-07-01T05:48:51.161Z", + "command": "&KSU99=1", + "message": "Firmwareupdate an alle KÜ-Module ausgelöst (Mock)" + }, + { + "timestamp": "2025-07-01T05:47:36.526Z", + "command": "&KSU99=1", + "message": "Firmwareupdate an alle KÜ-Module ausgelöst (Mock)" + }, { "timestamp": "2025-06-30T13:30:18.185Z", "command": "&KSU99=1", diff --git a/package-lock.json b/package-lock.json index 0397db8..f48f819 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.511", + "version": "1.6.512", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.511", + "version": "1.6.512", "dependencies": { "@fontsource/roboto": "^5.1.0", "@iconify-icons/ri": "^1.2.10", diff --git a/package.json b/package.json index 0d2eae6..ec9f2ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.511", + "version": "1.6.512", "private": true, "scripts": { "dev": "next dev",