Commit graph

67 commits

Author SHA1 Message Date
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
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
f8ac8a22e4 Highlight @mentions and &rooms 2022-08-03 00:04:18 +02:00
cfcc663169 Remove pseudo message after server replied 2022-08-02 21:43:35 +02:00
a0b89b3990 Remove unused functions 2022-08-02 21:10:53 +02:00
00bcdddc62 Enable some warnings 2022-08-02 02:17:37 +02:00
9ac646174c Fix some warnings 2022-08-02 01:38:32 +02:00
e6e6bcaf31 Fix editor crashing when entering whitespace 2022-08-02 01:09:40 +02:00
ac2602c4b8 Rename second euph Message to SmallMessage 2022-08-01 20:05:50 +02:00
8e2e7d4764 Render /me messages properly 2022-08-01 19:57:39 +02:00
4ac0b5f074 Make new ChatMsg trait for Chat message rendering 2022-08-01 19:57:05 +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
94a746f992 Fix nick from snapshot being ignored 2022-07-24 18:57:32 +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
78906ffd96 Placate some warnings 2022-07-20 20:49:02 +02:00
d638ba2887 Get last possible Msg id 2022-07-19 17:04:44 +02:00
4effe38c1d Increase ping and reply timeout
While downloading logs for &music, the server would repeatedly time out
on ws pings because it took too much time responding to the log
commands. This change makes reconnects less likely at the cost of not
noticing them as quickly.
2022-07-05 20:49:36 +02:00
4712798bf5 Stay connected if room requires auth
Even though authentication is not possible yet
2022-07-05 20:18:40 +02:00
7f1dc020d3 Render room list with new generic list 2022-07-05 19:37:29 +02:00
603876738f Fix hue hash for emoji-heavy nicks 2022-07-04 22:40:49 +02:00
37d10821a4 Implement euph color hashing 2022-07-02 17:22:59 +02:00
e1ef195198 Fix ping pong 2022-06-30 15:16:37 +02:00