gotosocial/internal/media
kim 3db2d42247 [chore] ffmpeg webassembly fiddling (#4454)
This disables ffmpeg / ffprobe support on platforms where the wazero compiler is not available. The slowness introduced is hard to pindown for admins (and us!), so it's easier to just return an error message linking to docs on attempted media processing. It still allows the instance to run, just erroring if anything other than a jpeg is attempted to be processed. This should hopefully make it easier for users to notice these issues.

Also further locks down our wazero 'allowFiles' fs and other media code to address: https://codeberg.org/superseriousbusiness/gotosocial/issues/4408

relates to: https://codeberg.org/superseriousbusiness/gotosocial/issues/4427
also relates to issues raised in #gotosocial-help on matrix

closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4408

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4454
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
2025-09-24 15:12:25 +02:00
..
ffmpeg [chore] ffmpeg webassembly fiddling (#4454) 2025-09-24 15:12:25 +02:00
test [chore] bump codeberg.org/gruf/go-ffmpreg to v0.6.8 (#4349) 2025-07-29 15:15:55 +02:00
ffmpeg.go [chore] ffmpeg webassembly fiddling (#4454) 2025-09-24 15:12:25 +02:00
imaging.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
manager.go [feature] Add avif file support (#4331) 2025-07-17 13:20:01 +02:00
manager_test.go [chore] bump codeberg.org/gruf/go-ffmpreg to v0.6.8 (#4349) 2025-07-29 15:15:55 +02:00
media_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
metadata.go [chore] ffmpeg webassembly fiddling (#4454) 2025-09-24 15:12:25 +02:00
probe.go [chore] ffmpeg webassembly fiddling (#4454) 2025-09-24 15:12:25 +02:00
processingemoji.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
processingmedia.go [performance] bump codeberg.org/gruf/go-kv to v2 (#4341) 2025-07-29 09:23:20 +02:00
refetch.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
refetch_test.go [chore] Upgrade to Go 1.24 (#4187) 2025-05-22 12:26:11 +02:00
thumbnail.go [chore] ffmpeg webassembly fiddling (#4454) 2025-09-24 15:12:25 +02:00
types.go [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
util.go [chore] ffmpeg webassembly fiddling (#4454) 2025-09-24 15:12:25 +02:00