Branch: refs/heads/XWIKI-21448
Home: https://github.com/xwiki/xwiki-platform
Commit: 91ea18dc23a836c8f395c75798adf27318751e77
https://github.com/xwiki/xwiki-platform/commit/91ea18dc23a836c8f395c75798ad…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths:
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/DeletedDocumentCleanUpFilterListener.java
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/DeletedDocumentCleanUpFilterProcessingQueue.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/UserEventDispatcher.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/UserEventManager.java
Log Message:
-----------
XWIKI-21448: Notification filter preferences are not cleaned when a page is deleted
* Continue improvments on first design
Branch: refs/heads/main
Home: https://github.com/xwiki-contrib/application-discussions
Commit: 37e8d8950bd79c83e05fbe4ae837ce5217f8b9fb
https://github.com/xwiki-contrib/application-discussions/commit/37e8d8950bd…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths:
M discussions-store/discussions-store-api/src/main/java/org/xwiki/contrib/discussions/store/meta/DiscussionContextMetadata.java
M discussions-store/discussions-store-default/pom.xml
A discussions-store/discussions-store-default/src/main/java/org/xwiki/contrib/discussions/store/internal/DiscussionRedirectionFilter.java
M discussions-store/discussions-store-default/src/main/java/org/xwiki/contrib/discussions/store/internal/DocumentRedirectionManager.java
A discussions-store/discussions-store-default/src/main/java/org/xwiki/contrib/discussions/store/internal/initializer/DiscussionRedirectXClassInitializer.java
M discussions-store/discussions-store-default/src/main/resources/META-INF/components.txt
A discussions-store/discussions-store-default/src/test/java/org/xwiki/contrib/discussions/store/internal/DiscussionRedirectionFilterTest.java
M discussions-store/discussions-store-default/src/test/java/org/xwiki/contrib/discussions/store/internal/DocumentRedirectionManagerTest.java
Log Message:
-----------
DISCUSSION-48: Attachments are not displayed in message when the discussion uses a redirect
Change implementation of the redirect to not rely on a standard XWiki.Redirect class, but instead rely on a custom Discussion.Redirect class, which is handled by its own RedirectionFilter: this component is performing a redirect only if the user tries to access the page in view, letting any other action to be performed directly on the resource (such as download).