aprs.me/lib/aprsme_web/plugs
Graham McIntire 52cb874f55
Reduce cyclomatic complexity in IP geolocation validation
Simplify private IP range checking by extracting helper functions:
- is_private_ip?: Check if IP is in private ranges
- is_172_private_range?: Properly check 172.16.0.0/12 range

This replaces 20+ String.starts_with? checks with intelligent range parsing.

Co-Authored-By: Graham <noreply@anthropic.com>
2026-02-09 12:03:42 -06:00
..
api_csrf.ex cleanup and remove redis 2025-10-22 16:19:17 -05:00
health_check.ex Complete nested module alias fixes and update Sobelow skips 2026-02-09 11:26:47 -06:00
ip_geolocation.ex Reduce cyclomatic complexity in IP geolocation validation 2026-02-09 12:03:42 -06:00
log_filter.ex Add info logging for mobile websocket events and filter healthcheck logs 2025-10-25 17:04:59 -05:00
rate_limiter.ex improve dialyzer 2025-10-13 10:02:15 -05:00
set_locale.ex update and format 2025-08-13 09:39:39 -05:00