Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 20:30
25506a6

Firmware update for the display; the server is unchanged (no need to update the Docker image).
Update the display over the air as described in docs/en/updating.md.

Added

  • New device web page in an Apple-like look: status tiles (connection, last image, Wi-Fi in
    words, uptime) that refresh every 5 s, grouped settings, light and dark mode, one column on
    phones and two on wide screens. Nothing is loaded from the internet.
  • Brightness and night brightness are sliders: the display follows while you drag
    (POST /api/brightness-preview, never saved), and the value is saved when you let go.
  • Every setting is saved on its own (POST /api/settings with any subset of the fields), with a
    check mark or an error message per row; the server address offers Undo. Night mode has a
    switch. The password has its own Change button.
  • Firmware upload in the browser computes the MD5 itself and shows a progress bar.

Security

  • Device pages can no longer be framed by other sites (X-Frame-Options: DENY,
    frame-ancestors 'none'), so the auto-saving controls cannot be clickjacked.
  • The embedded CSS/JS are revalidated on every load (no-cache + ETag) instead of being cached
    for a year, so a script injected once over plain HTTP cannot persist.

Changed

  • The safe-mode page and the message pages use the same look (still no JavaScript in safe mode).
  • CSS and JavaScript live in firmware/web/ and are minified, gzipped and embedded at build time
    (firmware/scripts/embed_web.py, tools/webasset.py).

Fixed

  • Brightness settings now visibly dim the display. The backlight used a linear duty, so
    20 % looked about half as bright as 100 % and 5 % was only slightly darker. It now follows
    a quadratic curve with a finer PWM range (0 % is still off).

Smoketest: PASS on GeekMagic SmallTV Ultra, previous = v0.4.0 (2026-11-18). 24 h soak OK (2026-11-20): published .bin, uptime > 24 h, no failed boots, no safe mode, free heap stable.