Jon Gjengset
7f34f791c0
Merge another codecov
2022-09-17 12:22:18 -07:00
Jon Gjengset
1b8c3056e6
Merge another codecov
2022-09-17 12:21:57 -07:00
Jon Gjengset
1c486b2c73
Add one codecov
2022-09-17 12:10:07 -07: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
Jon Gjengset
b656618987
Merge pull request #212 from mordak/logout_bye
...
Handle BYE responses explicitly.
2021-08-11 21:55:23 -04:00
Todd Mortimer
57834a1466
Use get() in tests
2021-07-31 20:04:22 -04:00
Todd Mortimer
efd0eadafe
Implement get() for Fetch and Name
2021-07-31 19:26:48 -04:00
Todd Mortimer
54bca3eddb
Add into_owned() for Fetch, Flag, and Name.
2021-07-31 18:22:59 -04:00
Todd Mortimer
fadb28a32b
Revert accidental static lifetime to non-static.
2021-07-25 22:13:53 -04:00
Todd Mortimer
7e581a6b5e
Use std::iter::once instead of Some.
2021-07-25 22:13:16 -04:00