towerops/lib/towerops
Graham McIntire b53a53b199
Add comprehensive Dialyzer type specifications
- Add @type definitions to all schema modules:
  - User, UserCredential, Membership, Invitation
  - Organization, Site, AgentAssignment
  - InterfaceStat, SensorReading, Alert
- Fix all compilation warnings with stronger Elixir types:
  - Remove unused require Logger in log_filter.ex
  - Remove unused parse_float(nil) clause
  - Add pin operators (^) for variables in binary pattern matches
- Fix Dialyzer errors (25 → 0):
  - Remove unreachable pattern match clauses
  - Fix unmatched return values with _ = prefix
  - Update @spec for deliver_alert_notification/1
- Properly handle all Phoenix.PubSub.subscribe and Task.start return values
- Explicitly ignore if statement return values where needed

All files now pass mix compile --warnings-as-errors and mix dialyzer.
2026-01-17 10:52:02 -06:00
..
accounts Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
admin Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
agents Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
alerts Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
equipment Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
mobile_sessions Fix datetime truncation for mobile session schemas 2026-01-15 16:17:05 -06:00
monitoring add tests and add snmp neighbor discovery 2026-01-16 13:44:29 -06:00
organizations Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
proto agent improvements and agent config 2026-01-16 17:26:51 -06:00
sites Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
snmp Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
accounts.ex Streamline login flow and fix test failures 2026-01-13 13:08:24 -06:00
admin.ex Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
agents.ex Add Dialyzer typespecs to WebSocket agent code and Agents context 2026-01-17 10:37:27 -06:00
alerts.ex add api for mobile login 2026-01-15 15:36:14 -06:00
application.ex Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
equipment.ex add api for mobile login 2026-01-15 15:36:14 -06:00
log_filter.ex Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
mailer.ex format 2025-12-21 11:31:08 -06:00
mobile_sessions.ex Convert User Settings from controller to LiveView 2026-01-15 16:29:50 -06:00
monitoring.ex Add TimescaleDB aggregate tests, implement on-demand calculation 2026-01-13 08:09:12 -06:00
organizations.ex add api for mobile login 2026-01-15 15:36:14 -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 add api for mobile login 2026-01-15 15:36:14 -06:00
snmp.ex fix neighbors 2026-01-16 16:09:15 -06:00