Commit graph

689 commits

Author SHA1 Message Date
6c26f62008 Create room table for easier room deletion 2022-06-26 16:43:05 +02:00
54e5a7c97c Render nicer indent for multi-line messages 2022-06-25 17:01:04 +02:00
62033ee5bb Mention vault opening
This way, it hopefully doesn't look like the program is hanging whenever
it is launched.
2022-06-25 15:01:34 +02:00
d44a7faf61 Trim message content before displaying 2022-06-25 11:47:14 +02:00
3ad05182e3 Make main screen visible by default 2022-06-25 11:43:35 +02:00
8bdd626909 Fix query for last span 2022-06-25 11:43:14 +02:00
97366485c9 Fix schema for euph_spans
A primary key implies a NOT NULL constraint for all its columns, which
is not what we want here.
2022-06-24 23:04:17 +02:00
5b28d1601d Request logs every 2 seconds instead of 3 2022-06-24 23:04:05 +02:00
cda1e8f7d8 Incrementally update euph_trees 2022-06-24 21:13:02 +02:00
ad3a67cdc3 Make euph_trees a temporary database 2022-06-24 21:12:52 +02:00
f272bc6dcb Fix performance of retrieving path 2022-06-24 19:19:51 +02:00
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