Commit graph

219 commits

Author SHA1 Message Date
f24c06312b
WIP refactor, support LSP 2023-10-09 12:00:16 +02:00
2270aaa963
WIP 2023-09-28 11:57:46 +02:00
1fb9970502
add back header fields 2023-09-21 11:27:33 +02:00
b32bb6071a
partial re-implementation of body ext
header fields is still missing
2023-08-16 18:01:22 +02:00
0450570f76
finalize for release 0.1.0 2023-07-25 21:23:56 +02:00
ec061022e0
finalize eml-codec integration 2023-07-25 19:08:48 +02:00
17fba10d8f
replacing mail_parser by eml_codec, first iteration 2023-07-25 10:59:48 +02:00
9d6aef34ad
clippy lint fix 2023-05-15 18:23:23 +02:00
736dd54b50
use the raw_message() call 2023-03-09 11:30:44 +01:00
52536b4ca4
debug 2023-02-07 12:22:54 +01:00
bb66f7cee3
bump mail_parser 2023-02-07 11:27:17 +01:00
441730e1f7
Fix open_mailbox 2022-07-21 12:50:44 +02:00
54c467d3f7
Implement COPY 2022-07-21 12:44:58 +02:00
db4ffd7135
Move to mail_parser 0.5 2022-07-20 15:14:34 +02:00
c321d979af
Remove broken tests 2022-07-20 13:58:24 +02:00
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
24d9f192e4
Start testing of mail parsing crates 2022-07-20 11:53:34 +02:00
8c47687d8e
Implement Fetch BODY[HEADERS.FIELDS] and BODY[HEADER.FIELDS.NOT] 2022-07-15 18:16:06 +02:00
1f336cad2b
better name and cleanup 2022-07-15 17:55:04 +02:00
24c6607304
Some more FETCH things work 2022-07-15 16:15:48 +02:00
64a322b4cb
begin impl fetch body[xxxx] 2022-07-13 17:05:07 +02:00
2a0aa0d42c
Refactor stuff to indeed release resources 2022-07-13 16:14:10 +02:00
3b256de3dc
Remove OK [UNSEEN x] responses to SELECT and EXAMINE, and fix STATUS UNSEEN 2022-07-13 15:39:52 +02:00
956a92377e
reformat 2022-07-13 15:26:55 +02:00
c703e3e2b8
Fix list wildcards 2022-07-13 15:26:00 +02:00
15a354f949
Correctly implement UID FETCH and UID STORE 2022-07-13 15:00:13 +02:00
cd59be3a00
Implement opportunistic sync based on watch value, and use it 2022-07-13 14:21:14 +02:00
9fa2e958b3
Begin add watch mechanism to Bayou 2022-07-13 12:30:35 +02:00
33fa51021c
Small changes to .update() 2022-07-13 11:39:13 +02:00
70e0da9005
small fixes 2022-07-13 11:32:47 +02:00
faca15f164
LMTP refactoring, implement EXPUNGE 2022-07-13 11:19:08 +02:00
a1ca6d9def
"set flags" as a bayou op 2022-07-13 11:00:35 +02:00
7959adb8e9
implement STORE 2022-07-12 17:32:57 +02:00
23e0eff42b
Cleanup 2022-07-12 16:36:03 +02:00
46d9525984
Implement APPEND 2022-07-12 16:35:11 +02:00
d4e0e66581
Fix Subscribed 2022-07-12 16:02:13 +02:00
9b7d999fd5
Implement STATUS 2022-07-12 15:59:13 +02:00
fc2e25ce76
Clean up 2022-07-12 15:35:25 +02:00
5d6e4f7332
cleanup 2022-07-12 15:31:29 +02:00
7b888ed8cf
Implement mailbox renaming 2022-07-12 15:23:30 +02:00
ad15595f0f
Implement LIST 2022-07-12 13:19:27 +02:00
0e22a1c5d2
Push what compiles 2022-07-08 17:48:51 +02:00
e0322a7761
Add a workaround for mail-parser bug 2022-07-08 17:39:23 +02:00
8bfe61d767
Count lines the same way as Dovecot+Cyrus 2022-07-08 16:52:33 +02:00
9675cdb545
Use CRLF as line ending in test files 2022-07-08 10:23:07 +02:00
e10d3987e2
Correctly count lines + bytes 2022-07-07 16:30:53 +02:00
0030a4d8b7
Add Maddy FETCH BODY and BODYSTRUCTURE 2022-07-07 16:08:48 +02:00
82c7f5909f
Fix envelope + rfc822 message size+line number 2022-07-06 18:42:37 +02:00
cba06269ab
Add support for mime in mime 2022-07-05 18:27:49 +02:00
2f51128467
Add support for MIME types 2022-07-05 17:48:10 +02:00
cc86653ed8
Refactor BODY parsing to generalize it 2022-07-05 17:08:12 +02:00
de19924a60
Reformat LMTP 2022-07-05 15:21:41 +02:00
ee9f9e2c4d
First test based on Dovecot results 2022-07-05 15:21:14 +02:00
f97b0a10a0
Implement Content-Description 2022-07-05 10:18:08 +02:00
aca37b64c8
Populate attribute list 2022-07-04 18:14:59 +02:00
1abfb60b8e
Handling of incoming messages from LMTP seems to work! 2022-07-04 12:44:48 +02:00
9b4fcf58df
Fix uidindex tests + body structure for text msg 2022-07-04 12:08:11 +02:00
05eb2e050b
Code to add mail to inbox 2022-07-01 20:09:26 +02:00
14b420d9df
small rewrite 2022-07-01 19:41:29 +02:00
a8e33383f4
release lock when no longer needed 2022-07-01 19:33:47 +02:00
e93732d9bb
comments 2022-07-01 19:26:30 +02:00
d5272ce486
Incomming locking loop 2022-07-01 19:23:29 +02:00
2189f8b64b
WIP incoming loop 2022-06-30 20:35:27 +02:00
2c61af6684
More work on incoming mails, but no mails yet 2022-06-30 17:40:59 +02:00
484ad97b65
Skeleton for incoming mail processor 2022-06-30 16:18:08 +02:00
3277fb16a8
update uid in mailbox list when opening mailbox 2022-06-30 16:04:51 +02:00
90c20a840d
Implement create_mailbox 2022-06-30 16:04:51 +02:00
7efe08a9b8
Implement IMAP fetch internaldate 2022-06-30 15:22:44 +02:00
b15026ec9c
Refactor user to be shared using Arc 2022-06-30 14:03:12 +02:00
89b5883387
Elementary data structure for mailbox list 2022-06-30 14:03:12 +02:00
0f0a8d415e
Implement RFC822.TEXT 2022-06-30 13:36:39 +02:00
69428eaf25
reformat mailbox.rs and add security 2022-06-30 12:45:22 +02:00
0048b43f27
Implement move and copy mail 2022-06-30 12:07:01 +02:00
497ad4b5ea
Split out Examined state and add prototypes for IMAP command handlers 2022-06-30 11:28:03 +02:00
4adaa988aa
Add prototypes for mailbox functions 2022-06-30 10:59:42 +02:00
27e3d7a0a2
Rename to Aerogramme 2022-06-30 10:50:50 +02:00
780547fd6f
Rename mailrage to aerogramme in missing places 2022-06-30 10:50:03 +02:00
4a412b96aa
Add possibility to fetch full RFC822 2022-06-29 20:10:42 +02:00
b71d967889
Fetch ENVELOPE works \o/ 2022-06-29 20:00:38 +02:00
de71f4b4ed
cleanup 2022-06-29 19:27:32 +02:00
509e7e4bed
Implement beginning of a FETCH command 2022-06-29 19:24:21 +02:00
a8d0e4a994
Implement IDLE in selected state 2022-06-29 17:58:31 +02:00
733c59ed80
Cleanup and remove useless imports 2022-06-29 16:05:34 +02:00
9ef069923b
Add call to testing procedure 2022-06-29 16:04:11 +02:00
d737e33b5a
Rename MailIdent to UniqueIdent and use those to identify mailboxes 2022-06-29 15:52:09 +02:00
b95028f89e
Some refactoring on mailbox structures and views 2022-06-29 15:39:54 +02:00
8b7eb1ca91
work on prototypes 2022-06-29 13:41:05 +02:00
1bc109df72
Refactoring 2022-06-29 13:16:58 +02:00
3cf91429c7
Clean up unused imports 2022-06-29 12:52:58 +02:00
90b143e1c5
Refactor to allow mutability 2022-06-29 12:50:44 +02:00
9979671b00
Try my best to close the connection 2022-06-28 15:52:55 +02:00
06b888d969
Implement logout 2022-06-28 15:38:06 +02:00
36bbc2138b
cargo fmt + implement noop 2022-06-28 10:49:28 +02:00
927b461f25
Switching to upstream boitalettres 2022-06-28 09:34:24 +02:00
390bad0ec4
Refactor files in a "mail" crate 2022-06-27 16:56:20 +02:00
d3f8a6627c
Add support for flags 2022-06-27 11:40:45 +02:00
22d0f11173
Implement Recent in Select 2022-06-24 10:28:11 +02:00
8a0df56cde
Return UID validity 2022-06-23 14:41:10 +02:00
cea27474f9
cargo fmt 2022-06-22 17:26:52 +02:00
ac974184de
Refactor selected 2022-06-22 17:25:04 +02:00