lemmy/crates
Pavlos Smith c890797b37
Add controversial ranking (#3205)
* Added controversy rank property to posts and comments, and ability to sort by it

* Triggers instead of schedules tasks, integer -> double, TODO: comments don't seem to get updated with floats, divide SortTypes

* Created PersonSortType

* PersonSortType::MostComments case

* Removed unused PartialOrd trait

* Added new person sort type mappings

* SortType -> PersonSortType

* fixes

* cargo fmt

* fixes after merge with main

* Fixed bug in controversy rank trigger, removed TopX sorts from PersonSortType and added CommentScore instead

* Uncovered enum case

* clippy

* reset translation changes

* translations

* translations

* Added additional hot ordering on controversial posts and comments

* featured local and featured community added to controversy rank index, additional order_by removed (?), added post_score and post_count to PersonSortType

* Woodpecker rerun

* cargo fmt

* woodpecker rerun

* fixed controversy_rank order

* fix

* Readded migration as latest, removed second update statement for setting controversy rank
2023-07-26 13:07:05 -04:00
..
api UI Settings - Blur NSFW & Auto Expand (#3377) 2023-07-26 07:53:45 -04:00
api_common Make resolve_object not require auth #3685 (#3716) 2023-07-26 12:17:42 -04:00
api_crud Bump version of dependency "webmention" (#3711) 2023-07-25 13:01:13 -04:00
apub Add controversial ranking (#3205) 2023-07-26 13:07:05 -04:00
db_schema Add controversial ranking (#3205) 2023-07-26 13:07:05 -04:00
db_views Add controversial ranking (#3205) 2023-07-26 13:07:05 -04:00
db_views_actor Add controversial ranking (#3205) 2023-07-26 13:07:05 -04:00
db_views_moderator Make lemmy_api_common wasm-compatible (#3587) 2023-07-14 10:45:18 +02:00
routes Handle displaying of deleted and removed posts/comments (fixes #2624) (#3286) 2023-07-20 16:36:16 +02:00
utils detailed error message for blocked domains (#3698) (#3701) 2023-07-25 13:26:54 -04:00