From d873d88b4fde86149b118988a66392a096a76c5c Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Mon, 17 Aug 2026 20:53:33 +0200 Subject: [PATCH] fix(admin-ui): clarify CA/TLS and HTTPS test are optional for HTTP plans MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default Suggested Plan (both XML-over-SSH and Telnet) migrates the speaker over plain HTTP and never touches CA/TLS at all, but the CA/TLS precondition always showed a red not-installed marker and the HTTPS Connection Test panel was always rendered, regardless of whether the current Target URL actually needs HTTPS. Both read as mandatory steps even when nothing needed doing. CA/TLS and HTTPS only matter when the Target URL is https:// or the Customize form's DNS-interception method is chosen (that one always targets https://*.bose.com). - caVerdict() now takes whether the Target URL is HTTPS: shows a neutral marker with a "not needed" note for HTTP targets, keeps the red marker with a sharper "required" note for HTTPS targets. - The HTTPS Connection Test panel gets a small note under its heading ("Optional for your current plan (HTTP)" / "Required ... (HTTPS)"), computed from the same check. Stays visible either way so someone can still run it if they want. Frontend-only — showSummary already had the Target URL in scope. Co-Authored-By: Claude Sonnet 5 --- pkg/service/handlers/web/index.html | 4 ++- pkg/service/handlers/web/js/script.js | 41 +++++++++++++++++++++++---- 2 files changed, 39 insertions(+), 6 deletions(-) diff --git a/pkg/service/handlers/web/index.html b/pkg/service/handlers/web/index.html index 27004a7..64bb165 100644 --- a/pkg/service/handlers/web/index.html +++ b/pkg/service/handlers/web/index.html @@ -868,7 +868,9 @@ background-color: #eefbff; " > - HTTPS Connection Test:
+ HTTPS Connection Test: + +
Verify the device can reach the server over HTTPS.