[FEATURE] Template Path fallback for Fluid Standalone View

TemplateView received the feature of template path fallback
configuration with issue #39868.
The same is missing for Standalone view and will be introduced
with this patch.

Change-Id: I1e854a356a4c7e9cfff773c8f56fe4a437f77920
Resolves: #61361
Related: #39868
Documentation: #63117
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/34344
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: ian excedo <ian@webian.it>
Tested-by: ian excedo <ian@webian.it>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
[FEATURE] Allow fallback paths in FLUIDTEMPLATE

Resolves: #61361
Releases: master, 6.2
Change-Id: I676722936892f164ae147d7f9abcb602e734ae7d
Reviewed-on: http://review.typo3.org/34421
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: ian excedo <ian@webian.it>
Tested-by: ian excedo <ian@webian.it>
Reviewed-by: Robert Wildling <robertwildling@gmail.com>
Tested-by: Robert Wildling <robertwildling@gmail.com>
[BUGFIX] Fix typo of variable

$numRows got mixed up with $numrows which could lead to
invalid SQL statements.

Resolves: #63281
Releases: master, 6.2
Change-Id: I209b41d3f502841b74fac7f047aa68a3e45bf271
Reviewed-on: http://review.typo3.org/34532
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] Source element within picture element has wrong src attribute

Change it from src to srcset as described in the latest HTML5
specification for master and 6.2

Resolves: #63107
Releases: master, 6.2
Change-Id: Ia3180873af948db30bb60f2f071e5ccfe2283baf
Reviewed-on: http://review.typo3.org/34585
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Introduce chunking for large expression lists

TYPO3 executes some queries that contain very large expression lists,
e.g. in "NOT IN". In Oracle, this actually fails because the amount
of items in those lists is limited.

The code is prepared to support more specifics in different DBMS
at any time.

This patch also reverts If63f855b250bf7c9b6cd7112f60392cfc8ccfd67
because it's obsolete now.

Resolves: #61654
Related: #60859
Releases: master, 6.2
Change-Id: I3afd6a5187f28a9ddd7b01947e278fc7ce853808
Reviewed-on: http://review.typo3.org/34627
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Pagination wrong in IndexedSearch

Fix variable type issues in IndexedSearch pagination.
(classic and extbase VH)

This will ensure the CSS classes are correct again for current page and
next/prev page.

Resolves: #63350
Releases: master, 6.2
Change-Id: I6db4f2850ca9adc9d0aa07e908fc613036071676
Reviewed-on: http://review.typo3.org/34647
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Follow up: Use strrpos to find last occurence

The patch #61654 introduced a bug, where strpos is mistakenly
used to get the last position of the currently processed field.
It must be changed to strrpos, otherwise the opening brace
breaks the SQL.

Also, a unit test for this case is added.

Resolves: #63345
Related: #61654
Releases: master, 6.2
Change-Id: Ibdbc7975b8f750060980f811cd0089b1a7b7de2b
Reviewed-on: http://review.typo3.org/34682
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
[RELEASE] Release of TYPO3 6.2.7

Change-Id: Idf04e317186c1775cc1b453dcaad2614c5f50ee9
Reviewed-on: http://review.typo3.org/34683
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
[BUGFIX] Prevent double content link checks

When a link points to a content element by using it's anchor behind
the page UID the reference index contains two entries for this link,
one for the linked page and one for the linked content element.

Since the content element is already checked when the page link is
validated by extracting the anchor element from the URL it is not
required to handle any other references than those starting with
"pages:". This prevents content elements from being treated as pages.

Resolves: #50772
Releases: master, 6.2
Change-Id: I5337ea01614eee2228fe09936f49a88b5ea96e5d
[BUGFIX] Type check fix in linkhandler link type

To determine if a link should be handled by the linkhandler link type
in the linkvalidator, the "type" entry in the $value array will be
checked instead of the $type variable which is always empty.

Resolves: #38639
Releases: master, 6.2
Change-Id: I8183bfca0e4662518063f0d3ec9ba6bab0ff58bf
[BUGFIX] Use mod.linkvalidator settings in scheduler

Since mod.linkvalidator is used in all other places in the linkvalidator
as TSConfig key it is now also used in the scheduler to override existing
TSConfig.

To maintain backward compatibility the old mod.tx_linkvalidator setting
will be respected and a deprecation warning will be logged.

Resolves: #51360
Releases: 6.2
Change-Id: I6e6692d2ff6543f1154e4d64feb52efc5cdfcf83
[BUGFIX] Prevent exclude field mixup in FormEngine

Use a local variable for storing the excluded fields in the
FormEngine to prevent the configuration from being overwritten
by the inline form element renderer.

Resolves: #47359
Releases: master, 6.2
Change-Id: I5a7a2de16d767f854b4d3f89d599deec28266092
[BUGFIX] Respect config.absRefPrefix in admin panel

All image paths rendered by the admin panel will now be prefixed
with $GLOBALS['TSFE']->absRefPrefix.

Resolves: #52211
Releases: master, 6.2
Change-Id: I81cf6603887bb981e0c9398a724d3fb56de240f8
[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 patch.

Resolves: #57712
Releases: master, 6.2
Change-Id: Ib0347ddae6091792b85ee77133db8d711982a12b
[BUGFIX] Placeholder attribute without useOrOverridePlaceholder

The placeholder configuration for a TCA field will now be considered
independently from the "mode" beeing set to "useOrOverridePlaceholder".
If a placeholder is set in the TCA it will be rendered. The mode
setting only changes the behavior of the NULL checkbox.

Resolves: #59129
Releases: master, 6.2
Change-Id: Ice7681d644623a5e94cbdd22743ddf5aab8919a9
[BUGFIX] Redirect on direct access to overlaid mountpoint

When the user directly accesses a page that is a mountpoint that
should be overlaid with the contents of the mounted page, he will
be redirected to the target page within the mounpoint context.

Releases: master, 6.2
Resolves: #59382
Change-Id: I37e20a05d8fcbfd98c36a87f27eb66683ef34dc9
[BUGFIX] Language mode for child object / findByUid query

This patch makes all child object queries and the findByUid query
in Extbase ignore the current language mode which prevents invalid
child object references.

Releases: 6.3, 6.2
Resolves: #59971
Change-Id: I0f9e0de9b118fbd3bc49d7b5960285a2a8dce8c8
[TASK] Prevent PHP warning in AbstractMenuObject

If the current page can not be retrieved for the language menu
the menu generation will be skipped to prevent a PHP warning
in the array_merge() call.

Change-Id: I16c1cc171a6f9aee13294a6e1ed14ce8ac492a17
[TASK] Improve linkvalidator scheduler task usablity

The getAdditionalInformation() method is implemented in the
linkvalidator scheduler task to show more information about
the task in the scheduler Backend module.

Resolves: #61198
Releases: 6.3
Change-Id: Iebb43923b73ff4ecebab4a6747655596be859604
Reviewed-on: http://review.typo3.org/32383
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>
[TASK] Unify data for jump URL hash generation

The jump URL generation is unified and moved to a new JumpUrlUtility
class. All methods in the ContentObjectRenderer are now using the same
method for creating jump URLs.

The handling of file and directory names with special characters is
improved and FAL file records with special characters in their file names
will also be URL encoded.

Additionally Unit Tests are added to verify the jump URL function.

Resolves: #52156
Releases: master, 6.2
Change-Id: I7d2d8cec005aae56a118850071ca669ef9740c9d