towerops/lib/towerops_web
Graham McIntire 7081e5daed
fix: correct subscriber counts by filtering CGNAT IPs and excluding routers
Router devices were inflating per-site subscriber counts because:
1. CGNAT IPs (100.64.0.0/10) in router ARP tables caused false matches
2. Routers see all traffic and shouldn't have subscribers attributed
3. Site totals were computed from raw links without filtering

Changes:
- Filter CGNAT (RFC 6598) IPs from device subscriber links
- Deduplicate accounts across devices by match method priority
- Detect routers via SNMP sys_descr and zero out per-device counts
- Derive site totals from filtered per-device impacts
- Add per-device Subs/MRR columns to site device tables
- Add device link fallback for sites without IP blocks
- Fix Gaiia sync case mismatch and execution order
- Improve device list toolbar button icons and tooltips
2026-02-18 09:15:10 -06:00
..
channels Security fixes: mask credentials in logs/API, fix cookie/CSP/LIKE injection/webhooks 2026-02-15 09:09:04 -06:00
components fix: handle missing value attr in input component when using name= directly 2026-02-17 16:13:46 -06:00
controllers Skip SNMP check execution in CheckExecutorWorker for agent-polled devices 2026-02-17 07:47:15 -06:00
graphql Add granular org roles: executive, technician 2026-02-15 17:40:53 -06:00
helpers Dashboard: timezone-aware timestamps, site health as table, remove dead code 2026-02-14 16:07:26 -06:00
live fix: correct subscriber counts by filtering CGNAT IPs and excluding routers 2026-02-18 09:15:10 -06:00
plugs Security hardening: remaining audit fixes 2026-02-15 12:54:38 -06:00
changelog_parser.ex fix: resolve 500 errors on /activity and /changelog 2026-02-13 19:49:12 -06:00
endpoint.ex Security hardening: remaining audit fixes 2026-02-15 12:54:38 -06:00
gettext.ex init 2025-12-21 11:10:43 -06:00
gettext_helpers.ex feat: migrate email templates to gettext (Phase 2 - Emails) 2026-02-02 09:48:30 -06:00
permissions.ex i18n: add Spanish locale with full translations, language selector, and locale hook 2026-02-14 17:44:01 -06:00
plug_exceptions.ex handle exceptions gracefully on api endpoints 2026-02-04 12:18:14 -06:00
router.ex Add ErrorTracker, remove Honeybadger email notice filter 2026-02-17 08:13:34 -06:00
telemetry.ex fix: add Oban config to dev.exs and replace Exq telemetry with Oban 2026-01-24 16:39:45 -06:00
user_auth.ex Prevent Oban polling/monitoring job stacking per device 2026-02-16 16:37:48 -06:00