Branch: refs/heads/main Home: https://github.com/xwiki-contrib/application-changerequest Commit: e92d317aa155150bd62e96d20effb1338158899d https://github.com/xwiki-contrib/application-changerequest/commit/e92d317aa1... Author: Simon Urli <[email protected]> Date: 2026-09-30 (Wed, 30 Sep 2026) Changed paths: M application-changerequest-api/src/main/java/org/xwiki/contrib/changerequest/ChangeRequestConfiguration.java M application-changerequest-default/src/main/java/org/xwiki/contrib/changerequest/internal/DefaultChangeRequestConfiguration.java M application-changerequest-default/src/main/java/org/xwiki/contrib/changerequest/internal/listeners/DocumentRenamedListener.java M application-changerequest-default/src/test/java/org/xwiki/contrib/changerequest/internal/listeners/DocumentRenamedListenerTest.java M application-changerequest-default/src/test/java/org/xwiki/contrib/changerequest/internal/storage/DefaultChangeRequestStorageManagerTest.java M application-changerequest-test/application-changerequest-test-docker/src/test/it/org/xwiki/contrib/changerequest/test/ui/RefactoringChangeRequestIT.java M application-changerequest-test/application-changerequest-test-pageobjects/src/main/java/org/xwiki/contrib/changerequest/test/po/ExtendedViewPage.java M application-changerequest-ui/src/main/resources/ChangeRequest/Code/ChangeRequestTranslations.xml M application-changerequest-ui/src/main/resources/ChangeRequest/Code/Configuration.xml M application-changerequest-ui/src/main/resources/ChangeRequest/Code/ConfigurationClass.xml Log Message: ----------- CRAPP-435: Allow to refactor merge change request (#187) * Add a new `refactorMergedChangeRequests` configuration (off by default) allowing merged change requests to have their page references refactored when the concerned page is renamed or moved, without altering their content or status * Wire the new option into ChangeRequestConfiguration/DefaultChangeRequestConfiguration and the admin configuration page * Update DocumentRenamedListener to only refactor merged change requests when the option is enabled, skipping the filtering pass over the change requests entirely when the option is enabled * Add a regression test locking in that the status of a merged change request is preserved when its file changes are refactored * Add/extend a Docker integration test covering the refactoring of a merged change request, including a page creation, a page deletion, a live edit performed after the merge, and validation of the resulting diff * Grant the delete right on the page to delete in RefactoringChangeRequestIT#refactoringMergedChangeRequestWhenConfigurationEnabled, since merging a deletion requires it, and request the deletion from the standard delete page accordingly * Check the change request is ready for publication and the merge button enabled before merging * Fix the expectation on the outdated label: the diff of a merged change request is never flagged as outdated; check instead that it doesn't contain the edit performed after the merge * Fix the id of the standard delete menu entry in ExtendedViewPage (tmActionDelete) --------- Co-authored-by: Claude Sonnet 5 <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/application-changerequest/settings/notifica...