Commit graph

706 commits

Author SHA1 Message Date
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
8dd5db5888 Switch euph::Room to use euphoxide's Instance 2023-01-23 22:49:34 +01:00
b94dfbdc31 Update euphoxide and enable feature "bot" 2023-01-23 22:49:34 +01:00
0ff3e94690 Fix rendering of /me 2023-01-21 14:24:07 +01:00
875f8be181 Simplify return type 2023-01-20 21:45:30 +01:00
23352e7027 Rename "status" to "state" in most places
This follows the name change of euphoxide, which renamed its connection
Status to State.
2023-01-20 21:45:30 +01:00
f72da10171 Don't set bg color on replaced emoji 2023-01-20 21:45:30 +01:00
c38b8c2ee2 Display colon-delimited emoji in messages 2023-01-20 21:45:30 +01:00
16011a267d Display colon-delimited emoji in nicks 2023-01-20 20:19:03 +01:00
9f7c1fb9c0 Respect emoji when calculating nick hue 2023-01-20 20:18:34 +01:00
9324517c56 Update euphoxide 2023-01-20 19:33:52 +01:00
82d6738e49 Bump version to 0.5.2 2023-01-14 18:02:13 +01:00
1585b2e8a1 Update dependencies 2023-01-14 18:00:58 +01:00
f61c03cf0a Remove redundant vault 2023-01-14 17:46:05 +01:00
acb03b1f09 Open room present link with p 2023-01-14 17:45:46 +01:00
20186bda5c Satisfy clippy 2023-01-05 14:21:50 +01:00
5acf49d018 Simplify lints 2022-12-11 20:36:41 +01:00
008554a2bd Update euphoxide and tokio-tungstenite 2022-12-10 02:49:46 +01:00
89cda4088e Add some &rl2dev history bug workarounds 2022-12-07 01:36:22 +01:00
a2275d89eb Bump version to 0.5.1 2022-11-27 02:11:18 +01:00