Commit Graph
20 Commits
Author SHA1 Message Date
gadgethd 1493b68846 Integrate the UKMesh DEV live map, Beacon feed and Health Check
Keep the tools inside the UKMesh website and open CoreScope in Live mode. Resolve packet paths when a reader selects a packet.

Add reversible DEV UI releases and an opt-in, isolated MQTT archive replay. A new checkout uses its configured MQTT intake.
2026-11-27 12:50:38 +00:00
gadgethd 68eb7423b1 Preserve pending stream cursors and bound offline companion assets 2026-11-24 11:34:37 +00:00
gadgethd a1c356f47f Rehearse private DEV route switches and installed app rollback 2026-11-24 11:28:57 +00:00
gadgethd 001b21b1e2 Establish UKMesh feed appearance and restricted Beacon history contract 2026-11-24 01:45:33 +00:00
Codex 624d2c8abc Merge main into ukmesh-dev for feature parity 2026-11-17 22:25:57 +00:00
hermes-gadget c5eb304146 feat(pwa): add a complete web app manifest with maskable icons (#234)
`index.html` has linked `/manifest.json` since the PWA work, but no manifest
ever existed — the link 404'd into the SPA shell (and, after the honest-404
change, now 404s properly). This adds the real thing.

- `frontend/public/manifest.json`: id/scope/start_url, en-GB, standalone with
  a window-controls-overlay override, theme/background matched to the app's
  `--color-bg` (#0a0f1a), categories, three shortcuts (feed, repeaters,
  topology).
- Icons rendered from the existing favicon mark: 192/512 `any`, 192/512
  `maskable` (mark held inside the 80% safe circle, fully opaque, full bleed)
  and a 180px apple-touch icon.
- `index.html`: theme-color, apple-touch-icon and the mobile/Apple web-app meta
  tags so iOS gets a real home-screen icon and title instead of a screenshot.

The manifest is shared by both build targets (app + public website); both link
it and both ship `public/`, so the same file is correct for either origin.
2026-11-15 20:52:49 +00:00
Codex 1ea2215f46 fix(sw): qualify v10 cutover and retained old asset fallback 2026-11-12 10:54:56 +00:00
gadgethd 36f3741b74 Reconcile audited performance and correctness fixes with current main 2026-11-01 14:33:49 +00:00
hermes-gadgetandgadgethd df634a0a34 fix(map): recover and survive a missing OpenFreeMap basemap (#176)
At low zoom a stalled or failed vector basemap left the map as a flat
background while the mesh layers kept drawing, with no error surface, no
retry and no way back short of clearing site data.

Basemap health:
- Watchdog (8 s after style load, 10 s after a retry) detects a basemap
  source that never produces data, retries with a cache-busted style, then
  swaps to a bundled Natural Earth UK/IE outline plus DOM city labels.
- Status chip reports "Reloading basemap..." or "Basemap unavailable -
  showing basic map" with a Retry control; mesh layers and node clicks keep
  working throughout.
- Click handlers and onMapReady install from `style.load` instead of `load`,
  so a dead basemap can no longer disable interaction.
- Styles without the OpenFreeMap vector source (Regions/custom styles) are
  left alone; a style that never loads is retried and falls back too.

Caching:
- Service worker splits basemap tiles (cache-first, snapshot-addressed) from
  style JSON/TileJSON/sprites/glyphs (network-first, 5 min TTL) and stops
  caching MapLibre's stable-name `.mjs` worker bundles; caches move to v9.
- nginx serves /assets/*.mjs with no-cache so a new page bundle cannot pair
  with an old worker.
- Waiting service worker activates when the tab is hidden.

Labels:
- UK place labels for z4.5-9.6 plus a contrast lift, restoring place names
  at the zoom levels where the upstream dark style is sparse.

Reconciled with main's map error/remount work: the blocking "could not load"
modal stays for style/worker/WebGL failures and keeps a 15 s budget, while
tile/sprite/source failures are owned by the basemap chip.

Fixes #175

Co-authored-by: gadgethd <111318106+gadgethd@users.noreply.github.com>
2026-10-29 01:52:08 +00:00
Hermes Agent 48fb91acda chore(recovery): capture deployed 2026-10-20 working tree
Exact snapshot of the tree that produced the running images (HEAD 1f94bd8)
including the 199 uncommitted/untracked production changes: regions, owner
packet sharing, public feed, RAM ingest, privacy rematerialisation, path-beta
updates, migrations 052-060, tests and deploy scripts.

Excluded: .env*/knowledge.md/.private-config (gitignored secrets); runtime
backup receipts restored to HEAD; mosquitto ACL/passwd are gitignored (kept
in the private pre-change snapshot). No functional changes.
2026-10-20 11:37:34 +01:00
gadgethd d864d0a15b infra: migrate preconnects, CSP, and service worker from CARTO to OpenFreeMap 2026-08-27 23:48:01 +00:00
gadgethd 049b063a8c seo: static JSON-LD, sitemap lastmod, og-image for public website (crawler-only, no UI change) 2026-08-08 00:16:20 +00:00
gadgethd 693b990001 fix: animate live map paths as aerial arcs 2026-08-03 15:12:05 +01:00
gadgethd 5db382e181 feat: complete codebase reliability upgrade 2026-08-02 03:40:11 +01:00
gadgethd 1ebc496965 Map UI redesign, live-path visibility, feed latency, and security hardening (#19)
* Fix map node freshness consistency

* Harden output, ingest, caches, and WebSocket limits

* Enforce public visibility across derived data

* Harden proxy and operator deployment boundary

* Make owner grants authoritative and reconcile ACLs safely

* Bound path, spam, and statistics analysis

* Make link and coverage jobs crash-safe

* Implement strategic security remediation

* Fix production cutover configuration

* Fix disabled viewshed worker health signal

* Serve stale stats during background refresh

* Retain stale stats through refresh windows

* Bound analytics work to protect ingestion

* Prioritize summary warmup over chart scans

* Throttle path history rebuilds

* Bound path history result memory

* Stream path history aggregation

* Give bounded path rebuild one CPU

* Serve stale charts during bounded refresh

* Prioritize startup stats before chart scans

* Bound path history segment cardinality

* Pin path rebuild context to privacy generation

* Self-host original frontend fonts

* Allow bounded path rebuild to complete

* Improve live map UI and low-latency group feed

- Dock node details on the right with selection highlight and collapsible layers
- Add node legend, 24h activity sparkline, copy-link, and layout/overlap fixes
- Keep all repeaters visible during Live Path focus
- Send GroupText feed packets immediately over WebSocket (no batch delay)
- Cache expensive stats/observer activity more aggressively to protect ingest
- Remove stale local planning/audit markdown from the tree

* fix(ci): supply OPERATOR_SITE_TOKEN for compose validation

Workers/Compose CI failed because docker-compose requires
OPERATOR_SITE_TOKEN. Add CI placeholders for that and MQTT_PASSWORD.
2026-07-27 02:39:12 +01:00
Ben 414945d875 Improve owner last-hop telemetry chart 2026-03-20 18:33:32 +00:00
BenandClaude Sonnet 4.6 3c148b6df0 Remove Teesside Mesh site from repo
Teesside dashboard, CSS theme, and favicon are now gitignored —
they live on the VM but are not part of the ukmesh.com project.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 02:03:09 +00:00
BenandClaude Sonnet 4.6 0c5c97df39 Add Teesside Mesh dashboard and path-beta worker improvements
- New www.teessidemesh.com single-page dashboard (TeessieDashboard.tsx)
  with amber/charcoal theme, connectivity status, repeater cards with
  7-day battery sparklines, MQTT observer grid, and decoded packet feed
- Backend: cross-network connectivity endpoint (hop-count packet matching),
  radio-stats and radio-history proxy endpoints, observer-activity endpoint,
  nodesDay stat field
- docker-compose: website-teesside service on port 3002
- Path-beta: worker pool, resolve cache, and pool refactor for performance
- Connection monitor, WS server and MQTT client improvements
- Mosquitto config, viewshed worker, and frontend UI polish

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 02:01:54 +00:00
Ben 6242fbaa98 Ship feed, observer, and pathing fixes 2026-03-14 13:45:30 +00:00
Ben cb713d6c1a Initial commit 2026-03-03 19:11:05 +00:00