Manos Pitsidianakis
660bacb926
Add `mailto` command to open composer with initial values from mailto template
2022-12-30 17:02:10 +02:00
Manos Pitsidianakis
de2f46fe61
rustfmt changes
2022-12-27 18:40:26 +02:00
Manos Pitsidianakis
40c6647db8
Fix multipart/related with main text/html part not displayed correctly
2022-12-09 14:06:20 +02:00
Manos Pitsidianakis
f63ce388f7
commands: move ManageMailboxes to Tab Actions
2022-12-09 12:58:56 +02:00
Manos Pitsidianakis
c06c3f5893
mail/listing/conversations: draw gap between list and mail view
2022-12-09 12:50:17 +02:00
Manos Pitsidianakis
abc56eae43
mail/listing: fix SEEN flag update hiding mail view momentarily
2022-12-09 12:49:46 +02:00
Manos Pitsidianakis
4f45b10974
mail/listing: fix tag updates not showing up right away
...
Closes #132
Closes #133
2022-12-09 12:30:51 +02:00
Manos Pitsidianakis
5634f95553
Rename MeliError struct to Error
2022-12-08 22:20:05 +02:00
Manos Pitsidianakis
259aeb0087
Convert {Account,Mailbox}Hash from typedef to wrapper struct
2022-12-08 22:10:58 +02:00
Manos Pitsidianakis
4b96bd591f
mail/listing: add ColorCache constructor to deduplicate code
2022-12-04 14:16:36 +02:00
Manos Pitsidianakis
b9030a684c
listings: fix selection not appearing immediately and invalid motions
2022-12-01 21:20:20 +02:00
Manos Pitsidianakis
7af893597f
conf/shortcuts.rs: replace use of Self::DESCRIPTION with Shortcuts struct consts
2022-11-28 16:18:49 +02:00
Manos Pitsidianakis
7d9cabb023
Add mailbox manager tab
2022-11-28 15:44:12 +02:00
Manos Pitsidianakis
ee9d458b05
accounts.rs: implement mailbox {un,}sub actions
2022-11-28 15:30:19 +02:00
Manos Pitsidianakis
5ba7b2cd7b
meli: fix clippy lints for meli binary
2022-11-24 19:58:23 +02:00
Manos Pitsidianakis
104352e595
Add table UI widget
2022-11-24 19:58:06 +02:00
_
ded9adde61
More descriptive "Unimplemented" messages
2022-11-13 19:04:29 +02:00
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
2022-11-07 20:36:59 +02:00
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
2022-10-17 17:40:25 +03:00
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
2022-10-09 18:31:01 +03:00
Manos Pitsidianakis
c54a31f7cc
listing/offline.rs: break line for error messages
2022-10-04 15:41:40 +03:00
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.
2022-09-19 21:40:12 +03:00
Manos Pitsidianakis
a7a50d3078
src/: Box<_> some large fields in biggest types
...
As reported by `cargo +nightly typesize`
2022-09-19 15:18:25 +03:00
Manos Pitsidianakis
94bd84b45d
Fix clippy lints for `meli` crate
2022-09-11 15:19:40 +03:00
Manos Pitsidianakis
388d4e35d6
listing/offline.rs: add in-progress messages while connecting in IMAP
2022-09-11 15:00:30 +03:00
Manos Pitsidianakis
9cbbf71e0f
melib/email/attachments: Add DecodeOptions struct for decoding
2022-09-11 01:22:06 +03:00
Manos Pitsidianakis
8c7b001aa5
listing/conversations.rs: add `thread_subject_pack` command to pack different inner thread subjects in entry title
2022-09-09 02:03:13 +03:00
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.
2022-09-07 16:39:15 +03:00
Manos Pitsidianakis
f76f4ea3f7
docs: add meli.7, a general tutorial document
...
This commit also changes some shortcut names.
2022-09-05 16:25:59 +03:00
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.
2022-09-02 16:09:45 +03:00
Manos Pitsidianakis
eb5949dc9b
melib/error.rs: switch summary<->details identifiers
...
They are more intuitive like this.
2022-09-02 12:12:12 +03:00
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
2022-09-01 22:32:33 +03:00
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
2022-09-01 22:24:01 +03:00
Manos Pitsidianakis
bde87af387
Refactor filter() method in Listing trait
2022-08-28 17:29:30 +03:00
Manos Pitsidianakis
f4e0970d46
mail/compose.rs: add ability to kill embed process
...
If embed editor process is unresponsive, there was no way to kill it.
Add force kill option by pressing Ctrl+C.
2022-08-27 15:02:15 +03:00
Manos Pitsidianakis
9cb66ef818
Fix all clippy warnings in `meli` crate
2022-08-25 16:38:02 +03:00
Guillaume Ranquet
d921b3c320
compact.rs: use mail sorting parameters from config
...
Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
2022-08-25 12:52:39 +03:00
Manos Pitsidianakis
824f614a69
mail/view: Fix HtmlView not being redrawn when parent is dirty
2022-08-22 23:12:48 +03:00
Manos Pitsidianakis
ed3dbc8586
listing/conversations: fix crashes when listing is empty
2022-08-22 23:11:43 +03:00
Manos Pitsidianakis
b716e4383e
Add collapse option for mailboxes in sidebar menu
...
Closes #130
Feature request: collapsible folders with total counter #130 https://git.meli.delivery/meli/meli/issues/130
2022-08-18 18:05:48 +03:00
Manos Pitsidianakis
e6d6e1f588
compose: don't unwrap if pseudoterminal creation fails
...
Show error notification instead.
2022-06-04 17:46:22 +03:00
Manos Pitsidianakis
4fdc90b31e
Use `open` instead of `xdg-open` in macos
...
TODO: make this configurable instead.
2022-06-04 17:19:06 +03:00
Manos Pitsidianakis
8563bccd1b
listing/conversations: don't cache CellBuffer, only row info
...
Caching a CellBuffer (a terminal grid view) takes too much RAM on big
mailboxes. Store just the information needed to write each row entry
when needed to draw a page instead.
2022-06-04 17:17:42 +03:00
Manos Pitsidianakis
2c23ca34cd
Update most Cargo dependencies
2022-05-02 17:03:56 +03:00
Manos Pitsidianakis
2eb22a290a
Stop hardcoding certain component colors
...
`Color::Byte` references were before themes were introduced in the code
base. Their presence is a bug and they should all be replaced by theme
values.
Closes #124
Stop hardcoding certain component colors #124
https://git.meli.delivery/meli/meli/issues/124
2022-03-22 21:00:21 +02:00
Manos Pitsidianakis
81184b182c
Add extra_identities configuration flag
...
Closes #119
Multi identies per account #119 https://git.meli.delivery/meli/meli/issues/119
2022-03-21 20:53:37 +02:00
Manos Pitsidianakis
d0de04854e
listing.rs: add {in,de}crease_sidebar shortcuts
...
`increase_sidebar`: Increase sidebar width.
Default value Ctrl-p
`decrease_sidebar`: Decrease sidebar width.
Default value Ctrl-o
2022-02-25 16:40:27 +02:00
Manos Pitsidianakis
340d6451a3
listing.rs: add config setting for sidebar ratio
2022-02-25 16:20:08 +02:00
Manos Pitsidianakis
505adca54d
Add forward mail option
...
Forward email with shortcut 'forward' (default ctrl+f)
This opens a composing tab letting you to select receiver etc.
"composing" config setting "forward_as_attachment" selects the
forwarding behavior:
- "ask" asks you ever time
- true always forwards by attaching the entire email as a single
attachment
- false always forwards by inlining the email, like most email clients
do.
Closes #120
2021-10-02 13:38:50 +03:00
Manos Pitsidianakis
20feb50475
view/thread: open the latest email in the thread by default
2021-09-18 11:36:17 +03:00