Manos Pitsidianakis
883b3e3a4f
mail/view: show multipart/alternative files properly in attachment list
...
Show entire multipart/alternative alternatives in attachment list
instead of only the displayed one, in order for the user to be able to
switch alternatives at will.
2020-11-28 15:59:25 +02:00
Manos Pitsidianakis
98c1ece28d
Update xdg-util dependency to 0.4.0
2020-11-28 15:59:25 +02:00
Manos Pitsidianakis
54b2066f73
mail/view: set dirty after closing ContactSelector
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
879af75d88
utilities/dialogs: use align_area to create box
2020-11-25 21:19:22 +02:00
Andrew Jeffery
daee4e46de
Allow configuration of the sidebar divider
...
This adds the config option listing.sidebar_divider to set the character
used to show the divider (defaults to ' ') along with the corresponding
theme in mail.sidebar_divider which defaults to the default theme.
2020-11-25 15:54:47 +02:00
Manos Pitsidianakis
0a8a0c04c8
compose: treat inline message/rfc822 as attachments
2020-11-24 14:28:28 +02:00
Manos Pitsidianakis
b46cd09ca6
compose: pass body text when replying
...
Get rendered body text when creating a new reply Composer instead of
rendering the text in the Composer constructor.
Closes #86
2020-11-24 10:36:31 +02:00
Manos Pitsidianakis
bf56c88918
compose: respect auto_choose_multipart_alternative when rendering multipart/alternative attachments to text
2020-11-24 10:36:31 +02:00
Manos Pitsidianakis
73372ff1e7
compose: add show_comments arg to attachment_displays_to_text()
...
Toggle display of attachment comments (for example "this html attachment
was rendered with X filter...") when rendering text.
2020-11-24 10:36:21 +02:00
Manos Pitsidianakis
f69f623818
Fix some invalid area calculations
2020-11-24 02:23:07 +02:00
Manos Pitsidianakis
458209b448
view/thread: clear empty space in draw_list
2020-11-24 02:18:41 +02:00
Manos Pitsidianakis
b7c48a1ed0
view/thread: make list draw area consistent
2020-11-24 02:18:41 +02:00
Manos Pitsidianakis
31e4ed006d
listing: fix off by one error in PageDown movement
2020-11-24 02:18:31 +02:00
Manos Pitsidianakis
179ed52add
compose: grey embed area when embed is stopped
...
When stopping the embedded terminal with Ctrl-Z or SIGSTOP, show the
terminal area greyed out with a message box.
2020-11-24 02:18:21 +02:00
Manos Pitsidianakis
ebc290cc2a
compose: set format flowed if configured in pager
2020-11-24 02:18:21 +02:00
Manos Pitsidianakis
0aa5cf273f
mail/status: don't overwrite "In-progress jobs header"
2020-11-21 02:09:39 +02:00
Manos Pitsidianakis
1c62de57ae
Never return true on processing JobFinished
...
JobFinished events are not meant to be inhibited.
2020-11-15 21:30:54 +02:00
Manos Pitsidianakis
c0e3e78940
listing: dont overdraw menu over listing
2020-11-15 21:30:54 +02:00
Manos Pitsidianakis
aaee6d094c
Fix NO_COLOR cursor highlight in sidebar and progress spinner
2020-11-12 03:19:56 +02:00
Manos Pitsidianakis
60350eaa88
mail/status: add "general" shortcut section
2020-11-12 03:19:56 +02:00
Manos Pitsidianakis
aa73bd71c3
listing: fix mailbox tree rendering
...
Indentation value was being interpreted mirrored (raw binary value in
parenthesis):
0 testing_account (0)
1 ┣━Archives (0)
2 ┃ ┣━2014 (1)
3 ┃ ┃ ┗━10 (11)
4 ┃ ┗━2015 (1)
5 ┃ ┗━05 (10) <- invalid/mirrored
6 ┣━Drafts (0)
Should be:
0 testing_account (0)
1 ┣━Archives (0)
2 ┃ ┣━2014 (1)
3 ┃ ┃ ┗━10 (11)
4 ┃ ┗━2015 (1)
5 ┃ ┗━05 (10)
6 ┣━Drafts (0)
2020-11-11 17:14:34 +02:00
Manos Pitsidianakis
72084da185
Add store_sent_mail option for gmail
...
- store_sent_mail boolean
Store sent mail after successful submission.
This setting is meant to be disabled for non-standard behaviour in
gmail, which auto-saves sent mail on its own.
2020-11-09 22:22:11 +02:00
Manos Pitsidianakis
23777171f2
listing: clear_area in draw_menu
...
Completely clear area in draw_menu instead of resetting ch, fg, bg etc.
2020-11-09 19:45:09 +02:00
Manos Pitsidianakis
cbaf21764c
Remove status tab, move account status page to listing
2020-11-09 19:35:47 +02:00
Manos Pitsidianakis
da69eecafe
mail/status: make AccountStatus public
...
And fix areas passed to write_string_to_grid() to have the same y
coordinate in upper_left and bottom_right part.
2020-11-09 18:44:56 +02:00
Manos Pitsidianakis
6392904047
Replace PosixTimer with async timers
2020-10-29 13:18:36 +02:00
Manos Pitsidianakis
afa74ccfb5
compose: add From text entry autocomplete
2020-10-24 14:36:39 +03:00
Manos Pitsidianakis
594a2bd0dd
listing: add set operations to range select actions
...
Add symmetric difference (default), union, difference and intersection
modifiers for selecting ranges. That way you can quickly construct the
selection set you need.
2020-10-21 14:36:51 +03:00
Manos Pitsidianakis
05ef863a45
utilities: move PageMovement to components mod
2020-10-21 13:19:13 +03:00
Manos Pitsidianakis
9f39a7c5a1
statusbar: delete num buffer chars with Backspace
2020-10-20 15:09:00 +03:00
Manos Pitsidianakis
bb51d36579
composer: send NewJob event on submission
2020-10-16 22:30:56 +03:00
Manos Pitsidianakis
ddfec3e207
listing: fix menu draw artifact
2020-10-16 15:46:21 +03:00
Manos Pitsidianakis
a702a04043
melib/attachments: add SMIME signature variant
2020-10-16 12:47:16 +03:00
Manos Pitsidianakis
5acd7dfe1c
mail/view: prevent spurious redraw in special modes
2020-10-16 12:40:02 +03:00
Manos Pitsidianakis
3949cecb75
mail/composer: add scrollbars
2020-10-16 12:37:01 +03:00
Manos Pitsidianakis
4c1a9b2485
Fix minor warnings
2020-10-15 19:01:42 +03:00
Manos Pitsidianakis
03a1d5a985
listing: Update status on all update events
...
Envelope counter totals might remain stale in the bottom status bar.
2020-10-15 19:00:37 +03:00
Manos Pitsidianakis
e4cddbad25
mail/view: send NewJob event on new jobs
...
NewJob event wasn't sent so the message loading jobs were not accounted
in the busy spinner animation
2020-10-14 20:16:54 +03:00
Manos Pitsidianakis
0c68807814
Add export-mail command
2020-10-14 20:13:15 +03:00
Manos Pitsidianakis
310d02042f
Rename toggle_thread_snooze to "toggle thread_snooze"
...
For consistency with other toggle commands.
2020-10-14 14:58:02 +03:00
Manos Pitsidianakis
188e020bd1
Add opt-in mouse support
...
Sidebar width can be resized with mouse hold and drag.
2020-10-14 14:58:02 +03:00
Manos Pitsidianakis
6f31388b27
compose: add EditAttachments menu
2020-10-13 17:17:57 +03:00
Manos Pitsidianakis
5337a54d96
compose: move gpg mod to its own file
2020-10-13 17:06:30 +03:00
Manos Pitsidianakis
b343530f0c
widgets: add button type parameter to FormWidget
2020-10-13 17:04:40 +03:00
Manos Pitsidianakis
9ce62c735a
compose: add key selection state for gpg operations
...
Closes #81
2020-10-11 18:11:04 +03:00
Manos Pitsidianakis
39fab67523
compose: use melib::Bytes pretty print for attachment size
2020-10-11 16:53:05 +03:00
Manos Pitsidianakis
0ca7b0042e
utilities: ensure Form/Button widgets are not always non-dirty
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
406af1848f
compose: add `add-attachment-file-picker` command
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
a4b78532b7
Refactor job structs into JoinHandle
...
Put oneshot::channel<R> into JoinHandle<R>
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
0dd9e6a34b
compose: kill selectors on ComponentKill
2020-10-11 16:53:04 +03:00