Commit Graph
220 Commits
Author SHA1 Message Date
Mathieu Moran 675ee67260 docs: revert BUG-01 to IN PROGRESS — needs owner test before closing 2026-08-11 16:47:58 -04:00
Mathieu Moran dc1c1e5f06 docs: BUG-01 closed — dual-radio bench-verified, Phase 26 DONE (11 closed, 1 hardware) 2026-08-11 16:46:57 -04:00
Mathieu Moran 0f76ae3f84 docs: Phase 26 updated — 10 closed, BUG-11/12 and GPS lat/lon fix documented 2026-08-11 16:43:06 -04:00
Mathieu Moran a4a92cc69b fix: Socket gps_location now passes lat/lon to renderGpsStatus, preventing overwrite with blanks 2026-08-11 16:37:01 -04:00
Mathieu Moran e8156bc39a docs: BUG-12 closed — OBD API fallback fixes dashboard blank state, GPS toFixed crash fixed 2026-08-11 16:32:15 -04:00
Mathieu Moran 91281b1e55 fix: add /api/obd/status endpoint, dashboard OBD fallback on page load, fix GPS string-to-number crash 2026-08-11 16:26:30 -04:00
Mathieu Moran e223a43170 docs: BUG-11 closed — GPS lat/lon from API, 30s staleness aligned across pages 2026-08-11 16:18:59 -04:00
Mathieu Moran 3202045654 fix: restore separate checkbox+ID cells, add matching headers (8 columns server) 2026-08-11 15:25:29 -04:00
Mathieu Moran e8c5bfec9a fix: put checkbox inside date cell — both Pi and server now share same 6-column layout 2026-08-11 15:22:05 -04:00
Mathieu Moran 22f4ae2e69 fix: merge ID into date cell, add empty checkbox header — columns now align 2026-08-11 15:17:51 -04:00
Mathieu Moran 5713417f4f Server: restore checkbox + batch-delete. Conditional ID (server only) and checkbox via data-show-id/data-batch-delete-url. 2026-08-11 15:11:12 -04:00
Mathieu Moran 2ee4862edd Remove checkbox column and batch-delete from trip history 2026-08-11 15:05:40 -04:00
Mathieu Moran 23ac6c218b feat: add trip ID column (#18517) to history table on Pi and server 2026-08-11 14:58:25 -04:00
Mathieu Moran f6a50b6bc1 docs: BUG-06 closed — migration shifted 3593 rows +4h EDT, recomputed 43 trips, times now correct 2026-08-11 14:53:18 -04:00
Mathieu Moran 7ce2a1e5f5 fix: BUG-06 — convert naive Pi timestamps to TZ-aware before upload so Postgres TIMESTAMPTZ stores correct instant 2026-08-11 14:47:37 -04:00
Mathieu Moran 9733036510 fix: BUG-11 — Dashboard GPS now shows lat/lon from API when stale, Status page uses same 30s staleness threshold 2026-08-11 14:36:58 -04:00
Mathieu Moran 7a6de8b589 docs: BUG-07 closed — history.js rewrite verified on Pi and server 2026-08-11 14:33:38 -04:00
Mathieu Moran fa93384a8e Rewrite history.js: loading spinner, active-row highlight, unified state, 300ms debounce, signal guards throughout trip loader 2026-08-11 05:37:15 -04:00
Mathieu Moran 3d6955f20f fix(phase26): fix broken click handler, remove replay button, row click only 2026-08-11 05:11:09 -04:00
Mathieu Moran 90edc73735 fix(phase26): debounce trip clicks, guard against stale renders 2026-08-11 05:07:35 -04:00
Mathieu Moran cdb3fc19c7 fix(phase26): abort preload fetches when switching trips to prevent server freeze 2026-08-11 05:01:18 -04:00
Mathieu Moran ad56380e23 fix(phase26): revert batch geocode, use rate-limited concurrent requests to avoid server freeze 2026-08-11 04:57:44 -04:00
Mathieu Moran 5018c6c531 fix(phase26): batch geocode endpoint for faster server trip scrubber 2026-08-11 04:44:37 -04:00
Mathieu Moran bdc7a9afb7 fix(phase26): server trip delete persists across recompute + batch delete with checkboxes 2026-08-11 04:18:58 -04:00
Mathieu Moran e6bc488e84 docs: update Phase 26 with dual-radio + trip fix details 2026-08-11 03:57:06 -04:00
Mathieu Moran cf096744d1 fix(phase26): BUG-10 side effect — preserve trips when OBD never connected 2026-08-11 03:56:00 -04:00
Mathieu Moran ae7f6358b2 docs: update BUG-01 dual-radio fix status 2026-08-11 03:46:18 -04:00
Mathieu Moran 592e049f59 fix(phase26): dual-radio — wlan0 permanent AP, wlan1 internet uplink (BUG-01) 2026-08-11 03:44:01 -04:00
Mathieu Moran 89bbc4fdb8 fix(phase26): skip netwatch AP scan when clients connected (BUG-01) 2026-08-11 03:11:13 -04:00
Mathieu Moran f9d967e71c docs: update Phase 26 bug count in PLAN.md 2026-08-11 03:02:02 -04:00
Mathieu Moran e83e5eaa7c docs: tighten features list in readme 2026-08-11 03:00:35 -04:00
Mathieu Moran 6355869a8d docs: fix bug count in readme project status 2026-08-11 02:58:01 -04:00
Mathieu Moran f7d305a036 docs: update Phase 26, simplify readme project status, de-emoji 2026-08-11 02:57:01 -04:00
Mathieu Moran 1487fd3478 docs: bold feature names, clean up readme 2026-08-11 02:55:27 -04:00
Mathieu Moran e733ab1ac1 docs: update Phase 26 progress, de-emoji readme, refresh status 2026-08-11 02:50:57 -04:00
Mathieu Moran 936064e963 docs: move BUG-09/10 from Open to Resolved 2026-08-11 02:47:26 -04:00
Mathieu Moran 7beb882136 docs: restructure BUGS.md, close BUG-09/10 (already deployed) 2026-08-11 02:45:40 -04:00
Mathieu Moran 5a3be5347a docs: close BUG-09/10, update resolved section 2026-08-11 02:41:12 -04:00
Mathieu Moran 7e913558f6 fix(phase26): geocode pre-caching (BUG-09) + gate trips on OBD presence (BUG-10) 2026-08-11 02:38:00 -04:00
Mathieu Moran a709517973 docs: close BUG-04 server trip merge (verified in prod) 2026-08-11 02:31:13 -04:00
Mathieu Moran 96fb8971eb fix(phase26): server trip detection mirrors Pi motion-aware logic (BUG-04) 2026-08-11 02:27:17 -04:00
Mathieu Moran 447d73bbe5 fix(phase26): close BUG-08 Pi trip deletion (verified in prod) 2026-08-11 02:12:40 -04:00
Mathieu Moran c5c478bef6 fix(phase26): add Pi trip deletion (BUG-08) 2026-08-11 02:07:59 -04:00
Mathieu Moran 786d5b8f3e docs: close BUG-03/05, add Phase 27 features + renumber Android to Phase 28 2026-08-11 02:04:55 -04:00
Mathieu Moran aa1f247d80 docs(bugs): record Phase 26 deploy/verify status for BUG-03 and BUG-05
Amend the Phase 26 progress note: BUG-03 was deployed to the Pi (pulled to
4f975ad, service active, /api/health ok) and real in-car behavior verification
is still pending; BUG-05 is code-ready but the unraid/server side is not yet
deployed (needs docker compose build api && docker compose up -d api).
2026-08-11 01:23:39 -04:00
Mathieu Moran 4f975ad079 docs(bugs): mark BUG-03 and BUG-05 FIXED (e2f2314) + update PLAN Phase 26
BUGS.md: BUG-03 and BUG-05 status -> FIXED with commit ref and fix summary.
PLAN.md: Phase 26 items 3 and 5 marked FIXED; add progress note.
2026-08-11 00:48:05 -04:00
Mathieu Moran e2f2314318 fix(phase26): persist DTC/MIL state + server speed_source (BUG-03, BUG-05)
BUG-03: DTC/MIL codes were never persisted; lost on OBD disconnect or reboot.
- Add new dtc table schema (code, description, MIL, first/last seen, IS_SET)
  and a migration that rebuilds the original unused NAME/STATUS/DTC_ID table.
- Persist MIL + codes to SQLite on each successful OBD poll (_persist_dtc_state).
- /api/dtc falls back to the last-persisted snapshot when OBD is offline/stale.
- Fix get_overview_stats to count the real dtc table (was querying non-existent
  dtc_codes table).
- Add cleared/since tracking via IS_SET + FIRST_SEEN_AT/LAST_SEEN_AT.

BUG-05: server trip replay hardcoded speed_source:'gps'; mirror Pi's
'obd if speed>0 else gps' logic in server get_trip_route.

Adds tests/test_dtc_persistence.py (7 tests).
2026-08-11 00:38:05 -04:00
Mathieu Moran cd0583ac84 docs: add FEAT-04 4G LTE modem (Huawei E3372h-153) to replace SIM868 2G hat 2026-08-11 00:03:15 -04:00
Mathieu Moran bd43003a7e docs: rename features.md to FEATURES.md (all caps) 2026-08-10 23:46:43 -04:00
Mathieu Moran ef3a9510ab docs: add features.md tracker with odometer-fallback idea 2026-08-10 23:45:52 -04:00