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/api_tests
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
..
src Add a blocklist for URLs. (#4515) 3 months ago
.eslintrc.json Upgrading deps. (#4196) 7 months ago
.prettierrc.json Removing sniptt/monads for lemmy-js-client. (#2644) 1 year ago
jest.config.js Prettier check (#2855) 1 year ago
package.json Add a blocklist for URLs. (#4515) 3 months ago
pnpm-lock.yaml Add a blocklist for URLs. (#4515) 3 months ago
prepare-drone-federation-test.sh Clear text of deleted/removed comments (#4503) 3 months ago
run-federation-test.sh Moving from yarn to pnpm. (#4414) 4 months ago
tsconfig.json Persistent, performant, reliable federation queue (#3605) 9 months ago