From d8fc0c966e8959e1123c1b33cc98c57da25ede1d Mon Sep 17 00:00:00 2001 From: nicholas evans Date: Fri, 24 Nov 2023 15:41:01 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Add=20CONDSTORE=20extension=20to?= =?UTF-8?q?=20class=20documention?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/net/imap.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 25da8061..b6143b38 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -506,6 +506,8 @@ module Net # # ==== RFC7162: +CONDSTORE+ # + # - Updates #enable with +CONDSTORE+ parameter. +CONDSTORE+ will also be + # enabled by using any of the extension's command parameters, listed below. # - Updates #status with the +HIGHESTMODSEQ+ status attribute. # - Updates #select and #examine with the +condstore+ modifier, and adds # either a +HIGHESTMODSEQ+ or +NOMODSEQ+ ResponseCode to the responses. @@ -682,6 +684,16 @@ module Net # Resnick, P., Ed., Newman, C., Ed., and S. Shen, Ed., # "IMAP Support for UTF-8", RFC 6855, DOI 10.17487/RFC6855, March 2013, # . + # [CONDSTORE[https://tools.ietf.org/html/rfc7162]]:: + # [QRESYNC[https://tools.ietf.org/html/rfc7162]]:: + # Melnikov, A. and D. Cridland, "IMAP Extensions: Quick Flag Changes + # Resynchronization (CONDSTORE) and Quick Mailbox Resynchronization + # (QRESYNC)", RFC 7162, DOI 10.17487/RFC7162, May 2014, + # . + # [OBJECTID[https://tools.ietf.org/html/rfc8474]]:: + # Gondwana, B., Ed., "IMAP Extension for Object Identifiers", + # RFC 8474, DOI 10.17487/RFC8474, September 2018, + # . # # === IANA registries # * {IMAP Capabilities}[http://www.iana.org/assignments/imap4-capabilities] @@ -2305,6 +2317,13 @@ def uid_thread(algorithm, search_keys, charset) # each enabled extension (usually the same name as the enabled extension). # The following capabilities may be enabled: # + # [+CONDSTORE+ {[RFC7162]}[https://www.rfc-editor.org/rfc/rfc7162.html]] + # + # Updates various commands to return +CONDSTORE+ extension responses. It + # is not necessary to explicitly enable +CONDSTORE+—using any of the + # command parameters defined by the extension will implicitly enable it. + # See {[RFC7162 §3.1]}[https://www.rfc-editor.org/rfc/rfc7162.html#section-3.1]. + # # [+:utf8+ --- an alias for "UTF8=ACCEPT"] # # In a future release, enable(:utf8) will enable either