Jon Gjengset
28faa816a9
Fix up doc links
2024-03-31 10:03:15 +02:00
Jon Gjengset
650844f2cd
bump ouroboros
2024-03-31 09:54:55 +02:00
Jon Gjengset
ed433ec574
Improve docs for tag mismatch
2024-03-31 09:50:45 +02:00
Clément DOUIN
af5ad735bc
Handle tag desynchronization ( #284 )
2024-03-31 09:34:21 +02:00
Edward Rudd
bb39460491
Change the client builder so that it abstracts away connecting to TLS or non-TLS connections and what TLS provider is used.
...
- this allows a more transparent and versatile usage of the library as one can simply compile it as-is and then use the builder to configure where we connect and how we connect without having to be concerned about what type is used for the imap::Client / imap::Session
2023-10-05 17:32:58 -04:00
Jon Gjengset
3198ddaf15
Address base64 deprecations
2023-01-21 15:08:51 -08:00
Conrad Hoffmann
247e36bb0f
Add support for RFC 5819: LIST-STATUS extension
...
See https://tools.ietf.org/html/rfc5819
2023-01-17 10:44:35 +01:00
Edward Rudd
e082d2f4f4
fixup! add support for the imap quota extension (RFC 2087)
2022-10-25 15:26:36 -04:00
Edward Rudd
733aba99fe
fixup! add support for the imap quota extension (RFC 2087)
2022-10-18 21:36:01 -04:00
Edward Rudd
57ce6bb545
add support for the imap quota extension (RFC 2087)
2022-09-26 14:21:55 -04:00
Edward Rudd
660e4b1668
have Session::finish() use iter_join for better efficiency
2022-09-26 12:25:06 -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
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
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
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
88417339f9
Merge pull request #208 from mordak/zero-copy
...
Convert ZeroCopy to ouroboros.
2021-08-15 20:41:09 -04:00
Todd Mortimer
d6429512e8
Handle BYE responses explicitly.
...
In Session::logout(), ignore it. Fixes #210 .
2021-07-25 21:21:07 -04:00
Todd Mortimer
3f2331423c
Rework Name and Fetch to use ouroboros.
...
Use a helper function in `parse_many_into` to support parsing into
any container that implements Extend. Refactor Capabilities to use it.
Delete ZeroCopy and associated bits.
Move Flag into it's own module in types.
2021-07-17 16:32:26 -04:00
Todd Mortimer
c2d3aed978
Convert Capabilities to ouroboros.
2021-07-05 20:11:36 -04:00
♫ Christian Krause ♫
d86d1e228b
fixes doc typos ( #204 )
2021-06-03 01:00:11 -04:00
mordak
d8d69a363b
Idle builder ( #202 )
2021-05-26 21:55:42 -04:00
mordak
b7a2641725
Change "tls" feature to "native-tls" ( #201 )
...
Change "tls" feature to "native-tls" for clarity and obvious distinction with rustls-tls.
2021-05-24 21:46:49 -04:00
comex
55cd6465c7
Support parsing STATUS responses. (v2) ( #192 )
...
Fixes #185 .
2021-05-16 18:12:16 -04:00
mordak
7204697dd9
Add ClientBuilder helper to make setting up TLS connections easy. ( #197 )
...
Also replaces connect() and connect_starttls() with ClientBuilder.
2021-05-10 22:39:46 -04:00
Clément DOUIN
2898e19530
RFC 5256 - SORT command ( #180 )
2021-04-19 23:03:23 -04:00
Todd Mortimer
d0e61c73e9
Appease clippy.
2021-03-20 14:26:52 -04:00
Jon Gjengset
7860b14088
Revert "Release first 3.0.0 alpha"
...
This reverts commit 8490407d2e .
2021-03-06 15:35:00 -08:00
Jon Gjengset
8490407d2e
Release first 3.0.0 alpha
2021-03-06 15:34:42 -08:00
Jon Gjengset
18ca65dd3f
Expose mailbox read-only flag
2021-03-06 15:02:48 -08:00
Jon Gjengset
9b78550394
Adopt latest imap_proto and expose error status codes
2021-03-06 14:53:14 -08:00
Jon Gjengset
abf820bfb9
Much better metadata docs
2021-03-06 10:54:22 -08:00
Jon Gjengset
a466e947bd
Merge branch 'master' into metadata-merge
2021-03-06 12:43:43 -05:00
Jon Gjengset
137f3de14f
Merge branch 'master' into mod_seq_vanished
2021-03-06 12:40:30 -05:00
Jon Gjengset
0a2f7407f2
Merge pull request #175 from mblarsen/refactor/squash-append-cmd
...
refactor: squash append command
2021-03-06 12:39:29 -05:00
Milo Mirate
9b6ff70e3b
Avoid trying to FETCH an empty set of messages ( #177 )
...
Also, apply correct validation to FETCH arguments.
2021-01-12 23:30:38 -05:00
Michael Bøcker-Larsen
b2f2e297c2
docs: improve docs
2020-12-21 11:21:40 +08:00
Michael Bøcker-Larsen
8cd8a21008
refactor: rename run to finish
2020-12-21 11:21:22 +08:00
Michael Bøcker-Larsen
029da6fd52
refactor: move must_use to AppendCmd
2020-12-21 11:19:42 +08:00
Michael Bøcker-Larsen
19af971c9a
refactor: use extend instead of append
...
Co-authored-by: Jon Gjengset <jon@thesquareplanet.com>
2020-12-21 10:37:18 +08:00
Michael Bøcker-Larsen
74ef623fc5
docs: move flag + date documentation to AppendCmd
2020-12-20 13:09:57 +08:00
Michael Bøcker-Larsen
5053cfbb3e
feat: add 'flags' method to add multiple flags at once
2020-12-20 13:04:31 +08:00
Michael Bøcker-Larsen
b7bc842979
fix: correct lifetimes and types for append
2020-12-20 13:03:54 +08:00
Michael Bøcker-Larsen
e6341ccfc0
fix: pass session as &mut
2020-12-17 11:37:01 +08:00
Michael Bøcker-Larsen
cdf320fb0c
refactor: use AppendCmd instead of AppendOptions
2020-12-17 11:02:48 +08:00
Michael Bøcker-Larsen
24445c5c65
feat: add AppendCmd builder
2020-12-17 00:41:26 +08:00
Michael Bøcker-Larsen
469d338d5d
refactor: combine all append_* + introduce AppendOptions
2020-12-17 00:41:01 +08:00
Michael Bøcker-Larsen
ee56c8e42b
feat: allow setting sent date on APPEND ( #174 )
...
Fixes #60
2020-12-15 11:25:38 -05:00