[BUGFIX] Language-module icons need to display in correct size

Since inline:display-block was missing on those icons, those
icons didn't display in their intended size although they
had a width/height-attribute set.

Change-Id: I5ba318e6a3ca4602714d0c4b5f12674e2e305952
Resolves: #43428
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/22734
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[TASK] FilesContentObject::stdWrapValue(): only execute stdWrap once

Change-Id: I4bad84460e1d1b16e05498e382644cd5946c3be8
Resolves: #50614
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/22740
Reviewed-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[TASK] Use real boolean value for sL second param

Make use of boolean value TRUE as second parameter in sL function.

Change-Id: I6d77affc4f3ff260f617ca67c773fc4ca2e481ce
Resolves: #51143
Releases: 6.2
Reviewed-on: https://review.typo3.org/23153
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[CLEANUP] Remove deprecated repository constructor

Resolves: #51142
Releases: 6.2
Change-Id: I4d7e49d564df0f59c75802a6526ca0ede1f3477c
Reviewed-on: https://review.typo3.org/23175
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] FunctionalTestCase refactoring

* Make properties in utility class non static, store private instance
* Improve documentation
* Better exception code in case test database can not be created

Change-Id: Ib05ad804fd4bbb6772243343e2160df5170d8bfe
Resolves: #51156
Releases: 6.2
Reviewed-on: https://review.typo3.org/23181
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[FEATURE] Responsive website preview

Bring responsive adaption for preview frame in EXT: viewpage
based on common device widths.

Change-Id: I8e1df6243436d5b76b17ae6364f63c2a93da07c1
Resolves: #51148
Releases: 6.2
Reviewed-on: https://review.typo3.org/23168
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Improve documentation in FunctionalTestCase

Change-Id: Ice1e7760d9d1644411bc95ee2dd15e0885277e82
Releases: 6.2
Resolves: #51165
Reviewed-on: https://review.typo3.org/23186
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Implement getDatabase to FunctionalTestCase

Fiddling with database records is a common use case in
functional tests. The patch implements a getDatabase()
method to FunctionalTestCase for easy IDE auto completion
and uses it in activated test cases.

Change-Id: I8900457ff1c31e1f1d731337be17431ccf89b379
Resolves: #51167
Releases: 6.2
Reviewed-on: https://review.typo3.org/23187
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Adapt skinning extension stylesheet paths

In order to clean up EXT: t3skin the standard paths should
be adapted to follow extbase/fluid conventions.

Change-Id: Ic43a42e13c7656064743c936b678a5172e45209b
Resolves: #51134
Releases: 6.2
Reviewed-on: https://review.typo3.org/23144
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] FlashMessageQueue PHP strict warning

FlashMessageQueue exends \SplQueue and overwrites enqueue($value).
In \SplQueue enqueue() has no type hint on $value, but
FlashMessageQueue adds a type hint to FlashMessage. This raises
a PHP strict warning.

Solution is to remove the type hint and add an exception instead
if given argument is not an instance of FlashMessage.

Change-Id: I882aab33a55d84de6614a45c6cc045223adba0cd
Resolves: #51159
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/23183
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Files with unclean path indexed multiple times

When adding a file or requesting a file by an identifier
cleanup any . and .. in the path before handing off
to the driver so files are not indexed multiple times.

Fixes: #46989
Releases: 6.2, 6.1, 6.0
Change-Id: I4198a8885a6a148e68e1e0f717775f9af976a9ef
Reviewed-on: https://review.typo3.org/22923
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[BUGFIX] No version overlay should be done for sys_language

The tables sys_language and static_languages do not support
versioning. Therefore, when doing a version preview, no
version overlay should be applied to them.

Change-Id: I37be782601fc37e78a74d2459b6f246c5107b701
Fixes: #37892
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/11928
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Ignore permission checks for processed files

It must be possible that processed files are generated
even if the user has read only permissions on a storage.

Additionally add a method to Storage, to specifically
update a processed file with a local file.

Resolves: #51209
Releases: 6.0, 6.1, 6.2

Change-Id: I847b02f070c55647e06695c1c70b0b7e8e238177
Reviewed-on: https://review.typo3.org/23196
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[BUGFIX] Storage is offline but is still used

Check before generating a publicUrl if storage is online.

Resolves: #49842
Releases: 6.2, 6.1, 6.0
Change-Id: I766e337cf5e7dfcb309bbce0bbd7c4d8df733c84
Reviewed-on: https://review.typo3.org/22915
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[BUGFIX] Missing "Interface" in Backend-Annotation

ObjectMapper does not work for Backend-Mappings
because of missing "Interface" in Backend-Annotation

Resolves: #51249
Releases: 6.2, 6.1
Change-Id: I45a6f1c57ddcf71282853c44e261bfa877854b85
Reviewed-on: https://review.typo3.org/23238
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[BUGFIX] Check for incompatible SQL modes

If the SQL mode "STRICT_ALL_TABLES" is enabled you
will not be able to save most records. (Enable it in
your my.cnf and try to save a tt_content record)

This patch adds a check in the install tool for the
incompatible SQL modes "STRICT_ALL_TABLES" and
"NO_BACKSLASH_ESCAPES".

The automatic fix for "NO_BACKSLASH_ESCAPES" has been
removed because we don't want to change the mysql
environment automatically.

Resolves: #20052
Resolves: #18866
Resolves: #18821
Releases: 6.2, 6.1, 6.0
Change-Id: Ifd2d7901935f06534a273374bf48266916e23698
Reviewed-on: https://review.typo3.org/19671
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Markus Klein
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Revert "[BUGFIX] Check for incompatible SQL modes"

The sysenv-check is not the proper place for a check that needs a working db-connection. But we'll find a different place for this check shortly and then reintroduce it.

This reverts commit bad3f24c1d106ce4d2254c1a8e5710edb769151e

Change-Id: I1ba4a2ed88ad03df122593ac964d997ec05edacf
Reviewed-on: https://review.typo3.org/23243
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
[BUGFIX] Wrong namespace in DataHandler test

Change-Id: Ice648bc6d9d0668c7f0a42ae57fab556da7dcaaa
Resolves: #51253
Releases: 6.2
Reviewed-on: https://review.typo3.org/23245
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Move TCA and ext_tables.sql from ext:cms to ext:frontend

EXT:frontend is the successor of ext:cms. This started with the
namespace change so all class files are already located there.
The patch moves TCA and ext_tables.sql to the extension to make
it very clear that functional tests that depend on this data
should also go to ext:frontend later on.
The patch is trivial since both extensions are "required" and
thus always loaded, with ext:frontend directly before ext:cms,
so nothing can break with this patch.

Change-Id: Ifd9e0c9263f6b9a6aadfbfa1b568c4cd085e40d9
Resolves: #51251
Releases: 6.2
Reviewed-on: https://review.typo3.org/23244
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[TASK] Merge pagegen.php to index_ts.php

pagegen.php contains rendering code and is called twice
in index_ts.php. The patch merged the content of this
file to index_ts.php to have all global code in one file.

The patch is a straight forward refactoring, only the
time tracking is a bit simplified and an obsolete if
is removed at the former second inclusion of the file.

Change-Id: Id8477423455281bd6df2ce32eb280809045e4541
Resolves: #51254
Releases: 6.2
Reviewed-on: https://review.typo3.org/23246
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters