`mail_view_divider` was only drawn in the path where the sidebar was
visible.
Concerns #483
Fixes: 719e2eb271 ("listing: add customizable view divider like sidebar's")
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Svg feature was meant for taking SVG screenshots for the readme/website.
There's no real need to ship it, considering a lot of distros enable all
features by default.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Add shortcut to export contact under cursor in the contact list as a
.vcf file (default: `E`).
Also add an export button in the contact editor form.
Closes#424
Resolves: <https://git.meli-email.org/meli/meli/issues/424>
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Add send_to_trash shortcut (default value: `D`) to send an entry or
selected entries to the Trash folder.
Closes#389
Resolves: <https://git.meli-email.org/meli/meli/issues/389>
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Draft files that are created in temp directories to be opened and edited
by the user's editor get UUID filenames with the `.eml` extension. Give
them filenames with the draft subject, recipient and date to make it
easier to discern a file's identity on the filesystem.
Closes#466
Resolves: <https://git.meli-email.org/meli/meli/issues/466>
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Add optional rename_regex configuration option to allow stripping
patterns from pathnames when renaming them. This is useful when other
programs depend on specific substrings being unique like mbsync which
erroneously assumes UIDs are unique instead of UID+UIDVALIDITY+mailbox
name like the IMAP standard specifies.
Closes#463
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
If a mailbox status is an error and it is recoverable (e.g. a connection
time-out) allow retrying.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Add debian copyright file for historical manpages. Copyright was
mentioned in the manpage comments, but wasn't otherwise visible.
While at it, make files ending up at .gz actually gzip'ed.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
highlight_self flag was not shown if row had the maximum amount of
visible flags in the current page, because the width of the highlight_self
flag was not taken into account for the maximum column width.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
GROUP was sent before ARTICLE every time even if the group was already
selected. Use Connection's `select_group` method that makes sure the
group is not re-selected needlessly.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Populating the message sequence number runtime store is not performed in
order, so inserting UIDs in a vec can fail when we want to insert a
number higher than the current maximum. This could lead to panics when
inserting to a vec at an index above its length.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Some tests needs a standalone environment because they mess with
variables that other tests need too. sealed_test runs the tests in a
forked process so that there are no issues with that.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Home/End count as page/scroll movements, but they'd not clear the
modifier buffer since they weren't using it.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>