]> Untitled Git - lemmy.git/commit
Split code into cargo workspaces (#67)
authornutomic <nutomic@noreply.yerbamate.dev>
Fri, 10 Jul 2020 18:15:41 +0000 (18:15 +0000)
committerdessalines <dessalines@noreply.yerbamate.dev>
Fri, 10 Jul 2020 18:15:41 +0000 (18:15 +0000)
commit80aef61aed29d25099835ee4769bb8e1e363eb47
tree8c83a360256c615db2ab749aeb29d73ae30895a0
parentdebbd316c271f8867917a9eb8c4caa5c26093d66
Split code into cargo workspaces (#67)

More fixes

- fixed docker builds
- fixed mentions regex test
- fixed DATABASE_URL stuff
- change schema path in diesel.toml

Address review comments

- add jsonb column back into activity table
- remove authors field from cargo.toml
- adjust LEMMY_DATABASE_URL env var usage
- rename all occurences of LEMMY_DATABASE_URL to DATABASE_URL

Decouple utils and db

Split code into cargo workspaces

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/67
63 files changed:
docker/dev/Dockerfile
docker/prod/Dockerfile
docs/src/contributing_tests.md
install.sh
server/Cargo.lock
server/Cargo.toml
server/db-init.sh
server/diesel.toml
server/lemmy_db/Cargo.toml [new file with mode: 0644]
server/lemmy_db/src/activity.rs [moved from server/src/db/activity.rs with 84% similarity]
server/lemmy_db/src/category.rs [moved from server/src/db/category.rs with 95% similarity]
server/lemmy_db/src/comment.rs [moved from server/src/db/comment.rs with 96% similarity]
server/lemmy_db/src/comment_view.rs [moved from server/src/db/comment_view.rs with 98% similarity]
server/lemmy_db/src/community.rs [moved from server/src/db/community.rs with 98% similarity]
server/lemmy_db/src/community_view.rs [moved from server/src/db/community_view.rs with 99% similarity]
server/lemmy_db/src/lib.rs [moved from server/src/db/mod.rs with 78% similarity]
server/lemmy_db/src/moderator.rs [moved from server/src/db/moderator.rs with 99% similarity]
server/lemmy_db/src/moderator_views.rs [moved from server/src/db/moderator_views.rs with 99% similarity]
server/lemmy_db/src/password_reset_request.rs [moved from server/src/db/password_reset_request.rs with 98% similarity]
server/lemmy_db/src/post.rs [moved from server/src/db/post.rs with 96% similarity]
server/lemmy_db/src/post_view.rs [moved from server/src/db/post_view.rs with 98% similarity]
server/lemmy_db/src/private_message.rs [moved from server/src/db/private_message.rs with 92% similarity]
server/lemmy_db/src/private_message_view.rs [moved from server/src/db/private_message_view.rs with 98% similarity]
server/lemmy_db/src/schema.rs [moved from server/src/schema.rs with 100% similarity]
server/lemmy_db/src/site.rs [moved from server/src/db/site.rs with 97% similarity]
server/lemmy_db/src/site_view.rs [moved from server/src/db/site_view.rs with 100% similarity]
server/lemmy_db/src/user.rs [moved from server/src/db/user.rs with 73% similarity]
server/lemmy_db/src/user_mention.rs [moved from server/src/db/user_mention.rs with 96% similarity]
server/lemmy_db/src/user_mention_view.rs [moved from server/src/db/user_mention_view.rs with 98% similarity]
server/lemmy_db/src/user_view.rs [moved from server/src/db/user_view.rs with 98% similarity]
server/lemmy_utils/Cargo.toml [new file with mode: 0644]
server/lemmy_utils/src/lib.rs [new file with mode: 0644]
server/lemmy_utils/src/settings.rs [moved from server/src/settings.rs with 82% similarity]
server/src/api/claims.rs [new file with mode: 0644]
server/src/api/comment.rs
server/src/api/community.rs
server/src/api/mod.rs
server/src/api/post.rs
server/src/api/site.rs
server/src/api/user.rs
server/src/apub/activities.rs
server/src/apub/comment.rs
server/src/apub/community.rs
server/src/apub/community_inbox.rs
server/src/apub/extensions/group_extensions.rs
server/src/apub/extensions/signatures.rs
server/src/apub/fetcher.rs
server/src/apub/mod.rs
server/src/apub/post.rs
server/src/apub/private_message.rs
server/src/apub/shared_inbox.rs
server/src/apub/user.rs
server/src/apub/user_inbox.rs
server/src/code_migrations.rs [moved from server/src/db/code_migrations.rs with 86% similarity]
server/src/lib.rs
server/src/main.rs
server/src/rate_limit/mod.rs
server/src/routes/federation.rs
server/src/routes/feeds.rs
server/src/routes/index.rs
server/src/routes/nodeinfo.rs
server/src/routes/webfinger.rs
ui/package.json