[BUGIFX] Missing rendering for newer menus

Rendering is missing in css_styled_content for menu types
8 and 9 (introduced in 6.0 and 6.2 respectively) for older
versions of the static templates (i.e. below 6.0).

Add them down to 4.5.

Resolves: #51837
Releases: 6.2
Change-Id: I5f6f9068ceb89851c67b3c1ee2bd580936498c70
Reviewed-on: https://review.typo3.org/23674
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[BUGFIX] Display relations' titles when TCA label field is type inline

This change adds a case to treat "inline" TCA types the same way
"select" is treated when building the record's label value.

Before, if record used field of type "inline" as TCA label field, TYPO3
would display fx "3" (number of related records as stored in field
on parent record).

After, TYPO3 will display fx "Record1, Record2, Record2" if "inline"
field contains three related records named thusly.

Fixes: #52133
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Ie06f09368e81505cb1e5989b61ae98add54b05ba
Reviewed-on: https://review.typo3.org/23902
Reviewed-by: Benjamin Rau
Tested-by: Benjamin Rau
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Cedric Ziel
Tested-by: Cedric Ziel
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
[BUGFIX] Fix PHP warning when writing to Backend user log

The writelog method for the BackendUserAuthentication object is now
checking if there is actually an uid available in the user array
before it tries to access it.

This prevents a PHP warning about an illegal string offset when writing
log messages in an authentication service.

Releases: 6.0, 6.1, 6.2
Resolves: #49328
Change-Id: I006c6b0ccd8f03292715a7d7ab8e457914637d93
Reviewed-on: https://review.typo3.org/23116
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[FEATURE] Show forgot password only if conf showForgotPassword = 1

Do not show forgot password form in felogin, if the forgot
password link for the login form has been disabled.

Resolves: #50138
Resolves: #34597
Releases: 6.2
Change-Id: I40b490cb09dc339067ff4ff0bc0d0afe0464a456
Reviewed-on: https://review.typo3.org/22541
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marco Huber
Tested-by: Marco Huber
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[TASK] Update felogin doc with showForgotPassword change

Related: #50138
Releases: 6.2
Change-Id: I98bf8a4eadfae7183d8904956b3adcfdface1e5b
Reviewed-on: https://review.typo3.org/23918
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[BUGFIX] Wrong exception on renaming folder

When a user tries to rename a folder without the permissions
to do so, the ResourceStorage throws a
"InsufficientFileAccessPermissionsException" instead of a
"InsufficientUserPermissionsException".

Resolves: #52056
Releases: 6.0, 6.1, 6.2
Change-Id: I83e75038bd6763f201ef03ebf37018368e990e1a
Reviewed-on: https://review.typo3.org/23862
Reviewed-by: Helmut Hummel
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Fabien Udriot
Reviewed-by: Francois Suter
Tested-by: Francois Suter
[BUGFIX] Increase length of identifier field in sys_file

Sometimes the identifier is longer than 200 chars. This patch increases
the maximum length to 512 characters.

Resolves: #48912
Releases: 6.2, 6.1, 6.0
Change-Id: I67edc1facf972d2ffef09a3204edc556464afda5
Reviewed-on: https://review.typo3.org/23882
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Aske Ertmann
Tested-by: Aske Ertmann
Reviewed-by: Jon Langeland
Tested-by: Jon Langeland
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Unify data for jumpurl hash generation

The URL that is used to calculate the jump URL hash during
the typolink generation is now URL decoded.

This is required because the hash check will also use a non
URL encoded version for verifiing the submitted jump URL data.

Resolves: #52156
Releases: 6.2
Change-Id: I7d2d8cec005aae56a118850071ca669ef9740c9d
[FEATURE] Custom active tab in RTE element browser

Introduce a flag that prevents the element browser of rtehtmlarea
from overwriting the active tab that was set by a hook object.

Resolves: #49036
Releases: 6.2
Change-Id: Iebfda39714caa98c0d2023992bbf63a2f5b9b01a
[TASK] Non extension dirs in llXmlAutoFilename

Allow non extension dirs (e.g. fileadmin) in
\TYPO3\CMS\Core\Utility\GeneralUtility::llXmlAutoFilename()

Fixes: #34728
Releases: 6.2, 6.1, 4.7, 4.5
Change-Id: I073f42ec8b6d733246151df331201031187e1baf
[FEATURE] Allow escaping of dots in TypoScript key

This patch allows the use of backslashes to escape
dots in TypoScript keys, for example:

my\.escaped\.key = test

will result in a single key "my.escaped.key" with the
value "test".

Resolves: #29461
Releases: 6.2
Change-Id: If830c67c4a35ec023b03f208e1c7131ce57b27b8
[BUGFIX] Correct order of key / field deletion

Prevent a SQL error when deleting a key and the field belonging
to the key in the install tool at the same time.

Therefore the order for deleting keys and fields is changed from
field first and key second to key first and field second.

Resolves: #50450
Releases: 6.2
Change-Id: I30aff6ea6c2bf01dec6197eec8fd3aa7306cfcbb
[BUGFIX] Prevent exclude field mixup in FromEngine

Use a local variable for storing the excluded fields in the
FormEngine to prevent the configuration from being overwritten
by the inline form element renderer.

Fixes: #47359
Releases: 6.1, 6.0, 4.7, 4.5
Change-Id: I5a7a2de16d767f854b4d3f89d599deec28266092

Conflicts:
	typo3/sysext/backend/Classes/Form/FormEngine.php
[BUGFIX] Correct file language overlay for pages

This patch corrects the fields the FILES content object is using for
doing the language overlay for file references for fields in the pages
table.

Instead of the _LOCALIZED_UID that is only available for other record
types the _PAGES_OVERLAY_UID field is now used to check if there
is a translated version available.

Resolves: #47869
Releases: 6.2, 6.1, 6.0
Change-Id: I2465a9e3ccd49223cc44885ffba8484788e1b669
[BUGFIX] Manpulation of file field migration config

This patch introduces new methods to the FrontendContentAdapterServer
that allow the manipulation of the file field migration configuration.
It is now possible to add additional (content) types for which the
migration should be active and to add custom migration configurations.

Resolves: #46067
Change-Id: Ibc23be8a414192c8795d9bb4f09316cf608e240b
[BUGFIX] Reset singletons in Extbase command

This patch fixes the handleRequest() method signature of
the Cli request handler by returning the response object
like it is expected by the RequestHandlerInterface.

When the request is returned the Bootstrap process will
reset the singletons which includes persisting of any
changed objects.

Resolves: #52092
Releases: 6.2
Change-Id: I78a507ab5b68ad67a85bf4a914494b39ea1407e1
[BUGFIX] Initialize extension key in command requests

This patch initializes the extension key in the configuration manager
as soon as it is available during a Extbase command line request.

Resolves: #51329
Releases: 6.2
Change-Id: I73b0f0e7a0b20e1773c9eb92f0d2175416ce2bb1