Skip to content

Add dynamic tracker health checks with real-time status indicators - #5

Closed
IkiaeM wants to merge 4 commits into
florianjs:mainfrom
IkiaeM:features
Closed

Add dynamic tracker health checks with real-time status indicators#5
IkiaeM wants to merge 4 commits into
florianjs:mainfrom
IkiaeM:features

Conversation

@IkiaeM

@IkiaeM IkiaeM commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Added a system to monitor the tracker in real time with an API endpoint. And a local check (to avoid any proxy/cf issues).

dashboard
admin

@florianjs
florianjs self-requested a review January 5, 2026 15:58
@florianjs florianjs self-assigned this Jan 5, 2026
IkiaeM added 2 commits January 5, 2026 15:59
- Split statusBadgeText into statusBadgeTextOnline and statusBadgeTextOffline settings
- Add offline status badge input field in admin homepage content editor
- Update homepage to display appropriate status badge based on tracker health
- Add getStatusBadgeTextOffline utility function with default fallback text
- Update all API endpoints and settings keys to handle both online/offline badge texts
@IkiaeM

IkiaeM commented Jan 5, 2026

Copy link
Copy Markdown
Contributor Author

status-homepage
status-text-admin

@IkiaeM IkiaeM closed this Jan 7, 2026
@IkiaeM
IkiaeM deleted the features branch January 7, 2026 13:21
Dim145 added a commit to Dim145/opentracker that referenced this pull request May 10, 2026
Six open Dependabot alerts, all transitive — five in
doc/package-lock.json (florianjs#1florianjs#5) and one in pnpm-lock.yaml (florianjs#6). Patched
in two manifests:

doc/ (vitepress / vite-based docs site):
- Bump direct deps to latest minor: @tailwindcss/vite + tailwindcss
  4.0 → 4.3.0, vitepress 1.5 → 1.6.4, vue 3.5 → 3.5.34.
- Pin npm `overrides`:
    "esbuild": "^0.25.0"   # CVE: dev-server CORS leak  (florianjs#1, florianjs#6)
    "vite":    "^7.3.3"    # CVE: optimized-deps path traversal  (florianjs#4)
  Vite 8 was tested but removes `transformWithEsbuild` which
  VitePress 1.x still imports — sticking on 7.3.x until the
  upstream migration to oxc lands.
- The bump also pulls patched versions of preact (florianjs#2, JSON VNode
  injection), rollup (florianjs#3, arbitrary file write), and postcss (florianjs#5,
  XSS via stringify) transitively — all four cleared by the rebuild.

Workspace root (pnpm):
- Add `esbuild: "^0.25.0"` to `pnpm.overrides`. The vulnerable
  esbuild@0.18.20 was pinned by `@esbuild-kit/core-utils`, the
  legacy ESM loader pulled in by drizzle-kit; the override
  collapses every chain (drizzle-kit, vite, nitropack, tsx,
  vitest) onto esbuild@0.25.12 and drops 0.18.x from the lockfile
  entirely (florianjs#6).

Verified:
- `cd doc && npm audit` → "found 0 vulnerabilities"
- `cd doc && npm run build` → builds in ~3s, all routes render
- `docker build -f doc/Dockerfile doc` → image rebuilds clean
- API rebuild + boot → drizzle-kit schema push still works
  (it was the heaviest user of @esbuild-kit/* on the workspace)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants