towerops/lib/towerops_web/live
Graham McIntire 89a076fb67
feat: migrate equipment features to gettext and fix sudo mode tests
Migrates all equipment-related flash messages to gettext for internationalization:
- DeviceLive.Index: device discovery, reordering, error messages
- DeviceLive.Show: backup messages, permission errors
- DeviceLive.Form: device CRUD operations
- AlertLive.Index: alert acknowledgment messages
- SiteLive.Show: site discovery messages
- SiteLive.Form: site CRUD and SNMP/agent propagation

Fixes sudo mode test suite issues:
- Updates Accounts.sudo_mode?/2 test to check last_sudo_at instead of authenticated_at
- Adds register_and_log_in_user_with_sudo/1 helper to ConnCase
- Fixes UserAuth sudo mode tests to use session-based authentication
- Updates MyData tests to use sudo mode (now required per router config)
- Removes obsolete UserSettingsLive "without sudo mode" test
- Fixes grant_sudo_mode/1 DateTime truncation to seconds

All equipment module tests passing. Ready for Phase 3 (Admin Features).
2026-02-02 12:41:58 -06:00
..
account_live Replace single name field with first_name and last_name 2026-02-01 15:00:23 -06:00
admin paginate audit logs 2026-02-01 13:27:56 -06:00
agent_live show cloud poller device count 2026-02-01 13:41:01 -06:00
alert_live feat: migrate equipment features to gettext and fix sudo mode tests 2026-02-02 12:41:58 -06:00
device_live feat: migrate equipment features to gettext and fix sudo mode tests 2026-02-02 12:41:58 -06:00
graph_live add mikrotik device handling 2026-02-01 16:42:39 -06:00
help_live filter more honeybadger alerts, format dates to users time zone, email template cleanup 2026-02-01 09:27:42 -06:00
mikrotik_backup_live Mikrotik backup and gettext start 2026-02-02 09:11:22 -06:00
org purge more passkey and gettext updates 2026-02-02 10:20:59 -06:00
org_live refactoring 2026-01-29 10:03:43 -06:00
site_live feat: migrate equipment features to gettext and fix sudo mode tests 2026-02-02 12:41:58 -06:00
user_settings_live purge more passkey and gettext updates 2026-02-02 10:20:59 -06:00
dashboard_live.ex refactoring 2026-01-29 10:03:43 -06:00
dashboard_live.html.heex refactoring 2026-01-29 10:03:43 -06:00
mobile_qr_live.ex more dark mode 2026-01-20 17:23:11 -06:00
network_map_live.ex filter more honeybadger alerts, format dates to users time zone, email template cleanup 2026-02-01 09:27:42 -06:00
network_map_live.html.heex refactoring 2026-01-29 10:03:43 -06:00
user_registration_live.ex Replace single name field with first_name and last_name 2026-02-01 15:00:23 -06:00
user_reset_password_live.ex add HIBP password check 2026-02-01 08:57:01 -06:00
user_settings_live.ex add default org 2026-02-02 10:45:37 -06:00
user_settings_live.html.heex add default org 2026-02-02 10:45:37 -06:00