- 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>
OpenVPN Dashboard UI (APP_UI)
A Single Page Application (SPA) built with Vue 3 and Vite. It serves as the unified dashboard for monitoring and management.
Project Structure
src/views/: Page components (Dashboard, Login, Profiles, etc.).src/components/: Reusable widgets (Charts, Sidebar).src/stores/: Pinia state management (Auth, Client Data).
Configuration
Runtime configuration is loaded from /config.json (in public/) to allow environment-independent builds.
Development
npm install
npm run dev
# Access at http://localhost:5173
Documentation
See DOCS/UI/Architecture.md for detailed architecture notes.