Skip to content

v5.2.0 – Minor improvements - #112

Merged
csoscd merged 5 commits into
mainfrom
feature/minor-improvements
Aug 25, 2026
Merged

v5.2.0 – Minor improvements#112
csoscd merged 5 commits into
mainfrom
feature/minor-improvements

Conversation

@csoscd

@csoscd csoscd commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix: Dashboard-Ausgabe-Vorschau zeigte Anfang statt Ende des Outputs (CSS truncate schnitt von rechts ab — nun whitespace-pre-wrap break-words)
  • Fix: „Läuft"-Badge inkonsistente Farbe (gelb auf Detail/Monitor, blau auf Übersicht) — jetzt einheitlich blau in allen drei Templates
  • Fix: cron-wrapper.sh Retry-Logik für alle Agent-Calls
  • Fix: ExecuteNowEndpoint Auto-Bereinigung veralteter once-Einträge
  • Fix: ExportController HMAC-Signatur für /export/download
  • Fix: Dashboard fehlende Tailwind-Klassen (lg:col-span-3, lg:col-span-1)
  • Change: Job-Liste „Läuft"-Badge, Einzel-Benutzer-Modus, Dashboard-Layout-Überarbeitung, Ausgabe-Vorschau, Ausführungsstatistik-Widget
  • Docs: HOST-AGENT.md (neu), README.md fokussiert auf Docker Hub, TECHNICAL.md vollständig überarbeitet, deploy.sh --docker entfernt, simple_debian_setup.sh entfernt

Test plan

  • PHP Tests (Unit + Integration, PHP 8.4) — passed
  • Security checks (Semgrep, dependency audit, gitleaks) — passed
  • Dev Docker images gebaut — success

csoscd added 5 commits August 25, 2026 21:23
- Job-Liste zeigt "Läuft"-Badge wenn finished_at IS NULL (is_running via CronListEndpoint)
- User-spezifische UI-Elemente (Filter, Spalten, "Jobs nach Benutzer") werden
  ausgeblendet wenn nur ein Linux-User existiert (/crons, /timeline, /export, Dashboard)
- ExportController::download(): HMAC-Signatur um userId/username-Felder ergänzt
  (fehlende Erweiterung aus v4.3.0 führte zu HTTP 401 auf jedem Export-Download)
- VERSION auf 5.2.0 (agent + web)
- Neuer Agent-Endpoint GET /stats: ausgeführte/fehlerhafte Ausführungen
  heute und letzte 24h via idx_el_started_at (INDEX-Range-Scan, kein FTS)
- Dashboard-Grid: lg:grid-cols-4, Fehler-Tabelle lg:col-span-3,
  Stats-Widget lg:col-span-1 (unter 4. Kachel)
- Ausgabe-Vorschau in Fehler-Tabelle: letzte 120 Zeichen, font-mono,
  Tooltip mit vollem Text; per $showOutputPreview abschaltbar
- Jobs-nach-Benutzer in separate 3. Zeile (Multi-User-Modus)
- Fehlerhafte Zähler im Widget rot hervorgehoben
- Beide Features per Schalter sofort deaktivierbar:
  $showOutputPreview in dashboard.php
  SHOW_EXECUTION_STATS in DashboardController
- README.md focused on Docker Hub installation; host-agent details moved
- HOST-AGENT.md: new standalone guide for host-agent (systemd) mode
- deploy.sh: remove --docker mode; host-agent deployment only
- simple_debian_setup.sh: removed (no longer maintained)
- web/assets/css/tailwind.css: add missing lg:col-span-3 / lg:col-span-1
  rules that caused the dashboard failures table to render at 1/4 width
  instead of spanning 3 of 4 columns
TECHNICAL.md: remove stale Directory Layout section, correct HMAC
signature format (userId/username fields added in v4.3.0), update DB
schema (users, auth_tokens, cronjobs tables), add migrations 012-019,
fix audit_log migration reference (013 not 011), add GET /stats
endpoint, update Controller table and Configuration Reference.

Fix: running status badge was blue in job list but yellow in job
detail and monitor views. Unify to blue across all three templates.
The output preview column used CSS `truncate` (white-space: nowrap +
text-overflow: ellipsis) which collapsed newlines and cut text from the
right — hiding the end of the excerpt, where error messages typically
appear. PHP already fetches the last 120 chars correctly via mb_substr.

Replace `block truncate` with `block whitespace-pre-wrap break-words`
so the last 120 characters are rendered with preserved line breaks and
no secondary CSS truncation. The full-output title tooltip is unchanged.
@csoscd
csoscd merged commit a097fba into main Aug 25, 2026
12 checks passed
@csoscd
csoscd deleted the feature/minor-improvements branch August 27, 2026 18:19
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.

1 participant