gotosocial/internal/cache
Vyr Cossont 61a2b91f45
[feature] Filters v1 (#2594)
* Implement client-side v1 filters

* Exclude linter false positives

* Update test/envparsing.sh

* Fix minor Swagger, style, and Bun usage issues

* Regenerate Swagger

* De-generify filter keywords

* Remove updating filter statuses

This is an operation that the Mastodon v2 filter API doesn't actually have, because filter statuses, unlike keywords, don't have options: the only info they contain is the status ID to be filtered.

* Add a test for filter statuses specifically

* De-generify filter statuses

* Inline FilterEntry

* Use vertical style for Bun operations consistently

* Add comment on Filter DB interface

* Remove GoLand linter control comments

Our existing linters should catch these, or they don't matter very much

* Reduce memory ratio for filters
2024-03-06 11:15:58 +01:00
..
domain [bugfix] fix higher-level explicit domain rules causing issues with lower-level domain blocking (#2513) 2024-01-09 13:12:43 +00:00
headerfilter [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
cache.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
db.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
invalidate.go [performance] temporarily cache account status counts to reduce no. account counts (#2620) 2024-02-12 11:52:12 +00:00
size.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
slice.go [chore] update viper version (#2539) 2024-01-17 14:54:30 +00:00
util.go [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
visibility.go [performance] overhaul struct (+ result) caching library for simplicity, performance and multiple-result lookups (#2535) 2024-01-19 12:57:29 +00:00