lemmy/crates/utils/src
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
..
rate_limit Implement request idempotency (fixes #4735) (#5329) 2025-01-21 11:10:05 -05:00
settings Deny unknown config fields (#5370) 2025-01-29 13:51:10 -05:00
utils Simplify slur regex (#5442) 2025-02-20 12:47:18 -05:00
cache_header.rs Add http cache for webfingers (#3317) 2023-07-19 06:09:04 -04:00
email.rs When verifying email, add note about waiting for approval. (#5419) 2025-02-12 07:45:25 -05:00
error.rs Add new setting to block NSFW content (#5436) 2025-03-03 11:46:39 +01:00
lib.rs Add helper method for caching function results (#5220) 2024-11-22 09:33:35 -05:00
main.rs Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
request.rs Remove instrument macros (#5368) 2025-01-29 10:50:42 +01:00
response.rs Removing a few expects from production and test code. (#5193) 2024-11-15 08:18:52 -05:00