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>
2024-03-15 07:03:29 -04:00
..
src Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
.eslintrc.json Upgrading deps. (#4196) 2023-11-24 10:29:41 +01:00
.prettierrc.json Removing sniptt/monads for lemmy-js-client. (#2644) 2023-01-04 10:59:26 -05:00
jest.config.js Prettier check (#2855) 2023-05-13 16:50:58 -04:00
package.json Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
pnpm-lock.yaml Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
prepare-drone-federation-test.sh Clear text of deleted/removed comments (#4503) 2024-03-05 08:52:35 -05:00
run-federation-test.sh Moving from yarn to pnpm. (#4414) 2024-01-29 11:38:39 +01:00
tsconfig.json Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00