towerops/test/towerops_web
Graham McInitre 88fae5d752 feat: add beacon monitors with user and admin management
Backend:
- Migration: beacon_monitors table (binary_id PK, org/user FK, check_type, target_url, config, monitoring fields)
- Schema: BeaconMonitor with changeset (pattern-matched port validation, check_type inclusion)
- Query: BeaconMonitorQuery — composable scopes (by org, by user, by type, enabled, ordered, preloaded)
- Context: Towerops.Beacons — CRUD, toggle, record_check_result (36/36 tests pass)

Frontend:
- User LiveView: /beacons — stream-based list, create/edit modals, toggle/delete actions
- Admin LiveView: /admin/beacons — cross-org view with preloads (20/20 tests pass)
- Form component: LiveComponent modal with validation
- Helpers: check_type badges, status indicators, response time formatting
- Router: user routes + admin route configured
- Nav: sidebar + mobile links added
- 30+ gettext translations

Verification: compile ✓, format ✓, credo ✓, 56/56 new tests pass
2026-07-22 08:15:03 -05:00
..
channels credo fixes 2026-06-15 11:15:46 -05:00
components fix: update tests to match Tailwind v4 utility classes after DaisyUI removal 2026-07-01 09:43:32 -05:00
controllers Major codebase cleanup: DRY schemas, remove dead config, consolidate modules 2026-06-16 15:29:22 -05:00
endpoint Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
graphql Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
helpers Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
integration Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
live feat: add beacon monitors with user and admin management 2026-07-22 08:15:03 -05:00
plugs credo fixes 2026-06-16 09:56:51 -05:00
changelog_parser_test.exs credo fixes 2026-06-16 09:56:51 -05:00
graphql_socket_test.exs credo fixes 2026-06-13 14:52:18 -05:00
permissions_test.exs credo fixes 2026-06-13 18:20:20 -05:00
plug_exceptions_test.exs handle exceptions gracefully on api endpoints 2026-02-04 12:18:14 -06:00
remote_ip_test.exs chore: add jump_credo_checks ~> 0.4 with all 19 checks enabled 2026-06-12 13:45:59 -05:00
telemetry_filter_test.exs Major codebase cleanup: DRY schemas, remove dead config, consolidate modules 2026-06-16 15:29:22 -05:00
telemetry_test.exs Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
user_auth_test.exs Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00