Branch: refs/heads/stable-14.10.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: b16309df82c9e193dbb6042d018931362271b01c
https://github.com/xwiki/xwiki-platform/commit/b16309df82c9e193dbb6042d0189…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-10-14 (Mon, 14 Oct 2024)
Changed paths:
M
xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-api/src/main/java/org/xwiki/attachment/internal/listener/MovedAttachmentListener.java
M
xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-api/src/test/java/org/xwiki/attachment/internal/listener/MovedAttachmentListenerTest.java
A
xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/main/java/org/xwiki/test/SleepScriptService.java
M
xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/main/resources/META-INF/components.txt
M
xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/test/it/org/xwiki/flamingo/test/docker/RenamePageIT.java
M
xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-pageobjects/src/main/java/org/xwiki/flamingo/skin/test/po/JobQuestionPane.java
M
xwiki-platform-core/xwiki-platform-job/xwiki-platform-job-webjar/src/main/webjar/jobRunner.js
M xwiki-platform-core/xwiki-platform-link/pom.xml
M xwiki-platform-core/xwiki-platform-link/src/main/java/org/xwiki/link/LinkStore.java
M
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/pom.xml
M
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/java/org/xwiki/refactoring/internal/listener/BackLinkUpdaterListener.java
A
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/java/org/xwiki/refactoring/internal/listener/LinkIndexingQuestion.java
A
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/java/org/xwiki/refactoring/internal/listener/LinkIndexingQuestionHandler.java
A
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/java/org/xwiki/refactoring/internal/listener/LinkIndexingWaitingHelper.java
M
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/java/org/xwiki/refactoring/job/EntityRequest.java
M
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/resources/ApplicationResources.properties
M
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/resources/META-INF/components.txt
A
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/resources/templates/job/question/org.xwiki.refactoring.internal.listener.LinkIndexingQuestion.vm
M
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/test/java/org/xwiki/refactoring/internal/listener/BackLinkUpdaterListenerTest.java
A
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/test/java/org/xwiki/refactoring/internal/listener/LinkIndexingQuestionHandlerTest.java
A
xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/test/java/org/xwiki/refactoring/internal/listener/LinkIndexingWaitingHelperTest.java
M
xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/DefaultSolrIndexer.java
M
xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/IndexOperation.java
A
xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/SolrIndexerReadyIndicator.java
M
xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/api/SolrIndexer.java
M
xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/metadata/DefaultLinkStore.java
A
xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/test/java/org/xwiki/search/solr/internal/SolrIndexerReadyIndicatorTest.java
M xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-api/pom.xml
A
xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-api/src/main/java/org/xwiki/store/ReadyIndicator.java
M
xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/TestUtils.java
Log Message:
-----------
XWIKI-22323: Refactoring operation should wait for the Solr index to be empty before
proceeding (#3403)
* Introduce a new ReadyIndicator interface that allows waiting for the
link index to become ready while getting a progress percentage.
* In the BackLinkUpdaterListener, wait for the index to become ready
when a job is active and display the indexing progress.
* Provide a ready indicator including indexing progress in the Solr
indexer.
* Modernize the jobRunner JavaScript code
* Continue polling the job status when the job is waiting to detect when
a question is answered in the background (by another browser tab or on
the server).
* Add support in entity requests to indicate if the job should wait for indexing to
finish.
* Ask the user after 10 seconds if the refactoring should wait for link
indexing to finish.
* Wait for link indexing before adapting links after moving attachments
* Add unit and integration tests.
* Adapt the code to Java 11 and older Mockito.
* Backport TestUtils#serializeLocalReference.
(cherry picked from commit 00b84404798009cae03518942b65a43e9f7a3308)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications