[TASK] Optimize Travis build matrix

* make the xlfcheck script executable
* add conditions around every test suit
* add a specific build matrix to exclude not needed multiple xlf checks

Releases: master
Change-Id: I245513542f205df8474dfc25ab7c1253143bbf91
Reviewed-on: http://review.typo3.org/35003
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
[TASK] Add missing htmlspecialchars() or quoteJSvalue() in ToolbarItems

Resolves: #63489
Releases: master
Change-Id: I6e1d1dfd476a2ea33d81ce918cf6f41a43edade4
Reviewed-on: http://review.typo3.org/34884
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[TASK] Remove unselected languages in LocalConfiguration

If selecting one ore more languages in EXT:lang, the complete
language tree is written in EXTCONF/lang/availableLanguages in
LocalConfiguration.php. Empty values in this array represent
unselected languages. This patch removes the empty values
from the language array.

Resolves: #63546
Releases: master, 6.2
Change-Id: I327f05c16f3824f1c91c8f2e095c5b5059b420b9
Reviewed-on: http://review.typo3.org/34985
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] objectManager->create is removed but still in use

Resolves: #63552
Releases: master, 6.2
Change-Id: I09f238b89c00cd0b6150a0f8763848b9da2f0f99
Reviewed-on: http://review.typo3.org/35005
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[TASK] Update documentation settings

Update version number and copyright years in extension manuals.

For the version number, use the |release| substitution instead
of repeating the version number.

Resolves: #63532
Releases: master
Change-Id: I2e0e6f1ce8dd9b473f3efaf4d262c432f261ba63
Reviewed-on: http://review.typo3.org/34957
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Allow frontend requests from different document root

With a specially prepared index.php and using a page renderer hook
it is in general possible to deliver frontend requests
from a dedicated web folder.

However there are a few (hard coded) issues in TYPO3 which makes this impossible.

Change GeneralUtility::getIndpEnv('TYPO3_SITE_URL') to check for
a TYPO3_PATH_WEB constant defined in a specially prepared index.php
in a "Web/" folder and provide the fluid stand alone view with
an absolute path (which is meant like that in the API anyways).

This change has no impact on a TYPO3 installation with a traditional
directory structure, but enables users to have a more secure setup
in an appropriate environment.

Resolves: #63025
Releases: 6.2, master
Change-Id: I571ceb6224c8030d1f5f99a45903cda3a8171313
Reviewed-on: http://review.typo3.org/34264
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Cedric Ziel <cedric@cedric-ziel.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[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>