Manos Pitsidianakis
059d86de93
map: restart connection on failure in read_lines
5 years ago
Manos Pitsidianakis
bfc36f63de
imap: add byte cache for Envelopes in IMAP backend
5 years ago
Manos Pitsidianakis
2eb41f3d3d
ui: dedup history suggestions in command execute bar
5 years ago
Manos Pitsidianakis
3ae2d03663
ui: add triptych thread mailing view
...
This mail list view shows one entry per thread just like CompactListing,
but the entry is slightly bigger just like in some GUIs, and when the
thread is opened the view becomes 3 columned:
+--+-------+----+
|~~|-------|~~~ |
|~~|-------|~~ |
| |-------| |
| |-------|~~~ |
+--+-------+----+
This is meant to be used with bigger terminal sizes
5 years ago
Manos Pitsidianakis
e3cd2d4c67
ui: save execute cmd history to XDG_DATA_DIR
5 years ago
Manos Pitsidianakis
f61a43108c
ui: show worker and static threads in account tab
5 years ago
Manos Pitsidianakis
f394fde143
add priority and info to jobs and workers
...
jobs now have a priority given to them, in order to parse some mailboxes
(eg INBOX, Sent) first.
worker threads now can set their names and status
5 years ago
Manos Pitsidianakis
fd38dbed48
override configuration with per-folder configs
5 years ago
Manos Pitsidianakis
81a55abc7c
Update crossbeam to 0.7.2 and remove chan
5 years ago
Manos Pitsidianakis
ecb3fd7f3d
Add dyn keyword to Trait objects
...
And fix some unused var warnings as well
5 years ago
Manos Pitsidianakis
d1d11356db
imap: get() ENVELOPE instead of RFC822.HEADER; it's faster
5 years ago
Manos Pitsidianakis
335a1011de
imap: add watch
5 years ago
Manos Pitsidianakis
c3e3c98fb0
melib: filter subscribed folders in MailBackend::new()
5 years ago
Manos Pitsidianakis
64dc44f18f
imap: replace unwraps with checks
5 years ago
Manos Pitsidianakis
525bd16493
imap: add folder operations in backend
5 years ago
Manos Pitsidianakis
c9f7b41e47
imap: continuous payload delivery in async workers
5 years ago
Manos Pitsidianakis
c561814cd6
imap: add `danger_accept_invalid_certs` option
5 years ago
Manos Pitsidianakis
c2c5f2db69
melib: add Failure to RefreshEventKind
5 years ago
Manos Pitsidianakis
0812242f60
Add IMAP backend
...
TODOs: new message events (untagged responses)
5 years ago
Manos Pitsidianakis
3f7d962abd
melib: remove ThreadTree, use ThreadNodes for root_set
...
Remove ThreadTree index in Threads {} struct. Keep a Vec<ThreadHash> for
root_set state of mailbox instead of rebuilding ThreadTrees every
time.
5 years ago
Manos Pitsidianakis
dc2184a9de
melib: add Folder operations in mail backends
...
Add following operations in mail backend:
- Create,
- Delete,
- Subscribe,
- Unsubscribe,
- Rename
5 years ago
Manos Pitsidianakis
8b0dff728d
ui: don't show new mail notifications in ignored folders
5 years ago
Manos Pitsidianakis
a866e060a1
ui: open MessageRfc822 attachments in new tab
5 years ago
Manos Pitsidianakis
f72fb069fa
ui: add paste input in StatusBar
5 years ago
Manos Pitsidianakis
1328f994f3
Make config objects Serializable with serde
5 years ago
Manos Pitsidianakis
02b0f69e14
Replace config crate with toml
...
config crate was not really needed
5 years ago
Manos Pitsidianakis
b474b44b10
Add special use semantics for mailboxes
5 years ago
Manos Pitsidianakis
76909a1959
add folder subscriptions
5 years ago
Manos Pitsidianakis
b39b285711
ui: fix flag colors in re-highlight in CompactListing
5 years ago
Manos Pitsidianakis
734bc109b0
ui: refactor menu
5 years ago
Manos Pitsidianakis
1845b046fa
ui: add attribute support
...
bold/italic etc
5 years ago
Manos Pitsidianakis
2610e9c055
ui: don't check terminal size in ThreadView
5 years ago
Manos Pitsidianakis
c0dcd7254a
ui: bound check in draw_horz in ThreadView
5 years ago
Manos Pitsidianakis
e5f8714162
ui: make wide chars occupy more than one cell
...
If setting a wide char to a Cell, mark the next one as empty in order to
skip printing it.
This prevents the following misalignment:
| subject
|📎 Fwd: RE:
| second subject
5 years ago
Manos Pitsidianakis
af573b57f1
ui: add nonavailable folder checks
5 years ago
Manos Pitsidianakis
84a042411d
melib: remove unnecessary unsafe impls
5 years ago
Manos Pitsidianakis
89b1e381dc
melib: recreate removed email if it comes back
...
If an email is removed by an outside actor, it is marked as removed.
Renaming files first send a Remove event and then a Rename one. So if a
removed email turns out to have been renamed by someone else, issue a
Create event to get it back.
5 years ago
Manos Pitsidianakis
16a5d9b28a
ui, ThreadView: update seen flag in ThreadEntries
...
Update seen flag when receiving EnvelopeRename events.
5 years ago
Manos Pitsidianakis
84950ad740
ui, CompactListing: Don't accept listing actions if unfocused
5 years ago
Manos Pitsidianakis
fed13816dd
Bump version to all workspace crates
5 years ago
Manos Pitsidianakis
22f11445e2
Print error and exit if Maildir path config is wrong
5 years ago
Manos Pitsidianakis
bc7da4610e
Send MailboxUpdate events when threads are updated
...
Depending on the insertion order of folders which is non-deterministic
because it relies on the kernel's scheduling of parsing threads, the
listing the user sees might not be up-to-date because later thread
updates are never broadcast. This results in inconsistencies between
threads and mail listings when a thread's root envelope was part of a
not broadcast update leading to `key not found` panics in a listing's
hashmaps.
5 years ago
Manos Pitsidianakis
3aec1f6dec
Bump version to 0.2.0
5 years ago
Manos Pitsidianakis
714f8255fc
ui: fix pageup/dn behaviour
5 years ago
Matthias Beyer
678921d2b7
Remove unused imports
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer
79becdcc42
Fix: This comment is not a proper rustdoc comment and probably should not be one anyways
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer
6e716946b7
Reformat to be a proper rust comment
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer
fb36dc58c8
Remove unused variable
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer
abcd68e789
Make function pub
...
As this file was written (according to the top-level comment) for this
function, it should be pub.
This fixes an "unused function" warning.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago
Matthias Beyer
fecb66e877
Print to stderr when printing error
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
5 years ago