Branch: refs/heads/stable-15.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 406c87e6fb7ea6dfd3124aee057b5aa9f2aa8d9b
https://github.com/xwiki/xwiki-platform/commit/406c87e6fb7ea6dfd3124aee057b…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-default/pom.xml
A xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-default/src/main/java/org/xwiki/icon/internal/IconSetRequiredRightsAnalyzer.java
M xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-default/src/test/java/org/xwiki/icon/internal/IconSetRequiredRightsAnalyzerTest.java
Log Message:
-----------
XWIKI-21488: Add a required right analyzer for IconThemesCode.IconThemeClass (#2620)
(cherry picked from commit efa196210ab37f44fa3623d87676e184f40e6c7c)
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: efa196210ab37f44fa3623d87676e184f40e6c7c
https://github.com/xwiki/xwiki-platform/commit/efa196210ab37f44fa3623d87676…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-default/pom.xml
A xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-default/src/main/java/org/xwiki/icon/internal/IconSetRequiredRightsAnalyzer.java
M xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-default/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-default/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-default/src/test/java/org/xwiki/icon/internal/IconSetRequiredRightsAnalyzerTest.java
Log Message:
-----------
XWIKI-21488: Add a required right analyzer for IconThemesCode.IconThemeClass (#2620)
Branch: refs/heads/stable-15.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 63f47e566467503fd61f9fdd3054b3d9d0465b4f
https://github.com/xwiki/xwiki-platform/commit/63f47e566467503fd61f9fdd3054…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/pom.xml
A xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/java/org/xwiki/rendering/internal/macro/HTMLMacroRequiredRightsAnalyzer.java
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/test/java/org/xwiki/rendering/internal/macro/HTMLMacroRequiredRightsAnalyzerTest.java
Log Message:
-----------
XWIKI-21482: Introduce a required rights analyzer for the HTML macro
* Add a required rights analyzer for the HTML macro.
* Add a unit test that is almost an integration test as it tests with a
real HTML cleaner.
(cherry picked from commit 575ae3e1d2aa9e0966a4a7030c0b359bdf1a154b)
Branch: refs/heads/stable-15.10.x
Home: https://github.com/xwiki/xwiki-commons
Commit: 3c0d301995ab076573251555cac163d6b02a5686
https://github.com/xwiki/xwiki-commons/commit/3c0d301995ab076573251555cac16…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
A xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/SanitizerDetectorFilter.java
M xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/SanitizerFilter.java
M xwiki-commons-core/xwiki-commons-xml/src/main/resources/META-INF/components.txt
A xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/filter/SanitizerDetectorFilterTest.java
Log Message:
-----------
XCOMMONS-2840: Add an API in HTMLCleaner to test if content is affected by restricted cleaning (#651)
* Add a new filter SanitizerDetectorFilter that allows detecting if HTML content is affected by the sanitizer.
* Simplify the loop in SanitizerDetectorFilter to not exceed the complexity threshold of SonarLint.
* Add a unit test for SanitizerDetectorFilter.
(cherry picked from commit 59d33f623cd146104c69a910c7ce4fd5e4a51141)
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: 575ae3e1d2aa9e0966a4a7030c0b359bdf1a154b
https://github.com/xwiki/xwiki-platform/commit/575ae3e1d2aa9e0966a4a7030c0b…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/pom.xml
A xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/java/org/xwiki/rendering/internal/macro/HTMLMacroRequiredRightsAnalyzer.java
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/resources/ApplicationResources.properties
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/test/java/org/xwiki/rendering/internal/macro/HTMLMacroRequiredRightsAnalyzerTest.java
Log Message:
-----------
XWIKI-21482: Introduce a required rights analyzer for the HTML macro
* Add a required rights analyzer for the HTML macro.
* Add a unit test that is almost an integration test as it tests with a
real HTML cleaner.
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-commons
Commit: 59d33f623cd146104c69a910c7ce4fd5e4a51141
https://github.com/xwiki/xwiki-commons/commit/59d33f623cd146104c69a910c7ce4…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
A xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/SanitizerDetectorFilter.java
M xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/SanitizerFilter.java
M xwiki-commons-core/xwiki-commons-xml/src/main/resources/META-INF/components.txt
A xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/filter/SanitizerDetectorFilterTest.java
Log Message:
-----------
XCOMMONS-2840: Add an API in HTMLCleaner to test if content is affected by restricted cleaning (#651)
* Add a new filter SanitizerDetectorFilter that allows detecting if HTML content is affected by the sanitizer.
* Simplify the loop in SanitizerDetectorFilter to not exceed the complexity threshold of SonarLint.
* Add a unit test for SanitizerDetectorFilter.