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.go [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00: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
converter.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
converter_test.go [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00
defaulticons.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
frontendtointernal.go [feature] Implement markers API (#1989) 2023-07-29 12:49:14 +02:00
internal.go [bugfix/chore] `Announce` reliability updates (#2405) 2023-12-01 15:27:15 +01:00
internaltoas.go [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00:00
internaltoas_test.go [feature] serdes for moved/also_known_as (#2600) 2024-02-06 09:45:46 +00:00
internaltofrontend.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
internaltofrontend_test.go [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00
internaltorss.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
internaltorss_test.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
util.go [bugfix] Outdent placeholder from `<aside>` when returning unknown media attachments (#2485) 2024-01-09 10:41:32 +01:00
util_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
wrap.go [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
wrap_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00