✨ Add support for the CONDSTORE
extension (RFC7162)
#236
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTE: Both
#search
and#uid_search
have been updated to returnSearchResult
rather thanArray
.SearchResult
inherits fromArray
, for backward compatibility.Similarly, the
MODIFIED
response code on the tagged response to#store
and#uid_store
is currently only accessible by using a response handler: response code data on tagged responses isn't saved to#responses
. Unlike with the search methods returningSearchResult
, I did not change the behavior of#store
to return a new result object inheriting from Array. IMO, that change would require a backward compatibility config option and a deprecation period.IMAP extension support
inNet::IMAP
class rdocHIGHESTMODSEQ
,NOMODSEQ
,MODIFIED
)ResponseCode
#select
and#examine
documentation (NOMODSEQ
,HIGHESTMODSEQ
)#store
and#uid_store
documentation (MODIFIED
)SequenceSet
classSTATUS
parsing #225FETCH
response withMODSEQ
.FetchData
(Done by ✨ Add FetchData msg-att methods and update rdoc #220.)SEARCH
untagged response* SEARCH 1 2 3 (MODSEQ 123)
(Done by @shugo in 2014, by 4bad059.)SearchResult
andSearchResult#modseq
.SearchResult
(including on#search
and#uid_search
)HIGHESTMODSEQ
status attribute#status
condstore
kwarg to#select
,#examine
(RFC7162, CONDSTORE) #122changedsince
kwarg to#fetch
/#uid_fetch
(RFC7162, CONDSTORE) #132(Note:
CHANGEDSINCE
can be used already, via an undocumented non-keyword argument.)unchangedsince
kwarg to#store
/#uid_store
(RFC7162, CONDSTORE) #237