2 Commits

Author SHA1 Message Date
Denis Defolie 6c1a7efb0d Media tab: sort by name, date or size, and thumbnails for videos and sounds
The listing now returns the date (v) and size of every file, not just of
images. A selector next to the type filters sorts files by name (natural
order, default), date (newest first) or size (largest first), client side;
folders stay first and the choice is remembered on the tablet.

Video and sound tiles now request /thumb like images (the server already
made them). The existing icon fallback covers a sound without a cover.
Audio and video tiles with a thumbnail get a border in their type colour.

Tests: listing date and size, a Chromium sort test with three files whose
name, date and size orders all differ (kept after reload), and a
thumbnail test with real ffmpeg. Both UI tests were checked to fail when
the feature is reverted.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 16:57:29 +01:00
Denis Defolie 83065b13cb Share the isolated server environment between end-to-end tests
Move the private D-Bus bus, isolated XDG dirs and PATH, fake gio/pactl/
firefox/launcher programs and the real MediaDeckServer into tests/stack.py,
and make test_integration.py use it.

The test bus is started from a configuration without any service
directory, so nothing from the system (portals, kwallet, kdeconnect...) can
ever be activated on it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 16:42:52 +01:00