Manos Pitsidianakis
c44e5bb446
WIP: Implement "search all mailboxes" feature
1 year ago
Manos Pitsidianakis
660bacb926
Add `mailto` command to open composer with initial values from mailto template
1 year ago
Manos Pitsidianakis
de2f46fe61
rustfmt changes
1 year ago
Manos Pitsidianakis
40c6647db8
Fix multipart/related with main text/html part not displayed correctly
2 years ago
Manos Pitsidianakis
f63ce388f7
commands: move ManageMailboxes to Tab Actions
2 years ago
Manos Pitsidianakis
c06c3f5893
mail/listing/conversations: draw gap between list and mail view
2 years ago
Manos Pitsidianakis
abc56eae43
mail/listing: fix SEEN flag update hiding mail view momentarily
2 years ago
Manos Pitsidianakis
4f45b10974
mail/listing: fix tag updates not showing up right away
...
Closes #132
Closes #133
2 years ago
Manos Pitsidianakis
5634f95553
Rename MeliError struct to Error
2 years ago
Manos Pitsidianakis
259aeb0087
Convert {Account,Mailbox}Hash from typedef to wrapper struct
2 years ago
Manos Pitsidianakis
7382e30160
Convert EnvelopeHash from typedef to wrapper struct
2 years ago
Manos Pitsidianakis
2427b097c5
themes: make tag_default background lighter on light theme
...
Closes #164
2 years ago
Manos Pitsidianakis
252d2bdf2f
Replace hardcoded /bin/false with 'false'
...
Credits to http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/meli/patches/patch-src_conf_rs?rev=1.1.1.1&content-type=text/x-cvsweb-markup
2 years ago
Manos Pitsidianakis
4b96bd591f
mail/listing: add ColorCache constructor to deduplicate code
2 years ago
Manos Pitsidianakis
b9030a684c
listings: fix selection not appearing immediately and invalid motions
2 years ago
Manos Pitsidianakis
7af893597f
conf/shortcuts.rs: replace use of Self::DESCRIPTION with Shortcuts struct consts
2 years ago
Manos Pitsidianakis
7d9cabb023
Add mailbox manager tab
2 years ago
Manos Pitsidianakis
ee9d458b05
accounts.rs: implement mailbox {un,}sub actions
2 years ago
Manos Pitsidianakis
5ba7b2cd7b
meli: fix clippy lints for meli binary
2 years ago
Manos Pitsidianakis
104352e595
Add table UI widget
2 years ago
_
ded9adde61
More descriptive "Unimplemented" messages
2 years ago
Manos Pitsidianakis
cc439b239a
mail/listing.rs: add RowsState struct
...
Keep state of rows in lists in this struct to reduce code duplication in
list implementations
2 years ago
Manos Pitsidianakis
803d3414fd
melib/imap/managesieve: implement some rfc5804 commands
...
Try with managesieve REPL in src/managesieve.rs:
cargo run --bin managesieve-client ~/.config/meli/config.toml
"accountname"
rfc5804 <https://www.rfc-editor.org/rfc/rfc5804.html >
2 years ago
Manos Pitsidianakis
dd0baa82e9
Spawn user-given command strings with sh -c ".."
...
If given string contains arguments, Command::new(string) will fail.
Reported in #159 https://git.meli.delivery/meli/meli/issues/159
2 years ago
Manos Pitsidianakis
46a038dc68
conf.rs: remove interactive messages when #[cfg(test)]
2 years ago
Manos Pitsidianakis
16646976d7
compose: fix reply subject prefixes stripping original prefix
...
Unintelligent heuristic but should cover most cases?
Configurable subject response prefix #142
https://git.meli.delivery/meli/meli/issues/142
Closes #142
2 years ago
Manos Pitsidianakis
ffb12c6d1a
conf.rs: make all public struct fields public
2 years ago
Manos Pitsidianakis
129573e0fd
melib/maildir: rename root_path to root_mailbox
2 years ago
Manos Pitsidianakis
347be54305
melib/error: add NetworkErrorKind enum
2 years ago
Manos Pitsidianakis
7935e49a00
conf/accounts.rs: check properly if mailbox request is an error
2 years ago
Manos Pitsidianakis
c54a31f7cc
listing/offline.rs: break line for error messages
2 years ago
Manos Pitsidianakis
c3fdafde3b
Documentation touchups
2 years ago
Manos Pitsidianakis
e450ad0f9c
types.rs: remove unused struct
2 years ago
Manos Pitsidianakis
0ed10711ef
notifications: add new_mail_script option
...
Preferred over `script` option for new email notifications
2 years ago
Manos Pitsidianakis
d8d43a16fe
HtmlView: add html_open config setting
...
Add config setting in case xdg query default app for text/html mime type
doesn't yield results.
2 years ago
Manos Pitsidianakis
a7a50d3078
src/: Box<_> some large fields in biggest types
...
As reported by `cargo +nightly typesize`
2 years ago
Manos Pitsidianakis
787c64c2da
conf.rs: remove expect()s from create_config_file()
...
No reason to expect(), just return the error.
2 years ago
Manos Pitsidianakis
0df46a63ec
Show error if sqlite3 search backend is set but doesn't exist
...
Closes #114
2 years ago
Manos Pitsidianakis
94bd84b45d
Fix clippy lints for `meli` crate
2 years ago
Manos Pitsidianakis
388d4e35d6
listing/offline.rs: add in-progress messages while connecting in IMAP
2 years ago
Manos Pitsidianakis
9cbbf71e0f
melib/email/attachments: Add DecodeOptions struct for decoding
2 years ago
Manos Pitsidianakis
8c7b001aa5
listing/conversations.rs: add `thread_subject_pack` command to pack different inner thread subjects in entry title
2 years ago
Manos Pitsidianakis
9dc4d4055c
listing: add focus_{left,right} shortcuts to switch focus
...
This allows you to make the mail entry column occupy the whole screen if
you press focus_right (Right key) twice.
2 years ago
Manos Pitsidianakis
7c7115427d
docs/meli.7: complete guide document
2 years ago
Manos Pitsidianakis
f76f4ea3f7
docs: add meli.7, a general tutorial document
...
This commit also changes some shortcut names.
2 years ago
Manos Pitsidianakis
cbe593cf31
mail/compose: add configurable header preample suffix and prefix for editing
...
This commit adds a new configuration value for the composing section of
settings. Quoting the documentation:
wrap_header_preamble: Option<(String, String)>
optional
Wrap header preample when editing a draft in an editor. This allows you
to write non-plain text email without the preamble creating syntax
errors. They are stripped when you return from the editor. The values
should be a two element array of strings, a prefix and suffix. This can
be useful when for example you're writing Markdown; you can set the
value to ["<!--",\ "-->"] which wraps the headers in an HTML comment.
2 years ago
Manos Pitsidianakis
eb5949dc9b
melib/error.rs: switch summary<->details identifiers
...
They are more intuitive like this.
2 years ago
Manos Pitsidianakis
aa99b0d787
compose: implement configurable subject prefix stripping when replying
...
Introduce functionality to strip email subject from a set list of
prefixes or from a user set list.
Also, added a setting for the reply prefix (default is "Re:").
Closes #142
2 years ago
Manos Pitsidianakis
a73885acb1
Improve embed terminal
...
- Add character attribute support
- Add cursor key mode support
- Fix buggy set fg / bg sequences
And added a bin under tools to test arbitrary apps using the embedded
terminal:
cargo run -p tools --bin embed -- "htop" 2> .htop.debug.log
2 years ago
Manos Pitsidianakis
a42a6ca868
notifications.rs: show notifications in terminal if no alternative
...
If no alternative (dbus or notification command) show notifications
inside the terminal.
2 years ago