gotosocial/internal/config
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
..
gen [bug] Fix an import statement in the gen template (#2426) 2023-12-08 13:07:34 +01:00
testdata [chore/docs] Replace specific year range of copyright notice (#2520) 2024-01-13 16:33:53 +01:00
config_test.go [feature] support configuring database caches (#1246) 2022-12-11 13:03:15 +00:00
config.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
const.go [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
defaults.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
flags.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
global.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
helpers.gen.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
state.go [feature] Use Read/Write lock for config (#1969) 2023-07-10 12:56:14 +01:00
util.go [feature] enable + document explicit IP dialer allowing/denying (#1950) 2023-07-07 16:17:39 +02:00
validate_test.go [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
validate.go [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00