Skip to content
Snippets Groups Projects
  1. Jul 02, 2024
    • Marius Dumitru Florea's avatar
      XWIKI-21949: Restrict the execution of script macros during a realtime WYSIWYG editing session · fa1c0fb1
      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
      fa1c0fb1
    • Marius Dumitru Florea's avatar
      XWIKI-22222: Add the concept of "request effective author" · 01542b3c
      Marius Dumitru Florea authored
      * Update since version
      01542b3c
    • Marius Dumitru Florea's avatar
      XWIKI-22308: The inplace editor locks the original translation when creating a new translation · 801694d8
      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).
      801694d8
    • Marius Dumitru Florea's avatar
      XWIKI-22308: The inplace editor locks the original translation when creating a new translation · d4b3a322
      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)
      d4b3a322
    • Marius Dumitru Florea's avatar
      XWIKI-22272: Add support for testing with multiple users/browsers · 22b740a5
      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
      22b740a5
  2. Jul 01, 2024
  3. Jun 29, 2024
  4. Jun 28, 2024
  5. Jun 27, 2024
  6. Jun 26, 2024
  7. Jun 25, 2024
  8. Jun 24, 2024
  9. Jun 21, 2024
Loading