Commit graph

263 commits

Author SHA1 Message Date
28263e6a5c Remove dummy store 2022-06-23 22:25:23 +02:00
e0db158ece Redraw whenever a message is logged 2022-06-23 22:15:36 +02:00
fa746d0749 Print error if room stops with an error 2022-06-23 22:15:09 +02:00
ae2c887a3c Restrict and fix visibility 2022-06-23 21:43:46 +02:00
1df34e9f57 Handle some events by logging them 2022-06-23 21:07:23 +02:00
3e5f97c2cd Structure room similar to conn 2022-06-23 17:15:35 +02:00
1ae81899a6 Include successful replies in conn event stream 2022-06-23 13:39:09 +02:00
1e61f15e8d Log via log crate 2022-06-23 13:24:26 +02:00
bbe1ab7bfd Fix initial migration 2022-06-23 13:23:03 +02:00
58d9f87bd2 Clean up Cargo.toml 2022-06-23 12:31:52 +02:00
2df2da9387 Update dependencies 2022-06-23 12:20:44 +02:00
e601476d02 Dissolve workspace 2022-06-23 12:20:20 +02:00
1cc7dd8920 Remove other packages from workspace 2022-06-23 12:19:28 +02:00
00b1f91f71 Omit error and throttled* fields when serializing 2022-06-22 22:17:41 +02:00
9dbadb0a3f Add constructors for Nick and Send 2022-06-22 21:52:07 +02:00
e87b9cb6d8 Make ConnTx Clone 2022-06-22 21:51:51 +02:00
60bd6024ae Expose euph::api 2022-06-22 21:51:19 +02:00
041ab0c530 Mark Data non-exhaustive 2022-06-22 21:50:17 +02:00
aa47233794 Enable ssl via rustls 2022-06-22 21:49:38 +02:00
2f5b4b1c2f Omit throttled if not true 2022-06-22 21:16:58 +02:00
956cb51231 Simplify function types 2022-06-22 21:12:03 +02:00
c0fc9589dc Use canaries 2022-06-22 21:06:42 +02:00
a4a8174ea3 Change euph packet representation 2022-06-22 21:05:31 +02:00
03c1fe7f34 Implement connection in yet another way 2022-06-22 16:10:57 +02:00
49169a1b62 Convert between Packet and individual packet structs 2022-06-22 10:47:26 +02:00
21010fc48a Add draft for euph room connection 2022-06-21 00:51:54 +02:00
a57e15c9f3 Simplify encoding snowflakes 2022-06-20 22:14:25 +02:00
dcbad0a739 Implement EuphVault 2022-06-20 11:18:17 +02:00
58c6c90055 Create tables for euph messages 2022-06-20 09:30:24 +02:00
04427f1378 Make some booleans default to false 2022-06-20 09:29:51 +02:00
de7815f653 Model euphoria api 2022-06-19 14:07:52 +02:00
03dfe10f3e Separate navigation and messaging 2022-06-18 17:23:23 +02:00
416b5bf31e Add simple logging 2022-06-18 16:55:09 +02:00
27769d38d2 Decrease poll duration again 2022-06-17 20:50:20 +02:00
36e1dbfa59 Compose messages via external editor 2022-06-17 20:50:12 +02:00
9a351b5eb3 Calculate previous and next sibling in tree 2022-06-17 20:49:17 +02:00
54fc4b59ce Set pragmas and migrate db 2022-06-17 18:22:22 +02:00
74a80f6ec4 Ensure db is closed properly when exiting 2022-06-17 14:48:01 +02:00
9763c11f3f Quit with ctrl+c 2022-06-16 00:52:56 +02:00
9d1810eceb Open and close sqlite db properly 2022-06-16 00:51:00 +02:00
e65bf49a6e Remove unused dependencies 2022-06-16 00:51:00 +02:00
d5dd2924eb Remove crossterm's event-stream feature 2022-06-16 00:51:00 +02:00
23c551a5b7 Make store room-specific 2022-06-16 00:51:00 +02:00
15213f8003 Add more dummy messages 2022-06-16 00:51:00 +02:00
fee405b573 Implement cursor movement 2022-06-14 23:34:27 +02:00
a1c714d116 Fumble around unsuccessfully with cursor movement 2022-06-14 22:20:49 +02:00
0d77b3cf92 Reword comments and code slightly 2022-06-14 22:15:02 +02:00
704873af6e Ensure blocks are always scrolled properly 2022-06-14 19:37:04 +02:00
ea6b345fa9 Start implementing proper cursor movement 2022-06-14 17:29:26 +02:00
bec12917d6 Extract cursor proportion calculations 2022-06-14 16:41:01 +02:00