Branch: refs/heads/claude/clever-feynman-7iv5wo Home: https://github.com/xwiki/xwiki-platform Commit: 8a18f8b59c0abe94193c3982187de1c42321524c https://github.com/xwiki/xwiki-platform/commit/8a18f8b59c0abe94193c3982187de... Author: Vincent Massol <[email protected]> Date: 2026-08-04 (Tue, 04 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/pom.xml M xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/test/java/org/xwiki/uiextension/script/UIExtensionScriptServiceTest.java Log Message: ----------- [Misc] Fix lowered jacoco coverage by adding one more unit test The likely trigger is commit b3c2a609e4d ([Misc] Apply the logging best practices…). In UIExtensionScriptService:130-132 it changed a 2-arg logger.warn(...) into a 3-arg call with ExceptionUtils.getRootCauseMessage(e). That call sits in a never-covered catch block, and the varargs form compiles to an Object[] construction — roughly 20 uncovered instructions where there were ~6. The module was sitting at ~0.893, barely above the 0.89 floor, so those extra uncovered instructions pushed it under. Commit: 770cf317135b2f8f898e131f167a78c1cab95188 https://github.com/xwiki/xwiki-platform/commit/770cf317135b2f8f898e131f167a7... Author: Vincent Massol <[email protected]> Date: 2026-08-04 (Tue, 04 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-webjars/xwiki-platform-webjars-api/src/test/java/org/xwiki/webjars/internal/WebJarsResourceReferenceHandlerTest.java Log Message: ----------- [Misc] Fix the WebJars test broken by the resource-servlet logging change Commit: bfbbf448d8c3da9823a23f317d433b16ec53b3b3 https://github.com/xwiki/xwiki-platform/commit/bfbbf448d8c3da9823a23f317d433... Author: Vincent Massol <[email protected]> Date: 2026-08-04 (Tue, 04 Aug 2026) Changed paths: A xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/test/java/org/xwiki/uiextension/internal/DefaultUIExtensionManagerTest.java Log Message: ----------- [Misc] Add the DefaultUIExtensionManager test missing from the coverage fix Commit 8a18f8b59c0 raised xwiki.jacoco.instructionRatio to 0.94 but only committed the UIExtensionScriptServiceTest change, so CI measured 0.90 and the jacoco-check rule failed. With this test class the module reaches 0.95. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: f77cbcfebbb4e49acdaff6847397cf1c8caba2a7 https://github.com/xwiki/xwiki-platform/commit/f77cbcfebbb4e49acdaff6847397c... Author: Vincent Massol <[email protected]> Date: 2026-08-05 (Wed, 05 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/RegisterAction.java Log Message: ----------- [Misc] Fix bad order caused by a previous commit related to logging changes Commit: 52f1fe313df300dcd6301c10474720bac6cc10d7 https://github.com/xwiki/xwiki-platform/commit/52f1fe313df300dcd6301c1047472... Author: Vincent Massol <[email protected]> Date: 2026-08-05 (Wed, 05 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/java/com/xpn/xwiki/web/JsxAction.java Log Message: ----------- [Misc] Fix bad order caused by a previous commit related to logging changes Same issue as f77cbcfebbb, in JsxAction: converting the static LOGGER to an injected one left an instance field ahead of two static finals. Found by sweeping every module of the logging passes with the checkstyle.xml ruleset. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: b9f72df76b6ff1ea63446559f25ad4718cc1a7ef https://github.com/xwiki/xwiki-platform/commit/b9f72df76b6ff1ea63446559f25ad... Author: Thomas Mortagne <[email protected]> Date: 2026-08-05 (Wed, 05 Aug 2026) Changed paths: R xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/user/UserAuthenticatedEventNotifier.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/impl/xwiki/MyBasicAuthenticator.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/impl/xwiki/MyFormAuthenticator.java A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/authentication/DefaultUserAuthenticatedEventNotifier.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-api/pom.xml A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-api/src/main/java/org/xwiki/security/authentication/UserAuthenticatedEventNotifier.java Log Message: ----------- XWIKI-24659: Provider a public helper to sent events about authenticated users Commit: d11e545e960defd3afce7c4108b9340e5f673b9b https://github.com/xwiki/xwiki-platform/commit/d11e545e960defd3afce7c4108b93... Author: Thomas Mortagne <[email protected]> Date: 2026-08-05 (Wed, 05 Aug 2026) Changed paths: A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/user/UserAuthenticatedListener.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-test/xwiki-platform-security-authentication-test-docker/src/test/it/org/xwiki/security/authentication/test/ui/AuthenticateIT.java Log Message: ----------- XWIKI-14985: Improve session management Commit: b405b5c28da170a9288c2acdcaf3c2d6597423d9 https://github.com/xwiki/xwiki-platform/commit/b405b5c28da170a9288c2acdcaf3c... Author: Thomas Mortagne <[email protected]> Date: 2026-08-05 (Wed, 05 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-test/xwiki-platform-security-authentication-test-docker/src/test/it/org/xwiki/security/authentication/test/ui/AllIT.java Log Message: ----------- XWIKI-14985: Improve session management * properly enable the test Commit: 137b7a01db05595afec6cf0c4a7dc574051dbe26 https://github.com/xwiki/xwiki-platform/commit/137b7a01db05595afec6cf0c4a7dc... Author: Thomas Mortagne <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M pom.xml Log Message: ----------- XWIKI-24663: Upgrade to Netty 4.2.17.Final Commit: da7b5df9e217765f2d96049cac6df2ba9138fde5 https://github.com/xwiki/xwiki-platform/commit/da7b5df9e217765f2d96049cac6df... Author: Thomas Mortagne <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M pom.xml Log Message: ----------- XWIKI-24605: Upgrade to Greenmail 2.1.12 Commit: 97693b99ab62a50f43c2cfc3e70b382be67980b5 https://github.com/xwiki/xwiki-platform/commit/97693b99ab62a50f43c2cfc3e70b3... Author: Thomas Mortagne <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M pom.xml Log Message: ----------- XWIKI-24664: Upgrade the standalone packaging to Jetty 12.1.12 Commit: c61e8fd62fa8d78bf5c03c15b466f918470e32c6 https://github.com/xwiki/xwiki-platform/commit/c61e8fd62fa8d78bf5c03c15b466f... Author: Thomas Mortagne <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/pom.xml Log Message: ----------- XWIKI-24597: Upgrade to Simple Java Mail 9.1.5 Commit: f3f9259ef52c608e7f078743701b0a624114d0cd https://github.com/xwiki/xwiki-platform/commit/f3f9259ef52c608e7f078743701b0... Author: Thomas Mortagne <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M pom.xml M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/StandardHQLCompleteStatementValidator.java M xwiki-platform-core/xwiki-platform-query/xwiki-platform-query-manager/src/main/java/org/xwiki/query/internal/EscapeLikeParametersQuery.java Log Message: ----------- XWIKI-21286: Upgrade to JSqlParser 5.3 * adapt to the removal of SelectBody: PlainSelect now extends Select directly * adapt to Statements and ExpressionList exposing the List API, making getStatements() and getExpressions() obsolete * adapt to SelectItem becoming a generic class, replacing SelectExpressionItem * adapt to the reworked visitors, taking a context and returning a result * return early when a function is called without any parameter, since Function#getParameters() is null in that case Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: e6b0cfd19eaafa695e26a9cb1496f3f6e7403487 https://github.com/xwiki/xwiki-platform/commit/e6b0cfd19eaafa695e26a9cb1496f... Author: Thomas Mortagne <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-rest/xwiki-platform-user-rest-default/src/main/java/org/xwiki/user/rest/internal/document/DocumentUserReferenceModelSerializer.java M xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-rest/xwiki-platform-user-rest-default/src/test/java/org/xwiki/user/rest/internal/document/DocumentUserReferenceModelSerializerTest.java Log Message: ----------- XWIKI-24624: Impossible to use the current user REST endpoint with superadmin * fix wrong component Commit: f68b280b0038b435f209bb4cc1093c498edc59c6 https://github.com/xwiki/xwiki-platform/commit/f68b280b0038b435f209bb4cc1093... Author: Vincent Massol <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-xml/xwiki-platform-xml-script/pom.xml M xwiki-platform-core/xwiki-platform-xml/xwiki-platform-xml-script/src/main/java/org/xwiki/xml/script/XMLScriptService.java M xwiki-platform-core/xwiki-platform-xml/xwiki-platform-xml-script/src/test/java/org/xwiki/xml/script/XMLScriptServiceTest.java Log Message: ----------- XWIKI-24665: Fix the lowered jacoco coverage of xwiki-platform-xml-script Rewriting the catch block of XMLScriptService added instructions to code no unit test reached, which took the module's instruction ratio from 0.96 down to 0.95 and failed the jacoco check. That catch block could not have logged anything anyway: the logger is injected after construction, so a DOMImplementationRegistry failure raised a NullPointerException instead of a warning. The DOM implementation lookup now happens in initialize(), which runs once the logger is available, and a new test makes the lookup fail and asserts the warning. The module is at 100% instruction coverage, and the ratio is raised accordingly. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: 5982b0b8851b7ba006252267b823de04d9914ceb https://github.com/xwiki/xwiki-platform/commit/5982b0b8851b7ba006252267b823d... Author: Simon Urli <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/email/UserAvatarAttachmentExtractor.java Log Message: ----------- XWIKI-24662: "Wiki part of XClass reference is wrong" warning when an email notifications job is triggered on a subwiki * Use the dedicated LocalDocumentReference for XWikiUsers xclass so that it's properly resolved when accessing objects Commit: a867cee13dcc8c1bef91dbb586ca6363dac9819a https://github.com/xwiki/xwiki-platform/commit/a867cee13dcc8c1bef91dbb586ca6... Author: Vincent Massol <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-stores/xwiki-platform-eventstream-store-common/src/main/java/org/xwiki/eventstream/store/internal/DocumentEventListener.java Log Message: ----------- XWIKI-24665: Apply the logging best practices across commons, rendering and platform * Log a failure to save an event stream event as an error carrying its stack trace, instead of a warning carrying only the root cause: the event is lost and nothing else records it, so the failure prevents an important system from working Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: 08e043feb30043ed657d48421103dd0e27583a4d https://github.com/xwiki/xwiki-platform/commit/08e043feb30043ed657d48421103d... Author: Vincent Massol <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-creationjob/src/main/java/org/xwiki/platform/wiki/creationjob/script/WikiCreationJobScriptServices.java M xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-creationjob/src/test/java/org/xwiki/platform/wiki/creationjob/script/WikiCreationJobScriptServicesTest.java Log Message: ----------- XWIKI-24665: Apply the logging best practices across commons, rendering and platform * Log a wiki creation failure as an error carrying its stack trace: wiki creation is an important system and a failure leaves the new wiki half created * The failure is also kept as the script service's last error for the UI, but that only exposes the message, so the log is the only place where the cause can be found Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: 72d3c126c9db4481c19d0db9b23dbd19a066cd11 https://github.com/xwiki/xwiki-platform/commit/72d3c126c9db4481c19d0db9b23db... Author: Vincent Massol <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWikiContext.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiAttachment.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/store/AbstractXWikiStore.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/TestUtils.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/XWikiWebDriver.java Log Message: ----------- XWIKI-24665: Apply the logging best practices across commons, rendering and platform * Restore the throwable as the trailing SLF4J argument in TestUtils (x2), XWikiWebDriver, XWikiContext, XWikiAttachment and AbstractXWikiStore, instead of inlining the trace into the message through ExceptionUtils.getStackTrace() * A throwable given as the last argument reaches a structured field: ILoggingEvent's throwable proxy, XWiki's own LogEvent throwable, and the stack trace field of the ECS and OpenTelemetry encoders. Whoever renders the log then decides whether to show the trace, the way the job log displayer shows the root cause and keeps the trace one click away. A trace inlined in the message is dumped in full as unformatted text and leaves that field empty for every consumer * The three call stack markers keep their synthetic exception, now passed as a throwable as well Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: 7d8554fec6489c6a2a595db18dfff06cee3f6501 https://github.com/xwiki/xwiki-platform/commit/7d8554fec6489c6a2a595db18dfff... Author: Vincent Massol <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-url/xwiki-platform-url-default/src/main/java/org/xwiki/url/internal/DefaultURLSecurityManager.java M xwiki-platform-core/xwiki-platform-url/xwiki-platform-url-default/src/test/java/org/xwiki/url/internal/DefaultURLSecurityManagerTest.java Log Message: ----------- XWIKI-24665: Apply the logging best practices across commons, rendering and platform * Restore the warning plus debug pair in DefaultURLSecurityManager instead of a single error with the stack trace: an unparsable URI comes from the request, so it can be hit on every request and there is nothing an administrator can fix * The root cause is in the warning so the message alone is diagnosable, and the full trace stays available at the debug level * Update DefaultURLSecurityManagerTest for the new messages Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: 0f2b18576d914125558d991ea17ba2d6f5643acc https://github.com/xwiki/xwiki-platform/commit/0f2b18576d914125558d991ea17ba... Author: Vincent Massol <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/src/main/java/com/xpn/xwiki/notify/XWikiPageNotification.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/template/InternalTemplateManager.java M xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-default/src/main/java/org/xwiki/wiki/internal/provisioning/DefaultWikiCopier.java Log Message: ----------- XWIKI-24665: Apply the logging best practices across commons, rendering and platform * XWikiPageNotification: restore the XWikiException wrapping. Its getFullMessage() already prints the stack trace, and its getMessage() prefixes the module and the error number, both of which a plain error(message, throwable) drops * DefaultWikiCopier: log the wrapping exception's own message again instead of a literal that duplicates it * InternalTemplateManager: drop the root cause from the path traversal warning, which describes where the check tripped rather than why the request was rejected. The diagnosis is the template name, which the message already gives Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: 9ce3807368622aa760f874047766eec0e14e0bd2 https://github.com/xwiki/xwiki-platform/commit/9ce3807368622aa760f874047766e... Author: Vincent Massol <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-query/xwiki-platform-query-manager/src/main/java/org/xwiki/query/internal/DefaultQuery.java Log Message: ----------- XWIKI-24665: Apply the logging best practices across commons, rendering and platform * Convert the query filter logged by DefaultQuery to a String at the call site: a log statement captured in a job status is XStream serialized, and an argument whose class cannot be resolved when the status is read back is dropped entirely. A query filter can come from an extension, so its class is exactly the kind that fails to resolve Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: 1fbd110d7c8c5356beb8e6b45cd008a9882510c4 https://github.com/xwiki/xwiki-platform/commit/1fbd110d7c8c5356beb8e6b45cd00... Author: Thomas Mortagne <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/RepositoryManager.java Log Message: ----------- XWIKI-24666: Wrong version index when some version pages already exist Commit: b35bd5a3bb943beddcd5bed4468c249433fae561 https://github.com/xwiki/xwiki-platform/commit/b35bd5a3bb943beddcd5bed4468c2... Author: Thomas Mortagne <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-ui/src/main/resources/ExtensionCode/ProjectVersionSheet.xml Log Message: ----------- XWIKI-24667: The projeect version page title does not make much sense Commit: e60ae31b76ebfc5a2929c808ebddd27513192bc1 https://github.com/xwiki/xwiki-platform/commit/e60ae31b76ebfc5a2929c808ebddd... Author: Thomas Mortagne <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-ui/src/main/resources/ExtensionCode/ProjectVersionSheet.xml Log Message: ----------- XWIKI-24667: The project version page title does not make much sense Commit: 5742cbe072ca0378f86ba782754c7f0f4b84e06d https://github.com/xwiki/xwiki-platform/commit/5742cbe072ca0378f86ba782754c7... Author: Vincent Massol <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-api/src/test/java/org/xwiki/attachment/MoveStatusPagesTest.java M xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-api/src/test/java/org/xwiki/attachment/internal/DefaultAttachmentsManagerTest.java M xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-validation/xwiki-platform-attachment-validation-default/src/test/java/org/xwiki/attachment/validation/internal/step/MimetypeAttachmentValidationStepTest.java M xwiki-platform-core/xwiki-platform-configuration/xwiki-platform-configuration-default/src/test/java/org/xwiki/configuration/internal/DocumentsConfigurationSourceTest.java M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-events-hibernate/xwiki-platform-legacy-events-hibernate-api/src/test/java/org/xwiki/notifications/sources/internal/AbstractQueryGeneratorTest.java M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-notifications/xwiki-platform-legacy-notifications-notifiers/xwiki-platform-legacy-notifications-notifiers-api/src/test/java/org/xwiki/notifications/notifiers/internal/email/live/LiveNotificationEmailSenderTest.java M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/src/test/java/com/xpn/xwiki/web/TempResourceActionTest.java M xwiki-platform-core/xwiki-platform-lesscss/xwiki-platform-lesscss-default/src/test/java/org/xwiki/lesscss/internal/compiler/less4j/Less4jCompilerTest.java M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-livetable/src/test/java/org/xwiki/livedata/internal/livetable/LiveTableLiveDataResultsRendererTest.java M xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-sources/xwiki-platform-localization-source-wiki/src/test/java/org/xwiki/localization/wiki/internal/DocumentTranslationBundleFactoryTest.java M xwiki-platform-core/xwiki-platform-logging/xwiki-platform-logging-ui/src/test/java/org/xwiki/logging/LoggingAdminPageTest.java M xwiki-platform-core/xwiki-platform-mentions/xwiki-platform-mentions-notifications/src/test/java/org/xwiki/mentions/templates/MentionPageTest.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-watch/src/test/java/org/xwiki/notifications/filters/watch/WatchedLocationReferenceTest.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-rest/src/test/java/org/xwiki/notifications/rest/internal/DefaultNotificationsResourceTest.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-sources/src/test/java/org/xwiki/notifications/sources/internal/AbstractQueryGeneratorTest.java M xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/internal/metadata/DocumentSolrMetadataExtractorTest.java M xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-default/src/test/java/org/xwiki/uiextension/WikiUIExtensionComponentBuilderTest.java M xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-default/src/test/java/org/xwiki/uiextension/WikiUIExtensionParametersTest.java M xwiki-platform-core/xwiki-platform-websocket/src/test/java/org/xwiki/websocket/internal/DefaultWebSocketContextTest.java M xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-ui/xwiki-platform-wiki-ui-mainwiki/src/test/java/org/xwiki/wiki/WikiManagerPageTest.java M xwiki-platform-core/xwiki-platform-xclass/xwiki-platform-xclass-ui/src/test/java/org/xwiki/xclass/ClassSheetPageTest.java M xwiki-platform-core/xwiki-platform-zipexplorer/src/test/java/com/xpn/xwiki/plugin/zipexplorer/ZipExplorerTest.java Log Message: ----------- [Misc] Use the type-inferred mock() form for the extracted mock variables * The extracted local declares the type explicitly, so the class literal repeats it: use Mockito's type-inferred mock() instead (Foo fooMock = mock();). * Applies to the 33 declarations that still carried a class literal; the 12 others (the generic types and the sites whose original was already mock()) already used this form. Co-Authored-By: Vincent Massol <[email protected]> Commit: f52719add7aee4883a7bcaa07f0e4cadda35bad6 https://github.com/xwiki/xwiki-platform/commit/f52719add7aee4883a7bcaa07f0e4... Author: Claude <[email protected]> Date: 2026-08-06 (Thu, 06 Aug 2026) Changed paths: M pom.xml M xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-stores/xwiki-platform-eventstream-store-common/src/main/java/org/xwiki/eventstream/store/internal/DocumentEventListener.java M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/src/main/java/com/xpn/xwiki/notify/XWikiPageNotification.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/email/UserAvatarAttachmentExtractor.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/pom.xml M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWikiContext.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiAttachment.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/store/AbstractXWikiStore.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/template/InternalTemplateManager.java R xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/user/UserAuthenticatedEventNotifier.java A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/user/UserAuthenticatedListener.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/impl/xwiki/MyBasicAuthenticator.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/impl/xwiki/MyFormAuthenticator.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/RegisterAction.java A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/authentication/DefaultUserAuthenticatedEventNotifier.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/StandardHQLCompleteStatementValidator.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt M xwiki-platform-core/xwiki-platform-query/xwiki-platform-query-manager/src/main/java/org/xwiki/query/internal/DefaultQuery.java M xwiki-platform-core/xwiki-platform-query/xwiki-platform-query-manager/src/main/java/org/xwiki/query/internal/EscapeLikeParametersQuery.java M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/RepositoryManager.java M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-ui/src/main/resources/ExtensionCode/ProjectVersionSheet.xml M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-api/pom.xml A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-api/src/main/java/org/xwiki/security/authentication/UserAuthenticatedEventNotifier.java M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-test/xwiki-platform-security-authentication-test-docker/src/test/it/org/xwiki/security/authentication/test/ui/AllIT.java A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-test/xwiki-platform-security-authentication-test-docker/src/test/it/org/xwiki/security/authentication/test/ui/AuthenticateIT.java M xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/java/com/xpn/xwiki/web/JsxAction.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/TestUtils.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/XWikiWebDriver.java M xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/pom.xml A xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/test/java/org/xwiki/uiextension/internal/DefaultUIExtensionManagerTest.java M xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/test/java/org/xwiki/uiextension/script/UIExtensionScriptServiceTest.java M xwiki-platform-core/xwiki-platform-url/xwiki-platform-url-default/src/main/java/org/xwiki/url/internal/DefaultURLSecurityManager.java M xwiki-platform-core/xwiki-platform-url/xwiki-platform-url-default/src/test/java/org/xwiki/url/internal/DefaultURLSecurityManagerTest.java M xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-rest/xwiki-platform-user-rest-default/src/main/java/org/xwiki/user/rest/internal/document/DocumentUserReferenceModelSerializer.java M xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-rest/xwiki-platform-user-rest-default/src/test/java/org/xwiki/user/rest/internal/document/DocumentUserReferenceModelSerializerTest.java M xwiki-platform-core/xwiki-platform-webjars/xwiki-platform-webjars-api/src/test/java/org/xwiki/webjars/internal/WebJarsResourceReferenceHandlerTest.java M xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-creationjob/src/main/java/org/xwiki/platform/wiki/creationjob/script/WikiCreationJobScriptServices.java M xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-creationjob/src/test/java/org/xwiki/platform/wiki/creationjob/script/WikiCreationJobScriptServicesTest.java M xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-default/src/main/java/org/xwiki/wiki/internal/provisioning/DefaultWikiCopier.java M xwiki-platform-core/xwiki-platform-xml/xwiki-platform-xml-script/pom.xml M xwiki-platform-core/xwiki-platform-xml/xwiki-platform-xml-script/src/main/java/org/xwiki/xml/script/XMLScriptService.java M xwiki-platform-core/xwiki-platform-xml/xwiki-platform-xml-script/src/test/java/org/xwiki/xml/script/XMLScriptServiceTest.java Log Message: ----------- Merge remote-tracking branch 'origin/master' into claude/clever-feynman-7iv5wo Compare: https://github.com/xwiki/xwiki-platform/compare/aae5c8697e88...f52719add7ae To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications