towerops/lib/towerops_web
Graham McIntire b5512f2579
Some checks failed
Build base image / Build and push base image (push) Failing after 2s
Production Deployment / Run ExUnit Tests (push) Failing after 58s
Production Deployment / Build and Push Docker Image (push) Has been skipped
fix: resolve credo warnings — refactor decoder_macros complexity and remove unused assign indirection
- Refactored build_field_handler_ast to use pattern-matching function heads
  instead of a large cond block, reducing cyclomatic complexity from 30 to ≤9
- Extracted classify_type_spec and per-type AST builder helpers into separate
  private functions for maintainability
- Removed :previous_interface_stats initialization from show.ex (only
  polling.ex reads it); prev_stats now passed explicitly as a parameter
  to polling functions instead of reaching through socket.assigns
- Updated Polling.poll_sensors, poll_traffic, and poll_traffic_with_state
  to accept prev_stats as an explicit argument
2026-07-25 09:46:19 -05:00
..
channels refactor: comprehensive simplification and functional programming improvements 2026-07-21 17:03:47 -05:00
components Revert "feat: add beacon monitors with user and admin management" 2026-07-22 08:25:04 -05:00
controllers fix: resolve credo warnings — refactor decoder_macros complexity and remove unused assign indirection 2026-07-25 09:46:19 -05:00
graphql Security hardening + performance fixes across codebase 2026-06-21 17:40:50 -05:00
helpers Major codebase cleanup: DRY schemas, remove dead config, consolidate modules 2026-06-16 15:29:22 -05:00
live fix: resolve credo warnings — refactor decoder_macros complexity and remove unused assign indirection 2026-07-25 09:46:19 -05:00
plugs credo fixes 2026-06-14 08:27:57 -05:00
changelog_parser.ex remove-gleam (#218) 2026-03-29 11:03:20 -05:00
endpoint.ex fix: resolve dependency vulnerabilities (mint CVE-2026-59249, cowlib CVE-2026-43966/43969) 2026-07-16 07:48:26 -05:00
gettext.ex init 2025-12-21 11:10:43 -06:00
gettext_helpers.ex feat: migrate email templates to gettext (Phase 2 - Emails) 2026-02-02 09:48:30 -06:00
graphql_socket.ex perf+refactor: codebase-wide query and antipattern audit 2026-04-28 16:58:51 -05:00
permissions.ex credo fixes 2026-06-14 08:27:57 -05:00
plug_exceptions.ex handle exceptions gracefully on api endpoints 2026-02-04 12:18:14 -06:00
remote_ip.ex fix: address security and reliability findings from bugs.md review 2026-05-11 18:54:12 -05:00
router.ex Revert "feat: add beacon monitors with user and admin management" 2026-07-22 08:25:04 -05:00
scoped_resource.ex fix: M1 — prevent cross-org resource existence probing via scoped fetch 2026-05-12 13:44:19 -05:00
telemetry.ex credo fixes 2026-06-14 08:27:57 -05:00
user_auth.ex Security hardening + performance fixes across codebase 2026-06-21 17:40:50 -05:00