You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/crates/db_schema/src
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>
3 months ago
..
aggregates Make SiteAggregates derive Copy and Hash (#4501) 3 months ago
impls Add a blocklist for URLs. (#4515) 3 months ago
source Add a blocklist for URLs. (#4515) 3 months ago
diesel_ltree.patch Adding a post_view mode. Fixes #3730 (#3731) 9 months ago
lib.rs Add site.content_warning, local_site.default_post_listing_mode (#4393) 4 months ago
newtypes.rs Move DbUrl trait impls to newtypes.rs (#4463) 4 months ago
schema.rs Add a blocklist for URLs. (#4515) 3 months ago
traits.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 4 months ago
utils.rs Adding some recommended fixes from nightly clippy. (#4473) 3 months ago