mirror of
https://github.com/Joulenap/joulenap.git
synced 2026-08-11 13:21:43 +02:00
Run history in the UI: the activity card gains a second tab listing every run with job type, trigger, result, duration and guest count. Rows expand in place to that run's steps and log lines. Backed by /api/runs, which had existed since 0.1 with no consumer; RunSummary gains guests_ok. Job cancellation: Run backup / Run GC turn into Stop while a job is in flight, behind a confirmation that can also power the PBS off afterwards. Cooperative cancellation checked in the existing poll loops (task wait, PBS wake wait, between steps), and the underlying PVE/PBS task is stopped, not abandoned, so a cancelled backup does not keep running on the server. A running verify is stoppable too. Previously a stuck job blocked every later run and manual power-off until restart. Prometheus /metrics for Grafana, protected by the existing dashboard API key. Sixteen gauges including per-guest last-backup times, so a guest dropping out of the backup set can be alerted on. Written directly in the text exposition format rather than adding a dependency; a scrape never wakes the PBS. Notifications now name the job that ran: a failed verify or GC no longer reports "backup failed". Removed the dead backup.guests.auto_include_new key. It was never read, while its name and default implied new guests were picked up automatically. Existing configs still load (the key is stripped) and the docs now state the real rule. Documentation accuracy pass over README, ARCHITECTURE, INSTALL, INTEGRATIONS, SECURITY and config.example: corrected the PVE and PBS token privilege lists, the garbage-collection and guest-selection descriptions, the supported-versions table and the API reference, and added a Settings walkthrough. Toggle switches are announced as switches by screen readers and can no longer submit a surrounding form.