towerops/lib/towerops_web/live/org
Graham McIntire bca2a3daeb
Some checks failed
Production Deployment / Run ExUnit Tests (push) Failing after 1m0s
Production Deployment / Build and Push Docker Image (push) Has been skipped
Fix remaining 4 audit items: policy enforcement, module splits, pagination, tests
SEC-M6: Role-based policy enforcement
- ForbiddenError exception for unauthorized access
- Policy.authorize!/3 in 6 LiveView modules
- Superuser bypass preserved
- 45/45 tests pass

Architecture: Oversized module splits
- topology.ex: 1590 -> 685 lines (-57%)
- New sub-modules: topology/evidence.ex, topology/map_view.ex, topology/stats.ex
- New devices/ordering.ex
- 217/217 tests pass

Architecture: Vendor HTTP pagination consolidation
- HTTP.paginate/5 shared helper in Towerops.HTTP
- visp, splynx, sonar refactored to use shared pagination
- 94/94 tests pass

Test Health + Credo fixes:
- api_tokens.ex: verify_token/1 flattened (nesting depth reduced)
- 3 new test files: AgentReleaseWebhookWorker, RfLinkHealthLive, MaintenanceLive.Index
- Weak assertions strengthened
- doctest Towerops.JobMonitoring added
- 255/255 tests pass
2026-07-26 15:47:19 -05:00
..
gaiia_mapping_live.ex tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
gaiia_mapping_live.html.heex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
gaiia_reconciliation_live.ex fix(gaiia): add ghost devices tab, manual link, and refresh to reconciliation 2026-05-11 18:35:34 -05:00
gaiia_reconciliation_live.html.heex fix: add unique form IDs for LiveView 1.2 compatibility, add type attr to button component 2026-07-08 11:10:41 -05:00
integrations_live.ex Fix remaining 4 audit items: policy enforcement, module splits, pagination, tests 2026-07-26 15:47:19 -05:00
integrations_live.html.heex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
preseem_devices_live.ex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
preseem_devices_live.html.heex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
preseem_insights_live.ex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
preseem_insights_live.html.heex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
settings_live.ex Fix remaining 4 audit items: policy enforcement, module splits, pagination, tests 2026-07-26 15:47:19 -05:00
settings_live.html.heex fix: add unique form IDs for LiveView 1.2 compatibility, add type attr to button component 2026-07-08 11:10:41 -05:00