towerops/lib/towerops_web/controllers
Graham McIntire 7068ab2466
Convert User Settings from controller to LiveView
- Create UserSettingsLive to replace UserSettingsController
- Convert email/password forms to LiveView with proper form handling
- Add mobile session management (toggle alerts, revoke devices)
- Add require_sudo_mode on_mount hook to UserAuth
- Create dedicated live_session for sudo mode routes in router
- Keep UserSettingsController for email confirmation via token only
- Add MobileSessions.get_session/1 function for test support
- Update tests to match LiveView behavior (password update redirects to login)
- Remove old controller tests for email/password updates (now in LiveView)
2026-01-15 16:29:50 -06:00
..
api add api for mobile login 2026-01-15 15:36:14 -06:00
error_html add error pages 2026-01-06 14:37:48 -06:00
page_html separate out marketing layouts 2026-01-06 14:46:39 -06:00
user_registration_html Improve UI styling and remove DaisyUI dependencies 2026-01-03 11:02:38 -06:00
user_session_html add passkey 2026-01-09 12:26:32 -06:00
user_settings_html add api for mobile login 2026-01-15 15:36:14 -06:00
admin_controller.ex Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
error_html.ex add error pages 2026-01-06 14:37:48 -06:00
error_json.ex init 2025-12-21 11:10:43 -06:00
health_controller.ex update liveview 2026-01-14 13:54:48 -06:00
page_controller.ex add marketing site 2026-01-06 14:34:48 -06:00
page_html.ex init 2025-12-21 11:10:43 -06:00
user_credential_controller.ex add passkey 2026-01-09 12:26:32 -06:00
user_registration_controller.ex 1. User Authentication 2025-12-21 13:31:59 -06:00
user_registration_html.ex 1. User Authentication 2025-12-21 13:31:59 -06:00
user_session_controller.ex Streamline login flow and fix test failures 2026-01-13 13:08:24 -06:00
user_session_html.ex 1. User Authentication 2025-12-21 13:31:59 -06:00
user_settings_controller.ex Convert User Settings from controller to LiveView 2026-01-15 16:29:50 -06:00
user_settings_html.ex 1. User Authentication 2025-12-21 13:31:59 -06:00