Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
There are three setting levels for tag settings:
- per mailbox override ^
- per account override |
- global setting |
depth
So lookup in each of them in this order for configuration, not just the
deepest level.
|
|
|
|
|
|
Use IndexMap to preserve the order of accounts in the UI from the
account definitions.
|
|
Closes #11
|
|
|
|
Impls and type declarations were out of order
|
|
|
|
Add experimental print setting action. The command is of the form:
print account_name listing.index_style
account_name is currently ignored.
The path, e.g. listing.index_style is split by "." and fed to
DotAddressable lookup trait method. The method checks the first segment
in the path if it matches any of the struct's fields, and then calls the
field's lookup method.
|
|
|
|
|
|
Reported by: bronsen
|
|
|
|
|
|
|
|
|
|
Add subcommand to view standalone e-mail files in meli's pager without
instantiating any accounts.
|
|
|
|
|
|
|
|
Wrap HashMap<Cow<'static, str>, ThemeAttributeInner> into a struct, in
order to add more fields in the future.
|
|
|
|
|
|
Add options for log file location and maximum log level. Also add
manpage entries for these options in `meli.conf.5`
|
|
conf_override! wraps struct definitions and defines a secondary Override
struct that wraps each field in an Option. The macro mailbox_settings!
is used to select settings from an account & mailbox index. If a user defines an overriding setting, the macro returns the override instead of the immediately next in the hierarchy setting.
The selection is done for a specific field as follows:
if per-folder override is defined, return per-folder override
else if per-account override is defined, return per-account override
else return global setting field value.
|
|
If per-folder config filter is defined, it overrides the app-wide
filter.
|
|
Use Mailbox for consistency.
|
|
Expand variables and `~` in included paths in user configuration.
|
|
Subscription status was checked/modified in various places, whereas now
the universal truth is the `BackendFolder::is_subscribed()` method set
by the backend when a folder is created. The `Account` struct passes a
closure to the backend constructor that determines whether the folder is subscribed or not according to the user configuration.
- If subscribed_folders field is empty, then all folders are subscribed.
- OR check explicit folder configuration
- OR check if folder path matches to a glob in subscribed_folders.
|
|
Unwrap text_processing into melib
In preparation for uploading meli as a separate crate on crates.io.
|
|
Merge ui crate with root crate.
In preparation for uploading `meli` as a separate crate on crates.io.
Workspace crates will need to be published as well and having a separate
`ui` crate and binary perhaps doesn't make sense anymore.
|