GoToSocial/internal/media
kim b85a9983d0
[bugfix] fix emoji recaching operations (#3167)
* add test for emoji update image

* update emoji recache to set the instance account id

* don't refresh emoji if only not cached. in that case literally just recache

* code comment

* rename + move a few things

* add some more code comments, and rename some functions to make logic a bit clearer

* remove unnecessary nil check (the value can be nil)

* comment wording

* remove test data output

* handle the case of caching an emoji which has been refreshed then uncached

* allow overwriting on testrig storage as we do now on regular storage

* fix emoji category ID not getting updated

---------

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-08-03 19:05:38 +02:00
..
ffmpeg update go-ffmpreg to v0.2.3 (#3120) 2024-07-20 14:14:58 +01:00
test [chore] add back exif-terminator and use only for jpeg,png,webp (#3161) 2024-08-02 12:46:41 +01:00
ffmpeg.go [chore] add back exif-terminator and use only for jpeg,png,webp (#3161) 2024-08-02 12:46:41 +01:00
manager_test.go [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
manager.go [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
media_test.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
metadata.go [bugfix] close files before error return (#3163) 2024-08-02 15:11:24 +01:00
processingemoji.go [bugfix] moves file rename to earlier in media pipeline so ffmpeg calls ALWAYS have extension (#3146) 2024-07-28 10:31:49 +02:00
processingmedia.go [chore] add back exif-terminator and use only for jpeg,png,webp (#3161) 2024-08-02 12:46:41 +01:00
refetch_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
refetch.go [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
types.go [feature] more filetype support! (#3107) 2024-07-15 15:24:53 +01:00
util.go [bugfix] close files before error return (#3163) 2024-08-02 15:11:24 +01:00