This is an automated email from the ASF dual-hosted git repository. btellier pushed a change to branch rfc-6532 in repository https://gitbox.apache.org/repos/asf/james-project.git
omit 50ef109279 POC RFC-6532 Support for i8n emails add f49633b444 JAMES-4130 creating interface GuiceLoader add f938dda589 JAMES-4130 binding GuiceLoader to GuiceGenericLoader add 471c91f379 JAMES-4130 Refacoting all classes using GuiceGenericLoader to use GuiceLoader add 2582ff5eec JAMES-4132 HeaderLimitations (#2721) add b4c8c62f80 JAMES-3539 Types field in push subscription should accept null value (#2723) add c80ea10788 [FIX] Attachment filename should be indexed when missing in the `Content-Disposition` header but exists in the `Content-Type` header add 70d31827da JAMES-4130 Making UserStartables use GuiceLoader instead of guiceGeneric Loader (#2727) add c03d2fe9d5 JAMES-4057 Use Query string only when control character are used (#2730) add cd8887f540 JAMES-4057 Match attachment against file extensions (#2731) add 4b51074052 [CVE] Upgrade commons-beanutils 1.9.4 -> 1.11.0 (CVE-2025-48734) add c227d787b4 [FIX] Fix possible NPE when audit trail in DeleteProcessor (#2732) add 2eef1014b2 JAMES-4135 Make MailboxMappingFactory into an interface add d892902327 JAMES-4135 Make CriterionConverter into an interface add 8093f4e558 JAMES-3693 Fix some Redis documentation typos add deb00e7210 JAMES-3693 Netty Epoll transport for Redis driver add 17d93a5272 JAMES-3693 Redis standalone client should take ioThreads and workerThreads into account add 0ded0a27df JAMES-3693 Redis master/replica client should take ioThreads and workerThreads into account add 08d30dd6ab JAMES-3693 Redis sentinel client should take ioThreads and workerThreads into account add aa4b2a9914 JAMES-3693 Remove unused timeout argument add e3c202a4d4 JAMES-3693 RedisClientFactory: better method extraction add 7902ba492a JAMES-3693 Redis cluster mode should support readFrom add 78d4831eee JAMES-3693 Polish RedisConfiguration.asString method add 06c6d8f749 JAMES-3693 Method extraction for parsing useSsl config add 9d2b42211c JAMES-4316 Allow deleting all groups add 249f67596d JAMES-4316 Routes for getting and deleted mapping sources add dc6cbb2735 JAMES-4135 Add the possibility to add custom IndexSettings to MailboxMappingFactory add 424a4187be JAMES-4135 Change visibility of private methods to protected in DefaultCriterionConverter add fd65944a5e [RELEASE] JDKIM 0.5 release materials add 31d427ac4f [devscout] duplicate dkim related mailets with history add aca6e2cc5d [devscout] duplicate dkim related mailets with history add ca30431232 [devscout] duplicates dkim mailets to new names add 6b107f44ae [devscout] simplifies JDKIM api usage in encapsulated variants add 788c4cbca8 JAMES-4137 Upgrade S3 SDK to 2.30.x onwards add 4e4d4e47f1 Upgrade jdkim library to 0.5 add 1d8efb7788 JAMES-4124 Upgrade Rspamd to 3.12.0 add 640199541a [ENHANCEMENT] Allow disable threads add 92b45c0c0e [ENHANCEMENT] Include filename in search snippet add 2f59333b9f [UPGRADE] commons-fileupload 1.5 -> 1.6.0 add fdfe43c81b POC RFC-6532 Support for i8n emails add e8a400009a Add support for unicode adddresses as defined in RFC6532. add 221a95b913 Use UTF-8 as the charset supported atop SMTP protocol add 3a25a12b68 Small advances toward RFC-6532 support add 138cb6e6cd REVERT MailDispatcher changes add 59463c5f81 SET Java system property mail.mime.allowutf8=true add 6567e8c1ce Use MIME4J 0.8.13-SNAPSHOT add 29f2c357b4 Header modifications should preserve UTF-8 encoiding add 19fab3fe53 Preserve UTF-8 encoding in headers upon IMAP FETCH add 41bde4317e Slightly improve UTF-8 tests This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (50ef109279) \ N -- N -- N refs/heads/rfc-6532 (41bde4317e) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: backends-common/redis/pom.xml | 4 + .../james/backends/redis/RedisClientFactory.scala | 52 +- .../james/backends/redis/RedisConfiguration.scala | 62 +- .../backends/redis/RedisClusterExtension.java | 4 +- .../backends/redis/RedisConfigurationTest.scala | 14 +- .../main/java/org/apache/james/core/Domain.java | 12 +- .../java/org/apache/james/core/MailAddress.java | 28 +- .../java/org/apache/james/core/DomainTest.java | 81 +++ .../org/apache/james/core/MailAddressTest.java | 34 +- docs/modules/servers/partials/configure/jvm.adoc | 12 + docs/modules/servers/partials/configure/redis.adoc | 6 +- .../servers/partials/configure/smtp-hooks.adoc | 4 +- .../partials/configure/smtp-limitation-hoot.adoc | 30 + .../modules/servers/partials/operate/webadmin.adoc | 57 +- .../org/apache/james/mailbox/model/Header.java | 6 +- .../CassandraThreadIdGuessingAlgorithm.java | 6 + ...tory.java => DefaultMailboxMappingFactory.java} | 12 +- .../opensearch/MailboxIndexCreationUtil.java | 10 +- .../mailbox/opensearch/MailboxMappingFactory.java | 271 +------- .../opensearch/query/CriterionConverter.java | 559 +--------------- ...nverter.java => DefaultCriterionConverter.java} | 390 ++++++------ .../search/OpenSearchSearchHighlighter.java | 5 +- .../opensearch/OpenSearchIntegrationTest.java | 37 +- .../OpenSearchNoIndexBodyIntegrationTest.java | 6 +- ...hOptimizeMoveAndFuzzySearchIntegrationTest.java | 7 + .../opensearch/OpenSearchQueryStringTest.java | 6 +- .../OpenSearchListeningMessageSearchIndexTest.java | 4 +- .../opensearch/json/IndexableMessageTest.java | 35 + .../search/OpenSearchSearchHighlighterTest.java | 7 +- .../opensearch/search/OpenSearchSearcherTest.java | 7 +- .../src/test/resources/eml/alternative.json | 4 +- .../eml/attachments-filename-in-content-type.eml | 48 ++ .../PostgresThreadIdGuessingAlgorithm.java | 6 + .../mailbox/store/search/mime/MimePartParser.java | 8 +- .../elasticsearch/host/OpenSearchHostSystem.java | 4 +- pom.xml | 12 +- .../james/protocols/api/ProtocolSessionImpl.java | 5 +- protocols/imap/pom.xml | 1 - .../james/imap/processor/DeleteProcessor.java | 6 +- .../imap/processor/fetch/MimeBodyElement.java | 3 +- server/blob/blob-s3/pom.xml | 2 +- .../blob/objectstorage/aws/S3ClientFactory.java | 23 +- .../server/core/InternetHeadersInputStream.java | 2 +- .../modules/PeriodicalHealthChecksModule.java | 4 +- .../modules/server/TaskSerializationModule.java | 6 +- .../james/utils/GuiceProtocolHandlerLoader.java | 8 +- .../modules/mailbox/MailboxListenerFactory.java | 19 +- .../modules/mailbox/PreDeletionHookLoaderImpl.java | 10 +- .../org/apache/james/utils/GuiceMailetLoader.java | 4 +- .../org/apache/james/utils/GuiceMatcherLoader.java | 8 +- .../guice/GuiceMailRepositoryLoader.java | 10 +- .../java/org/apache/james/SearchModuleChooser.java | 2 + .../OpenSearchMailboxConfigurationModule.java | 4 +- .../mailbox/OpenSearchMailboxMappingModule.java} | 18 +- .../modules/mailbox/OpenSearchMailboxModule.java | 9 +- .../protocols/ConnectionCheckFactoryImpl.java | 10 +- .../james/modules/protocols/IMAPServerModule.java | 32 +- .../james/jmap/rfc8621/RFC8621MethodsModule.java | 6 +- .../james/modules/server/WebAdminServerModule.java | 10 +- .../org/apache/james/utils/ExtensionModule.java | 2 +- .../org/apache/james/utils/GuiceGenericLoader.java | 10 +- .../java/org/apache/james/utils/GuiceLoader.java} | 27 +- .../org/apache/james/utils/UserStartables.java | 8 +- .../CassandraPushSubscriptionRepository.java | 8 +- .../CassandraPushSubscriptionRepositoryTest.java | 3 +- .../PostgresPushSubscriptionRepository.java | 3 +- .../MemoryPushSubscriptionRepository.java | 8 +- .../james/jmap/api/change/TypeStateFactory.scala | 2 +- .../james/jmap/api/model/PushSubscription.scala | 15 +- .../MemoryPushSubscriptionRepositoryTest.java | 6 +- .../PushDeleteUserDataTaskStepTest.scala | 9 +- .../PushSubscriptionRepositoryContract.scala | 52 +- server/mailet/dkim/pom.xml | 18 +- .../james/jdkim/mailets/CRLFInputStream.java | 140 ++++ .../{DKIMSign.java => EncapsulatedDKIMSign.java} | 65 +- ...Verifier.java => EncapsulatedDKIMVerifier.java} | 33 +- .../jdkim/mailets/CRLFInputStreamBenchmark.java | 110 ++++ .../james/jdkim/mailets/CRLFInputStreamTest.java | 172 +++++ .../apache/james/jdkim/mailets/DKIMSignTest.java | 2 +- ...SignTest.java => EncapsulatedDKIMSignTest.java} | 70 +- .../dkim/src/test/resources/long-multipart.msg | 703 +++++++++++++++++++++ .../src/main/resources/jvm.properties | 1 + .../james/mailets/AddDeliveredToHeaderTest.java | 63 +- ...ry.java => RedisClusterRateLimiterFactory.java} | 61 +- .../rate/limiter/redis/RedisRateLimiter.scala | 6 +- .../DistributedPushSubscriptionSetMethodTest.java | 3 +- .../DistributedThreadGetMethodTest.java | 4 +- .../eml/attachment-filename-in-content-type.eml | 43 ++ .../contract/EmailQueryMethodContract.scala | 44 ++ .../PushSubscriptionSetMethodContract.scala | 174 ++++- .../rfc8621/contract/probe/TypeStateProbe.scala | 39 +- .../MemoryPushSubscriptionSetMethodTest.java | 3 +- .../PostgresPushSubscriptionSetMethodTest.java | 2 + server/protocols/jmap-rfc-8621/pom.xml | 2 +- .../james/jmap/core/PushSubscriptionSet.scala | 9 +- .../method/PushSubscriptionUpdatePerformer.scala | 5 +- .../jmap/pushsubscription/PushListenerTest.scala | 27 +- server/protocols/protocols-smtp-dkim/pom.xml | 2 +- .../EnforceHeaderLimitationsMessageHook.java | 107 ++++ ...nforcedHeaderLimitationHookIntegrationTest.java | 135 ++++ ...urerelease.xml => smtpserver-EnforceHeader.xml} | 10 +- .../memory/MemoryUserDeletionIntegrationTest.java | 2 +- .../apache/james/webadmin/routes/GroupsRoutes.java | 14 + .../james/webadmin/routes/MappingRoutes.java | 39 ++ .../james/webadmin/routes/GroupsRoutesTest.java | 23 + .../james/webadmin/routes/MappingRoutesTest.java | 133 ++++ .../james/webadmin/routes/MailboxesRoutesTest.java | 4 +- .../webadmin/routes/UserMailboxesRoutesTest.java | 4 +- .../james/queue/memory/MemoryMailQueueFactory.java | 1 + src/homepage/_posts/2025-05-21-jdKim0.5.markdown | 16 + src/site/markdown/server/manage-webadmin.md | 55 ++ src/site/xdoc/download.xml | 16 +- third-party/rspamd/docker-compose-distributed.yml | 2 +- ...docker-compose-rspamd-with-kvrocks-sentinel.yml | 2 +- ...cker-compose-rspamd-with-kvrocks-standalone.yml | 2 +- .../docker-compose-rspamd-with-redis-sentinel.yml | 2 +- third-party/rspamd/docker-compose.yml | 2 +- .../kvrocks/sentinel/replica-node/kvrocks.conf | 3 +- .../rspamd-kvrocks-sentinel.conf | 3 +- .../org/apache/james/rspamd/RspamdExtension.java | 2 +- 120 files changed, 3084 insertions(+), 1499 deletions(-) create mode 100644 core/src/test/java/org/apache/james/core/DomainTest.java create mode 100644 docs/modules/servers/partials/configure/smtp-limitation-hoot.adoc copy mailbox/opensearch/src/main/java/org/apache/james/mailbox/opensearch/{MailboxMappingFactory.java => DefaultMailboxMappingFactory.java} (97%) copy mailbox/opensearch/src/main/java/org/apache/james/mailbox/opensearch/query/{CriterionConverter.java => DefaultCriterionConverter.java} (60%) create mode 100644 mailbox/opensearch/src/test/resources/eml/attachments-filename-in-content-type.eml copy server/container/guice/{blob/api/src/main/java/org/apache/james/modules/mailbox/BlobStoreAPIModule.java => opensearch/src/main/java/org/apache/james/modules/mailbox/OpenSearchMailboxMappingModule.java} (67%) copy server/container/guice/{common/src/main/java/org/apache/james/utils/Startables.java => utils/src/main/java/org/apache/james/utils/GuiceLoader.java} (66%) create mode 100644 server/mailet/dkim/src/main/java/org/apache/james/jdkim/mailets/CRLFInputStream.java copy server/mailet/dkim/src/main/java/org/apache/james/jdkim/mailets/{DKIMSign.java => EncapsulatedDKIMSign.java} (79%) copy server/mailet/dkim/src/main/java/org/apache/james/jdkim/mailets/{DKIMVerifier.java => EncapsulatedDKIMVerifier.java} (68%) create mode 100644 server/mailet/dkim/src/test/java/org/apache/james/jdkim/mailets/CRLFInputStreamBenchmark.java create mode 100644 server/mailet/dkim/src/test/java/org/apache/james/jdkim/mailets/CRLFInputStreamTest.java copy server/mailet/dkim/src/test/java/org/apache/james/jdkim/mailets/{DKIMSignTest.java => EncapsulatedDKIMSignTest.java} (89%) create mode 100644 server/mailet/dkim/src/test/resources/long-multipart.msg create mode 100644 server/mailet/integration-testing/src/main/resources/jvm.properties copy server/mailet/rate-limiter-redis/src/main/java/org/apache/james/rate/limiter/redis/{RedisMasterReplicaRateLimiterFactory.java => RedisClusterRateLimiterFactory.java} (57%) create mode 100644 server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/resources/eml/attachment-filename-in-content-type.eml copy mailet/standard/src/test/java/org/apache/james/transport/matchers/HasMailAttributeTest.java => server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/probe/TypeStateProbe.scala (65%) create mode 100644 server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/EnforceHeaderLimitationsMessageHook.java create mode 100644 server/protocols/protocols-smtp/src/test/java/org/apache/james/smtpserver/EnforcedHeaderLimitationHookIntegrationTest.java copy server/protocols/protocols-smtp/src/test/resources/{smtpserver-futurerelease.xml => smtpserver-EnforceHeader.xml} (90%) create mode 100644 src/homepage/_posts/2025-05-21-jdKim0.5.markdown --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org