lemmy/crates/utils
flamingos-cant 19a1a077c5
Add a blocklist for URLs. (#4515)
* Add a blocklist for URLs.

* Fix SQL format

* Make clippy happy.

* Use regex for URL matching.

* Escape regex chars in URLs.

* Use post for modification.

* Make URL block regex static and remove API routes.

* Add date fields to table and use transaction.

* Use Cache for blocklist.

* Rename check_links + move list to parameters of process_markdown.

* SQL format.

* Format, again.

* Remove println.

* Add API test.

* Set a shorter lifetime for regex in debug mode.

* Add missing macro.

* Update lemmy-js-client

* Update api_test/pnpm-lock.yaml

* Don't break other tests

* Use different URL for test

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Nutomic <me@nutomic.com>
2024-03-15 07:03:29 -04:00
..
src Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
translations@c3e61706e2 Version 0.19.3 2024-01-22 08:56:08 -05:00
Cargo.toml Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
build.rs Add email translations (#2175) 2022-03-29 18:23:03 +00:00