lemmy/crates
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
..
api Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
api_common Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
api_crud Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
apub Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
db_perf Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
db_schema Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
db_views Adding extra fields to PostReport and CommentReport views. (#4520) 2024-03-13 12:11:24 -04:00
db_views_actor Support listing type for person (fixes #4146) (#4487) 2024-03-01 11:53:20 -05:00
db_views_moderator View mod history for a post or comment. Fixes #4162 (#4491) 2024-03-04 11:42:25 -05:00
federate Remove unneeded error "last successful id is higher than latest id" (fixes #4363) (#4486) 2024-03-01 11:31:37 -05:00
routes Fix missing private key for signed fetch (#4516) 2024-03-08 10:23:15 -05:00
utils Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00