towerops/lib/towerops
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
..
accounts add default org 2026-02-02 10:45:37 -06:00
admin feat: add audit logging to grant_sudo_mode/1 2026-02-01 14:09:40 -06:00
agents enable agent debugging 2026-01-27 13:25:04 -06:00
alerts feat: add Meraki/FortiWLC vendors, remove AlertNotifier temporarily 2026-01-22 10:40:44 -06:00
api_tokens refactor: use API token auth for profile imports instead of session cookies 2026-01-18 09:30:21 -06:00
devices mikrotik api update 2026-02-02 10:35:44 -06:00
ecto_types add mikrotik device handling 2026-02-01 16:42:39 -06:00
geoip remove Mix.env and support ip database import 2026-01-28 13:08:06 -06:00
mobile_sessions Fix datetime truncation for mobile session schemas 2026-01-15 16:17:05 -06:00
monitoring refactor: convert periodic workers to Oban Cron for better resilience 2026-01-24 16:56:28 -06:00
organizations add mikrotik device handling 2026-02-01 16:42:39 -06:00
profiles fix TOTP enrollment with recovery codes 2026-01-31 14:54:44 -06:00
proto add mikrotik device handling 2026-02-01 16:42:39 -06:00
settings remote agent/cloud improvements 2026-01-24 09:16:41 -06:00
sites add mikrotik device handling 2026-02-01 16:42:39 -06:00
snmp Add firmware version tracking system 2026-02-01 10:46:27 -06:00
workers Mikrotik backup and gettext start 2026-02-02 09:11:22 -06:00
accounts.ex feat: migrate equipment features to gettext and fix sudo mode tests 2026-02-02 12:41:58 -06:00
admin.ex user session tracking 2026-01-29 14:14:21 -06:00
agents.ex enable agent debugging 2026-01-27 13:25:04 -06:00
alerts.ex refactor 2026-01-31 09:35:07 -06:00
api_tokens.ex fix my-data page 2026-01-30 16:47:11 -06:00
application.ex add mikrotik device handling 2026-02-01 16:42:39 -06:00
devices.ex Mikrotik backup and gettext start 2026-02-02 09:11:22 -06:00
geoip.ex remove Mix.env and support ip database import 2026-01-28 13:08:06 -06:00
honeybadger_filter.ex filter more honeybadger alerts, format dates to users time zone, email template cleanup 2026-02-01 09:27:42 -06:00
log_filter.ex Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
logger_filters.ex refactor: filter harmless Oban shutdown messages during deployments 2026-01-25 08:38:33 -06:00
mailer.ex moduledocs 2026-01-17 15:08:49 -06:00
mobile_sessions.ex credo cleanup 2026-01-17 15:00:52 -06:00
monitoring.ex implement timescaledb improvements 2026-01-22 13:24:14 -06:00
organizations.ex mikrotik api update 2026-02-02 10:35:44 -06:00
profiles.ex add universoal import 2026-01-18 16:59:34 -06:00
redis_health_check.ex fix: remove to_charlist conversion for Redix host option 2026-01-24 17:49:57 -06:00
release.ex fix dialyzer things 2026-01-03 12:56:40 -06:00
repo.ex moduledocs 2026-01-17 15:08:49 -06:00
result.ex fix my-data page 2026-01-30 16:47:11 -06:00
settings.ex remote agent/cloud improvements 2026-01-24 09:16:41 -06:00
sites.ex mikrotik api update 2026-02-02 10:35:44 -06:00
snmp.ex fix network map 2026-01-26 13:39:46 -06:00
vault.ex add mikrotik device handling 2026-02-01 16:42:39 -06:00