Skip to content
Snippets Groups Projects
  1. Jul 07, 2022
    • Oana-Lavinia Florean's avatar
      XWIKI-13454: Add pagination for Attachments (#1349) · 08190dd3
      Oana-Lavinia Florean authored
      * used livetable for displaying attachments, like in AllAttachments page and reused macros of it
      * remove the redirect done after attachment upload
      * remove unused css
      * updated attachments page object
      * include missed office action and the new move action
      * add a new action for viewing the history of an attachment, to replace the version column which was overloading the view
      * add the possibility for external code to add attachment actions by using an ExtensionPoint
      * display user with avatar for inside the attachments livetable and the AllAttachments page
      * add a macro to be able to display a attachments livetable for a given document
      * update attachments.css and use this class for AllAttachments page as well, to not duplicate code
      * update updateCount to consider the case when we already know the number of attachments
      * fixed the delete button which was not working when the attachments livetable was used outside the docextra and update tests for it
      * add tests for filtering attachments and for checking filtering and delete action when multiple livetables are present on the page
      * add a fallback for when XWiki.AllAttachments page does not exists, to have other filter options, when possible
      * remove the, now unnecessary, # at the end of deleteURL
      * small fix, forgot to change #displayAttachmentSize method call for AllAttachments livetable as well
      * add workaround for tests until we move to livedata since the livetable filter will alter the fragment identifier and a page refresh will actually close the attachments tab
      Unverified
      08190dd3
    • Manuel Leduc's avatar
      XWIKI-19866: Show all the categories in the available macros page (#1874) · 1154dfbf
      Manuel Leduc authored
      * Deprecate translation key `help.macroList.category` and introduce `help.macroList.categories`
      * Update `XWikiSyntaxMacrosList` to display the list of categories of the macros (possibly overridden)
      * Improve `XWikiSyntaxMacrosList` translations
      * Introduce `getMacroCategories` in `RendringScriptService`
      * Update the outdated documentation for the wiki macro categories override in `xwiki.properties`
      Unverified
      1154dfbf
    • Michael Hamann's avatar
    • Thomas Mortagne's avatar
      4f64320c
  2. Jul 06, 2022
  3. Jul 05, 2022
  4. Jul 04, 2022
    • Manuel Leduc's avatar
      XWIKI-19750: Allow macros to have several categories · f575bf0d
      Manuel Leduc authored
      Fix scope of xwiki-commons-tool-test-simple in xwiki-platform-legacy-rendering-wikimacro-api.
      f575bf0d
    • Manuel Leduc's avatar
      XWIKI-19750: Allow macros to have several categories · 4731fcfd
      Manuel Leduc authored
      - exclude dependencies we don't want in legacy mode
      4731fcfd
    • Manuel Leduc's avatar
      XWIKI-19750: Allow macros to have several categories (#1864) · 9a4e759f
      Manuel Leduc authored
      - Update the wiki macro xar files to use the new `defaultCategories` property
      - Update the java macro to call `setDefaultCategories`
      - Introduction of `xwiki-platform-legacy-rendering-wikimacro` and `xwiki-platform-legacy-rendering-wikimacro-store`
      - Add an around aspect on `DefaultWikiMacroFactory.getDefaultCategories` to fallback to `defaultCategory` if no categories are found by the default implementation
      - Move `WikiMacroConstants.MACRO_DEFAULT_CATEGORY_PROPERTY` to legacy
      - Update `WikiMacroClassDocumentInitializer` to initialize `defaultCategories` instead of `defaultCategory`
      - Add `xwiki-platform-legacy-rendering-wikimacro-store` to `xwiki-platform-distribution-war-legacydependencies`
      - Move `org.xwiki.rendering.macro.wikibridge.WikiMacroDescriptor.Builder#defaultCategory` to legacy
      - Move `WikiMacroDescriptor.getDefaultCategory` to legacy
      Unverified
      9a4e759f
  5. Jul 01, 2022
  6. Jun 30, 2022
  7. Jun 29, 2022
Loading