Branch: refs/heads/master
Home:
https://github.com/xwiki/xwiki-platform
Commit: aa8d7045cf73b3e17e5917d241474e78641fddb0
https://github.com/xwiki/xwiki-platform/commit/aa8d7045cf73b3e17e5917d24147…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2023-12-27 (Wed, 27 Dec 2023)
Changed paths:
M
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/pom.xml
M
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/checkstyle/checkstyle-suppressions.xml
A
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/migration/R160000000XWIKI17243DataMigration.java
A
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/migration/WatchListObjectsRemovalTaskConsumer.java
M
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/resources/META-INF/components.txt
M
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-watch/src/main/java/org/xwiki/notifications/filters/watch/internal/DefaultWatchedEntitiesConfiguration.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/internal/DefaultWatchedEntitiesConfigurationTest.java
R
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-watchlistbridge/pom.xml
R
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-watchlistbridge/src/main/java/org/xwiki/notifications/filters/watchlistbridge/internal/WatchlistBridgeProvider.java
R
xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-watchlistbridge/src/main/resources/META-INF/components.txt
M xwiki-platform-distribution/xwiki-platform-distribution-war-dependencies/pom.xml
Log Message:
-----------
XWIKI-17243: Migrate WatchListClass objects to the new Notifications filter storage
(#2726)
* Add a new migration to properly save the old WatchListClass objects
as filter preferences using the NotificationFilterPreferenceStore
* Reuse the logic provided in the old bridge for performing the
migration
* Get rid of the the watchlistbridge module as it was only containing
the component for performing the bridge
* Fix error in the migration
* Use a TaskConsumer for performing final clean up of the objects
* Migrate autowatch property to a new Autowatch xobject whenever
that one doesn't exist and there's a WatchListClass xobject before
removing it, as we use to fallback on those xobject properties in
DefaultWatchEntitiesConfiguration
* Fix test DefaultWatchEntitiesConfiguration and refactor it