aprs.me/lib/aprsme_web/controllers
Graham McIntire fc5e91479b
refactor: pattern-match CoreComponents.safe_row_id + CallsignController
- CoreComponents.safe_row_id: four function heads dispatch on the row
  shape (atom-key map, string-key map, other map fallback, non-map)
  instead of a cond with Map.has_key? checks.
- Api.V1.CallsignController.validate_callsign: check_callsign_format/2
  splits the validation success/failure branches into two clauses; the
  binary-vs-everything-else dispatch stays in validate_callsign/1.

Adds 5 integration tests for the CallsignController covering invalid,
not-found, success, case-normalization, and length-limit paths. The
test file is async:false because it shares the rate-limiter ETS with
other API tests and could otherwise trip the 100/min per-IP cap.
2026-04-23 14:18:30 -05:00
..
api/v1 refactor: pattern-match CoreComponents.safe_row_id + CallsignController 2026-04-23 14:18:30 -05:00
page_html refactor to use external parser 2025-06-24 14:22:09 -05:00
error_html.ex Implement critical performance optimizations and error handling 2025-07-18 18:19:49 -05:00
error_json.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
page_controller.ex refactor: pattern-match in TimeHelpers.to_datetime and PageController 2026-04-23 13:58:42 -05:00
page_html.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
user_session_controller.ex refactor to use external parser 2025-06-24 14:22:09 -05:00