james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r762388 - in /james/imap/trunk: api/src/main/java/org/apache/james/imap/api/ processor/src/main/java/org/apache/james/imap/processor/ seda/src/test/resources/org/apache/james/imap/scripts/
Date Mon, 06 Apr 2009 15:32:27 GMT
Author: rdonkin
Date: Mon Apr  6 15:32:25 2009
New Revision: 762388

URL: http://svn.apache.org/viewvc?rev=762388&view=rev
Log:
Added RFC 3348 capability. IMAP-73 https://issues.apache.org/jira/browse/IMAP-73

Modified:
    james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ImapConstants.java
    james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/DefaultProcessorChain.java
    james/imap/trunk/seda/src/test/resources/org/apache/james/imap/scripts/Capability.test

Modified: james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ImapConstants.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ImapConstants.java?rev=762388&r1=762387&r2=762388&view=diff
==============================================================================
--- james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ImapConstants.java (original)
+++ james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ImapConstants.java Mon Apr
 6 15:32:25 2009
@@ -99,6 +99,8 @@
 
     String SUPPORTS_LITERAL_PLUS = "LITERAL+";
     
+    public static final String SUPPORTS_RFC3348 = "CHILDREN";
+    
     public static final String SUPPORTS_NAMESPACES = "NAMESPACE";
 
     String USER_NAMESPACE = "#mail";

Modified: james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/DefaultProcessorChain.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/DefaultProcessorChain.java?rev=762388&r1=762387&r2=762388&view=diff
==============================================================================
--- james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/DefaultProcessorChain.java
(original)
+++ james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/DefaultProcessorChain.java
Mon Apr  6 15:32:25 2009
@@ -19,9 +19,7 @@
 
 package org.apache.james.imap.processor;
 
-import static org.apache.james.imap.api.ImapConstants.SUPPORTS_LITERAL_PLUS;
-import static org.apache.james.imap.api.ImapConstants.SUPPORTS_NAMESPACES;
-import static org.apache.james.imap.api.ImapConstants.VERSION;
+import static org.apache.james.imap.api.ImapConstants.*;
 
 import java.util.ArrayList;
 import java.util.List;
@@ -47,6 +45,7 @@
         capabilities.add(VERSION);
         capabilities.add(SUPPORTS_LITERAL_PLUS);
         capabilities.add(SUPPORTS_NAMESPACES);
+        capabilities.add(SUPPORTS_RFC3348);
         final CapabilityProcessor capabilityProcessor = new CapabilityProcessor(
                 logoutProcessor, mailboxManagerProvider, statusResponseFactory, capabilities);
         final CheckProcessor checkProcessor = new CheckProcessor(

Modified: james/imap/trunk/seda/src/test/resources/org/apache/james/imap/scripts/Capability.test
URL: http://svn.apache.org/viewvc/james/imap/trunk/seda/src/test/resources/org/apache/james/imap/scripts/Capability.test?rev=762388&r1=762387&r2=762388&view=diff
==============================================================================
--- james/imap/trunk/seda/src/test/resources/org/apache/james/imap/scripts/Capability.test
(original)
+++ james/imap/trunk/seda/src/test/resources/org/apache/james/imap/scripts/Capability.test
Mon Apr  6 15:32:25 2009
@@ -17,7 +17,7 @@
 # under the License.                                           #
 ################################################################
 C: abcd CAPABILITY
-S: \* CAPABILITY IMAP4rev1 LITERAL\+ NAMESPACE
+S: \* CAPABILITY IMAP4rev1 LITERAL\+ NAMESPACE CHILDREN
 S: abcd OK CAPABILITY completed.
 
 C: abcd CAPABILITY extra stuff



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message