mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-15 17:03:59 +00:00
19a1a077c5
* 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>
36 lines
842 B
Rust
36 lines
842 B
Rust
pub mod activity;
|
|
pub mod actor_language;
|
|
pub mod captcha_answer;
|
|
pub mod comment;
|
|
pub mod comment_reply;
|
|
pub mod comment_report;
|
|
pub mod community;
|
|
pub mod community_block;
|
|
pub mod custom_emoji;
|
|
pub mod email_verification;
|
|
pub mod federation_allowlist;
|
|
pub mod federation_blocklist;
|
|
pub mod federation_queue_state;
|
|
pub mod images;
|
|
pub mod instance;
|
|
pub mod instance_block;
|
|
pub mod language;
|
|
pub mod local_site;
|
|
pub mod local_site_rate_limit;
|
|
pub mod local_site_url_blocklist;
|
|
pub mod local_user;
|
|
pub mod local_user_vote_display_mode;
|
|
pub mod login_token;
|
|
pub mod moderator;
|
|
pub mod password_reset_request;
|
|
pub mod person;
|
|
pub mod person_block;
|
|
pub mod person_mention;
|
|
pub mod post;
|
|
pub mod post_report;
|
|
pub mod private_message;
|
|
pub mod private_message_report;
|
|
pub mod registration_application;
|
|
pub mod secret;
|
|
pub mod site;
|
|
pub mod tagline;
|