Branch: refs/heads/master
Home:
https://github.com/xwiki/xwiki-platform
Commit: 3381892ab413c21797d07a5c8ccae306b1ad381b
https://github.com/xwiki/xwiki-platform/commit/3381892ab413c21797d07a5c8cca…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-09-11 (Thu, 11 Sep 2025)
Changed paths:
M
xwiki-platform-core/xwiki-platform-dashboard/xwiki-platform-dashboard-macro/src/main/java/org/xwiki/rendering/internal/macro/dashboard/DefaultGadgetSource.java
M
xwiki-platform-core/xwiki-platform-dashboard/xwiki-platform-dashboard-macro/src/main/java/org/xwiki/rendering/internal/macro/dashboard/GadgetObjectRequiredRightAnalyzer.java
M
xwiki-platform-core/xwiki-platform-dashboard/xwiki-platform-dashboard-macro/src/test/java/org/xwiki/rendering/internal/macro/dashboard/DefaultGadgetSourceTest.java
M
xwiki-platform-core/xwiki-platform-dashboard/xwiki-platform-dashboard-macro/src/test/java/org/xwiki/rendering/internal/macro/dashboard/GadgetObjectRequiredRightAnalyzerTest.java
M
xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/dashboard/dashboard.js
M
xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/dashboard/gadgetWizard.js
Log Message:
-----------
XWIKI-22817: Dashboards of users without script right have translation calls in gadget
titles (#3839)
* Catch titles with just a translation call and load the translation
directly without evaluating any script.
* Adapt the required rights analyzer.
* Expose the syntax of the document containing the gadgets as metadata
in the HTML.
* Use the source syntax for converting the macro call to wiki syntax.
* Pass the source syntax to the macro editor.
* Use a translation macro in the widget title when the source syntax is
xwiki/2.x syntax.
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications