wrolpi/controller
Roland 07f601e77f
Add controller onboarding flow for primary drive setup
Introduce an onboarding system in the Controller that guides users
through selecting and mounting their primary media drive. This is
the fallback UI flow used when the main React app is unavailable.

Key changes:
- Add onboarding API endpoints and schemas (controller/api/onboarding.py)
- Add onboarding logic to detect drives, handle already-mounted drives
  (needed for RPi which auto-mounts), and save primary drive selection
  to the controller config when no mounts are configured
- Extend the Controller's index.html template with the onboarding UI
- Skip root cert creation until onboarding is complete
- Update first_startup.sh to support the onboarding/repair flow
- Add comprehensive tests for onboarding logic and API
2026-03-14 16:08:40 -06:00
..
api Add controller onboarding flow for primary drive setup 2026-03-14 16:08:40 -06:00
lib Add controller onboarding flow for primary drive setup 2026-03-14 16:08:40 -06:00
templates Add controller onboarding flow for primary drive setup 2026-03-14 16:08:40 -06:00
test Add controller onboarding flow for primary drive setup 2026-03-14 16:08:40 -06:00
__init__.py Creating Controller service which will control WROLPi services, admin, SMART, disks, and status. nginx will fallback to Controller UI when React UI is unavailable (such as during upgrades). 2025-12-15 15:48:40 -07:00
conftest.py Creating Controller service which will control WROLPi services, admin, SMART, disks, and status. nginx will fallback to Controller UI when React UI is unavailable (such as during upgrades). 2025-12-15 15:48:40 -07:00
defaults.py Replace nginx with Caddy for TLS termination and reverse proxying. 2026-03-07 18:48:44 -07:00
main.py Add controller onboarding flow for primary drive setup 2026-03-14 16:08:40 -06:00
requirements.txt Bump aiohttp from 3.12.14 to 3.13.3 2026-01-06 06:22:34 -07:00