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/apub/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
..
activities Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 4 months ago
api Fix longstanding bug that breaks initial community view (fixes #3529) (#4535) 3 months ago
collections Correctly synchronize collection of community featured posts (fixes #3867) (#4475) 3 months ago
fetcher Persistent, performant, reliable federation queue (#3605) 9 months ago
http fix some typos (#4519) 3 months ago
objects Add a blocklist for URLs. (#4515) 3 months ago
protocol Automatically include apub hashtag with posts (fixes #3906) (#4533) 3 months ago
activity_lists.rs Move apub context to join-lemmy.org (fixes #4234) (#4302) 5 months ago
lib.rs Move apub context to join-lemmy.org (fixes #4234) (#4302) 5 months ago
mentions.rs Make functions work with both connection and pool (#3420) 11 months ago