aprs.me/lib/aprsme
Graham McIntire 41000e3482
Fix remaining nesting depth issues
Extracts nested logic into helper functions to comply with Credo
requirements (max nesting depth 2):

- data_builder.ex: Extract historical packet data building
  (build_historical_packet_data/2)
  Reduces depth 3 -> depth 2

- streaming_packets_pubsub.ex: Extract subscriber filtering and messaging
  (send_to_matching_subscribers/5)
  Removes conditional check by sending cleanup message unconditionally
  (GenServer handles empty list gracefully)
  Reduces depth 3 -> depth 2

- historical_loader.ex: Extract RF path station loading logic
  (maybe_load_rf_path_stations/3)
  Reduces depth 3 -> depth 2

- packet_processor.ex: Extract marker popup logic
  (send_marker_with_popup_check/2)
  Reduces depth 3 -> depth 2

Fixes all 4 remaining Credo nesting depth issues.
All nesting depth issues now resolved (0 remaining).
2026-02-09 12:37:38 -06:00
..
accounts add callsign to users 2025-07-10 16:07:05 -05:00
cluster Reduce cyclomatic complexity in clustering, encoding, and leader_election 2026-02-09 11:57:50 -06:00
is improve dialyzer 2025-10-13 10:02:15 -05:00
packets Reduce cyclomatic complexity in clustering, encoding, and leader_election 2026-02-09 11:57:50 -06:00
performance Fix packet buffer overflow and system load adjustment issues 2025-07-15 08:16:11 -05:00
telemetry Reduce cyclomatic complexity in database metrics collection 2026-02-09 12:08:37 -06:00
workers fix: remove Exq dependency and Redis job queue 2025-10-22 16:24:59 -05:00
accounts.ex Fix comprehensive crash prevention and add missing RF path station markers 2025-07-28 11:56:00 -05:00
application.ex Fix credo issues 2026-02-09 11:17:56 -06:00
aprs_is_connection.ex Fix APRS-IS connection by converting host to charlist 2025-10-25 17:23:13 -05:00
archiver.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
bad_packet.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
broadcast_task_supervisor.ex Refactor: reduce nesting depth in 2 functions 2026-02-09 11:48:05 -06:00
cache.ex Fix compile warnings and add comprehensive mobile channel tests 2025-10-25 13:18:55 -05:00
callsign.ex more permissive callsign parsing 2025-07-12 09:10:49 -05:00
circuit_breaker.ex clean up warnings 2025-07-16 08:55:46 -05:00
cleanup_scheduler.ex Complete nested module alias fixes and update Sobelow skips 2026-02-09 11:26:47 -06:00
connection_monitor.ex Reduce nesting depth in regex_cache, connection_monitor, and device_identification 2026-02-09 11:55:51 -06:00
convert.ex more i18n 2025-07-06 10:28:27 -05:00
data_extended.ex update deps 2025-07-16 08:20:20 -05:00
db_optimizer.ex Fix dialyzer warnings and improve type safety 2025-07-27 11:18:55 -05:00
deployment_notifier.ex Fix code formatting 2025-07-28 13:24:16 -05:00
device_cache.ex Fix nesting depth issues in device_cache, packets, and spatial_pubsub 2026-02-09 12:27:34 -06:00
device_identification.ex Reduce nesting depth in regex_cache, connection_monitor, and device_identification 2026-02-09 11:55:51 -06:00
device_parser.ex refactor 2025-10-12 10:56:49 -05:00
devices.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
devices_seeder.ex Fix potential crashes and unsafe operations throughout the app 2025-07-28 08:35:12 -05:00
dynamic_supervisor.ex Add distributed Erlang clustering for single APRS-IS connection 2025-07-25 10:30:29 -05:00
encoding.ex Reduce cyclomatic complexity in clustering, encoding, and leader_election 2026-02-09 11:57:50 -06:00
encoding_utils.ex fix: Show all packets for tracked callsigns including non-position data 2025-07-30 14:02:44 -05:00
error_handler.ex clean up warnings 2025-07-16 08:55:46 -05:00
geo_utils.ex Increase GPS drift threshold from 15m to 50m 2025-07-21 11:23:37 -05:00
log_sanitizer.ex Refactor: reduce nesting depth in 2 functions 2026-02-09 11:48:05 -06:00
mailer.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
migration_lock.ex format 2025-07-27 11:16:16 -05:00
packet.ex Reduce cyclomatic complexity in packet telemetry parsing 2026-02-09 12:02:10 -06:00
packet_consumer.ex Complete nested module alias fixes and update Sobelow skips 2026-02-09 11:26:47 -06:00
packet_consumer_pool.ex Fix packet buffer overflow with parallel consumer pool 2025-07-19 14:49:52 -05:00
packet_counter.ex performance improvements 2025-07-14 16:35:58 -05:00
packet_field_whitelist.ex fix: Implement comprehensive field whitelist to prevent unknown field errors 2025-08-04 10:52:53 -05:00
packet_pipeline_setup.ex add packet batcher 2025-06-24 15:06:09 -05:00
packet_pipeline_supervisor.ex Fix packet buffer overflow with parallel consumer pool 2025-07-19 14:49:52 -05:00
packet_producer.ex Fix credo warnings and start on design suggestions 2026-02-09 11:23:01 -06:00
packet_replay.ex clean up warnings 2025-07-16 08:55:46 -05:00
packet_replay_behaviour.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
packet_sanitizer.ex fix: resolve VARCHAR(255) database errors by migrating to TEXT fields 2025-08-09 16:54:38 -04:00
packets.ex Fix nesting depth issues in device_cache, packets, and spatial_pubsub 2026-02-09 12:27:34 -06:00
packets_behaviour.ex refactor: Remove CachedQueries and rename optimized functions 2025-07-30 13:17:56 -05:00
passcode.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
postgres_notifier.ex Improve info page live updates and fix APRS parser 2025-07-28 15:14:33 -05:00
postgres_types.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
presence.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
rate_limiter.ex update deps 2025-07-16 08:20:20 -05:00
rate_limiter_wrapper.ex Remove Redis dependency from RateLimiterWrapper 2025-10-25 09:44:44 -05:00
regex_cache.ex Reduce nesting depth in regex_cache, connection_monitor, and device_identification 2026-02-09 11:55:51 -06:00
release.ex Complete nested module alias fixes and update Sobelow skips 2026-02-09 11:26:47 -06:00
repo.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
schema.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
shutdown_handler.ex Fix ShutdownHandler terminating during normal startup 2025-07-26 15:55:56 -05:00
signal_handler.ex fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
spatial_pubsub.ex Fix nesting depth issues in device_cache, packets, and spatial_pubsub 2026-02-09 12:27:34 -06:00
streaming_packets_pubsub.ex Fix remaining nesting depth issues 2026-02-09 12:37:38 -06:00
system_monitor.ex Fix packet buffer overflow and system load adjustment issues 2025-07-15 08:16:11 -05:00