Adding moderator views.
authorDessalines <tyhou13@gmx.com>
Wed, 16 Dec 2020 21:28:18 +0000 (16:28 -0500)
committerDessalines <tyhou13@gmx.com>
Wed, 16 Dec 2020 21:28:18 +0000 (16:28 -0500)
commit313f0467c89f2e01a420ff4de2f958bcf631015a
tree3c7d54ebdfbb230bbcb3f5f39523f2cc6dd5bf29
parentbd6a4a54a9571af2a6ebf105527559669ba2e870
Adding moderator views.
35 files changed:
lemmy_api/src/community.rs
lemmy_api/src/lib.rs
lemmy_api/src/post.rs
lemmy_api/src/site.rs
lemmy_api/src/user.rs
lemmy_apub/src/activities/receive/community.rs
lemmy_apub/src/activities/send/community.rs
lemmy_apub/src/fetcher.rs
lemmy_apub/src/http/community.rs
lemmy_apub/src/inbox/community_inbox.rs
lemmy_apub/src/objects/community.rs
lemmy_db/src/lib.rs
lemmy_db/src/moderator_views.rs [deleted file]
lemmy_db/src/source/community.rs
lemmy_db/src/source/moderator.rs
lemmy_db/src/views/community/community_follower_view.rs [moved from lemmy_db/src/views/community_follower_view.rs with 100% similarity]
lemmy_db/src/views/community/community_moderator_view.rs [moved from lemmy_db/src/views/community_moderator_view.rs with 100% similarity]
lemmy_db/src/views/community/community_user_ban_view.rs [moved from lemmy_db/src/views/community_user_ban_view.rs with 100% similarity]
lemmy_db/src/views/community/community_view.rs [moved from lemmy_db/src/views/community_view.rs with 100% similarity]
lemmy_db/src/views/community/mod.rs [new file with mode: 0644]
lemmy_db/src/views/mod.rs
lemmy_db/src/views/moderator/mod.rs [new file with mode: 0644]
lemmy_db/src/views/moderator/mod_add_community_view.rs [new file with mode: 0644]
lemmy_db/src/views/moderator/mod_add_view.rs [new file with mode: 0644]
lemmy_db/src/views/moderator/mod_ban_from_community_view.rs [new file with mode: 0644]
lemmy_db/src/views/moderator/mod_ban_view.rs [new file with mode: 0644]
lemmy_db/src/views/moderator/mod_lock_post_view.rs [new file with mode: 0644]
lemmy_db/src/views/moderator/mod_remove_comment_view.rs [new file with mode: 0644]
lemmy_db/src/views/moderator/mod_remove_community_view.rs [new file with mode: 0644]
lemmy_db/src/views/moderator/mod_remove_post_view.rs [new file with mode: 0644]
lemmy_db/src/views/moderator/mod_sticky_post_view.rs [new file with mode: 0644]
lemmy_structs/src/community.rs
lemmy_structs/src/post.rs
lemmy_structs/src/site.rs
lemmy_structs/src/user.rs