Branch: refs/heads/XWIKI-17243 Home: https://github.com/xwiki/xwiki-platform Commit: df031f032937cb17e9d72ef1507a5d8a81c3576c https://github.com/xwiki/xwiki-platform/commit/df031f032937cb17e9d72ef1507a5... Author: Simon Urli <[email protected]> Date: 2023-12-27 (Wed, 27 Dec 2023) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/pom.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 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 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 * 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 Commit: e726054b807d39f6e3ae1ac190a9da35a5a37ca6 https://github.com/xwiki/xwiki-platform/commit/e726054b807d39f6e3ae1ac190a9d... Author: Simon Urli <[email protected]> Date: 2023-12-27 (Wed, 27 Dec 2023) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/checkstyle/checkstyle-suppressions.xml M 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 Log Message: ----------- XWIKI-17243: Migrate WatchListClass objects to the new Notifications filter storage * Fix error in the migration * Use a TaskConsumer for performing final clean up of the objects Commit: 5719ab5db12b3c5f4d03db6b993ba5ed6915f4c8 https://github.com/xwiki/xwiki-platform/commit/5719ab5db12b3c5f4d03db6b993ba... Author: Simon Urli <[email protected]> Date: 2023-12-27 (Wed, 27 Dec 2023) Changed paths: M 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-watch/src/test/java/org/xwiki/notifications/filters/watch/internal/DefaultWatchedEntitiesConfigurationTest.java Log Message: ----------- XWIKI-17243: Migrate WatchListClass objects to the new Notifications filter storage * 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 Compare: https://github.com/xwiki/xwiki-platform/compare/529871e71995...5719ab5db12b