Branch: refs/heads/stable-16.4.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 770c0f994b834525ea8c5d93bcb13d599670ebe6
https://github.com/xwiki/xwiki-platform/commit/770c0f994b834525ea8c5d93bcb1…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ComputedFieldClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DBListClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultBaseClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/PropertyClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XClassWikiContentAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XWikiDocumentRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/display/BaseCollectionBlockSupplierProvider.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/display/BaseObjectBlockSupplierProvider.java
R xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/display/XObjectDisplayerProvider.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultBaseClassRequiredRightAnalyzerTest.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XWikiDocumentRequiredRightAnalyzerTest.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/display/BaseCollectionBlockSupplierProviderTest.java
R xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/display/XObjectDisplayerProviderTest.java
Log Message:
-----------
XWIKI-22476: Introduce a required rights analyzer for BaseClass
* Add an implementation for RequiredRightAnalyzer<BaseClass>.
* Call the new analyzer in the document analyzer.
* Add a helper for analyzing wiki content in XClass definitions.
* Introduce an analyzer per property type and call the first one that
matches.
* Add a block supplier provider that supports XClass.
* Add tests.
(cherry picked from commit 385bde985cdb61ebf315d30c0b144b6d2e2c2d45)
Commit: e292592b8e1c5be1758da9b1d4b726d3717a58f5
https://github.com/xwiki/xwiki-platform/commit/e292592b8e1c5be1758da9b1d4b7…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ConfigurableClassRequiredRightsAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ObjectPropertyRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/META-INF/components.txt
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ConfigurableClassRequiredRightsAnalyzerTest.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzerTest.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ObjectPropertyRequiredRightAnalyzerTest.java
Log Message:
-----------
[Misc] Refactor required rights analyzers to reduce code duplication
(cherry picked from commit 9bdeb82bc17a9ac63da751c6e5665a63731a53ce)
Commit: 4a23c12e0f649d11345d27e845afe28e5d19548f
https://github.com/xwiki/xwiki-platform/commit/4a23c12e0f649d11345d27e845af…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/pom.xml
A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/java/org/xwiki/eventstream/internal/EventClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/test/java/org/xwiki/eventstream/internal/EventClassRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22461: XWiki.EventStream.Code.EventClass is missing a required rights analyzer
* Add a required rights analyzer for XWiki.EventStream.Code.EventClass.
* Add a unit test.
* Replace duplicated string literals across classes by constants.
(cherry picked from commit 521a1343fba4836486d1b0d4c7e28b976809da9d)
Commit: bdf0f1ca40d5ad7e474aad0f6562bbcd6de3a5a5
https://github.com/xwiki/xwiki-platform/commit/bdf0f1ca40d5ad7e474aad0f6562…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/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/internal/XWikiNotificationFilterDisplayerRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/test/java/org/xwiki/notifications/filters/internal/XWikiNotificationFilterDisplayerRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22469: Add a required rights analyzer for XWiki.Notifications.Code.NotificationFilterDisplayerClass
(cherry picked from commit e70468d227e82c0710b4e23b364cbfe1049bfe9a)
Commit: 1a9a97270317f030d54c2bd6e3f1b4a65dc01e8b
https://github.com/xwiki/xwiki-platform/commit/1a9a97270317f030d54c2bd6e3f1…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
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/email/WikiEmailNotificationRendererRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/email/WikiEmailNotificationRendererRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22471: Add a required rights analyzer for XWiki.Notifications.Code.NotificationEmailRendererClass
(cherry picked from commit 3d96bf3ceb167bf0213d63f0be1f7e1732eb0a92)
Commit: 45707e81b9ddca92b293e149e33e8890bf8bf770
https://github.com/xwiki/xwiki-platform/commit/45707e81b9ddca92b293e149e33e…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/WikiNotificationDisplayerRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/WikiNotificationDisplayerRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22470: Add a required rights analyzer for XWiki.Notifications.Code.NotificationDisplayerClass
* Simplify the code by using ObjectPropertyRequiredRightAnalyzer.
* Add missing since-versions.
(cherry picked from commit f07073f10bc5bd09588bf3dea1be377da2992cfe)
Compare: https://github.com/xwiki/xwiki-platform/compare/9c17bc89b4e4...45707e81b9dd
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/stable-16.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: e18ca379635de212dd8b8679e87ede9980748da9
https://github.com/xwiki/xwiki-platform/commit/e18ca379635de212dd8b8679e87e…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ComputedFieldClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DBListClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultBaseClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/PropertyClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XClassWikiContentAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XWikiDocumentRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/display/BaseCollectionBlockSupplierProvider.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/display/BaseObjectBlockSupplierProvider.java
R xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/display/XObjectDisplayerProvider.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultBaseClassRequiredRightAnalyzerTest.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XWikiDocumentRequiredRightAnalyzerTest.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/display/BaseCollectionBlockSupplierProviderTest.java
R xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/display/XObjectDisplayerProviderTest.java
Log Message:
-----------
XWIKI-22476: Introduce a required rights analyzer for BaseClass
* Add an implementation for RequiredRightAnalyzer<BaseClass>.
* Call the new analyzer in the document analyzer.
* Add a helper for analyzing wiki content in XClass definitions.
* Introduce an analyzer per property type and call the first one that
matches.
* Add a block supplier provider that supports XClass.
* Add tests.
(cherry picked from commit 385bde985cdb61ebf315d30c0b144b6d2e2c2d45)
Commit: a8d75fdfee9d269c22f2de72ff64b31f750a54d8
https://github.com/xwiki/xwiki-platform/commit/a8d75fdfee9d269c22f2de72ff64…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ConfigurableClassRequiredRightsAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ObjectPropertyRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/META-INF/components.txt
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ConfigurableClassRequiredRightsAnalyzerTest.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzerTest.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ObjectPropertyRequiredRightAnalyzerTest.java
Log Message:
-----------
[Misc] Refactor required rights analyzers to reduce code duplication
(cherry picked from commit 9bdeb82bc17a9ac63da751c6e5665a63731a53ce)
Commit: b7fe77fea9bb1ff2d4dc4d2e3d99031934d2ad76
https://github.com/xwiki/xwiki-platform/commit/b7fe77fea9bb1ff2d4dc4d2e3d99…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/pom.xml
A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/java/org/xwiki/eventstream/internal/EventClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/test/java/org/xwiki/eventstream/internal/EventClassRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22461: XWiki.EventStream.Code.EventClass is missing a required rights analyzer
* Add a required rights analyzer for XWiki.EventStream.Code.EventClass.
* Add a unit test.
* Replace duplicated string literals across classes by constants.
(cherry picked from commit 521a1343fba4836486d1b0d4c7e28b976809da9d)
Commit: 03b04945d51925fbc98b94cce93bd1f4782580ee
https://github.com/xwiki/xwiki-platform/commit/03b04945d51925fbc98b94cce93b…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/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/internal/XWikiNotificationFilterDisplayerRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/test/java/org/xwiki/notifications/filters/internal/XWikiNotificationFilterDisplayerRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22469: Add a required rights analyzer for XWiki.Notifications.Code.NotificationFilterDisplayerClass
(cherry picked from commit e70468d227e82c0710b4e23b364cbfe1049bfe9a)
Commit: 4c8f357e6b11d135b82c6e87aaa42a67e9d1ed5b
https://github.com/xwiki/xwiki-platform/commit/4c8f357e6b11d135b82c6e87aaa4…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
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/email/WikiEmailNotificationRendererRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/email/WikiEmailNotificationRendererRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22471: Add a required rights analyzer for XWiki.Notifications.Code.NotificationEmailRendererClass
(cherry picked from commit 3d96bf3ceb167bf0213d63f0be1f7e1732eb0a92)
Commit: 67f614e23adf3e0b5690c9836768226c14daa015
https://github.com/xwiki/xwiki-platform/commit/67f614e23adf3e0b5690c9836768…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/WikiNotificationDisplayerRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/WikiNotificationDisplayerRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22470: Add a required rights analyzer for XWiki.Notifications.Code.NotificationDisplayerClass
* Simplify the code by using ObjectPropertyRequiredRightAnalyzer.
* Add missing since-versions.
(cherry picked from commit f07073f10bc5bd09588bf3dea1be377da2992cfe)
Compare: https://github.com/xwiki/xwiki-platform/compare/13da50180330...67f614e23adf
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: 385bde985cdb61ebf315d30c0b144b6d2e2c2d45
https://github.com/xwiki/xwiki-platform/commit/385bde985cdb61ebf315d30c0b14…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ComputedFieldClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DBListClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultBaseClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/PropertyClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XClassWikiContentAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XWikiDocumentRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/display/BaseCollectionBlockSupplierProvider.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/display/BaseObjectBlockSupplierProvider.java
R xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/display/XObjectDisplayerProvider.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultBaseClassRequiredRightAnalyzerTest.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/XWikiDocumentRequiredRightAnalyzerTest.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/display/BaseCollectionBlockSupplierProviderTest.java
R xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/display/XObjectDisplayerProviderTest.java
Log Message:
-----------
XWIKI-22476: Introduce a required rights analyzer for BaseClass
* Add an implementation for RequiredRightAnalyzer<BaseClass>.
* Call the new analyzer in the document analyzer.
* Add a helper for analyzing wiki content in XClass definitions.
* Introduce an analyzer per property type and call the first one that
matches.
* Add a block supplier provider that supports XClass.
* Add tests.
Commit: 9bdeb82bc17a9ac63da751c6e5665a63731a53ce
https://github.com/xwiki/xwiki-platform/commit/9bdeb82bc17a9ac63da751c6e566…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ConfigurableClassRequiredRightsAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ObjectPropertyRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/META-INF/components.txt
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ConfigurableClassRequiredRightsAnalyzerTest.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultObjectRequiredRightAnalyzerTest.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ObjectPropertyRequiredRightAnalyzerTest.java
Log Message:
-----------
[Misc] Refactor required rights analyzers to reduce code duplication
Commit: 521a1343fba4836486d1b0d4c7e28b976809da9d
https://github.com/xwiki/xwiki-platform/commit/521a1343fba4836486d1b0d4c7e2…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/pom.xml
A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/java/org/xwiki/eventstream/internal/EventClassRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/test/java/org/xwiki/eventstream/internal/EventClassRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22461: XWiki.EventStream.Code.EventClass is missing a required rights analyzer
* Add a required rights analyzer for XWiki.EventStream.Code.EventClass.
* Add a unit test.
* Replace duplicated string literals across classes by constants.
Commit: e70468d227e82c0710b4e23b364cbfe1049bfe9a
https://github.com/xwiki/xwiki-platform/commit/e70468d227e82c0710b4e23b364c…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/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/internal/XWikiNotificationFilterDisplayerRequiredRightAnalyzer.java
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/test/java/org/xwiki/notifications/filters/internal/XWikiNotificationFilterDisplayerRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22469: Add a required rights analyzer for XWiki.Notifications.Code.NotificationFilterDisplayerClass
Commit: 3d96bf3ceb167bf0213d63f0be1f7e1732eb0a92
https://github.com/xwiki/xwiki-platform/commit/3d96bf3ceb167bf0213d63f0be1f…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
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/email/WikiEmailNotificationRendererRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/email/WikiEmailNotificationRendererRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22471: Add a required rights analyzer for XWiki.Notifications.Code.NotificationEmailRendererClass
Commit: f07073f10bc5bd09588bf3dea1be377da2992cfe
https://github.com/xwiki/xwiki-platform/commit/f07073f10bc5bd09588bf3dea1be…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/WikiNotificationDisplayerRequiredRightAnalyzer.java
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/WikiNotificationDisplayerRequiredRightAnalyzerTest.java
Log Message:
-----------
XWIKI-22470: Add a required rights analyzer for XWiki.Notifications.Code.NotificationDisplayerClass
* Simplify the code by using ObjectPropertyRequiredRightAnalyzer.
* Add missing since-versions.
Compare: https://github.com/xwiki/xwiki-platform/compare/de7ccf8ecd2d...f07073f10bc5
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/master
Home: https://github.com/xwiki-contrib/confluence
Commit: e448d9880751b800cd67b4383296191b351700cd
https://github.com/xwiki-contrib/confluence/commit/e448d9880751b800cd67b438…
Author: Raphaël Jakse <raphael.jakse(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M confluence-resolvers/src/main/java/org/xwiki/contrib/confluence/resolvers/ConfluenceScrollPageIdResolver.java
M confluence-resolvers/src/main/java/org/xwiki/contrib/confluence/resolvers/ConfluenceScrollViewportResolver.java
M confluence-resolvers/src/main/java/org/xwiki/contrib/confluence/resolvers/internal/DefaultConfluenceScrollVersionsResolver.java
M confluence-xml/src/main/java/org/xwiki/contrib/confluence/filter/internal/input/ConfluenceInputFilterStream.java
M confluence-xml/src/main/java/org/xwiki/contrib/confluence/filter/internal/macros/IncludePlusMacroConverter.java
Log Message:
-----------
Misc: fix annotations
Commit: 6f57928d085a1dc6c99af4deff71bf1562283e6f
https://github.com/xwiki-contrib/confluence/commit/6f57928d085a1dc6c99af4de…
Author: Raphaël Jakse <raphael.jakse(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M confluence-xml/src/main/java/org/xwiki/contrib/confluence/filter/input/ConfluenceInputContext.java
M confluence-xml/src/main/java/org/xwiki/contrib/confluence/filter/internal/input/ConfluenceConverter.java
M confluence-xml/src/main/java/org/xwiki/contrib/confluence/filter/internal/input/DefaultConfluenceInputContext.java
M confluence-xml/src/test/java/org/xwiki/contrib/confluence/filter/IntegrationTests.java
M confluence-xml/src/test/resources/confluencexml/history.test
M confluence-xml/src/test/resources/confluencexml/history/entities.xml
Log Message:
-----------
CONFLUENCE-351: Cache confluence resolutions when importing a Confluence package
Commit: 4b589fca7ad462394f7d94307393be60a0a581c1
https://github.com/xwiki-contrib/confluence/commit/4b589fca7ad462394f7d9430…
Author: Raphaël Jakse <raphael.jakse(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M confluence-xml/src/main/java/org/xwiki/contrib/confluence/filter/internal/macros/ChildrenMacroConverter.java
M confluence-xml/src/test/resources/confluencexml/linkmapping2.test
M confluence-xml/src/test/resources/confluencexml/linkmapping2/entities.xml
Log Message:
-----------
CONFLUENCE-352: Convert the children first parameter to the documentTree limit parameter
Commit: 91aa1a89d05d9efd45fb5e93cd6c0797d56fc036
https://github.com/xwiki-contrib/confluence/commit/91aa1a89d05d9efd45fb5e93…
Author: Raphaël Jakse <raphael.jakse(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M confluence-xml/src/main/java/org/xwiki/contrib/confluence/filter/internal/macros/IncludePlusMacroConverter.java
M confluence-xml/src/test/java/org/xwiki/contrib/confluence/filter/IntegrationTests.java
M confluence-xml/src/test/resources/confluencexml/include.test
M confluence-xml/src/test/resources/confluencexml/include/entities.xml
Log Message:
-----------
CONFLUENCE-349 : Add support for importing Scroll Versions includeplus macro into XWiki
* make the macro converter fallback to unconverted macro if the scroll page id
cannot be resolved
Commit: ae9c7c246345e27a3f1cb887c2e49ed79ff3d22b
https://github.com/xwiki-contrib/confluence/commit/ae9c7c246345e27a3f1cb887…
Author: Raphaël Jakse <raphael.jakse(a)xwiki.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M confluence-resolvers/pom.xml
M confluence-resource-reference-type-parsers/pom.xml
M confluence-syntax-confluence/pom.xml
M confluence-syntax-confluence10override/pom.xml
M confluence-syntax-xhtml/pom.xml
M confluence-url-mapping-scroll-viewport/pom.xml
M confluence-url-mapping/pom.xml
M confluence-xml/pom.xml
M pom.xml
Log Message:
-----------
[maven-release-plugin] prepare for next development iteration
Compare: https://github.com/xwiki-contrib/confluence/compare/d914cee09008...ae9c7c24…
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/confluence/settings/notifications