- Jul 05, 2024
-
-
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)
-
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)
-
- Jun 26, 2024
-
-
Michael Hamann authored
XWIKI-21687: LoginIT.loginLogoutAsAdmin(TestUtils, TestReference) and LoginIT.loginWithInvalidCredentials(LogCaptureConfiguration) are flickering * Use the same condition for `isVisible` as for the waiting when opening/closing the drawer. This ensures that if you call `isVisible` after opening/closing the drawer, you get the expected result. * Wait for the x-position of the drawer to be stable when opening the drawer to ensure that the opening animation is finished. (cherry picked from commit ce176320)
-
Thomas Mortagne authored
(cherry picked from commit 00096e66)
-
Marius Dumitru Florea authored
* Update test. (cherry picked from commit ad051b7a)
-
- Jun 21, 2024
-
-
Marius Dumitru Florea authored
XWIKI-22030: Improve escaping in XWiki.XWikiSyntaxMacrosList (cherry picked from commit c3125d16) (cherry picked from commit e93d2dc8)
-
Marius Dumitru Florea authored
* Fix POM version in new module after cherry-pick
-