[TASK] Don't let PHP 5.4 failure fail the build on travis

Change-Id: I21277f1f59a9055503414ae94f9dee626e1cd70d
Reviewed-on: http://review.typo3.org/16109
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] PHP 5.4 warning in CLI context in switch back user

PHP 5.4 raises warnings of type "Illegal string offset" if you access
$foo['bar'] and $foo is no array. This is the case in hook
SwitchBackUser, if in cli context.

Furthermore, the class is cleaned up a bit in 6.0 version and the
compatibility layer is removed, since the hook file was moved around
together with the beuser refactoring anyway.

Change-Id: I5ed32e054b156c9fbc64e99ff33ba5c4637ce266
Fixes: #37578
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/16108
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Cleanup DebugUtility

The debug utility outputs JavaScript, even when in CLI mode.
Additionally all strings are not correctly encoded for
JavaScript.

Additionally deprecate the method which does incomplete encoding.

Releases: 6.0
Resolves: #42611

Change-Id: I68fadc5d8f10e967913d1b79bc7758a5a18d77f6
Reviewed-on: http://review.typo3.org/16117
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[TASK] Raise submodule pointer

Change-Id: I48a5498e10da7b1a1185324a35381f3bf4cd1815
Reviewed-on: http://review.typo3.org/16119
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Use new Be.Widget.Paginate in EXT: beuser

Use the new ViewHelper be.widget.paginate for backend
user listing in EXT: beuser.

The ViewHelper was introduced in #42428.

Change-Id: Ic31d4a5aa1d6041d3fa5d610dffad02a3b5f87a3
Resolves: #42576
Releases: 6.0
Reviewed-on: http://review.typo3.org/16093
Reviewed-by: Mattias Nilsson
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[BUGFIX] "Upgrade Wizard" screen goes blank

When using the "Upgrade Wizard" in install tool the screen goes blank.

Change-Id: I3a9c6bb2c86bbeb2c0fa17fd547e626eebfc2749
Resolves: #42569
Releases: 6.0
Reviewed-on: http://review.typo3.org/16083
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[BUGFIX] Hook to modify t3lib_div::getIndpEnv return value

This hook makes it possible to modify the calculated return
value for custom environments.

Change-Id: I49a98565f8878cde44093ee2331d70b281e91f4f
Fixes: #39016
Releases: 6.0
Reviewed-on: http://review.typo3.org/12842
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
[BUGFIX] PHP 5.4 unit test warnings

PHP 5.4 throws warnings "Creating default object from empty value"
warnings if $foo->bar is accessed and $foo is not an object. The patch
fixes ConditionMatcherTest in this regard and does some other minor
cleanups within the test class.

Fixes: #42622
Releases: 6.0

Change-Id: I9d04618d88127b07d460be8dbd81c64633991bd6
Reviewed-on: http://review.typo3.org/16124
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Revert "[BUGFIX] Hook to modify t3lib_div::getIndpEnv return value"

This reverts commit 33e72f56e8e5c4183c1784027639913581b225a9

Related: #39016
Releases: 6.0

Change-Id: I33ffcb206b2d4cac3cd7b683aec8df962c22d593
Reviewed-on: http://review.typo3.org/16127
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Illegal string offsets in t3lib_stdgraphic

Illegal string offsets in t3lib_stdgraphic

Change-Id: I8be45d59b780595e25d6d7f5371300b6506baa2f
Fixes: #38024
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12543
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Translated non-published page in workspace breaks live workspace

Translation of pages are stored in pages_language_overlay and
can be managed in workspaces as well. If a new translation is
created in the workspace only, the page module is broken in
the live workspace.

The reason for that is, that workspaces placeholders need to
be ignored if not working on a real workspace.

Change-Id: Ied52a985c3cb1c0796f616679414799d956024d8
Releases: 6.0, 4.7, 4.6, 4.5
Fixes: #42281
Reviewed-on: http://review.typo3.org/15958
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[TASK] Speed up salted password unit test

The patch removes tests in blowfish and phpass salting classes that
test maximum iteration count returns a valid salt. The underlying
salt code is slow by design, so the tests also take ages. The
functionality itself is already covered by the minimum salt count
test as well, thus - after speaking with Marcus Krause - we decided
to remove them without substitution to reduce the unit test suite
runtime.

Resolves: #42639
Releases: 6.0

Change-Id: I4bf94dc8ae4726fa131f6113546442fb00718753
Reviewed-on: http://review.typo3.org/16141
Reviewed-by: Wouter Wolters
Tested-by: Marcus Krause
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] PHP 5.4 unit test warnings

Incomplete mocking in some tests triggers
string offset PHP 5.4 warnings.

Fixes: #42644
Releases: 6.0

Change-Id: I261a7652909db21ee4839882a8360016cc854b2b
Reviewed-on: http://review.typo3.org/16144
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Use BE paginate widget in EM 6.0

The backend paginate widget provides the familiar paginator
that is known from other parts of the backend.

Change-Id: I8bbf5851ca099e2219fefa777a26feba101eeaba
Fixes: #42583
Releases: 6.0
Reviewed-on: http://review.typo3.org/16133
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[TASK] Require green PHP 5.4 build on travis again

Change-Id: Ifd13543b1b3b337171214f70087bc7010b3c0898
Reviewed-on: http://review.typo3.org/16146
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Enable extenisions with BE modules don't refresh the module list

When installing an extension with BE modules through the new
extension manager, the left frame with modules is not
refreshed. An accordant call to the module menu widget needs
to be triggered in those cases.

Change-Id: Ibead3b1a0da99be300c16ae3237986387294a74f
Releases: 6.0
Fixes: #42009
Reviewed-on: http://review.typo3.org/16129
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Add Test for namespaces in Logger names

Resolves: #42582
Releases: 6.0

Change-Id: I5cf8c01ce1749be92e5e073b5812106ba08dc025
Reviewed-on: http://review.typo3.org/16100
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] No sorting in TypoScript Object Browser when browsing

If you enable "Sort alphabetically" the correct value (1) is submitted to
extension settings. But when you use any other functionality of the page
(e.g. setting some conditions or use search filter) the value is set to
"on" which disables the sorting.

Change-Id: I88233f94edba032c9b23072fb5e9132b276c8f1e
Fixes: #39677
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/13567
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Update LocalConfiguration fails

Due to changes in function
TYPO3\CMS\Core\Configuration\ConfigurationManager::writeLocalConfiguration
an error is thrown when the configuration file isn't accessable.

Of course when updating the system from a lower version it is not
available. So the installation process has to create the file on its own
to be able to write the settings.

Change-Id: I89553390ebd9f1f576311535e02ec73da6618cd6
Fixes: #42271
Releases: 6.0
Reviewed-on: http://review.typo3.org/16088
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] Failure in AbstractRepository::findByUid on deleted record

Resource\AbstractRepository::findByUid fails if the record to
be fetched has been deleted or simply does not exist. The
condition whether something was fetched from database is wrong.

count(FALSE) is TRUE, thus it needs to be ensure that there is
a non-empty array.

Change-Id: I9fbdb2ed79ceef9ed0782eeed3db15af73636731
Releases: 6.0
Fixes: #42593
Reviewed-on: http://review.typo3.org/16102
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader