Packages/TYPO3.CMS.git
5 years ago[TASK] Increase title column width in Web List module 07/27107/4
Marcin Sągol [Tue, 28 Jan 2014 21:57:08 +0000 (22:57 +0100)]
[TASK] Increase title column width in Web List module

Each database table has configured title column through
TCA configuration. This values are used by List Module
to render first (title) column on records list table.

Long values are truncated to some predefined number of
characters but since we now use larger font size (12px
instead of 11px), long titles can break to two lines due
to a fixed 300px column size.

This change increases title column width to 350px to
cope with the increased font size.

Resolves: #55406
Releases: 6.2
Change-Id: Ib8277a88bd831a0f0efea40d9500df7df06dc40e
Reviewed-on: https://review.typo3.org/27107
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Set missing markers to empty string 02/27102/2
Bernhard Kraft [Tue, 28 Jan 2014 17:47:13 +0000 (18:47 +0100)]
[BUGFIX] Set missing markers to empty string

Change-Id: I3892f88bdd094b390a22fe94d9b089bd9b8aef71
Resolves: #54112
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/27102
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] ClickMenu does not show destination-foldername 06/27106/2
Stefan Neufeind [Tue, 28 Jan 2014 20:16:36 +0000 (21:16 +0100)]
[BUGFIX] ClickMenu does not show destination-foldername

Change-Id: I623d243ea504b0e646bd969e55ed7686ad3e9caf
Releases: 6.2, 6.1, 6.0
Resolves: #55407
Reviewed-on: https://review.typo3.org/27106
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Display detected fatal in extension check 81/26781/4
Thomas Maroschik [Mon, 13 Jan 2014 11:16:39 +0000 (12:16 +0100)]
[BUGFIX] Display detected fatal in extension check

In the installer fatals can happen during updates of
very outdated extensions. Many updates can lead to a
redirect to the extension check where the user gets
displayed a message that a fatal has been detected.
But the detected fatal error itself is not displayed.

This patch passes the error as url parameter to the
extension check and displays it there.

Fixes: #54943
Releases: 6.2
Change-Id: I111df5d5411015b21c4b2b5e9be3b83b311c8bc5
Reviewed-on: https://review.typo3.org/26781
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Thomas Maroschik
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Markus Klein
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Tame PackageStates.php in functional tests 08/27108/3
Christian Kuhn [Tue, 28 Jan 2014 22:39:06 +0000 (23:39 +0100)]
[BUGFIX] Tame PackageStates.php in functional tests

Functional test bootstrap creates a full new instance
within typo3temp together with an own database. Goal is
a controlled environment without dependencies to the
parent instance.

The patch introduces separation of PackageStates.php. The file
is now compiled based on a static list of active core extensions
and optional additional extensions for specific functional tests.

Change-Id: I39e37a16b5cef5b6b1dab2ce3c4e8efc42cecbe7
Resolves: #55409
Releases: 6.2
Reviewed-on: https://review.typo3.org/27108
Reviewed-by: Thomas Maroschik
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Remove useless count function calls in stdWrap 78/27078/7
Tim Lochmueller [Mon, 27 Jan 2014 19:18:04 +0000 (20:18 +0100)]
[TASK] Remove useless count function calls in stdWrap

Remove two count calls in the often called stdWrap function
to increase the performance. Furthermore remove the
is_callable calls, because the hook interface take care
that the methods exist and are callable.

Resolves: #55372
Releases: 6.2
Change-Id: Ifc8f831a7b101c5c56f717c23024fae7b71b71a9
Reviewed-on: https://review.typo3.org/27078
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Xavier Perseguers
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Be more expressive in error condition 18/26718/2
Helmut Hummel [Thu, 9 Jan 2014 11:16:46 +0000 (12:16 +0100)]
[TASK] Be more expressive in error condition

If lockSSL is set to 1 and the backend is not
accessed via SSL currently a 404 header is sent
with no message body. The same happens when the
client IP address does not mach the configured
list of allowed addresses.

Give a more useful hint for users in these cases
by throwing an Exception.

Resolves: #51378
Releases: 6.2
Change-Id: Ic76d8415c482e78bdea7e57e1cb5dab21a49969f
Reviewed-on: https://review.typo3.org/26718
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Tested-by: Georg Ringer
Reviewed-by: Oliver Klee
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marcin Sągol
Reviewed-by: Felix Kopp
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Prevent strings from being autoloaded 79/27079/7
Helmut Hummel [Mon, 27 Jan 2014 20:47:14 +0000 (21:47 +0100)]
[BUGFIX] Prevent strings from being autoloaded

The introduction of a TypeConverter for Enumaration
types in #52762 added is_subclass() calls to
getPlainValue() in the DatabaseBackends. These methods
are meant to convert objects to simply types but are
regularly called with simple types, in particular strings.

Since is_subclass() also works with strings,
The class loader is triggered when these methods
are called with a table name like "tx_ext_domain_model_foo".

This triggers an issue #55418 in the class loader especially
on case insensitive filesystems.

Instead of is_subclass we now use instanceof to make sure
we only check for conversion if the value is an object.

Additionally this change fixes a wrong case statement which
also was introduced in #52762

Resolves: #54275
Change-Id: If1b2a28a2623e49dfb47720641935c6f24447c19
Reviewed-on: https://review.typo3.org/27079
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Replace JavaScriptEncoder with json_encode() 45/26545/12
Michiel Roos [Sun, 22 Dec 2013 18:51:21 +0000 (19:51 +0100)]
[TASK] Replace JavaScriptEncoder with json_encode()

The JavaScriptEncoder class is used a lot in the TYPO3 backend. It does
expensive character conversions, character by character.

It would improve performance a lot if we use PHP native json_encode to do
the encoding for us.

Change-Id: I3cb3bd6d887d49565fda496f9b13852cbeb9dfa1
Resolves: #54560
Releases: 6.2
Reviewed-on: https://review.typo3.org/26545
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Unify button styles 48/27048/3
Felix Kopp [Fri, 24 Jan 2014 23:21:17 +0000 (00:21 +0100)]
[TASK] Unify button styles

Unifies buttons over the backend:

+ <button>
+ <input type="submit">
+ <input type="reset">
+ <a class="t3-button">

Extensions do not need to bring own styling for buttons.
Also adds padding and margin to input, buttons.

Change-Id: Ie1ab255354a222acfbac9b3260297ff345b6feed
Resolves: #55319
Releases: 6.2
Reviewed-on: https://review.typo3.org/27048
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Marcin Sągol
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Invalid constant in the domain redirect function 66/27066/3
Tim Lochmueller [Mon, 27 Jan 2014 08:44:14 +0000 (09:44 +0100)]
[BUGFIX] Invalid constant in the domain redirect function

There is a "copy-and-paste" mistake in the domain redirect mechanism.
The function HttpUtility::redirect should call with a valid HTTP
status code (the const value) and not with the name of the constant.

Resolves: #55350
Releases: 6.2, 6.1, 6.0, 4.5
Change-Id: I97f55ac8df1688011198666da1fd322a5c3bd323
Reviewed-on: https://review.typo3.org/27066
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Remove find file in EXT: lowlevel 28/26928/2
Felix Kopp [Sat, 18 Jan 2014 17:41:46 +0000 (18:41 +0100)]
[TASK] Remove find file in EXT: lowlevel

Removes the find file function from EXT: lowlevel.
Find file was only available for admins.

Change-Id: I79cedeeef8e8cea9266c893a2c9bd2ab462be482
Resolves: #55134
Releases: 6.2
Reviewed-on: https://review.typo3.org/26928
Reviewed-by: Oliver Klee
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] TS Parser: Fix regression when having tabs in TS names 69/27069/3
Benjamin Mack [Mon, 27 Jan 2014 12:51:13 +0000 (13:51 +0100)]
[BUGFIX] TS Parser: Fix regression when having tabs in TS names

With the optimization of the TS parser (see #54856), it is not
possible to write TypoScript like this anymore:

config {
    baseUrl            = www.mywebsite.com
    tx_realurl_enable    = 1
}
The problem is that the TS parser is not allowing tabs
after the TS object name (baseUrl). The fix strips away
tabs after the TS object name.

Resolves: #55357
Releases: 6.2
Change-Id: I880267c2b512e50d6b9e47f469157ea5fd814180
Reviewed-on: https://review.typo3.org/27069
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Upgrade jQuery to 1.11.0 76/27076/2
Stefan Neufeind [Mon, 27 Jan 2014 17:47:46 +0000 (18:47 +0100)]
[TASK] Upgrade jQuery to 1.11.0

Besides fixes this release features
"fewer forced layouts" and "lower startup overhead".

Change-Id: I988141ccd356425626f68089f9e65c1b04174c23
Releases: 6.2
Resolves: #55367
Reviewed-on: https://review.typo3.org/27076
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] EXT: lowlevel Configuration labels 55/27055/2
Felix Kopp [Sat, 25 Jan 2014 14:53:53 +0000 (15:53 +0100)]
[TASK] EXT: lowlevel Configuration labels

Configuration arrays should be accessed via $GLOBALS.
Modify labels to include the $GLOBALS keyword.

Change-Id: Iea3255e8ebcbf5bd23400fe4d597ea5eca421025
Resolves: #55324
Releases: 6.2
Reviewed-on: https://review.typo3.org/27055
Reviewed-by: Marcin Sągol
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Remove strlen calls in the DatabaseConnection 77/27077/4
Tim Lochmueller [Mon, 27 Jan 2014 19:04:30 +0000 (20:04 +0100)]
[TASK] Remove strlen calls in the DatabaseConnection

Remove the strlen calls in the DatabaseConnection to avoid many
string length calculations for the small checks in the query
build process. Replace it with a string cast and not identical
operator.

Resolves: #55370
Releases: 6.2
Change-Id: I0c175671ed51ab3034ffae7c0b812a90218e9f58
Reviewed-on: https://review.typo3.org/27077
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Change phpunit repository url for travis 74/27074/2
Philipp Gampe [Mon, 27 Jan 2014 17:21:45 +0000 (18:21 +0100)]
[TASK] Change phpunit repository url for travis

Resolves: #55366
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Ia90d7c85f81828bd23275b7fa4017ee74a758ad6
Reviewed-on: https://review.typo3.org/27074
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[TASK] Make Extbase use cache group "pages" 66/26866/5
Benjamin Mack [Thu, 16 Jan 2014 09:40:34 +0000 (10:40 +0100)]
[TASK] Make Extbase use cache group "pages"

As there is the possibility to use grouped caching in
order to be more flexible, Extbase should not use
hard-coded cache names for clearing the frontend
cache (cache_pagesection and cache_pages) but use
the group, so other caches could be triggered as well.

Releases: 6.2
Resolves: #55044
Change-Id: I8077f889fce7561170bffc7f97c1884c698d673c
Reviewed-on: https://review.typo3.org/26866
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
5 years ago[BUGFIX] Invalid class name to file path conversion 99/26999/3
Xavier Perseguers [Wed, 22 Jan 2014 17:20:54 +0000 (18:20 +0100)]
[BUGFIX] Invalid class name to file path conversion

The conversion from a class name such as
tx_extensionname_domain_model_somename to its corresponding PHP file
does not take Extbase naming conventions for the file name. This yields
an wrongly-cased file name which will be validated anyway on case
insensitive file systems.

This wrong conversion may lead to a PHP fatal error
Cannot redeclare class VendorName\Extension\Domain\Model\Somename

Fixes: #55256
Releases: 6.2
Change-Id: Ibe512945ac01f53844f790bea9f0d0cf58518c54
Reviewed-on: https://review.typo3.org/26999
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marcin Sągol
Reviewed-by: Stefan Neufeind
Tested-by: Marcin Sągol
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[TASK] Make use of .t3-table in EXT: extension manager 23/26923/3
Felix Kopp [Sat, 18 Jan 2014 15:19:39 +0000 (16:19 +0100)]
[TASK] Make use of .t3-table in EXT: extension manager

Use <table class="t3-table"> in backend module.

Removes duplicate SASS/CSS definitions in module in order
to make use of central core styles.

Change-Id: I174d63ab9014ec35842a7bd55863ed0113a669fe
Resolves: #55127
Releases: 6.2
Reviewed-on: https://review.typo3.org/26923
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Better description of [BE][unzip_path]/[BE][diff_path] 80/25680/5
Markus Klein [Tue, 26 Nov 2013 00:29:37 +0000 (01:29 +0100)]
[BUGFIX] Better description of [BE][unzip_path]/[BE][diff_path]

The options [BE][unzip_path] and [BE][diff_path] expect different values.
Adjust the descriptions accordingly.

Resolves: #53964
Releases: 6.2, 6.1, 6.0
Change-Id: Id433091f2be77f5c13304619e080a2d1adfb7b0c
Reviewed-on: https://review.typo3.org/25680
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Get suggest wizard working with renderMode=checkbox 89/18689/7
Tolleiv Nietsch [Wed, 2 May 2012 12:47:17 +0000 (14:47 +0200)]
[BUGFIX] Get suggest wizard working with renderMode=checkbox

In case a select field with renderMode "checkbox" is used together with
the suggest wizard, clicking the suggestions will not check the
related item in the list and therefore the wizard isn't useful anyhow
in that combination.

Fixes: #21924
Releases: 6.2, 6.1, 6.0
Change-Id: I5823197e9f6bb3f3d4ffc4032677478bd18d87f3
Reviewed-on: https://review.typo3.org/18689
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] hasProperty ignores meta data properties 88/26688/4
Steffen Ritter [Sat, 18 Jan 2014 15:10:31 +0000 (16:10 +0100)]
[BUGFIX] hasProperty ignores meta data properties

Since the split of sys_file to sys_file_metadata the data
is stored in different arrays. The hasProperty method of
AbstractFile is not overriden in File to consider that change.

Resolves: #54012
Releases: 6.2
Change-Id: Iab2b55e56795033c77c1e3f2969d927ba71a4ceb
Reviewed-on: https://review.typo3.org/26688
Reviewed-by: Alexander Stehlik
Tested-by: Alexander Stehlik
Reviewed-by: Frans Saris
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Remove t3lib from the example .htaccess file 17/27017/2
Eric Chavaillaz [Thu, 23 Jan 2014 08:53:30 +0000 (09:53 +0100)]
[TASK] Remove t3lib from the example .htaccess file

Since removing the t3lib folder in TYPO3 6.2, there is
no more reason to keep reference to this folder in the
example .htaccess file.

Resolves: #55265
Releases: 6.2
Change-Id: Ic7f2cff96186551b2aa08c9e785f42c4f8612fce
Reviewed-on: https://review.typo3.org/27017
Reviewed-by: Henrik Ziegenhain
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] sys_category table not listed in allowed excludefields 68/25268/2
Tomita Militaru [Mon, 11 Nov 2013 17:01:14 +0000 (19:01 +0200)]
[BUGFIX] sys_category table not listed in allowed excludefields

Enables the security flag ignoreRootLevelRestriction in order
for the sys_category table to be listed in allowed excludefields.

Resolves: #53201
Releases: 6.2, 6.1
Change-Id: If2d1ef7fb7d1af943f2ccc13f643014c20b49974
Reviewed-on: https://review.typo3.org/25268
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[BUGFIX] Removing single category item not possible 16/27016/2
Francois Suter [Thu, 23 Jan 2014 08:01:31 +0000 (09:01 +0100)]
[BUGFIX] Removing single category item not possible

The "items" selector in a system categories misses a "size"
property. It is thus considered by the forms JS to be a single
select field and all items are removed at once rather
than the selected one.

Resolves: #53665
Releases: 6.2, 6.1
Change-Id: Ice539a42b60a14fd604a9b43ecb4dd48b85d3ae3
Reviewed-on: https://review.typo3.org/27016
Reviewed-by: Francois Suter
Tested-by: Francois Suter
5 years ago[TASK] Fix category collection functional test 56/26756/2
Tymoteusz Motylewski [Sat, 11 Jan 2014 18:29:57 +0000 (19:29 +0100)]
[TASK] Fix category collection functional test

Category collection test now extends FunctionalTestCase
class and is green again.

Resolves: #54914
Releases: 6.2
Change-Id: Idc49bcf59b6e2e4ebae5c4f7a232f0b543b6821d
Reviewed-on: https://review.typo3.org/26756
Reviewed-by: Oliver Klee
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Fabien Udriot
Reviewed-by: Francois Suter
Tested-by: Francois Suter
5 years ago[TASK] Simplify Font-Size inheritance (CSS) 99/24299/5
Felix Kopp [Sun, 6 Oct 2013 19:28:43 +0000 (21:28 +0200)]
[TASK] Simplify Font-Size inheritance (CSS)

Font-sizes are defined in t3skin at various places multiple times.
In order to reduce complexity font-size & line-height should be
defined centrally and inherited by containers and elements.

Removes few definitions to unify font-sizes and line-heights.
Also fixed ExtJS CSS theme.

Change-Id: I6493aca9c2dd0fe36c19a65b1e6076b6a181419a
Resolves: #52497
Related: #52501
Related: #49592
Releases: 6.2
Reviewed-on: https://review.typo3.org/24299
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Stefan Neufeind
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Simulate time in TYPO3 admin panel broken 95/26895/6
Peter Niederlag [Wed, 14 Aug 2013 10:09:39 +0000 (12:09 +0200)]
[BUGFIX] Simulate time in TYPO3 admin panel broken

* Test typeof TBE_EDITOR == "undefined" in jsfunc.evalfield
* Thanks to Stefan Neufeind/Markus Klein for adding the Unittest

Resolves: #55093
Releases: 6.2, 6.1, 6.0
Change-Id: I2cc8a5ca3dd6251f89618d3615c1457938ff135e
Reviewed-on: https://review.typo3.org/26895
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Henrik Ziegenhain
Tested-by: Henrik Ziegenhain
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] lineNumber count in Template Analyzer 47/26747/8
Peter Niederlag [Fri, 10 Jan 2014 17:31:08 +0000 (18:31 +0100)]
[BUGFIX] lineNumber count in Template Analyzer

ExtendedTemplateService
=======================
* fix/improve ExtentedTemplateService->lineNumberToScript
* don't prepend additional LF in ExtentedTemplateService->ext_outputTS
* remove obscure empty line removals in ext_outputTS and ext_formatTS

TemplateAnalyzerModuleFunctionController
========================================
* use local $hierarchyInfo to fetch template titles

Resolves: #54897
Releases: 6.2
Change-Id: Ia01a89af49d72ed47bef6430042e260af0de3907
Reviewed-on: https://review.typo3.org/26747
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Set absPrefix of GraphicalFunctions to PATH_site 52/23652/4
Helmut Hummel [Fri, 6 Sep 2013 09:12:58 +0000 (11:12 +0200)]
[BUGFIX] Set absPrefix of GraphicalFunctions to PATH_site

To make GifBuilder and GraphicalFunctions work in
backend context, it is needed to set the absolute
path prefix for processed images to document root.

It works in FE context, because the current working
directory of PHP is document root, but fails in
BE context, as the CWD can be anything, depending
on the location of the executing script.

Set absPrefix to PATH_site in FAL crop scale mask
helper so that the FAL file processing can be used
in BE context.

Resolves: #51804
Releases: 6.0, 6.1, 6.2
Change-Id: I824333dc6f6cff4286d9eefb20c045e5bb207658
Reviewed-on: https://review.typo3.org/23652
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years agoRevert "[BUGFIX] Repair f:image VH for Backend" 75/26975/2
Helmut Hummel [Tue, 21 Jan 2014 14:48:07 +0000 (15:48 +0100)]
Revert "[BUGFIX] Repair f:image VH for Backend"

This change is reverted in favor of a cleaner approach:
https://review.typo3.org/23652

This reverts commit 2e46303631076308fb3d2434d128c3e339f27b9a

Change-Id: I0a297b9ae85e0b02ad3753d752abe4f31f260c12
Reviewed-on: https://review.typo3.org/26975
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] RootlineUtility does not consider foreign_sorting 27/26727/2
Markus Klein [Thu, 9 Jan 2014 18:42:11 +0000 (19:42 +0100)]
[BUGFIX] RootlineUtility does not consider foreign_sorting

Make sure RootlineUtility::enrichWithRelationFields() does take
the TCA setting foreign_sorting into account when fetching
foreign data for the rootline cache.

Resolves: #54884
Releases: 6.2, 6.1
Change-Id: I6f8323bd5a99f9009820332c220a5637e0930712
Reviewed-on: https://review.typo3.org/26727
Reviewed-by: Robert Wildling
Tested-by: Robert Wildling
Reviewed-by: Steffen Ritter
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Duplicated translation entry for clear cache menu pages 66/26966/3
Mathias Brodala [Tue, 21 Jan 2014 10:58:15 +0000 (11:58 +0100)]
[BUGFIX] Duplicated translation entry for clear cache menu pages

Remove duplicate translation entry in locallang_core.xlf

Change-Id: Ie550b4a8b9736e397a8ce46d00feb957652d92c0
Resolves: #55153
Releases: 6.2
Reviewed-on: https://review.typo3.org/26966
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Class 'TYPO3\CMS\Scheduler\Task\AbstractTask' not found 54/26954/4
Stefano Kowalke [Mon, 20 Jan 2014 20:22:29 +0000 (21:22 +0100)]
[BUGFIX] Class 'TYPO3\CMS\Scheduler\Task\AbstractTask' not found

When running UnitTests for UpdateExtensionListTask and the extension
Scheduler is not loaded will raise an Fatal error because it tries to
mock TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask which
extends from TYPO3\CMS\Scheduler\Task\AbstractTask.

It is necessary to skip the whole test case because every single test
creates a new instance of
\TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask().

Releases: 6.2
Resolves: #55192
Change-Id: I81e69c57d58078cf00e4f8e47a1e8d5c7d984177
Reviewed-on: https://review.typo3.org/26954
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Rename cache t3lib_l10n to l10n 34/26934/2
Georg Ringer [Mon, 20 Jan 2014 05:32:35 +0000 (06:32 +0100)]
[TASK] Rename cache t3lib_l10n to l10n

As t3lib doesn't exist anymore, get rid of this naming schema.

Change-Id: I525db9a511813e1e517c1363e29894b34b80ad48
Resolves: #55149
Releases: 6.2
Reviewed-on: https://review.typo3.org/26934
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Move Tidy functionality to a TER ext 52/26952/4
Benjamin Mack [Mon, 20 Jan 2014 19:20:49 +0000 (20:20 +0100)]
[TASK] Move Tidy functionality to a TER ext

As discussed in the Core newsgroup, the Tidy functionality
should be removed from the TYPO3 CMS Core. The checks
and options are removed, and a NEWS note is added. An
already released replacement was added to the TER.

As the importance is very low, and the drop-in
replacement in the TER fits nicely, IMHO there is no need
for an upgrade wizard, as nothing breaks if the
functionality is missing.
Every upgrader should read the NEWS anyway in order
to know what to do to have the functionality back.

Releases: 6.2
Resolves: #55190
Change-Id: I3101b7e09f36cbaa63b6b5d8930f61242e4e2cc6
Reviewed-on: https://review.typo3.org/26952
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Streamline usage of BackendUtility::getPagesTSconfig() 49/25249/6
Philipp Gampe [Sat, 9 Nov 2013 22:35:51 +0000 (23:35 +0100)]
[TASK] Streamline usage of BackendUtility::getPagesTSconfig()

Avoid calling BackendUtility::getPagesTSconfig() with default or useless
parameters.

Resolves: #53502
Releases: 6.2
Change-Id: I842c33022a00f5633b1ef5a250d143b6a253dde1
Reviewed-on: https://review.typo3.org/25249
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Improve layout of Install Tool with long lines 37/26937/2
Georg Ringer [Mon, 20 Jan 2014 06:37:19 +0000 (07:37 +0100)]
[BUGFIX] Improve layout of Install Tool with long lines

There might be situation where very long 'words' (line text without
spaces) are rendered in System environment check and that leads to some
visual issues.

As a solution apply a CSS rule to break the text.

Change-Id: Ic096a6a81052f42787cea93a88e05665b50dce5e
Resolves: #55120
Releases: 6.2
Reviewed-on: https://review.typo3.org/26937
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Benjamin Rau
Tested-by: Benjamin Rau
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Flow\Utility\Exception missing 25/26925/7
Markus Klein [Sun, 19 Jan 2014 13:00:19 +0000 (14:00 +0100)]
[BUGFIX] Flow\Utility\Exception missing

This exception is required by PackageManager

Resolves: #55132
Releases: 6.2
Change-Id: I80d966d581da78802dffd15c6bf27f50633a2f35
Reviewed-on: https://review.typo3.org/26925
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[BUGFIX] Repair f:image VH for Backend 29/26729/4
Stefan Froemken [Thu, 9 Jan 2014 21:24:13 +0000 (22:24 +0100)]
[BUGFIX] Repair f:image VH for Backend

ImageMagick command was executed from directory
typo3/, but output file is relative and starts
with typo3temp.
This patch adds absolute path to output file
when in BE mode.

Resolves: #54886
Releases: 6.2
Change-Id: I6216a9bb74b9619c090c1ef70322cb6788a73c92
Reviewed-on: https://review.typo3.org/26729
Reviewed-by: Oliver Klee
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] TCA pages:subtitle is missing eval=trim 33/26933/2
Markus Klein [Sun, 19 Jan 2014 17:10:05 +0000 (18:10 +0100)]
[BUGFIX] TCA pages:subtitle is missing eval=trim

The TCA pages misses 'trim' as eval setting for column subtitle.
The title field and the subtitle field of pages_language_overlay
already have a trim setting applied.

Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Resolves: #55113
Change-Id: Icfa441c0010214e3718ed6923ffd7443ce032f81
Reviewed-on: https://review.typo3.org/26933
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Marcin S?gol
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Make use of .t3-table in EXT: beuser *compare 29/26929/2
Felix Kopp [Sat, 18 Jan 2014 19:51:29 +0000 (20:51 +0100)]
[TASK] Make use of .t3-table in EXT: beuser *compare

Use <table class="t3-table"> in backend module compare view.

Change-Id: Icd8fb361a61c6bbfd933fc4b1b011838f18868e8
Resolves: #55139
Releases: 6.2
Reviewed-on: https://review.typo3.org/26929
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Remove css_styled_content legacy templates before 4.5 73/26573/3
Claus Due [Sat, 28 Dec 2013 16:02:05 +0000 (17:02 +0100)]
[TASK] Remove css_styled_content legacy templates before 4.5

This change simply removes legacy files - no other changes.

Resolves: #54621
Releases: 6.2
Change-Id: Ief7287eee5a2f6ccfecdb274ae7c54a04f1a2247
Reviewed-on: https://review.typo3.org/26573
Reviewed-by: Nikolas Hagelstein
Reviewed-by: Helmut Hummel
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Tom Ruether
Tested-by: Tom Ruether
Reviewed-by: Felix Kopp
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Cache menu needs clear namings and permissions 12/26912/3
Benjamin Mack [Sat, 18 Jan 2014 10:20:08 +0000 (11:20 +0100)]
[TASK] Cache menu needs clear namings and permissions

With the introduction of the grouping mechanisms of the
caching framework and the sensitivity of the system
caches group, the re-ordering and re-naming of cache
menu entries is necessary to ensure that admins and
editors use the caching mechanisms right.

Therefore there are new labels as well as "Clear all caches"
below "Clear page content" as it has a higher impact on
the system. The option to clear the Configuration Cache
/ System Caches is now disabled by default, even for
admins. It is active when the TSconfig option
options.clearCache.system = 1 is set or if the system is in
development context. This avoids slow page rendering
after clearing the system caches.

A new title attribute is added to explain the menu items
when hovering.

Resolves: #55119
Releases: 6.2
Change-Id: Ifd6026279a890b743c6c3cda09def19f9b7d59b7
Reviewed-on: https://review.typo3.org/26912
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Broken links to online TSconfig in two language labels 32/26932/2
Xavier Perseguers [Sun, 19 Jan 2014 15:47:28 +0000 (16:47 +0100)]
[BUGFIX] Broken links to online TSconfig in two language labels

Old links pointing to http://typo3.org/documentation/ should be updated
and point to the official TYPO3 documentation.

Fixes: #28808
Releases: 6.2
Change-Id: Id9943b23e5811bc2f00182111fed98cd17541fd6
Reviewed-on: https://review.typo3.org/26932
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Make use of .t3-table in EXT: wizard_sortpages 26/26926/3
Felix Kopp [Sat, 18 Jan 2014 16:59:24 +0000 (17:59 +0100)]
[TASK] Make use of .t3-table in EXT: wizard_sortpages

Use <table class="t3-table"> in backend module.
Also removes few markups and improves CGL compliancy.

Change-Id: I4f53affc0a6130965d8c3dc516ed800bc5094f50
Resolves: #55131
Releases: 6.2
Reviewed-on: https://review.typo3.org/26926
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Fatal error in indexed_search 22/26922/2
Markus Klein [Sat, 18 Jan 2014 15:06:30 +0000 (16:06 +0100)]
[BUGFIX] Fatal error in indexed_search

FileContentParser misses one backslash for RuntimeException
to be in global namespace.
Only master is affected, since backports got corrected already.

Releases: 6.2
Resolves: #55128
Change-Id: I015c1236847c4963dd28f400d14a5fe97b7868e6
Reviewed-on: https://review.typo3.org/26922
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Cannot download manuals 17/26917/3
Xavier Perseguers [Sat, 18 Jan 2014 14:08:35 +0000 (15:08 +0100)]
[BUGFIX] Cannot download manuals

Since the UX renaming, it is not possible anymore to download
manuals from docs.typo3.org.

Fixes: #55126
Releases: 6.2
Change-Id: Iee5d8fda83dc9ad6b9b2ecfa668f7587a99170ff
Reviewed-on: https://review.typo3.org/26917
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Install Tool: System Information shows empty values 11/24611/3
Philipp Gampe [Fri, 11 Oct 2013 22:57:37 +0000 (00:57 +0200)]
[TASK] Install Tool: System Information shows empty values

Adopt the list such that either port or socket is shown.
Print "default socket" for an empty socket definition.

Resolves: #52712
Releases: 6.2
Change-Id: I28bd59f9f66ce314d31908c3790c9f75ca5e2a44
Reviewed-on: https://review.typo3.org/24611
Reviewed-by: Markus Klein
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] No placeholder attribute in backend forms 65/25365/4
Oliver Hader [Wed, 13 Nov 2013 09:44:41 +0000 (10:44 +0100)]
[BUGFIX] No placeholder attribute in backend forms

The disposal of the placeholder feature in backend forms needs
to be enabled using the mode setting "useOrOverridePlaceholder"
in TCA. However, the implementation for checking this needs to
be inverted, since it returns an empty string if it's enabled,
but should be the opposite way instead.

Fixes: #53594
Releases: 6.2, 6.1, 6.0
Change-Id: I3d3fe5ac76c05f4601860c79d7f514bffea13963
Reviewed-on: https://review.typo3.org/25365
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Hide update icon for incompatible extensions 48/25348/3
Nicole Cordes [Tue, 12 Nov 2013 22:33:50 +0000 (23:33 +0100)]
[BUGFIX] Hide update icon for incompatible extensions

Currently the update icon in extension manager is displayed every time
a higher TER version of the extension exists. But the update fails if
the TYPO3 version isn't within the extension dependencies. This patch
adds the dependency check to the isUpdateAvailable function.

Resolves: #53576
Releases: 6.2
Change-Id: I109e779037f670ab205b43cbbbb1bc16954860e6
Reviewed-on: https://review.typo3.org/25348
Reviewed-by: Philipp Gampe
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Set TYPO3 version to 6.2-dev 09/26909/2
TYPO3 Release Team [Fri, 17 Jan 2014 19:24:25 +0000 (20:24 +0100)]
[TASK] Set TYPO3 version to 6.2-dev

Change-Id: If5e62f07957ac8a288e028df769eec912d9e134b
Reviewed-on: https://review.typo3.org/26909
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years ago[RELEASE] Release of TYPO3 6.2.0beta4 08/26908/2 TYPO3_6-2-0beta4
TYPO3 Release Team [Fri, 17 Jan 2014 19:23:50 +0000 (20:23 +0100)]
[RELEASE] Release of TYPO3 6.2.0beta4

Change-Id: If2de3be4d0ff90088e8e94fbb63c9632b700b147
Reviewed-on: https://review.typo3.org/26908
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years ago[TASK] Remove fixed width for Content Element Wizard tabs content container 06/26906/3
Marcin Sągol [Fri, 17 Jan 2014 16:45:54 +0000 (17:45 +0100)]
[TASK] Remove fixed width for Content Element Wizard tabs content container

When using Content Element Wizard configured to render items with
tabs their body container has fixed width of 680px. This leads
to visual problems when using some extra tabs registered - their
titles are rendered outside body content. This patch removes
fixed width and some other styles that are not needed. For example
there are some styles for tables inside tab content but items are
rendered in lists not tables so we can remove them.

Change-Id: I1d749649ffa86cd2220460f1ebf4894aca98f4bc
Resolves: #53904
Releases: 6.2
Reviewed-on: https://review.typo3.org/26906
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Handle empty tags in language pack index files 38/15138/6
Alexander Stehlik [Fri, 17 Jan 2014 09:46:44 +0000 (10:46 +0100)]
[BUGFIX] Handle empty tags in language pack index files

This patch adds a check to the L10n index parser to consider
whether the value of an XML tag is empty or contains only
spaces. In this case it is not included in the resulting array.

Resolves: #41450
Releases: 6.2, 6.1, 6.0
Change-Id: Ia17a430f3ab2d79e2f97b55feb9d3c4ee60bfb7e
Reviewed-on: https://review.typo3.org/15138
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Optimize TypoScriptParser 01/26701/21
Michiel Roos [Wed, 15 Jan 2014 15:00:23 +0000 (16:00 +0100)]
[TASK] Optimize TypoScriptParser

The code in \TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser gets called
a lot. It needs to be optimised.

* Use language constructs insted of function calls where possible
* Cleanup method descriptions and parameter defaults

Resolves: #54856
Releases: 6.2
Change-Id: Ia52b3f72393288ed8259b25743a7403260eb5d73
Reviewed-on: https://review.typo3.org/26701
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Fix typos & grammar issues in Install Tool 96/26896/2
Georg Ringer [Fri, 17 Jan 2014 10:28:00 +0000 (11:28 +0100)]
[TASK] Fix typos & grammar issues in Install Tool

Change-Id: Iaad158d8e0a67ee839cfd346e33f9cf466620893
Resolves: #55098
Releases: 6.2
Reviewed-on: https://review.typo3.org/26896
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] BE: Make "Template Analyzer" the last menu item 94/26894/2
Benjamin Mack [Fri, 17 Jan 2014 09:40:42 +0000 (10:40 +0100)]
[TASK] BE: Make "Template Analyzer" the last menu item

During the refactoring of the tstemplate extension, the
Template Analyzer modfunc was inserted at first position
of the backend module menu. AFAIK this was a
functionality that was not desired, and confuses
existing integrators.

Releases: 6.2
Resolves: #55097
Change-Id: I153cf3076e6c31b95fa8d40996ffbf9192c48f74
Reviewed-on: https://review.typo3.org/26894
Reviewed-by: Tom Ruether
Tested-by: Tom Ruether
Reviewed-by: Michael Staatz
Tested-by: Michael Staatz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Use system locale when indexing external documents 12/5312/15
Jigal van Hemert [Sun, 25 Sep 2011 09:58:14 +0000 (11:58 +0200)]
[BUGFIX] Use system locale when indexing external documents

If paths or filenames of external documents contain utf-8 characters the
system locale must be used. Functions like escapeshellarg and basename are
locale aware.

Change-Id: I50a73a42d60de569c63e5ba27ad6a6a3a66fd6c8
Fixes: #30244
Releases: 4.5, 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/5312
Reviewed-by: Markus Klein
Reviewed-by: Sebastian Fischer
Reviewed-by: Xavier Perseguers
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] PackageManager no cache if TYPO3 dir has symlinks 38/26838/2
Alexander Opitz [Wed, 15 Jan 2014 14:10:38 +0000 (15:10 +0100)]
[BUGFIX] PackageManager no cache if TYPO3 dir has symlinks

In the PackageManager cache file is a validation of the actual file
path to the file path the cache was last generated. This was written
to invalidate the cache if someone moves TYPO3 around. This comparison
fails on symlinks in path. As you need to clear the complete cache
after moving the typo3 directory for other purposes and as this is no
real use case, we can remove this line.

Resolves: #55022
Releases: 6.2
Change-Id: I12d0fe09a3a7e1b3aad2f08c4bcde7a337cab769
Reviewed-on: https://review.typo3.org/26838
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Deprecated function call mysql_list_dbs in dbal 90/26390/3
Ingo Schmitt [Fri, 13 Dec 2013 17:09:37 +0000 (18:09 +0100)]
[BUGFIX] Deprecated function call mysql_list_dbs in dbal

replaced mysql_list_dbs by show databases query

Resolves: #53761
Releases: 6.2
Change-Id: I2b41b19aa900ba7eef33f2a990c8c029cbc1c08c
Reviewed-on: https://review.typo3.org/26390
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Oliver Klee
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Add FlashMessage API to Extbase AbstractController 31/25731/6
Nico de Haen [Thu, 28 Nov 2013 16:56:49 +0000 (17:56 +0100)]
[TASK] Add FlashMessage API to Extbase AbstractController

Flow comes with an API in AbstractController to add FlashMessages.
Introducing this API to Extbase provides a convenient way to
add new FlashMessages to the queue.
Usage in your controller: $this->addFlashMessage();

Resolves: #54036
Releases: 6.2
Change-Id: I3f6b69597d7f972054c5081d1f9e20d65b598848
Reviewed-on: https://review.typo3.org/25731
Reviewed-by: Benjamin Mack
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
5 years ago[TASK] Fix typo in Install Tool 73/26873/2
Georg Ringer [Thu, 16 Jan 2014 12:41:54 +0000 (13:41 +0100)]
[TASK] Fix typo in Install Tool

Replace 'chose' with 'choose'.

Change-Id: I5ad978009e20fa420ba888a3deabb86d0d1ae926
Resolves: #55053
Releases: 6.2
Reviewed-on: https://review.typo3.org/26873
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Use file_exists() instead of is_file() 72/26872/2
Oliver Hader [Thu, 16 Jan 2014 11:12:06 +0000 (12:12 +0100)]
[TASK] Use file_exists() instead of is_file()

is_file() checks whether a resource exists and whether it
is actually a file. There are several parts in the core,
where it is sufficient to check for the existence only,
which is faster.

Resolves: #55052
Releases: 6.2
Change-Id: I57b6d2f68dd3c1c45b603c3f194cc0c53c48e28c
Reviewed-on: https://review.typo3.org/26872
Reviewed-by: Wouter Wolters
Reviewed-by: Tom Ruether
Tested-by: Tom Ruether
Reviewed-by: Oliver Klee
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years agoRevert "[BUGFIX] Assume pid 0 for global backend context" 64/26864/3
Marc Bastian Heinrichs [Wed, 15 Jan 2014 21:43:35 +0000 (22:43 +0100)]
Revert "[BUGFIX] Assume pid 0 for global backend context"

formal: the change is not marked as breaking.
functional: removing the functionality fetching the
typoscript from a auto detected page completly without
an alternative breaks all extbase backend modules using
typoscript configuration.

This reverts commit ba2386e7305e0d6e64db5cc485bc38728728ad8e

Change-Id: I0c4c10b1bd8b5d09c54743a4949cce250d962ede
Reviewed-on: https://review.typo3.org/26864
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
5 years ago[!!!][FEATURE] Improve caching framework by introducing groups 29/26829/8
Benjamin Mack [Wed, 15 Jan 2014 09:22:35 +0000 (10:22 +0100)]
[!!!][FEATURE] Improve caching framework by introducing groups

The current TYPO3 Core includes different types of caches. There are
system-related caches (class loading cache, configuration cache,
l10n_cache, extbase_object, extbase_reflection etc.) and
frontend-related caches (chash cache, page cache, page section
cache).

The patch introduces the possibility to group caches. The core uses
two groups "pages" with all page-related caches, and "system" that
is used for compile-time caches and configuration caches.

The new API is now used to be more flexible inside DataHandler
clear_cacheCmd without having hooks, as the Cache Manager is used
to clear all caches inside one hook.

!!! The "Clear all caches" command does not flush caches for
system-related caches anymore. Only "Clear Configuration Cache" or
inside the install tool in the backend removes all the system caches.

A new userTSconfig option is used to non-admins to be allowed to
clear the system caches.

Resolves: #54991
Releases: 6.2
Change-Id: Ie0fe134102882a1fcc5a85a0199016cdfbda08bf
Reviewed-on: https://review.typo3.org/26829
Reviewed-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Image CE rendering does not scale images 56/26556/6
Thomas Blaß [Tue, 24 Dec 2013 11:33:46 +0000 (12:33 +0100)]
[BUGFIX] Image CE rendering does not scale images

When rendering images with CssStyledContent while using the features
maxW and equalHeight at the same time, the rendering needs to pre-
calculate the target sizes. Doing this the GifBuilder is used to
determine the width and height of the file while still relying on the
being a locally reachable path. Since the introduction of FAL uids will
be present at that point and therefore this calcuation will fail.

This change extracts the width and height of the image from the
according file object which not only fixes the the mentioned issue but
will be way more performant since the values doe not need to be
derived from the filesystem.

Resolves: #45086
Releases: 6.2
Change-Id: Icb03d337bb84851a5c905a45c4941fc9d9539033
Reviewed-on: https://review.typo3.org/26556
Reviewed-by: Wouter Wolters
Reviewed-by: Frans Saris
Reviewed-by: Thomas Blaß
Tested-by: Thomas Blaß
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Add fileSuffix option to GeneralUtility::tempnam() 50/26650/8
Frans Saris [Sun, 5 Jan 2014 16:26:57 +0000 (17:26 +0100)]
[BUGFIX] Add fileSuffix option to GeneralUtility::tempnam()

Currently it is only possible to create a
temporary file with a given prefix and without
any file extension. But for some use-cases you
need a file with a certain file extension.

This patch introduces a new optional parameter to
GeneralUtility::tempnam() to make it possible to add
e.g. a specific extension to the created file.

In addition the occurrences in core, which can benefit
from this, are adapted resulting in less orphaned
temporary files in typo3temp.

Releases: 6.2
Resolves: #54750
Change-Id: I19383bc8f6b387133bff2f4033f05b28e883d427
Reviewed-on: https://review.typo3.org/26650
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Markus Klein
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Extend TypoScriptParser test cases 42/26842/2
Oliver Hader [Wed, 15 Jan 2014 14:25:55 +0000 (15:25 +0100)]
[TASK] Extend TypoScriptParser test cases

Resolves: #55026
Releases: 6.2
Change-Id: Ia1d03b4c3db6bb224b920b7252bd68df70053515
Reviewed-on: https://review.typo3.org/26842
Reviewed-by: Oliver Klee
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[TASK] Skip two tests in LocalDriverTests in PHP 5.3 45/26845/2
Steffen Ritter [Wed, 15 Jan 2014 14:32:49 +0000 (15:32 +0100)]
[TASK] Skip two tests in LocalDriverTests in PHP 5.3

For most tests in the LocalDriverTest vfsStream is used to
emulate the filesystem. This needs PHP filesystem functions
to use the stream wrappers.

For touch() this has been enabled with PHP 5.4. The reversal
conclusion is, that this does not work with PHP 5.3 which
causes failing tests there.

As a result If the PHP version is 5.3 we skip the two tests.
This is a follow-up to https://review.typo3.org/#/c/26520/

Resolves: #54230
Releases: 6.2
Change-Id: I4e92927e1d77f825bab8583318a944a8916051d5
Reviewed-on: https://review.typo3.org/26845
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Extend DB fields for be users/groups of DB/file mounts 37/26837/2
Benjamin Mack [Wed, 15 Jan 2014 14:14:56 +0000 (15:14 +0100)]
[TASK] Extend DB fields for be users/groups of DB/file mounts

The maxitems entry for be_users / be_groups fields
db/file mounts was raised in issue #55018. The DB schema of
these fields should reflect the changes as well.

Releases: 6.2
Followup to: #55018
Resolves: #55025

Change-Id: I475ed18d3210a68e476c1434fa83b0b410937c8a
Reviewed-on: https://review.typo3.org/26837
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Bring back final class name cache 21/26821/3
Helmut Hummel [Tue, 14 Jan 2014 16:34:44 +0000 (17:34 +0100)]
[BUGFIX] Bring back final class name cache

The class name needs to be determined through
a lookup in the implementation configuration
(AKA XCLASS).

This runtime cache was removed in favor of
a cache in the class loader. But this caching
behavior also changed due to the package management
API implementation.

Releases: 6.2
Resolves: #55024
Change-Id: I8dc101c0c04c88e531907fcfaf82e529af483e01
Reviewed-on: https://review.typo3.org/26821
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[!!!][TASK] Driver API has too many crosscutting concerns 20/26520/12
Steffen Ritter [Sat, 14 Dec 2013 10:33:35 +0000 (11:33 +0100)]
[!!!][TASK] Driver API has too many crosscutting concerns

The Driver within the FileAbstractionLayer is the actual
abstraction of a concrete file-system meant to unify
access to several kind of storage-systems the file data
might reside in. For each way of storing files there
has to be a driver.

Therefore a driver is solely a unique API to interact with
an underlying storage system based upon its own identifier
system.

Opposite to that, the AbstractDriver (defining our Interface)
knows about its storage, file- and folder-objects as well
as indexes. The methods within the current driver need to
implement more FAL-internal logic than one would expect from
what the driver is purposed to. As a result only a few drivers
are existing by now. In addition it's nearly impossible to
change FAL interals without touching every driver out there.

This change deals with these problems. In several steps the
current driver API has been refactored to have less dependencies
and only fullfills it's original purpose: the abstraction of a
file storage system.

The following things are considered:
   1. Change every return value which has been an object to the
      identifier and adapt the ResourceStorage accordingly.
   2. Change every method parameter being FileInterface, File,
      AbstractFile or Folder objects to a string: the identifier.
   3. Get rid of the storage as a member variable, only the uid
      of the storage is needed at two places.
   4. Remove all abstract methods from the AbstractDriver and
      put them in a newly created DriverInterface.
   5. Exchange all references to AbstractDriver to the interface.
   6. Remove unused methods, which came to light doing so.
   7. Merge addFile/removeFile and *Raw since the do the same if
      no objects are in place.
   8. Unify the creation of folder objects and how information
      is retrieved (analogue to files now).
   9. Unify and simplify the methods for retrieving folder
      contents (files / folders).
  10. Adapt the UnitTests of both classes to the changes.
      This also leads to the removal of some tests which are
      superfluous with that change.
  11. Make the DriverRegistry check the implementation of the
      newly created interface.
  12. Unify the parameter names in the methods.

Releases: 6.2
Resolves: #54230
Resolves: #54231
Change-Id: I4a51572c6a10859e6fd5f12f6cb539950444992e
Reviewed-on: https://review.typo3.org/26520
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Document that TYPO3 is not compatible with MySQL strict mode 25/26725/3
Ernesto Baschny [Thu, 9 Jan 2014 17:11:31 +0000 (18:11 +0100)]
[TASK] Document that TYPO3 is not compatible with MySQL strict mode

Document that in the requirements section of the INSTALL.md.

Resolves: #54883
Releases: 6.2
Change-Id: Idd80528493b9920f4488e359f13fe4304ac5fe25
Reviewed-on: https://review.typo3.org/26725
Reviewed-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Reviewed-by: Aske Ertmann
Reviewed-by: Oliver Klee
Reviewed-by: Stefan Neufeind
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK][CONF] Accept other settings in [SYS][setDBinit] 69/15369/21
Alexander Stehlik [Tue, 14 Jan 2014 17:12:10 +0000 (18:12 +0100)]
[TASK][CONF] Accept other settings in [SYS][setDBinit]

Since the mysqli interface recommends setting the charset using the
mysqli API the utf8 charset will be initialized when establishing the
database connection using mysqli_set_charset().

Additionally [SYS][setDBinit] can now be set to any value or can totally
be removed. To make sure the database connection still uses the correct
encoding an additional check is added to the database connection process
that checks the MySQL character set session variables.

Finally the old default value of [SYS][setDBinit] will automatically be
removed if it is set to the old default value.

Resolves: #41596
Releases: 6.2
Change-Id: I8d0a9eba50495d52accb59627147c1c87b6a9bb5
Reviewed-on: https://review.typo3.org/15369
Reviewed-by: Wouter Wolters
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Cleanup __DIR__ and require/require_once 52/19952/5
Stefan Neufeind [Thu, 14 Nov 2013 17:05:55 +0000 (18:05 +0100)]
[TASK] Cleanup __DIR__ and require/require_once

* Use __DIR__ instead of dirname(__FILE__) (since PHP 5.3.0)
* Use require_once for loading classes ("just once")

Resolves: #47203
Releases: 6.2
Change-Id: I4b5d003a0bbabd91dcc7e58081eed41b5314da3f
Reviewed-on: https://review.typo3.org/19952
Reviewed-by: Xavier Perseguers
Reviewed-by: Oliver Klee
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Pascal Dürsteler
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] FrontendContentAdapterService processes record repeatedly 86/26786/4
Steffen Ritter [Mon, 13 Jan 2014 15:40:05 +0000 (16:40 +0100)]
[TASK] FrontendContentAdapterService processes record repeatedly

The FrontendContentAdapterService rewrites records so legacy
TypoScript is able to work on the files to. To do so it queries
the objects regarding the relations and fills the properties of
the record new line separated as known from pre-6.x records.

This change adds a runtime cache, so already processed records
of are not processed again, if the next cObject for the same
record is started.

Resolves: #54953
Releases: 6.2, 6.1
Change-Id: I1f632f175075c9d85079ea83e343e35867a1fcca
Reviewed-on: https://review.typo3.org/26786
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Allow more DB and File Mounts for BE users and BE groups 34/26834/2
Benjamin Mack [Wed, 15 Jan 2014 12:27:13 +0000 (13:27 +0100)]
[TASK] Allow more DB and File Mounts for BE users and BE groups

In big installations, more than just 25 DB mount points are needed.

Solution: Raise the default configuration to 100.

Releases: 6.2
Resolves: #55018
Change-Id: I613a90bc6c15b7642f2c6b6b6ca4ec8221838c0b
Reviewed-on: https://review.typo3.org/26834
Reviewed-by: Tom Ruether
Tested-by: Tom Ruether
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Correct handling of empty Backend Layouts 82/24882/5
Alexander Stehlik [Mon, 21 Oct 2013 06:49:42 +0000 (08:49 +0200)]
[BUGFIX] Correct handling of empty Backend Layouts

Since the default value of the page properties backend_layout and
backend_layout_next_level is an empty string the value in the select
item is changed from zero to an empty string for consistency.

Additionally the BackendLayoutView will treat an empty string equally
as a zero namely as a non set Backend Layout.

Resolves: #52596
Releases: 6.2
Change-Id: Ic792f748d005f5749f24a3e979b304c23320c8fa
Reviewed-on: https://review.typo3.org/24882
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Images in distributions are not shown 07/26407/5
Ernesto Baschny [Thu, 9 Jan 2014 12:52:37 +0000 (13:52 +0100)]
[BUGFIX] Images in distributions are not shown

The API of the fluid image viewhelper had changed. This makes that
change less breaking, by respecting the old order of parameters,
thus allowing subclasses to continue working as usual.

Also adds some comments in phpdoc for the parameters.

Related: #53700
Resolves: #54411
Releases: 6.2

Change-Id: I11c8ec06ee263a18abd72a12e77a25899f73b475
Reviewed-on: https://review.typo3.org/26407
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] PHP warnings in ElementBrowser 24/26824/3
Markus Klein [Tue, 14 Jan 2014 18:04:33 +0000 (19:04 +0100)]
[BUGFIX] PHP warnings in ElementBrowser

The ElementBrowser tries to access array indexes
which do not exists.
Fix this to prevent PHP warnings.

Resolves: #54995
Releases: 6.2, 6.1
Change-Id: Ief660ae535f01bc593617667ce7eb81f8cd78cd3
Reviewed-on: https://review.typo3.org/26824
Reviewed-by: Oliver Klee
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Speedup typolink root-line handling 87/26787/5
Steffen Ritter [Mon, 13 Jan 2014 18:06:53 +0000 (19:06 +0100)]
[TASK] Speedup typolink root-line handling

The link generation via typolink needs the domain record as well
as the rootline to generate the links correctly. To save
superfluous database queries some local caches are introduced.

Furthermore the rootline cache does not use all information which
is present after the database query. This information is unpacked
here, too. As a result less requests to the CacheFrontend need to
be done.

Resolves: #54959
Releases: 6.2, 6.1
Change-Id: Iea7fff4c6c624a03b75523a7352b5f9736f2d57e
Reviewed-on: https://review.typo3.org/26787
Reviewed-by: Jo Hasenau
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[BUGFIX] Folder tree in popup throws JS error 33/25633/8
Aske Ertmann [Tue, 26 Nov 2013 12:35:54 +0000 (13:35 +0100)]
[BUGFIX] Folder tree in popup throws JS error

When using the folder tree (file, and folder navigation) popup
(browse_links) a JS error occurs when opening new folders.

This is due to incorrect handling of scope.
This patch fixes the error for both RTE and normal link browser.

Change-Id: I25fa0871405e06d6fc084985b3beba6396b872ad
Resolves: #53826
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/25633
Reviewed-by: Jan-Erik Revsbech
Tested-by: Jan-Erik Revsbech
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Add defaultTypoScript to hierachyInfo 38/26738/5
Peter Niederlag [Fri, 10 Jan 2014 13:16:53 +0000 (14:16 +0100)]
[BUGFIX] Add defaultTypoScript to hierachyInfo

Fixes a problem with the TemplateAnalyzer introduced by #43540

- Always add both defaultTypoScript_setup and defaultTypoScript_constants.
- Add information for defaultTypoScript into hierarchyInfo.

Change-Id: I15ad5f268eb167d6c8f027e1891409d9ead64539
Resolves: #53352
Releases: 6.2, 6.1, 4.7
Reviewed-on: https://review.typo3.org/26738
Reviewed-by: Markus Klein
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Stefan Neufeind
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Add SQL Index to Processed Files DB table 28/26628/5
Ingo Schmitt [Fri, 3 Jan 2014 16:03:49 +0000 (17:03 +0100)]
[BUGFIX] Add SQL Index to Processed Files DB table

Added index to original,task_type,configurationsha1
this improves performance for non-cached pages and
backend calls

Resolves: #54729
Releases: 6.2
Change-Id: I2ecfe62c64b89078da5c04ee708ea3c343d4fc9a
Reviewed-on: https://review.typo3.org/26628
Reviewed-by: Oliver Klee
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Exception in FileMetadataOverlayAspect 14/25914/4
Georg Ringer [Tue, 3 Dec 2013 14:45:47 +0000 (15:45 +0100)]
[BUGFIX] Exception in FileMetadataOverlayAspect

It is possible that PageRepository::getRecordOverlay() returns NULL which
throws an exception as ArrayObject::exchangeArray() either needs an
array or an (array-)object.

The fix adds a small check for the Result of the PageRepository function.

Change-Id: I248125154220e6250c4a2a6fdf29759211bf214b
Resolves: #54169
Releases: 6.2
Reviewed-on: https://review.typo3.org/25914
Reviewed-by: Steffen Ritter
Reviewed-by: Oliver Klee
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Prevent double loading of session data 10/25510/10
Alexander Opitz [Tue, 19 Nov 2013 15:43:10 +0000 (16:43 +0100)]
[BUGFIX] Prevent double loading of session data

At the moment we load the session data to verify authentication and
again to verify session existence. This isn't necessary. Also removing
the session deletion if we didn't find session data.

Resolves: #53598
Releases: 6.2
Change-Id: Ibc3c4ebc5c1bbca970374172f714bddcd37b539a
Reviewed-on: https://review.typo3.org/25510
Reviewed-by: Thorsten Kahler
Tested-by: Thorsten Kahler
Reviewed-by: Wouter Wolters
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Usage of sys_lang_mode in Typo3DbBackend 32/25932/5
Georg Ringer [Wed, 4 Dec 2013 05:50:29 +0000 (06:50 +0100)]
[BUGFIX] Usage of sys_lang_mode in Typo3DbBackend

Due refactoring the property $languageMode is compared but is never
filled. The property from the querySettings has to be used.

Change-Id: I8f66a10548213513b8cc5a3a90cc219ed5f91918
Resolves: #54182
Releases: 6.2
Reviewed-on: https://review.typo3.org/25932
Reviewed-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Proper template for EXT:cshmanual 33/25933/2
Georg Ringer [Wed, 4 Dec 2013 07:15:04 +0000 (08:15 +0100)]
[TASK] Proper template for EXT:cshmanual

Use the proper template mechanism and a toolbar for the cshmanual ext to
let it look like all other backend modules.

Change-Id: I6b1a4cfe036034d09caa71a8914eed359f2da930
Resolves: #54184
Releases: 6.2
Reviewed-on: https://review.typo3.org/25933
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Update IDNA-class to 0.8.1 67/25667/2
Stefan Neufeind [Sat, 23 Nov 2013 18:20:27 +0000 (19:20 +0100)]
[TASK] Update IDNA-class to 0.8.1

Change-Id: I1aaf487c43adc7e36fa98aaf972094fa13d1e764
Resolves: #53902
Releases: 6.2
Reviewed-on: https://review.typo3.org/25667
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Fix typo in copyright notice 36/26736/2
Roland Waldner [Fri, 10 Jan 2014 12:08:26 +0000 (13:08 +0100)]
[TASK] Fix typo in copyright notice

"textfile" will be replaced by "text file"

Resolves: #54893
Releases: 6.2
Change-Id: Ic7ce106a016f242cc47c70539876ff9810954a9b
Reviewed-on: https://review.typo3.org/26736
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Template dropdown doesn't refresh template title after save 66/26766/3
Torben Hansen [Mon, 13 Jan 2014 08:08:03 +0000 (09:08 +0100)]
[BUGFIX] Template dropdown doesn't refresh template title after save

Reloads the template menu after the template title has been changed.

Resolves: #51805
Releases: 6.2, 6.1
Change-Id: I5d987a3ffc6a11dfa1ebe54480c9c3b69ccc1959
Reviewed-on: https://review.typo3.org/26766
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Only variables should be passed by reference 79/26779/3
Xavier Perseguers [Mon, 13 Jan 2014 09:59:24 +0000 (10:59 +0100)]
[BUGFIX] Only variables should be passed by reference

array_shift() takes argument by reference.

Releases: 6.2
Fixes: #54933
Change-Id: I94c16bc739f36d669640701561ff94aebd63b1f5
Reviewed-on: https://review.typo3.org/26779
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Fix PHP warnings in PackageManager 89/26789/4
Markus Klein [Mon, 13 Jan 2014 19:49:40 +0000 (20:49 +0100)]
[BUGFIX] Fix PHP warnings in PackageManager

Resolves: #54963
Releases: 6.2
Change-Id: I58b1f6109872d6eb8059fceb1bec1af7134e84e2
Reviewed-on: https://review.typo3.org/26789
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Check for libxml bug in install tool 89/25089/11
Tomita Militaru [Thu, 31 Oct 2013 10:44:17 +0000 (12:44 +0200)]
[TASK] Check for libxml bug in install tool

Add check for libxml bug when saving special characters ">><<"
in a flexform

Resolves: #51271
Releases: 6.2
Change-Id: I5d120cdfeb9538209273c8761d017cb67256617b
Reviewed-on: https://review.typo3.org/25089
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Oliver Klee
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Calculated hash of File object is never used 89/26689/5
Steffen Ritter [Wed, 8 Jan 2014 08:51:28 +0000 (09:51 +0100)]
[TASK] Calculated hash of File object is never used

The indexing pre-calculates the file hash and stores it in
the sys_file table. Sadly the getter of file objects never looks
at this again and always recalculates the hash via the driver,
which is very slow.

Resolves: #54235
Releases: 6.2, 6.1, 6.0
Change-Id: I16bfa2126031f26b8e31da8d8c0b3fc07d0217dc
Reviewed-on: https://review.typo3.org/26689
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Oliver Klee
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Ignore dependencies of inactive packages 19/26719/5
Helmut Hummel [Thu, 9 Jan 2014 12:25:23 +0000 (13:25 +0100)]
[BUGFIX] Ignore dependencies of inactive packages

It might happen that activating or deactivating
a package throws an exception because other inactive
packages are available on the system with broken or
not fulfilled dependencies.

To solve this issue, only active packages
are regarded when resolving dependencies.

To remove a side effect from this change,
cache clearing in extension manager is
moved to a later point (see #54951).

This needs a proper fix in another change,
but makes this fix work for now.

Resolves: #54879
Releases: 6.2
Change-Id: Id81b66b2d2b6f4ba7d1c6ea2d001c271982539b3
Reviewed-on: https://review.typo3.org/26719
Reviewed-by: Thomas Maroschik
Reviewed-by: Markus Klein
Tested-by: Kasper Ligaard
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[TASK] Add index to sys_file_metadata 74/26774/6
Ingo Schmitt [Mon, 13 Jan 2014 09:08:13 +0000 (10:08 +0100)]
[TASK] Add index to sys_file_metadata

Since sys_file_metadata records are enabled to be
translated the file list module is capable of metadata
translations, too. In order to directly link to edit
or create a new translation depending on wether this
language already has been translated for each file the
metadata translations are fetched from the database.

In order to improve that query this patch adds an index
including l10n_parent and sys_language_uid.

Resolves: #54927
Releases: 6.2
Change-Id: I6cc5c74505e96647c5ddd7e7ee77518176d2ba0b
Reviewed-on: https://review.typo3.org/26774
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Update SQL definition for sys_file_storage 68/26768/8
Ingo Schmitt [Mon, 13 Jan 2014 08:18:41 +0000 (09:18 +0100)]
[TASK] Update SQL definition for sys_file_storage

There are missing indexes as well as a mismatch between the
TCA definition (and therefore actual usage) and the SQL
definition at database level.

This change
* adds combined index to deleted / hidden to speedup the
  query initializing storages in Be_UserAuth

* changes SQL definition for field "name" to match their
  usage in TCA

Resolves: #54923
Releases: 6.2
Change-Id: I86f345a941802304ed7fbe29d00ae38130f8e5d2
Reviewed-on: https://review.typo3.org/26768
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Oliver Klee
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack