Commit graph

572 commits

Author SHA1 Message Date
Jon Gjengset
fcf610389a Pre-merge rm 2022-09-18 12:49:10 -07:00
Jon Gjengset
00e6eee93c
Merge pull request #241 from jonhoo/ci
Refresh CI scripts
2022-09-17 18:22:52 -04:00
Jon Gjengset
914417b31c Test with standard TLS 2022-09-17 15:14:01 -07:00
Jon Gjengset
7af7cd16e4 Don't pass incorrect TEST_HOST 2022-09-17 15:01:20 -07:00
Jon Gjengset
f272b1515a Use cyrus for coverage for all features 2022-09-17 14:57:10 -07:00
Jon Gjengset
b50b4dee71 Enable doc_cfg on docs.rs 2022-09-17 14:53:36 -07:00
Jon Gjengset
a999f1fce4 Refresh CI scripts 2022-09-17 14:50:07 -07:00
Jon Gjengset
445432f9ed Release alpha 9 2022-09-17 14:40:16 -07:00
Jon Gjengset
1a81abbdb8
Merge pull request #227 from urkle/feat-acl-protocol
add in ACL extension support
2022-09-17 16:12:02 -04:00
Edward Rudd
b12eda4924 implement ACL extension 2022-09-05 15:22:03 -04:00
Edward Rudd
21ea164e3e Use impl AsRef<str> instead of generics 2022-09-05 15:22:02 -04:00
Jon Gjengset
8d031f2003
Merge pull request #226 from bitfehler/master
doc: reference ::mv, not ::copy, from ::uid_mv
2022-08-11 18:18:46 -04:00
Jon Gjengset
8c2250297a
Merge pull request #232 from bitfehler/bitfehler/append-uid
Add support for APPENDUID response data
2022-08-10 22:21:56 -04:00
Jon Gjengset
7be2f50f9c
Merge pull request #237 from bitfehler/bitfehler/readme-test-cmd
README: fix Greenmail version in example command
2022-08-10 22:10:55 -04:00
Jon Gjengset
2801f3280f
Merge pull request #238 from bitfehler/bitfehler/qresync-integration-test
Add integration test for QRESYNC extension
2022-08-10 22:09:12 -04:00
Jon Gjengset
1fd3728a6b Release alpha 8 2022-08-10 18:44:01 -07:00
Jon Gjengset
26d89aebe1 Read greeting if TLS but no STARTTLS 2022-08-10 18:43:38 -07:00
Conrad Hoffmann
cc8166f9cf Add integration test for QRESYNC extension
Ignored by default as it only works with Cyrus, not with Greenmail.
Test functionality added in #233 and #234.
2022-08-02 11:53:09 +02:00
Conrad Hoffmann
fc285f7421 README: fix Greenmail version in example command
The instructions on running the integration tests use an outdated
version of Greenmail with which the tests will not pass. Update it to
the latest version, like in the pull command above it.
2022-08-02 11:36:48 +02:00
Conrad Hoffmann
1732482a4f Add test for MULTIAPPEND UIDPLUS response 2022-08-02 10:47:23 +02:00
Conrad Hoffmann
213887bf27 Add test for parse_append() 2022-08-02 10:34:04 +02:00
Conrad Hoffmann
733340238c Remove implementation of fmt::Display for Appended 2022-08-02 10:32:55 +02:00
Conrad Hoffmann
75e5d7cf79 Add support for APPENDUID response data
If the `UIDPLUS` extension is supported, the server will reply to
`APPEND` commands with the UID of the new message. This can even be a
list of UIDs if the `MULTIAPPEND` extension is also supported.

Make this information available to the user as the result of an
`AppendCmd`. The added doc strings have links to the relevant RFCs.

Related to #131.
2022-08-02 10:32:55 +02:00
Edward Rudd
f616ea992e
update dependencies (#236)
- updated lettre
  - required some changes to the imap_integration to support
- remove explicit hostname dep
2022-07-30 10:06:39 -04:00
Jon Gjengset
1ce44011ba Merge pull request #228 from urkle/feat-cyrus-testing-setup 2022-07-26 04:20:30 -07:00
Edward Rudd
38a4030ff9 update github actions to test against cyrus-imapd as well as greenmail 2022-07-26 04:19:47 -07:00
Edward Rudd
602ff8e4af update integration tests to extract host/port fetching to centralized methods 2022-07-26 04:19:30 -07:00
Jon Gjengset
f3a03ed693
Merge pull request #234 from bitfehler/bitfehler/expunge-mod-seq
Expose HIGHESTMODSEQ value in EXPUNGE response
2022-07-16 07:36:01 -07:00
Jon Gjengset
68031592a8
Merge pull request #233 from bitfehler/bitfehler/fetch-modseq
Expose MODSEQ attribute in FETCH responses
2022-07-16 07:27:17 -07:00
Conrad Hoffmann
4ea652e3f7 Expose MODSEQ attribute in FETCH responses
If the QRESYNC (RFC 7162) extension is being used, a FETCH response to a
STORE or UID STORE command with the UNCHANGEDSINCE query attribute will
return the mod sequence ID of the performed operation. This information
is crucial for building efficient caching clients.
2022-07-14 15:05:29 +02:00
Conrad Hoffmann
b068208877 Add test case for EXPUNGE response w/ mod sequence 2022-07-14 14:55:46 +02:00
Conrad Hoffmann
564063561d Mark struct types::Deleted non-exhaustive 2022-07-14 14:55:24 +02:00
Conrad Hoffmann
81ed9ff1cf Expose HIGHESTMODSEQ value in EXPUNGE response
If the `QRESYNC` extension (RFC 7162) is being used, `EXPUNGE` responses
will return the new highest mod sequence for the mailbox after the
expunge operation. Access to this value is quite valuable for caching
clients.
2022-07-14 12:05:37 +02:00
Conrad Hoffmann
098a4022ca doc: reference ::mv, not ::copy, from ::uid_mv 2022-04-21 23:06:17 +02:00
Jon Gjengset
db29117463 Release 3.0.0-alpha.7 2022-04-14 18:40:29 -07:00
Jon Gjengset
d69a1ba0ab bump ouroboros 2022-04-14 18:39:34 -07:00
Jon Gjengset
de9ccbc515 bump greenmail 2022-04-14 18:36:46 -07:00
Jon Gjengset
0217125962
Merge pull request #225 from CrispinStichart/add-gmail-labels
Add support for Gmail Labels
2022-04-14 18:34:56 -07:00
Crispin Stichart
b22ce3a605 Add support for Gmail Labels 2022-04-12 11:33:02 -05:00
Jon Gjengset
afbc5118f2 Release alpha 6 2022-02-19 12:18:25 -08:00
Jon Gjengset
9fdff81d19 Bump to 2021 edition 2022-02-19 11:06:33 -08:00
Jon Gjengset
7b553fcb19 Bump dependencies 2022-02-19 11:05:35 -08:00
Jon Gjengset
bba160920c No CI badge 2022-02-19 11:03:41 -08:00
Jon Gjengset
60e1260d3c
Merge pull request #223 from jonhoo/ci
Move CI to GitHub Actions
2022-02-19 11:02:54 -08:00
Jon Gjengset
7091cea742 Move CI to GitHub Actions 2022-02-19 10:59:01 -08:00
Jon Gjengset
6808dfef79
Merge pull request #218 from lu-fennell/improved-validation-error-messages-simple-pr
Improve error message for `ValidationError`
2021-11-10 21:03:04 -05:00
Lu Fennell
8147f17296 Improve error message for ValidationError
In addition to the invalid character, the error now also contains a
`command_synopsis` and `argument` which identifies the command and
argument that failed to validate.
2021-11-10 10:12:03 +01:00
Jon Gjengset
e963d694e4
Update MSRV for bitflags 2021-11-09 18:36:32 -08:00
Jon Gjengset
b9b9328e18
Manual Default for Mailbox is intentional 2021-11-09 18:32:19 -08:00
Jon Gjengset
88417339f9
Merge pull request #208 from mordak/zero-copy
Convert ZeroCopy to ouroboros.
2021-08-15 20:41:09 -04:00