Packages/TYPO3.CMS.git
5 years ago[BUGFIX] adjust configuration handling to #55569 50/27350/2
Felix Oertel [Wed, 5 Feb 2014 08:09:42 +0000 (09:09 +0100)]
[BUGFIX] adjust configuration handling to #55569

In #55569 we got rid of the empty TypoScript generated by
default. The configurationManager relies on the empty
arrays to be present, before merging. This patch removes
this necessity.

Resolves: #55687
Releases: 6.2
Change-Id: I7f5ec4f7d120ffa45c8b526817debbc5fd38fe4f
Reviewed-on: https://review.typo3.org/27350
Tested-by: Christian Weiske
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
5 years ago[BUGFIX] Check folder access for inline uploader 02/27302/5
Alexander Stehlik [Mon, 3 Feb 2014 18:57:23 +0000 (19:57 +0100)]
[BUGFIX] Check folder access for inline uploader

Before the inline drag and drop upload functionality to the default
upload folder is enabled it is made sure that the upload folder
is initialized and that the user is allowed to add files.

Resolves: #55628
Releases: 6.2
Change-Id: Ia18678dc432c6f0addea33aa0389db54297435e3
Reviewed-on: https://review.typo3.org/27302
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Set TYPO3 version to 6.2-dev 28/27328/2
TYPO3 Release Team [Tue, 4 Feb 2014 18:50:28 +0000 (19:50 +0100)]
[TASK] Set TYPO3 version to 6.2-dev

Change-Id: I19dc6d19251bc6bb7ab26d1b98d1ccf4a37c06d4
Reviewed-on: https://review.typo3.org/27328
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years ago[RELEASE] Release of TYPO3 6.2.0beta5 27/27327/2 TYPO3_6-2-0beta5
TYPO3 Release Team [Tue, 4 Feb 2014 18:49:56 +0000 (19:49 +0100)]
[RELEASE] Release of TYPO3 6.2.0beta5

Change-Id: If8aa7427548911d665cb84db21c0553b16a4b964
Reviewed-on: https://review.typo3.org/27327
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years agoRevert "[BUGFIX] Frontend Login not added to CSC anymore" 19/27319/3
Ernesto Baschny [Tue, 4 Feb 2014 10:39:52 +0000 (11:39 +0100)]
Revert "[BUGFIX] Frontend Login not added to CSC anymore"

This reverts commit 373a90b8600e37c0c70d3b0771d18385eca3f961

Benni is working on a better solution to the problem.

Related: #55557
Change-Id: I749ea9beb3879d7503294a51107a4a3855f0105e
Reviewed-on: https://review.typo3.org/27319
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Page tree filter couldn't filter for id or title anymore 17/27317/3
Ernesto Baschny [Tue, 4 Feb 2014 08:43:14 +0000 (09:43 +0100)]
[BUGFIX] Page tree filter couldn't filter for id or title anymore

Bug was introduced by #54265, one "(int)" was forgotten.

Releases: 6.2
Resolves: #55642
Change-Id: Ie56b36be9d2f11b46687c2966d84e49f301ffede
Reviewed-on: https://review.typo3.org/27317
Reviewed-by: Daniel Siepmann
Tested-by: Daniel Siepmann
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Frontend Login not added to CSC anymore 33/27233/2
Benjamin Mack [Sat, 1 Feb 2014 15:02:03 +0000 (16:02 +0100)]
[BUGFIX] Frontend Login not added to CSC anymore

As felogin has no dependency for CSS Styled Content
it registers itself via
ExtensionManagementUtility::addTypoScript()
and does not hook in after css_styled_content, because
CSS styled content itself hasn't been initialized at that
time. Thus, felogin needs to have a dependency on
css_styled_content in order to still work as before.

Additionally, some unnecessary TypoScript code
was removed / cleaned up at the same time.

How to reproduce:
Add a login CE and you'll get a yellow error
message. Apply the patch, and the form will
show up (you need to uninstall / install an
extension first in order to have the dependecy
resolving take place).

Releases: 6.2
Resolves: #55557
Change-Id: I81e590038c10e793538419523ba37d3b29700b48
Reviewed-on: https://review.typo3.org/27233
Reviewed-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Move cursor::pointer to complete header area in IRRE 85/27285/3
Georg Ringer [Mon, 3 Feb 2014 06:05:24 +0000 (07:05 +0100)]
[TASK] Move cursor::pointer to complete header area in IRRE

The whole header is clickable, thererfore move the css rule
to this place.

Change-Id: Ia864faba4976fc5e2e84299a42e2661a9566be1c
Resolves: #55611
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/27285
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] PHP ext bcmath and gmp needed for openid 09/27309/2
Markus Klein [Mon, 3 Feb 2014 22:54:39 +0000 (23:54 +0100)]
[TASK] PHP ext bcmath and gmp needed for openid

Mention PHP extensions bcmath and gmp in INSTALL.md,
because openid requires one of them to be installed.

Resolves: #55635
Releases: 6.2
Change-Id: I6ab651d3cb863a570b82fc33231e746e897bee96
Reviewed-on: https://review.typo3.org/27309
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] DatabaseConnection::isConnected() should use ping() 47/26447/3
Markus Klein [Mon, 16 Dec 2013 11:22:37 +0000 (12:22 +0100)]
[TASK] DatabaseConnection::isConnected() should use ping()

In some rare cases the database connection might be down, but
DatabaseConnection still has isConnected set to TRUE.
A call to isConnected() simply returns the member variable's value.

Improve the getter to also ping() the database if the class thinks
it is connected to verify the connection state.

The other methods of the class will still use the member variable
and not the getter method to avoid a ping() to the database on every
database interaction.

Resolves: #54323
Releases: 6.2, 6.1
Change-Id: I6bf090e5ab5f1d5539319ff10a1fb224036c4634
Reviewed-on: https://review.typo3.org/26447
Reviewed-by: Bill Dagou
Tested-by: Bill Dagou
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] addModule after/before not working 84/27284/12
Michiel Roos [Sun, 2 Feb 2014 23:19:25 +0000 (00:19 +0100)]
[BUGFIX] addModule after/before not working

The cleaned up addModule() method no longer adds the module after a
module, when the target module does not exist.

Expected behaviour: module added to the list.

Observed behaviour: module not added at all.

Change-Id: Ie0d1d0c98f9c7dde81636a40eb18a3a7816392f6
Resolves: #55608
Related: #55122
Releases: 6.2
Reviewed-on: https://review.typo3.org/27284
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Use $x[n] instead of substr($x, n, 1) 36/27136/8
Michiel Roos [Wed, 29 Jan 2014 20:38:28 +0000 (21:38 +0100)]
[TASK] Use $x[n] instead of substr($x, n, 1)

Change-Id: Ib58894a67f0292b9d62da81511ce12d3f16590ef
Resolves: #55445
Releases: 6.2
Reviewed-on: https://review.typo3.org/27136
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Unused TDParams in ColumnsContentObject() 86/26686/4
Michiel Roos [Tue, 7 Jan 2014 23:12:55 +0000 (00:12 +0100)]
[BUGFIX] Unused TDParams in ColumnsContentObject()

TypoScript configuration for TDParams is assigned to the PHP variable
$TDParams which is never used. The rest of the method uses $TDparams.

Change-Id: Ice8cd2ad2b4f1a8d68d62c3f2cfc4cfec3c3c210
Resolves: #54824
Releases: 6.2
Reviewed-on: https://review.typo3.org/26686
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years agoRevert "[TASK] Style buttons / invert (UX Vision)" 06/27306/3
Ernesto Baschny [Mon, 3 Feb 2014 18:28:57 +0000 (19:28 +0100)]
Revert "[TASK] Style buttons / invert (UX Vision)"

This reverts commit de4811fc2d809917076d21fa1ceaebcd42b82946

This is not in line with the rest of the backend yet.
The "UX vision" is for after 6.2.

Change-Id: Iab8880163b0cb668237617b1260b4126b16d1cb3
Reviewed-on: https://review.typo3.org/27306
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years agoRevert "[BUGFIX] Button typography" 07/27307/2
Ernesto Baschny [Mon, 3 Feb 2014 18:33:09 +0000 (19:33 +0100)]
Revert "[BUGFIX] Button typography"

This reverts commit 590f76cc4b3bc86ee06fafc1a2a30f90d5b1d56c

This is not in line with the rest of the backend yet.
The "UX vision" is for after 6.2.

Change-Id: Iabb64ac3a278a3a3e1423283a9267aa5996343f1
Reviewed-on: https://review.typo3.org/27307
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Button typography 01/27301/2
Felix Kopp [Mon, 3 Feb 2014 13:43:28 +0000 (14:43 +0100)]
[BUGFIX] Button typography

Removes share font from buttons. The current font does
not render adequately.

Change-Id: I8d2a998275e52fbb831abb9046f3711e82acc401
Resolves: #55624
Releases: 6.2
Reviewed-on: https://review.typo3.org/27301
Tested-by: Markus Klein
Reviewed-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Framework Packages aren't sorted properly 00/27300/2
Thomas Maroschik [Mon, 3 Feb 2014 13:26:46 +0000 (14:26 +0100)]
[BUGFIX] Framework Packages aren't sorted properly

In the package dependency resolver, the method
buildDependencyGraph builds the dependency graph
first for the framework packages and afterwards
for all left packages.

The filtering if a package is a framework package
happens by comparing the package path with PATH_typo3
and a sysext folder contant. But as PATH_typo3 is
absolute and the package path from the package states
configuration is relative to PATH_site, this filter
does not work.

The patch changes the path to a relativ one.

Fixes: #55623
Releases: 6.2
Change-Id: I2f57dee433054463ebfd17aab5f76b19986c2747
Reviewed-on: https://review.typo3.org/27300
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[TASK] Style buttons / invert (UX Vision) 65/27265/4
Felix Kopp [Sun, 2 Feb 2014 14:57:52 +0000 (15:57 +0100)]
[TASK] Style buttons / invert (UX Vision)

Styles all buttons in the backend similar to UX vision paper.
Inverts buttons colors and changes font-family.

This patch does not bring styling to primary button: orange
or secondary button: silver.

Change-Id: I273e76a02083aedca4c6759948172b418e990ede
Resolves: #55592
Releases: 6.2
Reviewed-on: https://review.typo3.org/27265
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Marcin Sągol
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Unify: TCE input / TCE readonly / input 69/27269/2
Felix Kopp [Sun, 2 Feb 2014 16:44:58 +0000 (17:44 +0100)]
[BUGFIX] Unify: TCE input / TCE readonly / input

Unify form input fields with TCE forms input fields with
TCE forms readOnly text.

Change-Id: If17a9477bcedad33745b5e093b338472365a81cf
Resolves: #55599
Releases: 6.2
Reviewed-on: https://review.typo3.org/27269
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] File upload directly in Doc-module is missing 37/27237/4
Frans Saris [Sat, 1 Feb 2014 15:44:43 +0000 (16:44 +0100)]
[BUGFIX] File upload directly in Doc-module is missing

Since the introduction of FAL the option to upload a file
directly in your form has disappeared.

With this change the upload posibility is back with some extras.
* progress is shown
* drag&drop of files
* multiple file upload

The options is can be disabled just like before in the
user settings and for each field in TCA.

foreign_selector_fieldTcaOverride.config.appearance.fileUploadAllowed = 0

The upload button is only shown for browsers that support
drag&drop upload. And only for FAL fields (sys_file_reference).

Resolves: #55545
Releases: 6.2
Change-Id: I4b984099095d7f66c3d37023cd6c547b2ff5d59f
Reviewed-on: https://review.typo3.org/27237
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Rendering inline TCEforms without AJAX is broken 04/12904/4
Alexander Jahn [Thu, 19 Jul 2012 10:13:32 +0000 (12:13 +0200)]
[BUGFIX] Rendering inline TCEforms without AJAX is broken

When loading tt_content as an inline record WITHOUT using AJAX,
some additional broken fields are rendered.

Change-Id: Ia5aaec79d0fb7c3266ea4f3a0c04d65b1af4b201
Fixes: #39048
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/12904
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Add silent config upgrader for upgrade wizard settings 51/26451/5
Markus Klein [Mon, 16 Dec 2013 15:49:20 +0000 (16:49 +0100)]
[BUGFIX] Add silent config upgrader for upgrade wizard settings

Add a migration function to the SilentConfigurationUpgradeService which
takes care of migrating the old class names used for the Install Tool
Upgrade Wizard's information storage to the new (namespaced) class names.

Resolves: #54457
Releases: 6.2
Change-Id: Ib6edb9ec3a8a1dc4873eb38e9a08bc8107db31bb
Reviewed-on: https://review.typo3.org/26451
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Cleanup EM list utility 39/27239/5
Helmut Hummel [Sat, 1 Feb 2014 17:45:37 +0000 (18:45 +0100)]
[TASK] Cleanup EM list utility

The EM has a lot of code related prior to
the inclusion of package management.

This change does a small cleanup in
ListUtility and calling code to make
better use of the new API.

Resolves: #55562
Releases: 6.2
Change-Id: I7aa5f5204ed3552fec617f2cd9e65dac2009486f
Reviewed-on: https://review.typo3.org/27239
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[TASK] tabmenu: Get rid of mouseOver/mouseOut 70/27270/3
Stefan Neufeind [Sun, 2 Feb 2014 16:54:19 +0000 (17:54 +0100)]
[TASK] tabmenu: Get rid of mouseOver/mouseOut

Tabmenu so far used mouseOver/mouseOut to set CSS-classes.
This is replaced with :hover functionality.

Change-Id: Ie62c017bca7bf26b1d48f1ae02ebab45090f3263
Resolves: #55600
Releases: 6.2
Reviewed-on: https://review.typo3.org/27270
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Various PHP Warnings with invalid credentials 26/27126/5
Xavier Perseguers [Wed, 29 Jan 2014 13:54:37 +0000 (14:54 +0100)]
[BUGFIX] Various PHP Warnings with invalid credentials

When invalid credentials are entered in the Backend login form, various
PHP warnings are raised such as

    PHP Warning: Illegal string offset 'uid'

because $user is not an array.

Resolves: #55434
Releases: 6.2, 6.1
Change-Id: I62b85816ce04720ed9fd236965c3a6f55effd093
Reviewed-on: https://review.typo3.org/27126
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Duplicate method in base tests 72/27272/2
Christian Kuhn [Sun, 2 Feb 2014 18:43:28 +0000 (19:43 +0100)]
[TASK] Duplicate method in base tests

extbase BaseTestCase extends core BaseTestCase and overrides
inject() with a duplicate. Remove dupe.

Change-Id: I96ce01c9754ce57cb5d10e9a322a8c5acb950647
Resolves: #55606
Releases: 6.2
Reviewed-on: https://review.typo3.org/27272
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Very short lifetime for cache_pagesection 28/27228/3
Andreas Wolf [Sat, 1 Feb 2014 11:28:31 +0000 (12:28 +0100)]
[BUGFIX] Very short lifetime for cache_pagesection

The default lifetime for the cache_pagesection is not set, so the
overall default of 3600 is used. This leads to the information in there
being repeatedly generated, though it does seldom change (it only
consists of information in the rootline, TypoScript configuration,
conditions etc.). Therefore, the lifetime is increased by this patch
again to 30 days. The cache is cleared nonetheless when clearing "all
caches".

The default lifetime for this cache was unlimited prior to the
introduction of the caching framework.

Change-Id: I98b307f11779174110ea2d5d79027771b44c5098
Resolves: #39295
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/27228
Reviewed-by: Ingo Schmitt
Tested-by: Ingo Schmitt
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Oliver Klee
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
5 years ago[BUGFIX] Fix failing tests on OSX Mavericks 71/27271/3
Helmut Hummel [Sun, 2 Feb 2014 17:40:30 +0000 (18:40 +0100)]
[BUGFIX] Fix failing tests on OSX Mavericks

Resolves: #55603
Releases: 6.2

Change-Id: I27efb6d19f580eba455cde92dd76628f72dce536
Reviewed-on: https://review.typo3.org/27271
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Remove unneeded padding in page module 36/26936/3
Georg Ringer [Mon, 20 Jan 2014 06:32:52 +0000 (07:32 +0100)]
[TASK] Remove unneeded padding in page module

Removes excessive top margin above Web>Page backend layout
cells. Brings gridCells equal heights and bottom spacing. Replaces
full white borders with adequate margins.

Change-Id: Ic5e7d3279c4facd969f171280d881b5620df4be7
Resolves: #55150
Related: #39971
Releases: 6.2
Reviewed-on: https://review.typo3.org/26936
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Default active extension handling in package manager 26/27226/6
Christian Kuhn [Sat, 1 Feb 2014 19:28:58 +0000 (20:28 +0100)]
[TASK] Default active extension handling in package manager

Integrate the definition of packages that should be activated at
first installation and packages that are required for a minimal
usable system in the package manager.

There are now three possible properties in Classes/Package.php:

* protected - Package can not be uninstalled in em.
* partOfFactoryDefault - Package is activated at first installation.
* partOfMinimalUsableSystem - Package is activated if
  PackageStates.php is missing. extensionmanager and t3skin are
  affected here, if PackageStates.php is deleted, the install tool
  will create a new one with those packages activated, so the backend
  is "usable" enough to activate further packages.

Resolves: #53988
Releases: 6.2
Change-Id: I4f5d3f0a7d3bcf332d1e8e6c29156f93bae8029c
Reviewed-on: https://review.typo3.org/27226
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[TASK] Style "Download" button - element information 67/27267/2
Felix Kopp [Sun, 2 Feb 2014 15:27:59 +0000 (16:27 +0100)]
[TASK] Style "Download" button - element information

Brings button style to "Download" link with download icon.

Change-Id: I4edae8b861d9c6f98f156d8b538031dd8ca8f62c
Resolves: #55597
Releases: 6.2
Reviewed-on: https://review.typo3.org/27267
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Add "action-edit-download" sprite icon 66/27266/3
Felix Kopp [Sun, 2 Feb 2014 15:22:34 +0000 (16:22 +0100)]
[TASK] Add "action-edit-download" sprite icon

Brings an icon for download action. Icon is based on the
action-edit-upload sprite icon.

Change-Id: I4327c85c14dea3b69d8184259c5ac8729396d2e8
Resolves: #55594
Releases: 6.2
Reviewed-on: https://review.typo3.org/27266
Reviewed-by: Cedric Ziel
Tested-by: Cedric Ziel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Follow-up: Buttons CSS definition 60/27260/4
Felix Kopp [Sun, 2 Feb 2014 11:55:05 +0000 (12:55 +0100)]
[TASK] Follow-up: Buttons CSS definition

Moves definitions to CSS/structure.
Also fixes right margin for a.t3-button.

Change-Id: Ib51e8b7e3c11e0a4cf474b6322aaeaed11c63b55
Resolves: #55588
Related: #55539
Releases: 6.2
Reviewed-on: https://review.typo3.org/27260
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Add functional test cases to DataHandler (live) 88/27188/13
Oliver Hader [Fri, 31 Jan 2014 11:50:32 +0000 (12:50 +0100)]
[TASK] Add functional test cases to DataHandler (live)

This change-set adds new functional tests for the DataHandler
to ensure the correct behaviour in the Live Workspace. The
difference to current functional tests is, that here a more
complete picture is checked in the database instead of only
particular ids and values.

The tests use a DataSet, which is basically only a CSV file
that hold the record values for required tables. These CSV
files can easily be modified by any spreadsheet application.
The "Scenario" DataSets are used to define the scenario each
test case is based on - the "Assertion" DataSets are used to
acutally assert that the correct processing was done in
the DataHandler.

Resolves: #54855
Releases: 6.2
Change-Id: I5d748cde04a70b9c158d09f9a0bd337ef809fd02
Reviewed-on: https://review.typo3.org/27188
Reviewed-by: Peter Kuehn
Tested-by: Peter Kuehn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[TASK] Add possibility to resolve a default storage 45/26945/6
Steffen Ritter [Mon, 20 Jan 2014 17:33:28 +0000 (18:33 +0100)]
[TASK] Add possibility to resolve a default storage

Before FAL a default upload folder has been retrived by setting
$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] . 'user_upload'.
With FAL this even could be placed on a remote system. Furthermore
we do not won't users to fiddle around with path like that anymore.

Each Storage already provides "getDefaultFolder" meant for uploads.
But still, if there are several storages, there is no way to figure
out which storage should be the default one for uploads, if it is
legacy code or just not configurable.

This patch introduces the concept of a default storage as a flag
which can be set within the storage record. The automatic creation
of /fileadmin/ - storage will have this flag already set.

Resolves: #55177
Releases: 6.2
Change-Id: I6684670c5acb023bc26596e9a55ca84bb5c41b40
Reviewed-on: https://review.typo3.org/26945
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[FEATURE] Bring tree icons in line-height 74/24474/8
Felix Kopp [Mon, 7 Oct 2013 21:55:42 +0000 (23:55 +0200)]
[FEATURE] Bring tree icons in line-height

Adds taller tree icons to EXT:t3skin and put them into a new
sprite category "treeline".

This allows to use these icons without breaks in line-height of 1.5em.

Icons are 30px tall due to:

- line height: 18px = 12px * 1.5em
- Padding top+bottom: 12px = 6px * 2

Change-Id: I8a295dbf55b6847e89250c9c221259386aa362e6
Resolves: #52599
Related: #52501
Related: #49592
Releases: 6.2
Reviewed-on: https://review.typo3.org/24474
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[FEATURE] Add maximumRecords evaluation for TCA type 'check' 46/26946/9
Oliver Hader [Mon, 20 Jan 2014 18:09:21 +0000 (19:09 +0100)]
[FEATURE] Add maximumRecords evaluation for TCA type 'check'

Allow the max items evaluation for checkboxes by setting the
accordant 'eval' property in the field configuration in TCA.

This makes it possible to have only e.g. 5 records that have a
checkbox set system-wide or PID-wide. If an editor
sets a another checkbox in record #6, it gets reverted
until another record was unchecked.

Parameters are "maximumRecordsChecked" and
"maximumRecordsCheckedInPid".

$tcaFieldConf = array(
'type' => 'check',
'eval' => 'maximumRecordsChecked',
'validation' => array(
 'maximumRecordsChecked' => 5
)
);

Change-Id: Ic33571fec15dcc9f83a61e2409256cce7dae8b12
Documentation: #55188
Resolves: #55187
Releases: 6.2
Reviewed-on: https://review.typo3.org/26946
Reviewed-by: Ingo Schmitt
Tested-by: Ingo Schmitt
Reviewed-by: Frans Saris
Tested-by: Frans Saris
5 years ago[CLEANUP] Remove $language from Extbase custom statement 58/27258/5
Felix Oertel [Sun, 2 Feb 2014 10:35:08 +0000 (11:35 +0100)]
[CLEANUP] Remove $language from Extbase custom statement

The parameter $language in extbase's custom statement is not
used anywhere and does not make any sense in use with dbal.

Releases: 6.2
Resolves: #55580
Change-Id: I9c7edda24918b328da66872ef782a6d0e83b0fff
Reviewed-on: https://review.typo3.org/27258
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Stefano Kowalke
Tested-by: Stefano Kowalke
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
5 years ago[BUGFIX] PropertyMapper does not work with class aliasses 78/26578/3
Frans Saris [Sun, 29 Dec 2013 21:18:17 +0000 (22:18 +0100)]
[BUGFIX] PropertyMapper does not work with class aliasses

Currently the property mapper uses the classnames found
in the the class property annotations to find the right
TypeConverter. But for class aliases this breaks as the
alias is used and not the original classname.

There was already a getClassNameForAlias call but this was
to early.

This change moves the getClassNameForAlias() call from
doMapping() to findTypeConverter().

Releases: 6.2, 6.1
Resolves: #54289
Change-Id: Ie4ab3deb3c192290db62ea06826870d2fadba8a7
Reviewed-on: https://review.typo3.org/26578
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Add maxitems for field "metadata" in TCA 12/27112/2
Fabien Udriot [Wed, 29 Jan 2014 06:20:39 +0000 (10:20 +0400)]
[BUGFIX] Add maxitems for field "metadata" in TCA

Value "maxitems" => 1 must be added to field
`metadata` since it has a one-to-one relation.

Change-Id: Ie8771809b952e3b2aa441fcb222a6a3db301655e
Releases: 6.2
Resolves: #55411
Reviewed-on: https://review.typo3.org/27112
Reviewed-by: Wouter Wolters
Reviewed-by: Xavier Perseguers
Reviewed-by: Frans Saris
Reviewed-by: Stefan Froemken
Reviewed-by: Ingo Schmitt
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] The newRecordLinkAddTitle text is not understandable 09/23509/11
Tomita Militaru [Fri, 8 Nov 2013 15:18:10 +0000 (17:18 +0200)]
[BUGFIX] The newRecordLinkAddTitle text is not understandable

Separate the create new record label and the foreign table title
with a colon.

Resolves: #17955
Releases: 6.2
Change-Id: I0869f53e1e5ba0b49ded81e1605494fc2b44fdb0
Reviewed-on: https://review.typo3.org/23509
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Extbase registers unneeded code for plugins 48/27248/4
Benjamin Mack [Sat, 1 Feb 2014 21:51:01 +0000 (22:51 +0100)]
[BUGFIX] Extbase registers unneeded code for plugins

Every time when an extension is registering an extbase
plugin (in ext_localconf.php), the call triggers some
additional TypoScript code, which is basically empty
and does some superfluous code.

The attached patch removes the code inside the
registration process in order to remove the memory
footprint and have a small impact on performance
when bootstrapping TYPO3.

On a frontend script (eID), this makes approx.
2% of the bootstrap process until TSFE kicks in.

Releases: 6.2
Resolves: #55569
Change-Id: I39b810d06be57f436a68afaa717d5ec214b8797b
Reviewed-on: https://review.typo3.org/27248
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
5 years ago[TASK] Style the "add irre item" button 21/27221/5
Frans Saris [Fri, 31 Jan 2014 22:23:13 +0000 (23:23 +0100)]
[TASK] Style the "add irre item" button

This changes styles the buttons to add a new irre item like
the button to add images to a content element.

This patch also unifies button styles.

Resolves: #55539, #53218
Releases: 6.2
Change-Id: Ib07e51cfc6b6675671e1c6a2afd7bb0ebe379e1e
Reviewed-on: https://review.typo3.org/27221
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Layout of page tree filter function broken 31/27231/2
Marcel Wieser [Sat, 1 Feb 2014 12:52:39 +0000 (13:52 +0100)]
[BUGFIX] Layout of page tree filter function broken

Small CSS fix to overwrite general margin
of paragraph tags in page tree indicator bar.

Resolves: #55536
Releases: 6.2
Change-Id: I9a4766a7fbc22f6ab2506f8a12463f5695813205
Reviewed-on: https://review.typo3.org/27231
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[CLEANUP] Let CSS Styled content use new classnames 34/27234/2
Benjamin Mack [Sat, 1 Feb 2014 15:04:56 +0000 (16:04 +0100)]
[CLEANUP] Let CSS Styled content use new classnames

With TYPO3 6.0, includeLibs for classes with
Namespaces / autoloader is not needed anymore.

The patch cleans up the TypoScript of CSS Styled
Content in order to use the new namings and
the superfluous call to includeLibs.

Releases: 6.2
Resolves: #55558
Change-Id: I94558a24479f220ce0fbebb54bb2f8479085c61c
Reviewed-on: https://review.typo3.org/27234
Reviewed-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Add possibility creating accessible mock for abstract classes 15/25315/4
Marc Bastian Heinrichs [Tue, 12 Nov 2013 15:09:30 +0000 (16:09 +0100)]
[TASK] Add possibility creating accessible mock for abstract classes

Resolves: #53564
Releases: 6.0, 6.1, 6.2
Change-Id: If7d69e4f87e368c1eef672cb68f1af92d6ae501b
Reviewed-on: https://review.typo3.org/25315
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Wrong result on empty string globalString condition 79/21979/2
Marc Bastian Heinrichs [Fri, 5 Jul 2013 21:45:30 +0000 (23:45 +0200)]
[BUGFIX] Wrong result on empty string globalString condition

A TypoScript condition like
"[globalString = GP:anEmptyGetPostVarKey = ]" returns a false
value instead of the expected true value.

Fixes: #45183
Releases: 4.5,6.0, 6.1, 6.2
Change-Id: I114b702f4b5ae5f68236874325e82974a8ba6107
Reviewed-on: https://review.typo3.org/21979
Tested-by: Philipp Gampe
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[CLEANUP] Remove initialization of Module Menu 42/27242/2
Benjamin Mack [Sat, 1 Feb 2014 21:36:17 +0000 (22:36 +0100)]
[CLEANUP] Remove initialization of Module Menu

The module menu and its view are instantiated
on every backend call, BE AJAX call etc although
it is only needed in the backend.php file where
it instantiates itself automatically anyways.

The patch removes the call in init.php and
in the TYPO3 Bootstrap as it is not needed
anymore.

Releases: 6.2
Resolves: #55565
Change-Id: I67b6fb54380485d35c070867abf67e3ed416f004
Reviewed-on: https://review.typo3.org/27242
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Add stdWrap on value property of TEXT 45/26445/3
Markus Klein [Mon, 16 Dec 2013 09:45:14 +0000 (10:45 +0100)]
[BUGFIX] Add stdWrap on value property of TEXT

As discussed back in 2010, the value property of the TEXT content object
should have stdWrap functionality as well, if the HTML content object
is deprecated.

Today the 6.0 TSref already mentions stdWrap for value and
the HTML cObject has been removed with 6.0 as well.

This fix now finally adds the stdWrap.

Resolves: #54371
Releases: 6.2, 6.1, 6.0
Change-Id: I1b7068b3715bc9f8aa4608d5f746c16b70562f3b
Reviewed-on: https://review.typo3.org/26445
Reviewed-by: Benjamin Mack
Reviewed-by: Chris topher
Tested-by: Chris topher
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Cleanup and simplify class alias handling 36/27236/5
Helmut Hummel [Sat, 1 Feb 2014 15:24:16 +0000 (16:24 +0100)]
[BUGFIX] Cleanup and simplify class alias handling

There were several issues with the implementation
of class alias handling. Most importantly the
early instance alias cache depended on TYPO3_MODE
which in turn triggered a full class cache
initialization when this cache was missing in one
context.

Additionally eval() calls needed to be used in
certain situations and the building of the cache
files introduced additional complexity.

With this change the cache for early instances
is completely removed and replaced by a simple
setAliasFoClassName() call.

Resolves: #55559
Releases: 6.2
Change-Id: I59958419f28a4ff1d6de4add94ee611b56070068
Reviewed-on: https://review.typo3.org/27236
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
Reviewed-by: Marcin Sągol
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Extract package dependency sorting to separate class 01/27101/6
Thomas Maroschik [Tue, 28 Jan 2014 17:17:42 +0000 (18:17 +0100)]
[TASK] Extract package dependency sorting to separate class

The Package Manager got pretty big due to the custom
dependency resolving algorithm of CMS. Further the
algorithm relied upon the presence of package objects
which might not be fully present yet during bootstrapping.

This patch extracts the dependency handling from the
Package Manager and adapts it to work only on the
package states configuration.

Resolves: #55404
Releases: 6.2
Change-Id: I00e7a3769378b48bd3f3c285ea2b3c6d824dd061
Reviewed-on: https://review.typo3.org/27101
Tested-by: Thomas Maroschik
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Use (int) instead of intval() or (integer) 40/26740/23
Jo Hasenau [Sat, 1 Feb 2014 20:49:09 +0000 (21:49 +0100)]
[TASK] Use (int) instead of intval() or (integer)

This patch replaces most of around 1600 occurrences of
intval() and every (integer) in the whole core.
Additionally it changes GeneralUtility::intExplode to use references
and typecasting as well.
Some occurrences of strstr() together with intval() have been replaced
with strpos() as well.
And some superfluous intval calls have been removed or reduced
to a single one i.e. for protected variables or before loops.
Patch updated after Core CGL decision from 30.01.2014

Resolves: #54265
Releases: 6.2
Change-Id: Iba57ffad1f4233ffa1a9f7d3ca5bfe9d2b53f1e8
Reviewed-on: https://review.typo3.org/26740
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Category fields are not available in Functional Tests 38/27238/3
Oliver Hader [Sat, 1 Feb 2014 15:47:19 +0000 (16:47 +0100)]
[BUGFIX] Category fields are not available in Functional Tests

The category fields are defined dynamically and added to the
extension table configuration. Since the database definitions
are created before modifying this configuration, the category
fields are not available in Functional Tests.

Resolves: #55560
Releases: 6.2
Change-Id: Ie59e544309184d475428bc298f126c2776b4b5e7
Reviewed-on: https://review.typo3.org/27238
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[TASK] Update RequireJS to 2.10 24/27224/2
Benjamin Mack [Sat, 1 Feb 2014 10:02:57 +0000 (11:02 +0100)]
[TASK] Update RequireJS to 2.10

Replace the existing RequireJS code
with the latest version, which is backwards-
compatible and fixes some requireJS bugs.
See http://requirejs.org/docs/download.html#releasenotes

Releases: 6.2
Resolves: #55543
Change-Id: I8ef64858b762a93db0c032509f100235424c2d9a
Reviewed-on: https://review.typo3.org/27224
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Cleanup EXT/requiredExt handling 32/27232/4
Christian Kuhn [Sat, 1 Feb 2014 14:05:37 +0000 (15:05 +0100)]
[TASK] Cleanup EXT/requiredExt handling

LocalConfiguration setting EXT/requiredExt was obsoleted with the
new package manger, the setting is removed by the PackageStates
migration code in install tool already.

* Remove further mentions of this setting
* Adapt method in ExtensionManagementUtility
* Streamline and remove some related units tests
* Move deletion of requiredExt setting to silent update
* Adapt an em view helper to new API

Change-Id: Ie9593c9791893bb4fb0714032efbfc06808b0a35
Resolves: #55555
Releases: 6.2
Reviewed-on: https://review.typo3.org/27232
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Daniel Siepmann
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Ignore cache configuration options when loading Install tool 14/27214/2
Stephan Großberndt [Fri, 31 Jan 2014 18:56:18 +0000 (19:56 +0100)]
[BUGFIX] Ignore cache configuration options when loading Install tool

The options of cacheConfigurations were not reset when setting the
cacheConfigurations to NullBackend in the Install tool.

Resolves: #55527
Releases: 6.2
Change-Id: I25586f16f001fdddbd2d43b2df9110f65c4ad1b4
Reviewed-on: https://review.typo3.org/27214
Reviewed-by: Ernesto Baschny
Reviewed-by: Peter Kuehn
Tested-by: Peter Kuehn
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[!!!][BUGFIX] Avoid unnecessary de-/serialization for page cache 79/27179/5
Bernhard Kraft [Fri, 31 Jan 2014 08:56:50 +0000 (09:56 +0100)]
[!!!][BUGFIX] Avoid unnecessary de-/serialization for page cache

When storing a cache in page the array variable "cache_data" gets
serialized and when being retrieved from cache unserialized.

This is not necessary as de-/serialization is already performed by
the variable caching backend.

Change-Id: I9cf817123947af3f4076dabdce3c569bf41b477c
Resolves: #55493
Releases: 6.2
Reviewed-on: https://review.typo3.org/27179
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
5 years ago[CLEANUP] Cleanup ExtensionManagementUtility 19/27019/7
Michiel Roos [Thu, 23 Jan 2014 10:26:14 +0000 (11:26 +0100)]
[CLEANUP] Cleanup ExtensionManagementUtility

Methods in this class are called a lot and are in need of some cleanup.
* return early
* reduce method and function calls
* update doc comments
* added tests with data provider for Method getCN

Change-Id: I5dcab647fc3da078b5f29beb57fecbf7c98bcaa5
Resolves: #55122
Releases: 6.2
Reviewed-on: https://review.typo3.org/27019
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
5 years ago[TASK] Bad performance of the sys_note ext in BE 81/27081/8
Tim Lochmueller [Mon, 27 Jan 2014 20:46:50 +0000 (21:46 +0100)]
[TASK] Bad performance of the sys_note ext in BE

If there is no valid configuration or there are no sys_note on
the page at all, the Bootstrap doesn't trigger the extbase
rendering. The patch reduces the load time of the page-, info-
and list-module.

Resolves: #55375
Releases: 6.2
Change-Id: Id099c26c272abf5606ccec169bd8eb7487b51349
Reviewed-on: https://review.typo3.org/27081
Reviewed-by: Helmut Hummel
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Followup to #53691 Failing unit test 23/27223/3
Frans Saris [Sat, 1 Feb 2014 08:56:30 +0000 (09:56 +0100)]
[BUGFIX] Followup to #53691 Failing unit test

Remove a duplicate mocking in test fileIndexStatusIsTrueIfUidIsSet()
and setUp() triggered as side effect after patch 71eb69ed230a.

Resolves: #53691
Releases: 6.2
Change-Id: I8ac96d9157bf946bba3c9561369f3553d459f275
Reviewed-on: https://review.typo3.org/27223
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Remove legacy script alt_shortcut.php 25/27225/2
Helmut Hummel [Sat, 1 Feb 2014 10:47:52 +0000 (11:47 +0100)]
[TASK] Remove legacy script alt_shortcut.php

Since the backend restructuring for TYPO3 4.2
the alt_shortcut.php file is not used any more.

We can now safely remove it.

Resolves: #55546
Releases: 6.2
Change-Id: I0ee0108c6238a28ad7b2ad0597f421a30eaf118c
Reviewed-on: https://review.typo3.org/27225
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] IRRE drag and drop sorting now solved using jQuery UI 64/27164/10
Daniel Siepmann [Thu, 30 Jan 2014 16:59:50 +0000 (17:59 +0100)]
[TASK] IRRE drag and drop sorting now solved using jQuery UI

This also fixes “IRRE - drag and drop sorting of items
not possible in Internet Explorer”.

* Added jQuery-ui and jQuery to requirejs.
* Reworked the IRRE-Header HTML and CSS.
* Sortable is done by jQuery-Ui.

Resolves: #51768
Releases: 6.2
Change-Id: Idd121617f2cd5215604747cd0f18285a73dfed49
Reviewed-on: https://review.typo3.org/27164
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Remove fallback for not-indexed files 93/27193/4
Steffen Ritter [Fri, 31 Jan 2014 14:00:30 +0000 (15:00 +0100)]
[TASK] Remove fallback for not-indexed files

Due to all the refactorings all file-objects are created centralized.
In addition it is not possible anymore to create a file object without
an existing index record. Therefore all the fallback-logic for lazy
loading the index record can be removed from the file object.

In addition the unit tests for these parts of the file object have been
removed, too.

Releases: 6.2
Resolves: #53691
Change-Id: I0a01c12e2caaf8554a5b606b7a85d50b44e0e97c
Reviewed-on: https://review.typo3.org/27193
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Add simple functional tests for import/export 07/26907/8
Marc Bastian Heinrichs [Fri, 17 Jan 2014 17:39:42 +0000 (18:39 +0100)]
[TASK] Add simple functional tests for import/export

This patch adds some tests for a simple import and export
scenario for pages and a tt_content element.

Resolves: #55100
Releases: 6.2
Change-Id: Ia4b9a8990c7b757d25f18500def6ddd060426c2f
Reviewed-on: https://review.typo3.org/26907
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Locker throws exception if semaphore can not be acquired 54/23854/6
Markus Klein [Mon, 16 Sep 2013 15:59:10 +0000 (17:59 +0200)]
[BUGFIX] Locker throws exception if semaphore can not be acquired

Locker has wrong LockState in semaphore mode, if the lock
could not be acquired.

Resolves: #52048
Releases: 6.2, 6.1, 6.0
Change-Id: Ifdc2f5d9b2a3c35a0ebef54817a56344f27ab15d
Reviewed-on: https://review.typo3.org/23854
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Remove relation to old em in impexp 00/27100/2
Marc Bastian Heinrichs [Tue, 28 Jan 2014 17:07:47 +0000 (18:07 +0100)]
[BUGFIX] Remove relation to old em in impexp

If a import file has extension dependencies the user was
redirected to the old em with CMD requestInstallExtensions.
Since the new extensionmanager hasn't this functionality,
remove this magic and show the message only.

Resolves: #43709
Releases: 6.2, 6.1, 6.0
Change-Id: I161d4a24135f0d011177f2d4006e4713c71a8fcb
Reviewed-on: https://review.typo3.org/27100
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Multiple file upload in ElementBrowser doesn't work 82/27182/4
Frans Saris [Fri, 31 Jan 2014 09:51:54 +0000 (10:51 +0100)]
[BUGFIX] Multiple file upload in ElementBrowser doesn't work

The file input fields in the ElementBrowser have the attribute
multiple so you can select multiple files. But as the name
is no array it only uploads 1 file.

This patch changes the name attribute of the file input fields
to an array and shows the flashmessages when an error occurred
during upload.

Resolves: #55497
Releases: 6.2
Change-Id: I1315e35e2ef4cfa8175f962c42f32a5a33ffc16e
Reviewed-on: https://review.typo3.org/27182
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Fix test loadValuesSetsStaticEnumConstants 20/27020/3
Markus Klein [Thu, 23 Jan 2014 10:49:38 +0000 (11:49 +0100)]
[BUGFIX] Fix test loadValuesSetsStaticEnumConstants

If you run the test from the BE module of PHPUnit together with
all/other tests it fails. This is due to the fact that the
tests checks more than it actually should.

In particular the static $enumConstants array may already contain
information from other classes, therefore the test only has to
check for existane of information for the tested class.

The patch also corrects the missing \ in the namespace part
between Type and Fixture.

Releases: 6.2
Resolves: #55270
Change-Id: I1ea6546af8013f6c9075525c5bc6f3df579ccfcc
Reviewed-on: https://review.typo3.org/27020
Reviewed-by: Stefano Kowalke
Tested-by: Stefano Kowalke
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] ClassLoader not working with NullBackend for legacy classes 18/27218/2
Daniel Siepmann [Fri, 31 Jan 2014 20:14:54 +0000 (21:14 +0100)]
[BUGFIX] ClassLoader not working with NullBackend for legacy classes

Removed unused line that creates a fatal error.
Implemented eval in case NullBackend is set for “cache_core”
and no alias mapping is included.

Resolves: #55517
Releases: 6.2
Change-Id: Ie1d58985496c4561d8b20fedbd030ad98760becd
Reviewed-on: https://review.typo3.org/27218
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Extbase container injection test triggers PHP bug 19/27219/2
Christian Kuhn [Fri, 31 Jan 2014 20:27:08 +0000 (21:27 +0100)]
[BUGFIX] Extbase container injection test triggers PHP bug

PHP's reflection behaves differently in an edge case used in
extbase constructor injection.
The patch removes the specific check from tests and adds
documentation of this case.

Change-Id: I8ff5ce0d87a28f93ae6be0fd5778289cc9cab7aa
Resolves: #55538
Related: #52349
Releases: 6.2
Reviewed-on: https://review.typo3.org/27219
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Followup to #54131 16/27216/2
Frans Saris [Fri, 31 Jan 2014 19:43:48 +0000 (20:43 +0100)]
[BUGFIX] Followup to #54131

added unit tests.

This change adds the mocking to the new tests.

Resolves: #54131
Releases: 6.1, 6.2
Change-Id: I09abbcea6a2c6310b7a04774808aa92ab8ad1c86
Reviewed-on: https://review.typo3.org/27216
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Followup to #51528 15/27215/3
Frans Saris [Fri, 31 Jan 2014 19:30:18 +0000 (20:30 +0100)]
[BUGFIX] Followup to #51528

Because of some missing mocking there are
several DB error messages when running the FileTest

This adds the missing mocking of the MetaDataRepository.

Releases: 6.2
Resolves: #51528
Change-Id: I02ccb45d315b3eee045efda96c947fb67fd71d20
Reviewed-on: https://review.typo3.org/27215
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Improve usability of Filelist "Drag-Upload" 64/27064/7
Frans Saris [Sun, 26 Jan 2014 21:00:39 +0000 (22:00 +0100)]
[TASK] Improve usability of Filelist "Drag-Upload"

We now can drag & drop files in the file list to upload.
But it looks ugly and has some issues.

This change adds a progress overview as provided by the
UX team and improves the usability.
The progress is shown for files added by drag & drop but
also when you use the file picker.

We switched to the jQuery ajax function as this has
a generic event and response handler.

Resolves: #51361, #53829
Release: 6.2
Change-Id: Ifd7b189f84594149b9590bbd4058ad68e4439344
Reviewed-on: https://review.typo3.org/27064
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Remove padding for selects 90/27190/4
Stephan Großberndt [Fri, 31 Jan 2014 13:05:11 +0000 (14:05 +0100)]
[BUGFIX] Remove padding for selects

Task #55319 introduced a padding for selects,
which looks ugly in Internet Explorer and Firefox.

Resolves: #55510
Related: #55319
Releases: 6.2
Change-Id: I324c5feae256e4b8329b69493dd4f8b9215cab13
Reviewed-on: https://review.typo3.org/27190
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Marcel Wieser
Tested-by: Marcel Wieser
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] FAL: Followup to New dump file to browser 17/27217/2
Benjamin Mack [Fri, 31 Jan 2014 20:05:40 +0000 (21:05 +0100)]
[BUGFIX] FAL: Followup to New dump file to browser

Cache control headers need to be sent for IE8 and
HTTPS combination. See #16491 for more details.

Resolves: #52589
Releases: 6.2
Change-Id: I746820dbbb8ca40a9db7e474ac9aaa7ee3d2fb33
Reviewed-on: https://review.typo3.org/27217
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] tt_content.shortcut depends on layout 11/27211/2
Tom Ruether [Fri, 31 Jan 2014 17:14:41 +0000 (18:14 +0100)]
[TASK] tt_content.shortcut depends on layout

CSS Styled Content delivers its TypoScript
and got a cleanup in 4.6 due to removal
of old plugins.
However, the replacement (in the default
TS from 4.6 to 6.2) has superfluous code
and is not backwards-compatible if the
layout field is used differently or not used
at all (e.g. NULL value instead of 0) for
installations that have been upgraded
since 4.0.

The patch simplifies and unifies
the default TypoScript for
tt_content.shortcut.

Releases: 6.2
Change-Id: I3ed49e265329155af683a993476ffbb13226462c
Reviewed-on: https://review.typo3.org/27211
Reviewed-by: Sebastian Dudda
Tested-by: Sebastian Dudda
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Fix typo in typo3/sysext/core/ext_tables.sql 13/27213/3
Anja Leichsenring [Fri, 31 Jan 2014 18:42:37 +0000 (19:42 +0100)]
[BUGFIX] Fix typo in typo3/sysext/core/ext_tables.sql

The key should be named determineSiteRoot instead of determainSiteRoot.

Change-Id: Ia78832920ad73b76d712041e7546c578a6c4d50f
Resolves: #55534
Relates: #55180
Releases: 6.2
Reviewed-on: https://review.typo3.org/27213
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] getLabelsFromItemsList() retuns no value when no item found 66/25866/6
Frans Saris [Mon, 2 Dec 2013 09:43:30 +0000 (10:43 +0100)]
[BUGFIX] getLabelsFromItemsList() retuns no value when no item found

BackendUtility::getLabelsFromItemsList() does not take
itemsProcFunc into account. This means no value is
returned when there is no matching item found.

With this change the plain db value is returned
when no matching item is found.

Resolves: #54131
Releases: 6.2, 6.1
Change-Id: Ieb04394fa104627b765f6bc05d0d5886f29099c9
Reviewed-on: https://review.typo3.org/25866
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
5 years ago[BUGFIX] Add index to table pages 54/27154/4
Ingo Schmitt [Thu, 30 Jan 2014 14:47:12 +0000 (15:47 +0100)]
[BUGFIX] Add index to table pages

To detects the siteroot by querying the pages table with the
columns deleted, hidden, is_siteroot. This patch introduces
a combined index on those colums

Resolves: #55180
Releases: 6.2
Change-Id: Icae63670419cf9bc0029e2aa570cdf0108b9d62a
Reviewed-on: https://review.typo3.org/27154
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Marcin Sągol
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Make use of .t3-table in ShowItem (i) window 71/27171/2
Felix Kopp [Thu, 30 Jan 2014 21:13:26 +0000 (22:13 +0100)]
[TASK] Make use of .t3-table in ShowItem (i) window

Also remove one unused css style.

Change-Id: I4a8ccf3861d3e49b4fdab7d542fe2024c5f02f93
Resolves: #55482
Releases: 6.2
Reviewed-on: https://review.typo3.org/27171
Reviewed-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Skip GeneralUtility::resolveBackPath() if its not necessary 97/27197/3
Andreas Wolf [Fri, 31 Jan 2014 14:33:11 +0000 (15:33 +0100)]
[TASK] Skip GeneralUtility::resolveBackPath() if its not necessary

resolveBackPath() is run a couple hundred times per script run,
especially in the backend. As this method is only really necessary in a
few special cases (when a path really contains "../"), we can skip it
for all other paths with an early return.

The check is really weak (it will not skip the call for things like
"/some/dir..with..dots..inbetween/"), but this is ok because we just use
it to skip all *really* obvious cases while at best not missing *any*
legitimate use-case, which should be achieved with this commit.

Change-Id: I4e7fbd2076323e682fcf66bc57605f817cd3e03c
Resolves: #55519
Releases: 6.2
Reviewed-on: https://review.typo3.org/27197
Reviewed-by: Jan Helke
Tested-by: Jan Helke
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] quoteJSvalue double encodes forward slash 83/27183/5
Michiel Roos [Fri, 31 Jan 2014 09:56:16 +0000 (10:56 +0100)]
[BUGFIX] quoteJSvalue double encodes forward slash

The new JavaScript encoder using json_encode also encodes the forward
slash to unicode: \u00F2.

This creates problems, since json_encode already 'escapes' the forward
slash with a backslash.

This patch removes the ecoding of the forward slash from quoteJSvalue

Unit tests have been adjusted to match the output of json_encode:
* forward slash is escaped with a backslash

Change-Id: Ibc19f69c0b68f5bbfa67a39750884dcc030f38cb
Resolves: #55499
Releases: 6.2
Reviewed-on: https://review.typo3.org/27183
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Tested-by: Daniel Siepmann
Reviewed-by: Frans Saris
Tested-by: Frans Saris
5 years ago[BUGFIX] Make text of extjs buttons and IE<10 pagetree labels visible 66/27166/2
Stephan Großberndt [Thu, 30 Jan 2014 18:59:55 +0000 (19:59 +0100)]
[BUGFIX] Make text of extjs buttons and IE<10 pagetree labels visible

The task #52497 introduced a regression. The font-size set in body is
overridden in ext-all-notheme.css with font-size: 0px and thus needs to
be reset again in xtheme-t3skin.css.

Resolves: #55263
Related: #52497
Releases: 6.2
Change-Id: Id17d2ac9d6482c8cc54f4f5a92b3b3ef01f39d2b
Reviewed-on: https://review.typo3.org/27166
Reviewed-by: Wouter Wolters
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Do not show exeption when folder is not accesible 89/27189/6
Ingo Schmitt [Fri, 31 Jan 2014 12:55:45 +0000 (13:55 +0100)]
[BUGFIX] Do not show exeption when folder is not accesible

When a storage folder is not accessible for the user a exception
is displayed. Same if the folder is missing.

This patch changes the exception to
\TYPO3\CMS\Core\Resource\Exception.

The user will get a flash message and FAL tries to display the
parent folder of the restricted folder. If the folder is
missing the parent folder is displayed.

Resolves: #51762, #51319
Releases: 6.2
Change-Id: I1fb930f8c13049eeddb27521326f1d0fc8707933
Reviewed-on: https://review.typo3.org/27189
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Ajax handler TYPO3_tcefile::process is broken 80/27080/7
Frans Saris [Mon, 27 Jan 2014 20:47:41 +0000 (21:47 +0100)]
[BUGFIX] Ajax handler TYPO3_tcefile::process is broken

Several changes in core broke the ajax upload handler response.
There is no error response and it tries to json_encode complete
File objects.

This changes reverts some of the "cleanup" changes fixes the
response and makes sure only the error message from current
request are used.

Resolves: #55371
Releases: 6.2, 6.1
Change-Id: Ia09f5ffd5e002b1ba50d4fafa747340462d15148
Reviewed-on: https://review.typo3.org/27080
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Optimize retrieval of Storages 25/27025/6
Steffen Ritter [Thu, 23 Jan 2014 14:59:10 +0000 (15:59 +0100)]
[TASK] Optimize retrieval of Storages

Analysing the SQL logs shows that there are very much queries to the
sys_file_storage even though the information is quite static. Since
there in general there are not much storages - in most cases it only
will be fileadmin/.

This change will get all storage records from database with one call
and cache this in a runtime cache. Afterwards all requests are resolved
by the static member variable of the StorageRepository. If no storage
is present the default storage is created

Resolves: #55186
Releases: 6.2
Change-Id: I066b57215ba39f7cad608cfe5e83a0f3508b2c62
Reviewed-on: https://review.typo3.org/27025
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Sebastian Fischer
Tested-by: Sebastian Fischer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Prevent permission Exception in ElementBrowser 45/27145/3
Alexander Stehlik [Thu, 30 Jan 2014 12:02:38 +0000 (13:02 +0100)]
[BUGFIX] Prevent permission Exception in ElementBrowser

To prevent Exceptions in the ElementBrowser resource Exceptions are
catched in two places:

The Exception is catched in the ElementBrowser itsself when the
previously selected folder is not accessible.

Additionally the Exception is cached in the getDefaultUploadFolder()
method in BackendUserAuthentication when the default folder of a
storage is not accessible.

Resolves: #55439
Releases: 6.2
Change-Id: I64848c3a88cc2cc571c0bf692101647b95666972
Reviewed-on: https://review.typo3.org/27145
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Frans Saris
Tested-by: Frans Saris
5 years ago[BUGFIX] Allow access to filemount directories 20/27120/8
Alexander Stehlik [Thu, 30 Jan 2014 15:08:38 +0000 (16:08 +0100)]
[BUGFIX] Allow access to filemount directories

Currently a backend user can only access files within filemounts
but not the filemount directory itself.

After that fix LocalDriver::isWithin returns true, if the folder
itself is requested.

Resolves: #55416
Releases: 6.2
Change-Id: I455664359ec620c413bfc01787bda8766462fbab
Reviewed-on: https://review.typo3.org/27120
Reviewed-by: Ingo Schmitt
Tested-by: Ingo Schmitt
Reviewed-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Filelist translations does not consider BE user access rights 31/26831/6
Benjamin Mack [Wed, 15 Jan 2014 11:21:14 +0000 (12:21 +0100)]
[BUGFIX] Filelist translations does not consider BE user access rights

If a BE editor has only access to sys_language uid 2 and 3
but not 1, it is not respected in the file list module,
as the BE user can see all flags.

The attached patch filters all inaccessible translation records.

Resolves: #55012
Releases: 6.2
Change-Id: Ib5f5be40fdd09504dd08f005eb73b2fa926703cd
Reviewed-on: https://review.typo3.org/26831
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[CLEANUP] Remove old tt_content DB fields 68/27168/2
Benjamin Mack [Thu, 30 Jan 2014 19:06:29 +0000 (20:06 +0100)]
[CLEANUP] Remove old tt_content DB fields

With TYPO3 4.0 and the new CSS styled content
and the new RTE HTMLArea, some fields were still
included in the core, but disabled by default as
soon as CSS Styled Content was installed. If not
specifically activated, the fields were disabled
in the last 10 versions and are never rendered
anymore by default via CSS Styled Content.

The DB fields are:
  * text_align
  * text_face
  * text_size
  * text_color
  * text_properties

As they are not in use at all (since a long time)
the patch removes any info about these fields
without further notice or any upgrade wizard.

If somebody needs the fields, he/she needs
to create an own extension with the fields.

Releases: 6.2
Resolves: #55479
Change-Id: I77655cec0a27903a0a1df017808f9603564ef739
Reviewed-on: https://review.typo3.org/27168
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Reviewed-by: Marcin Sągol
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] HR - single horizontal rule (CSS) 75/27175/2
Felix Kopp [Thu, 30 Jan 2014 23:06:22 +0000 (00:06 +0100)]
[TASK] HR - single horizontal rule (CSS)

Make HR a single line instead of two lines.

Change-Id: I433d025eb91afc2fd35e794089f330e77d42a966
Resolves: #55486
Releases: 6.2
Reviewed-on: https://review.typo3.org/27175
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Use short version ?: in ternary operator (PHP 5.3+) 07/19007/10
Stefan Neufeind [Thu, 19 Dec 2013 23:47:35 +0000 (00:47 +0100)]
[TASK] Use short version ?: in ternary operator (PHP 5.3+)

Shorten some constructs, make them easier to read
and less error-prone.

Resolves: #46400
Releases: 6.2
Change-Id: I7b0126ccfeaefdfdb89321d7287c6347d8aee050
Reviewed-on: https://review.typo3.org/19007
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Create history record only with valid log uid 62/27162/3
Marc Bastian Heinrichs [Thu, 30 Jan 2014 17:33:51 +0000 (18:33 +0100)]
[BUGFIX] Create history record only with valid log uid

To prevent a sql error the insert query for creating sys_history
records in Datahandler must only be executed, if argument
$logId is a valid uid. This could happen, if logging in
Datahandler is disabled.

Resolves: #55472
Releases: 6.2
Change-Id: Idacced5cb0af24a6c9f34165a8d0598ae9c91998
Reviewed-on: https://review.typo3.org/27162
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Followup to #54226 70/27170/2
Benjamin Mack [Thu, 30 Jan 2014 20:35:41 +0000 (21:35 +0100)]
[BUGFIX] Followup to #54226

The fix for issue #54226 introduced a bug
with FileReferences as it did not implement the
change of the interface.

Resolves: #54226
Releases: 6.2
Change-Id: I9f67f3f23b96569cdfadba1505e4881103a86ccb
Reviewed-on: https://review.typo3.org/27170
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[Bugfix] Add Index on sys_domain 67/27167/2
Ingo Schmitt [Thu, 30 Jan 2014 18:59:54 +0000 (19:59 +0100)]
[Bugfix] Add Index on sys_domain

TYPO3 checks if a redirect is needed for a domain by issuing a
select on sys_domain. In the where clause the columns redirectTo
and hidden are used. These columns have no index, thus the
select is slow.

This patch adds the combined key to the sql definition.

Resolves: #55181
Releases: 6.2
Change-Id: I7d7463e0d3e6abb53c4b0fccf205e4b1eb867878
Reviewed-on: https://review.typo3.org/27167
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] TemplateService: Remove old paths from allowedPaths-list 25/27125/2
Stefan Neufeind [Wed, 29 Jan 2014 13:20:04 +0000 (14:20 +0100)]
[TASK] TemplateService: Remove old paths from allowedPaths-list

We don't have the t3lib-directory anymore.

Change-Id: Icef845e0ae1fc25a51cd01fa2452751d14b362c5
Resolves: #55433
Releases: 6.2
Reviewed-on: https://review.typo3.org/27125
Tested-by: Georg Ringer
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Exception if directories are not readable 05/26905/6
Steffen Ritter [Tue, 21 Jan 2014 09:49:23 +0000 (10:49 +0100)]
[BUGFIX] Exception if directories are not readable

If a user has listing rights on a folder which contains
folders he does not have access to the user currently
will end up with Exceptions in folder trees, file lists
as well as element browsers.

Before FAL these folders just have been shown "locked".

This change introduces an "InaccessibleFolder" object
which will be created by the storage if a Folder is
requested which exists but there is no read access while
the user is allowed to list the contents of the parent
folder.

In addition the components have been adapted to use this
new information for a graceful behaviour.

WIP: Did not adapt the tests yet, since I need to do some
urgent customer work. Feel free to go on with that.

Resolves: #51512, #53854
Releases: 6.2
Change-Id: If5c234fe66d1930e4cc0cb16279d2f77874d82db
Reviewed-on: https://review.typo3.org/26905
Tested-by: Ingo Schmitt
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Ingo Schmitt
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Deleting currently opened folder in filelist results in error 30/27030/3
Steffen Ritter [Thu, 23 Jan 2014 16:24:23 +0000 (17:24 +0100)]
[TASK] Deleting currently opened folder in filelist results in error

When you have a folder opened in the filelist and then delete it
via the folder-tree the file-module shows an error after its reload.

This patch checks for existence of the folder before it is created.
If it is not existent it checks wether the parent folder exists and
is accessible. If, so the parent folder will be shown instead.

If the parent folder is not accessible the usual exception is thrown.

Releases: 6.2
Resolves: #54554
Change-Id: I7a21c76fd476ebce439489040f3b4c6786afd10a
Reviewed-on: https://review.typo3.org/27030
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Marcel Wieser
Tested-by: Marcel Wieser
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Fix fatal when processing folder does not exist 37/27137/4
Helmut Hummel [Wed, 29 Jan 2014 22:19:35 +0000 (23:19 +0100)]
[BUGFIX] Fix fatal when processing folder does not exist

When the processing folder does not exist,
it is created on the fly in ResourceStorage.

However the returned object is at a later point
as string, leading to a fatal error in the end.

Solution is to just store the retuned object directly.

Resolves: #55471
Releases: 6.2
Change-Id: I97b4b5c7992db942812ae033fb963908a4abffde
Reviewed-on: https://review.typo3.org/27137
Reviewed-by: Steffen Ritter
Reviewed-by: Marcin Sągol
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Add API to retrieve the parent folder of a resource 24/26724/7
Steffen Ritter [Thu, 9 Jan 2014 15:52:47 +0000 (16:52 +0100)]
[TASK] Add API to retrieve the parent folder of a resource

Currently if some code needs the parent directory or folder
object of some files or folders it either needs to query the
storage object for the identifier of the parent folder and then
create the folder object manually or needs to fiddle around with
the identifier manually, assuming that all identifiers are a
representation of a hierarchical path as it is for the local
driver.

The latter not only will fail for all storages having non-path
identifiers it is more overhead to create the folder objects
manually anyhow.

This patch adds "getParentFolder" to the ResourceInterface and
implements the method in AbstractFile and Folder as well as it
replaces the manual resolval in the file list module.

Releases: 6.2
Resolves: #54226
Change-Id: I651d62340186dd9ac57277b498f8f98ee160dfd2
Reviewed-on: https://review.typo3.org/26724
Reviewed-by: Alexander Opitz
Reviewed-by: Marcin Sągol
Reviewed-by: Sebastian Fischer
Tested-by: Sebastian Fischer
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny