From 9f20ee57219a908cd80aac17c151e4aea640272f Mon Sep 17 00:00:00 2001 From: GermanBluefox Date: Thu, 19 Sep 2024 14:10:25 +0800 Subject: [PATCH] chore: release v1.0.4 - (bluefox) Corrected GUI - (bluefox) Filter out not used interfaces - (bluefox) Added notification to admin if public key not accepted - (bluefox) Try to detect zero bytes interfaces --- README.md | 2 +- build/main.js | 14 -------------- io-package.json | 15 ++++++++++++++- package.json | 2 +- src-admin/package.json | 2 +- 5 files changed, 17 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 3f46d7c..4be34af 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Detect IP addresses from: --> ## Changelog -### **WORK IN PROGRESS** +### 1.0.4 (2024-09-19) - (bluefox) Corrected GUI - (bluefox) Filter out not used interfaces diff --git a/build/main.js b/build/main.js index 904f8e7..1c7af19 100644 --- a/build/main.js +++ b/build/main.js @@ -75,7 +75,6 @@ class KISSHomeResearchAdapter extends utils.Adapter { lastSaved: 0, }; this.recordingRunning = false; - this.privateKeyPath = ''; this.workingDir = ''; this.lastDebug = 0; this.syncRunning = false; @@ -384,19 +383,6 @@ class KISSHomeResearchAdapter extends utils.Adapter { return; } // this.clearWorkingDir(); - // update privateKey on disk - this.privateKeyPath = `${this.__dirname}/privateKey.pem`.replace(/\\/g, '/'); - if (node_fs_1.default.existsSync(this.privateKeyPath)) { - const oldPrivateKey = node_fs_1.default.readFileSync(this.privateKeyPath, 'utf8'); - if (oldPrivateKey !== privateKey) { - this.log.warn('Private key changed. Updating...'); - this.log.warn('Privater Schlüssel hat sich geändert. Es wird aktualisiert...'); - node_fs_1.default.writeFileSync(this.privateKeyPath, privateKey); - } - } - else { - node_fs_1.default.writeFileSync(this.privateKeyPath, privateKey); - } if (!config.email) { this.log.error('No email provided. Please provide an email address in the configuration.'); this.log.error('Keine E-Mail angegeben. Bitte geben Sie eine E-Mail-Adresse in der Konfiguration an.'); diff --git a/io-package.json b/io-package.json index 6acc3bd..4ee90ec 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,21 @@ { "common": { "name": "kisshome-research", - "version": "1.0.3", + "version": "1.0.4", "news": { + "1.0.4": { + "en": "Corrected GUI\nFilter out not used interfaces\nAdded notification to admin if public key not accepted\nTry to detect zero bytes interfaces", + "de": "Korrigierte GUI\nFiltern nicht genutzte Schnittstellen\nHinzugefügt Benachrichtigung zu Admin, wenn der öffentliche Schlüssel nicht akzeptiert\nVersuchen Sie, Null Bytes-Schnittstellen zu erkennen", + "ru": "Исправленный GUI\nОтфильтровать не используемые интерфейсы\nДобавить уведомление администратору, если публичный ключ не принят\nПопробуйте обнаружить интерфейсы с нулевыми байтами", + "pt": "GUI corrigida\nFiltrar interfaces não utilizadas\nNotificação adicionada a admin se a chave pública não aceita\nTente detectar zero bytes interfaces", + "nl": "Gecorrigeerde GUI\nNiet gebruikte interfaces filteren\nToegevoegd kennisgeving aan admin als publieke sleutel niet geaccepteerd\nProbeer nul bytes interfaces te detecteren", + "fr": "IGU corrigé\nFiltrer les interfaces non utilisées\nAjout d'une notification à l'administrateur si la clé publique n'est pas acceptée\nEssayez de détecter les interfaces zéro octets", + "it": "GUI corretta\nFiltra le interfacce non utilizzate\nAggiunto la notifica ad admin se chiave pubblica non accettata\nProva a rilevare le interfacce di byte zero", + "es": "Corregido GUI\nFiltrar interfaces no utilizadas\nSe agregó notificación a admin si no se acepta la clave pública\nIntenta detectar interfaces de bytes cero", + "pl": "Poprawiony GUI\nWyfiltrować nie używane interfejsy\nDodano powiadomienie administratora, jeśli klucz publiczny nie został zaakceptowany\nSpróbuj wykryć interfejsy zero bajtów", + "uk": "Правильний інтерфейс\nФільтрувати не використовувані інтерфейси\nДодано повідомлення для адміністратора, якщо публічний ключ не приймається\nСпробуйте визначити інтерфейси нульових байтів", + "zh-cn": "更正的图形界面\n过滤未使用的接口\n如果公钥未被接受, 通知会添加到管理员\n尝试检测零字节接口" + }, "1.0.2": { "en": "Added error logging", "de": "Fehlersuche hinzugefügt", diff --git a/package.json b/package.json index f7ff1a9..0c1d345 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.kisshome-research", - "version": "1.0.3", + "version": "1.0.4", "description": "Collection of information for KISSHome research", "author": { "name": "Denis Haev", diff --git a/src-admin/package.json b/src-admin/package.json index 8052274..7d96038 100644 --- a/src-admin/package.json +++ b/src-admin/package.json @@ -1,7 +1,7 @@ { "name": "iobroker-admin-component-telegram", "private": true, - "version": "1.0.3", + "version": "1.0.4", "scripts": { "start": "set PORT=4173 && craco start", "build": "craco build"