[FEATURE] Human readable names for special folders 77/19177/12
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 22 Mar 2013 13:10:02 +0000 (14:10 +0100)
committerAndreas Wolf <andreas.wolf@typo3.org>
Tue, 2 Apr 2013 13:26:57 +0000 (15:26 +0200)
commitf2e104e1a6ac831468890147ebd38878918a2eb6
tree7c080aa1baf4522c0eafec842c50b6ae72fafd80
parent565786a0f55bd8e44605e144c8c56fb968464de6
[FEATURE] Human readable names for special folders

The names of some special folders (user upload,
temporary files, recycler) were historically
converted to a human readable string. This is partly
broken in the current version, especially the sorting
gets mixed up. This commit changes the concept to
make the mapping more flexible (i.e., the driver can
decide what folder has which special role) and also
fixes the name mapping and sorting.

Change-Id: Iaf7dee74f4d9031ed91b446937361ecdede9a0b5
Resolves: #46542
Releases: 6.1
Reviewed-on: https://review.typo3.org/19177
Tested-by: Philipp Gampe
Tested-by: Andreas Wolf
Reviewed-by: Philipp Gampe
Reviewed-by: Andreas Wolf
typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
typo3/sysext/core/Classes/Resource/Folder.php
typo3/sysext/core/Classes/Resource/FolderInterface.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Classes/Resource/Utility/ListUtility.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/lang/locallang_mod_file_list.xlf