Document the activity tracker's admin-gated pages
Test and deploy / test (push) Successful in 1m39s
Test and deploy / deploy (push) Successful in 26s

The tracker now gates its dashboard and new setup page on the site's
admin session, as jobs does. Pass it AUTH_VALIDATE_URL built from
BACKEND_HOST/PORT so it follows the backend if that is renamed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-14 21:27:02 +01:00
co-authored by Claude Opus 5.5
parent 746f20158e
commit 1b5c8fc4a9
3 changed files with 14 additions and 5 deletions
+4 -1
View File
@@ -368,7 +368,10 @@
# ---- Activity tracker (/tracker/) ----
# Its own container (the adamf/ccp repo): an ingest API for device
# collectors, which send batches of events with a per-device bearer
# key. The app does its own auth, so no auth_request. Unlike /jobs/
# key, plus a dashboard and setup page. The app does its own auth, so
# no auth_request: the pages check the site session by asking the
# backend's validate-admin with the visitor's cookies, as /jobs/
# does, and /tracker.user.js is public. Unlike /jobs/
# the prefix IS stripped: the server serves /api/v1/... and /readyz
# from /. Collectors must use the www host: the apex 301 would turn
# their POSTs into GETs. Health Auto Export bodies can be several MB;