1. 12 Dec, 2020 1 commit
  2. 10 Dec, 2020 1 commit
  3. 24 Nov, 2020 1 commit
  4. 14 Nov, 2020 1 commit
  5. 20 Oct, 2020 1 commit
  6. 19 Oct, 2020 1 commit
  7. 05 Sep, 2020 1 commit
    • Christian Kuhn's avatar
      [!!!][TASK] Refactor create bookmark handling · 5be7b805
      Christian Kuhn authored and Anja Leichsenring's avatar Anja Leichsenring committed
      The backend shortcut / bookmark handlig API was designed to
      hand over relevant get/post arguments as key only (eg. 'id').
      The underlying code then pulled values from GET/POST or from
      SOBE->MOD_SETTINGS. This is ugly, there shouldn't be such
      magic: Only controllers know relevant keys and values, so
      it should hand them over directly to the shortcut API.
      
      The patch changes this:
      * Old and unused ViewHelper f:be.buttons.shortcut is deprecated.
      * ViewHelper be:moduleLayout.button.shortcutButton deprecates
        argument 'getVars' and adds new argument 'arguments'.
      * Class ShortcutButton has a new setter 'setArguments' that
        accepts all relevant argument key/value pairs to create a
        shortcut. Existing get/set related methods are deprecated.
      * Helper methods 'makeShortcutIcon' and 'makeShortcutUrl' of
        class ModuleTemplate are deprecated and implemented in class
        ShortcutButton directly.
      * All core usages are adapted to new API.
      * Shortcut handling was the last core usage of SOBE, so last
        $GLOBALS['SOBE'] = $this assignments can be finally removed.
      
      Impact:
      * Shortcuts to modules not directly reachable via main menu
        do not work due to limits of the module registration API. An
        example is the 'create multiple pages' controller. This issue
        exists before the patch, affected controllers no longer render
        a shortcut button for now.
      * The old code usually added the 'route' argument twice for shortcuts.
        This has been resolved. As a side effect, the comparison if a
        shortcuts exists (yellow shortcut icon) fails currently for existing
        shortcuts when the patch is applied: The comparison relies on
        direct string equality since shortcuts always store the final url in
        the database. This storage strategy should be changed with another
        patch that will solve the 'no yellow icon' issue at the same time.
      
      Change-Id: I3ccd2b8f6adab8e7780c5f9911fdea013ccfa99b
      Resolves: #92132
      Releases: master
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65503
      
      
      Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
      Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
      Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
      5be7b805
  8. 21 Apr, 2020 1 commit
  9. 20 Apr, 2020 1 commit
  10. 15 Apr, 2020 1 commit
  11. 14 Apr, 2020 2 commits
  12. 13 Apr, 2020 1 commit
  13. 29 Mar, 2020 1 commit
  14. 27 Mar, 2020 1 commit
  15. 26 Mar, 2020 1 commit
  16. 23 Mar, 2020 1 commit
  17. 08 Mar, 2020 1 commit
  18. 06 Mar, 2020 1 commit
  19. 23 Feb, 2020 1 commit
  20. 21 Feb, 2020 1 commit
  21. 10 Feb, 2020 1 commit
  22. 03 Feb, 2020 2 commits
  23. 31 Jan, 2020 1 commit
  24. 30 Jan, 2020 2 commits
  25. 18 Dec, 2019 1 commit
  26. 25 Nov, 2019 1 commit
  27. 09 Nov, 2019 1 commit
  28. 30 Sep, 2019 1 commit
  29. 25 Sep, 2019 1 commit
  30. 11 Sep, 2019 2 commits
  31. 30 Aug, 2019 1 commit
  32. 17 Jul, 2019 1 commit
  33. 12 Jul, 2019 1 commit
  34. 22 Dec, 2018 1 commit
  35. 30 Sep, 2018 1 commit
  36. 29 Sep, 2018 1 commit