lemmy/crates/api
flamingos-cant e7ab5256f7
Add new setting to block NSFW content (#5436)
* Block NSFW content on instances with it disabled

* Make disallow_nsfw_content a local_site setting

* Clippy

* Add comma

* SQL fmt

* Newline

* Use func in apub + update js-client

* Remove extra db queries, add purge_post_images

* Add back local_site to funcs that need it

* Fix tests

* Add delay to api test

* Address comments

* Cleanup

* Return results from db func

* fmt

* Remove unneeded result

* Sync translations
2025-03-03 11:46:39 +01:00
..
src Add new setting to block NSFW content (#5436) 2025-03-03 11:46:39 +01:00
Cargo.toml Simplify slur regex (#5442) 2025-02-20 12:47:18 -05:00