From 91766f2264262f21b5a27524582e4a5b871486ab Mon Sep 17 00:00:00 2001 From: bjorne Date: Sun, 27 Sep 2026 00:51:19 +0200 Subject: [PATCH] Neutralize box/host names in comments (hub box / bridge box instead of internal hostnames) Co-Authored-By: Claude Fable 5.1 --- app.js | 2 +- auth/lib.php | 2 +- auth/lib/acl.php | 2 +- auth/lib/html.php | 2 +- auth/lib/http.php | 2 +- auth/lib/redis.php | 2 +- auth/lib/shell.php | 2 +- lastheard_view.js | 6 +++--- lib/api.js | 2 +- lib/auth_ui.js | 2 +- lib/changelog.js | 2 +- lib/fmt.js | 2 +- lib/pager.js | 2 +- lib/theme.js | 2 +- lib/ui_field.js | 2 +- lib/ui_list.js | 2 +- lib/ui_msg.js | 2 +- svxdr/config/config.go | 2 +- svxdr/main.go | 4 ++-- svxdr/nodelist/monitor_nodes.go | 8 ++++---- 20 files changed, 26 insertions(+), 26 deletions(-) diff --git a/app.js b/app.js index 05df3e2..0197ebe 100644 --- a/app.js +++ b/app.js @@ -82,7 +82,7 @@ async function refresh(){ applyFederationExtra(j); } -// On the AlabamaLink box (aldmr) fold the AlabamaLink line INTO the existing +// On the AlabamaLink box fold the AlabamaLink line INTO the existing // federation marquee so both scroll together in the one bar — same style, no // second banner. Every other box keeps just the federation line. Gated on the // local reflector identity from the status (KT4ROY / alabama.reflector-network.com), diff --git a/auth/lib.php b/auth/lib.php index e8fd380..f588646 100644 --- a/auth/lib.php +++ b/auth/lib.php @@ -19,7 +19,7 @@ function cfg(): array { } // redis() / redis_connect() / redis_scan_mget() come from auth/lib/redis.php -// (copy of callmgr2/www-mumien/auth/lib/redis.php). +// (copy of /auth/lib/redis.php). require __DIR__ . '/lib/redis.php'; // json_in/json_out, CSRF and rate limiting come from auth/lib/http.php (copy of // callmgr2's); the rate-limit keys keep this site's namespace. diff --git a/auth/lib/acl.php b/auth/lib/acl.php index 3594ff5..08e2fa1 100644 --- a/auth/lib/acl.php +++ b/auth/lib/acl.php @@ -11,7 +11,7 @@ */ declare(strict_types=1); // acl.php — shared PHP helper for every web (dmr-web, svx-web). -// Canonical copy: callmgr2/www-mumien/auth/lib/acl.php; other repos carry a COPY. +// Canonical copy: /auth/lib/acl.php; other repos carry a COPY. // Admin-on-admin checks. Needs acct_admin_level() and json_out() from the site. // An admin may change another account only when their own level is strictly diff --git a/auth/lib/html.php b/auth/lib/html.php index d7eaa03..6b88826 100644 --- a/auth/lib/html.php +++ b/auth/lib/html.php @@ -11,7 +11,7 @@ */ declare(strict_types=1); // html.php — shared PHP helper for every web (dmr-web, svx-web, svxlink-web). -// Canonical copy: callmgr2/www-mumien/auth/lib/html.php; other repos carry a COPY. +// Canonical copy: /auth/lib/html.php; other repos carry a COPY. // HTML escaping for server-rendered pages. // Escape for HTML text and attribute context (quotes included, invalid UTF-8 replaced). diff --git a/auth/lib/http.php b/auth/lib/http.php index 9ee89a6..d2e83f6 100644 --- a/auth/lib/http.php +++ b/auth/lib/http.php @@ -11,7 +11,7 @@ */ declare(strict_types=1); // http.php — shared PHP helper for every web (dmr-web, svx-web). -// Canonical copy: callmgr2/www-mumien/auth/lib/http.php; other repos carry a COPY. +// Canonical copy: /auth/lib/http.php; other repos carry a COPY. // JSON request/response, CSRF check, Redis-backed rate limiting. // Loaded by auth/lib.php; needs cfg() from the page's own lib.php. diff --git a/auth/lib/redis.php b/auth/lib/redis.php index 9c3e5f3..377975b 100644 --- a/auth/lib/redis.php +++ b/auth/lib/redis.php @@ -11,7 +11,7 @@ */ declare(strict_types=1); // redis.php — shared PHP helper for every web (dmr-web, svx-web). -// Canonical copy: callmgr2/www-mumien/auth/lib/redis.php; other repos carry a COPY. +// Canonical copy: /auth/lib/redis.php; other repos carry a COPY. // Redis connections (main + aux) and the batched SCAN+MGET read — the only way to read many keys. // Loaded by auth/lib.php; needs cfg() from the page's own lib.php. diff --git a/auth/lib/shell.php b/auth/lib/shell.php index bb235de..b8a4fb6 100644 --- a/auth/lib/shell.php +++ b/auth/lib/shell.php @@ -11,7 +11,7 @@ */ declare(strict_types=1); // shell.php — shared PHP helper for every web (dmr-web, svx-web, svxlink-web). -// Canonical copy: callmgr2/www-mumien/auth/lib/shell.php; other repos carry a COPY. +// Canonical copy: /auth/lib/shell.php; other repos carry a COPY. // Shell-argument quoting for the few pages that run local helpers. function sh_arg($v): string { return escapeshellarg((string)$v); } diff --git a/lastheard_view.js b/lastheard_view.js index f844050..d0aee2d 100644 --- a/lastheard_view.js +++ b/lastheard_view.js @@ -48,8 +48,8 @@ function renderLastheard(payload){ } // Network bridge directory (crawled from every reflector): so a bridge that - // arrives bare over a trunk (speed: node/system empty) renders IDENTICALLY to - // where it is a local client (aldmr: astmeta filled node/system). Same code, + // arrives bare over a trunk (hub reflector: node/system empty) renders IDENTICALLY to + // where it is a local client (bridge box: astmeta filled node/system). Same code, // same result on both boxes. const bn = (window.__svxportal_lastStatus && window.__svxportal_lastStatus.bridge_nodes) || {}; const now = Math.floor(Date.now()/1000); @@ -72,7 +72,7 @@ function renderLastheard(payload){ // Callsign column = the callsign field as-is (e.g. the trunk callsign // KT4ROY-ASL). The gateway/reflector descriptor ("East Coast Reflector via // 45225 / W2ECR") lives in the Location column. Uniform on every box: an - // AllStar row (aldmr) and the same talker arriving over the trunk (speed) + // AllStar row (bridge box) and the same talker arriving over the trunk (hub) // render identically — the backend already fills callsign + location, the // web just shows them, it never re-derives the name. const csCell = `${escHtml(e.callsign || eSystem || '')}`; diff --git a/lib/api.js b/lib/api.js index a2d01de..a2294e9 100644 --- a/lib/api.js +++ b/lib/api.js @@ -8,7 +8,7 @@ // later version. See the LICENSE file for details. // api.js — shared HTTP helpers for every web (dmr-web, svx-web, svxlink-web). -// Canonical copy: callmgr2/www-mumien/lib/api.js; other repos carry a COPY. +// Canonical copy: /lib/api.js; other repos carry a COPY. // // apiFetch(url, {method, body, form, csrf, headers, quiet}) → {ok, status, json} // apiGet(url, opts) → json | null GET, cache: no-store diff --git a/lib/auth_ui.js b/lib/auth_ui.js index fd76cae..3220d38 100644 --- a/lib/auth_ui.js +++ b/lib/auth_ui.js @@ -8,7 +8,7 @@ // later version. See the LICENSE file for details. // auth_ui.js — shared sign-in / register / sign-out transport (dmr-web, svx-web). -// Canonical copy: callmgr2/www-mumien/lib/auth_ui.js; other repos carry a COPY. +// Canonical copy: /lib/auth_ui.js; other repos carry a COPY. // Needs lib/api.js. Pages keep their own field validation and messages; this // owns the request/response contract so both webs behave the same. // diff --git a/lib/changelog.js b/lib/changelog.js index a7359cb..e972a83 100644 --- a/lib/changelog.js +++ b/lib/changelog.js @@ -8,7 +8,7 @@ // later version. See the LICENSE file for details. // changelog.js — shared "recent updates" viewer (dmr-web, svx-web). -// Canonical copy: callmgr2/www-mumien/lib/changelog.js; other repos carry a COPY. +// Canonical copy: /lib/changelog.js; other repos carry a COPY. // Reads changelog.json (newest first, {date, repo, hash, type, summary}) and // renders a client-side paginated list. Needs lib/fmt.js (escHtml). // diff --git a/lib/fmt.js b/lib/fmt.js index 412f7bf..bbdbb52 100644 --- a/lib/fmt.js +++ b/lib/fmt.js @@ -8,7 +8,7 @@ // later version. See the LICENSE file for details. // fmt.js — shared formatting helpers for every web (dmr-web, svx-web, svxlink-web). -// Canonical copy: callmgr2/www-mumien/lib/fmt.js; other repos carry a COPY. +// Canonical copy: /lib/fmt.js; other repos carry a COPY. // Every function here replaced an identical local copy; outputs are unchanged. (function () { 'use strict'; diff --git a/lib/pager.js b/lib/pager.js index 3abd3ee..dd99c11 100644 --- a/lib/pager.js +++ b/lib/pager.js @@ -8,7 +8,7 @@ // later version. See the LICENSE file for details. // pager.js — shared pagination (dmr-web, svx-web). -// Canonical copy: callmgr2/www-mumien/lib/pager.js; other repos carry a COPY. +// Canonical copy: /lib/pager.js; other repos carry a COPY. // // pageSizeFor('monitorBody', 32, 160) rows that fit below the element (min 5) // pagerHtml({page, pages, total, noun, cls}) footer « ‹ 1..n › » as HTML; diff --git a/lib/theme.js b/lib/theme.js index 8849f03..0a897a5 100644 --- a/lib/theme.js +++ b/lib/theme.js @@ -8,7 +8,7 @@ // later version. See the LICENSE file for details. /* Theme engine — Dark / Light / Color, with a Color editor. Shared by every web - * (canonical copy: callmgr2/www-mumien/lib/theme.js; other repos carry a COPY). + * (canonical copy: /lib/theme.js; other repos carry a COPY). * Page settings: window.THEME_AUTH_BASE (default '/auth/'); window.THEME_SERVER_SYNC = false * disables the per-account sync (svxlink-web has no account backend). * diff --git a/lib/ui_field.js b/lib/ui_field.js index 84d5716..d6a9a64 100644 --- a/lib/ui_field.js +++ b/lib/ui_field.js @@ -8,7 +8,7 @@ // later version. See the LICENSE file for details. // ui_field.js — shared form-field builders (dmr-web, svx-web, svxlink-web). -// Canonical copy: callmgr2/www-mumien/lib/ui_field.js; other repos carry a COPY. +// Canonical copy: /lib/ui_field.js; other repos carry a COPY. // // makeToggleBtn(isOn, onFlip(next, btn), extraCls) Enable/Disable button; .value 'true'/'false', .setOn() // makeBoolSelect(cls, val, disabled) same button, fires 'change' — drop-in for a true/false