Neutralize box/host names in comments (hub box / bridge box instead of internal hostnames)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -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: <dmr-portal>/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
|
||||
|
||||
+1
-1
@@ -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: <dmr-portal>/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.
|
||||
//
|
||||
|
||||
+1
-1
@@ -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: <dmr-portal>/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).
|
||||
//
|
||||
|
||||
+1
-1
@@ -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: <dmr-portal>/lib/fmt.js; other repos carry a COPY.
|
||||
// Every function here replaced an identical local copy; outputs are unchanged.
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
+1
-1
@@ -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: <dmr-portal>/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;
|
||||
|
||||
+1
-1
@@ -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: <dmr-portal>/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).
|
||||
*
|
||||
|
||||
+1
-1
@@ -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: <dmr-portal>/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 <select>
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
|
||||
// ui_list.js — shared list editor for every web (dmr-web, svx-web, svxlink-web).
|
||||
//
|
||||
// Canonical copy: callmgr2/www-mumien/lib/ui_list.js. Other repos carry a
|
||||
// Canonical copy: <dmr-portal>/lib/ui_list.js. Other repos carry a
|
||||
// plain COPY (never a symlink); deploy copies it in. Plain script, no deps
|
||||
// beyond the shared CSS classes (btn, form-control, data-table, mono).
|
||||
//
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
// later version. See the LICENSE file for details.
|
||||
|
||||
// ui_msg.js — shared status/error message helpers (dmr-web, svx-web, svxlink-web).
|
||||
// Canonical copy: callmgr2/www-mumien/lib/ui_msg.js; other repos carry a COPY.
|
||||
// Canonical copy: <dmr-portal>/lib/ui_msg.js; other repos carry a COPY.
|
||||
//
|
||||
// setMsg(elOrId, text, isErr) inline text line: hidden when empty, green/red
|
||||
// showErr(elOrId, text) show/hide an error line, keeps its own colour
|
||||
|
||||
Reference in New Issue
Block a user