prop/lib/microwaveprop_web
Graham McIntire 63b2d405b6
Some checks failed
Build and Push / Build and Push Docker Image (push) Failing after 13m23s
fix: decode beacons_json before mutating in patch/remove helpers
patch_beacons_json/2 and remove_from_beacons_json/2 were calling
Enum.reject/2 directly on @beacons_json, which is a JSON-encoded
string from Jason.encode!/0 (not a list). This crashed with
Protocol.UndefinedError when no approved beacons existed (string
was "[]") and a PubSub broadcast triggered an update.

Decode with Jason.decode!/1, operate on the list, then re-encode
with Jason.encode!/1 so the template's data-beacons attribute
remains a valid JSON string for the JS hook.
2026-08-04 17:10:26 -05:00
..
api refactor: DRY extract_bearer, reuse validation helpers, add query limits 2026-07-21 10:06:12 -05:00
components refactor: extract shared admin_links component, add to map sidebar 2026-08-02 12:50:51 -05:00
controllers Optimize contact map rendering performance 2026-08-02 13:21:15 -05:00
live fix: decode beacons_json before mutating in patch/remove helpers 2026-08-04 17:10:26 -05:00
plugs fix(remote_ip): log IPv6 in canonical hex via :inet.ntoa 2026-04-25 18:05:46 -05:00
endpoint.ex chore: remove all APRS-related code and fix credo issues 2026-08-04 12:12:28 -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: resolve 27 security, architecture, test, and performance audit findings 2026-07-27 18:19:37 -05:00
router.ex chore: remove all APRS-related code and fix credo issues 2026-08-04 12:12:28 -05:00
sandbox_hook.ex fix: resolve 64 test failures via sandbox-allow, skip-guards, and cleanup 2026-08-04 12:49:23 -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: resolve 27 security, architecture, test, and performance audit findings 2026-07-27 18:19:37 -05:00