Commit graph

625 commits

Author SHA1 Message Date
d8d3e64776 Migrate room to AsyncWidget 2023-04-17 09:39:00 +02:00
ead4fa7c8a Migrate rooms list to AsyncWidget 2023-04-17 09:39:00 +02:00
adc70ad233 Migrate key bindings list widget to AsyncWidget 2023-04-17 09:39:00 +02:00
d5b6dd9802 Migrate topmost widget to AsyncWidget 2023-04-17 09:39:00 +02:00
8de5bf87af Add util2 module for new widgets 2023-04-17 09:39:00 +02:00
267ef2bee9 Add List AsyncWidget 2023-04-17 09:39:00 +02:00
07960142e0 Add Popup AsyncWidget 2023-04-17 09:39:00 +02:00
3f7ed63064 Add AsyncWidgetWrapper and WidgetWrapper 2023-04-17 09:39:00 +02:00
ff9a16d8a3 Make Widget::size like toss::AsyncWidget::size 2023-04-17 09:39:00 +02:00
059ff94aef Update toss 2023-04-17 09:39:00 +02:00
b515ace906 Add InfallibleExt util trait 2023-04-14 23:32:56 +02:00
d2e3e2aef9 Remove flake-utils dependency
See also:
4f399bd5c4/flake.nix (L14)
17198cf5ae
2023-04-14 22:31:48 +02:00
674534dfa4 Optimize dependencies in debug builds 2023-04-12 19:37:25 +02:00
3f63221594 Write "e.g." correctly 2023-04-12 00:15:52 +02:00
53250ccdcb Bump version to 0.6.1 2023-04-10 12:43:03 +02:00
6089a94a2e Update dependencies 2023-04-10 12:40:37 +02:00
923e68c0b5 Always show rooms from config in rooms list 2023-04-10 12:25:17 +02:00
8c4a966451 Update euphoxide 2023-04-08 20:34:12 +02:00
847af34ceb Make JSON exports faster 2023-04-05 21:56:10 +02:00
9f9c3d998e Bump version to 0.6.0 2023-04-04 23:37:21 +02:00
a487eeb85d Update dependencies 2023-04-04 23:37:21 +02:00
3eb33f14e6 Refine changelog 2023-04-04 23:37:21 +02:00
4e2b597f1e Fix waiting rooms being sorted to bottom 2023-03-17 18:27:21 +01:00
1e90e76fba Fix rooms being stuck in "Connecting" state
I haven't managed to reliably reproduce this bug, so I don't know if
this actually fixes it.
2023-03-12 16:36:54 +01:00
0612d235d7 Recognize links without scheme 2023-03-07 14:25:09 +01:00
da3d84c9d8 Fix connecting to rooms as bot instead of human 2023-03-04 22:00:37 +01:00
582cac8421 Turn repo into flake 2023-03-04 20:15:29 +01:00
65fa1b8afd Update euphoxide
This fixes authentication for rooms requiring passwords
2023-02-26 21:21:26 +01:00
7568fb3434 Add todo 2023-02-23 14:41:10 +01:00
5738fe391a Include instance log messages again 2023-02-23 14:41:10 +01:00
293112777a Fix bugged room state from lingering connection
When disconnecting from a room whose instance is "waiting" and then
reconnecting, the old instance would not be stopped immediately.
Instead, it would continue to run until it managed to reconnect, sending
status updates to the main event bus in the process.

These events led to the euph::Room entering a state where it was
connected but no last_msg_id was set. This meant that no new messages
could be entered into the vault, including messages sent by the user.
The result was UI weirdness when sending a message.

As a fix, euphoxide instances are now identified via an u32 id. This id
is unique across all rooms. Packets by unknown ids are rejected and have
no effect on room states.
2023-02-23 14:41:10 +01:00
d74282581c Deduplicate code 2023-02-23 14:41:10 +01:00
fb164eeaa9 Add todos 2023-02-23 14:41:10 +01:00
7e9e441c1e Use Garmelon/vault 2023-02-23 14:41:10 +01:00
35a140e21f Make MsgStore fallible 2023-02-23 14:41:10 +01:00
5581fc1fc2 Add vscode settings 2023-02-23 14:41:10 +01:00
8bd58417dd Fix import grouping 2023-02-23 14:41:10 +01:00
84279d6800 Print non-export output on stderr 2023-02-23 14:41:10 +01:00
ca10ca277b Add option to export to stdout 2023-02-23 14:41:10 +01:00
0ceaffc608 Add json-stream export format 2023-02-23 14:41:10 +01:00
ba1b8b419c Add todo 2023-02-23 14:41:10 +01:00
55cc8a5d09 Update dependencies 2023-02-23 14:41:10 +01:00
ecedad8f0f Update euphoxide 2023-01-30 19:04:24 +01:00
56373135c7 Fix mentions not being stopped by > 2023-01-30 17:59:55 +01:00
b6d69ce0b5 Fix sort order for rooms waiting to reconnect 2023-01-24 18:23:06 +01:00
f2d70f99eb Fix rooms not reconnecting properly 2023-01-24 18:22:52 +01:00
2f7234189b Add --verbose flag 2023-01-23 23:03:17 +01:00
f9533d8119 Update debug logging
Some things euphoxide already logs. The priorities for the other
messages were adjusted to make more sense (hopefully).
2023-01-23 22:57:56 +01:00
c2e739abf9 Fix auth-auth-disconnect-reconnect loop
Both euphoxide and cove would try to authenticate, leading to the server
disconnecting the session. The Instance would then immediately reconnect
because the previous initial connection was successful. Rinse and repeat
2023-01-23 22:50:42 +01:00
1be5fb5f39 Limit logged messages 2023-01-23 22:49:34 +01:00