- Jul 03, 2024
-
-
Oana-Lavinia Florean authored
(cherry picked from commit c963ae28)
-
- Jul 02, 2024
-
-
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 26, 2024
-
-
Marius Dumitru Florea authored
-
- Jun 25, 2024
-
-
Marius Dumitru Florea authored
-
Marius Dumitru Florea authored
-
Marius Dumitru Florea authored
-
Marius Dumitru Florea authored
Co-authored-by:
LucasC <lucas.charpentier@xwiki.com> Co-authored-by:
Simon Urli <simon.urli@xwiki.com> Co-authored-by:
Simpel <git@simpel.cc> Co-authored-by:
Thomas Mortagne <thomas.mortagne@gmail.com> Co-authored-by:
Ümit Solmaz <solmazumit1@yandex.com>
-
- Jun 21, 2024
-
-
Marius Dumitru Florea authored
XWIKI-22030: Improve escaping in XWiki.XWikiSyntaxMacrosList (cherry picked from commit c3125d16)
-
Simon Urli authored
XWIKI-20651: Pt_br (Pt_br) and Zh_tw (Zh_Tw) languages displayed in drop-downs which cause many "Invalid locale" warnings if selected * Fix bad API calls in integration test (cherry picked from commit bcbe4796)
-
Simon Urli authored
XWIKI-20651: Pt_br (Pt_br) and Zh_tw (Zh_Tw) languages displayed in drop-downs which cause many "Invalid locale" warnings if selected * Improve dateFormat test to force the timezone so that it covers this and don't fail on CI because of bad offset (cherry picked from commit 3203d264)
-
Simon Urli authored
XWIKI-20651: Pt_br (Pt_br) and Zh_tw (Zh_Tw) languages displayed in drop-downs which cause many "Invalid locale" warnings if selected * Fix bad API calls in tests (cherry picked from commit b6948032)
-
- Jun 20, 2024
-
-
Simon Urli authored
XWIKI-20651: Pt_br (Pt_br) and Zh_tw (Zh_Tw) languages displayed in drop-downs which cause many "Invalid locale" warnings if selected * Fix LocalizationScriptService#getAvailableLocales to not use Locale(String) constructor but to rely instead on LocaleUtils.toLocale * Fix the same mistake in other parts of XWiki (cherry picked from commit 42edb78c)
-
Thomas Mortagne authored
(cherry picked from commit e40e37ff)
-
Simon Urli authored
* Iterate over all wikis when deleting filters related to a wiki * Fix unit test * Provide a migration to clean up filters related to deleted wikis * Provide unit test for the migration * Fix migration query after testing * Add a few comments over the query (cherry picked from commit 858605a2)
-
Vincent Massol authored
-
- Jun 19, 2024
-
-
github-actions[bot] authored
* Add a rule to never underline links in jstrees, when the onlyInlineLink preference is picked. (cherry picked from commit 08f8ad82) Co-authored-by:
LucasC <lucas.charpentier@xwiki.com>
-
Thomas Mortagne authored
(cherry picked from commit 85c72728)
-
- Jun 18, 2024
-
-
Simon Urli authored
(cherry picked from commit 6ca7e8d6)
-
- Jun 17, 2024
-
-
Manuel Leduc authored
-
Manuel Leduc authored
-
Manuel Leduc authored
-
Manuel Leduc authored
-