Skip to content

v1.5.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Jun 12:10

Appearance cleanup, offline themes, audit log fixes, and a working in-app updater again.

This patch release tidies up Settings → Appearance, ships bundled themes you can apply without internet, and fixes a few things that slipped through v1.5.0.0 — especially the audit log and Proxmox auto-update checksum lookup.


Added

Offline bundled themes

  • 18 theme CSS files ship inside ui/static/themes/ with a manifest.json index.
  • Settings → Appearance → Bundled theme — pick a theme from the dropdown and apply it without copying CSS from the docs site.
  • Six new looks beyond simple palette swaps: Terminal Phosphor, Vaporwave Grid, Blueprint Tech, Luxury Gold, Holographic Prism, Brutalist Mono.
  • Theme gallery on GitHub Pages gets a Download CSS button per theme.

Developer tooling

  • Pre-commit hook runs cargo fmt so Rust formatting matches CI.
  • scripts/check-rust.ps1 / check-rust.sh — run fmt, clippy, and tests locally before pushing.
  • Shared rustfmt.toml for the workspace.

Improved

Appearance settings

  • Removed the old overlay tint presets — they duplicated what Custom CSS and the theme gallery already do better.
  • Quick Colors now covers accent + light/dark mode; glass blur, card radius, and grid columns stay as sliders.
  • Live preview is scoped to the mini dashboard scene instead of fighting the whole settings page.
  • Custom CSS updates live in the preview via #amud-custom-css.
  • Accent color is sanitized on save so bad values cannot break the UI.

Themes & docs

  • Each theme lives in its own definition file under docs/src/data/themes/definitions/ — easier to maintain and extend.
  • themes.md no longer repeats full CSS blocks; it points to the gallery and bundled files instead.

Audit log

  • Schema is ensured on startup so the log table always exists.
  • Startup logs audit health; the API returns 503 if the log cannot be read instead of a silent empty list.
  • Saving settings from the UI now writes an audit entry (covered by an integration test).
  • Troubleshooting docs expanded for audit log issues.

Fixed

  • Release SHA256SUMS — v1.5.1.0 initially shipped a broken checksum file (only ui.tar.gz). Restored the v1.5.0.0 layout (target/release/amud-server, target/release/amud-agent, ui.tar.gz) so update-amud.sh and the in-app updater verify correctly again.
  • In-app updater on Proxmox — checksum map accepts both full release paths and basenames.
  • CI cargo fmt drift on imports.rs and system.rs.
  • Sonar re-export warning in the theme gallery index.

Upgrade

curl -sSL https://github.com/boubli/AMUD-Dashboard/releases/latest/download/update-amud.sh | bash

Verify Settings → System shows v1.5.1.0.

If you deploy UI files manually to an LXC, push at least:

pct push <CTID> ui/templates/settings.html /opt/amud/ui/templates/settings.html
pct push <CTID> ui/static/style.css /opt/amud/ui/static/style.css
pct push <CTID> ui/static/themes /opt/amud/ui/static/themes

Then restart amud-server after updating the binary.


Full diff since v1.5.0.0: v1.5.0.0...v1.5.1.0