Commit graph

252 commits

Author SHA1 Message Date
2f56ea804f Switch rooms and disconnect current room 2022-02-27 14:19:48 +01:00
f7a319f875 Rename "join room" to "switch room" 2022-02-27 11:26:07 +01:00
c06a598a86 Run cargo fmt 2022-02-27 11:21:46 +01:00
04d17179a0 Show current room state 2022-02-27 01:46:32 +01:00
f34bf63be4 Show users if room knows them
Also selects the current room in the rooms list
2022-02-27 00:16:39 +01:00
ccf6a59f39 Extract pane border rendering to main UI 2022-02-26 19:58:58 +01:00
3efca6a6d1 Prepare room rendering 2022-02-26 19:17:25 +01:00
1543940fbc Join rooms from "join room" overlay 2022-02-26 14:13:08 +01:00
1949b6f5e1 Clear area below "join room" overlay 2022-02-26 13:35:48 +01:00
3c68debd32 Display cursor for "join room" overlay 2022-02-26 13:31:25 +01:00
3ac3bbb99e Add basic "join room" overlay 2022-02-26 13:11:51 +01:00
8d1b1951f4 Move textline to ui module 2022-02-25 23:00:08 +01:00
d0708bfee1 Change format of empty rooms list 2022-02-25 22:41:26 +01:00
e5910f45b4 Render list of rooms 2022-02-24 02:07:54 +01:00
2d31d3d4e2 Extract rooms widget and state 2022-02-23 22:32:52 +01:00
980f78f9a7 Handle events in batches 2022-02-23 18:39:55 +01:00
d68ec217a8 Resize rooms pane via dragging 2022-02-23 18:14:39 +01:00
a50ecaee68 Prepare ui structure 2022-02-23 17:53:26 +01:00
9c5f027898 Test rendering with fork 2022-02-22 02:19:26 +01:00
ee74676da4 Use my own tui fork 2022-02-21 22:09:42 +01:00
9a32792686 Put text in box for testing 2022-02-21 02:19:28 +01:00
ef019dc887 Make text input cursor moveable 2022-02-21 02:10:51 +01:00
28c3241fd9 Create very basic text input 2022-02-21 01:49:20 +01:00
95d1f3295f Clean up imports 2022-02-20 00:33:03 +01:00
fbc24a1154 Add room and nick list UI mockup 2022-02-20 00:32:33 +01:00
992e84e67e Continue implementing rooms
Changing lots of things along the way... But that's how it is: Make one
change, make more changes to fix the resulting errors and so on.
2022-02-19 01:06:53 +01:00
31ffa5cd67 Start implementing rooms 2022-02-18 20:24:03 +01:00
939d9b7586 Move conn to core 2022-02-17 21:40:25 +01:00
c191262bd2 Organize replies to packets 2022-02-17 21:01:52 +01:00
9931a932bf Log new messages 2022-02-17 02:32:05 +01:00
18194f586c Render basic tui and restore terminal 2022-02-15 23:16:01 +01:00
bd61530b5f Add a few debug logs 2022-02-14 01:57:59 +01:00
56a4b8c362 Fix nick and room checks 2022-02-14 01:56:52 +01:00
9f60a069a8 Fix server only replying after pings 2022-02-14 01:56:28 +01:00
a3d61f46c3 Implement remaining parts 2022-02-13 23:28:38 +01:00
b06da9472e Implement most of the server 2022-02-13 21:45:10 +01:00
634a9fb734 Make conn constructor sync 2022-02-13 01:11:18 +01:00
cea0c2e847 Panic on unserializable packets 2022-02-13 01:10:37 +01:00
59eff03ae9 Implement Debug for conn types 2022-02-13 01:10:22 +01:00
805df53699 Abstract away connection logic 2022-02-12 14:37:06 +01:00
e482ba3e05 Include time in message 2022-02-12 01:03:19 +01:00
6cc8670291 Start answering hello commands 2022-02-12 00:54:27 +01:00
fec541b7aa Rename User to Session 2022-02-11 22:43:53 +01:00
620285d1d1 Avoid baking error reasons into protocol 2022-02-11 22:36:42 +01:00
0e6acdbff4 Fix and simplify packets 2022-02-11 22:11:20 +01:00
7458eac931 Add essential packets 2022-02-11 20:48:05 +01:00
286ace55b4 Represent messages 2022-02-11 19:43:39 +01:00
cfaafba77f Extract, (de-)serialize and format id 2022-02-10 21:43:55 +01:00
70bb6f31cf Build basic ws echo server 2022-02-08 03:26:46 +01:00
73ffae3898 Structure packets better 2022-02-08 00:16:33 +01:00