truenas-burnin/app
Brandon Walter 4ab54d7ed8 Add temp thresholds, bad block threshold, editable system settings, check for updates, history completed time
- config.py: add temp_warn_c (46°C), temp_crit_c (55°C), bad_block_threshold (0), app_version
- settings_store.py: expose all new fields + system settings (truenas_base_url, api_key, poll_interval, etc.) as editable; save to JSON for persistence; add validation for log_level, poll/stale intervals, temp range
- renderer.py: _temp_class() now reads temp_warn_c/temp_crit_c from settings instead of hardcoded 40/50
- burnin.py: precheck uses settings.temp_crit_c; fix NameError bug (_execute_stages referenced 'profile' that was not in scope)
- routes.py: add GET /api/v1/updates/check (Forgejo releases API); settings_page passes new editable fields; save_settings skips empty truenas_api_key like smtp_password
- settings.html: move system settings from read-only card into editable form; add temp/bad-block fields to Burn-In Behavior; add Check for Updates button; restart-required indicator on save
- history.html: add Completed (finished_at) column next to Started
- app.css: toast container shifts up when drawer is open (body.drawer-open)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 07:43:23 -05:00
..
static Add temp thresholds, bad block threshold, editable system settings, check for updates, history completed time 2026-02-24 07:43:23 -05:00
templates Add temp thresholds, bad block threshold, editable system settings, check for updates, history completed time 2026-02-24 07:43:23 -05:00
__init__.py Initial commit — TrueNAS Burn-In Dashboard v0.5.0 2026-02-24 00:08:29 -05:00
burnin.py Add temp thresholds, bad block threshold, editable system settings, check for updates, history completed time 2026-02-24 07:43:23 -05:00
config.py Add temp thresholds, bad block threshold, editable system settings, check for updates, history completed time 2026-02-24 07:43:23 -05:00
database.py Initial commit — TrueNAS Burn-In Dashboard v0.5.0 2026-02-24 00:08:29 -05:00
logging_config.py Initial commit — TrueNAS Burn-In Dashboard v0.5.0 2026-02-24 00:08:29 -05:00
mailer.py Initial commit — TrueNAS Burn-In Dashboard v0.5.0 2026-02-24 00:08:29 -05:00
main.py Initial commit — TrueNAS Burn-In Dashboard v0.5.0 2026-02-24 00:08:29 -05:00
models.py Initial commit — TrueNAS Burn-In Dashboard v0.5.0 2026-02-24 00:08:29 -05:00
notifier.py Initial commit — TrueNAS Burn-In Dashboard v0.5.0 2026-02-24 00:08:29 -05:00
poller.py Initial commit — TrueNAS Burn-In Dashboard v0.5.0 2026-02-24 00:08:29 -05:00
renderer.py Add temp thresholds, bad block threshold, editable system settings, check for updates, history completed time 2026-02-24 07:43:23 -05:00
routes.py Add temp thresholds, bad block threshold, editable system settings, check for updates, history completed time 2026-02-24 07:43:23 -05:00
settings_store.py Add temp thresholds, bad block threshold, editable system settings, check for updates, history completed time 2026-02-24 07:43:23 -05:00
truenas.py Initial commit — TrueNAS Burn-In Dashboard v0.5.0 2026-02-24 00:08:29 -05:00