Skip to content
Snippets Groups Projects
  1. Nov 19, 2022
  2. Nov 18, 2022
  3. Nov 17, 2022
  4. Nov 15, 2022
  5. Nov 14, 2022
  6. Nov 09, 2022
  7. Nov 08, 2022
  8. Nov 07, 2022
  9. Nov 03, 2022
  10. Oct 31, 2022
  11. Oct 29, 2022
  12. Oct 28, 2022
  13. Oct 27, 2022
  14. Oct 25, 2022
  15. Oct 24, 2022
  16. Oct 21, 2022
  17. Oct 19, 2022
  18. Oct 18, 2022
  19. Oct 12, 2022
  20. Oct 11, 2022
  21. Oct 10, 2022
  22. Oct 04, 2022
  23. Oct 02, 2022
    • Oliver Bartsch's avatar
      [!!!][FEATURE] Introduce TCA type "file" · a7dd0225
      Oliver Bartsch authored
      In the process of using dedicated TCA types,
      the new TCA type "file" is introduced and
      replaces TCA type "inline" with "foreign_table"
      set to "sys_file_reference".
      
      The new type allows to remove a lot of cross
      dependencies and special cases for type "inline",
      in case the field is used in FAL context. Also
      DataHandler and friends benefit from this change,
      since dedicated functionality can be used now.
      
      It therefore effectively allows to improve FAL
      independently in the future.
      
      Due to the nature of "inline" a lot of code had
      to be copied for the new type, while changing the
      internal naming was not always easily possible.
      This will be done step by step with further patches.
      
      Besides the new TCA type also three new PSR-14 Events
      are introduced:
      
      - CustomFileControlsEvent
      - ModifyFileReferenceControlsEvent
      - ModifyFileReferenceEnabledControlsEvent
      
      While the ModifyFileReferenceControlsEvent and
      ModifyFileReferenceEnabledControlsEvent are equal
      to their inline counterparts does the CustomFileControlsEvent
      replace the "customControls" hook option, which is
      therefore only available for type "inline".
      
      Further notable changed:
      
      - Superfluous field "table_local" is removed from "sys_file_reference"
      - ExtensionManagementUtility::getFileFieldTCAConfig() is deprecated
      - Placeholders are introduced for common image/media/file types
      - File extension filtering is now done automatically in FormEngine
        and DataHandler
      
      Executed commands:
      
          composer u typo3/cms-styleguide
      
      Resolves: #98479
      Releases: main
      Change-Id: Ie7a14e8cef444816d3c1844df43e6c0c93706d5d
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75916
      
      
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Tested-by: default avatarJochen <rothjochen@gmail.com>
      Tested-by: default avatarBenni Mack <benni@typo3.org>
      Reviewed-by: default avatarJochen <rothjochen@gmail.com>
      Reviewed-by: default avatarBenni Mack <benni@typo3.org>
      a7dd0225
  24. Oct 01, 2022
  25. Sep 29, 2022
  26. Sep 26, 2022
  27. Sep 21, 2022