Commit graph

57 commits

Author SHA1 Message Date
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
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
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
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
36b717ff8c Use euphoxide instead of euph module 2022-08-18 18:13:49 +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
b57c70dd01 Store room times as epoch time
Resets migrations because nobody except me is using cove anyways and
this is easier than keeping backwards compatibility.
2022-08-03 00:22:07 +02:00
cfcc663169 Remove pseudo message after server replied 2022-08-02 21:43:35 +02:00
9ac646174c Fix some warnings 2022-08-02 01:38:32 +02:00
f501170d2c Remove unnecessary async-s 2022-07-24 19:02:56 +02:00
096e3f7cfd Connect as human instead of bot 2022-07-24 19:02:07 +02:00
e19ff7a622 Send and store euph cookies when connecting 2022-07-24 18:57:32 +02:00
8bc7af0d3f Replace chrono dependency by time 2022-07-24 17:27:58 +02:00
4712798bf5 Stay connected if room requires auth
Even though authentication is not possible yet
2022-07-05 20:18:40 +02:00
6fbc0c5ff7 Render and interact with individual rooms 2022-06-28 10:24:20 +02:00
9cd7ee008d Store time of first and last join for each room 2022-06-27 10:34:13 +02:00
3e9ceba302 Connect to new rooms 2022-06-27 10:14:30 +02:00
e9e3b6e21c Render list of known rooms 2022-06-26 19:03:44 +02:00
6c26f62008 Create room table for easier room deletion 2022-06-26 16:43:05 +02:00
5b28d1601d Request logs every 2 seconds instead of 3 2022-06-24 23:04:05 +02:00
b30adaf17c Decrease log request delay 2022-06-24 18:10:20 +02:00
ce58e5b4be Repeatedly request logs while in a room 2022-06-24 17:25:35 +02:00