smoketest fs-access when transcoding

the thumbnailer / audio transcoder could return misleading errors
if the operation fails due to insufficient filesystem permissions

try reading a few bytes from the file and bail early if it fails,
and detect/log unwritable output folders for thumbnails

also fixes http-response to only return svg-formatted errors
if the initial request expects a picture in response, not audio
This commit is contained in:
ed 2025-04-07 18:41:37 +00:00
parent d450f61534
commit f9954bc4e5
5 changed files with 51 additions and 16 deletions

View file

@ -33,12 +33,6 @@ if you are introducing a new ttf/woff font, don't forget to declare the font its
}
```
and because textboxes don't inherit fonts by default, you can force it like this:
```css
input[type=text], input[type=submit], input[type=button] { font-family: var(--font-main) }
```
and if you want to have a monospace font in the fancy markdown editor, do this:
```css