Commit Graph
4 Commits
Author SHA1 Message Date
ayurishchevandClaude Sonnet 5.5 b78de98f26 UI review, stage 1: 401 on /auth/*, expiring certs, VPN netmask, formatBytes
401 from change-password/change-username no longer logs the user out;
Analytics reads the plain /profiles array; VPN settings send vpn_netmask
with vpn_network (the API reset it to 255.255.255.0); formatBytes guards
null/NaN/negative; Certificates sorts 0 days correctly. Vitest added for
formatters, CIDR parsing and the 401 interceptor.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-07 13:05:55 +03:00
ayurishchevandClaude Sonnet 5.5 56dae90ff5 Guard server setup behind an initialized PKI
- Profiler: server_files_missing/require_* helpers; 409 for
  /server/configure, start/restart and POST /profiles when the PKI is
  not initialized or server files (honouring fqdn_server) are missing;
  stop stays allowed; DELETE /system/pki returns 409 while OpenVPN runs;
  GET /system/init/status adds pki_ready, server_ready, missing.
- UI: shared usePkiStatus; VPN menu item locked until the PKI is ready,
  route guard for /config/vpn, Start/Restart and New Client disabled
  with hints, lock notice on the VPN page.
- Test: one pytest (test_pki_guard.py).
- Docs: plan and summary in DOCS/Changes, API reference, README, Index.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-04 21:52:40 +03:00
ayurishchevandClaude Sonnet 5.5 dcc3d7f2d5 UI: shared toast notifications in the bottom-right corner
- useToast composable and ToastContainer (mounted once in App.vue):
  stacked toasts with icon, close button and progress bar, hover pause,
  slide-in animation, aria roles, full width on phones.
- Light and dark theme colour tokens; old .toast-message styles removed.
- PKIConfig, VPNConfig, ServerManagement and Certificates use the shared
  toast through thin showMessage/showToast wrappers.
- Docs: plan and summary in DOCS/Changes, README, Index.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-04 21:05:41 +03:00
Антон fcb8f6bac7 new awesome build 2026-01-28 22:37:47 +03:00