Commit graph

688 commits

Author SHA1 Message Date
c16ad024ed Extract list key bindings to util
Also refactors the Rooms event handling code a bit
2022-09-25 22:34:41 +02:00
30276fcbbf Display nick list cursor 2022-09-25 22:22:01 +02:00
75e3a08b58 Display chat cursor only when chat has focus 2022-09-25 22:22:01 +02:00
9c9d9a51bb Switch focus using tab
Also refactored some key event handling code in the process.
2022-09-25 22:22:01 +02:00
8703a62887 Track focus in room 2022-09-25 20:03:03 +02:00
147c3eaf92 Clean up use of Size 2022-09-25 20:02:38 +02:00
d5c0c94883 Remove and add todos 2022-09-25 20:02:36 +02:00
4dde87d805 Fix list cursor when item moves off-screen
When a list scrolls or changes in such a way that the cursor item moves
off-screen, the cursor would jump to the closest visible item.

It makes more sense for the cursor to remain on its selected item and
for the list to scroll instead. That way, it is less likely for the user
to perform an action on the wrong list item if they press a key while
the list is changing.
2022-09-25 19:35:58 +02:00
9aac9f6fdd Add error popup when external editor fails 2022-09-25 18:57:59 +02:00
4c7ac31699 Fix inspect message only working when connected 2022-09-16 00:47:20 +02:00
e7041da098 Fix typo 2022-09-10 15:38:34 +02:00
bc54184b13 Simplify function call 2022-09-10 01:03:02 +02:00
8eaec4426b Log encountered errors on shutdown 2022-09-09 22:25:09 +02:00
c07941b374 Log sql errors in vault 2022-09-09 22:04:23 +02:00
37df869695 Simplify code 2022-09-09 21:59:24 +02:00
cb1fdb41b8 Rename tree_id to root_id 2022-09-09 21:55:14 +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
d7e19b5eca Add message inspection popup 2022-09-09 00:02:02 +02:00
d92c7cb98e Add room deletion confirmation popup 2022-09-08 22:57:04 +02:00
f49481cb10 Fix cursor disappearing in editor 2022-09-08 22:05:46 +02:00
9876dd67a7 Fix cursor being visible through popups 2022-09-08 18:16:29 +02:00
fff774dd16 Bump version to 0.4.0 2022-09-01 21:37:03 +02:00
7d598df28a Update dependencies 2022-09-01 21:37:03 +02:00
f305f688a2 Mention --config in changelog 2022-09-01 21:37:03 +02:00
86c128b92d Document config file format and options 2022-09-01 21:11:53 +02:00
067389efa2 Move "Using cove" section to the top
It is fairly important and easily missed if it is placed after the long
"Manual install" section. If I ever add easier ways to install cove
(like providing prebuilt binaries or packaging it on some package
managers), I might change this order again and refer to the "Using cove"
section in the top paragraph instead.
2022-09-01 21:09:25 +02:00
19febc188e Remove unnecessary mut-s 2022-08-30 17:32:57 +02:00
21245a8274 Use absolute paths in key! macro 2022-08-30 17:25:50 +02:00
5eeabea2de Add todos 2022-08-30 17:17:11 +02:00
03ddc5eb9b Add rooms keybindings around autojoin rooms 2022-08-30 15:09:06 +02:00
a091855ea3 Fix links key binding masking editor key bindings 2022-08-30 03:05:37 +02:00
9c3f846d8a Update changelog 2022-08-30 02:37:35 +02:00
37b04c7eba Open links via number shortcuts 2022-08-30 02:32:29 +02:00
7932c2f20b Show message when no links were found 2022-08-30 02:32:08 +02:00
8846234d8d Extract links from message 2022-08-30 02:31:45 +02:00
JRF
a1043eafd3 Add key bindings to select and open links 2022-08-29 19:00:42 -05:00
c09608d1f8 Open link popup via key binding 2022-08-30 00:30:08 +02:00
bb542ae08e Retrieve individual messages from store 2022-08-29 22:57:02 +02:00
JRF
7e086258b6 Add key bindings to move to parent/root message 2022-08-29 00:38:31 +02:00
827a854101 Add --offline cli flag 2022-08-27 17:05:40 +02:00
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
8c1b207ac1 Fix --data-dir being incorrectly resolved 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