Commit graph

778 commits

Author SHA1 Message Date
6facbd5c96 Make euph_trees a table instead of a view 2022-06-24 19:19:38 +02:00
b30adaf17c Decrease log request delay 2022-06-24 18:10:20 +02:00
721461f7be Create some indices 2022-06-24 18:10:08 +02:00
ce58e5b4be Repeatedly request logs while in a room 2022-06-24 17:25:35 +02:00
76412e8287 Purge replies regularly 2022-06-24 15:56:02 +02:00
d10efb8757 Fix some warnings 2022-06-24 15:55:54 +02:00
57351f65be Update vault on send events and replies 2022-06-24 15:33:45 +02:00
4e4eb036e0 Fix span when adding messages 2022-06-24 01:04:27 +02:00
54b056ba1c Fix cursor scrolling
When scrolling up, the cursor would get stuck at certain screen heights,
i.e. the screen would scroll and the cursor would stay at the same line.
When scrolling down, the screen would sometimes jump by one line.

This weird behaviour was caused by an incorrect conversion between
screen lines and cursor proportion.
2022-06-24 00:56:36 +02:00
bdf651b40c Fix sql errors 2022-06-24 00:34:29 +02:00
72b531d216 Insert euph messages into vault 2022-06-24 00:20:34 +02:00
d6821881f3 Implement inserting euph messages into vault 2022-06-24 00:20:14 +02:00
15933aac78 Fix foreign key constraint 2022-06-24 00:15:10 +02:00
5abda48b86 Switch to unbounded receiver for vault 2022-06-23 22:41:02 +02:00
e6af7e6aa1 Print vault errors to stderr 2022-06-23 22:36:38 +02:00
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