From f56dff2f05ab55dc4731c5d19dde38b4fafc6224 Mon Sep 17 00:00:00 2001 From: Sacred-Shadow <61997661+Sacred-Shadow@users.noreply.github.com> Date: Fri, 3 Apr 2026 07:59:31 +0200 Subject: [PATCH 1/5] Update NotificationAgents.page Add dropdown support for TLS certificate verification. --- emhttp/plugins/dynamix/NotificationAgents.page | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emhttp/plugins/dynamix/NotificationAgents.page b/emhttp/plugins/dynamix/NotificationAgents.page index b6ecebc35c..a14f9bef11 100644 --- a/emhttp/plugins/dynamix/NotificationAgents.page +++ b/emhttp/plugins/dynamix/NotificationAgents.page @@ -190,6 +190,7 @@ foreach ($xml_files as $xml_file) { $vHelp = preg_replace('#\[([^\]]*)\]#', '<$1>', $v->attributes()->Help); $currentValue = isset($values[$vName]) ? $values[$vName] : $vDefault; $isTitleOrMessage = preg_match('/title|message/', $vDesc); + $isVerify = preg_match('/verify/i', $vDesc); ?>
:
@@ -202,6 +203,11 @@ foreach ($xml_files as $xml_file) { + + From 0e66bc6a850ce99b108da5d028d60b6917bd22bc Mon Sep 17 00:00:00 2001 From: Sacred-Shadow <61997661+Sacred-Shadow@users.noreply.github.com> Date: Fri, 3 Apr 2026 08:02:53 +0200 Subject: [PATCH 2/5] Update Gotify.xml Added TLS certificate verification option. --- emhttp/plugins/dynamix/agents/Gotify.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix/agents/Gotify.xml b/emhttp/plugins/dynamix/agents/Gotify.xml index 049b942f0c..70375e218b 100644 --- a/emhttp/plugins/dynamix/agents/Gotify.xml +++ b/emhttp/plugins/dynamix/agents/Gotify.xml @@ -3,6 +3,7 @@ Gotify SERVER_URL + VERIFY_TLS APP_TOKEN TITLE MESSAGE @@ -29,7 +30,8 @@ # Remove any trailing slash SERVER_URL=${SERVER_URL%/} - curl -s -k -X POST \ + [[ "$VERIFY_TLS" == "no" ]] && K_FLAG="-k" || K_FLAG="" + curl -s $K_FLAG -X POST \ -F "title=$TITLE" \ -F "message=$MESSAGE" \ -F "priority=$PRIORITY" \ From b80ff01e768b3af43491795174ca2b0924852f4b Mon Sep 17 00:00:00 2001 From: Sacred-Shadow <61997661+Sacred-Shadow@users.noreply.github.com> Date: Fri, 3 Apr 2026 08:03:21 +0200 Subject: [PATCH 3/5] Update PushBits.xml Added TLS certificate verification option. --- emhttp/plugins/dynamix/agents/PushBits.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix/agents/PushBits.xml b/emhttp/plugins/dynamix/agents/PushBits.xml index fc3ee275d2..a1be6dcdf6 100644 --- a/emhttp/plugins/dynamix/agents/PushBits.xml +++ b/emhttp/plugins/dynamix/agents/PushBits.xml @@ -3,6 +3,7 @@ PushBits SERVER_URL + VERIFY_TLS APP_TOKEN TITLE MESSAGE @@ -29,7 +30,8 @@ # Remove any trailing slash SERVER_URL=${SERVER_URL%/} - curl -s -k -X POST \ + [[ "$VERIFY_TLS" == "no" ]] && K_FLAG="-k" || K_FLAG="" + curl -s $K_FLAG -X POST \ -F "title=$TITLE" \ -F "message=$MESSAGE" \ -F "priority=$PRIORITY" \ From b0165c28a8580339db666b8b29a64deee85d83db Mon Sep 17 00:00:00 2001 From: Sacred-Shadow <61997661+Sacred-Shadow@users.noreply.github.com> Date: Fri, 3 Apr 2026 08:21:22 +0200 Subject: [PATCH 4/5] Update Gotify.xml Greater clarity in the text. --- emhttp/plugins/dynamix/agents/Gotify.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix/agents/Gotify.xml b/emhttp/plugins/dynamix/agents/Gotify.xml index 70375e218b..d4b620b5bb 100644 --- a/emhttp/plugins/dynamix/agents/Gotify.xml +++ b/emhttp/plugins/dynamix/agents/Gotify.xml @@ -3,7 +3,7 @@ Gotify SERVER_URL - VERIFY_TLS + VERIFY_TLS APP_TOKEN TITLE MESSAGE From 661a707360ddeb5bf5f02686274ffdae2e83a8fa Mon Sep 17 00:00:00 2001 From: Sacred-Shadow <61997661+Sacred-Shadow@users.noreply.github.com> Date: Fri, 3 Apr 2026 08:22:04 +0200 Subject: [PATCH 5/5] Update PushBits.xml Greater clarity in the text. --- emhttp/plugins/dynamix/agents/PushBits.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix/agents/PushBits.xml b/emhttp/plugins/dynamix/agents/PushBits.xml index a1be6dcdf6..5e54b16db0 100644 --- a/emhttp/plugins/dynamix/agents/PushBits.xml +++ b/emhttp/plugins/dynamix/agents/PushBits.xml @@ -3,7 +3,7 @@ PushBits SERVER_URL - VERIFY_TLS + VERIFY_TLS APP_TOKEN TITLE MESSAGE