]> Untitled Git - lemmy.git/commit
Rework websocket (#2598)
authorNutomic <me@nutomic.com>
Fri, 9 Dec 2022 15:31:47 +0000 (15:31 +0000)
committerGitHub <noreply@github.com>
Fri, 9 Dec 2022 15:31:47 +0000 (10:31 -0500)
commit2732a5bf0707cfca38cf6e826d867d69eb6f4888
tree69739d259d49a59e66c03f53113b588752bd736d
parentf02892b23b865e4e29b04c441754f87b4522077d
Rework websocket (#2598)

* Merge websocket crate into api_common

* Add SendActivity trait so that api crates compile in parallel with lemmy_apub

* Rework websocket code

* fix websocket heartbeat
36 files changed:
Cargo.lock
Cargo.toml
crates/api/src/comment_report/create.rs
crates/api/src/comment_report/resolve.rs
crates/api/src/community/add_mod.rs
crates/api/src/community/ban.rs
crates/api/src/local_user/add_admin.rs
crates/api/src/local_user/ban_person.rs
crates/api/src/local_user/get_captcha.rs
crates/api/src/post_report/create.rs
crates/api/src/post_report/resolve.rs
crates/api/src/private_message_report/create.rs
crates/api/src/private_message_report/resolve.rs
crates/api/src/websocket.rs
crates/api_common/Cargo.toml
crates/api_common/src/context.rs
crates/api_common/src/websocket/chat_server.rs
crates/api_common/src/websocket/handlers.rs
crates/api_common/src/websocket/messages.rs [deleted file]
crates/api_common/src/websocket/mod.rs
crates/api_common/src/websocket/routes.rs [deleted file]
crates/api_common/src/websocket/send.rs
crates/api_common/src/websocket/structs.rs
crates/api_crud/src/post/read.rs
crates/api_crud/src/site/read.rs
crates/api_crud/src/site/update.rs
crates/api_crud/src/user/create.rs
crates/apub/Cargo.toml
crates/apub/src/activities/community/report.rs
crates/apub/src/activities/following/accept.rs
crates/apub/src/api/read_community.rs
crates/apub/src/objects/mod.rs
src/api_routes_http.rs [new file with mode: 0644]
src/api_routes_websocket.rs [moved from src/api_routes.rs with 54% similarity]
src/lib.rs
src/main.rs