lemmy/crates
Nina Blanson e63aa80c3a
Fixes #2900 - Checks slur regex to see if it is too permissive (#3146)
* Fixes #2900 - Checks slur regex to see if it is too permissive along with small validation organization

* Clean up variable names, add handler for valid empty string usecase

* Update tests

* Create validation function and add tests

* Test clean up

* Use payload value vs local site value to prevent stunlocking

* Remove println added while testing

* Fall back to local site regex if not provided from request

* Attempt clean up of flaky comment_view tests

* Pull in latest submodule

* Move application, post check into functions, add more tests and improve test readability

---------

Co-authored-by: Nutomic <me@nutomic.com>
2023-06-27 07:03:30 -04:00
..
api feat: re-added captcha checks (#3289) 2023-06-27 06:38:53 -04:00
api_common Fixes #2900 - Checks slur regex to see if it is too permissive (#3146) 2023-06-27 07:03:30 -04:00
api_crud Fixes #2900 - Checks slur regex to see if it is too permissive (#3146) 2023-06-27 07:03:30 -04:00
apub Fetch community outbox and moderators in parallel (#3360) 2023-06-26 12:14:50 -04:00
db_schema feat: re-added captcha checks (#3289) 2023-06-27 06:38:53 -04:00
db_views Feature add three six and nine months options backend (#3226) 2023-06-26 15:03:35 -04:00
db_views_actor add new flag to api (#3363) 2023-06-27 06:45:26 -04:00
db_views_moderator Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
routes Item URL should point to post URL (#3345) 2023-06-26 15:11:16 +02:00
utils Fixes #2900 - Checks slur regex to see if it is too permissive (#3146) 2023-06-27 07:03:30 -04:00