[TASK] Set TYPO3 version to 6.2.8-dev

Change-Id: Ia4316d5ad5d06f4eb62d309a59954d334c73573a
Reviewed-on: http://review.typo3.org/34684
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
[CLEANUP] StandaloneViewTest needs some love

Resolves: #63372
Releases: master, 6.2
Change-Id: I4863239d536623284ef2bc9774f6c3f4ccc18be7
Reviewed-on: http://review.typo3.org/34702
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] StandaloneView must not require ucfirst file names

Regression to #61361.
There's no reason to require ucfirst file names for Layouts and Partials.

Resolves: #63367
Releases: 6.2
Change-Id: I3b931a0ef129c88388d427685af47ebb3e4a355f
Reviewed-on: http://review.typo3.org/34705
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
[TASK] Add missing closing quote in phpDoc

Resolves: #63369
Releases: master,6.2
Change-Id: I325193f7739757c81eb8ad4cf6fbbbe8a0ad1425
Reviewed-on: http://review.typo3.org/34716
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
[BUGFIX] Correct message when language is missing

Message in User settings has to refer to the Language module
instead of the Extension Manager.

Resolves: #63449
Releases: master, 6.2
Change-Id: I6865330281b77336595af6e056975974ec700c15
Reviewed-on: http://review.typo3.org/34814
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
[BUGFIX] Fix HTML structure for buttons in EM

This adds a missing wrap for the actions buttons in EM.
(Get Extensions view only)

Resolves: #63460
Releases: master, 6.2
Change-Id: Ifcc32f95995d2df976589e756b17afacfd39665b
Reviewed-on: http://review.typo3.org/34825
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Do workspace overlay for not translated file meta data

Previously the FileMetadataOverlayAspect only did a version/ workspace overlay
for translated metadata records, which meant that changes to
default language meta data records did not show up during preview.

Fix this by properly overlaying also the default language record.

Resolves: #62986
Releases: 6.2, master
Change-Id: I5b7b0f9ab20d5539107b6fd2e2872a8bd4003454
Reviewed-on: http://review.typo3.org/34832
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
[BUGFIX] Add missing htmlspecialchars() or quoteJSvalue()

Change-Id: I6c088a2e5b9f870bacc7d4e425d56698baad19fb
Resolves: #63321
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/34740
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Escape element ID before used in jQuery selector

General information: to use any of the meta-characters as a
literal part of a jQuery selector, it must be escaped with
two backslashes: http://api.jquery.com/category/selectors/

Using IRRE (TCA type "inline") in Flexforms, TYPO3 may
generate HTML elements with IDs containing dots. Example:

id="data-104-tt_content-182-pi_flexform---data---fileSelection
---lDEF---settings.fileSelection.files---vDEF_records"

If you set "useSortable" and "endableControls.dragdrop" to 1
for an element in your Flexform configuration,
inline.createDragAndDropSorting(objectId) will get called for
that element. This objectId has to be escaped to be used as a
literal part of a jQuery selector later in this function.
Otherwise the drag-and-drop functionality will fail.

Resolves: #62676
Related: #62001
Releases: 6.2
Change-Id: I353a699d82885b7bd57d0dc5fafbb8f5646d693f
Reviewed-on: http://review.typo3.org/33777
Reviewed-by: Stefan Busemann <stefan.busemann@in2code.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
[BUGFIX] Fix wrong phpdoc for extbase plugin types

Resolves: #63535
Releases: master, 6.2
Change-Id: I406ca2534d4bf44c504cf31824ae161840274981
Reviewed-on: http://review.typo3.org/34960
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] Accessibility bypass in dt for menu with abstract

The TypoScript path of the accessiblity bypass has changed so the
code that overrides the wrapping <li> with a <dt> element is adapted
to match the new TypoScript path.

Resolves: #57712
Releases: master, 6.2
Change-Id: Ib0347ddae6091792b85ee77133db8d711982a12b
Reviewed-on: http://review.typo3.org/34962
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[TASK] TS path next to error msg in obj-browser

This outputs the TS path next to the error message in the object browser
when clicking on a node in the TS tree and not having a TS record on that
page.

Resolves: #60322
Releases: master, 6.2
Change-Id: I5c4243de851cb906b16d94d1f6ce114b4c9174c8
Reviewed-on: http://review.typo3.org/34963
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Fix option to disable direct file upload

Direct file uploads for FAL fields can be disabled
with ...['appearance']['fileUploadAllowed'] = FALSE

Resolves: #63286
Releases: master, 6.2
Change-Id: I8fd6bd7ab385ba8acc4c7d18fb38507dc8689dbc
Change-Id: Ic93ec8047d2db9205fdf10bb4bce63b1559ca728
Reviewed-on: http://review.typo3.org/34979
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
[BUGFIX] GeneralUtility::getUrl() fails to process redirects sometimes

If PHP's open_basedir is active, CURLOPT_FOLLOWLOCATION will be disabled
by PHP. In such case any redirects will not work. This causes problems
with extensions that fetch pages of the site and hit redirects. For
example, if the site uses http and parts of it use https, extensions
like "pagepath" or "solr" will not be able to work with "secondary"
protocol.

Change-Id: I2d9e50d2d00e4c8b0c930a929be7884fd0215c21
Resolves: #45741
Releases: 6.2, master
Reviewed-on: http://review.typo3.org/34306
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
[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/35011
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/35015
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/34288
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/35018
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[FOLLOWUP][BUGFIX] objectManager->create is removed but still in use

Change-Id: I8aa8502a4a4188f2e665848745daccb75bca30c0
Resolves: #63552
Releases: 6.2
Reviewed-on: http://review.typo3.org/35019
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Linkvalidator: Improve tolerance on HEAD-request error

Force second URL-request if first response had an HTTP-status-code
which indicates a client-error (4xx) or a server-error (5xx).

Resolves: #58145
Releases: master, 6.2
Change-Id: I5cb02a6345494ffbe23caba652628b91812aea37
Reviewed-on: http://review.typo3.org/35025
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>