gotosocial/internal/api
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
..
activitypub [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00
auth [feature/oidc] Add support for very basic RBAC (#2642) 2024-02-27 16:07:29 +01:00
client [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
fileserver [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00
metrics [chore/bugfix] Fix double gzip on prometheus endpoint (#2383) 2023-11-23 19:10:51 +01:00
model [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
nodeinfo [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
util [chore] also allow text/xml in place of application/xml (#2640) 2024-02-14 13:07:58 +01:00
wellknown [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00
activitypub.go [feature/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00
auth.go [feature/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00
client.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
fileserver.go [feature] Ratelimit + serve emoji images on separate router group (#2548) 2024-01-22 15:17:04 +00:00
metrics.go [chore/bugfix] Fix double gzip on prometheus endpoint (#2383) 2023-11-23 19:10:51 +01:00
nodeinfo.go [feature/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00
wellknown.go [feature/performance] Wrap incoming HTTP requests in timeout handler (#2353) 2023-11-13 19:48:51 +01:00