Files
skjnldsv 2ad684fea4 feat(mimetype): recognise AVIF files
There is no avif entry in the mapping, so detectPath() falls through to
its default and an uploaded photo is labelled application/octet-stream:

  holiday.avif      application/octet-stream
  holiday.heic      image/heic

With the mapping it is what it is:

  holiday.avif      image/avif

That is enough to keep the viewer from opening one, since a handler is
chosen by mime, and enough to leave it without a name in the file list.
Both are fixed here, together with a repair step so the files already
stored under the wrong type are relabelled on upgrade rather than only
the ones uploaded afterwards.

The integrity check fixture is regenerated and re-signed, following the
procedure written in the test that reads it.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2026-09-18 13:02:36 +02:00
..
…
…
…
…
2024-05-22 19:58:12 +02:00
…