Commit Graph

88 Commits (77dc1d74bf6fa65048d425997d295909ea269d10)

Author SHA1 Message Date
Manos Pitsidianakis b7175c2400
Fix compiler error in --no-default-features build 5 years ago
Manos Pitsidianakis 651dda67cf
Respect autoload mailbox setting 5 years ago
Manos Pitsidianakis a3600c0cd2
Add `filter` option in mail list
Filter mail in mail list.

Example:
[listing]
filter = "not flags:seen" # show only unseen messages
5 years ago
Manos Pitsidianakis 9d20fd5576
Save forked processes for reaping 5 years ago
Manos Pitsidianakis 6c76db2063
Add delete, copy actions for envelopes 5 years ago
Manos Pitsidianakis 2a9059f9b4
Add add-attachment from pipe, default_header_values 5 years ago
Manos Pitsidianakis f10cc954e7
Don't dump mail on Account drop 5 years ago
Manos Pitsidianakis a94bb1e27a
Show float notification on refresh cmd 5 years ago
Manos Pitsidianakis ca51077f53
imap: Add support for untagged FETCH (FLAG.. messages
IDLE connection can get untagged "* FETCH (FLAGS ({flag_list))" messages
if any client has changed flags. Support this refresh event.
5 years ago
Manos Pitsidianakis 4ac52d9d5b
Replace every use of Folder with Mailbox
Use Mailbox for consistency.
5 years ago
Manos Pitsidianakis 1245eae0be
Add Knuth–Morris–Pratt to pager 5 years ago
Manos Pitsidianakis 68007a0842
View decoded email source by default
Toggle between decoded/raw source with view_raw_source shortcut, default
M-r
5 years ago
Manos Pitsidianakis f38d03e43a
melib: {create,delete}_folder returns updated folders
Potential parent folders will have their children fields updated, so
just return all folders.
5 years ago
Manos Pitsidianakis d779a94279
Fix sent_folder not getting recorded if no explicit folder conf is set 5 years ago
Manos Pitsidianakis b6efb14824
melib: remove Mailbox
Refactor Collection from melib to hold what folders have what envelopes.

Frontend accounts will now have a FolderEntry for each logical folder
and will unify many Account fields into one and eliminate a lot of
duplicate/dead code.
5 years ago
Manos Pitsidianakis b50e770b5a
ui/accounts: remove Index<usize> impls 5 years ago
Manos Pitsidianakis 14b0ef8f37
Respect use_color conf value as well as NO_COLOR 5 years ago
Manos Pitsidianakis c22a141b14
ui/themes: expand theme coverage to status panel and contacts 5 years ago
Manos Pitsidianakis 647cb10b33
ui: Use FolderHash instead of usize for folder cursor
Use FolderHash directly as a cursor type for folders within an account
isntead of having a usize (being the order of the folder within the
account) and figuring out the folder_hash everytime it's needed.

Add OfflineListing for offline accounts and AccountStatusChange event.
5 years ago
Manos Pitsidianakis 42747ef590
ui/themes: make theme_default the default for other keys 5 years ago
Manos Pitsidianakis 0b4109dfdb
ui: fix wrong subscription status in folders
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.
5 years ago
Manos Pitsidianakis f208948651
melib: add mailbox delete/create to IMAP 5 years ago
Manos Pitsidianakis d6f04c9ed3
Fix IntoIterator warning 5 years ago
Manos Pitsidianakis 05b91f1c02
Remove text_processing
Unwrap text_processing into melib

In preparation for uploading meli as a separate crate on crates.io.
5 years ago
Manos Pitsidianakis 8b6ea8de9a
Remove ui crate
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.
5 years ago
Manos Pitsidianakis 8c98d3a5a0
Move ui and melib to different crates
closes #9
5 years ago
Manos Pitsidianakis e95cc4c1e9
Add threaded view, notifications, pager filter 5 years ago
Manos Pitsidianakis df5c617b2d
Move mailbox management to MailListing to avoid copying 5 years ago
Manos Pitsidianakis 11aac5ec34
Fix pager content drawing 5 years ago
Manos Pitsidianakis d089eb49dc
Add scrolling, only redraw dirty areas 5 years ago
Manos Pitsidianakis 8c7a0ae540
Index scrolling, dummy backends, and some pager settings 5 years ago
Manos Pitsidianakis b11eb1e494
Add sidebar menu 5 years ago
Manos Pitsidianakis c141496038
Add some doc 5 years ago
Manos Pitsidianakis c5dbf4e9ae
Move all backends to Backends structure 5 years ago
Manos Pitsidianakis fb745be27f
rustfmt
Signed-off-by: Manos Pitsidianakis <el13635@mail.ntua.gr>
5 years ago
Manos Pitsidianakis 4119a4285d
add accounts and BackendOps
Signed-off-by: Manos Pitsidianakis <el13635@mail.ntua.gr>
5 years ago
Manos Pitsidianakis 04ff21a55f
various fixes
- Clippy fixes
- Rewrite header value parser
- Rewrite string allocations in header encodings
- Thread mail parsing for maildir.rs
- Split crate to lib and bin
5 years ago
Manos Pitsidianakis 9946fbcbe0
threads 5 years ago