mirror of
1
Fork 0
gotosocial/internal/processing/status
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
..
bookmark.go use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
bookmark_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
boost.go use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
boost_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
create.go [bugfix] unwrap boosts when checking in-reply-to status (#2702) 2024-02-29 15:20:57 +01:00
create_test.go [bugfix] Ensure local statuses always get a threadID so they can be muted (#2665) 2024-02-19 11:50:49 +01:00
delete.go [feature] Status thread mute/unmute functionality (#2278) 2023-10-25 15:04:53 +01:00
fave.go use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
get.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
get_test.go Improve context descendant sorting (#2579) 2024-01-31 13:40:41 +00:00
mute.go use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
pin.go use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
status.go [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00
status_test.go [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00