wrolpi/controller/lib
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
..
__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
admin.py Controller logs when it takes actions. 2026-03-14 10:03:11 -06:00
config.py Add controller onboarding flow for primary drive setup 2026-03-14 16:08:40 -06:00
disks.py Controller logs when it takes actions. 2026-03-14 10:03:11 -06:00
docker_services.py Controller logs when it takes actions. 2026-03-14 10:03:11 -06:00
fstab.py Controller logs when it takes actions. 2026-03-14 10:03:11 -06:00
onboarding.py Add controller onboarding flow for primary drive setup 2026-03-14 16:08:40 -06:00
readiness.py Checking readiness of main app in Controller instead of javascript requests, which break with CORS. 2026-03-08 16:05:56 -06:00
scripts.py Controller logs when it takes actions. 2026-03-14 10:03:11 -06:00
smart.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
status.py Controller tracks disk bandwidth stats. 2026-01-23 15:29:18 -07:00
status_worker.py Controller logs when it takes actions. 2026-03-14 10:03:11 -06:00
systemd.py Controller logs when it takes actions. 2026-03-14 10:03:11 -06:00
wrol_mode.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