Titouan Rigoudy
|
f972cd5ae2
|
Send message timestamp to controller client.
|
4 years ago |
Titouan Rigoudy
|
1b5928a54a
|
Suppress last warnings.
|
4 years ago |
Titouan Rigoudy
|
bb73e71da2
|
Remove macro_use for log crate.
|
4 years ago |
Titouan Rigoudy
|
236ccc56a1
|
Add timestamp to room messages.
Also introduce an injection seam for the system clock.
|
4 years ago |
Titouan Rigoudy
|
b62022b864
|
Simplify MessageHandler for single-threaded use.
|
4 years ago |
Titouan Rigoudy
|
794cba3fe4
|
Remove executor, exedute jobs single-threaded.
|
4 years ago |
Titouan Rigoudy
|
2cf82bb77b
|
Upgrade to 2021 edition.
|
4 years ago |
Titouan Rigoudy
|
0dce4d76a4
|
Split testing library into server and user status handler.
|
4 years ago |
Titouan Rigoudy
|
ca9b1db296
|
Use LogHandler in testing Server tests.
|
4 years ago |
Titouan Rigoudy
|
2f9fce92ae
|
Introduce simpler RequestHandler trait.
|
4 years ago |
Titouan Rigoudy
|
35dbad1ded
|
Remove fledgling server from client crate.
|
4 years ago |
Titouan Rigoudy
|
3d2eae62d1
|
Introduce factory pattern for client handlers.
|
4 years ago |
Titouan Rigoudy
|
8b2e6aeae2
|
Introduce testing server for client tests.
Make proto testing server abstract over connection handlers.
|
4 years ago |
Titouan Rigoudy
|
088d73b1a3
|
Expose proto::core for better documentation.
|
4 years ago |
Titouan Rigoudy
|
f347c81c24
|
Store room messages as we receive them.
|
4 years ago |
Titouan Rigoudy
|
8f490cf1e9
|
Handle LoginStatusRequest.
|
4 years ago |
Titouan Rigoudy
|
1e28829f55
|
Fix compilation error.
Remove `cfg(test)` attribute from `RoomMap::get_strict`.
|
4 years ago |
Titouan Rigoudy
|
a4a2655fbb
|
Make proto::core::value module private.
|
4 years ago |
Titouan Rigoudy
|
c136c081ee
|
Make proto::core::frame module private.
|
4 years ago |
Titouan Rigoudy
|
793a23474c
|
Respond immediately to erroneous RoomJoinRequest.
|
4 years ago |
Titouan Rigoudy
|
187bd36ec6
|
Use thiserror for room errors.
|
4 years ago |
Titouan Rigoudy
|
3c4487f764
|
Write tests for RoomJoinResponseHandler.
|
4 years ago |
Titouan Rigoudy
|
0ce0f763f2
|
Fix flaky test.
|
4 years ago |
Titouan Rigoudy
|
5d82bbc818
|
Rename SetPrivilegedUsersHandler -> PrivilegedUsersResponseHandler.
|
4 years ago |
Titouan Rigoudy
|
4ffe17e141
|
Rename SetRoomListHandler -> RoomListResponseHandler.
|
4 years ago |
Titouan Rigoudy
|
e0b95fdbdf
|
Immediately reply to RoomListRequest.
|
4 years ago |
Titouan Rigoudy
|
3beb31087b
|
Basic handling for RoomMessageResponse: forward it.
|
4 years ago |
Titouan Rigoudy
|
abeedd9065
|
Update dependencies, specify them uniformly.
|
4 years ago |
Titouan Rigoudy
|
1b700974f5
|
Update crate used for md5 computation.
|
4 years ago |
Titouan Rigoudy
|
a740dad9de
|
Remove unused crates.
|
4 years ago |
Titouan Rigoudy
|
ead5936138
|
Introduce Config struct.
|
4 years ago |
Titouan Rigoudy
|
815a414df8
|
Move config module to client crate.
|
4 years ago |
Titouan Rigoudy
|
f70c7d5dfe
|
Remove superfluous version constants.
|
4 years ago |
Titouan Rigoudy
|
af0efdf41d
|
Simplify proto::peer module.
|
4 years ago |
Titouan Rigoudy
|
7b34d10754
|
Delete old unused proto code.
|
4 years ago |
Titouan Rigoudy
|
82d8897aa8
|
Remove unused import.
|
4 years ago |
Titouan Rigoudy
|
b69bef26dc
|
Return login info from Client::login().
|
4 years ago |
Titouan Rigoudy
|
e77b260e61
|
Fix buffering issue when logging in.
Previously, a race condition meant some incoming messages could
have been lost during the handshake if they arrived fast enough.
|
4 years ago |
Titouan Rigoudy
|
c3cc5a26cb
|
Remove mio dependency, old proto code.
|
4 years ago |
Titouan Rigoudy
|
c1d3f30918
|
Have Client return a Worker.
|
4 years ago |
Titouan Rigoudy
|
c504715cba
|
Test Worker::run() error cases.
|
4 years ago |
Titouan Rigoudy
|
aca3d80588
|
Return errors from Worker::run().
|
4 years ago |
Titouan Rigoudy
|
0aa0c48591
|
Introduce proto Worker.
|
4 years ago |
Titouan Rigoudy
|
077296743e
|
Simplify Listener tests.
|
4 years ago |
Titouan Rigoudy
|
ac1c2bc551
|
Continue listening after failed WebSocket handshake.
|
4 years ago |
Titouan Rigoudy
|
f7cdae23d4
|
Add test.
|
4 years ago |
Titouan Rigoudy
|
f85079f028
|
Wrap over-long line.
|
4 years ago |
Titouan Rigoudy
|
023d1f6f35
|
Remove warning about Listener.address() being unused.
|
4 years ago |
Titouan Rigoudy
|
f2b241cffe
|
Send details about room with RoomJoinResponse.
|
4 years ago |
Titouan Rigoudy
|
dc2afc6924
|
Jot down TODOs.
|
4 years ago |