prop/lib/microwaveprop_web
Graham McIntire 5f154a20f3
refactor: apply functional programming patterns to accounts + map_live
- accounts.ex: replace if with with-chain in get_user_by_email_and_password
  for explicit pattern matching on User struct + valid_password? result.
  Collapse nested case into with in create_api_token.

- map_live.ex: extract connected? PubSub subscription block from mount into
  named subscribe_if_connected/1 function (cleaner than inline if with _ =).
  Deduplicate identical select_time + set_selected_time handlers into shared
  handle_set_time/2 helper. Extract toggle_grid + toggle_radar into shared
  handle_toggle/3 helper (functions-as-values pattern for assign key).
2026-07-01 17:56:06 -05:00
..
api fix: resolve 158/183 credo --strict warnings 2026-06-12 15:47:15 -05:00
components fix: resolve 158/183 credo --strict warnings 2026-06-12 15:47:15 -05:00
controllers fix: resolve 158/183 credo --strict warnings 2026-06-12 15:47:15 -05:00
live refactor: apply functional programming patterns to accounts + map_live 2026-07-01 17:56:06 -05:00
plugs fix(remote_ip): log IPv6 in canonical hex via :inet.ntoa 2026-04-25 18:05:46 -05:00
endpoint.ex Fix low-severity bugs and re-enable Credo checks 2026-05-29 17:29:22 -05:00
grid_bounds.ex fix(security,perf): address 9 audit findings (access control, DoS, crashes) 2026-05-11 18:53:21 -05:00
live_helpers.ex refactor: deduplicate helpers and simplify Scorer 2026-04-28 14:14:34 -05:00
live_table_footer.ex Fix low-severity bugs and re-enable Credo checks 2026-05-29 17:29:22 -05:00
live_table_resource.ex fix(dialyzer): actually fix LiveTable warnings instead of hiding them 2026-04-21 12:58:10 -05:00
location_resolver.ex refactor: deduplicate helpers and simplify Scorer 2026-04-28 14:14:34 -05:00
metrics_plug.ex fix(metrics): defer ETS cron flusher on /metrics scrape 2026-05-02 10:59:24 -05:00
router.ex feat: extend HRRR forecast horizon from 18h to 48h 2026-06-10 11:36:58 -05:00
skew_t.ex Rename ERA5 → NARR across the codebase 2026-04-16 09:22:23 -05:00
telemetry.ex Fix low-severity bugs and re-enable Credo checks 2026-05-29 17:29:22 -05:00
user_auth.ex Fix low-severity bugs and re-enable Credo checks 2026-05-29 17:29:22 -05:00