Commit graph

443 commits

Author SHA1 Message Date
3fb774e93e Remove stray crash 2023-04-20 20:48:26 +02:00
318f7e2a73 Update vault 2023-04-19 23:24:35 +02:00
164c02243d Fix scrolling for editor cursor 2023-04-18 18:13:25 +02:00
ade7be594e Update toss and remove more async 2023-04-17 20:37:30 +02:00
a638caadcb Render messages with less async 2023-04-17 18:59:16 +02:00
07b761e0f9 Fix list cursor being invisible until first redraw 2023-04-17 11:28:06 +02:00
3f18b76c7d Fix chat scrolling up after sending message 2023-04-17 10:25:53 +02:00
21bb87fd45 Rename new modules to old module names 2023-04-17 10:14:01 +02:00
bc8c5968d6 Remove old chat, widgets, util modules 2023-04-17 10:10:26 +02:00
e2b75d2f52 Move ChatMsg trait to chat2 2023-04-17 10:10:26 +02:00
6f0088e194 Migrate F12 log to AsyncWidget 2023-04-17 10:10:26 +02:00
b8da97aaa4 Migrate room popups to AsyncWidget 2023-04-17 10:10:26 +02:00
31c8453a83 Migrate links popup to AsyncWidget 2023-04-17 10:10:25 +02:00
f69d88bf4a Migrate chat to AsyncWidget 2023-04-17 10:10:25 +02:00
ecc4995397 Implement common widgets 2023-04-17 09:39:01 +02:00
95068920f1 Implement common cursor movement logic 2023-04-17 09:39:01 +02:00
a18ee8e7c0 Implement common renderer and scrolling logic 2023-04-17 09:39:01 +02:00
bb4d0fe047 Add blocks as basis for rendering 2023-04-17 09:39:01 +02:00
d7d25a8390 Migrate inspection popups to AsyncWidget 2023-04-17 09:39:01 +02:00
91d8d7ba97 Migrate account popup to AsyncWidget 2023-04-17 09:39:01 +02:00
03766802fd Migrate auth popup to AsyncWidget 2023-04-17 09:39:01 +02:00
e358e2184e Migrate nick popup to AsyncWidget 2023-04-17 09:39:01 +02:00
c7cbd9856b Migrate nick list to AsyncWidget 2023-04-17 09:39:00 +02:00
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
3f63221594 Write "e.g." correctly 2023-04-12 00:15:52 +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
4e2b597f1e Fix waiting rooms being sorted to bottom 2023-03-17 18:27:21 +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
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
8bd58417dd Fix import grouping 2023-02-23 14:41:10 +01:00