1. 10 Aug, 2021 1 commit
  2. 06 Aug, 2021 1 commit
  3. 05 Aug, 2021 2 commits
  4. 28 Jul, 2021 1 commit
  5. 26 Jul, 2021 1 commit
  6. 13 Jul, 2021 1 commit
  7. 12 Jul, 2021 1 commit
  8. 06 Jul, 2021 1 commit
  9. 30 Jun, 2021 1 commit
  10. 29 Jun, 2021 1 commit
  11. 28 Jun, 2021 1 commit
  12. 14 Jun, 2021 2 commits
  13. 13 Jun, 2021 2 commits
  14. 01 Jun, 2021 1 commit
  15. 31 May, 2021 1 commit
  16. 20 May, 2021 1 commit
  17. 11 May, 2021 1 commit
  18. 04 May, 2021 5 commits
  19. 03 May, 2021 1 commit
  20. 30 Apr, 2021 1 commit
  21. 27 Apr, 2021 1 commit
  22. 23 Apr, 2021 1 commit
    • Benjamin Franzke's avatar
      [TASK] Update to Lit v2-rc1 · d0da616d
      Benjamin Franzke authored
      Lit is the umbrella term for the next major
      lit-html (v2) and lit-element (v3) versions.
      Therefore we will refer to these components as
      *Lit* in TYPO3 from now on as well.
      
      These two libraries also have been migrated into
      a single entry point module named `lit`.
      It is officially described as:
      > The main module exports the core pieces needed for component
      > development: LitElement, html, css, and the most
      
      lit-html v2 and lit-element v3 are mostly compatible
      to the previous major versions. Main changes are
      
       * Deprecation of the `lit-element` entry point in
         favor of the new `lit` module
       * @internalProperty changed to @state
       * shadow css declaration via static property
         instead of static getter method
       * The CSSResult type declaration is gone
       * Directive (currently unused in TYPO3) API has changed
      
      Related testing framework change is:
      https://github.com/TYPO3/testing-framework/pull/229
      
      Commands used:
      
        rm -rf typo3/sysext/core/Resources/Public/JavaScript/Contrib/{@lit,lit-element,lit-html,lit}/
        yarn add lit@^2.0.0-rc.1 lit-html@^2.0.0-rc.2 lit-element@^3.0.0-rc.1
        yarn add --dev rollup@^2.32.0 @rollup/plugin-replace
        grunt build
        git add typo3/sysext/core/Resources/Public/JavaScript/Contrib/{@lit,lit-element,lit-html,lit}/
      
        composer require --dev typo3/testing-framework:^6.8.1
        composer require --dev typo3/testing-framework:^6.8.1 \
          --no-update --working-dir=typo3/sysext/core
      
      Resolves: #93965
      Releases: master
      Change-Id: I9b659d851e6ad9dc3cc649bd40aab886b86fb0f8
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68104
      
      
      Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Tested-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
      Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
      d0da616d
  23. 30 Mar, 2021 1 commit
  24. 14 Mar, 2021 1 commit
  25. 10 Mar, 2021 1 commit
  26. 09 Mar, 2021 1 commit
  27. 08 Mar, 2021 2 commits
  28. 01 Mar, 2021 1 commit
  29. 24 Feb, 2021 1 commit
  30. 23 Feb, 2021 1 commit
  31. 22 Feb, 2021 1 commit
  32. 19 Feb, 2021 1 commit
    • Benjamin Franzke's avatar
      [TASK] Refactor low level console commands to avoid full boot · 3500a5ca
      Benjamin Franzke authored and Benni Mack's avatar Benni Mack committed
      This will allow for low level commands like cache:warmup (or flush)
      to be implemented.
      Commands that're registered in (internal!) service providers are now
      defined to be lowlevel. That allows to change behaviour for internal
      commands only, without being breaking.
      
      Low level commands…
       * will only be defined by TYPO3 core, not by third party extensions
         or libraries (despite by using internal interfaces)
       * will not use any $GLOBALS in constructor
       * will only inject dependencies defined by service providers
       * must not require a database connection during construction
       * will only be defined in internal service providers
       * may use the internal BootService to bootstrap to a certain
         boot level
      
      Regular commands…
       * are allowed to access TYPO3_CONF_VARS in constructor
       * are allowed to inject any service via constructor
       * are allowed to access TCA in constructor
       * may perform database calls in constructors (although this is not
         recommended)
       * may fail during construction, e.g. because of a stale DI container
         (an upcoming low level cache:flush/warmup command will be
         provided for such scenarios)
      
      The command list `bin/typo3 list`…
       * will show all low level commands
       * will degrade to low level only commands if the DI
         container is not loadable
      
      The upgrade command therefore now runs fully uncached and does not
      require a full boot upfront.
      
      The symfony command `help` is treated as non low level command,
      as command constructors need to be executed in order for arguments
      to be configured and available for help output. Therefore a full
      boot is required. This causes the symfony DI container,
      ext_localconf and ext_tables to be loaded.
      That means: An invalid container cache will cause help to fail,
      `list` will degrade do lowlevel commands, but an
      (upcoming) low level console command cache:flush/warmup will
      still be invokable and is intended for scenarios where 3rd party
      code is changed and therefore DI/localconf/TCA cache became stale.
      
      `typo3/cms-cli`, which provides vendor/bin/typo3 in composer mode,
      is adapted in: https://github.com/TYPO3/cms-cli/pull/5
      
      Commands used for updating typo3/cms-cli:
      
        composer require typo3/cms-cli:^3.0
        composer require typo3/cms-cli:^3.0 \
          --no-update --working-dir=typo3/sysext/core
      
      Resolves: #86248
      Related: #93174
      Releases: master
      Change-Id: Ie7cfb73983d96ed67532570be4099a25d106db28
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67241
      
      
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
      Tested-by: Helmut Hummel's avatarHelmut Hummel <typo3@helhum.io>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: Helmut Hummel's avatarHelmut Hummel <typo3@helhum.io>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      3500a5ca