towerops/lib/towerops_web/live
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
..
account_live chore: update phoenix_live_view 1.1.32→1.2.6, relax constraint to ~> 1.2 2026-07-08 10:57:31 -05:00
admin Revert "feat: add beacon monitors with user and admin management" 2026-07-22 08:25:04 -05:00
agent_live Fix remaining 4 audit items: policy enforcement, module splits, pagination, tests 2026-07-26 15:47:19 -05:00
alert_live Fix 22 audit findings across security, performance, and architecture 2026-07-26 15:31:25 -05:00
check_live chore: update phoenix_live_view 1.1.32→1.2.6, relax constraint to ~> 1.2 2026-07-08 10:57:31 -05:00
components Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
coverage_live chore: update phoenix_live_view 1.1.32→1.2.6, relax constraint to ~> 1.2 2026-07-08 10:57:31 -05:00
device_live Fix remaining 4 audit items: policy enforcement, module splits, pagination, tests 2026-07-26 15:47:19 -05:00
escalation_policy_live fix: add unique form IDs for LiveView 1.2 compatibility, add type attr to button component 2026-07-08 11:10:41 -05:00
graph_live fix: resolve credo warnings — refactor decoder_macros complexity and remove unused assign indirection 2026-07-25 09:46:19 -05:00
help_live fix: resolve credo warnings — refactor decoder_macros complexity and remove unused assign indirection 2026-07-25 09:46:19 -05:00
helpers Security hardening + performance fixes across codebase 2026-06-21 17:40:50 -05:00
insights_live revert: remove custom color palette, restore standard Tailwind v4 colors 2026-06-23 12:29:46 -05:00
maintenance_live Fix 22 audit findings across security, performance, and architecture 2026-07-26 15:31:25 -05:00
map_live chore: update phoenix_live_view 1.1.32→1.2.6, relax constraint to ~> 1.2 2026-07-08 10:57:31 -05:00
mikrotik_backup_live Fix 22 audit findings across security, performance, and architecture 2026-07-26 15:31:25 -05:00
org Fix remaining 4 audit items: policy enforcement, module splits, pagination, tests 2026-07-26 15:47:19 -05:00
org_live Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
schedule_live fix: add unique form IDs for LiveView 1.2 compatibility, add type attr to button component 2026-07-08 11:10:41 -05:00
site_live Fix remaining 4 audit items: policy enforcement, module splits, pagination, tests 2026-07-26 15:47:19 -05:00
trace_live fix: add unique form IDs for LiveView 1.2 compatibility, add type attr to button component 2026-07-08 11:10:41 -05:00
user_settings_live Fix 22 audit findings across security, performance, and architecture 2026-07-26 15:31:25 -05:00
activity_feed_live.ex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
activity_feed_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
changelog_live.ex revert: remove custom color palette, restore standard Tailwind v4 colors 2026-06-23 12:29:46 -05:00
config_timeline_live.ex Fix 22 audit findings across security, performance, and architecture 2026-07-26 15:31:25 -05:00
dashboard_live.ex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
dashboard_live.html.heex chore: update phoenix_live_view 1.1.32→1.2.6, relax constraint to ~> 1.2 2026-07-08 10:57:31 -05:00
mobile_qr_live.ex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
network_map_live.ex feat: WISP-tuned network map enhancements (TOW-16) 2026-03-15 14:06:06 -05:00
network_map_live.html.heex chore: update phoenix_live_view 1.1.32→1.2.6, relax constraint to ~> 1.2 2026-07-08 10:57:31 -05:00
onboarding_live.ex tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
onboarding_live.html.heex fix: resolve credo warnings — refactor decoder_macros complexity and remove unused assign indirection 2026-07-25 09:46:19 -05:00
reports_live.ex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
reports_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
rf_link_health_live.ex Fix 22 audit findings across security, performance, and architecture 2026-07-26 15:31:25 -05:00
rf_link_health_live.html.heex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
status_page_live.ex Fix precommit checks and test isolation 2026-07-25 15:54:06 -05:00
status_page_live.html.heex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
user_registration_live.ex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
user_reset_password_live.ex Revert "refactor: apply custom color palette across entire codebase" 2026-06-23 12:26:57 -05:00
user_settings_live.ex credo fixes 2026-06-14 08:27:57 -05:00
user_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
weathermap_live.ex dialyzer: fix all unmatched_return warnings (154 → 0) 2026-04-21 10:03:55 -05:00
weathermap_live.html.heex chore: update phoenix_live_view 1.1.32→1.2.6, relax constraint to ~> 1.2 2026-07-08 10:57:31 -05:00