Commit graph

259 commits

Author SHA1 Message Date
73a0971c34 Add 'offline' config option to turn off autojoin 2022-08-27 17:03:31 +02:00
04581f9158 Add 'euph.rooms.<name>.autojoin' config option 2022-08-27 15:09:53 +02:00
74561c791b Add key bindings to dis-/connect from/to all rooms 2022-08-27 14:51:15 +02:00
ac13f4b490 Add key binding to change rooms sort order 2022-08-27 14:37:34 +02:00
c9eee7f1d0 Clean up cursor movement code a bit 2022-08-27 12:10:23 +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
8419afd2e1 Remove old comment 2022-08-25 22:08:47 +02:00
669e52a2ee Add key binding to download more logs 2022-08-22 21:15:49 +02:00
f76c6a557d Remove key binding A as alias for a while joining room 2022-08-22 20:36:30 +02:00
3012de944b Fix hidden editor rendering 2022-08-22 20:22:25 +02:00
c618413728 Make popup titles left-aligned
In some cases when expanding popups with centered titles horizontally,
the title would jump right and left by one character. The new popups
also look more like the lazygit popups.
2022-08-22 20:07:26 +02:00
7b1259dee3 Redesign account ui 2022-08-22 20:03:47 +02:00
59a4294e35 Fix char filter when pasting into editor 2022-08-22 17:25:21 +02:00
8128342099 Implement account login and logout 2022-08-22 17:25:21 +02:00
84930c8c34 Add focus and hiding options to editor 2022-08-22 17:15:09 +02:00
d25873f3c6 Fix auth failure popup not showing up 2022-08-21 02:54:18 +02:00
10ea7d13fd Refactor room key binding code a bit 2022-08-21 02:42:29 +02:00
235fd9acc5 Move stability checks back into room 2022-08-21 02:38:45 +02:00
878467835e Extract auth dialog into module 2022-08-21 02:36:30 +02:00
9ad550f98c Extract nick dialog into module 2022-08-21 02:30:12 +02:00
4e0509b08e Extract nick list rendering into module 2022-08-21 02:14:29 +02:00
07fab96e12 Fix not being able to leave connected rooms 2022-08-21 01:42:03 +02:00
c661984d1c Hide password while authenticating 2022-08-21 01:41:52 +02:00
7b52add24e Add password authentication dialog 2022-08-21 01:19:07 +02:00
19d75a1d15 Add enum for room status
This way, it is far easier to understand what the different values mean
2022-08-21 00:35:17 +02:00
6c637390e4 Use popup widget builder 2022-08-20 23:17:48 +02:00
4094ba3e3d Add popup widget builder 2022-08-20 23:17:42 +02:00
df8a278854 Polish look of error popups 2022-08-20 21:22:33 +02:00
5d5f55107a Show error popups on some server errors 2022-08-20 21:22:33 +02:00
ab36df3c2b Add error popups to room UI 2022-08-20 21:05:24 +02:00
ded927b9f0 Overhaul UI event handling 2022-08-20 18:36:20 +02:00
ade06efa01 Fix pasting multi-line strings 2022-08-20 16:31:09 +02:00
fe381e1146 Make unrendered editors' behaviour a bit more sane
In practice, this doesn't really matter anyways.
2022-08-20 16:25:46 +02:00
037bed698c Make room list heading always visible 2022-08-19 23:26:49 +02:00
36b717ff8c Use euphoxide instead of euph module 2022-08-18 18:13:49 +02:00
6dc7d2bd0b Placate clippy 2022-08-17 23:06:49 +02:00
80dad00125 Fix crash when connecting to some types of room 2022-08-17 23:04:43 +02:00
19a477e423 Make cursor visible after exiting editor 2022-08-11 14:37:04 +02:00
f7e7003788 Handle paste events in editor
Only on non-windows platforms though, since crossterm doesn't support
pasting on windows.
2022-08-10 23:59:45 +02:00
5ad9f0f3e7 Include pastes in input events 2022-08-10 23:59:08 +02:00
fa91515a61 Move euph room ui to new euph module 2022-08-10 22:35:30 +02:00
f7e379fe3a Scroll with page up/down 2022-08-10 03:14:26 +02:00
5acb4c6396 Center cursor on screen 2022-08-09 15:51:47 +02:00
a4b79d4e81 Move cursor to prev/next sibling 2022-08-09 15:44:35 +02:00
c41ab742d3 Fix message count in folded info 2022-08-09 15:12:49 +02:00
87a14eedf2 Move cursor over folded subtrees 2022-08-09 15:07:37 +02:00
0ad3432141 Fold subtrees 2022-08-09 15:00:12 +02:00
26923745ad Show unseen message count in room status info 2022-08-09 01:18:20 +02:00