gotosocial/internal/processing
kim 31294f7c78
[bugfix] media.Processor{}.GetFile() returning 404s on first call, correctly loading on 2nd (#3129)
* 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>
2024-07-22 18:45:48 +01:00
..
account [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
admin [chore] media pipeline improvements (#3110) 2024-07-17 15:26:33 +00:00
common [bugfix] update common get target account / status doing refresh async (#3124) 2024-07-21 14:04:19 +02:00
fedi [bugfix] Deref stats async, serve stub collections if handshaking (#2990) 2024-06-11 11:54:59 +02:00
filters [chore] media pipeline improvements (#3110) 2024-07-17 15:26:33 +00:00
list [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
markers [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
media [bugfix] media.Processor{}.GetFile() returning 404s on first call, correctly loading on 2nd (#3129) 2024-07-22 18:45:48 +01:00
polls [chore] media and emoji refactoring (#3000) 2024-06-26 16:01:16 +01:00
report [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
search [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
status [chore] Fix typo (#3113) 2024-07-17 22:04:52 +02:00
stream [chore/frontend] Use smaller webp images for logo and default avatars (#3119) 2024-07-20 14:02:22 +01:00
timeline [bugfix] Handle ErrHideStatus when preparing timeline statuses (#3071) 2024-07-04 19:29:28 -07:00
user [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
workers [chore] Add interaction policy gtsmodels (#3075) 2024-07-11 15:44:29 +01:00
app.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
followrequest_test.go [performance] massively improved ActivityPub delivery worker efficiency (#2812) 2024-04-11 11:45:35 +02:00
instance.go [chore] media and emoji refactoring (#3000) 2024-06-26 16:01:16 +01:00
oauth.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
parsemention.go [bugfix] Refactor parse mention, fix local mention bug (#2657) 2024-02-19 03:48:20 +00:00
parsemention_test.go [bugfix] Refactor parse mention, fix local mention bug (#2657) 2024-02-19 03:48:20 +00:00
preferences.go [chore] Move local account settings to separate db table (#2770) 2024-03-22 14:03:46 +01:00
preferences_test.go [feature] Implement the preferences client API (#1740) 2023-05-06 17:42:58 +02:00
processor.go [chore] media and emoji refactoring (#3000) 2024-06-26 16:01:16 +01:00
processor_test.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00