towerops/lib/towerops_web/components
Graham McIntire 3a408a8dc1 Security hardening + performance fixes across codebase
CRITICAL:
- Membership: remove :role/:org_id/:user_id from mass-assignment cast; use explicit create_changeset/4 and role_update_changeset/2
- GraphQL member resolver: add authorize_invite/3 checking admin/owner role and role hierarchy
- REST invitations controller: add auth check for invite creation

HIGH:
- ApiToken: remove :organization_id/:user_id from cast; use explicit create_changeset/4

MEDIUM:
- Move 8 LiveView Ecto queries into context modules (Admin, Alerts, Coverages, OnCall, Snmp)
- Replace Process.put/Process.get with socket assigns for unresolved_alert_count (user_auth + layouts + 50 templates)
- Add batch get_utilization_for_interfaces/1 to eliminate N+1 capacity queries in device show
- Replace Process.sleep with Process.monitor/assert_receive or Process.send_after in 5 test files

LOW:
- Add handle_params/3 to UserResetPasswordLive, UserRegistrationLive, StatusPageLive
- Remove redundant Repo.preload calls; add preloads to list_site_devices/1
- Fix @impl annotations and credo nesting warnings
2026-06-21 17:40:50 -05:00
..
layouts fix: set explicit robots meta, Twitter Card tags, and WebP favicon 2026-05-31 09:53:37 -05:00
breadcrumbs.ex feat: add global CSS polish — transitions, hover effects, scrollbar styling, status pulse 2026-02-13 19:17:38 -06:00
consent_prompt.ex Prevent Oban polling/monitoring job stacking per device 2026-02-16 16:37:48 -06:00
cookie_consent.ex mib update from librenms 2026-01-28 13:38:31 -06:00
core_components.ex ux: improve mobile responsiveness across all pages 2026-03-12 16:49:59 -05:00
layouts.ex Security hardening + performance fixes across codebase 2026-06-21 17:40:50 -05:00
marketing_layouts.ex fix: serve logo as WebP with PNG fallback via picture element 2026-05-31 09:53:54 -05:00
skeletons.ex ui: polish auth pages, core components, and visual consistency 2026-02-14 21:11:33 -06:00