lemmy/api_tests/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
..
comment.spec.ts Clear text of deleted/removed comments (#4503) 2024-03-05 08:52:35 -05:00
community.spec.ts When site banning a federated user, also remove their content from our local communities. (#4464) 2024-03-01 13:45:06 -05:00
follow.spec.ts Add local_subscribers field to CommunityAggregates. Fixes #4144 (#4166) 2024-01-24 10:22:05 -05:00
image.spec.ts Add alt_text for posts. Fixes #1086 (#4477) 2024-03-05 11:34:57 +01:00
post.spec.ts Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
private_message.spec.ts Fixing private message reports. (#4279) 2023-12-18 10:25:05 +01:00
shared.ts Add alt_text for posts. Fixes #1086 (#4477) 2024-03-05 11:34:57 +01:00
user.spec.ts Revert "Dont ignore errors during login (fixes #4319) (#4321)" (#4380) 2024-01-19 11:21:43 -05:00