Split lemmy_db into lemmy_db_queries, lemmy_db_aggregates and lemmy_db_views
authorFelix Ableitner <me@nutomic.com>
Mon, 21 Dec 2020 16:30:34 +0000 (17:30 +0100)
committerFelix Ableitner <me@nutomic.com>
Mon, 21 Dec 2020 16:39:11 +0000 (17:39 +0100)
commitd5efebbf4759412c4061abefbd619c404ab10b6d
treefae34ca5fea06b32b7e941de6fd576111d2084e5
parente5a65d580753656bdec1e367f68807c7bcf957a8
Split lemmy_db into lemmy_db_queries, lemmy_db_aggregates and lemmy_db_views
82 files changed:
Cargo.lock
Cargo.toml
lemmy_api/Cargo.toml
lemmy_api/src/comment.rs
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/Cargo.toml
lemmy_apub/src/activities/receive/comment.rs
lemmy_apub/src/activities/receive/comment_undo.rs
lemmy_apub/src/activities/receive/community.rs
lemmy_apub/src/activities/receive/post.rs
lemmy_apub/src/activities/receive/post_undo.rs
lemmy_apub/src/activities/receive/private_message.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_aggregates/Cargo.toml [new file with mode: 0644]
lemmy_db_aggregates/src/comment_aggregates.rs [moved from lemmy_db/src/aggregates/comment_aggregates.rs with 94% similarity]
lemmy_db_aggregates/src/community_aggregates.rs [moved from lemmy_db/src/aggregates/community_aggregates.rs with 97% similarity]
lemmy_db_aggregates/src/lib.rs [moved from lemmy_db/src/aggregates/mod.rs with 100% similarity]
lemmy_db_aggregates/src/post_aggregates.rs [moved from lemmy_db/src/aggregates/post_aggregates.rs with 97% similarity]
lemmy_db_aggregates/src/site_aggregates.rs [moved from lemmy_db/src/aggregates/site_aggregates.rs with 96% similarity]
lemmy_db_aggregates/src/user_aggregates.rs [moved from lemmy_db/src/aggregates/user_aggregates.rs with 97% similarity]
lemmy_db_queries/Cargo.toml [moved from lemmy_db/Cargo.toml with 96% similarity]
lemmy_db_queries/src/lib.rs [moved from lemmy_db/src/lib.rs with 88% similarity]
lemmy_db_queries/src/source/activity.rs [moved from lemmy_db/src/source/activity.rs with 97% similarity]
lemmy_db_queries/src/source/category.rs [moved from lemmy_db/src/source/category.rs with 94% similarity]
lemmy_db_queries/src/source/comment.rs [moved from lemmy_db/src/source/comment.rs with 98% similarity]
lemmy_db_queries/src/source/comment_report.rs [moved from lemmy_db/src/source/comment_report.rs with 100% similarity]
lemmy_db_queries/src/source/community.rs [moved from lemmy_db/src/source/community.rs with 92% similarity]
lemmy_db_queries/src/source/mod.rs [moved from lemmy_db/src/source/mod.rs with 100% similarity]
lemmy_db_queries/src/source/moderator.rs [moved from lemmy_db/src/source/moderator.rs with 99% similarity]
lemmy_db_queries/src/source/password_reset_request.rs [moved from lemmy_db/src/source/password_reset_request.rs with 96% similarity]
lemmy_db_queries/src/source/post.rs [moved from lemmy_db/src/source/post.rs with 99% similarity]
lemmy_db_queries/src/source/post_report.rs [moved from lemmy_db/src/source/post_report.rs with 100% similarity]
lemmy_db_queries/src/source/private_message.rs [moved from lemmy_db/src/source/private_message.rs with 98% similarity]
lemmy_db_queries/src/source/site.rs [moved from lemmy_db/src/source/site.rs with 100% similarity]
lemmy_db_queries/src/source/user.rs [moved from lemmy_db/src/source/user.rs with 99% similarity]
lemmy_db_queries/src/source/user_mention.rs [moved from lemmy_db/src/source/user_mention.rs with 98% similarity]
lemmy_db_schema/src/lib.rs
lemmy_db_schema/src/source/comment_report.rs
lemmy_db_schema/src/source/post_report.rs
lemmy_db_views/Cargo.toml [new file with mode: 0644]
lemmy_db_views/src/comment_report_view.rs [moved from lemmy_db/src/views/comment_report_view.rs with 98% similarity]
lemmy_db_views/src/comment_view.rs [moved from lemmy_db/src/views/comment_view.rs with 98% similarity]
lemmy_db_views/src/community/community_follower_view.rs [moved from lemmy_db/src/views/community/community_follower_view.rs with 97% similarity]
lemmy_db_views/src/community/community_moderator_view.rs [moved from lemmy_db/src/views/community/community_moderator_view.rs with 97% similarity]
lemmy_db_views/src/community/community_user_ban_view.rs [moved from lemmy_db/src/views/community/community_user_ban_view.rs with 97% similarity]
lemmy_db_views/src/community/community_view.rs [moved from lemmy_db/src/views/community/community_view.rs with 85% similarity]
lemmy_db_views/src/community/mod.rs [moved from lemmy_db/src/views/community/mod.rs with 100% similarity]
lemmy_db_views/src/lib.rs [moved from lemmy_db/src/views/mod.rs with 100% similarity]
lemmy_db_views/src/moderator/mod.rs [moved from lemmy_db/src/views/moderator/mod.rs with 100% similarity]
lemmy_db_views/src/moderator/mod_add_community_view.rs [moved from lemmy_db/src/views/moderator/mod_add_community_view.rs with 97% similarity]
lemmy_db_views/src/moderator/mod_add_view.rs [moved from lemmy_db/src/views/moderator/mod_add_view.rs with 96% similarity]
lemmy_db_views/src/moderator/mod_ban_from_community_view.rs [moved from lemmy_db/src/views/moderator/mod_ban_from_community_view.rs with 97% similarity]
lemmy_db_views/src/moderator/mod_ban_view.rs [moved from lemmy_db/src/views/moderator/mod_ban_view.rs with 96% similarity]
lemmy_db_views/src/moderator/mod_lock_post_view.rs [moved from lemmy_db/src/views/moderator/mod_lock_post_view.rs with 96% similarity]
lemmy_db_views/src/moderator/mod_remove_comment_view.rs [moved from lemmy_db/src/views/moderator/mod_remove_comment_view.rs with 97% similarity]
lemmy_db_views/src/moderator/mod_remove_community_view.rs [moved from lemmy_db/src/views/moderator/mod_remove_community_view.rs with 96% similarity]
lemmy_db_views/src/moderator/mod_remove_post_view.rs [moved from lemmy_db/src/views/moderator/mod_remove_post_view.rs with 96% similarity]
lemmy_db_views/src/moderator/mod_sticky_post_view.rs [moved from lemmy_db/src/views/moderator/mod_sticky_post_view.rs with 96% similarity]
lemmy_db_views/src/post_report_view.rs [moved from lemmy_db/src/views/post_report_view.rs with 98% similarity]
lemmy_db_views/src/post_view.rs [moved from lemmy_db/src/views/post_view.rs with 98% similarity]
lemmy_db_views/src/private_message_view.rs [moved from lemmy_db/src/views/private_message_view.rs with 97% similarity]
lemmy_db_views/src/site_view.rs [moved from lemmy_db/src/views/site_view.rs with 90% similarity]
lemmy_db_views/src/user_mention_view.rs [moved from lemmy_db/src/views/user_mention_view.rs with 98% similarity]
lemmy_db_views/src/user_view.rs [moved from lemmy_db/src/views/user_view.rs with 96% similarity]
lemmy_structs/Cargo.toml
lemmy_structs/src/comment.rs
lemmy_structs/src/community.rs
lemmy_structs/src/post.rs
lemmy_structs/src/site.rs
lemmy_structs/src/user.rs
lemmy_utils/src/settings.rs
lemmy_websocket/Cargo.toml
src/routes/feeds.rs
src/routes/nodeinfo.rs