]> Untitled Git - lemmy.git/commit
Move websocket code into workspace (#107)
authornutomic <nutomic@noreply.yerbamate.dev>
Thu, 24 Sep 2020 13:53:21 +0000 (13:53 +0000)
committerdessalines <dessalines@noreply.yerbamate.dev>
Thu, 24 Sep 2020 13:53:21 +0000 (13:53 +0000)
commit442369a041e79af374dbc08fc0d8a5669806a210
tree2a23f4dd0187dcbddfdb32a369e9e8a26d954473
parente8ea0664ef0a355561a0f8878e1400b23d34893c
Move websocket code into workspace (#107)

Adjust dockerfiles, fix cargo.toml and remove unused deps

Merge branch 'main' into move-websocket-to-workspace

Move api code into workspace

Move apub to separate workspace

Move websocket code into separate workspace

Some code cleanup

Remove websocket dependency on API

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/107
64 files changed:
Cargo.lock
Cargo.toml
docker/dev/Dockerfile
docker/prod/Dockerfile
docker/prod/deploy.sh
lemmy_api/Cargo.toml [new file with mode: 0644]
lemmy_api/src/claims.rs [moved from src/api/claims.rs with 100% similarity]
lemmy_api/src/comment.rs [moved from src/api/comment.rs with 98% similarity]
lemmy_api/src/community.rs [moved from src/api/community.rs with 98% similarity]
lemmy_api/src/lib.rs [new file with mode: 0644]
lemmy_api/src/post.rs [moved from src/api/post.rs with 98% similarity]
lemmy_api/src/site.rs [moved from src/api/site.rs with 98% similarity]
lemmy_api/src/user.rs [moved from src/api/user.rs with 99% similarity]
lemmy_api/src/version.rs [moved from src/version.rs with 100% similarity]
lemmy_apub/Cargo.toml [new file with mode: 0644]
lemmy_apub/src/activities.rs [moved from src/apub/activities.rs with 87% similarity]
lemmy_apub/src/activity_queue.rs [moved from src/apub/activity_queue.rs with 97% similarity]
lemmy_apub/src/comment.rs [moved from src/apub/comment.rs with 97% similarity]
lemmy_apub/src/community.rs [moved from src/apub/community.rs with 97% similarity]
lemmy_apub/src/extensions/group_extensions.rs [moved from src/apub/extensions/group_extensions.rs with 100% similarity]
lemmy_apub/src/extensions/mod.rs [moved from src/apub/extensions/mod.rs with 100% similarity]
lemmy_apub/src/extensions/page_extension.rs [moved from src/apub/extensions/page_extension.rs with 100% similarity]
lemmy_apub/src/extensions/signatures.rs [moved from src/apub/extensions/signatures.rs with 99% similarity]
lemmy_apub/src/fetcher.rs [moved from src/apub/fetcher.rs with 98% similarity]
lemmy_apub/src/inbox/activities/announce.rs [moved from src/apub/inbox/activities/announce.rs with 77% similarity]
lemmy_apub/src/inbox/activities/create.rs [moved from src/apub/inbox/activities/create.rs with 91% similarity]
lemmy_apub/src/inbox/activities/delete.rs [moved from src/apub/inbox/activities/delete.rs with 94% similarity]
lemmy_apub/src/inbox/activities/dislike.rs [moved from src/apub/inbox/activities/dislike.rs with 89% similarity]
lemmy_apub/src/inbox/activities/like.rs [moved from src/apub/inbox/activities/like.rs with 89% similarity]
lemmy_apub/src/inbox/activities/mod.rs [moved from src/apub/inbox/activities/mod.rs with 100% similarity]
lemmy_apub/src/inbox/activities/remove.rs [moved from src/apub/inbox/activities/remove.rs with 94% similarity]
lemmy_apub/src/inbox/activities/undo.rs [moved from src/apub/inbox/activities/undo.rs with 98% similarity]
lemmy_apub/src/inbox/activities/update.rs [moved from src/apub/inbox/activities/update.rs with 89% similarity]
lemmy_apub/src/inbox/community_inbox.rs [moved from src/apub/inbox/community_inbox.rs with 95% similarity]
lemmy_apub/src/inbox/mod.rs [moved from src/apub/inbox/mod.rs with 100% similarity]
lemmy_apub/src/inbox/shared_inbox.rs [moved from src/apub/inbox/shared_inbox.rs with 83% similarity]
lemmy_apub/src/inbox/user_inbox.rs [moved from src/apub/inbox/user_inbox.rs with 96% similarity]
lemmy_apub/src/lib.rs [moved from src/apub/mod.rs with 96% similarity]
lemmy_apub/src/post.rs [moved from src/apub/post.rs with 97% similarity]
lemmy_apub/src/private_message.rs [moved from src/apub/private_message.rs with 95% similarity]
lemmy_apub/src/user.rs [moved from src/apub/user.rs with 96% similarity]
lemmy_db/src/lib.rs
lemmy_rate_limit/src/lib.rs
lemmy_structs/Cargo.toml
lemmy_structs/src/lib.rs
lemmy_structs/src/websocket.rs
lemmy_utils/Cargo.toml
lemmy_utils/src/lib.rs
lemmy_utils/src/request.rs [moved from src/request.rs with 97% similarity]
lemmy_websocket/Cargo.toml [new file with mode: 0644]
lemmy_websocket/src/chat_server.rs [moved from src/websocket/chat_server.rs with 58% similarity]
lemmy_websocket/src/handlers.rs [moved from src/websocket/handlers.rs with 76% similarity]
lemmy_websocket/src/lib.rs [new file with mode: 0644]
lemmy_websocket/src/messages.rs [new file with mode: 0644]
src/api/mod.rs [deleted file]
src/lib.rs
src/main.rs
src/routes/api.rs
src/routes/federation.rs
src/routes/feeds.rs
src/routes/nodeinfo.rs
src/routes/webfinger.rs
src/routes/websocket.rs
src/websocket/mod.rs [deleted file]