recon/templates
zvx-echo6 e0fc8d0cff cleanup: deprecate /nav-i + /deleted-contacts; remove contacts_bp + lib/contacts.py
Probe found recon's /deleted-contacts dashboard reads /opt/recon/data/contacts.db
— frozen since extraction #3 moved write ownership to navi-contacts
(/var/lib/navi-backend/contacts.db). The page has been silently rendering ~25-day
stale data, and its restore/restore-as/purge XHRs hit recon's contacts_bp (the
recon.echo6.co Caddy block proxies straight to recon:8420 — no navi-contacts
routing there). Per Matt's decision, deprecate the pages entirely; they'll be
re-surfaced later as a proper admin page consuming navi-contacts via API.

Removed:
- contacts_bp (lib/contacts_api.py, all 10 /api/contacts* routes) + its
  registration in lib/api.py — edge-shadowed by navi-contacts :8423 since #3,
  and now free of recon-product consumers once the dashboard goes.
- /nav-i (navi_landing_page) + /deleted-contacts (deleted_contacts_page) route
  handlers; templates/navi/landing.html + templates/navi/deleted_contacts.html.
- lib/contacts.py (ContactsDB) — the dashboard was its only non-contacts_bp
  consumer; both gone.
- The two dead NAVI_SUBNAV entries (Overview→/nav-i, Deleted Contacts→
  /deleted-contacts).

Kept / adapted:
- /nav-i/api-keys page (recon-product key management) stays. NAVI_SUBNAV reduced
  to just its API Keys entry; the base.html top-nav "Nav-I" link repointed
  /nav-i -> /nav-i/api-keys so the surviving section page stays reachable
  (minimal href change, not a nav restructure — flagged in PR).
- lib/address_book.py — geocode.py + netsyms_api.py still consume it (untouched).

Out-of-band follow-up after merge: delete the stale /opt/recon/data/contacts.db
(frozen 2026-04-28; data, not code).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 01:24:32 -06:00
..
kiwix Replace wget/SingleFile/Playwright backends with Zimit 2026-04-19 14:06:23 +00:00
knowledge Add contacts/phone book system with per-user scoping 2026-04-22 05:29:54 +00:00
navi cleanup: deprecate /nav-i + /deleted-contacts; remove contacts_bp + lib/contacts.py 2026-05-23 01:24:32 -06:00
peertube Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00
settings Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00
base.html cleanup: deprecate /nav-i + /deleted-contacts; remove contacts_bp + lib/contacts.py 2026-05-23 01:24:32 -06:00
search.html Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00