mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-29 02:20:30 +00:00
31294f7c78
* refactor file handling a tiny bit * whoops * make processing media / emoji defers a bit clear to see that it's the "on finished processing" path * some wording * add some debug logging * add mutex locks for processing remote media * try removing freshness check * fix derefMedia not being allocated * fix log format string * handle case of empty file paths (i.e. not stored) * remove media / emoji once finished processing from dereferencer maps * whoops, fix the cached / force checks * move url parsing outside of 'process___Safely()' funcs to prevalidate url * use emoji.ShortcodeDomain() * update RefreshEmoji() to also match RefreshMedia() changes --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com> |
||
---|---|---|
.. | ||
create.go | ||
delete.go | ||
getemoji.go | ||
getemoji_test.go | ||
getfile.go | ||
getfile_test.go | ||
getmedia.go | ||
media.go | ||
media_test.go | ||
profile.go | ||
unattach.go | ||
unattach_test.go | ||
update.go | ||
util.go |