Branch: refs/heads/stable-15.10.x
Home: https://github.com/xwiki/xwiki-rendering
Commit: 83d22baa152420c27d80b40eab191b729d0f4614
https://github.com/xwiki/xwiki-rendering/commit/83d22baa152420c27d80b40eab1…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
A xwiki-rendering-integration-tests/src/test/resources/simple/list/list15.test
A xwiki-rendering-integration-tests/src/test/resources/simple/list/list16.test
M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/ListItemStackingInlineContentChainingListener.java
M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/XWikiSyntaxChainingRenderer.java
Log Message:
-----------
XRENDERING-619: Lists with nested paragraphs are incorrectly converted to XWiki syntax (#307)
* Add an integration test to test the behavior
* Make the detection of first element rendered more robust.
* Avoid adding group syntax when not needed.
* Add another test to verify that groups are actually added.
* Fix the MessageMacroTest to expect more line breaks - the new line
breaks are good, "content" is in a new paragraph.
(cherry picked from commit 315fcf96bf532c754ec64b648d70a19da2b40b0e)
(cherry picked from commit 3a912d81e4cf9b27e307fa11279c3c6560661784)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-rendering/settings/notifications
Branch: refs/heads/stable-16.4.x
Home: https://github.com/xwiki/xwiki-rendering
Commit: 3a912d81e4cf9b27e307fa11279c3c6560661784
https://github.com/xwiki/xwiki-rendering/commit/3a912d81e4cf9b27e307fa11279…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
A xwiki-rendering-integration-tests/src/test/resources/simple/list/list15.test
A xwiki-rendering-integration-tests/src/test/resources/simple/list/list16.test
M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/ListItemStackingInlineContentChainingListener.java
M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/XWikiSyntaxChainingRenderer.java
Log Message:
-----------
XRENDERING-619: Lists with nested paragraphs are incorrectly converted to XWiki syntax (#307)
* Add an integration test to test the behavior
* Make the detection of first element rendered more robust.
* Avoid adding group syntax when not needed.
* Add another test to verify that groups are actually added.
* Fix the MessageMacroTest to expect more line breaks - the new line
breaks are good, "content" is in a new paragraph.
(cherry picked from commit 315fcf96bf532c754ec64b648d70a19da2b40b0e)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-rendering/settings/notifications
Branch: refs/heads/stable-16.10.x
Home: https://github.com/xwiki/xwiki-rendering
Commit: 79bb83d56b8ad3e29c1380f8b94e87e683b15861
https://github.com/xwiki/xwiki-rendering/commit/79bb83d56b8ad3e29c1380f8b94…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
A xwiki-rendering-integration-tests/src/test/resources/simple/list/list15.test
A xwiki-rendering-integration-tests/src/test/resources/simple/list/list16.test
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/test/java/org/xwiki/rendering/macro/message/MessageMacroTest.java
M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/ListItemStackingInlineContentChainingListener.java
M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/XWikiSyntaxChainingRenderer.java
Log Message:
-----------
XRENDERING-619: Lists with nested paragraphs are incorrectly converted to XWiki syntax (#307)
* Add an integration test to test the behavior
* Make the detection of first element rendered more robust.
* Avoid adding group syntax when not needed.
* Add another test to verify that groups are actually added.
* Fix the MessageMacroTest to expect more line breaks - the new line
breaks are good, "content" is in a new paragraph.
(cherry picked from commit 315fcf96bf532c754ec64b648d70a19da2b40b0e)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-rendering/settings/notifications
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-rendering
Commit: 315fcf96bf532c754ec64b648d70a19da2b40b0e
https://github.com/xwiki/xwiki-rendering/commit/315fcf96bf532c754ec64b648d7…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
A xwiki-rendering-integration-tests/src/test/resources/simple/list/list15.test
A xwiki-rendering-integration-tests/src/test/resources/simple/list/list16.test
M xwiki-rendering-macros/xwiki-rendering-macro-message/src/test/java/org/xwiki/rendering/macro/message/MessageMacroTest.java
M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/ListItemStackingInlineContentChainingListener.java
M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/XWikiSyntaxChainingRenderer.java
Log Message:
-----------
XRENDERING-619: Lists with nested paragraphs are incorrectly converted to XWiki syntax (#307)
* Add an integration test to test the behavior
* Make the detection of first element rendered more robust.
* Avoid adding group syntax when not needed.
* Add another test to verify that groups are actually added.
* Fix the MessageMacroTest to expect more line breaks - the new line
breaks are good, "content" is in a new paragraph.
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-rendering/settings/notifications
Branch: refs/heads/stable-16.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: d872128a95cec3be3582654a8baf70ecba2c4161
https://github.com/xwiki/xwiki-platform/commit/d872128a95cec3be3582654a8baf…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-oldcore/pom.xml
R xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/DefaultDocumentRequiredRightsManager.java
A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/DefaultSimpleDocumentCache.java
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/DocumentRequiredRightsReader.java
A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/SimpleDocumentCache.java
M xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/api/DocumentTest.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/test/MockitoOldcore.java
R xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/internal/document/DefaultDocumentRequiredRightsManagerTest.java
A xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/internal/document/DefaultSimpleDocumentCacheTest.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/main/java/org/xwiki/security/authorization/internal/DefaultDocumentRequiredRightsManager.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/test/java/org/xwiki/security/authorization/internal/DefaultDocumentRequiredRightsManagerTest.java
M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-page/src/main/java/org/xwiki/test/page/PageComponentList.java
Log Message:
-----------
XWIKI-22665: Required rights should be cached (#3695)
* Introduce a new `SimpleDocumentCache` for caching values associated with document references.
* Use the cache in the `DocumentRequiredRightsManager`.
* Return static instances in `DocumentRequiredRightsReader` to reduce the memory usage of the cache.
* Remove `DocumentRequiredRightsManager` from the page test component list and instead add a mock in `MockitoOldcore`.
* Move `DocumentRequiredRightsManager` to the authorization bridge as it fits better there and with the mock implementation in `MockitoOldcore` there is no need to have it available for tests.
(cherry picked from commit d9830e7a0082f22afd4eef830b22231d91b1b447)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/backport-3695-to-stable-16.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: f60590228d8c29f405f48ba0c4a2fdc9c4787170
https://github.com/xwiki/xwiki-platform/commit/f60590228d8c29f405f48ba0c4a2…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-oldcore/pom.xml
R xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/DefaultDocumentRequiredRightsManager.java
A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/DefaultSimpleDocumentCache.java
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/DocumentRequiredRightsReader.java
A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/SimpleDocumentCache.java
M xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/api/DocumentTest.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/test/MockitoOldcore.java
R xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/internal/document/DefaultDocumentRequiredRightsManagerTest.java
A xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/internal/document/DefaultSimpleDocumentCacheTest.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/main/java/org/xwiki/security/authorization/internal/DefaultDocumentRequiredRightsManager.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/test/java/org/xwiki/security/authorization/internal/DefaultDocumentRequiredRightsManagerTest.java
M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-page/src/main/java/org/xwiki/test/page/PageComponentList.java
Log Message:
-----------
XWIKI-22665: Required rights should be cached (#3695)
* Introduce a new `SimpleDocumentCache` for caching values associated with document references.
* Use the cache in the `DocumentRequiredRightsManager`.
* Return static instances in `DocumentRequiredRightsReader` to reduce the memory usage of the cache.
* Remove `DocumentRequiredRightsManager` from the page test component list and instead add a mock in `MockitoOldcore`.
* Move `DocumentRequiredRightsManager` to the authorization bridge as it fits better there and with the mock implementation in `MockitoOldcore` there is no need to have it available for tests.
(cherry picked from commit d9830e7a0082f22afd4eef830b22231d91b1b447)
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: d9830e7a0082f22afd4eef830b22231d91b1b447
https://github.com/xwiki/xwiki-platform/commit/d9830e7a0082f22afd4eef830b22…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-oldcore/pom.xml
R xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/DefaultDocumentRequiredRightsManager.java
A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/DefaultSimpleDocumentCache.java
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/DocumentRequiredRightsReader.java
A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/SimpleDocumentCache.java
M xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/api/DocumentTest.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/test/MockitoOldcore.java
R xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/internal/document/DefaultDocumentRequiredRightsManagerTest.java
A xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/internal/document/DefaultSimpleDocumentCacheTest.java
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/main/java/org/xwiki/security/authorization/internal/DefaultDocumentRequiredRightsManager.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/main/resources/META-INF/components.txt
A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/test/java/org/xwiki/security/authorization/internal/DefaultDocumentRequiredRightsManagerTest.java
M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-page/src/main/java/org/xwiki/test/page/PageComponentList.java
Log Message:
-----------
XWIKI-22665: Required rights should be cached (#3695)
* Introduce a new `SimpleDocumentCache` for caching values associated with document references.
* Use the cache in the `DocumentRequiredRightsManager`.
* Return static instances in `DocumentRequiredRightsReader` to reduce the memory usage of the cache.
* Remove `DocumentRequiredRightsManager` from the page test component list and instead add a mock in `MockitoOldcore`.
* Move `DocumentRequiredRightsManager` to the authorization bridge as it fits better there and with the mock implementation in `MockitoOldcore` there is no need to have it available for tests.
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications