GoToSocial/internal/typeutils
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
..
astointernal_test.go [bugfix] 2643 bug search for account url doesnt always work when redirected (#2673) 2024-02-23 16:24:40 +01:00
astointernal.go [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00:00
converter_test.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
converter.go
defaulticons.go
frontendtointernal.go
internal.go
internaltoas_test.go [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00:00
internaltoas.go [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00:00
internaltofrontend_test.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
internaltofrontend.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
internaltorss_test.go
internaltorss.go
util_test.go
util.go [bugfix] Outdent placeholder from <aside> when returning unknown media attachments (#2485) 2024-01-09 10:41:32 +01:00
wrap_test.go
wrap.go