Dialog widgets require their parent components to handle their
ComponentUnrealize events, otherwise they'd not be removed if user
selects 'Cancel'.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Databases described by `DatabaseDescription` are created in XDG Data
directories by default. Add an optional explicit directory field so that
tests and other API consumers can override that location.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Use File::options()..create_new() to avoid overwriting files when saving
attachments or exporting stuff.
File::create_new was added in 1.77 which is after our current MSRV, so
use OpenOptions instead.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Add support for searching by Message-ID, In-Reply-To, References, or any
header with the following keywords:
- "message-id:term", "msg-id:term"
- "in-reply-to:term"
- "references:term"
- "header:title,value"
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Print clickable path links when printings paths via subcommands like
print-log-path.
Part of #445 ("Add OSC8 terminal hyperlink support")
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
This release solves a clippy lint warning for code that will get
introduced in the next commit.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Add an ErrorChainDisplay struct that borrows an error and prints the
list of chained errors one by one, showing relationships and metadata
for each error.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Crate regex is used by default in builds, so there's no need for an
optional libpcre2 dependency
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
NOTMUCH_ERROR_DETAILS was defined twice for macos from "unix"
target_family and target_os = "macos".
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
When 401 is returned by an HTTP server, the WWW-Authenticate header must
be present. The values represent the supported Authentication schemes of
the server.
This commit detects them and reports the appropriate error to the user.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
When resyncing with resync_basic and resync_condstore, we would update
the unseen and exists counts for the mailbox without inspecting if the
mailbox was loaded or not. Since a previous commit reset total not yet
seen to 0 when inserting new entries to mail totals, this would lead in
unloaded mailboxes go from having their original unseen counts to having
only the new envelopes in the total.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
This was a bad UX artifact from the very first meli versions. There's no
need to keep it around.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>