lemmy/crates/utils/src
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
..
rate_limit Reduce memory usage of rate limiting (#3111) 2023-06-21 10:28:20 +02:00
settings Remove actix_rt & use standard tokio spawn (#3158) 2023-06-26 10:24:11 +02:00
utils Fixes #2900 - Checks slur regex to see if it is too permissive (#3146) 2023-06-27 07:03:30 -04:00
apub.rs Fixing .drone.yml (#2677) 2023-01-30 14:17:24 -05:00
claims.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
email.rs feat: allow overriding smtp_password with the LEMMY_SMTP_PASSWORD env var (#3154) 2023-06-21 13:36:42 -04:00
error.rs Set attribute deny_unknown_fields for Lemmy config (#2852) 2023-05-11 20:12:12 -04:00
lib.rs Reduce memory usage of rate limiting (#3111) 2023-06-21 10:28:20 +02:00
main.rs Adjust the config check to be a separate faster to compile binary (#3313) 2023-06-26 06:23:21 -04:00
request.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
version.rs For untagged commits, include hash in version name (fixes #1563) 2021-04-12 13:47:58 +02:00