You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(settings): sync topbar alert controls on save and sanitize secrets in backup export #76
Clicking Save Settings (web/js/settings.js:29-35) calls App.saveConfig(true), setting App._lastSave = Date.now(), which causes App.on("config") (web/js/util.js:103) to suppress the incoming backend config event for 1500ms. Because #settings-save never invokes App.updateMuteBtn(), App.updateTelegramBtn(), or volume re-rendering, topbar controls stay visually desynchronized.
Full Application Backup (web/js/settings.js:692-700) exports raw config including live tv.sessionid, tv.sessionid_sign, borrow.alpaca_secret_key, and alerts.telegram_bot_token in plaintext without warning or stripping.
Open Settings -> Sound Alerts, toggle Mute in-app audio alerts ON and Enable Telegram Alerts OFF, and click Save Settings.
Observe topbar #btn-mute and #btn-telegram remain visually active/unpaused.
Export a Full Application Backup from Backup & Sync and inspect the JSON file -> raw credentials are exported in plaintext.
Expected Behavior
Saving Settings (as well as Backup Import and Factory Reset) should immediately synchronize topbar Mute, Telegram, and Volume widgets. Full Backup export should strip sensitive credentials/tokens by default (or provide an explicit opt-in checkbox).
Operating System & Version
OS: Windows 11 x64 / macOS arm64 / Linux x86_64
Version: v2.12.0
Display / Scale: Verified via live Chrome CDP (1600x960) & local unit/backend suite
Logs & Additional Context
Live Chrome CDP verified cfgMute: True, cfgTgEnabled: False while btnMuteHasPausedClass: False, btnTgHasPausedClass: False 1.8s after save.
Summary of Changes: Synchronized topbar Mute, Telegram, and Volume controls immediately on Settings Save, Backup Import, and Factory Reset in web/js/settings.js; sanitized credentials by default on Full Backup .json export with an explicit opt-in checkbox. Verified live in Chrome CDP.
Verification: compileall clean, 84/84 unit tests passing (including tests/test_audit_fixes.py), and live Chrome CDP verification passed.
This issue will automatically close upon PR #82 review and merge into main.
Activity
mlgitdev commentedon Dec 2, 2026
🚀 Resolution In Progress
A fix for this issue has been implemented and submitted in Pull Request #82 (
v2.12.1).fix/audit-remediation-67web/js/settings.js; sanitized credentials by default on Full Backup.jsonexport with an explicit opt-in checkbox. Verified live in Chrome CDP.compileallclean, 84/84 unit tests passing (includingtests/test_audit_fixes.py), and live Chrome CDP verification passed.This issue will automatically close upon PR #82 review and merge into
main.github-actions commentedon Dec 2, 2026
✅ Issue Validation Passed
fix(settings))This issue is well-structured and ready for work according to the Issue-First Protocol.