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>
2024-03-15 07:03:29 -04:00
..
activities Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
api Fix longstanding bug that breaks initial community view (fixes #3529) (#4535) 2024-03-14 16:57:56 -04:00
collections Correctly synchronize collection of community featured posts (fixes #3867) (#4475) 2024-02-26 09:45:23 -05:00
fetcher Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
http fix some typos (#4519) 2024-03-08 10:38:20 +01:00
objects Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
protocol Automatically include apub hashtag with posts (fixes #3906) (#4533) 2024-03-14 12:16:45 -04:00
activity_lists.rs Move apub context to join-lemmy.org (fixes #4234) (#4302) 2024-01-05 15:42:46 +01:00
lib.rs Move apub context to join-lemmy.org (fixes #4234) (#4302) 2024-01-05 15:42:46 +01:00
mentions.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00