[!!!][FEATURE] Replace file feature for FAL file list 97/40797/10
authorSven Hartmann <sven.hartmann@aoe.com>
Wed, 1 Jul 2015 12:19:36 +0000 (14:19 +0200)
committerBenjamin Mack <benni@typo3.org>
Tue, 14 Jul 2015 22:05:19 +0000 (00:05 +0200)
commit01663c47e17afdc49eaee757a7cdf6614d89cb04
treee66b62932c9366ed9f3f9727d22ee789e0af6845
parent1904c3c039e81db2e0bb8c154a6da8341cdc1d74
[!!!][FEATURE] Replace file feature for FAL file list

Provides a new button "replace" at the extended view in FAL equal to
DAM. Its possible to replace a file
* with a new one -> old file will be overwritten; identifier of the file
object will be kept
* with a new one -> old file will be deleted; identifier of the file
object will be changed to the new filename

The file replacing also respects unique filenames.

To allow editors to replace files the need the "Files: Replace"
permissing needs to be set.

Change-Id: If5882ef620135d4e7238eb8bb56f020304cd1c0c
Resolves: #56133
Releases: master
Reviewed-on: http://review.typo3.org/40797
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
17 files changed:
typo3/sysext/backend/Classes/Controller/File/ReplaceFileController.php [new file with mode: 0644]
typo3/sysext/backend/Modules/File/Replace/index.php [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/Templates/file_replace.html [new file with mode: 0644]
typo3/sysext/backend/ext_tables.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php
typo3/sysext/core/Configuration/TCA/be_groups.php
typo3/sysext/core/Configuration/TCA/be_users.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-56133-NewBeUserPermissionFilesReplace.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-56133-ReplaceFileFeatureForFalFileList.rst [new file with mode: 0644]
typo3/sysext/core/ext_tables.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/install/Classes/Updates/FilesReplacePermissionUpdate.php [new file with mode: 0644]
typo3/sysext/install/ext_localconf.php
typo3/sysext/lang/locallang_core.xlf
typo3/sysext/lang/locallang_tca.xlf
typo3/sysext/t3skin/Classes/Slot/IconStyleModifier.php