1. 08 Jun, 2020 1 commit
  2. 17 Apr, 2020 1 commit
  3. 15 Apr, 2020 1 commit
  4. 14 Apr, 2020 1 commit
  5. 23 Nov, 2019 1 commit
  6. 27 Aug, 2019 1 commit
  7. 15 Mar, 2019 1 commit
  8. 01 Oct, 2018 1 commit
  9. 05 Jul, 2018 1 commit
  10. 07 Mar, 2018 1 commit
    • Benni Mack's avatar
      [FEATURE] Introduce an Environment API class · f10f551b
      Benni Mack authored and Susanne Moog's avatar Susanne Moog committed
      A new class Environment is added, which is initialized right at the very
      beginning of any TYPO3-based request.
      The class contains a static list of properties commonly used throughout the
      core to access paths, constants or global variables. The class also contains
      methods that are relevant for ALL kind of PHP requests, CLI and web requests.
      In order to avoid constants, and global variables, this is centralized in one
      place, which allows to "re-define" values for testing purposes, making functional
      tests a lot simpler.
      This would better be stored in a dependency injection container and injected
      as dependency/parameter into the respective classes that need the information.
      We're not at that point to use dependency injection for every class, therefore
      this class provides a static interface as a long-term interim solution.
      Additionally, it adds a new functionality, basically finally allowing to move
      code outside of the PATH_site constant with a proper API.
      If the environment variable "TYPO3_PATH_APP" is set, this acts as a root path
      for the project, which can be the same as PATH_site, or (usually) one level
      All typical new composer-based installations have this folder structure set up
      automatically. Non-composer mode installations can set this environment variable
      to make TYPO3 aware of non-public-accessable folders.
      The following changes apply (with further patches):
      - When TYPO3_PATH_APP is set, all logs / sessions / cache files are moved into $PROJECT_ROOT/var/.
      - Same applies to typo3conf/l10n/, effectively moving this into a semi-writable
      place, the same place where logs should be placed.
      - LocalConfiguration.php, PackageStates.php and AdditionalConfiguration.php
        are now located at $PROJECT_ROOT/config/
      The folder typo3conf then only contains code related to extensions.
      The long-term goal until 9 LTS is that TYPO3 Core does not use any constants
      anymore, which have been superseded by this class right now.
      Resolves: #84153
      Releases: master
      Change-Id: I7ca35f752493d7e0d1c21c83a9ffbfb6a40eb463
      Reviewed-on: https://review.typo3.org/55960
      Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
      Tested-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
      Tested-by: default avatarTYPO3com <no-reply@typo3.com>
      Reviewed-by: default avatarMathias Schreiber <mathias.schreiber@typo3.com>
      Tested-by: default avatarMathias Schreiber <mathias.schreiber@typo3.com>
      Reviewed-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
      Tested-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
  11. 08 Dec, 2017 1 commit
    • Markus Hoelzle's avatar
      [!!!][FEATURE] Move extension configuration to install tool · ebf0f1a7
      Markus Hoelzle authored and Benni Mack's avatar Benni Mack committed
      With #82254 LocalConfiguration serialized array EXT/extConf has been
      changed to a not serialized array in EXTENSIONS. This patch follows
      up on this task an finishes various tasks:
      * An install tool silent upgrader upmerges given EXT/extConf settings
        to EXTENSIONS array. The resulting EXTENSIONS array does not contain
        dots for sub paths in its array key anymore and is accessible with a
        new ExtensionConfiguration->get() API to fetch values and whole
        extension config.
      * A new API is introduced to get() and set() extension specific
        configuration, is documented and used throughout the core to not
        unserialize old EXT/extConf anymore. Setting values updates legacy
        EXT/extConf to new values including compatible 'dot' ending on
        nested array configurations.
      * If extensions come with new configuration items in ext_conf_template.txt
        a silent upgrader of the install tool synchronizes these to the
        EXTENSIONS and old extConf array. Extension authors can rely on that
        and always fetch new keys from the new ExtensionConfiguration->get()
        API right away. The synchronization is also triggered when new
        extensions are loaded or extensions are updated via the extension
      * Core usages are adapted to the new API.
      * Next to the main get() / set() API, the extension configuration
        form is extracted from the extension manager and put into the install
        tool as a new card in "Settings". The code below is streamlined
        and encapsulated with just a couple of public methods in class
        'ExtensionConfigurationService' as internal class for use in install
        tool and extension manager.
      Resolves: #82368
      Related: #82254
      Releases: master
      Change-Id: I88568fa355f8f6fd5acc9850dcdd718fdd9a1b2e
      Reviewed-on: https://review.typo3.org/54034
      Tested-by: default avatarTYPO3com <no-reply@typo3.com>
      Reviewed-by: default avatarDaniel Gorges <daniel.gorges@b13.de>
      Tested-by: default avatarDaniel Gorges <daniel.gorges@b13.de>
      Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
  12. 01 Feb, 2017 1 commit
  13. 09 Jul, 2016 1 commit
  14. 31 Mar, 2016 1 commit
  15. 14 Oct, 2015 1 commit
  16. 08 Oct, 2015 1 commit
  17. 06 Aug, 2015 1 commit
  18. 18 Jul, 2015 1 commit
  19. 17 Jul, 2015 1 commit
  20. 15 Jul, 2015 1 commit
  21. 20 Apr, 2015 1 commit
  22. 13 Dec, 2014 2 commits
  23. 22 Jun, 2014 1 commit
    • Michael Schams's avatar
      [TASK] Re-work/simplify copyright header in PHP files - Part 9 · 2ffb721c
      Michael Schams authored
      This patch replaces the copyright/license header in PHP files with a
      new, simplified one. The new header does not show the year figure, nor
      an author name, and refers to the LICENSE.txt file for the full
      copyright information. License is: GPL2 or any later version.
      This is a multi-part commit due to the huge number of changed files.
      See issue #59785 for further details.
      Resolves: #59785
      Releases: 6.3, 6.2
      Change-Id: If6a4795e7f2841474241d236d8ed33baceee0d2e
      Reviewed-on: https://review.typo3.org/31030
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
  24. 30 Apr, 2014 1 commit
    • Markus Klein's avatar
      [CLEANUP] Extension Manager code · 97a1881f
      Markus Klein authored
      * Add missing annotations
      * Shorten unnecessary namespace annotations
      Resolves: #57861
      Releases: 6.2
      Change-Id: Ic8e24e76e3ccc09122dc0a288f1e0b538685c478
      Reviewed-on: https://review.typo3.org/29431
      Reviewed-by: Oliver Klee
      Reviewed-by: Alexander Opitz
      Tested-by: Alexander Opitz
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
  25. 25 Mar, 2014 1 commit
    • Helmut Hummel's avatar
      [BUGFIX] Fix warning during extension installation · 6bf26d96
      Helmut Hummel authored
      During unpacking of an extension in the installation
      process it can happen that the extension data
      contains folders in the file list.
      These folders need to be removed from the list
      in order to avoid warnings when trying to write
      directories as files.
      Also remove duplicates from folders before
      creating them.
      Besides fix some (non related) comparisons to
      strict comparisons on the go.
      Resolves: #57261
      Releases: 6.2
      Change-Id: Ib6821a0a438ebc9441b8fa2ee3fbd7869f23ec7f
      Reviewed-on: https://review.typo3.org/28731
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Ernesto Baschny
      Tested-by: Ernesto Baschny
  26. 13 Jan, 2014 1 commit
  27. 01 Oct, 2013 1 commit
  28. 19 Mar, 2013 1 commit
    • Wouter Wolters's avatar
      [TASK] Update copyright year to 2013 · 4d463976
      Wouter Wolters authored and Christian Kuhn's avatar Christian Kuhn committed
      In this patch are also some fixes for files containing
      a interface. Due the namespace change all interfaces
      have the curly bracket not on the same line as the
      interface name.
      Change-Id: I64ba45de73693452d681ce7f018965968b11d2af
      Resolves: #46370
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/18984
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
  29. 16 Nov, 2012 1 commit
  30. 17 Sep, 2012 1 commit
  31. 23 Aug, 2012 1 commit