You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/08/20 01:49:28 UTC

[james-project] branch master updated (850fe0b -> 42a2eba)

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git.


    from 850fe0b  JAMES-3440 JMAP RFC-8621: EmailQueryView position handling was wrong
     add 980cbe4  JAMES-3544 Referencing MessageId should be part of attachment metadata
     add 7ae6c17  JAMES-3544 Cary over blobs inside MIMEMessageConverter
     add 6fd3284  JAMES-3544 JMAP draft: Drop AttachmentChecker
     add 44ad0fa  JAMES-3544 Centralize BlobId encoding logic in BlobId class
     add b50e87e  JAMES-3544 Reactify BlobManagerImpl
     add c476783  JAMES-3544 BlobManagerImpl should allow grouping reads
     add 94401c4  JAMES-3544 Migration to add message_id to attachmentV2 column family
     add 273324e  JAMES-1994 Demo users should include the domain name part
     add 8af195c  JAMES-1994 Demo should promote use of SSL
     add f9dba50  JAMES-1994 Demo should link to a more advanced tutorial
     add 8c0e784  JAMES-1994 Imap tutorial can demo Thunderbird connection
     new 42a2eba  Merge pull request #584 JAMES-3544 Attachment refactoring (step 2)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../versions/CassandraSchemaVersionManager.java    |   2 +-
 .../james/mailbox/model/AttachmentMetadata.java    |  23 +-
 .../james/mailbox/model/ParsedAttachment.java      |   6 +-
 .../model/MessageAttachmentMetadataTest.java       |   6 +
 .../mailbox/cassandra/DeleteMessageListener.java   |   2 +-
 .../cassandra/mail/CassandraAttachmentDAOV2.java   |  58 ++-
 .../cassandra/mail/CassandraAttachmentMapper.java  |  22 +-
 .../mail/CassandraAttachmentMessageIdDAO.java      |  15 +
 ...tion.java => AttachmentMessageIdMigration.java} |  55 ++-
 .../modules/CassandraAttachmentModule.java         |   2 +
 .../table/CassandraAttachmentV2Table.java          |   3 +-
 .../cassandra/CassandraMailboxManagerTest.java     |  83 +---
 .../cassandra/mail/AttachmentLoaderTest.java       |   7 +
 .../mail/CassandraAttachmentDAOV2Test.java         |  17 +-
 .../mail/CassandraAttachmentMessageIdDAOTest.java  |  39 ++
 ...asticSearchListeningMessageSearchIndexTest.java |   1 +
 .../v7/json/IndexableMessageTest.java              |   4 +-
 .../model/openjpa/AbstractJPAMailboxMessage.java   |   2 +-
 .../mailbox/maildir/mail/model/MaildirMessage.java |   2 +-
 .../inmemory/mail/InMemoryAttachmentMapper.java    |   3 +-
 .../james/vault/DeletedMessageConverterTest.java   |   1 +
 .../mailbox/store/StoreAttachmentManager.java      |  89 ++--
 .../mailbox/store/StoreAttachmentManagerTest.java  |   2 +-
 .../store/mail/model/AttachmentMapperTest.java     |  43 --
 .../mail/model/impl/SimpleMailboxMessageTest.java  |   1 +
 .../modules/webadmin/CassandraRoutesModule.java    |   3 +
 .../methods/integration/SetMessagesMethodTest.java |   3 +
 .../jmap/draft/methods/AttachmentChecker.java      |  78 ----
 .../james/jmap/draft/methods/BlobManager.java      |   8 +-
 .../james/jmap/draft/methods/BlobManagerImpl.java  | 126 ++++--
 .../jmap/draft/methods/MIMEMessageConverter.java   |  80 ++--
 .../james/jmap/draft/methods/MessageAppender.java  |  59 ++-
 .../methods/SetMessagesCreationProcessor.java      |  24 +-
 .../apache/james/jmap/draft/model/Attachment.java  |  18 +
 .../org/apache/james/jmap/draft/model/BlobId.java  |  25 ++
 .../model/message/view/MessageFastViewFactory.java |   3 +-
 .../model/message/view/MessageFullViewFactory.java |   4 +-
 .../message/view/MessageHeaderViewFactory.java     |   3 +-
 .../message/view/MessageMetadataViewFactory.java   |   3 +-
 .../jmap/draft/methods/AttachmentCheckerTest.java  | 185 ---------
 .../jmap/draft/methods/BlobManagerImplTest.java    |  23 +-
 .../jmap/draft/methods/GetMessagesMethodTest.java  |   4 -
 .../draft/methods/MIMEMessageConverterTest.java    | 451 +++++++++------------
 .../jmap/draft/methods/MessageSenderTest.java      |   5 -
 .../methods/SetMessagesCreationProcessorTest.java  |  13 +-
 .../methods/SetMessagesUpdateProcessorTest.java    |   2 -
 .../message/view/MessageFullViewFactoryTest.java   |   2 +
 .../apache/james/jmap/http/DownloadRoutesTest.java |   3 +-
 src/homepage/howTo/imap-server.html                |  28 ++
 src/homepage/images/tb1.png                        | Bin 0 -> 86015 bytes
 src/homepage/images/tb2.png                        | Bin 0 -> 61619 bytes
 src/homepage/images/tb3-5.png                      | Bin 0 -> 124061 bytes
 src/homepage/images/tb3.png                        | Bin 0 -> 73801 bytes
 src/homepage/index.html                            |  10 +-
 upgrade-instructions.md                            |  27 ++
 55 files changed, 739 insertions(+), 939 deletions(-)
 copy mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/migration/{AclV2Migration.java => AttachmentMessageIdMigration.java} (64%)
 delete mode 100644 server/protocols/jmap-draft/src/main/java/org/apache/james/jmap/draft/methods/AttachmentChecker.java
 delete mode 100644 server/protocols/jmap-draft/src/test/java/org/apache/james/jmap/draft/methods/AttachmentCheckerTest.java
 create mode 100644 src/homepage/images/tb1.png
 create mode 100644 src/homepage/images/tb2.png
 create mode 100644 src/homepage/images/tb3-5.png
 create mode 100644 src/homepage/images/tb3.png

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


[james-project] 01/01: Merge pull request #584 JAMES-3544 Attachment refactoring (step 2)

Posted by bt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 42a2eba284e4dd2179fff01af412f50afc704d55
Merge: 850fe0b 8c0e784
Author: Tellier Benoit <bt...@linagora.com>
AuthorDate: Fri Aug 20 08:49:24 2021 +0700

    Merge pull request #584 JAMES-3544 Attachment refactoring (step 2)

 .../versions/CassandraSchemaVersionManager.java    |   2 +-
 .../james/mailbox/model/AttachmentMetadata.java    |  23 +-
 .../james/mailbox/model/ParsedAttachment.java      |   6 +-
 .../model/MessageAttachmentMetadataTest.java       |   6 +
 .../mailbox/cassandra/DeleteMessageListener.java   |   2 +-
 .../cassandra/mail/CassandraAttachmentDAOV2.java   |  58 ++-
 .../cassandra/mail/CassandraAttachmentMapper.java  |  22 +-
 .../mail/CassandraAttachmentMessageIdDAO.java      |  15 +
 .../migration/AttachmentMessageIdMigration.java    | 111 +++++
 .../modules/CassandraAttachmentModule.java         |   2 +
 .../table/CassandraAttachmentV2Table.java          |   3 +-
 .../cassandra/CassandraMailboxManagerTest.java     |  83 +---
 .../cassandra/mail/AttachmentLoaderTest.java       |   7 +
 .../mail/CassandraAttachmentDAOV2Test.java         |  17 +-
 .../mail/CassandraAttachmentMessageIdDAOTest.java  |  39 ++
 ...asticSearchListeningMessageSearchIndexTest.java |   1 +
 .../v7/json/IndexableMessageTest.java              |   4 +-
 .../model/openjpa/AbstractJPAMailboxMessage.java   |   2 +-
 .../mailbox/maildir/mail/model/MaildirMessage.java |   2 +-
 .../inmemory/mail/InMemoryAttachmentMapper.java    |   3 +-
 .../james/vault/DeletedMessageConverterTest.java   |   1 +
 .../mailbox/store/StoreAttachmentManager.java      |  89 ++--
 .../mailbox/store/StoreAttachmentManagerTest.java  |   2 +-
 .../store/mail/model/AttachmentMapperTest.java     |  43 --
 .../mail/model/impl/SimpleMailboxMessageTest.java  |   1 +
 .../modules/webadmin/CassandraRoutesModule.java    |   3 +
 .../methods/integration/SetMessagesMethodTest.java |   3 +
 .../jmap/draft/methods/AttachmentChecker.java      |  78 ----
 .../james/jmap/draft/methods/BlobManager.java      |   8 +-
 .../james/jmap/draft/methods/BlobManagerImpl.java  | 126 ++++--
 .../jmap/draft/methods/MIMEMessageConverter.java   |  80 ++--
 .../james/jmap/draft/methods/MessageAppender.java  |  59 ++-
 .../methods/SetMessagesCreationProcessor.java      |  24 +-
 .../apache/james/jmap/draft/model/Attachment.java  |  18 +
 .../org/apache/james/jmap/draft/model/BlobId.java  |  25 ++
 .../model/message/view/MessageFastViewFactory.java |   3 +-
 .../model/message/view/MessageFullViewFactory.java |   4 +-
 .../message/view/MessageHeaderViewFactory.java     |   3 +-
 .../message/view/MessageMetadataViewFactory.java   |   3 +-
 .../jmap/draft/methods/AttachmentCheckerTest.java  | 185 ---------
 .../jmap/draft/methods/BlobManagerImplTest.java    |  23 +-
 .../jmap/draft/methods/GetMessagesMethodTest.java  |   4 -
 .../draft/methods/MIMEMessageConverterTest.java    | 451 +++++++++------------
 .../jmap/draft/methods/MessageSenderTest.java      |   5 -
 .../methods/SetMessagesCreationProcessorTest.java  |  13 +-
 .../methods/SetMessagesUpdateProcessorTest.java    |   2 -
 .../message/view/MessageFullViewFactoryTest.java   |   2 +
 .../apache/james/jmap/http/DownloadRoutesTest.java |   3 +-
 src/homepage/howTo/imap-server.html                |  28 ++
 src/homepage/images/tb1.png                        | Bin 0 -> 86015 bytes
 src/homepage/images/tb2.png                        | Bin 0 -> 61619 bytes
 src/homepage/images/tb3-5.png                      | Bin 0 -> 124061 bytes
 src/homepage/images/tb3.png                        | Bin 0 -> 73801 bytes
 src/homepage/index.html                            |  10 +-
 upgrade-instructions.md                            |  27 ++
 55 files changed, 824 insertions(+), 910 deletions(-)

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