GoToSocial/internal/federation/dereferencing
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
..
account.go [chore] move PopulateAccountStats() nil check often performed into function itself (#3158) 2024-08-02 13:15:11 +01:00
account_test.go [bugfix] add stricter checks during all stages of dereferencing remote AS objects (#2639) 2024-02-14 12:13:38 +01:00
announce.go [chore] Add interaction filter to complement existing visibility filter (#3111) 2024-07-24 12:27:42 +01:00
collection.go [feature/performance] Store account stats in separate table (#2831) 2024-04-16 13:10:13 +02:00
dereferencer.go [chore] Add interaction filter to complement existing visibility filter (#3111) 2024-07-24 12:27:42 +01:00
dereferencer_test.go [chore] Add interaction filter to complement existing visibility filter (#3111) 2024-07-24 12:27:42 +01:00
emoji.go [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
emoji_test.go [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
finger.go [bugfix] add stricter checks during all stages of dereferencing remote AS objects (#2639) 2024-02-14 12:13:38 +01:00
handshake.go [chore/security] refactor AuthenticateFederatedRequest() to handle account deref + suspension checks (#2371) 2023-11-21 11:35:30 +01:00
instance.go
media.go [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
status.go [bugfix] Use punycode for `host` part of `resource` query param when doing webfinger requests (#3133) 2024-07-26 13:11:07 +02:00
status_permitted.go [chore] replaces nested ifs with switch cases, removes defer 'onFail()' being passed to funcs (#3143) 2024-07-27 11:09:02 +02:00
status_test.go [chore] Add interaction policy gtsmodels (#3075) 2024-07-11 15:44:29 +01:00
thread.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
util.go [chore] media and emoji refactoring (#3000) 2024-06-26 16:01:16 +01:00