[GitHub] james-project pull request: JAMES-1647 StopWatch.elapsedMillis doe...

2015-12-11 Thread rouazana
Github user rouazana commented on the pull request: https://github.com/apache/james-project/pull/21#issuecomment-163983480 :+1: --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature e

[jira] [Commented] (JAMES-1647) KarafLiveTestSupport doesn't compile under intellij

2015-12-11 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052977#comment-15052977 ] ASF GitHub Bot commented on JAMES-1647: --- Github user rouazana commented on the pull

[jira] [Commented] (JAMES-1647) KarafLiveTestSupport doesn't compile under intellij

2015-12-11 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052950#comment-15052950 ] ASF GitHub Bot commented on JAMES-1647: --- GitHub user mbaechler opened a pull request

[GitHub] james-project pull request: JAMES-1647 StopWatch.elapsedMillis doe...

2015-12-11 Thread mbaechler
GitHub user mbaechler opened a pull request: https://github.com/apache/james-project/pull/21 JAMES-1647 StopWatch.elapsedMillis doesn't exist anymore in recent gu… …ava releases You can merge this pull request into a Git repository by running: $ git pull https://github.com/

[jira] [Created] (JAMES-1647) KarafLiveTestSupport doesn't compile under intellij

2015-12-11 Thread Matthieu Baechler (JIRA)
Matthieu Baechler created JAMES-1647: Summary: KarafLiveTestSupport doesn't compile under intellij Key: JAMES-1647 URL: https://issues.apache.org/jira/browse/JAMES-1647 Project: James Server

[jira] [Created] (JAMES-1646) Jmap GetMailboxes should return a default sortOrder

2015-12-11 Thread Matthieu Baechler (JIRA)
Matthieu Baechler created JAMES-1646: Summary: Jmap GetMailboxes should return a default sortOrder Key: JAMES-1646 URL: https://issues.apache.org/jira/browse/JAMES-1646 Project: James Server

svn commit: r1719442 - in /james/project/trunk/server: container/cassandra-guice/src/test/resources/keystore protocols/jmap-integration-testing/src/test/resources/keystore

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 15:03:05 2015 New Revision: 1719442 URL: http://svn.apache.org/viewvc?rev=1719442&view=rev Log: JAMES-1644 fix keystore broken by git -> svn transition Modified: james/project/trunk/server/container/cassandra-guice/src/test/resources/keystore (contents,

[jira] [Commented] (JAMES-1644) Support Jmap specification

2015-12-11 Thread Matthieu Baechler (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052849#comment-15052849 ] Matthieu Baechler commented on JAMES-1644: -- Obviously, this ticket is closed not

Re: Implementation of JMAP protocol in James

2015-12-11 Thread Benoit Tellier
Hi, Le 11/12/2015 11:09, Matthieu Baechler a écrit : > Hi, > > To follow Raphael's message, I just pushed our Jmap developments to > James trunk. > > Feel free to try it and/or read the code. Yes, I gonna have a look, looks like it is interesting ;-) > > Feedback welcome as usual. > > Cheers

svn commit: r1719410 - /james/project/trunk/server/protocols/jmap/src/test/resources/keystore

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 13:34:02 2015 New Revision: 1719410 URL: http://svn.apache.org/viewvc?rev=1719410&view=rev Log: JAMES-1644 fix keystore broken by git -> svn transition Modified: james/project/trunk/server/protocols/jmap/src/test/resources/keystore (contents, props changed

svn commit: r1719397 - in /james/project/trunk: backends-common/cassandra/src/test/java/org/apache/james/backends/cassandra/ server/protocols/jmap-integration-testing/src/test/java/org/apache/james/jm

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:36:06 2015 New Revision: 1719397 URL: http://svn.apache.org/viewvc?rev=1719397&view=rev Log: JAMES-1644 rework integration tests Added: james/project/trunk/backends-common/cassandra/src/test/java/org/apache/james/backends/cassandra/EmbeddedCassandra.java

svn commit: r1719399 - in /james/project/trunk/server/protocols: jmap-integration-testing/src/test/java/org/apache/james/jmap/methods/GetMessageListMethodTest.java jmap/src/main/java/org/apache/james/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:36:28 2015 New Revision: 1719399 URL: http://svn.apache.org/viewvc?rev=1719399&view=rev Log: JAMES-1644 ids in response now use MessageId.serialize format Modified: james/project/trunk/server/protocols/jmap-integration-testing/src/test/java/org/apache/jam

svn commit: r1719398 - in /james/project/trunk/server/protocols: jmap-integration-testing/src/test/java/org/apache/james/jmap/ jmap/src/main/java/org/apache/james/jmap/ jmap/src/test/java/org/apache/j

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:36:19 2015 New Revision: 1719398 URL: http://svn.apache.org/viewvc?rev=1719398&view=rev Log: JAMES-1644 Authentication endpoint provides other endpoints URLs Added: james/project/trunk/server/protocols/jmap-integration-testing/src/test/java/org/apache/jam

svn commit: r1719396 - in /james/project/trunk/server/protocols: jmap-integration-testing/src/test/java/org/apache/james/jmap/methods/ jmap/src/main/java/org/apache/james/jmap/methods/ jmap/src/main/j

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:35:54 2015 New Revision: 1719396 URL: http://svn.apache.org/viewvc?rev=1719396&view=rev Log: JAMES-1644 Response method name is different than request method name Modified: james/project/trunk/server/protocols/jmap-integration-testing/src/test/java/org/ap

svn commit: r1719394 - in /james/project/trunk: mailbox/memory/src/main/java/org/apache/james/mailbox/inmemory/mail/ server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/ server/protocols

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:35:21 2015 New Revision: 1719394 URL: http://svn.apache.org/viewvc?rev=1719394&view=rev Log: JAMES-1644 (feature disabled) retrieve Message properties in GetMessagesMethod Modified: james/project/trunk/mailbox/memory/src/main/java/org/apache/james/mailbox

svn commit: r1719395 - in /james/project/trunk: mailbox/store/src/main/java/org/apache/james/mailbox/store/ server/ server/container/cassandra-guice/ server/container/cassandra-guice/src/main/java/org

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:35:39 2015 New Revision: 1719395 URL: http://svn.apache.org/viewvc?rev=1719395&view=rev Log: JAMES-1644 integrate GetMessage into Jmap Server Register the handler into Jmap Server and cover basic features with integration tests Added: jam

svn commit: r1719393 - in /james/project/trunk/server/protocols/jmap: ./ src/main/java/org/apache/james/jmap/methods/ src/main/java/org/apache/james/jmap/model/ src/test/java/org/apache/james/jmap/met

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:35:08 2015 New Revision: 1719393 URL: http://svn.apache.org/viewvc?rev=1719393&view=rev Log: JAMES-1644 Handle simple GetMessageRequest and return only message ids Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/method

svn commit: r1719391 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/model/ test/java/org/apache/james/jmap/model/ test/resources/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:34:47 2015 New Revision: 1719391 URL: http://svn.apache.org/viewvc?rev=1719391&view=rev Log: JAMES-1644 Convert Messages to JMAP Message Added: james/project/trunk/server/protocols/jmap/src/test/resources/spamMail.eml Modified: james/project/trunk/ser

svn commit: r1719392 - in /james/project/trunk/mailbox/store/src: main/java/org/apache/james/mailbox/store/StoreMessageResultIterator.java test/java/org/apache/james/mailbox/store/StoreMessageResultIt

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:34:56 2015 New Revision: 1719392 URL: http://svn.apache.org/viewvc?rev=1719392&view=rev Log: JAMES-1644 prevent StoreMessageResultIterator from throwing on next when there are elements Modified: james/project/trunk/mailbox/store/src/main/java/org/apache/

svn commit: r1719389 [2/2] - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/model/ main/java/org/apache/james/jmap/model/message/ test/java/org/apache/james/jmap/mo

2015-12-11 Thread matthieu
Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/message/RootMimePartContainerBuilder.java URL: http://svn.apache.org/viewvc/james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/message/RootMimePartContainerBuilder.java?rev=

svn commit: r1719390 - in /james/project/trunk/mailbox/elasticsearch/src: main/java/org/apache/james/mailbox/elasticsearch/json/ test/java/org/apache/james/mailbox/elasticsearch/json/ test/resources/d

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:34:37 2015 New Revision: 1719390 URL: http://svn.apache.org/viewvc?rev=1719390&view=rev Log: JAMES-1644 Handle Reply-To standard header Modified: james/project/trunk/mailbox/elasticsearch/src/main/java/org/apache/james/mailbox/elasticsearch/json/HeaderCol

svn commit: r1719389 [1/2] - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/model/ main/java/org/apache/james/jmap/model/message/ test/java/org/apache/james/jmap/mo

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:34:26 2015 New Revision: 1719389 URL: http://svn.apache.org/viewvc?rev=1719389&view=rev Log: JAMES-1644 Add JMAP Message objects duped classes from backend-elasticsearch Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/ja

svn commit: r1719388 - in /james/project/trunk: backends-common/ backends-common/cassandra/ backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/init/ backends-common/cassandra/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:34:09 2015 New Revision: 1719388 URL: http://svn.apache.org/viewvc?rev=1719388&view=rev Log: JAMES-1644 move ImmutableCollectors to util-java8 project Added: james/project/trunk/server/container/util-java8/ james/project/trunk/server/container/util-jav

svn commit: r1719387 - in /james/project/trunk/server: container/cassandra-guice/src/main/java/org/apache/james/jmap/ container/cassandra-guice/src/test/java/org/apache/james/ container/cassandra-guic

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:33:51 2015 New Revision: 1719387 URL: http://svn.apache.org/viewvc?rev=1719387&view=rev Log: JAMES-1644 Implement limit in GetMessageListMethod Modified: james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/jmap/MethodsModul

svn commit: r1719386 - in /james/project/trunk/server/protocols: jmap-integration-testing/src/test/java/org/apache/james/jmap/methods/GetMessageListMethodTest.java jmap/src/main/java/org/apache/james/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:33:38 2015 New Revision: 1719386 URL: http://svn.apache.org/viewvc?rev=1719386&view=rev Log: JAMES-1644 Implement position in GetMessageListMethod Modified: james/project/trunk/server/protocols/jmap-integration-testing/src/test/java/org/apache/james/jmap/

svn commit: r1719384 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/utils/SortToComparatorConvertor.java test/java/org/apache/james/jmap/utils/ test/java/org/apac

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:33:20 2015 New Revision: 1719384 URL: http://svn.apache.org/viewvc?rev=1719384&view=rev Log: JAMES-1644 Convert JMAP sort to comparator Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/utils/SortToComparatorConvertor.ja

svn commit: r1719385 - in /james/project/trunk/server/protocols: jmap-integration-testing/src/test/java/org/apache/james/jmap/methods/GetMessageListMethodTest.java jmap/src/main/java/org/apache/james/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:33:29 2015 New Revision: 1719385 URL: http://svn.apache.org/viewvc?rev=1719385&view=rev Log: JAMES-1644 Implement sort in GetMessageListMethod Modified: james/project/trunk/server/protocols/jmap-integration-testing/src/test/java/org/apache/james/jmap/meth

svn commit: r1719382 - in /james/project/trunk/server: container/cassandra-guice/src/main/java/org/apache/james/jmap/ protocols/jmap-integration-testing/src/test/java/org/apache/james/jmap/methods/ pr

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:33:02 2015 New Revision: 1719382 URL: http://svn.apache.org/viewvc?rev=1719382&view=rev Log: JAMES-1644 Simple GetMessageListMethod implementation Added: james/project/trunk/server/protocols/jmap-integration-testing/src/test/java/org/apache/james/jmap/met

svn commit: r1719381 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/model/ test/java/org/apache/james/jmap/json/ test/java/org/apache/james/jmap/model/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:32:47 2015 New Revision: 1719381 URL: http://svn.apache.org/viewvc?rev=1719381&view=rev Log: JAMES-1644 Introduce JMAP filter Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Filter.java james/project/trunk/s

svn commit: r1719383 - in /james/project/trunk/server/protocols: jmap-integration-testing/src/test/java/org/apache/james/jmap/methods/GetMessageListMethodTest.java jmap/src/main/java/org/apache/james/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:33:11 2015 New Revision: 1719383 URL: http://svn.apache.org/viewvc?rev=1719383&view=rev Log: JAMES-1644 Implement inMailboxes filtering in GetMessageListMethod Modified: james/project/trunk/server/protocols/jmap-integration-testing/src/test/java/org/apach

svn commit: r1719380 [1/2] - in /james/project/trunk/server: ./ container/cassandra-guice/ container/cassandra-guice/src/main/java/org/apache/james/ container/cassandra-guice/src/main/java/org/apache/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:32:35 2015 New Revision: 1719380 URL: http://svn.apache.org/viewvc?rev=1719380&view=rev Log: JAMES-1644 Add JMAP integration test project Added: james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/utils/ExtendedServerProbe.

svn commit: r1719379 - in /james/project/trunk/server/protocols/jmap: ./ src/main/java/org/apache/james/jmap/model/ src/test/java/org/apache/james/jmap/ src/test/java/org/apache/james/jmap/methods/ sr

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:32:07 2015 New Revision: 1719379 URL: http://svn.apache.org/viewvc?rev=1719379&view=rev Log: JAMES-1644 Convert GetMailboxesMethodTest to unit test Added: james/project/trunk/server/protocols/jmap/src/test/java/org/apache/james/jmap/BeansTest.java ja

svn commit: r1719380 [2/2] - in /james/project/trunk/server: ./ container/cassandra-guice/ container/cassandra-guice/src/main/java/org/apache/james/ container/cassandra-guice/src/main/java/org/apache/

2015-12-11 Thread matthieu
Added: james/project/trunk/server/protocols/jmap-integration-testing/src/test/resources/mailrepositorystore.xml URL: http://svn.apache.org/viewvc/james/project/trunk/server/protocols/jmap-integration-testing/src/test/resources/mailrepositorystore.xml?rev=1719380&view=auto

svn commit: r1719377 - /james/project/trunk/server/protocols/jmap/src/test/java/org/apache/james/jmap/AuthenticationFilterTest.java

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:31:57 2015 New Revision: 1719377 URL: http://svn.apache.org/viewvc?rev=1719377&view=rev Log: JAMES-1644 Remove mocks on AccessTokenManager Modified: james/project/trunk/server/protocols/jmap/src/test/java/org/apache/james/jmap/AuthenticationFilterTest.jav

svn commit: r1719374 - in /james/project/trunk/server: data/data-library/src/test/java/org/apache/james/user/lib/ data/data-library/src/test/java/org/apache/james/user/lib/mock/ protocols/protocols-po

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:31:35 2015 New Revision: 1719374 URL: http://svn.apache.org/viewvc?rev=1719374&view=rev Log: JAMES-1644 Rename MockUsersRepository to InMemoryUsersRepository Added: james/project/trunk/server/data/data-library/src/test/java/org/apache/james/user/lib/mock/

svn commit: r1719376 - in /james/project/trunk/server/protocols/jmap/src/test/java/org/apache/james/jmap: FixedDateZonedDateTimeProvider.java JMAPAuthenticationTest.java crypto/SignedContinuationToken

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:31:50 2015 New Revision: 1719376 URL: http://svn.apache.org/viewvc?rev=1719376&view=rev Log: JAMES-1644 Remove mocks on ZoneDateTimeProvider Added: james/project/trunk/server/protocols/jmap/src/test/java/org/apache/james/jmap/FixedDateZonedDateTimeProvide

svn commit: r1719375 - in /james/project/trunk/server/protocols/jmap: pom.xml src/test/java/org/apache/james/jmap/JMAPAuthenticationTest.java src/test/java/org/apache/james/jmap/UserCredentials.java

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:31:43 2015 New Revision: 1719375 URL: http://svn.apache.org/viewvc?rev=1719375&view=rev Log: JAMES-1644 Use in memory UsersRepository when testing Added: james/project/trunk/server/protocols/jmap/src/test/java/org/apache/james/jmap/UserCredentials.java Mo

svn commit: r1719372 - /james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/RequestHandler.java

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:31:15 2015 New Revision: 1719372 URL: http://svn.apache.org/viewvc?rev=1719372&view=rev Log: JAMES-1644 'x -> x' lambda is actually Function.identity() Modified: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/Request

svn commit: r1719371 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/methods/ main/java/org/apache/james/jmap/model/ test/java/org/apache/james/jmap/ test/java/org

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:31:07 2015 New Revision: 1719371 URL: http://svn.apache.org/viewvc?rev=1719371&view=rev Log: JAMES-1644 use a type for method name Modified: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/GetMailboxesMethod.java

svn commit: r1719373 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/methods/ main/java/org/apache/james/jmap/model/ test/java/org/apache/james/jmap/methods/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:31:24 2015 New Revision: 1719373 URL: http://svn.apache.org/viewvc?rev=1719373&view=rev Log: JAMES-1644 build JmapResponse in MethodHandler That way, error handling is done only in MethodHandler by catching exceptions and we no longer need to p

svn commit: r1719370 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/ main/java/org/apache/james/jmap/methods/ main/java/org/apache/james/jmap/model/ test/java/org

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:30:56 2015 New Revision: 1719370 URL: http://svn.apache.org/viewvc?rev=1719370&view=rev Log: JAMES-1644 do the json parsing into RequestHandler That way, generic error conditions are handled in a common place and the Method implementation can b

svn commit: r1719369 - in /james/project/trunk/server/protocols/jmap: ./ src/main/java/org/apache/james/jmap/ src/main/java/org/apache/james/jmap/methods/ src/test/java/org/apache/james/jmap/methods/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:30:46 2015 New Revision: 1719369 URL: http://svn.apache.org/viewvc?rev=1719369&view=rev Log: JAMES-1644 Method now return a JmapResponse and writer is called into RequestHandler This design prevents a lot a calls to JmapResponseWriter by crafting

svn commit: r1719368 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/methods/ main/java/org/apache/james/jmap/model/ test/java/org/apache/james/jmap/methods/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:30:35 2015 New Revision: 1719368 URL: http://svn.apache.org/viewvc?rev=1719368&view=rev Log: JAMES-1644 JmapResponse is now a class and the Method Response is an Object inside We don't care about response typing as we use Jackson serialization

svn commit: r1719367 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/model/ test/java/org/apache/james/jmap/ test/java/org/apache/james/jmap/methods/ test/java/org

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:30:26 2015 New Revision: 1719367 URL: http://svn.apache.org/viewvc?rev=1719367&view=rev Log: JAMES-1644 use strong type for ClientId Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/ClientId.java - copied, c

svn commit: r1719365 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/JMAPServlet.java test/java/org/apache/james/jmap/GetMailboxesMethodTest.java test/java/org/apa

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:30:09 2015 New Revision: 1719365 URL: http://svn.apache.org/viewvc?rev=1719365&view=rev Log: JAMES-1644 move GetMailboxesMethodTest in the right package Added: james/project/trunk/server/protocols/jmap/src/test/java/org/apache/james/jmap/methods/GetMailbo

svn commit: r1719366 - in /james/project/trunk/server: pom.xml protocols/jmap/pom.xml

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:30:15 2015 New Revision: 1719366 URL: http://svn.apache.org/viewvc?rev=1719366&view=rev Log: JAMES-1644 upgrade assertj to 3.2 Modified: james/project/trunk/server/pom.xml james/project/trunk/server/protocols/jmap/pom.xml Modified: james/project/trunk

svn commit: r1719364 - in /james/project/trunk/server: ./ container/cassandra-guice/src/main/java/org/apache/james/jmap/ container/cassandra-guice/src/main/java/org/apache/james/modules/mailbox/ proto

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:30:00 2015 New Revision: 1719364 URL: http://svn.apache.org/viewvc?rev=1719364&view=rev Log: JAMES-1644 getMailboxes implementation for simple case Added: james/project/trunk/server/protocols/jmap/src/test/java/org/apache/james/jmap/GetMailboxesMethodTest

svn commit: r1719363 - in /james/project/trunk/server: data/data-jmap/src/main/java/org/apache/james/jmap/api/access/ data/data-jmap/src/main/java/org/apache/james/jmap/api/access/exceptions/ data/dat

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:29:47 2015 New Revision: 1719363 URL: http://svn.apache.org/viewvc?rev=1719363&view=rev Log: JAMES-1644 Decorate ProtocolRequest to get authentication data Added: james/project/trunk/server/data/data-jmap/src/main/java/org/apache/james/jmap/api/access/exc

svn commit: r1719361 - in /james/project/trunk/server: container/cassandra-guice/src/main/java/org/apache/james/jmap/ protocols/jmap/src/main/java/org/apache/james/jmap/methods/ protocols/jmap/src/mai

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:29:24 2015 New Revision: 1719361 URL: http://svn.apache.org/viewvc?rev=1719361&view=rev Log: JAMES-1644 getMailboxes should return error on unimplemented fields Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/G

svn commit: r1719362 - /james/project/trunk/server/protocols/jmap/src/test/java/org/apache/james/jmap/JMAPGetMailboxesTest.java

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:29:31 2015 New Revision: 1719362 URL: http://svn.apache.org/viewvc?rev=1719362&view=rev Log: JAMES-1644 JMAP requests must be authenticated Modified: james/project/trunk/server/protocols/jmap/src/test/java/org/apache/james/jmap/JMAPGetMailboxesTest.java

svn commit: r1719360 - in /james/project/trunk/server: container/cassandra-guice/src/main/java/org/apache/james/jmap/ protocols/jmap/ protocols/jmap/src/main/java/org/apache/james/jmap/ protocols/jmap

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 12:29:09 2015 New Revision: 1719360 URL: http://svn.apache.org/viewvc?rev=1719360&view=rev Log: JAMES-1644 Process JMAP request to dedicated method Added: james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/jmap/MethodsModule.

[jira] [Closed] (JAMES-1644) Support Jmap specification

2015-12-11 Thread Matthieu Baechler (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthieu Baechler closed JAMES-1644. Resolution: Fixed merged on trunk. > Support Jmap specification > -

Re: Implementation of JMAP protocol in James

2015-12-11 Thread Matthieu Baechler
Hi, To follow Raphael's message, I just pushed our Jmap developments to James trunk. Feel free to try it and/or read the code. Feedback welcome as usual. Cheers, -- Matthieu Baechler - To unsubscribe, e-mail: server-dev-un

svn commit: r1719325 - in /james/project/trunk/server/container/cassandra-guice: ./ src/main/java/org/apache/james/ src/main/java/org/apache/james/modules/protocols/ src/test/java/org/apache/james/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:09:01 2015 New Revision: 1719325 URL: http://svn.apache.org/viewvc?rev=1719325&view=rev Log: JAMES-1644 Add JMAP module in cassandra-guice Added: james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/modules/protocols/JMAPSer

svn commit: r1719326 - in /james/project/trunk: dockerfiles/run/guice/destination/conf/ server/container/cassandra-guice/sample-configuration/ server/container/cassandra-guice/src/main/java/org/apache

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:09:14 2015 New Revision: 1719326 URL: http://svn.apache.org/viewvc?rev=1719326&view=rev Log: JAMES-1644 Add JMAP keystore configuration Added: james/project/trunk/dockerfiles/run/guice/destination/conf/jmap.properties james/project/trunk/server/contai

svn commit: r1719324 - in /james/project/trunk/server: container/cassandra-guice/src/main/java/org/apache/james/jmap/ container/cassandra-guice/src/test/java/org/apache/james/modules/ protocols/jmap/s

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:08:53 2015 New Revision: 1719324 URL: http://svn.apache.org/viewvc?rev=1719324&view=rev Log: JAMES-1644 JMAP server bootstrap Added: james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/jmap/JMAPModule.java james/projec

svn commit: r1719323 - in /james/project/trunk/server: ./ container/cassandra-guice/ container/cassandra-guice/src/main/java/org/apache/james/jmap/ data/data-jmap/src/main/java/org/apache/james/jmap/a

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:08:45 2015 New Revision: 1719323 URL: http://svn.apache.org/viewvc?rev=1719323&view=rev Log: JAMES-1644 Add guice injection in JMAP module Added: james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/jmap/ james/project/

svn commit: r1719322 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/ main/java/org/apache/james/jmap/methods/ main/java/org/apache/james/jmap/model/ test/java/org

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:08:25 2015 New Revision: 1719322 URL: http://svn.apache.org/viewvc?rev=1719322&view=rev Log: JAMES-1644 Implement Jmap Servlet for generic request handling Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/JMAPServlet.ja

svn commit: r1719319 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/ main/java/org/apache/james/jmap/api/ main/java/org/apache/james/jmap/crypto/ main/java/org/ap

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:07:52 2015 New Revision: 1719319 URL: http://svn.apache.org/viewvc?rev=1719319&view=rev Log: JAMES-1644 GET to Refetch URL endpoints and Check Authentication header by servlet filter Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apac

svn commit: r1719321 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/ main/java/org/apache/james/jmap/api/ main/java/org/apache/james/jmap/crypto/ main/java/org/ap

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:08:12 2015 New Revision: 1719321 URL: http://svn.apache.org/viewvc?rev=1719321&view=rev Log: JAMES-1644 rework exceptions handling to return different status when a bad continuation token is given Modified: james/project/trunk/server/protocols/jmap/src/m

svn commit: r1719320 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/ main/java/org/apache/james/jmap/api/ main/java/org/apache/james/jmap/crypto/ test/java/org/ap

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:08:01 2015 New Revision: 1719320 URL: http://svn.apache.org/viewvc?rev=1719320&view=rev Log: JAMES-1644 revoking access token on DELETE Modified: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/AuthenticationServlet.java

svn commit: r1719318 - in /james/project/trunk/server: data/data-jmap/src/main/java/org/apache/james/jmap/api/access/ data/data-jmap/src/main/java/org/apache/james/jmap/api/access/exceptions/ data/dat

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:07:38 2015 New Revision: 1719318 URL: http://svn.apache.org/viewvc?rev=1719318&view=rev Log: JAMES-1644 use AccessTokenRepository Added: james/project/trunk/server/data/data-jmap/src/main/java/org/apache/james/jmap/api/access/exceptions/InvalidAccessToken

svn commit: r1719317 - /james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/ContinuationToken.java

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:07:24 2015 New Revision: 1719317 URL: http://svn.apache.org/viewvc?rev=1719317&view=rev Log: JAMES-1644 simplier continuation token parsing Modified: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/ContinuationToken.jav

svn commit: r1719316 - in /james/project/trunk/server/data/data-jmap/src: main/java/org/apache/james/jmap/memory/ main/java/org/apache/james/jmap/memory/access/ test/ test/java/ test/java/org/ test/ja

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:07:18 2015 New Revision: 1719316 URL: http://svn.apache.org/viewvc?rev=1719316&view=rev Log: JAMES-1644 Provide an InMemory implementation for AccessTokenRepository Added: james/project/trunk/server/data/data-jmap/src/main/java/org/apache/james/jmap/memor

svn commit: r1719313 - in /james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/modules: mailbox/ server/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:06:49 2015 New Revision: 1719313 URL: http://svn.apache.org/viewvc?rev=1719313&view=rev Log: JAMES-1644 cleanup injection of Cassandra-guice Removed: james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/modules/server/Simple

svn commit: r1719314 - in /james/project/trunk/server/data/data-jmap/src: ./ main/ main/java/ main/java/org/ main/java/org/apache/ main/java/org/apache/james/ main/java/org/apache/james/jmap/ main/jav

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:07:04 2015 New Revision: 1719314 URL: http://svn.apache.org/viewvc?rev=1719314&view=rev Log: JAMES-1644 Define AccessTokenRepository interface Added: james/project/trunk/server/data/data-jmap/src/ james/project/trunk/server/data/data-jmap/src/main/

svn commit: r1719311 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/ main/java/org/apache/james/jmap/exceptions/ main/java/org/apache/james/jmap/model/ test/java/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:06:32 2015 New Revision: 1719311 URL: http://svn.apache.org/viewvc?rev=1719311&view=rev Log: JAMES-1644 AuthenticationServlet should use ContinuationTokenManager Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/exceptio

svn commit: r1719312 - in /james/project/trunk/server: data/data-jmap/ data/data-jmap/pom.xml pom.xml protocols/jmap/pom.xml

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:06:41 2015 New Revision: 1719312 URL: http://svn.apache.org/viewvc?rev=1719312&view=rev Log: JAMES-1644 Create a data-jmap sub project Added: james/project/trunk/server/data/data-jmap/ james/project/trunk/server/data/data-jmap/pom.xml Modified: jam

svn commit: r1719308 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/ main/java/org/apache/james/jmap/exceptions/ main/java/org/apache/james/jmap/model/ test/java/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:06:00 2015 New Revision: 1719308 URL: http://svn.apache.org/viewvc?rev=1719308&view=rev Log: JAMES-1644 Introduce ContinuationToken Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/exceptions/ james/project/trunk/s

svn commit: r1719309 - in /james/project/trunk/server/protocols/jmap: ./ src/main/java/org/apache/james/jmap/crypto/ src/test/java/org/apache/james/jmap/crypto/ src/test/resources/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:06:12 2015 New Revision: 1719309 URL: http://svn.apache.org/viewvc?rev=1719309&view=rev Log: JAMES-1644 Introduce Signature utils Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/crypto/ james/project/trunk/server/

svn commit: r1719310 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/api/ main/java/org/apache/james/jmap/crypto/ main/java/org/apache/james/jmap/utils/ test/java/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:06:23 2015 New Revision: 1719310 URL: http://svn.apache.org/viewvc?rev=1719310&view=rev Log: JAMES-1644 Introduce a ContinuationTokenManager Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/api/ james/project/trunk

svn commit: r1719307 - in /james/project/trunk/server/protocols/jmap: ./ src/main/java/org/apache/james/jmap/ src/main/java/org/apache/james/jmap/model/ src/test/java/org/apache/james/jmap/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:05:48 2015 New Revision: 1719307 URL: http://svn.apache.org/viewvc?rev=1719307&view=rev Log: JAMES-1644 JMAP Authentication Servlet Handle authentication response Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/BadRequ

svn commit: r1719306 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/ main/java/org/apache/james/jmap/json/ main/java/org/apache/james/jmap/model/ test/java/org/ap

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:05:39 2015 New Revision: 1719306 URL: http://svn.apache.org/viewvc?rev=1719306&view=rev Log: JAMES-1644 JMAP Authentication Servlet Handle two different requests with Jackson Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james

svn commit: r1719304 - in /james/project/trunk/server/protocols/jmap/src: main/java/org/apache/james/jmap/AuthenticationServlet.java test/java/org/apache/james/jmap/JMAPAuthenticationTest.java

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:05:17 2015 New Revision: 1719304 URL: http://svn.apache.org/viewvc?rev=1719304&view=rev Log: JAMES-1644 JMAP Authentication servlet should Check Accept header and Content-Type charset Modified: james/project/trunk/server/protocols/jmap/src/main/java/org/

svn commit: r1719303 - in /james/project/trunk/server: ./ protocols/jmap/ protocols/jmap/src/ protocols/jmap/src/main/ protocols/jmap/src/main/java/ protocols/jmap/src/main/java/org/ protocols/jmap/sr

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:05:09 2015 New Revision: 1719303 URL: http://svn.apache.org/viewvc?rev=1719303&view=rev Log: JAMES-1644 JMAP Authentication should accept only JSON requests Added: james/project/trunk/server/protocols/jmap/ james/project/trunk/server/protocols/jmap/pom

svn commit: r1719305 - in /james/project/trunk/server/protocols/jmap: ./ src/main/java/org/apache/james/jmap/ src/main/java/org/apache/james/jmap/model/ src/test/java/org/apache/james/jmap/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:05:27 2015 New Revision: 1719305 URL: http://svn.apache.org/viewvc?rev=1719305&view=rev Log: JAMES-1644 JMAP Authentication first step: get continuation token Added: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/

svn commit: r1719302 - in /james/project/trunk/server/container/jetty/src: main/java/org/apache/james/http/jetty/ test/java/org/apache/james/http/jetty/ test/resources/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:04:51 2015 New Revision: 1719302 URL: http://svn.apache.org/viewvc?rev=1719302&view=rev Log: JAMES-1639 Support filters Added: james/project/trunk/server/container/jetty/src/test/java/org/apache/james/http/jetty/CoolFilter.java james/project/trunk/se

svn commit: r1719301 - in /james/project/trunk/server/container/jetty: ./ src/main/java/org/apache/james/http/jetty/ src/test/java/org/apache/james/http/jetty/ src/test/resources/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:04:37 2015 New Revision: 1719301 URL: http://svn.apache.org/viewvc?rev=1719301&view=rev Log: JAMES-1639 Handle xml configuration for spring integration Added: james/project/trunk/server/container/jetty/src/main/java/org/apache/james/http/jetty/Configurati

svn commit: r1719298 - in /james/project/trunk/server/container/jetty/src: main/java/org/apache/james/http/jetty/Configuration.java test/java/org/apache/james/http/jetty/ConfigurationTest.java test/ja

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:04:07 2015 New Revision: 1719298 URL: http://svn.apache.org/viewvc?rev=1719298&view=rev Log: JAMES-1639 Cover Configuration with tests Added: james/project/trunk/server/container/jetty/src/test/java/org/apache/james/http/jetty/ConfigurationTest.java Modif

svn commit: r1719300 - in /james/project/trunk/server/container/jetty/src: main/java/org/apache/james/http/jetty/JettyHttpServer.java test/java/org/apache/james/http/jetty/JettyHttpServerTest.java

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:04:19 2015 New Revision: 1719300 URL: http://svn.apache.org/viewvc?rev=1719300&view=rev Log: JAMES-1639 Test fixed port Modified: james/project/trunk/server/container/jetty/src/main/java/org/apache/james/http/jetty/JettyHttpServer.java james/project/

svn commit: r1719299 - in /james/project/trunk/server/container/jetty/src: main/java/org/apache/james/http/jetty/JettyHttpServer.java test/java/org/apache/james/http/jetty/JettyHttpServerTest.java

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:04:13 2015 New Revision: 1719299 URL: http://svn.apache.org/viewvc?rev=1719299&view=rev Log: JAMES-1639 Test random port Modified: james/project/trunk/server/container/jetty/src/main/java/org/apache/james/http/jetty/JettyHttpServer.java james/project

svn commit: r1719296 - in /james/project/trunk/server: ./ container/jetty/ container/jetty/src/ container/jetty/src/main/ container/jetty/src/main/java/ container/jetty/src/main/java/org/ container/je

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:03:52 2015 New Revision: 1719296 URL: http://svn.apache.org/viewvc?rev=1719296&view=rev Log: JAMES-1639 Create a jetty server that answers to get Added: james/project/trunk/server/container/jetty/ james/project/trunk/server/container/jetty/pom.xml

svn commit: r1719297 - in /james/project/trunk/server/container/jetty: ./ src/main/java/org/apache/james/http/jetty/ src/test/java/org/apache/james/http/jetty/

2015-12-11 Thread matthieu
Author: matthieu Date: Fri Dec 11 10:04:00 2015 New Revision: 1719297 URL: http://svn.apache.org/viewvc?rev=1719297&view=rev Log: JAMES-1639 Provide a configuration builder to describe servlet mapping Added: james/project/trunk/server/container/jetty/src/main/java/org/apache/james/http/jetty

[GitHub] james-project pull request: JAMES-1619 Unit tests for LocalDeliver...

2015-12-11 Thread chibenwa
GitHub user chibenwa opened a pull request: https://github.com/apache/james-project/pull/20 JAMES-1619 Unit tests for LocalDelivery mailet In this PR I present unit tests for LocalDelivery mailet. This mailet is used to deliver mail received from the SMTPServer to the appropriate us

[jira] [Commented] (JAMES-1619) Write tests for mail delivery

2015-12-11 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052462#comment-15052462 ] ASF GitHub Bot commented on JAMES-1619: --- GitHub user chibenwa opened a pull request: