[BUGFIX] Remove references to extListArray

Fixes: #52849
Releases: 6.2
Change-Id: I1308ffec460b7d4a61456564721206c7e99d5a99
Reviewed-on: https://review.typo3.org/24795
Reviewed-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
[FEATURE] Enable all workspaces tab in workspace module

The "all workspaces" tab currently is only available for admin
users. However, there's no need to disallow regular editors to
use this feature as well - access will be granted to workspaces
that have been defined for each particular user or group.

Besides that, actions from the "all workspaces" view need to be
handled in a special way since there is no correct
BE_USER->workspace value assigned in that case, but working with
versioned records requires to have a correct scope defined.

Change-Id: I89bfee3ad0b2ce1a5f3c12a1bd91342472b12d3d
Resolves: #50223
Releases: 6.2
Reviewed-on: https://review.typo3.org/22445
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[FEATURE] Add devIP as keyword for IP condition

When using an IP condition, support using keyword "devIP" to compare
the current Request IP against the devIpMask setting.

Usage:
[IP = devIP]
page.20 = TEXT
page.20.value = Hello Developer!
[end]

Fixes: #50092
Documentation: #52827
Releases: 6.2
Change-Id: I6b9128a9ac23b8d24ec1874dbe477503b20b58b8
Reviewed-on: https://review.typo3.org/24754
Reviewed-by: Ernesto Baschny
Reviewed-by: Gaëtan MARMASSE
Tested-by: Gaëtan MARMASSE
Reviewed-by: Paul Rohrbeck
Tested-by: Paul Rohrbeck
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Oliver Hader
[FEATURE] Enable frontend to show translated file metadata

The frontend should show translated file metadata.
Since translation is not the concern of a file abstraction
layer and the FAL does not know about frontend language
settings this concern has to be decoupled.

For that purpose the MetaDataRepository has been extended
with an signal which is fired before the metadata-record
is returned. In Frontend-Context a Slot is registered
which passes that record through the according functionality
in \TYPO3\CMS\Frontend\Page\PageRepository::getRecordOverlay
so that a clean language and workspace overlay happen
according to the settings of TSFE.

Releases: 6.2
Resolves: #52818
Change-Id: I7b7791abd63d2a69480ed31861c63de1585a569c
Reviewed-on: https://review.typo3.org/24766
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Fabien Udriot
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
[RELEASE] Release of TYPO3 6.2.0beta1

Change-Id: I51679493e369c2410095c11abc7bc21eb863c346
Reviewed-on: https://review.typo3.org/24813
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
[TASK] Set TYPO3 version to 6.2-dev

Change-Id: Icf563ed76827a35f51a5e309a416ddc7086f6bf6
Reviewed-on: https://review.typo3.org/24814
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
[BUGFIX] Fix FilePermissionUpdate SQL errors

If you have a new installation or already used the database analyser to
delete unnecessary fields the filePermissionUpdate throws SQL errors
because the old fields aren't available anymore.

Resolves: #52856
Releases: 6.2
Change-Id: Id74c7263d7686a574d128856fd7538dc110ba3bb
Reviewed-on: https://review.typo3.org/24808
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[TASK] SYS/forceReturnPath can be removed

Silent upgrader removes this setting now as well.

Resolves: #52857
Releases: 6.2
Change-Id: I03c5f302cce96f53a5664a1fafcd1c2d7b8ec812
Reviewed-on: https://review.typo3.org/24811
Reviewed-by: Alexander Stehlik
Tested-by: Alexander Stehlik
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Incomplete mock in ext:frontend FAL getData test

The patch for #52818 triggered a failing test for ext:frontend
getData(). The patch mocks a File Resource properly to not test
FAL internals, but only the getData() logic.

Change-Id: I7312f4b9991931008fa68b66dcc9913162c222be
Resolves: #52865
Related: #52818
Releases: 6.2
Reviewed-on: https://review.typo3.org/24819
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] Enable mock of ResourceFactory in ContentObjectRenderer

ext:frontend ContentObjectRenderer calls ResourceFactory::getInstance
at various places. This static call can not be mocked and is a hard
dependency to FAL.
The patch encapsulates the static call in a method and uses this
to mock instances of the ResourceFactory within some tests to have
controlled return values.
As a side effect one test does not fail anymore if only the
ext:frontend tests are executed and not the whole test suite. The
according hook-test was renamed and now tests the method that calls
the hook directly.

Change-Id: I0ee75462b7e7f25f70c6c8fb132045084b9ac537
Resolves: #52868
Resolves: #52643
Releases: 6.2
Reviewed-on: https://review.typo3.org/24821
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Loaded Extensions in ExtensionCompatibilityTester

Remove the obsolete call to loadTypo3LoadedExtensionInformation() and
read the loaded Extensions from the TYPO3_LOADED_EXT global.

Additionally the array type hints are replaced with the ArrayAccess
interface since the LoadedExtensionsArray returns instances of
LoadedExtensionArrayElement which implements that interface.

Resolves: #52866
Releases: 6.2
Change-Id: I40db793f2c35b50636c8411aa7a141efc3c90320
Reviewed-on: https://review.typo3.org/24820
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[BUGFIX] Presets cause fatal error during last installation step

This patch restructures the PresetInterface and AbstractPreset usage to
prevent any inheritance which causes a fatal error in some PHP versions.

Resolves: #52886
Releases: 6.2
Change-Id: I2505234d41f0a2da2ba49a895fa23c7a8ffa89ac
Reviewed-on: https://review.typo3.org/24837
Reviewed-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
[BUGFIX] Class "\extDirect_DataProvider_BackenduserSettings" not found

A error message is displayed in the Backend. Replace the old class name
with its new name.

Change-Id: Id88b5ff3d315362e7eaf64cc1f33a74b7fd2a84c
Resolves: #52880
Releases: 6.2
Reviewed-on: https://review.typo3.org/24829
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Unit tests for devIP condition

Cover the condition feature of issue #50092 with some test to
verify expected behaviour.

Change-Id: I116fb22f9ac0d6b1b869afe7844f38d235cdd39a
Resolves: #52887
Related: #50092
Releases: 6.2
Reviewed-on: https://review.typo3.org/24838
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Follow-up: Preserve vendor name in refering request

Change-Id: I7101206dad7f2137d23dccd4c013bd4a32a2faf6
Resolves: #52900
Releases: 6.2
Reviewed-on: https://review.typo3.org/24846
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Suppress empty tag names in output of array2xml

If a tag name is empty GeneralUtility::array2xml must not output that
tag at all.

Resolves: #52529
Releases: 6.2, 6.1, 6.0
Change-Id: Ib075feac25e5ba06884436db6d4be69cc428a43d
Reviewed-on: https://review.typo3.org/24841
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
[BUGFIX] TCA: sys_file_reference:title exclude = 1

Make the title field of sys_file_reference excludable so
it can be hidden in the BE.

Resolves: #49501
Releases: 6.2
Change-Id: Ifad9213e9d46a41287d2d907aec77b6c2ae8a6be
Reviewed-on: https://review.typo3.org/24444
Reviewed-by: Chris topher
Tested-by: Chris topher
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] CategoryCollection must handle multiple relations

Since #51921 it is possible to have multiple fields for defining
relations to categories. The CategoryCollection and the
categories-based page menu are now adapted to handle this correctly,
instead of retrieving records for relations defined in all fields.

Resolves: #52285
Documentation: #52302
Releases: 6.2
Change-Id: I156528669704004a86243e03f34d3a1af07cdb21
Reviewed-on: https://review.typo3.org/24066
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Francois Suter
Tested-by: Francois Suter
[BUGFIX] Getting the identifier for a lazy object fails

Using PersistenceManager::getIdentifierByObject doesn't work for lazy
object since version 6.1, because the function uses the session object
directly. Before the Backend::getIdentifierByObject was used, which
handles lazy objects right.
Solution: use the Backend again.

Resolves: #50548
Releases: 6.2, 6.1
Change-Id: I8381a968f730918b96b6764d3f62bfc5f58509ee
Reviewed-on: https://review.typo3.org/22696
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Daan Wissing
Tested-by: Daan Wissing
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
[FEATURE] Wizard to add OpenID to backend user

Adds an OpenID wizard button to the be_user's tx_openid_openid field.

The wizard allows to enter an OpenID URL, processes the OpenID login
and finally sets the OpenID in the backend user edit form and
backend user settings form.

This helps registering OpenIDs of providers that hand out different
claimed OpenID URLs for each domain, like Google does.

Resolves: #49310
Releases: 6.2
Change-Id: I953bcfc0df640dc7632f4b78b43f7945606cb7e9
Reviewed-on: https://review.typo3.org/21621
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Fabien Udriot
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind