Beta cycle bundle over 1.2.4.1

- **VM/LXC modal** — PVE tags (dots on list cards, editable pills in modal with click-to-edit) using NVIDIA-style hash colour and SAPC contrast; Status tab redesign (single card, always-visible subsections, Edit button, autostart toggle, blue subsection icons); Backups and Firewall tabs now fill the full modal height with sticky headers/notes; stopped VMs no longer shift the metrics grid; mount-point card brightness unified across breakpoints.
- **Disks modal** — Overview / SMART / History / Schedule tabs adopt the VM/LXC modal size and the mobile icon-only tab pattern; SMART attributes table drops the 15-row cap and gains a sticky "View full SMART report" footer; Print/Save-as-PDF collapses to two icons in the report; loose i18n and layout follow-ups.
- **NVIDIA driver installer (#298)** — version picker cross-checks kernel + NVIDIA's Production/New Feature/Legacy branch classification (scraped from `nvidia.com/en-us/drivers/unix/`) + the PCI Device IDs of every host GPU, with a release-count heuristic to keep superseded production branches selectable while dropping Vulkan-beta ones; Recommended follows same-branch head when a driver is installed, Production Branch head on a fresh install; Hardware card now shows installed alongside available driver version.
- **Custom notifications (#297)** — `event_type: "custom"` accepts `title`/`message` at the root or nested under `data`; defensive strip of stray `[TITLE]`/`[BODY]` markers echoed by the AI enhancer.
- **App tab** — new "Exclude from the LXC updates counter" toggle; the CT's aggregate updates badge now sums OS packages plus registered apps (respecting the flag); Docs page updated; App suggestion no longer treats bare OS helper slugs (alpine/ubuntu/debian…) as installable apps.
- **i18n and copy** — Monitor UI available in EN / ES / DE / FR / IT / PT / SV / SK (thanks @vaso73) surfaced as the first entry in the What's New modal with a link to the contributor's profile; ES cleanup pass (`Historial`, `Velocidad de rotación`, `Consumo actual`, `Ejecutar`, `Eliminar`, `Activar`, `Ver contenido`, `Repuesto disp.`, `Registrar`, `Ocultar`, `Descartar`); redundant "Tip: search any Linux/Proxmox command" line removed from the terminal command search across all locales.
This commit is contained in:
MacRimi
2026-08-15 17:33:05 +02:00
parent 34b8c47415
commit 0beeb7a68b
26 changed files with 1554 additions and 278 deletions
+29
View File
@@ -816,6 +816,19 @@ def validate_config(payload: dict) -> tuple[bool, Any]:
if ne is not None:
conf["notifications_enabled"] = bool(ne)
# Optional per-app switch for the CT's aggregate updates badge.
# Default is False (include). Set to True when the user knowingly
# keeps a specific version (e.g. qBittorrent pinned to the version
# their private tracker requires) and doesn't want the LXC list
# badge blinking about an "available" update that doesn't apply to
# them. Independent from `notifications_enabled` on purpose — a
# user may still want the outbound notification and just hide the
# counter, or the reverse. The App tab itself always shows the
# real state (purple update signal, editor version fields).
efb = payload.get("exclude_from_badge")
if efb is not None:
conf["exclude_from_badge"] = bool(efb)
return True, conf
@@ -1872,6 +1885,10 @@ def _summarise_app(app: dict) -> dict:
# this app.
"update_command": app.get("update_command") or "",
"hide_no_updater_notice": bool(app.get("hide_no_updater_notice")),
# Whether this app should be counted in the CT's aggregate
# updates badge (default: yes). See validator for full context.
"exclude_from_badge": bool(app.get("exclude_from_badge")),
"notifications_enabled": app.get("notifications_enabled", True) is not False,
# Community-scripts slug that the Register-chip flow attaches
# to the app. Surfaced so the Updates tab helper section can
# match this registered app against the CT's helper_slug and
@@ -2366,6 +2383,18 @@ def get_suggestions(vmid) -> dict:
break
meta = _helper_slug_meta(vmid) or {}
slug = meta.get("slug")
# Suppress base-OS helper slugs from the suggestion pipeline.
# community-scripts publishes bare-OS templates (alpine, debian,
# ubuntu, fedora, archlinux, gentoo, opensuse) under the same
# helpers_cache the App tab uses to seed detection, so a CT that
# only has the OS installed was showing up as "detected app:
# Alpine Linux" and inviting the user to register the OS as if
# it were an application. These are not trackable apps — treat
# the slug as absent for suggestion purposes so the panel goes
# straight to the empty state instead.
if slug in {"alpine", "archlinux", "archlinux-vm", "debian", "fedora", "gentoo", "opensuse", "ubuntu"}:
slug = None
meta = {}
# Tracking hint pipeline: catalog + curated hints merged.
# • catalog (community-scripts helpers_cache.json) covers ~430
# apps with name+repo+port+upstream_version, zero curation