- Jul 11, 2024
-
-
Simon Urli authored
* Use proper context user to evaluate email template (cherry picked from commit fc688b1b)
-
- Jul 10, 2024
-
-
Marius Dumitru Florea authored
* Fix the way we compute the top position. (cherry picked from commit 69950a71)
-
Marius Dumitru Florea authored
XWIKI-22226: Enabling realtime collaboration through the link from the warning message doesn't work when editing in-place (cherry picked from commit 3415903a)
-
Marius Dumitru Florea authored
XWIKI-22227: Images become broken in edit mode when there is an automatic "Saved by merging changes" * Remove leftover parameter that is not passed when the function is called and which affects the attachment URLs (viewattachrev instead of download). (cherry picked from commit fad4abf6)
-
- Jul 09, 2024
-
-
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)
-
- 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)
-
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)
-
Thomas Mortagne authored
(cherry picked from commit 391238a7)
-
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)
-
- Jul 05, 2024
-
-
Vincent Massol authored
-
Vincent Massol authored
-
Vincent Massol authored
-
Vincent Massol authored
-
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)
-
Thomas Mortagne authored
-
Thomas Mortagne authored
This reverts commit 2d9fc442.
-
Thomas Mortagne authored
This reverts commit 7f453815.
-
Thomas Mortagne authored
This reverts commit 7c50c589.
-
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 91515005)
-
Thomas Mortagne authored
(cherry picked from commit a866bea6)
-
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)
-