1. 02 Dec, 2021 1 commit
    • Oliver Bartsch's avatar
      [!!!][TASK] Remove last arguments of wrapClickMenuOnIcon() · d824d89f
      Oliver Bartsch authored
      Since unrelated functionality was moved to a
      dedicated method, the corresponding arguments
      are now removed. Therefore, the method does
      now always return `string`.
      
      Resolves: #96210
      Related: #92583
      Releases: main
      Change-Id: I498738d37b0fcafda529c119ada7f5ea63c5d663
      d824d89f
  2. 30 Nov, 2021 2 commits
  3. 28 Nov, 2021 1 commit
  4. 23 Nov, 2021 1 commit
  5. 18 Nov, 2021 1 commit
  6. 10 Nov, 2021 1 commit
  7. 09 Nov, 2021 1 commit
  8. 26 Oct, 2021 1 commit
  9. 19 Oct, 2021 2 commits
  10. 13 Oct, 2021 1 commit
  11. 12 Oct, 2021 1 commit
  12. 06 Oct, 2021 1 commit
  13. 04 Oct, 2021 1 commit
  14. 30 Sep, 2021 1 commit
  15. 24 Sep, 2021 2 commits
  16. 20 Sep, 2021 1 commit
  17. 30 Aug, 2021 1 commit
  18. 26 Aug, 2021 1 commit
  19. 12 Aug, 2021 2 commits
    • Nikita Hovratov's avatar
      [TASK] Rename changed method name in comments and rst · 754769e2
      Nikita Hovratov authored and Oliver Bartsch's avatar Oliver Bartsch committed
      During development the method name getParserByKey of the
      SoftReferenceParserFactoy class has been changed to
      getSoftReferenceParser. This renames the method in some missed places.
      
      Resolves: #94853
      Releases: master
      Change-Id: I554e613509a32c0331de34b618ce30f29815f948
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70504
      
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
      Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
      Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
      Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
      754769e2
    • Nikita Hovratov's avatar
      [FEATURE] Register SoftReference parsers via DI · 48810cb7
      Nikita Hovratov authored and Benni Mack's avatar Benni Mack committed
      The concept for registration and usage of soft reference parsers
      received a complete overhaul.
      
      Starting with the registration, it is now possible to register soft
      reference parsers by dependency injection in the extension's
      Services.(yaml|php) file. For this, the new tag name
      "softreference.parser" has been introduced. One has to provide the
      additional attribute "parserKey" to identify the parser. This
      replaces the old way of registering these parsers in the $GLOBALS
      array. If a parser is registered with the same key in both ways,
      the old way takes precedence for b/w compatibility.
      
      This comes with a completely new factory service class
      TYPO3\CMS\Core\DataHandling\SoftReference\SoftReferenceParserFactory.
      This classes' responsibilities are collecting all registered soft
      reference parsers and serving them to the consumer by calling the
      method "getSoftReferenceParser" with the desired parser key as the
      only argument. There is a compatibility layer for the old way of
      registration and for classes not implementing the new interface.
      
      Soft reference parsers now have to implement
      TYPO3\CMS\Core\DataHandling\SoftReference\SoftReferenceParserInterface.
      The interface defines the implementation of the "parse" method.
      The first 4 and the last parameter stay the same as in the old method
      "findRef". The remaining two parameters "spKey" and "spParams" have to
      be set with the "setParserKey" method, if they are needed. The key can
      be retrieved by using the "getParserKey" method.
      
      The different parser implementations in the old class
      TYPO3\CMS\Core\Database\SoftReferenceIndex have been extracted and
      moved into dedicated classes in the
      TYPO3\CMS\Core\DataHandling\SoftReference namespace. Missing tests
      for parsers other than "typolink" and "typolink_tag" are added.
      
      The method makeTokenID of SoftReferenceIndex has been moved into
      TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser.
      A parser can extend this abstract class, if this method is needed.
      
      The methods of BackendUtility "softRefParserObj" and
      "explodeSoftRefParserList" are now deprecated and the replacement
      TYPO3\CMS\Core\DataHandling\SoftReference\SoftReferenceParserFactory
      should be used instead.
      
      Resolves: #94687
      Resolves: #94741
      Releases: master
      Change-Id: I460bfdd4478194fa4b4111fc44871f7225c6c084
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70177
      
      Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
      Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      48810cb7
  20. 10 Aug, 2021 1 commit
  21. 06 Aug, 2021 1 commit
  22. 02 Aug, 2021 1 commit
    • Oliver Bartsch's avatar
      [FEATURE] Introduce TCA type "category" · 1e7653ce
      Oliver Bartsch authored and Benni Mack's avatar Benni Mack committed
      A new TCA type "category" is introduced, which
      allows to simplify the configuration of category
      TCA columns. Besides the benefit for integrators,
      this allows to deprecate the CategoryRegistry
      in the next step.
      
      The new type can also be used for other use cases.
      Therefore, the TCA option "relationship" is available
      for this TCA type. Besides "manyToMany" (default), this
      can also be set to "oneToOne" or "oneToMany".
      
      Using the new type, FormEngine will always render a
      category tree. This means, no additional `renderType`
      is defined. In such case, TCA type "select" can
      still be used as before, without any limitation. However,
      all relevant places in core are adjusted in this patch.
      
      The category element is rendered through a custom element
      (web component), reducing inline javascript.
      
      Resolves: #94622
      Releases: master
      Change-Id: I1b95c42288b070fa6bac114266f5ad246a045b21
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69899
      
      Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
      Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      1e7653ce
  23. 29 Jul, 2021 2 commits
  24. 28 Jul, 2021 1 commit
  25. 22 Jul, 2021 2 commits
  26. 25 Jun, 2021 1 commit
  27. 21 Jun, 2021 1 commit
  28. 16 Jun, 2021 1 commit
  29. 14 Jun, 2021 1 commit
  30. 10 Jun, 2021 1 commit
  31. 27 May, 2021 1 commit
  32. 20 May, 2021 2 commits
  33. 19 May, 2021 1 commit