Skip to content

v0.1.0-rc.3 — Bilingual settings and device defaults

Pre-release
Pre-release

Choose a tag to compare

@AzBuildDev AzBuildDev released this 08 Oct 12:02
· 8 commits to main since this release

This updates the existing experimental release to rc.3 and supersedes rc.2.

The main device switches stay on the first screen. A small settings gear now offers:

  • Chinese/English in the same package: browser language by default, manual choice remembered, available before login too.
  • A default policy for newly discovered devices, initially direct/OFF. Saving a default preserves existing switches. A changed private MAC is a new device following this default; names do not grant inherited authorization.
  • Admin password change: current password, matching confirmation, 16–256 characters, CSRF and wrong-password limiting. Success signs out all sessions. The independent core API secret is unchanged.
  • Read-only access, versions and traffic sampling start, with a subscription shortcut. DHCP and LAN addressing are not editable in ordinary settings.

The GitHub homepage is now English with a Chinese navigation link, modest emoji and a fully fictional English demo. English installation/recovery and Chinese documents remain available.

Validation: 74 source/HTTP/UI-language tests, including an upgrade check proving missing preferences default false without changing existing enabled/disabled devices. Full CI includes Compose validation, image build, offline startup/health/login/dnsmasq checks and both isolated DHCP migration protocol paths. Fictional UI testing confirmed language switching and default-policy save preserved existing 2/4 switches. Original NAS setting/API behavior was verified in the existing environment; no real management password was changed.

CI: https://github.com/AzBuildDev/nas-device-flow/actions/runs/37782125383

Update: privately back up runtime and .env, fetch rc.3, then run sh scripts/update.sh. Missing preferences.json uses the direct default for future devices only. Existing device records, subscriptions and sampled totals remain in runtime. The controller stops gracefully before recreation.

Fresh generic-LAN installation, IPv6 handling, automatic failover, forgotten-password reset and regional rule/DNS presets remain unimplemented/unverified as documented. Language selection does not adapt China-direct routing/DNS for other regions.

Homepage: https://github.com/AzBuildDev/nas-device-flow
Settings guide: https://github.com/AzBuildDev/nas-device-flow/blob/main/docs/settings.md