lemmy/crates/api/src/post
Dessalines ffb94fde85
Adding local site settings to reject federated upvotes or downvotes. (#5038)
* Adding local site settings to reject federated upvotes or downvotes.

- Should help defend against downvote spamming instances.
- Fixes #4086

* Adding new vote mode types.

* Simpler activitypub vote check.

* Adding undo vote for failed vote mode check.

* Update crates/api_common/src/utils.rs

---------

Co-authored-by: Nutomic <me@nutomic.com>
2024-10-02 06:55:37 -04:00
..
feature.rs Simplify handling of NotFound SQL errors (fixes #4633) (#5031) 2024-09-23 11:26:50 -04:00
get_link_metadata.rs Make site metadata fetch endpoint require auth. (#4968) 2024-08-13 16:53:05 -04:00
hide.rs Convert all Result<..., LemmyError> into LemmyResult<...> Fixes #4613 (#4614) 2024-04-10 10:14:11 -04:00
like.rs Adding local site settings to reject federated upvotes or downvotes. (#5038) 2024-10-02 06:55:37 -04:00
list_post_likes.rs Simplify handling of NotFound SQL errors (fixes #4633) (#5031) 2024-09-23 11:26:50 -04:00
lock.rs Simplify handling of NotFound SQL errors (fixes #4633) (#5031) 2024-09-23 11:26:50 -04:00
mark_read.rs Convert all Result<..., LemmyError> into LemmyResult<...> Fixes #4613 (#4614) 2024-04-10 10:14:11 -04:00
mod.rs Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
save.rs Simplify handling of NotFound SQL errors (fixes #4633) (#5031) 2024-09-23 11:26:50 -04:00