8c4a966451
Update euphoxide
2023-04-08 20:34:12 +02: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
7e9e441c1e
Use Garmelon/vault
2023-02-23 14:41:10 +01:00
ba1b8b419c
Add todo
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
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
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
89cda4088e
Add some &rl2dev history bug workarounds
2022-12-07 01:36:22 +01:00
31129ece39
Increase reconnect delay to one minute
2022-11-09 19:57:43 +01:00
bf2732eccd
Satisfy clippy
2022-11-05 14:46:01 +01:00
ffcae898f3
Update euphoxide
2022-10-23 14:05:42 +02:00
5ed0cd5f3f
Update euphoxide to version with partial sessions
2022-09-26 16:56:38 +02:00
374c4c4f79
Update euphoxide to version with id newtype wrappers
2022-09-26 10:20:47 +02:00
da2c3d86f5
Move functions to EuphVault and add EuphRoomVault
...
This commit moves all euph_* functions from Vault to EuphVault. The
previous EuphVault is now called EuphRoomVault and re-exports all
room-based functions from the EuphVault. It also implements MsgStore.
2022-09-09 21:55:14 +02:00
ff56bb2678
Reduce vault code duplication with macros
2022-09-09 21:55:14 +02:00
5eeabea2de
Add todos
2022-08-30 17:17:11 +02:00
6150d05255
Add 'euph.rooms.<name>.force_username' config option
2022-08-25 23:19:40 +02:00
d0ba210855
Add 'euph.rooms.<name>.username' config option
2022-08-25 23:03:33 +02:00
6e6fddc0b1
Add 'euph.rooms.<name>.password' config option
2022-08-25 22:49:34 +02:00
669e52a2ee
Add key binding to download more logs
2022-08-22 21:15:49 +02:00
4956027027
Don't download room history in ephemeral mode
2022-08-22 21:15:09 +02:00
10e1ad6003
Reconect immediately on login/logout
2022-08-22 18:26:50 +02:00
8128342099
Implement account login and logout
2022-08-22 17:25:21 +02:00
7b52add24e
Add password authentication dialog
2022-08-21 01:19:07 +02:00
28899965c7
Update euphoxide
2022-08-20 23:52:54 +02:00
2201e04e15
Fix UI not updating when connecting to room fails
2022-08-20 23:18:13 +02:00
5d5f55107a
Show error popups on some server errors
2022-08-20 21:22:33 +02:00
ded927b9f0
Overhaul UI event handling
2022-08-20 18:36:20 +02:00
cf086b6065
Add note about UI events
2022-08-19 23:38:04 +02:00
fc44a59a6f
Remove dependency on palette
2022-08-19 23:18:26 +02:00
36b717ff8c
Use euphoxide instead of euph module
2022-08-18 18:13:49 +02:00
186ca5ea5a
Add json export
2022-08-10 03:08:06 +02:00
973a621a13
Fix type conversion error when cursor is at bottom
2022-08-08 21:31:12 +02:00
ff4118e21d
Query and set seen status via store
2022-08-08 15:14:50 +02:00
20ec6ef3b3
Set messages' seen status when adding to vault
2022-08-08 15:14:50 +02:00
8b66de44e0
Increase delay between log requests
2022-08-06 02:04:09 +02:00
a85bdd306b
Highlight /me messages in the editor
2022-08-03 15:18:36 +02:00
3fd08fd399
Refine @mention highlighting
2022-08-03 00:46:55 +02:00