mirror of
1
Fork 0
gotosocial/internal/validate
Vyr Cossont 61a8d36255
[feature] Implement Filter API v2 (#2936)
* Use correct entity name

* We support server-side filters now

* Document filter v1 methods that can throw a 409

* Validate v1 filter phrase as filter title

* Always check v1 filter API status codes in tests

* Document keyword minimum requirement on filter API v1

* Make it possible to specify filter keyword update columns per filter keyword

* Implement v2 filter API

* Fix lint and tests

* Update Swagger spec

* Fix filter update test

* Update Swagger spec *correctly*

* Update actual files Swagger spec was generated from

* Remove keywords_attributes and statuses_attributes

* Add test for serialization of empty filter

* More helpful messages when object is owned by wrong account
2024-05-31 12:55:56 +02:00
..
formvalidation.go [feature] Implement Filter API v2 (#2936) 2024-05-31 12:55:56 +02:00
formvalidation_test.go [chore] Different error message for net/mail parsing on go 1.21.8 and above (#2760) 2024-03-15 11:36:43 +01:00