gotosocial/internal/processing/status
kim 4f2aa792b3 [performance] add statusfilter cache to cache calculated status filtering results (#4303)
this adds another 'filter' type cache, similar to the visibility and mute caches, to cache the results of status filtering checks. for the moment this keeps all the check calls themselves within the frontend typeconversion code, but i may move this out of the typeconverter in a future PR (also removing the ErrHideStatus means of propagating a hidden status).

also tweaks some of the cache invalidation hooks to not make unnecessary calls.

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4303
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
2025-07-01 16:00:04 +02:00
..
bookmark.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
bookmark_test.go [chore] Upgrade to Go 1.24 (#4187) 2025-05-22 12:26:11 +02:00
boost.go [bugfix] Queue implicit accepts *before* other side effects (#4282) 2025-06-20 15:38:23 +02:00
boost_test.go [chore] Upgrade to Go 1.24 (#4187) 2025-05-22 12:26:11 +02:00
common.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
context.go [performance] add statusfilter cache to cache calculated status filtering results (#4303) 2025-07-01 16:00:04 +02:00
context_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
create.go [bugfix] Queue implicit accepts *before* other side effects (#4282) 2025-06-20 15:38:23 +02:00
create_test.go [bugfix] return 422 for invalid status visibility (#4252) 2025-06-09 16:26:49 +02:00
delete.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
edit.go [feature] support nested configuration files, and setting ALL configuration variables by CLI and env (#4109) 2025-05-06 15:51:45 +00:00
edit_test.go [chore] Upgrade to Go 1.24 (#4187) 2025-05-22 12:26:11 +02:00
fave.go [bugfix] Queue implicit accepts *before* other side effects (#4282) 2025-06-20 15:38:23 +02:00
get.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
mute.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
pin.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
status.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
status_test.go [performance] cache mute check results (#4202) 2025-05-31 17:30:57 +02:00
util.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00