mirror of
https://github.com/zvx-echo6/recon.git
synced 2026-05-20 06:34:40 +02:00
New files: - lib/auth.py: Authentik forward-auth helpers (get_user_id, @require_auth) - lib/contacts.py: ContactsDB with CRUD, soft delete, restore, purge, find_nearby - lib/contacts_api.py: Flask Blueprint with 9 API endpoints at /api/contacts - templates/knowledge/deleted_contacts.html: Dashboard recovery page Modified: - lib/api.py: Register contacts_bp, add KNOWLEDGE_SUBNAV entry, /deleted-contacts route - config/profiles: has_contacts feature flag (true for home, false for pi profiles) Separate SQLite DB at data/contacts.db. Per-user isolation via X-Authentik-Username. Home/Work labels enforced unique per user. Haversine proximity queries (75m default). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43 lines
974 B
YAML
43 lines
974 B
YAML
# Deployment profile: Minimal Pi (single-state pocket deployment)
|
|
# Template for the lightest possible field kit — Idaho only.
|
|
# Override via RECON_PROFILE env var.
|
|
|
|
profile: minimal_pi
|
|
region_name: "Idaho"
|
|
|
|
tileset:
|
|
url: "/tiles/idaho.pmtiles"
|
|
bounds: [-117.5, 42.0, -111.0, 49.0]
|
|
max_zoom: 15
|
|
attribution: "Protomaps © OSM"
|
|
|
|
tileset_hillshade:
|
|
url: "/tiles/hillshade-idaho.pmtiles"
|
|
encoding: "terrarium"
|
|
max_zoom: 12
|
|
|
|
traffic:
|
|
provider: "tomtom"
|
|
proxy_url: "/api/traffic/flow/{z}/{x}/{y}.png"
|
|
|
|
services:
|
|
geocode: "/api/geocode"
|
|
reverse: "/api/reverse"
|
|
address_book: "/api/address_book"
|
|
valhalla: "/valhalla"
|
|
|
|
features:
|
|
has_nominatim_details: false
|
|
has_kiwix_wiki: false
|
|
has_hillshade: false
|
|
has_3d_terrain: false
|
|
has_traffic_overlay: false
|
|
has_landclass: false
|
|
has_address_book_write: true
|
|
has_overture_enrichment: false
|
|
has_google_places_enrichment: false
|
|
has_contacts: false
|
|
|
|
defaults:
|
|
center: [44.0, -114.0]
|
|
zoom: 7
|