]> Untitled Git - lemmy.git/commit
Making the chat server an actor. (#2793)
authorDessalines <dessalines@users.noreply.github.com>
Thu, 13 Apr 2023 10:53:55 +0000 (06:53 -0400)
committerGitHub <noreply@github.com>
Thu, 13 Apr 2023 10:53:55 +0000 (06:53 -0400)
commit63f54a3103684fd375428331f730b9a104add3a9
treef9938b1b9e783c8c514d60c7fd49f611714f685a
parent844cde9db3ceec713799499279a97d8b62d28f8c
Making the chat server an actor. (#2793)

* Making the chat server an actor.

- Fixes #2778
- #2787

* Forgot to add handlers folder.

* Some cleanup.

* Forgot to remove a comment.

* Address PR comments.

* Using ToString for enum operations.
66 files changed:
Cargo.lock
Cargo.toml
crates/api/src/comment/like.rs
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/community/hide.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/feature.rs
crates/api/src/post/like.rs
crates/api/src/post/lock.rs
crates/api/src/post_report/create.rs
crates/api/src/post_report/resolve.rs
crates/api/src/private_message/mark_read.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 [deleted file]
crates/api_common/src/websocket/handlers/captcha.rs [new file with mode: 0644]
crates/api_common/src/websocket/handlers/connect.rs [new file with mode: 0644]
crates/api_common/src/websocket/handlers/join_rooms.rs [new file with mode: 0644]
crates/api_common/src/websocket/handlers/messages.rs [new file with mode: 0644]
crates/api_common/src/websocket/handlers/mod.rs [new file with mode: 0644]
crates/api_common/src/websocket/handlers/online_users.rs [new file with mode: 0644]
crates/api_common/src/websocket/mod.rs
crates/api_common/src/websocket/send.rs
crates/api_crud/src/comment/create.rs
crates/api_crud/src/comment/delete.rs
crates/api_crud/src/comment/remove.rs
crates/api_crud/src/comment/update.rs
crates/api_crud/src/community/delete.rs
crates/api_crud/src/community/remove.rs
crates/api_crud/src/community/update.rs
crates/api_crud/src/post/create.rs
crates/api_crud/src/post/delete.rs
crates/api_crud/src/post/read.rs
crates/api_crud/src/post/remove.rs
crates/api_crud/src/post/update.rs
crates/api_crud/src/private_message/create.rs
crates/api_crud/src/private_message/delete.rs
crates/api_crud/src/private_message/update.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/community/update.rs
crates/apub/src/activities/create_or_update/comment.rs
crates/apub/src/activities/create_or_update/mod.rs
crates/apub/src/activities/create_or_update/post.rs
crates/apub/src/activities/create_or_update/private_message.rs
crates/apub/src/activities/deletion/delete.rs
crates/apub/src/activities/deletion/mod.rs
crates/apub/src/activities/deletion/undo_delete.rs
crates/apub/src/activities/following/accept.rs
crates/apub/src/activities/voting/mod.rs
crates/apub/src/api/read_community.rs
crates/apub/src/objects/mod.rs
src/api_routes_websocket.rs
src/lib.rs