7733b1a2c8
Update crossterm
2022-08-10 23:16:12 +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
7857fcf2d8
Update changelog
2022-08-10 03:11:03 +02:00
186ca5ea5a
Add json export
2022-08-10 03:08:06 +02:00
ed181a6518
Restructure export code and arg handling
2022-08-10 01:58:25 +02:00
44fce04a87
Include version in clap output
2022-08-10 00:33:45 +02:00
c6f879c2a5
Flush BufWriter before exiting
2022-08-10 00:30:34 +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
d65183e0ae
Update changelog
2022-08-09 15:14:02 +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
f17d4459d1
Remove unnecessary trigger
2022-08-09 01:09:27 +02:00
8a28ba7b6e
Move euph_trees logic into sqlite triggers
2022-08-09 01:09:20 +02:00
84d0bc2bca
Follow sqlite advice for temp triggers
2022-08-09 00:54:07 +02:00
fa7d904932
Fix formatting
2022-08-09 00:50:21 +02:00
9314e29b0e
Fix unseen message count not appearing initially
...
When launching cove, the euph_rooms hash map would be empty until
interacting with a room for the first time. This led to the unseen
message count only being displayed after interacting with a room. Now,
missing rooms are inserted into euph_rooms during stabilization.
2022-08-09 00:50:07 +02:00
453233be9c
Cache unseen message count
2022-08-09 00:41:17 +02:00
888870b779
Show unseen message count in room list
2022-08-08 23:14:58 +02:00
e00ce4ebba
Warn about possible vault corruption
2022-08-08 21:31:12 +02:00
db7abaf000
Update changelog
2022-08-08 21:31:12 +02:00
9e99c0706a
Improve mark-older-as-unseen performance
2022-08-08 21:31:12 +02:00
0490ce394d
Improve unseen cursor movement performance
...
It's only really noticeable when pressing H at the first unseen message
2022-08-08 21:31:12 +02:00
bfc221106d
Move to prev/next unseen message
2022-08-08 21:31:12 +02:00
05ce069121
Fix reinserting existing messages overwriting seen
2022-08-08 21:31:12 +02:00
973a621a13
Fix type conversion error when cursor is at bottom
2022-08-08 21:31:12 +02:00
cee91695e0
Mark older messages as seen instead
2022-08-08 21:31:12 +02:00
573f231466
Mark all messages as seen
2022-08-08 21:31:12 +02:00
43247e2a5c
Mark all visible messages as seen
2022-08-08 21:31:12 +02:00
de569211f6
Display seen status of messages
2022-08-08 21:31:12 +02:00
6166c5e366
Toggle messages' seen status
2022-08-08 21:31:09 +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
fdb8fc7bd0
Add 'seen' flag to euph msgs in vault
2022-08-08 15:14:50 +02:00
00f376c11b
Add checklist for bumping version number
2022-08-07 01:03:48 +02:00
f430b0efc7
Fix db inconsistencies when deleting a room
...
Since the euph_trees table can't have any foreign key constraints
pointing to the euph_rooms table, deleting a room wouldn't delete that
room's trees in euph_trees. Upon reconnecting to the room, those trees
would then be displayed as placeholder messages without children.
2022-08-07 00:55:54 +02:00
a2b9f57a09
Fix room and nick dialog padding
2022-08-07 00:55:54 +02:00
d114857abd
Update changelog
2022-08-07 00:55:54 +02:00
de095e74ae
Change binding for external editor
...
In order to avoid collisions with ctrl+e, we need a new binding. In
bash/readline, ctrl+x is used as a sort of leader key to initiate
multi-key bindings. I don't think I'll implement multi-key combinations
any time soon, so now ctrl+x stands for 'edit in eXternal editor'.
2022-08-07 00:30:36 +02:00
9ebe2361a9
Move cursor one word left/right
2022-08-07 00:25:53 +02:00
51d03c6fe2
Fix moving to end of last line
2022-08-07 00:01:27 +02:00
4bf6d80988
Move to start/end of editor line
2022-08-06 23:54:53 +02:00
ba35a606a8
Increase F1 key binding column width
2022-08-06 23:54:43 +02:00
0d3131facd
Add more readline-like key bindings
2022-08-06 23:54:22 +02:00
bfbdec4396
Move editor key handling to one place
2022-08-06 23:39:56 +02:00
f48a4a6416
Remove trailing newline of externally edited text
2022-08-06 23:39:56 +02:00
c4d3f5ba4d
Move cursor in message editor vertically
2022-08-06 23:39:56 +02:00