Alexander Krotov
1de535363d
Move parse_message_id from wrapmime.rs to imap/mod.rs
2019-12-15 19:13:49 +03:00
Alexander Krotov
3f49492ccf
cargo fmt
2019-12-14 22:28:15 +01:00
Alexander Krotov
ad700b45d0
Make Imap.connect() async
2019-12-14 22:25:33 +01:00
Alexander Krotov
b33fec6236
Enable clippy::block_in_if_condition_stmt error
2019-12-14 15:20:58 +00:00
holger krekel
f242b40d0a
nicer print of imap capabilities
2019-12-09 18:36:26 +01:00
holger krekel
5f916f5a9c
- create and use a ContactIds type as an ordered set instead of "Vec<u32>".
...
- recreate the group list more carefully, fixes #985
- resultify a few functions in the dc_receive pipeline
- don't quote displaynames in email-addresses, use utf8, preliminrarily addresses #976
2019-12-09 16:29:24 +01:00
Alexander Krotov
cd951ad396
Improve IMAP idle timeout error handling
...
Return proper cause and avoid matching on nested Result
2019-12-08 20:50:27 +01:00
holger krekel
33793d878b
address @link2xt comment on done/async
2019-12-08 01:13:00 +01:00
holger krekel
357955015d
[wip] initial detection of idle done() not working
2019-12-08 01:13:00 +01:00
Alexander Krotov
7fa94c33bf
cargo fmt
2019-12-06 10:35:02 +01:00
Alexander Krotov
30dd20dc7b
Make Imap.fetch() async
2019-12-06 10:35:02 +01:00
Alexander Krotov
351383dfa4
Split IMAP idle functions into imap::idle submodule
...
Also introduce Imap.can_idle() to avoid having to match on IdleAbilityMissing error
2019-12-06 08:59:22 +01:00
holger krekel
174bc017ad
make setup_handle_if_needed async, call it ahead of select_folder and fetch_new_messages (renamed from fetch_from_single_folder), and be more eager triggering reconnect on error conditions
2019-12-05 21:47:32 +01:00
Alexander Krotov
069541f374
Create select_folder::Error
2019-12-04 06:13:24 +01:00
Alexander Krotov
49b9b28c99
Move select_folder to a separate submodule
2019-12-04 06:13:24 +01:00