Manos Pitsidianakis
a2f11c341d
compose: add async draft filter stack in sending mail
...
Add a stack of "filter" closures that edit a draft before sending it.
Add PGP signing filter. An encryption filter will be added in a future
commit.
4 years ago
Manos Pitsidianakis
08df7f39b2
Add toggle encrypt action in composer
...
Does nothing for now, will be used in a future commit.
4 years ago
Manos Pitsidianakis
74f31875b8
listing: fix menu gaining focus if not visible
4 years ago
Manos Pitsidianakis
23ca41e3e8
add libgpgme feature
4 years ago
Manos Pitsidianakis
b9c07bacef
melib: decode text inline message/rfc822 attachments
4 years ago
Manos Pitsidianakis
b0e50a29bd
melib/list_management: don't ignore "NO" in List-Post
4 years ago
Manos Pitsidianakis
fba69d1e5d
SearchBackend: add Auto variant as default
4 years ago
Manos Pitsidianakis
7dfa6c0639
view/thread: use reverse colors in cursor in case of NO_COLOR
4 years ago
Manos Pitsidianakis
fbf2b7dc7b
sidebar: add customizable mailbox tree
...
Concerns #72
4 years ago
Manos Pitsidianakis
83bee279e6
melib/email/compose: set attachment status
...
Set Content-Disposition: attachment to, well, attachments.
4 years ago
Manos Pitsidianakis
d862e7bf53
statustab: don't process scrolling events if account is open
4 years ago
Manos Pitsidianakis
e60eb23f4d
statustab: show active jobs
4 years ago
Manos Pitsidianakis
fadf20d7b1
NotificationType: add melib::ErrorKind
4 years ago
Manos Pitsidianakis
c9a06b9b5c
mail/view: unset self.dirty early on draw
4 years ago
Manos Pitsidianakis
51db5b6c2f
listing/conversations: redraw selection undo on Esc
4 years ago
Manos Pitsidianakis
14de776314
listing/plain: add row_attr! macro
4 years ago
Manos Pitsidianakis
20b02ffd4f
Lookup tag color/ignore settings in all three setting levels
...
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.
4 years ago
Manos Pitsidianakis
4829e13c47
melib/maildir: impl copy_messages for Maildir
4 years ago
Manos Pitsidianakis
a1585d4006
components/listing: draw rows select status at all times
4 years ago
Manos Pitsidianakis
ed27ed604c
listing: select multiple messages with a motion
...
- Press a number (movement multiplier)
- Press "select_entry" shortcut (default: v)
- Press a movement (arrow keys, PageUp/Down, Home/End)
- Resulting selection will be symmetric difference of previous selection
plus all the entries traversed with movement
4 years ago
Manos Pitsidianakis
bda5bd963a
mail/view: cache message body/text in MailView state
4 years ago
Manos Pitsidianakis
f05dd379ae
Send NewJob event on all job startups
4 years ago
Manos Pitsidianakis
be57b65dae
melib/email: add flags arg to Mail::new
4 years ago
Manos Pitsidianakis
d57dd9c98e
melib/email/address: return Option in get_display_name
4 years ago
Manos Pitsidianakis
c6c0da7fcb
melib: cleanup commit
...
Cleanup melib module exports, add some document tests, change some
documentation.
4 years ago
Manos Pitsidianakis
8f46c4ebe7
Small fixes
4 years ago
Manos Pitsidianakis
843616221e
Add logging level to Generic jobs
...
Not every job success should be shown to the user, for example updating
the sqlite3 database. So introduce a level to only show relevant
notifications.
4 years ago
Manos Pitsidianakis
14663e46b9
Remove some old TODO comments
4 years ago
Manos Pitsidianakis
fc25c7b165
Fix compiler warnings
4 years ago
Manos Pitsidianakis
53e924eb33
Add edit envelope action back as async
4 years ago
Manos Pitsidianakis
8d50e83a33
melib/email: add case-insensitive Header struct
...
- HeaderName is either 32 or less inlined bytes or heap-allocated vec for more than that.
- Equality and hashing is case-insensitive
- A HeaderMap is a hashmap from HeaderName to Strings that can be
indexed with &str, case insensitive. Insertion order is also preserved
4 years ago
Manos Pitsidianakis
3eadaba34e
Replace old pseudo-async code with blocking rust async
4 years ago
Manos Pitsidianakis
9928ee78e7
Add Reply{ToAuthor,ToAll} actions
...
- previous Reply action now lets you select recipients by default
- ReplyToAuthor selects the Envelope author as recipient
- ReplyToAll selects all addresses
4 years ago
Manos Pitsidianakis
9afbdd4887
Add insert_user_agent option in composing
...
Add option for automatically inserting a 'User-Agent' header in new
drafts.
4 years ago
Manos Pitsidianakis
8a6bf3b217
Preserve Account order from configuration file
...
Use IndexMap to preserve the order of accounts in the UI from the
account definitions.
4 years ago
Manos Pitsidianakis
fe4dae12df
listing/*: show MailboxEntry::status() when length is 0
...
Show the MailboxEntry::status() string when self.length == 0, instead of
"MAILBOX is empty".
4 years ago
Manos Pitsidianakis
750e32c8e1
mail/listing: use mailbox count() total instead of loaded total
4 years ago
Manos Pitsidianakis
890000bd0e
status page: trim extension name at 30 chars
...
NNTP has some long protocol extension names
4 years ago
Manos Pitsidianakis
ec0153e7b2
melib: add protocol extension info in MailBackendCapabilities
4 years ago
Manos Pitsidianakis
3ac2c12e7a
Small fixes
4 years ago
Manos Pitsidianakis
2db983ae1f
mail/view.rs: try restarting future if get bytes fails
4 years ago
Manos Pitsidianakis
70a4409e59
mail/listing*: various theme color fixes
4 years ago
Manos Pitsidianakis
26b327d86a
mail/listing*: clear selection after perform_action()
4 years ago
Manos Pitsidianakis
3f8aa560f0
melib/MailBackend: add MailBackendCapabilities struct
4 years ago
Manos Pitsidianakis
c2550f60b6
Rename EXECUTE mode to COMMAND
...
vim uses COMMAND, and we want to be consistent with vim when possible.
4 years ago
Manos Pitsidianakis
989cfcc877
conf/accounts.rs: use mailbox alias if available in MailboxEntry::name()
4 years ago
Manos Pitsidianakis
00acba7717
melib/MailBackend: add copy_messages,set_flags,delete_messages methods
4 years ago
Manos Pitsidianakis
f9efaea0ec
ConversationsListing: fix invalid update_line colors
4 years ago
Manos Pitsidianakis
99fbac3806
Remove unused variables/functions
4 years ago
Manos Pitsidianakis
1bd89b3c96
themes: add mail.sidebar_account_name key
4 years ago