Skip to content
Snippets Groups Projects
  1. Feb 21, 2024
  2. Feb 20, 2024
  3. Feb 19, 2024
  4. Feb 18, 2024
  5. Feb 17, 2024
  6. Feb 16, 2024
  7. Feb 15, 2024
  8. Feb 14, 2024
  9. Feb 13, 2024
    • Andreas Kienast's avatar
      [TASK] Update ckeditor5 to v41.1 · 13e93366
      Andreas Kienast authored
      This commit updates ckeditor5 to v41.1. See changelog at
      https://github.com/ckeditor/ckeditor5/releases/tag/v41.1.0.
      
      Executed commands:
      
          npm i --save \
              @ckeditor/ckeditor5-alignment@^41.1.0 \
              @ckeditor/ckeditor5-autoformat@^41.1.0 \
              @ckeditor/ckeditor5-basic-styles@^41.1.0 \
              @ckeditor/ckeditor5-block-quote@^41.1.0 \
              @ckeditor/ckeditor5-clipboard@^41.1.0 \
              @ckeditor/ckeditor5-code-block@^41.1.0 \
              @ckeditor/ckeditor5-core@^41.1.0 \
              @ckeditor/ckeditor5-editor-classic@^41.1.0 \
              @ckeditor/ckeditor5-engine@^41.1.0 \
              @ckeditor/ckeditor5-essentials@^41.1.0 \
              @ckeditor/ckeditor5-find-and-replace@^41.1.0 \
              @ckeditor/ckeditor5-heading@^41.1.0 \
              @ckeditor/ckeditor5-horizontal-line@^41.1.0 \
              @ckeditor/ckeditor5-html-support@^41.1.0 \
              @ckeditor/ckeditor5-indent@^41.1.0 \
              @ckeditor/ckeditor5-link@^41.1.0 \
              @ckeditor/ckeditor5-list@^41.1.0 \
              @ckeditor/ckeditor5-paragraph@^41.1.0 \
              @ckeditor/ckeditor5-paste-from-office@^41.1.0 \
              @ckeditor/ckeditor5-remove-format@^41.1.0 \
              @ckeditor/ckeditor5-show-blocks@^41.1.0 \
              @ckeditor/ckeditor5-source-editing@^41.1.0 \
              @ckeditor/ckeditor5-special-characters@^41.1.0 \
              @ckeditor/ckeditor5-style@^41.1.0 \
              @ckeditor/ckeditor5-table@^41.1.0 \
              @ckeditor/ckeditor5-theme-lark@^41.1.0 \
              @ckeditor/ckeditor5-ui@^41.1.0 \
              @ckeditor/ckeditor5-undo@^41.1.0 \
              @ckeditor/ckeditor5-utils@^41.1.0 \
              @ckeditor/ckeditor5-word-count@^41.1.0
          npm i --save-dev \
              @ckeditor/ckeditor5-dev-utils@^39.6.0
          npm run build
      
      Resolves: #103069
      Releases: main, 12.4
      Change-Id: I571ccb8d8531108f99272f6c4cf11c351d3f5692
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82852
      
      
      Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
      Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
      Reviewed-by: default avatarBenni Mack <benni@typo3.org>
      Tested-by: default avatarBenni Mack <benni@typo3.org>
      Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
      Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
      Tested-by: default avatarcore-ci <typo3@b13.com>
      13e93366
    • Christian Kuhn's avatar
      [TASK] Reduce TCA ctrl origUid usages · 96f80588
      Christian Kuhn authored
      The database column defined by TCA ctrl 'origUid'
      ('t3_origuid') had a bumpy ride over the years.
      
      It was mostly obsoleted in v8 with the introduction of
      'translationSource' ('l10n_source'). A patch to fully
      remove it with #88495 has been reverted with #88501,
      leaving the field in limbo.
      
      The only remaining "true" usage of 'origUid' is in an
      inline relation scenario in DataMapProcessor when an
      inline parent *is* localizable (TCA ctrl 'languageField'
      and 'transOrigPointerField' set), but a child *is not*:
      Due to the copy strategy of all inline children upon
      localization of a parent record, the core needs to know
      if a child exists already or needs to be created. 'origUid'
      then stores the uid of the default language child. A couple
      of tests refer to this scenario as "monoglot" children.
      
      We could potentially get rid of that scenario by
      postulating that an inline child has to be localizable
      as well if the parent is, but that decision can be
      taken later.
      
      The patch does not touch this scenario, but looks at
      'origUid' from a different perspective: If a table *is*
      localizable, or is not used as inline child, then 'origUid'
      is not needed. The patch thus removes TCA ctrl 'origUid'
      from TCA tables, keeping it only in the test scenario
      extensions 'test_irre_csv', 'test_irre_foreignfield' and
      'test_irre_foreignfield_non_ws'.
      
      The bulk of the patch is about removing 't3_origuid' from
      the functional test .csv fixture files, while the most
      important TCA changes are dropping ctrl 'origUid' from
      table 'pages' and 'tt_content'.
      
      Resolves: #103099
      Related: #79856
      Related: #88494
      Related: #88495
      Related: #88501
      Releases: main
      Change-Id: I622afde74294c389639974d312f121d0a6466b60
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82888
      
      
      Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
      Reviewed-by: default avatarBenni Mack <benni@typo3.org>
      Tested-by: default avatarBenni Mack <benni@typo3.org>
      Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
      Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
      Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
      96f80588
    • Stefan Bürk's avatar
      [BUGFIX] Ensure correct custom (sub)category handling in ConstantEditor · 2b4db755
      Stefan Bürk authored
      The constant editor has been revamped with #98357 using the
      new TypoScript parser introduced with TYPO3 v12 under the
      hood.
      
      For category and subCategory handling lower-cased keys have
      been used, missing to lower-case the custom categories and
      subcategories names (keys) integrator are able to add since
      aeons. That leads to a failing match later on, and adding
      constants to the generic `other` subcategory.
      
      The revamped code supports only one category per subCategory
      sorting value. The documentation say that this **should** be
      omitted, but it worked in the past and broke with the revamped
      implementation.
      
      This change fixes muliple issues with the constant editor:
      
      * Ensure that custom categories and subcategories are read
        lower-case, otherwise later lookup will fail and sorted
        into sub-categorie `other`.
      * Add addtional array level to have `subCategory->items`
        per second sorting value as array (to avoid overriding).
      * Add additional item loop to the fluid template to respect
        the additional array level.
      
      Note: In the past it was possible to display a constant
      in multiple categories/subcategories by adding them again
      with different category configure comment lines. This is
      not supported anymore and not considered as bug.
      
      Resolves: #103088
      Related: #98357
      Related: #97816
      Releases: main, 12.4
      Change-Id: I4403420cc957cdef4bf077365deac0f7af621c71
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82898
      
      
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
      Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
      Tested-by: default avatarOliver Bartsch <bo@cedev.de>
      Tested-by: default avatarThomas Anders <me@naderio.de>
      Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
      Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
      Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
      2b4db755