Skip to content

webui: add system, firewall and proxy controls - #132

Merged
Cd1s merged 4 commits into
mainfrom
webui/sys-fw-proxy
Oct 17, 2026
Merged

Cd1s merged 4 commits into
mainfrom
webui/sys-fw-proxy

Conversation

@Cd1s

@Cd1s Cd1s commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

What

  • Add system controls for watchcat, LEDs, watchdog, history, guard baselines, API token allow lists, and Tailscale exit/subnet routes with a state-gated session-only login action.
  • Add HTTPS edge WAN port and modal site editor with enable/description/Basic Auth secret handling.
  • Add firewall presence conditions and proxy per-device global routing, extra_config visibility, proxy self-check, and update-check result display.
  • Add validated Tailscale advertise_routes rendering, OpenRC application, docs, lab coverage, mock fixtures, and tests; allow proxy.global device groups.

Review follow-up

  • Fixed N1: sys.tslogin reads tailscale status --json first, never runs tailscale login when BackendState is Running, returns 409 with an explicit logged-in message, and has tests for Running and NeedsLogin branches.
  • Also tightened the reviewed suggestions: guard scroll waits for rendering, system defaults are normalised before dirty-state capture, IPv6 / broad / guest advertise routes are rejected, route-apply failures are logged, Basic Auth cancellation restores secret state, and edge WAN port state is cleared when WAN exposure is disabled.
  • Added Playwright mock screenshots for system, firewall, and per-device proxy pages at 360px and desktop widths; uploaded under runs/2026-10-17-minirouter/shots-ui-b/.

Verification

  • sh tools/ci.sh — ALL CHECKS PASSED (latest commit c5d523b).
  • go test -count=1 ./... — passed.
  • node --check rootfs/www/ui/*.js — passed.
  • python3 tools/i18n.py check — all strings translated; dictionary budget warning remains until the separate budget update lands.

Closes #131

@Cd1s
Cd1s force-pushed the webui/sys-fw-proxy branch from 8b806e1 to a7c69d0 Compare October 17, 2026 10:37
@Cd1s
Cd1s merged commit c48b0c5 into main Oct 17, 2026
2 checks passed
@Cd1s Cd1s mentioned this pull request Oct 18, 2026
52 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web UI: system, firewall and proxy controls

1 participant