1. 04 Jan, 2021 1 commit
  2. 20 Nov, 2020 1 commit
  3. 19 Oct, 2020 1 commit
  4. 24 Sep, 2020 1 commit
    • Oliver Bartsch's avatar
      [BUGFIX] Remove wrongly introduced showNewRecordLink property · d2824c9f
      Oliver Bartsch authored and Benni Mack's avatar Benni Mack committed
      With #82489 a condition, introduced in #71918, was changed as
      it misused the `['appearance']['enabledControls']['new']` property
      to hide the newRecordLink button while actually only the "new" button
      of inline records controls should be hidden.
      
      To provide the possibility to hide the newRecordLink, independent
      of the controls, a new property `showNewRecordLink` was introduced.
      
      This new property is however superfluous as the newRecordLink button
      can already be hidden by setting `['appearance']['levelLinksPosition']`
      to `none`.
      
      Therefore the newly introduced `showNewRecordLink` property along
      with the condition is removed and the RST is updated and moved to
      the correct directory.
      
      Resolves: #92397
      Relates: #82489
      Releases: master, 10.4
      Change-Id: I49cf98c98a9df125f4fbf1737ccdacbf915fb683
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65846
      
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      d2824c9f
  5. 22 Sep, 2020 1 commit
    • Oliver Bartsch's avatar
      [BUGFIX] Use dedicated property to hide newRecordLink button · 20658a44
      Oliver Bartsch authored and Georg Ringer's avatar Georg Ringer committed
      Since #71918 the property ['appearance']['enabledControls']['new']
      is misused to hide the newRecordLink button of TCA=inline.
      
      This is incorrect because according to documentation enabledControls
      only manages the controls, shown in the header of each inline record.
      This makes sense for use-cases where e.g. an inline column has
      maxitems=1 set. Therefore the control to create a new inline record
      afterwards is not needed. The newRecordLink is however definitely
      needed to create at least this one inline record.
      
      Furthermore ['enabledControls']['new'] is the only enabledControls
      property used in InlineControlContainer, which also indicates its
      misuse there.
      
      This check is therefore now replaced by a new dedicated property
      `showNewRecordLink`, so it is still possible for extension authors to
      hide the newRecordLink independent of the new button in the inline
      records controls.
      
      For backwards compatibility the newRecordLink is only hidden if the
      `showNewRecordLink` is explicit set to FALSE. If not set the
      newRecordLink is shown.
      
      Resolves: #82489
      Related: #71918
      Releases: master, 10.4
      Change-Id: Ic504ff95ff30804d86a686d71922622c19b0c859
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65701
      
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
      20658a44
  6. 18 Sep, 2020 1 commit
  7. 24 Jul, 2020 1 commit
  8. 20 Jun, 2020 1 commit
  9. 18 Apr, 2020 1 commit
  10. 15 Apr, 2020 1 commit
  11. 14 Apr, 2020 1 commit
  12. 24 Mar, 2020 1 commit
  13. 21 Mar, 2020 1 commit
  14. 18 Dec, 2019 1 commit
  15. 30 Oct, 2019 1 commit
  16. 07 Oct, 2019 1 commit
  17. 05 Sep, 2019 1 commit
  18. 29 Aug, 2019 1 commit
  19. 27 Jun, 2019 1 commit
  20. 31 May, 2019 1 commit
  21. 24 May, 2019 1 commit
    • Andreas Fernandez's avatar
      [!!!][TASK] Refactor client-side IRRE · 0842cea9
      Andreas Fernandez authored and Frank Nägler's avatar Frank Nägler committed
      This patch refactors the IRRE handling on client side, the JavaScript
      land has been rewritten to have a better structure and do less repeating
      on-the-fly calculations. Each IRRE container is represented by a
      independent instance of InlineControlContainer.
      
      Most of the internally used `scriptCall` directives have been removed.
      Currently, `scriptCall` can't get removed completely, as further
      refactorings in different areas are required.
      
      All of the "external" communication via `inline.foobar()` has been
      replaced by a event-driven approach. This also affects ElementBrowser
      windows, those use a minimalistic API based on postMessage.
      
      Some code that was never evaluated in ElementBrowser is considered dead
      and has been removed regarding inserting multiple items.
      
      A new sorting library has been added in order to replace jqueryui piece
      by piece.
      
      Executed command:
      
          yarn add --dev sortablejs
      
      On PHP side, some code has been removed as well since the rewritten client
      code is event-based and doesn't depend on external calls anymore.
      
      Resolves: #88182
      Releases: master
      Change-Id: I4176483d2882cef49fbaddb5e2e1914c1f76c908
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59324
      
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
      Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
      Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
      Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
      0842cea9
  22. 15 Mar, 2019 1 commit
  23. 28 Jan, 2019 1 commit
  24. 11 Oct, 2018 1 commit
  25. 30 Sep, 2018 1 commit
  26. 05 Aug, 2018 1 commit
  27. 18 Jul, 2018 1 commit
    • Christian Kuhn's avatar
      [FEATURE] Allow TCA description property · d421f7dc
      Christian Kuhn authored and Andreas Wolf's avatar Andreas Wolf committed
      When the site configuration module has been introduced, it came
      with a custom functionality to show an additional help text
      when editing site records between the field label and the field input.
      
      This useful feature is now changed into a general TCA feature
      available everywhere: A new field information node expansion / "wizard"
      is added to all form elements, the inline and flex containers: If
      the property "description" is set for a TCA column type (same array
      level as "label", it will show the value as localized string between
      the field label and the input section.
      
      There are three available render types for "wizard a-like" output:
      * Field information - text between label+field
      * Field control - buttons next to input sections like the link popup button
      * Field wizards - clickable stuff below the input section, for example
        the localization state selector
      If a field has been set to readOnly=true in TCA, field control and field
      wizards do not make sense to render since they are meant to act with the
      field value.
      The field information node however has only informational character
      which is useful for readOnly fields, too. Thus, this node expansion
      type is now the only one that is always rendered, even if a field has
      been set to readOnly.
      
      Note this patch is fully covered by ext:styleguide (master) to have
      examples for all changed elements now using the description property.
      
      Resolves: #85410
      Releases: master
      Change-Id: Idcfacafa19b8208614b653b8fac22ce47bca3b8f
      Reviewed-on: https://review.typo3.org/57397
      
      Tested-by: default avatarTYPO3com <no-reply@typo3.com>
      Reviewed-by: default avatarJörg Bösche <typo3@joergboesche.de>
      Tested-by: default avatarJörg Bösche <typo3@joergboesche.de>
      Reviewed-by: Andreas Wolf's avatarAndreas Wolf <andreas.wolf@typo3.org>
      Tested-by: Andreas Wolf's avatarAndreas Wolf <andreas.wolf@typo3.org>
      d421f7dc
  28. 28 Jun, 2018 1 commit
  29. 25 Apr, 2018 1 commit
  30. 13 Jan, 2018 1 commit
  31. 28 Nov, 2017 1 commit
  32. 27 Nov, 2017 1 commit
  33. 03 Nov, 2017 1 commit
  34. 01 Nov, 2017 1 commit
  35. 04 Oct, 2017 1 commit
  36. 10 Sep, 2017 1 commit
  37. 04 Jun, 2017 1 commit
  38. 12 May, 2017 1 commit
  39. 25 Mar, 2017 2 commits