Commit graph

179 commits

Author SHA1 Message Date
Quentin 1fb9970502
add back header fields 2023-09-21 11:27:33 +02:00
Quentin b32bb6071a
partial re-implementation of body ext
header fields is still missing
2023-08-16 18:01:22 +02:00
Quentin ec061022e0
finalize eml-codec integration 2023-07-25 19:08:48 +02:00
Quentin 17fba10d8f
replacing mail_parser by eml_codec, first iteration 2023-07-25 10:59:48 +02:00
Quentin 9d6aef34ad
clippy lint fix 2023-05-15 18:23:23 +02:00
Quentin 736dd54b50
use the raw_message() call 2023-03-09 11:30:44 +01:00
Quentin 52536b4ca4
debug 2023-02-07 12:22:54 +01:00
Quentin bb66f7cee3
bump mail_parser 2023-02-07 11:27:17 +01:00
Alex 441730e1f7
Fix open_mailbox 2022-07-21 12:50:44 +02:00
Alex 54c467d3f7
Implement COPY 2022-07-21 12:44:58 +02:00
Alex db4ffd7135
Move to mail_parser 0.5 2022-07-20 15:14:34 +02:00
Alex c321d979af
Remove broken tests 2022-07-20 13:58:24 +02:00
Alex 3e3821682c
Move back to mainline mail-parser
- this removes the bug introduced in 0fe5fe071
- but adds some bugs where the body structure is not returned properly
2022-07-20 12:27:49 +02:00
Alex 8c47687d8e
Implement Fetch BODY[HEADERS.FIELDS] and BODY[HEADER.FIELDS.NOT] 2022-07-15 18:16:06 +02:00
Alex 1f336cad2b
better name and cleanup 2022-07-15 17:55:04 +02:00
Alex 24c6607304
Some more FETCH things work 2022-07-15 16:15:48 +02:00
Alex 64a322b4cb
begin impl fetch body[xxxx] 2022-07-13 17:05:07 +02:00
Alex 3b256de3dc
Remove OK [UNSEEN x] responses to SELECT and EXAMINE, and fix STATUS UNSEEN 2022-07-13 15:39:52 +02:00
Alex 956a92377e
reformat 2022-07-13 15:26:55 +02:00
Alex c703e3e2b8
Fix list wildcards 2022-07-13 15:26:00 +02:00
Alex 15a354f949
Correctly implement UID FETCH and UID STORE 2022-07-13 15:00:13 +02:00
Alex cd59be3a00
Implement opportunistic sync based on watch value, and use it 2022-07-13 14:21:14 +02:00
Alex 33fa51021c
Small changes to .update() 2022-07-13 11:39:13 +02:00
Alex 70e0da9005
small fixes 2022-07-13 11:32:47 +02:00
Alex faca15f164
LMTP refactoring, implement EXPUNGE 2022-07-13 11:19:08 +02:00
Alex a1ca6d9def
"set flags" as a bayou op 2022-07-13 11:00:35 +02:00
Alex 7959adb8e9
implement STORE 2022-07-12 17:32:57 +02:00
Alex 23e0eff42b
Cleanup 2022-07-12 16:36:03 +02:00
Alex 46d9525984
Implement APPEND 2022-07-12 16:35:11 +02:00
Alex d4e0e66581
Fix Subscribed 2022-07-12 16:02:13 +02:00
Alex 9b7d999fd5
Implement STATUS 2022-07-12 15:59:13 +02:00
Alex fc2e25ce76
Clean up 2022-07-12 15:35:25 +02:00
Alex 5d6e4f7332
cleanup 2022-07-12 15:31:29 +02:00
Alex ad15595f0f
Implement LIST 2022-07-12 13:19:27 +02:00
Quentin 0e22a1c5d2
Push what compiles 2022-07-08 17:48:51 +02:00
Quentin e0322a7761
Add a workaround for mail-parser bug 2022-07-08 17:39:23 +02:00
Quentin 8bfe61d767
Count lines the same way as Dovecot+Cyrus 2022-07-08 16:52:33 +02:00
Quentin 9675cdb545
Use CRLF as line ending in test files 2022-07-08 10:23:07 +02:00
Quentin e10d3987e2
Correctly count lines + bytes 2022-07-07 16:30:53 +02:00
Quentin 0030a4d8b7
Add Maddy FETCH BODY and BODYSTRUCTURE 2022-07-07 16:08:48 +02:00
Quentin 82c7f5909f
Fix envelope + rfc822 message size+line number 2022-07-06 18:42:37 +02:00
Quentin cba06269ab
Add support for mime in mime 2022-07-05 18:27:49 +02:00
Quentin 2f51128467
Add support for MIME types 2022-07-05 17:48:10 +02:00
Quentin cc86653ed8
Refactor BODY parsing to generalize it 2022-07-05 17:08:12 +02:00
Quentin ee9f9e2c4d
First test based on Dovecot results 2022-07-05 15:21:14 +02:00
Quentin f97b0a10a0
Implement Content-Description 2022-07-05 10:18:08 +02:00
Quentin aca37b64c8
Populate attribute list 2022-07-04 18:14:59 +02:00
Quentin 9b4fcf58df
Fix uidindex tests + body structure for text msg 2022-07-04 12:08:11 +02:00
Quentin 7efe08a9b8
Implement IMAP fetch internaldate 2022-06-30 15:22:44 +02:00
Alex b15026ec9c
Refactor user to be shared using Arc 2022-06-30 14:03:12 +02:00
Quentin 0f0a8d415e
Implement RFC822.TEXT 2022-06-30 13:36:39 +02:00
Alex 497ad4b5ea
Split out Examined state and add prototypes for IMAP command handlers 2022-06-30 11:28:03 +02:00
Alex 4a412b96aa
Add possibility to fetch full RFC822 2022-06-29 20:10:42 +02:00
Alex b71d967889
Fetch ENVELOPE works \o/ 2022-06-29 20:00:38 +02:00
Alex de71f4b4ed
cleanup 2022-06-29 19:27:32 +02:00
Alex 509e7e4bed
Implement beginning of a FETCH command 2022-06-29 19:24:21 +02:00
Alex a8d0e4a994
Implement IDLE in selected state 2022-06-29 17:58:31 +02:00
Alex 733c59ed80
Cleanup and remove useless imports 2022-06-29 16:05:34 +02:00
Alex 9ef069923b
Add call to testing procedure 2022-06-29 16:04:11 +02:00
Alex d737e33b5a
Rename MailIdent to UniqueIdent and use those to identify mailboxes 2022-06-29 15:52:09 +02:00
Alex b95028f89e
Some refactoring on mailbox structures and views 2022-06-29 15:39:54 +02:00
Alex 8b7eb1ca91
work on prototypes 2022-06-29 13:41:05 +02:00
Alex 1bc109df72
Refactoring 2022-06-29 13:16:58 +02:00
Alex 3cf91429c7
Clean up unused imports 2022-06-29 12:52:58 +02:00
Alex 90b143e1c5
Refactor to allow mutability 2022-06-29 12:50:44 +02:00
Quentin 9979671b00
Try my best to close the connection 2022-06-28 15:52:55 +02:00
Quentin 06b888d969
Implement logout 2022-06-28 15:38:06 +02:00
Quentin 36bbc2138b
cargo fmt + implement noop 2022-06-28 10:49:28 +02:00
Quentin 927b461f25
Switching to upstream boitalettres 2022-06-28 09:34:24 +02:00
Quentin 390bad0ec4
Refactor files in a "mail" crate 2022-06-27 16:56:20 +02:00
Quentin d3f8a6627c
Add support for flags 2022-06-27 11:40:45 +02:00
Quentin 22d0f11173
Implement Recent in Select 2022-06-24 10:28:11 +02:00
Quentin 8a0df56cde
Return UID validity 2022-06-23 14:41:10 +02:00
Quentin cea27474f9
cargo fmt 2022-06-22 17:26:52 +02:00
Quentin ac974184de
Refactor selected 2022-06-22 17:25:04 +02:00
Quentin 50b1972987
Authenticated state works 2022-06-22 16:52:38 +02:00
Quentin 98f55be730
It compiles again! 2022-06-22 14:59:32 +02:00
Quentin ca4c2e7505
WIP refactor 2022-06-20 18:09:20 +02:00
Quentin 5dd5ae8bcd
WIP Refactor, code is broken 2022-06-17 18:39:36 +02:00