[TASK] Move wizards to Web=>Functions

The current situation of the Functions module
is like this:
Wizards like "Sort pages" and
"Bulk-create pages" are inside
Web=>Functions=>Wizards.
The Functions module is not used
at all for anything else right now.

For a cleaner interface and code
structure, both wizards are moved
to the Web=>Functions level directly.

This avoids having a separate dropdown
in the content area, but using the already
known (and default) "functions" MOD MENU.

In a further step, the "func_wizard" extension
should be moved to compatibility6 with a
proper note on how to migrate old "wizard"
extensions to the normal top-level functions
module.

Resolves: #63310
Releases: master
Change-Id: I9845cafe87de3f2f93d7938bef28284b80a04022
Reviewed-on: http://review.typo3.org/34581
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>
[TASK] Set TYPO3 version to 7.1.0-dev

Resolves: #63547
Releases: master
Change-Id: I8f48df6de186b416e6a960e8f176afddabb5614d
Reviewed-on: http://review.typo3.org/34971
Reviewed-by: Sebastian Michaelsen <michaelsen@t3seo.de>
Tested-by: Sebastian Michaelsen <michaelsen@t3seo.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[TASK] Use name-resolution instead of strings where possible: 16

(part for extensions starting with "d" to "v")

Use name-resolution with ...::class instead of strings where
possible.
(needs PHP 5.5, which is meanwhile required for master)

Change-set Iedbb896607adddce2b23ab67f990fa2296c0d1bb
first introduced usage of ::class in master. We now add it
in various more places.

Change-Id: Idd4dbb32c5e7be1fc566a65cb729a684de003056
Resolves: #63477
Releases: master
Reviewed-on: http://review.typo3.org/34872
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[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>