Commit Graph

  • 8f490cf Handle LoginStatusRequest. by Titouan Rigoudy 2021-09-23 22:41:31 +0200
  • 1e28829 Fix compilation error. by Titouan Rigoudy 2021-09-23 21:11:00 +0200
  • a4a2655 Make proto::core::value module private. by Titouan Rigoudy 2021-09-14 09:33:01 +0200
  • c136c08 Make proto::core::frame module private. by Titouan Rigoudy 2021-09-13 16:59:18 +0200
  • 793a234 Respond immediately to erroneous RoomJoinRequest. by Titouan Rigoudy 2021-09-13 16:55:38 +0200
  • 187bd36 Use thiserror for room errors. by Titouan Rigoudy 2021-09-13 16:26:51 +0200
  • 3c4487f Write tests for RoomJoinResponseHandler. by Titouan Rigoudy 2021-09-13 16:03:51 +0200
  • 0ce0f76 Fix flaky test. by Titouan Rigoudy 2021-09-13 15:39:19 +0200
  • 5d82bbc Rename SetPrivilegedUsersHandler -> PrivilegedUsersResponseHandler. by Titouan Rigoudy 2021-09-13 15:32:33 +0200
  • 4ffe17e Rename SetRoomListHandler -> RoomListResponseHandler. by Titouan Rigoudy 2021-09-13 15:30:03 +0200
  • e0b95fd Immediately reply to RoomListRequest. by Titouan Rigoudy 2021-09-13 15:26:25 +0200
  • 3beb310 Basic handling for RoomMessageResponse: forward it. by Titouan Rigoudy 2021-09-02 08:36:10 +0200
  • abeedd9 Update dependencies, specify them uniformly. by Titouan Rigoudy 2021-09-02 08:15:17 +0200
  • 1b70097 Update crate used for md5 computation. by Titouan Rigoudy 2021-08-31 19:34:55 +0200
  • a740dad Remove unused crates. by Titouan Rigoudy 2021-08-31 19:29:50 +0200
  • ead5936 Introduce Config struct. by Titouan Rigoudy 2021-08-29 18:09:51 +0200
  • 815a414 Move config module to client crate. by Titouan Rigoudy 2021-08-29 17:40:46 +0200
  • f70c7d5 Remove superfluous version constants. by Titouan Rigoudy 2021-08-29 17:34:49 +0200
  • af0efdf Simplify proto::peer module. by Titouan Rigoudy 2021-08-29 17:32:59 +0200
  • 7b34d10 Delete old unused proto code. by Titouan Rigoudy 2021-08-29 17:32:41 +0200
  • 82d8897 Remove unused import. by Titouan Rigoudy 2021-08-28 19:31:19 +0200
  • b69bef2 Return login info from Client::login(). by Titouan Rigoudy 2021-08-28 19:30:14 +0200
  • e77b260 Fix buffering issue when logging in. by Titouan Rigoudy 2021-08-28 19:17:11 +0200
  • c3cc5a2 Remove mio dependency, old proto code. by Titouan Rigoudy 2021-08-26 21:10:12 +0200
  • c1d3f30 Have Client return a Worker. by Titouan Rigoudy 2021-08-25 19:59:30 +0200
  • c504715 Test Worker::run() error cases. by Titouan Rigoudy 2021-08-25 19:30:17 +0200
  • aca3d80 Return errors from Worker::run(). by Titouan Rigoudy 2021-08-24 22:55:07 +0200
  • 0aa0c48 Introduce proto Worker. by Titouan Rigoudy 2021-08-24 18:06:37 +0200
  • 0772967 Simplify Listener tests. by Titouan Rigoudy 2021-08-24 16:57:30 +0200
  • ac1c2bc Continue listening after failed WebSocket handshake. by Titouan Rigoudy 2021-08-24 16:26:51 +0200
  • f7cdae2 Add test. by Titouan Rigoudy 2021-08-24 16:26:21 +0200
  • f85079f Wrap over-long line. by Titouan Rigoudy 2021-08-24 14:15:15 +0200
  • 023d1f6 Remove warning about Listener.address() being unused. by Titouan Rigoudy 2021-08-19 11:33:41 +0200
  • f2b241c Send details about room with RoomJoinResponse. by Titouan Rigoudy 2021-08-19 11:20:09 +0200
  • dc2afc6 Jot down TODOs. by Titouan Rigoudy 2021-08-18 20:35:03 +0200
  • c744ff4 Handle RoomJoinResponse. Needs tests. by Titouan Rigoudy 2021-08-18 20:20:49 +0200
  • dcf3bcd Handle RoomJoinRequest. by Titouan Rigoudy 2021-08-18 20:00:02 +0200
  • 17513ef Last test for the control listener. by Titouan Rigoudy 2021-08-18 19:32:56 +0200
  • de20326 One more test for the control listener. by Titouan Rigoudy 2021-08-18 17:08:20 +0200
  • 61a1679 Improve control listener test, fix shutdown handling. by Titouan Rigoudy 2021-08-18 16:38:42 +0200
  • 2dcd7ce Write first test for control listening code. by Titouan Rigoudy 2021-08-14 12:49:53 +0200
  • 17bf55f Improve control channel variable naming. by Titouan Rigoudy 2021-08-14 11:54:26 +0200
  • 94d7716 Rework MessageHandler to use associated types. by Titouan Rigoudy 2021-08-17 23:51:16 +0200
  • c2b1989 Handle sending messages to rooms. by Titouan Rigoudy 2021-08-17 17:16:55 +0200
  • 34ebc39 Improve tests on Dispatcher. by Titouan Rigoudy 2021-08-17 17:01:18 +0200
  • aff9b06 Always close websocket. by Titouan Rigoudy 2021-08-14 11:11:35 +0200
  • 45e1b5f Refactor IncomingHandler. by Titouan Rigoudy 2021-08-13 19:23:34 +0200
  • 54aebf7 Simplify outgoing control path. by Titouan Rigoudy 2021-08-10 22:33:44 +0200
  • 064bded Connect outgoing channel to websocket. by Titouan Rigoudy 2021-08-10 22:29:06 +0200
  • f74d11b Connect client to outgoing control handler. by Titouan Rigoudy 2021-08-10 22:15:17 +0200
  • 52838ef Introduce useless OutgoingHandler. by Titouan Rigoudy 2021-08-10 21:54:20 +0200
  • 896b99a Introduce IncomingHandler. by Titouan Rigoudy 2021-08-10 21:37:55 +0200
  • 231809e Extract logic out of control::listen(). by Titouan Rigoudy 2021-08-08 15:56:02 -0400
  • f278e56 Run cargo fmt. by Titouan Rigoudy 2021-08-08 15:54:27 -0400
  • 0f081a7 Replace ws dependency with tokio-tungstenite. by Titouan Rigoudy 2021-08-08 15:51:11 -0400
  • ab70428 Connect control requests to executor in async mode. by Titouan Rigoudy 2021-07-31 23:16:10 -0400
  • 2d5b2b2 Basic handler for control RoomListRequest. by Titouan Rigoudy 2021-07-31 22:39:22 -0400
  • 27d0539 Replace rustc-serialize with serde. by Titouan Rigoudy 2021-07-31 19:24:41 -0400
  • 7ecd97a Invert User serde tests. by Titouan Rigoudy 2021-07-31 19:13:08 -0400
  • 83bccd8 Tiny nit: improve indentation. by Titouan Rigoudy 2021-07-31 19:09:43 -0400
  • 316dd6d Write remaining control response serde tests. by Titouan Rigoudy 2021-07-31 19:08:11 -0400
  • 2227caf Add serde support for control responses. by Titouan Rigoudy 2021-07-31 18:25:39 -0400
  • 4274d5a Rework control request serde tests. by Titouan Rigoudy 2021-07-31 18:10:29 -0400
  • 6c8b17f Add serde support to Room struct. by Titouan Rigoudy 2021-07-31 18:04:03 -0400
  • a115485 Add serde support for User struct. by Titouan Rigoudy 2021-07-31 17:27:22 -0400
  • 46b7fed Introduce serde for ControlRequest. by Titouan Rigoudy 2021-07-31 16:46:22 -0400
  • 2bf08bc Dispatch RoomListResponse correctly. by Titouan Rigoudy 2021-07-26 17:21:40 -0400
  • ca8f580 Add SetRoomListHandler. by Titouan Rigoudy 2021-07-24 18:44:35 -0400
  • 4f11568 Define ContextBundle. by Titouan Rigoudy 2021-07-24 18:44:18 -0400
  • 25ccac7 Derive Clone for ServerResponse. by Titouan Rigoudy 2021-07-24 18:43:33 -0400
  • a778c75 Add server request sender to Context. by Titouan Rigoudy 2021-07-24 17:53:16 -0400
  • 6f8d18f Apply same rustfmt.toml to proto/. by Titouan Rigoudy 2021-07-24 16:55:20 -0400
  • 57a8791 Implement basic asynchronous main. by Titouan Rigoudy 2021-07-19 07:51:17 -0400
  • 9850f8d Rework Client interface. by Titouan Rigoudy 2021-07-23 19:09:02 -0400
  • f6a6d19 Add --async command line switch. by Titouan Rigoudy 2021-07-16 19:02:22 -0400
  • 3328aae Small fixes to Dispatcher. by Titouan Rigoudy 2021-07-16 18:33:30 -0400
  • 18ac420 Implement Into<ServerResponse> for all response types. by Titouan Rigoudy 2021-07-16 18:31:36 -0400
  • d90176f Tiny test fixes. by Titouan Rigoudy 2021-07-16 18:31:06 -0400
  • d749ee0 Add tests for Channel read/write. by Titouan Rigoudy 2021-07-15 17:58:54 -0400
  • b7a6467 Rename read/write_strict. by Titouan Rigoudy 2021-07-15 17:52:09 -0400
  • e06b3c8 Define message-type-agnostic Channel type. by Titouan Rigoudy 2021-07-15 16:31:18 -0400
  • 5b584f6 Update crates. by Titouan Rigoudy 2021-07-11 13:49:05 -0400
  • 0f13f77 Fix handling of concurrent send and receive. by Titouan Rigoudy 2021-07-11 13:47:51 -0400
  • c4e4c07 Add ability to receive responses while sending requests. by Titouan Rigoudy 2021-07-10 18:31:12 -0400
  • 740b704 Replace FrameStream with FrameReader and FrameWriter. by Titouan Rigoudy 2021-07-10 17:59:22 -0400
  • aa13cfd Introduce FrameReader and FrameWriter. by Titouan Rigoudy 2021-07-10 17:47:29 -0400
  • 95cdf15 Update a couple crates. by Titouan Rigoudy 2021-07-10 17:46:54 -0400
  • 4d4e9c7 Remove warnings in client. by Titouan Rigoudy 2021-07-09 17:00:39 +0000
  • dd7819c Format client. by Titouan Rigoudy 2021-07-09 16:48:42 +0000
  • d432d58 Format and remove warnings from proto. by Titouan Rigoudy 2021-07-09 16:48:33 +0000
  • a7f48e1 Extract proto module to its own crate. by Titouan Rigoudy 2021-07-09 16:26:15 +0000
  • d718e8d Define workspace and client crate. by Titouan Rigoudy 2021-07-09 15:37:15 +0000
  • 33ad79b Rename ValueEncode::encode() to encode_to(). by Titouan Rigoudy 2021-02-02 15:05:52 +0100
  • c7eb148 Move user.rs to src/proto/core. by Titouan Rigoudy 2021-02-02 14:59:12 +0100
  • fc3c7e3 Rename username fields to user_name. by Titouan Rigoudy 2021-02-02 14:54:35 +0100
  • 719480e Implement From<*Request> for ServerRequest. by Titouan Rigoudy 2021-01-26 20:12:07 +0100
  • 0477d21 Remove failing doctests. by Titouan Rigoudy 2021-01-26 19:53:25 +0100
  • 6afced7 Add small integration tests for proto::Client. by Titouan Rigoudy 2021-01-24 16:28:49 +0100
  • 571f7cd Define small lib.rs for integration testing. by Titouan Rigoudy 2021-01-24 16:27:06 +0100
  • a03435f Reduce testing server result channel capacity to 1. by Titouan Rigoudy 2021-01-23 16:42:49 +0100