[FOLLOWUP][BUGFIX] Allow frontend requests from different document root

Fix broken unit test

Resolves: #63025
Releases: master, 6.2
Change-Id: I4c98bedb53cc83ffd1ddc18adfa8e383028704d4
Reviewed-on: http://review.typo3.org/35017
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[DB][FEATURE] Add ISO 639-1 keys to sys_language

The language handling of records in TYPO3
is solely based on UIDs of the sys_language DB table,
but no reference to the real language used.

The ISO 639-1 defines the language identifiers
(ISO language code) completely (182 entries).

If the real language key was needed before in
TYPO3, one could install static_info_tables
which takes a field ("static_lang_isocode") in the
various places of the TYPO3 Core and fetches
the isocode via separate SQL-Queries.

The change introduces the ISO language
two-letter-keys natively in the core in order to
1. use less SQL queries in FE and BE if
static_info_tables was installed
2. remove hard coded dependencies of
EXT:static_info_tables
3. and always ensure that the core
includes the ISO code

Additionally one can now use the
$TSFE->sys_language_isocode all the time for
working with the ISO code instead of the
UID parameter, meaning that isocode can now be
set with a TypoScript parameter as well.

A Migration Wizard moves values put in the old
DB field (which is a UID reference to
static_languages) to the new DB field "language_isocode".

The old field is deprecated to use without the
new properly filled field "language_isocode".

In TYPO3 CMS 8 the static_lang_isocode field
will be removed within the CMS core (but could
still be included in static_info_tables).

Releases: master
Resolves: #61542
Change-Id: Ia017af52af354ac204ffac11635d99df120b029a
Reviewed-on: http://review.typo3.org/32884
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
[BUGFIX] Add missing identifier to newly introduced xliff file

Resolves: #61542
Releases: master
Change-Id: I18f3d43b3f7c868f68d935676d3896632dafc1e6
Reviewed-on: http://review.typo3.org/35022
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Exclude CDATA from t3lib_parsehtml->XHTML_clean

Due to commit https://review.typo3.org/#/c/30240/ the comments from
javascript is removed and now the javascript is parsed with
config.xhtml_cleaning = all. This patch prevents any CDATA content from
being parsed.

Resolves: #62967
Releases: master, 6.2, 4.5
Change-Id: Ib024c5c8f2b056e47d9222b9767b7a5e6923af8c
Reviewed-on: http://review.typo3.org/34207
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
[TASK] RTE: Code cleanup

Remove references to simple ExtJS methods.
Simplify names of JavaScript files.
Make script dependencies explicit.

Releases: master
Resolves: #63381
Change-Id: I474578810fa2d991a5f4743a5cde3efb642d1545
Reviewed-on: http://review.typo3.org/34714
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
[TASK] RTE: Ajust position of resizable handle

Move the resizable handle to the status bar

Releases: master
Resolves: #63567
Change-Id: I634b7e39732a4d1a6eb1fc7545861ad39688c74e
Reviewed-on: http://review.typo3.org/35038
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
[TASK] RTE: Migrate Ajax class to jQuery

Releases: master
Resolves: #62720
Change-Id: Ifb96642f101bb72813e200b2488d25fd32693627
Reviewed-on: http://review.typo3.org/35041
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
[TASK] RTE: Migrate event handling to jQuery

Migrate non-widget event handling to jQuery.
Migrate custom events to jQuery.
Migrate ExtJs tasks to plain JavaScript.
Migrate ExtJs key maps to jQuery.

Releases: master
Resolves: #63572
Change-Id: I3828c24ad3ce7a5193d42ba76819cf09e47456c9
Reviewed-on: http://review.typo3.org/35043
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
[BUGFIX] RTE: Broken rendering of dropdowns in toolbar and dialogues

Releases: master
Resolves: #63578
Change-Id: Iea92c932d56dbfabcea7f884b3ebb3f8b0f218ce
Reviewed-on: http://review.typo3.org/35057
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
[BUGFIX] Ignore non-integer values for type in redirects

For redirects the parameter for page type is not validated as integer
resulting in invalid redirect urls. This patch checks for a valid integer
value and ignores it silently otherwise.

Resolves: #62527
Releases: master, 6.2
Change-Id: I9fd4564a3e4e13e4d64e27e090221e71edf06ae9
Reviewed-on: http://review.typo3.org/35037
Reviewed-by: Cedric Ziel <cedric@cedric-ziel.com>
Tested-by: Cedric Ziel <cedric@cedric-ziel.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[FEATURE] Add "auto" absRefPrefix option

For automatic distribution configuration
like the introduction package, a dynamic
option to find out whether TYPO3 is installed
under "/" or "/mysite/" the TypoScript
option config.absRefPrefix = auto
calculates the absRefPrefix automatically.

Releases: master
Resolves: #58366
Change-Id: Ia0d335665c9b30d21b886c8e9ac4c1ccdb069adc
Reviewed-on: http://review.typo3.org/29747
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
[FEATURE] Remove conf.php for ext:filelist

In order to be able to remove the conf.php a few fixes are needed.
The module dispatcher checks for a conf.php file and results in a error.
The language labels for the module menu for example are missing currently.
This patch adds a possibility to register the labels also in addModule
function.

Resolves: #62880
Releases: master
Change-Id: I5765cf84858d1c328739c761d23c97307abf7ede
Reviewed-on: http://review.typo3.org/33992
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
[BUGFIX] Use die() instead of exception for PHP version check

The installer checks for the PHP version and throws and exception.
This is bad for people not having enabled display_errors in their
PHP config and leads to an empty white page.

Change this to simply die() as this will ensure the user can
see the cause of the issue.

Resolves: #63570
Releases: master
Change-Id: I84f5f1e089753beffe17360a636d2d5038ab24a6
Reviewed-on: http://review.typo3.org/35058
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
[!!!][CLEANUP] Remove deprecated files in typo3/

Due to the security restrictions
using mod.php for most calls, some files
are not referenced anymore.

These files can be removed now.

Resolves: #63296
Releases: master
Change-Id: Ib56a201027c5fb17118d610a85ba7a52104a016e
Reviewed-on: http://review.typo3.org/34551
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>