From 630893ae063b3651b163fa6a9ed3c073e31f8435 Mon Sep 17 00:00:00 2001 From: Dominik Dzienia Date: Fri, 25 Oct 2024 17:21:34 +0000 Subject: [PATCH] Updated CHANGELOG, fixed update e-mail --- CHANGELOG.md | 21 +++++++++++++++++++++ install.sh | 10 +++++----- src/lib.sh | 10 +++++----- updated | 2 +- 4 files changed, 32 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6dab05..43d946c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.9.1] - 2024-10-26 + +### Added + +- Detecting and fixing docker server issues +- Additional cleanup of container logs +- Events added to logs and diagnostics +- Mail notification on possible update +- Build date shown in UI, logs and diagnostics +- Forced update flag +- Gracefull handling of repo 404 and invalid channels + +### Changed + +- Tool update mechanism taking into account build date + +### Fixed + +- Cleanups and refactoring in dialogs +- Bugs in update detection + ## [1.9.0] - 2024-10-12 ### Added diff --git a/install.sh b/install.sh index e9b1a95..4c87819 100644 --- a/install.sh +++ b/install.sh @@ -284,9 +284,6 @@ event_label() { update_tool) echo "Aktualizacja narzędzia" ;; - update_needed) - echo "Potrzebna aktualizacja" - ;; update_containers) echo "Aktualizacja kontenerów" ;; @@ -326,6 +323,9 @@ event_label() { last_server_restart_needed) echo "Potrzebny restart serwera" ;; + last_update_needed) + echo "Potrzebna aktualizacja" + ;; *) echo "$1" ;; @@ -1143,8 +1143,8 @@ update_background_check() { { echo "✨ Na Twoim serwerze mikr.us z Nightscoutem można zaktualizować narzędzie nightscout-tool!" echo " " - echo "🐕 Watchdog wykrył że dostępna jest aktualizacja nightscout-tool," - echo "a u Ciebie zainstalowana jest jeszcze starsza wersja." + echo "🐕 Watchdog wykrył że dostępna jest nowa aktualizacja nightscout-tool." + echo "Na Twoim serwerze zainstalowana jest starsza wersja narzędzia - zaktualizuj go by poprawić stabilność systemu i uzyskać dostęp do nowych funkcji." echo " " echo "Aby zaktualizować narzędzie:" echo " " diff --git a/src/lib.sh b/src/lib.sh index f660c35..35afc7d 100644 --- a/src/lib.sh +++ b/src/lib.sh @@ -268,9 +268,6 @@ event_label() { update_tool) echo "Aktualizacja narzędzia" ;; - update_needed) - echo "Potrzebna aktualizacja" - ;; update_containers) echo "Aktualizacja kontenerów" ;; @@ -310,6 +307,9 @@ event_label() { last_server_restart_needed) echo "Potrzebny restart serwera" ;; + last_update_needed) + echo "Potrzebna aktualizacja" + ;; *) echo "$1" ;; @@ -1127,8 +1127,8 @@ update_background_check() { { echo "✨ Na Twoim serwerze mikr.us z Nightscoutem można zaktualizować narzędzie nightscout-tool!" echo " " - echo "🐕 Watchdog wykrył że dostępna jest aktualizacja nightscout-tool," - echo "a u Ciebie zainstalowana jest jeszcze starsza wersja." + echo "🐕 Watchdog wykrył że dostępna jest nowa aktualizacja nightscout-tool." + echo "Na Twoim serwerze zainstalowana jest starsza wersja narzędzia - zaktualizuj go by poprawić stabilność systemu i uzyskać dostęp do nowych funkcji." echo " " echo "Aby zaktualizować narzędzie:" echo " " diff --git a/updated b/updated index b3ea143..c3f214f 100644 --- a/updated +++ b/updated @@ -1 +1 @@ -2024-10-25T14:24:06.020Z \ No newline at end of file +2024-10-25T17:04:40.997Z \ No newline at end of file