Skip to content
Snippets Groups Projects
  1. May 29, 2020
  2. May 28, 2020
  3. May 26, 2020
  4. May 13, 2020
  5. May 11, 2020
    • Benni Mack's avatar
      [BUGFIX] Do not deprecate $GLOBALS[TYPO3_REQUEST] · 0fb9702c
      Benni Mack authored
      The global object $GLOBALS[TYPO3_REQUEST] holding the
      current PSR-7 request object was introduced in TYPO3 v9.2.
      
      However, it was also marked as deprecated as we thought we
      were able to remove all usages again by the end of TYPO3 v9.5
      development, which shows that we have more problems in various
      areas like hooks and Extbase where we heavily rely on this object.
      
      For this reason, it is kept but the original Feature RST still contains
      the information that it is considered bad practice.
      
      Removing the deprecation will result in better result for the
      ExtensionScanner.
      
      Resolves: #91347
      Releases: master, 9.5
      Change-Id: I97bb16cf7f4e7149c5c3a3528a015701f60c2628
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64439
      
      
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: default avatarBenni Mack <benni@typo3.org>
      Reviewed-by: default avatarBenni Mack <benni@typo3.org>
      0fb9702c
  6. Apr 18, 2020
  7. Apr 16, 2020
  8. Apr 14, 2020
  9. Apr 12, 2020
  10. Apr 08, 2020
  11. Apr 06, 2020
  12. Apr 04, 2020
  13. Apr 02, 2020
  14. Mar 30, 2020
  15. Mar 23, 2020
  16. Mar 21, 2020
  17. Mar 13, 2020
  18. Mar 11, 2020
  19. Mar 10, 2020
  20. Mar 06, 2020
    • Benni Mack's avatar
      [TASK] Deprecate Extbase's SignalSlot Dispatcher · bdd8d12a
      Benni Mack authored
      Extbase's SignalSlot Dispatcher has had its good run - it served
      as a possible successor instead of Hooks but lacked a good standardized
      API for stopping propagation, and defining interfaces for slots.
      
      The new PSR-14 based event system has superseded SignalSlot
      logic from Extbase. Everybody is encouraged to not use Signal Slot
      logic anymore. TYPO3 Core does not use SignalSlots anymore, and the
      SignalSlot Dispatcher will be removed in TYPO3 v11.0 - and is therefore
      annotated as deprecated.
      
      Several advantages of PSR-14 over Signal Slot logic defined here again:
      - PSR-14 has a stoppable interface so event listeners can define that an event should not propagate anymore.
      - PSR-14 events are pure and plain PHP classes so it is VERY clear what can be read or modified.
      - TYPO3's implementation is fully compatible with other frameworks PSR-14 event-based system, so everything can be developed against the interface, not a concrete implementation (thanks to DI), and TYPO3 can exchange its own implementation against a different one.
      - All available listeners are registered during "DI-build-time" and not in ext-localconf.php anymore
      which can have an impact on performance.
      
      Please note that using SignalSlot Dispatcher will not trigger a
      deprecation warning as it is still used throughout many extensions.
      
      Resolves: #90625
      Releases: master
      Change-Id: I09764b5056777fd3673a9e158762c9d5a9182997
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63099
      
      
      Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: default avatarSusanne Moog <look@susi.dev>
      Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
      Reviewed-by: default avatarSusanne Moog <look@susi.dev>
      bdd8d12a
  21. Feb 28, 2020
  22. Feb 25, 2020
  23. Feb 18, 2020
  24. Feb 14, 2020
  25. Jan 31, 2020
  26. Jan 30, 2020
  27. Jan 16, 2020
    • Susanne Moog's avatar
      [BUGFIX] Reimplement previewing of date / usergroup restricted content · a672d33a
      Susanne Moog authored
      Preview functionality was only implemented in the Admin Panel. Previewing
      itself (as in being able to preview pages with access or user restrictions)
      should also work without having the admin panel installed and open.
      
      The basic process is now like this:
      - Backend generates preview URLs for pages with access restrictions
      -- starttime, endtime, fe groups
      --> parameters ADMCMD_simUser and ADMCMD_simTime are appended to the FE URL
      - Frontend PreviewSimulator Middleware uses these parameters to modify
      the current Context
      - Adminpanel - if installed and open - takes given parameters as settings
      for preview date/time/group - when user changes those, they are overwritten
      
      Technical Changes:
      - BackendUtility: Enable link generation for a specified context
      - DateTimeAspect: Add new property to aspect to mirror SIM_ACCESS_TIME global
      - PageRepository: Use new DateTimeAspect context property for enable fields
      - AdminPanel: Set $_GET params in settings if given, remove $_GET vars if user
      saves admin panel settings (to allow user to change date/time in AdminPanel)
      
      Resolves: #86653
      Releases: master, 9.5
      Change-Id: I3a2302845461e9c18f9349438e10f1c059a85e48
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59927
      
      
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
      Tested-by: default avatarBenni Mack <benni@typo3.org>
      Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
      Reviewed-by: default avatarBenni Mack <benni@typo3.org>
      a672d33a