[!!!][TASK] Cleanup and remove old filefunc logic 95/45695/15
authorBenni Mack <benni@typo3.org>
Fri, 8 Jan 2016 11:42:33 +0000 (12:42 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 3 Aug 2016 18:03:54 +0000 (20:03 +0200)
commit30282eef79e069fe78ea39e53df2fc003bc6c2f4
tree65be7adcede5e3279c09de170b232629245717e9
parenta30db6491c3b29d101d60409ae996086ad232951
[!!!][TASK] Cleanup and remove old filefunc logic

The BasicFileUtility was used before FAL also for
checking file mounts and paths, and is only used
for legacy files now. A lot of that code can therefore be removed.

First of all, the init() function was replaced by a real
constructor. A possibility to set the file extension
permissions was added.

Removed DefaultConfiguration
- TYPO3_CONF_VARS[BE][fileExtensions][ftpspace]

Removed properties:
- getUniqueNamePrefix
- tempFN
- f_ext
- mounts
- webPath
- isInit

Removed methods:
- checkPathAgainstMounts()
- findFirstWebFolder()
- slashPath()
- is_webpath()
- checkIfFullAccess()
- init()

Methods that are now protected
- is_directory()
- is_allowed()

Resolves: #77182
Releases: master
Change-Id: I2a8f40f0ea143087c23e269ef69ca4e8548b7b8f
Reviewed-on: https://review.typo3.org/45695
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Controller/File/FileController.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Utility/File/BasicFileUtility.php
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-77182-RemovedBasicFileUtilityMethodsAndProperties.rst [new file with mode: 0644]
typo3/sysext/impexp/Classes/ImportExport.php