[BUGFIX] Change explanatory text of SYS error reporting config variables

Unify explanatory text of the variables [SYS][errorHandlerErrors],
[SYS][exceptionalErrors], [SYS][syslogErrorReporting] and
[SYS][belogErrorReporting] so that formatting, link to PHP doc and
the numerical default values are similar.

Resolves: #61942
Releases: master, 6.2
Change-Id: Iacdbf18ad5c181c499c23c4c50cebffc6736236c
Reviewed-on: http://review.typo3.org/33025
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
[DB] Increase max length of link fields

The current core supports links with the maximum length of 256 chars in
header links of tt_content elements and links in table
sys_file_reference.

External links can have much more than 256 chars.

Increasing the maximum length to 1024 should be enough - even current
browsers are supporting much more than 1024 chars.

Resolves: #61944
Releases: master, 6.2
Change-Id: I2031ebef959de696bc320b927ec1a462bcd5dd72
Reviewed-on: http://review.typo3.org/33052
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE

This patch fixes invalid JavaScript code (adds a missing closing
bracket), that prevents BE users from creating links to anchor tags
in the RTE.

This is a regression fix to #60919.

Resolves: #61943
Releases: master, 6.2, 6.1, 4.7, 4.5
Change-Id: I90ecba126191322048a2c4aca7835d3795764324
Reviewed-on: http://review.typo3.org/33055
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Revert "[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE"

This reverts commit eda10cc0f2f2ddb7fa645c2f7ef6b71ea9f22b94.

The commit message of the original patch references a wrong issue number and the target versions seem to be wrong too.

Change-Id: I37866f1a70f354fae36a4efe3c7dab0c77f84bc8
Resolves: #61968
Reverts: #61943
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33060
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE

This patch fixes invalid JavaScript code (adds a missing closing
bracket), that prevents BE users from creating links to anchor tags
in the RTE.

This is a regression fix to #41413.

Resolves: #61943
Releases: master, 6.2
Change-Id: I8e085e01885333d612cf6776495be259b00a093a
Reviewed-on: http://review.typo3.org/33067
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[TASK] Fix functional tests for EXT:impexp

After issue #61944 has been merged, sys_file_reference.link does
not support NULL values anymore (which is fine). However, in the
past the default has been NULL and also has been written in the
accordant functional test data assertions.

Thus, NULL assertions are removed from the test. The change of
the "size" property by 5 bytes can be explained by a difference
in serializing NULL values and serializing an empty string.

Releases: master, 6.2
Related: #61944
Change-Id: Ia8700d6b6e374412e3300f12f4d6bb341deb4cfe
Reviewed-on: http://review.typo3.org/33065
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
[BUGFIX] Search word markup for UTF8 characters in summary

Fix usage of preg_split to use the modifier /u so that search words
are correctly split in a summary.

Resolves: #26172
Releases: master, 6.2, 6.1
Change-Id: I90d8676f5724f194434811378eb8598eaf04cb9e
Reviewed-on: http://review.typo3.org/33094
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] BE login template: fix invalid HTML structure

In the backend login template a div tag is nested within a dl tag.
This is prohibited by the HTML specification.
This patch reverses the tag ordering.

Resolves: #61962
Releases: master, 6.2
Change-Id: I4e6410111a2ede2f9294cf390d7e96eedbeb58f6
Reviewed-on: http://review.typo3.org/33080
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Readd frame setting to image configuration

The setting "frame" is missing in the processing information in
image handling.

Change-Id: I24410d28daa8017995cc9b352c328dff3f329748
Resolves: #62053
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33188
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] Remove empty values in pageOverlayFields

$GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields'] might contain
empty values. Remove those.

Resolves: #62068
Releases: master, 6.2
Change-Id: I79337d9d8dca17fc840a331c8839147054d1b3f0
Reviewed-on: http://review.typo3.org/33192
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] Fluid tries to render folders as templates partials and layouts

The file_exists checks in TemplateView and StandaloneView are true for
folders. This leads to unrendered partials with resorted paths.
Use is_file instead.

Releases: master, 6.2, 6.1
Resolves: #47188
Change-Id: I9c168f4793f173f6c2f848e6e3da1f6021ae9c06
Reviewed-on: http://review.typo3.org/33195
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Show correct tooltip for page type "Mount Point"

The tooltip of pages of the type "Mount Point" lacks the information
about the linked page because the needed fields are not retrieved.

Additionally the shortcut tooltip gets improved for the page tree.

Change-Id: I9c7c65094d23bbc0b0eb6100b0d6a62641c00d22
Resolves: #61951
Related: #60033
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33198
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] RTE Language extension refers to non-existent method

RTE Language extension refers to non-existent method
tx_staticinfotables_div::getCurrentLanguage in Static Info Tables.

Releases: master, 6.2
Resolves: #62111
Change-Id: I9a37a40da367f47da9ee3a015537e79d3ff5a88a
Reviewed-on: http://review.typo3.org/33210
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit 5059981b809b9721fcf5c615ab0b3992a7894ee7)
Reviewed-on: http://review.typo3.org/33211
[BUGFIX] Fix PHP warning with CTYPE=media

Check for array type before checking the variable with isset().
If the variable is a string the isset() will cause a PHP warning.

Resolves: #59544
Releases: master, 6.2
Change-Id: I766292a3dc0365a40acff5fd5f089f7ea78e0b70
Reviewed-on: http://review.typo3.org/33212
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] Do not use invalid TSConfig in linkvalidator

To display the linkvalidator error messages for linkhandler link types,
the name of the linked table is read from the TCA instead from page
TSconfig (from a hardcoded page UID 1).

Resolves: #54523
Releases: master, 6.2
Change-Id: I165813a03cd4574c20981e35a9e53cfdeacfc421
Reviewed-on: http://review.typo3.org/33213
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] RTE references non-existent xml files

References should be to xlf files.

Releases: master, 6.2
Resolves: #62112
Change-Id: I670e0f7f8af422d710c85c76f87b25527ceb1c38
Reviewed-on: http://review.typo3.org/33214
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit a56a1367e2758e9b85d1f59aae332bc85b462553)
Reviewed-on: http://review.typo3.org/33215
[BUGFIX] RTE Spellcheck dialogue opens with excessive height

By default, the RTE Spellcheck dialogue opens with excessive height
in Firefox.

Releases: master, 6.2
Resolves: #62113
Change-Id: Ifd92417ddc7c688bb752c4460a4992daf7173651
Reviewed-on: http://review.typo3.org/33216
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit a920538e1ca90067b221d843d4d71c2c9a00238f)
Reviewed-on: http://review.typo3.org/33217
[BUGFIX] RTE Spellcheck dialogue not correctly displayed

The RTE Spellcheck dialogue is not correctly displayed: the suggestions
and dictionaries fieldsets are never displayed in Firefox and Chrome
due to size constraints. In IE, the trigger elements of the combo boxes
are truncated on the right.

Releases: master, 6.2
Resolves: #62114
Change-Id: Iebff324164dc5975403e2217dd06def77e2eba6f
Reviewed-on: http://review.typo3.org/33218
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit 4e8ede79e40be001a5c6b333b078c73eea86c40d)
Reviewed-on: http://review.typo3.org/33219
[BUGFIX] RTE Spellcheck:default ISO code dictionary should be lowercase

When no default dictionary is configured for the ISO code of the
language of current content, the ISO code itself is taken as the name
of the Aspell dictionary. This should be lowercase.

Releases: master, 6.2
Resolves: #62128
Change-Id: I346469b0c1cd8a44227576b0d17cf231c205f961
Reviewed-on: http://review.typo3.org/33228
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit f6d66f21fccee997e0d5f78d42703d23177c4c88)
Reviewed-on: http://review.typo3.org/33229
[BUGFIX] Possible race condition when creating directory

During various actions in the backend which require a cache directory
in typo3temp/ a race condition can occur while creating the directory.
The race condition is caused by GeneralUtility::createDirectoryPath.

There is a check whether the directory to be created already exists.
Later the directory is created using mkdir(). If in the meantime
another process creates the directory the exception will get thrown.

Resolves: #47269
Releases: master, 6.2
Change-Id: Iff46addd9ad6d738d1760f82a436dec9840c331d
Reviewed-on: http://review.typo3.org/33237
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>