- Jul 09, 2024
-
-
Simon Urli authored
The goal here is to immediately display a feedback in the create page dialog telling the user that the reference is wrong before they click on create. I performed following changes here: * Refactor CreateActionRequestHandler to have a clean separation between retrieving the reference and performing checks over templates * Refactor a bit CreateAction to perform immediate checks over the rights and the name strategy before even checking if the template is chosen: the goal being here to immediately provide exception if there's a problem * Refactor createinline.vm to inject bootstrap modal html elements when used with an ajax request: the idea here is to display an ajax modal instead of the old deprecated xwiki dialog * Refactor xwiki.js to use a jquery ajax call to request and display createinline * Add listener on xwiki:dom:updated events in both create.js and select.js to properly load them in case of dom updates * Provide new translations for getting better information from the name strategy * Improve a bit the template for displaying errors * Fix page test * Fix page object * Move translations * Fix typos in translations * Fix since (cherry picked from commit 0d91409d)
-
Marius Dumitru Florea authored
* Ignore the inline flag of XWiki macro widgets when comparing the new with the old content (because it depends on the macro output which is not synced). (cherry picked from commit a6f2a4c2)
-
Simpel authored
Currently translated at 100.0% (73 of 73 strings) Translation: XWiki Platform/PDF Export UI Translate-URL: https://l10n.xwiki.org/projects/xwiki-platform/pdf-export-ui/de/ (cherry picked from commit d53d173f)
-
- Jul 08, 2024
-
-
Marius Dumitru Florea authored
(cherry picked from commit 350fd773)
-
Marius Dumitru Florea authored
* Verify also the given element, not just its ancestors. * Bulletproofing (cherry picked from commit c8349eb2)
-
Michael Hamann authored
-
Michael Hamann authored
* Add a UI test to test that reporting works as expected. (cherry picked from commit 1fc00525)
-
Michael Hamann authored
This should avoid flickering due to Live Data not refreshing as expected. (cherry picked from commit b3b07151)
-
Marius Dumitru Florea authored
[misc] Fix the realtime tests when running on CI (inside the xwiki/build Docker container with Jetty Standalone as servlet engine). In this case we shouldn't map the XWiki aliases to the Docker host but rather to the IP of the xwiki/build Docker container, but we need to determine it. (cherry picked from commit 533156be)
-
- Jul 05, 2024
-
-
Marius Dumitru Florea authored
* Don't create a MultiUserTestUtils instance each time it is injected * Bulletproof test (cherry picked from commit b118cb05)
-
- Jul 04, 2024
-
-
Michael Hamann authored
This is an attempt to reduce flickering in tests that might be caused by proceeding too quickly with loading other tree nodes while the initial tree nodes are still loading. Then possibly the selection of the root node might not be cleared correctly before selecting the desired node as the root node is automatically selected during the initial load. (cherry picked from commit 8e0c1cd9)
-
Marius Dumitru Florea authored
* Fix tests. (cherry picked from commit 81f43291)
-
- Jul 03, 2024
-
-
Thomas Mortagne authored
(cherry picked from commit 247d1e11)
-
Thomas Mortagne authored
(cherry picked from commit a866bea6)
-
Thomas Mortagne authored
(cherry picked from commit 91515005)
-
github-actions[bot] authored
(cherry picked from commit c963ae28) Co-authored-by:
Oana-Lavinia Florean <florean.lavinia@gmail.com>
-
Vincent Massol authored
* Note: it also makes it work with Mysql 9.0
-
- Jul 02, 2024
-
-
Vincent Massol authored
-
Marius Dumitru Florea authored
* Fix the listener component hint to match the package (thanks @surli ) (cherry picked from commit 604759d9)
-
Marius Dumitru Florea authored
* Add functional tests for limiting script right and for editing translations * Move "multi users" tests to RealtimeWYSIWYGEditorIT and use the new multi user test "framework" * Add page objects to interact with the macro content field on the Macro Edit modal (cherry picked from commit 49030bf1)
-
Marius Dumitru Florea authored
XWIKI-22309: When creating a new document translation from realtime inplace editor, the content is synchronized with the original translation * Detect when the current document locale changes without a page reload and update the realtime document locale (that is going to be used to fetch the Netflux channels). * When creating a new realtime editor, check if the "all users" channel (that is shared) matches the current realtime document locale, and if it does not then disconnect and connect to the new channel. (cherry picked from commit 8ed99054)
-
Marius Dumitru Florea authored
* Stop submitting the Netflux channel after we disconnect from the realtime session (do proper cleanup). (cherry picked from commit 7bbd0904)
-
Marius Dumitru Florea authored
* Fix a bug in EntityChannelScriptAuthorTracker which didn't lower / update the script level when the target entity reference had initially a low script level (e.g. when two users edit a page whose last author didn't have script right, one of them could use the rights of the other to execute scripts) * Assume that a request can submit data associated with multiple documents (or document translations) so don't try to determine the entity that is targeted by the request; simply compute the effective author by taking the most recent author with the least script rights * Update since versions (cherry picked from commit fa1c0fb1)
-
Marius Dumitru Florea authored
* Update since version (cherry picked from commit 01542b3c)
-
Marius Dumitru Florea authored
* Also make sure the CKEditor requests that affect the edited content use the content locale and not the current UI locale because they can differ (e.g. when there's no document translation matching the current UI locale). (cherry picked from commit 801694d8)
-
Marius Dumitru Florea authored
* reload the edit mode when switching the edited translation * change the document locale before locking it (taking care to restore the original translation if the edit fails for the new translation) * when reloading the document JSON, fallback on the orignal translation if the requested translation doesn't exist * when rendering the document, fallback on the original translation if the edited translation is new (so that we initialize the content of the new translation with the values from the original translation) (cherry picked from commit d4b3a322)
-
Marius Dumitru Florea authored
* Add new UITest configuration, named 'servletEngineNetworkAliases', to specify additional aliases that can be used to access the servlet engine running XWiki * Add a helper MultiUserTestUtils that can be injected in test methods allowing to: ** create new browser tabs and associate them with a given XWiki alias (you can log in different users in each of these tabs) ** switch between the created tabs, taking care of restoring the proper form token and base URL ** close the created tabs (except the first one) ** access the handle of the first (main) tab (cherry picked from commit 22b740a5)
-
Marius Dumitru Florea authored
XWIKI-22222: Add the concept of "request effective author" * Update since version. (cherry picked from commit 8fe327b5)
-
Marius Dumitru Florea authored
* Add more unit tests. (cherry picked from commit d3c526ea)
-
Marius Dumitru Florea authored
* Use proper package name * Improve code and comment. (cherry picked from commit ba533945)
-
Marius Dumitru Florea authored
* Use XWikiToStringBuilder (cherry picked from commit 2f8d7927)
-
Marius Dumitru Florea authored
* Make the request effective author optional (while keeping the event listener that sets it to the currently authenticated user by default) (cherry picked from commit 6510f9da)
-
Marius Dumitru Florea authored
(cherry picked from commit 26921c18)
-
Marius Dumitru Florea authored
(cherry picked from commit a69bc0ca)
-
- Jun 28, 2024
-
-
Michael Hamann authored
(cherry picked from commit 0c634cdf)
-
Michael Hamann authored
* Click on the left of the heading to avoid clicking on the date picker popup. (cherry picked from commit aaaa0bff)
-
github-actions[bot] authored
(cherry picked from commit fc3af6f4) Co-authored-by:
Manuel Leduc <manuel.leduc@xwiki.com>
-
- Jun 27, 2024
-
-
Thomas Mortagne authored
(cherry picked from commit 2145c9a2)
-
Michael Hamann authored
-
Michael Hamann authored
-