From 6126fbf0ca787f1057622830b164aa4408a7f812 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 21:58:15 +0000 Subject: [PATCH 1/2] Initial plan From 5678b69d4fd5feab8e0c68ab6675d2ce422d7208 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 21:59:35 +0000 Subject: [PATCH 2/2] fix: clarify password labels and change password UI in Sovran Hub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - sovran-hub.nix: rename credential labels for clarity - "Free Account — Password" → "Free Account / Hub Login — Password" - "Root Password" → "Administrator (root) Password" - "SSH Passphrase" → "SSH Passphrase — use via: ssh root@localhost" - service-detail.js: update Change Password button text - "Change Password" → "Change Free Account Password" - service-detail.js: update Change Password modal - Title: "Change Free Account & Hub Login Password" - Description: adds Hub login warning - Warning note: warns about desktop AND Hub login change - Success message: "Free account & Hub login password changed successfully." Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/2ac6f3cf-cf94-47e9-86ac-1321cd5ff728 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- app/sovran_systemsos_web/static/js/service-detail.js | 10 +++++----- modules/core/sovran-hub.nix | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/sovran_systemsos_web/static/js/service-detail.js b/app/sovran_systemsos_web/static/js/service-detail.js index 98dd56f..01f7155 100644 --- a/app/sovran_systemsos_web/static/js/service-detail.js +++ b/app/sovran_systemsos_web/static/js/service-detail.js @@ -267,7 +267,7 @@ async function openServiceDetailModal(unit, name, icon) { '' : "") + (unit === "root-password-setup.service" ? '
' + - '' + + '' + '
' : "") + ''; } else if (!data.enabled && !data.feature) { @@ -534,8 +534,8 @@ function openSystemChangePasswordModal(unit, name, icon) { if (!$credsBody) return; $credsBody.innerHTML = '
' + - '
🔑 Change \'free\' Account Password
' + - '
This updates the system login password for the free user account on this device.
' + + '
🔑 Change Free Account & Hub Login Password
' + + '
This updates the password for the free user account. This is also your Sovran Hub login password — both will change.
' + '
' + '
' + '
' + @@ -548,7 +548,7 @@ function openSystemChangePasswordModal(unit, name, icon) { '' + '' + '
' + - '
⚠ After changing, your updated password will appear in the System Passwords credentials tile. Make sure to remember it.
' + + '
⚠ This will change both your desktop login and Hub login password. After changing, your updated password will appear in the System Passwords credentials tile. Make sure to remember it — you will need it to sign back into the Hub.
' + '
' + '' + '' + @@ -609,7 +609,7 @@ function openSystemChangePasswordModal(unit, name, icon) { body: JSON.stringify({ new_password: newPassword, confirm_password: confirmPassword }) }); resultEl.className = "matrix-form-result success"; - resultEl.textContent = "✅ System password changed successfully."; + resultEl.textContent = "✅ Free account & Hub login password changed successfully."; submitBtn.textContent = "Change Password"; submitBtn.disabled = false; } catch (err) { diff --git a/modules/core/sovran-hub.nix b/modules/core/sovran-hub.nix index da0f523..9a7566e 100644 --- a/modules/core/sovran-hub.nix +++ b/modules/core/sovran-hub.nix @@ -8,9 +8,9 @@ let [ { name = "System Passwords"; unit = "root-password-setup.service"; type = "system"; icon = "passwords"; enabled = true; category = "infrastructure"; credentials = [ { label = "Free Account — Username"; value = "free"; } - { label = "Free Account — Password"; file = "/var/lib/secrets/free-password"; } - { label = "Root Password"; file = "/var/lib/secrets/root-password"; } - { label = "SSH Passphrase"; file = "/var/lib/secrets/ssh-passphrase"; } + { label = "Free Account / Hub Login — Password"; file = "/var/lib/secrets/free-password"; } + { label = "Administrator (root) Password"; file = "/var/lib/secrets/root-password"; } + { label = "SSH Passphrase — use via: ssh root@localhost"; file = "/var/lib/secrets/ssh-passphrase"; } ]; } ] # ── Infrastructure — Caddy + Tor (NOT desktop-only) ────────