From ac10a96cc821f8fb7051fda25b1ea3abcf5a9406 Mon Sep 17 00:00:00 2001 From: mag37 Date: Mon, 7 Oct 2024 21:28:31 +0200 Subject: [PATCH 1/8] all template rewritten, some guesswork --- notify_templates/notify_DSM.sh | 4 ++-- notify_templates/notify_apprise.sh | 11 +++-------- notify_templates/notify_generic.sh | 8 +++++--- notify_templates/notify_gotify.sh | 6 +++--- notify_templates/notify_matrix.sh | 4 ++-- notify_templates/notify_ntfy-sh.sh | 11 +++-------- notify_templates/notify_pushbullet.sh | 6 +++--- notify_templates/notify_pushover.sh | 6 +++--- notify_templates/notify_smtp.sh | 4 ++-- notify_templates/notify_telegram.sh | 4 ++-- 10 files changed, 28 insertions(+), 36 deletions(-) diff --git a/notify_templates/notify_DSM.sh b/notify_templates/notify_DSM.sh index 1c74c11..84ba7e9 100644 --- a/notify_templates/notify_DSM.sh +++ b/notify_templates/notify_DSM.sh @@ -18,8 +18,8 @@ else fi send_notification() { -Updates=("$@") -[ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" ) +[ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") +UpdToString=$( printf '%s\\n' "${Updates[@]}" ) FromHost=$(hostname) CfgFile="/usr/syno/etc/synosmtp.conf" diff --git a/notify_templates/notify_apprise.sh b/notify_templates/notify_apprise.sh index b3c0219..74a6cb5 100644 --- a/notify_templates/notify_apprise.sh +++ b/notify_templates/notify_apprise.sh @@ -5,20 +5,15 @@ # Modify to fit your setup - if API, set AppriseURL to your Apprise ip/domain. send_notification() { -Updates=("$@") -[ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" ) +[ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") +UpdToString=$( printf '%s\\n' "${Updates[@]}" ) FromHost=$(hostname) printf "\nSending Apprise notification\n" MessageTitle="$FromHost - updates available." # Setting the MessageBody variable here. -read -d '\n' MessageBody << __EOF -Containers on $FromHost with updates available: - -$UpdToString - -__EOF +MessageBody=$(printf "🐋 Containers on $FromHost with updates available: \n$UpdToString") # Modify to fit your setup: apprise -vv -t "$MessageTitle" -b "$MessageBody" \ diff --git a/notify_templates/notify_generic.sh b/notify_templates/notify_generic.sh index 9ff6226..e74d806 100644 --- a/notify_templates/notify_generic.sh +++ b/notify_templates/notify_generic.sh @@ -4,11 +4,13 @@ # generic sample, the "Hello World" of notification addons send_notification() { - Updates=("$@") - [ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" ) + [ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") + UpdToString=$( printf '%s\\n' "${Updates[@]}" ) + FromHost=$(hostname) # platform specific notification code would go here printf "\n%bGeneric notification addon:%b" "$c_green" "$c_reset" - printf "\nThe following docker containers on %s need to be updated:\n%s\n" "$FromHost" "$UpdToString" + printf "\nThe following docker containers on %s need to be updated:\n" "$FromHost" + printf "$UpdToString" } diff --git a/notify_templates/notify_gotify.sh b/notify_templates/notify_gotify.sh index 5590ea2..0b22cbc 100644 --- a/notify_templates/notify_gotify.sh +++ b/notify_templates/notify_gotify.sh @@ -5,8 +5,8 @@ # Modify to fit your setup - set GotifyUrl and GotifyToken. send_notification() { - Updates=("$@") - [ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" ) + [ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") + UpdToString=$( printf '%s\\n' "${Updates[@]}" ) FromHost=$(hostname) # platform specific notification code would go here @@ -14,7 +14,7 @@ send_notification() { # Setting the MessageTitle and MessageBody variable here. MessageTitle="${FromHost} - updates available." - MessageBody="Containers on ${FromHost} with updates available: ${UpdToString}" + MessageBody=$(printf "🐋 Containers on $FromHost with updates available: \n$UpdToString") # Modify to fit your setup: GotifyToken="Your Gotify token here" diff --git a/notify_templates/notify_matrix.sh b/notify_templates/notify_matrix.sh index b9af93a..acbcb34 100644 --- a/notify_templates/notify_matrix.sh +++ b/notify_templates/notify_matrix.sh @@ -5,8 +5,8 @@ # Modify to fit your setup - set MatrixServer, Room_id and AccessToken send_notification() { - Updates=("$@") - [ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" ) + [ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") + UpdToString=$( printf '%s\\n' "${Updates[@]}" ) FromHost=$(hostname) # platform specific notification code would go here diff --git a/notify_templates/notify_ntfy-sh.sh b/notify_templates/notify_ntfy-sh.sh index dc9ded7..7126c63 100644 --- a/notify_templates/notify_ntfy-sh.sh +++ b/notify_templates/notify_ntfy-sh.sh @@ -5,20 +5,15 @@ # Use your unique Topic Name in the URL below. send_notification() { -Updates=("$@") -[ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" ) +[ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") +UpdToString=$( printf '%s\\n' "${Updates[@]}" ) FromHost=$(hostname) printf "\nSending ntfy.sh notification\n" MessageTitle="$FromHost - updates available." # Setting the MessageBody variable here. -read -d '\n' MessageBody << __EOF -Containers on $FromHost with updates available: - -$UpdToString - -__EOF +MessageBody=$(printf "🐋 Containers on $FromHost with updates available: \n$UpdToString") # Modify to fit your setup: NtfyUrl="ntfy.sh/YourUniqueTopicName" diff --git a/notify_templates/notify_pushbullet.sh b/notify_templates/notify_pushbullet.sh index c422ad8..3f181a2 100644 --- a/notify_templates/notify_pushbullet.sh +++ b/notify_templates/notify_pushbullet.sh @@ -6,8 +6,8 @@ # Modify to fit your setup - set Url and Token. send_notification() { -Updates=("$@") -[ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" ) +[ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") +UpdToString=$( printf '%s\\n' "${Updates[@]}" ) FromHost=$(hostname) # platform specific notification code would go here @@ -15,7 +15,7 @@ printf "\nSending pushbullet notification\n" MessageTitle="$FromHost - updates available." # Setting the MessageBody variable here. -MessageBody="Containers on $FromHost with updates available: $UpdToString" +MessageBody=$(printf "🐋 Containers on $FromHost with updates available: \n$UpdToString") # Modify to fit your setup: PushUrl="https://api.pushbullet.com/v2/pushes" diff --git a/notify_templates/notify_pushover.sh b/notify_templates/notify_pushover.sh index 85182b8..15a491a 100644 --- a/notify_templates/notify_pushover.sh +++ b/notify_templates/notify_pushover.sh @@ -6,8 +6,8 @@ # Modify to fit your setup - set Url and Token. send_notification() { - Updates=("$@") - [ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" ) + [ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") + UpdToString=$( printf '%s\\n' "${Updates[@]}" ) FromHost=$(hostname) # platform specific notification code would go here @@ -15,7 +15,7 @@ send_notification() { MessageTitle="$FromHost - updates available." # Setting the MessageBody variable here. - MessageBody="Containers on $FromHost with updates available: $UpdToString" + MessageBody=$(printf "🐋 Containers on $FromHost with updates available: \n$UpdToString") # Modify to fit your setup: PushoverUrl="https://api.pushover.net/1/messages.json" diff --git a/notify_templates/notify_smtp.sh b/notify_templates/notify_smtp.sh index 8ae8bec..5b110c7 100644 --- a/notify_templates/notify_smtp.sh +++ b/notify_templates/notify_smtp.sh @@ -17,8 +17,8 @@ else fi send_notification() { -Updates=("$@") -[ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" ) +[ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") +UpdToString=$( printf '%s\\n' "${Updates[@]}" ) FromHost=$(hostname) # User variables: diff --git a/notify_templates/notify_telegram.sh b/notify_templates/notify_telegram.sh index 6183ccb..4772149 100644 --- a/notify_templates/notify_telegram.sh +++ b/notify_templates/notify_telegram.sh @@ -5,8 +5,8 @@ # Modify to fit your setup - set TelegramChatId and TelegramToken. send_notification() { - Updates=("$@") - [ -s "$ScriptWorkDir"/urls.list ] && UpdToString=$( releasenotes ) || UpdToString=$( printf "%s\n" "${Updates[@]}" ) + [ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") + UpdToString=$( printf '%s\\n' "${Updates[@]}" ) FromHost=$(hostname) # platform specific notification code would go here From 87f1886d28c809d20fa59ef087e92efdb31117c0 Mon Sep 17 00:00:00 2001 From: mag37 Date: Mon, 7 Oct 2024 21:29:49 +0200 Subject: [PATCH 2/8] releasenotes rewritten to array --- dockcheck.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dockcheck.sh b/dockcheck.sh index d3f5780..d15c335 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -149,12 +149,12 @@ progress_bar() { ### Function to add user-provided urls to releasenotes releasenotes() { - for update in ${Updates[@]}; do + for update in ${GotUpdates[@]}; do found=false while read -r container url; do - [[ $update == $container ]] && printf "%s -> %s\n" "$update" "$url" && found=true + [[ $update == $container ]] && Updates+=("$update -> $url") && found=true done < "$ScriptWorkDir"/urls.list - [[ $found == false ]] && printf "%s -> url missing\n" "$update" || continue + [[ $found == false ]] && Updates+=("$update -> url missing") || continue done } From cb73025a614a0f2526c3f810e6526d0bf78a543b Mon Sep 17 00:00:00 2001 From: mag37 Date: Mon, 7 Oct 2024 21:31:33 +0200 Subject: [PATCH 3/8] added discord template --- notify_templates/notify_discord.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 notify_templates/notify_discord.sh diff --git a/notify_templates/notify_discord.sh b/notify_templates/notify_discord.sh new file mode 100644 index 0000000..9bbf64b --- /dev/null +++ b/notify_templates/notify_discord.sh @@ -0,0 +1,25 @@ +### DISCLAIMER: This is a third party addition to dockcheck - best effort testing. +# +# Copy/rename this file to notify.sh to enable the notification snippet. +# Required receiving services must already be set up. +# Modify to fit your setup - set DiscordWebhookUrl + +send_notification() { + [ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@") + UpdToString=$( printf '%s\\n' "${Updates[@]}" ) + + echo "$UpdToString" + FromHost=$(hostname) + + # platform specific notification code would go here + printf "\nSending Discord notification\n" + + # Setting the MessageBody variable here. + MessageBody="🐋 Containers on $FromHost with updates available: \n$UpdToString" + + # Modify to fit your setup: + DiscordWebhookUrl="PasteYourFullDiscordWebhookURL" + + MsgBody="{\"username\":\"$FromHost\",\"content\":\"$MessageBody\"}" + curl -sS -o /dev/null --fail -X POST -H "Content-Type: application/json" -d "$MsgBody" "$DiscordWebhookUrl" + From 071fa4b24546a3a8b8c28ffd155ad610bdc68817 Mon Sep 17 00:00:00 2001 From: mag37 Date: Tue, 8 Oct 2024 09:41:32 +0200 Subject: [PATCH 4/8] changed regctl verbosity --- dockcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockcheck.sh b/dockcheck.sh index d15c335..83a5998 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -126,7 +126,7 @@ choosecontainers() { } datecheck() { - ImageDate=$($regbin image inspect "$RepoUrl" --format='{{.Created}}' | cut -d" " -f1 ) + ImageDate=$($regbin -v error image inspect "$RepoUrl" --format='{{.Created}}' | cut -d" " -f1 ) ImageAge=$(( ( $(date +%s) - $(date -d "$ImageDate" +%s) )/86400 )) if [ "$ImageAge" -gt "$DaysOld" ] ; then return 0 @@ -249,7 +249,7 @@ for i in $(docker ps $Stopped --filter "name=$SearchName" --format '{{.Names}}') RepoUrl=$(docker inspect "$i" --format='{{.Config.Image}}') LocalHash=$(docker image inspect "$RepoUrl" --format '{{.RepoDigests}}') # Checking for errors while setting the variable: - if RegHash=$(${t_out} $regbin image digest --list "$RepoUrl" 2>&1) ; then + if RegHash=$(${t_out} $regbin -v error image digest --list "$RepoUrl" 2>&1) ; then if [[ "$LocalHash" = *"$RegHash"* ]] ; then NoUpdates+=("$i") else From 76d2921719ddca02366053f9b368a958d37e6a7c Mon Sep 17 00:00:00 2001 From: mag37 Date: Thu, 10 Oct 2024 09:48:41 +0200 Subject: [PATCH 5/8] fixed MSMTP-typo --- notify_templates/notify_DSM.sh | 2 +- notify_templates/notify_smtp.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notify_templates/notify_DSM.sh b/notify_templates/notify_DSM.sh index 84ba7e9..4285481 100644 --- a/notify_templates/notify_DSM.sh +++ b/notify_templates/notify_DSM.sh @@ -9,7 +9,7 @@ MSMTP=$(which msmtp) SSMTP=$(which ssmtp) -if [ -n "$MSMPT" ] ; then +if [ -n "$MSMTP" ] ; then MailPkg=$MSMTP elif [ -n "$SSMTP" ] ; then MailPkg=$SSMTP diff --git a/notify_templates/notify_smtp.sh b/notify_templates/notify_smtp.sh index 5b110c7..d8f188f 100644 --- a/notify_templates/notify_smtp.sh +++ b/notify_templates/notify_smtp.sh @@ -8,7 +8,7 @@ MSMTP=$(which msmtp) SSMTP=$(which ssmtp) -if [ -n "$MSMPT" ] ; then +if [ -n "$MSMTP" ] ; then MailPkg=$MSMTP elif [ -n "$SSMTP" ] ; then MailPkg=$SSMTP From fc47b1313b295d1809c0cdfb3150bb41bf716409 Mon Sep 17 00:00:00 2001 From: mag37 Date: Thu, 10 Oct 2024 10:22:17 +0200 Subject: [PATCH 6/8] finalizing formatting and edits --- dockcheck.sh | 2 +- notify_templates/notify_DSM.sh | 7 +++---- notify_templates/notify_apprise.sh | 2 +- notify_templates/notify_gotify.sh | 2 +- notify_templates/notify_ntfy-sh.sh | 2 +- notify_templates/notify_pushbullet.sh | 2 +- notify_templates/notify_pushover.sh | 2 +- notify_templates/notify_smtp.sh | 6 +++--- 8 files changed, 12 insertions(+), 13 deletions(-) diff --git a/dockcheck.sh b/dockcheck.sh index 83a5998..dda9efc 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -152,7 +152,7 @@ releasenotes() { for update in ${GotUpdates[@]}; do found=false while read -r container url; do - [[ $update == $container ]] && Updates+=("$update -> $url") && found=true + [[ $update == $container ]] && Updates+=("$update -> $url") && found=true done < "$ScriptWorkDir"/urls.list [[ $found == false ]] && Updates+=("$update -> url missing") || continue done diff --git a/notify_templates/notify_DSM.sh b/notify_templates/notify_DSM.sh index 4285481..d9a0cd9 100644 --- a/notify_templates/notify_DSM.sh +++ b/notify_templates/notify_DSM.sh @@ -36,6 +36,8 @@ SenderMail=${SenderMail:-$(grep 'eventmail1' $CfgFile | sed -n 's/.*"\([^"]*\)". printf "\nSending email notification.\n" +printf -v MessageBody "🐋 Containers on $FromHost with updates available:\n\n$UpdToString" + $MailPkg $SendMailTo << __EOF From: "$SenderName" <$SenderMail> date:$(date -R) @@ -44,10 +46,7 @@ Subject: $SubjectTag Updates available on $FromHost Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit -The following containers on $FromHost have updates available: - -$UpdToString - +$MessageBody From $SenderName __EOF } diff --git a/notify_templates/notify_apprise.sh b/notify_templates/notify_apprise.sh index 74a6cb5..8663d43 100644 --- a/notify_templates/notify_apprise.sh +++ b/notify_templates/notify_apprise.sh @@ -13,7 +13,7 @@ printf "\nSending Apprise notification\n" MessageTitle="$FromHost - updates available." # Setting the MessageBody variable here. -MessageBody=$(printf "🐋 Containers on $FromHost with updates available: \n$UpdToString") +printf -v MessageBody "🐋 Containers on $FromHost with updates available:\n$UpdToString" # Modify to fit your setup: apprise -vv -t "$MessageTitle" -b "$MessageBody" \ diff --git a/notify_templates/notify_gotify.sh b/notify_templates/notify_gotify.sh index 0b22cbc..b88f597 100644 --- a/notify_templates/notify_gotify.sh +++ b/notify_templates/notify_gotify.sh @@ -14,7 +14,7 @@ send_notification() { # Setting the MessageTitle and MessageBody variable here. MessageTitle="${FromHost} - updates available." - MessageBody=$(printf "🐋 Containers on $FromHost with updates available: \n$UpdToString") + printf -v MessageBody "🐋 Containers on $FromHost with updates available:\n$UpdToString" # Modify to fit your setup: GotifyToken="Your Gotify token here" diff --git a/notify_templates/notify_ntfy-sh.sh b/notify_templates/notify_ntfy-sh.sh index 7126c63..867dcaa 100644 --- a/notify_templates/notify_ntfy-sh.sh +++ b/notify_templates/notify_ntfy-sh.sh @@ -13,7 +13,7 @@ printf "\nSending ntfy.sh notification\n" MessageTitle="$FromHost - updates available." # Setting the MessageBody variable here. -MessageBody=$(printf "🐋 Containers on $FromHost with updates available: \n$UpdToString") +printf -v MessageBody "🐋 Containers on $FromHost with updates available:\n$UpdToString" # Modify to fit your setup: NtfyUrl="ntfy.sh/YourUniqueTopicName" diff --git a/notify_templates/notify_pushbullet.sh b/notify_templates/notify_pushbullet.sh index 3f181a2..a07b604 100644 --- a/notify_templates/notify_pushbullet.sh +++ b/notify_templates/notify_pushbullet.sh @@ -15,7 +15,7 @@ printf "\nSending pushbullet notification\n" MessageTitle="$FromHost - updates available." # Setting the MessageBody variable here. -MessageBody=$(printf "🐋 Containers on $FromHost with updates available: \n$UpdToString") +printf -v MessageBody "🐋 Containers on $FromHost with updates available:\n$UpdToString" # Modify to fit your setup: PushUrl="https://api.pushbullet.com/v2/pushes" diff --git a/notify_templates/notify_pushover.sh b/notify_templates/notify_pushover.sh index 15a491a..51cf036 100644 --- a/notify_templates/notify_pushover.sh +++ b/notify_templates/notify_pushover.sh @@ -15,7 +15,7 @@ send_notification() { MessageTitle="$FromHost - updates available." # Setting the MessageBody variable here. - MessageBody=$(printf "🐋 Containers on $FromHost with updates available: \n$UpdToString") + printf -v MessageBody "🐋 Containers on $FromHost with updates available:\n$UpdToString" # Modify to fit your setup: PushoverUrl="https://api.pushover.net/1/messages.json" diff --git a/notify_templates/notify_smtp.sh b/notify_templates/notify_smtp.sh index d8f188f..4d98afd 100644 --- a/notify_templates/notify_smtp.sh +++ b/notify_templates/notify_smtp.sh @@ -28,6 +28,8 @@ SubjectTag="dockcheck" printf "\nSending email notification.\n" +printf -v MessageBody "🐋 Containers on $FromHost with updates available:\n\n$UpdToString" + $MailPkg $SendMailTo << __EOF From: "$FromHost" <$SendMailFrom> date:$(date -R) @@ -36,9 +38,7 @@ Subject: [$SubjectTag] Updates available on $FromHost Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit -The following containers on $FromHost have updates available: - -$UpdToString +$MessageBody __EOF } From 6db92be627a665a8240493c3d9a29137dfbd0354 Mon Sep 17 00:00:00 2001 From: mag37 Date: Sat, 12 Oct 2024 13:13:11 +0200 Subject: [PATCH 7/8] getting ready for merge --- README.md | 5 ++++- dockcheck.sh | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ddef012..2a129f3 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,9 @@ ___ ## :bell: Changelog +- **v0.5.0**: Rewritten notify logic - all templates are adjusted and should be migrated to. + - Copy the custom settings from your current template to the new version of the same template. + - Look into, copy and customize the `urls.list` file if that's of interest. - **v0.4.9**: Added a function to enrich the notify-message with release note URLs. See [Release notes addon](https://github.com/mag37/dockcheck#date-release-notes-addon-to-notifications) - **v0.4.8**: Rewrote prune logic to not prompt with options `-a|-y` or `-n`. Auto prune with `-p`. - **v0.4.7**: Notification Template changes to gotify(new!), DSM(improved), SMTP(deprecation alternative). @@ -117,7 +120,7 @@ Further additions are welcome - suggestions or PR! ### :date: Release notes addon to Notifications There's a function to use a lookup-file to add release note URL's to the notification message. -Copy the notify_templates/`urls.list` file to the script directory and modify it as necessary, it will be used automatically if it's there. +Copy the notify_templates/`urls.list` file to the script directory, it will be used automatically if it's there. Modify it as necessary, the names of interest in the left column needs to match your container names. The output of the notification will look something like this: ``` Containers on hostname with updates available: diff --git a/dockcheck.sh b/dockcheck.sh index dda9efc..ffb7a21 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERSION="v0.4.9" -### ChangeNotes: Added a function to enrich the notify-message with release note URLs. See README. +VERSION="v0.5.0" +### ChangeNotes: Rewritten notify logic - all templates adjusted, transfer your current settings to a new template! See README. Github="https://github.com/mag37/dockcheck" RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh" From 18e467274e51b63c802a7af0797dd78edf41b43c Mon Sep 17 00:00:00 2001 From: mag37 Date: Sun, 13 Oct 2024 17:11:10 +0200 Subject: [PATCH 8/8] edited changenotes --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a129f3..ab1d4da 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,12 @@ ___ ## :bell: Changelog -- **v0.5.0**: Rewritten notify logic - all templates are adjusted and should be migrated to. +- **v0.5.0**: Rewritten notify logic - all templates are adjusted and should be migrated! - Copy the custom settings from your current template to the new version of the same template. - Look into, copy and customize the `urls.list` file if that's of interest. + - Other changes: + - Added Discord notify template. + - Verbosity changed of `regctl`. - **v0.4.9**: Added a function to enrich the notify-message with release note URLs. See [Release notes addon](https://github.com/mag37/dockcheck#date-release-notes-addon-to-notifications) - **v0.4.8**: Rewrote prune logic to not prompt with options `-a|-y` or `-n`. Auto prune with `-p`. - **v0.4.7**: Notification Template changes to gotify(new!), DSM(improved), SMTP(deprecation alternative).