lemmy/crates
phiresky 922ee6a230
improve admin and mod check to not do seq scans and return unnecessary data (#3483)
* improve admin and mod check

* fix clippy

* move admin index to existing code

* Revert "move admin index to existing code"

This reverts commit d0c58d5f4021e1775d0c1d30d8df6c7df87557c4.

* third attempt at the migration

* fix formatting

* rebuild

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-06 14:44:26 +02:00
..
api Add Open links in new tab setting (#3318) 2023-07-03 11:10:25 -04:00
api_common 300 comment limit. (#3306) 2023-07-03 18:02:57 -04:00
api_crud Only allow http(s) scheme for urls (ref #3505) (#3508) 2023-07-06 08:29:51 -04:00
apub Only allow http(s) scheme for urls (ref #3505) (#3508) 2023-07-06 08:29:51 -04:00
db_schema Fixing clippy. (#3471) 2023-07-04 12:15:27 +02:00
db_views Make sure hot rank sorts for post and community filter by positive hot ranks. (#3497) 2023-07-06 13:22:48 +02:00
db_views_actor improve admin and mod check to not do seq scans and return unnecessary data (#3483) 2023-07-06 14:44:26 +02:00
db_views_moderator Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
routes Item URL should point to post URL (#3345) 2023-06-26 15:11:16 +02:00
utils Only allow http(s) scheme for urls (ref #3505) (#3508) 2023-07-06 08:29:51 -04:00