towerops/lib/towerops
Graham McIntire a3cd43d2c2
Fix credo warnings and software design suggestions
Replace expensive length/1 comparisons with direct list comparisons or Enum.empty?/1 checks (13 instances in source code and tests). Add module aliases for Phoenix.HTML.Form and Towerops.Accounts.Scope to reduce nested module references.

Changes:
- Replace length(list) > 0 with list != [] or refute Enum.empty?(list)
- Add Phoenix.HTML.Form alias in CoreComponents
- Add Towerops.Accounts.Scope alias in ConnCase test helper

This eliminates all credo warnings and software design suggestions.
2026-01-06 12:55:22 -06:00
..
accounts Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
admin Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
alerts Set default email sender to hi@towerops.net 2026-01-04 11:16:12 -06:00
equipment Add sensor value change tracking and threshold monitoring 2026-01-05 14:01:35 -06:00
monitoring Fix compiler warnings in equipment monitor 2026-01-05 14:37:03 -06:00
organizations fix dialyzer things 2026-01-03 12:56:40 -06:00
sites 1. Sites Management 2025-12-21 13:39:19 -06:00
snmp Fix credo warnings and software design suggestions 2026-01-06 12:55:22 -06:00
accounts.ex Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
admin.ex Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
alerts.ex fix a few bits 2026-01-03 14:58:06 -06:00
application.ex event pubsub 2026-01-05 12:23:15 -06:00
equipment.ex Implement event logging system and fix sensor display 2026-01-05 10:42:34 -06:00
mailer.ex format 2025-12-21 11:31:08 -06:00
monitoring.ex mix format 2025-12-21 17:17:35 -06:00
organizations.ex fix dialyzer things 2026-01-03 12:56:40 -06:00
release.ex fix dialyzer things 2026-01-03 12:56:40 -06:00
repo.ex init 2025-12-21 11:10:43 -06:00
sites.ex 1. Sites Management 2025-12-21 13:39:19 -06:00
snmp.ex snmp bits 2026-01-03 14:41:28 -06:00