[TASK] Set TYPO3 version to 6.2.7-dev

Change-Id: If7d07a856f639be00c5e15f5fbdee3096fc178dc
Reviewed-on: http://review.typo3.org/33468
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
[BUGFIX] Make ContentSlide work correctly if last element is empty

When using ContentSlide and the last content element in a column returns
an empty string, the slide continues up in the page list, even when
there are other content elements in the column.
Fix this by checking the correct value.

Change-Id: I6543cf2335197ae8510aa8d805d4d60a8d8a2320
Resolves: #51936
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33482
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] ClassLoader also needs to check for interfaces

An interface might already be defined, check for existence before trying
to require it, which will cause PHP errors if the interface comes from a
different file path.

Resolves: #62212
Releases: master, 6.2
Change-Id: I9cf43402bbcbbb5e27dbebb4ea48a2e1b483f360
Reviewed-on: http://review.typo3.org/33489
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] ErrorHandler: Stop execution if E_RECOVERABLE_ERROR occurs

Ensure the ErrorHandler stops script execution if an error occurs.

Resolves: #61213
Releases: master, 6.2, 6.1
Change-Id: I0324a571b494576db1d314d8af0a86273e3205d3
Reviewed-on: http://review.typo3.org/33491
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] Respect different object mapping for scheduler tasks

Resolves: #60296
Releases: master, 6.2, 6.1
Change-Id: I7bff792b33ffecbe53ac4aee848e6ad16318a538
Reviewed-on: http://review.typo3.org/33493
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] Missing and invalid warnings on referenced files

The file list module in the backend offers the possibility to
delete files. An interesting use case is the deletion of files
that still have references to other entities. However, currently
proper warnings are only available for sys_file reference.

a) before deleting a file, a popup should be shown
   this does not work since the API is called with
   the identifier instead of a proper UID value

b) after calling the API for deleting a file, references
   should be pointed out
   references are checked, however the description on the
   file usage is missing due to hardcoded "sys_file_reference"
   triggers - thus, no other references are printed out

Resolves: #58913
Releases: master, 6.2, 6.1
Change-Id: Id80361427abc17bda3461c2d00750c4790798c88
Reviewed-on: http://review.typo3.org/33495
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[BUGFIX] Misaligned radio buttons

In the TYPO3 CMS BE, radio buttons are not well aligned
with their labels. Fix it with a top margin definition.

See bug tracker for screenshots.

Resolves: #61992
Releases: 6.2
Change-Id: Iab285ead7c3fee7cdf6c1f00366c883f06c5f3dd
Reviewed-on: http://review.typo3.org/33096
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] RTE: Multilingual classesAnchor titleText not possible

Content language is not correctly set by RTE controller.

Releases: master, 6.2
Resolves: #62399
Change-Id: I85eb570dc266bdc71e4768a13d27c6f2937f7251
Reviewed-on: http://review.typo3.org/33488
Reviewed-by: Jan Kiesewetter <jan@t3easy.de>
Tested-by: Jan Kiesewetter <jan@t3easy.de>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit 07fb3d8afea5bd3ff35e34e7eac97d59502d9b8a)
Reviewed-on: http://review.typo3.org/33506
[BUGFIX] RTE: In Chrome RTE inserts weird span tags

Remove the span tags inserted by Chrome or Opera on execution of
native execCommand. The attributes of these span tags have evolved...

Releases: master, 6.2
Resolves: #52470
Change-Id: Ibb046b86e869bd7d4afc61ab5005595467b288cd
Reviewed-on: http://review.typo3.org/33392
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
[FEATURE] Add multiple parameter in f:form.checkbox

This patch introduce the multiple parameter
for f:form.checkbox ViewHelper of fluid.

Resolves: #61529
Releases: master,6.2
Change-Id: Ic02b9aaeb19f09be438c18212c5b2f5842bf7468
Reviewed-on: http://review.typo3.org/33257
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Ernesto Baschny <ernst@cron-it.de>
(cherry picked from commit ad2cfb7d909b7b7d0d84de3630047c2f6d7833e0)
Reviewed-on: http://review.typo3.org/33514
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
[BUGFIX] Fix JS error in SuggestWizard

This is regression fix for #59701.

The ID of new Content Elements now contain a dot character.
Fix the generated JS code of the SuggestWizard to filter this dot.

Resolves: #62438
Releases: master, 6.2
Change-Id: Ifd6937a7645c1bfd509fa1b5912d02f2d01c5e0d
Reviewed-on: http://review.typo3.org/33503
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Bernhard Kraft <kraftb@think-open.at>
Tested-by: Bernhard Kraft <kraftb@think-open.at>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
(cherry picked from commit 85bfe3911eb30a770a138caad5161b7fc9d40b66)
Reviewed-on: http://review.typo3.org/33518
[BUGFIX] Link to ext:perm in clickmenu not working

The link refers directly to index.php instead of mod.php.
Use BackendUtility::getModuleUrl() for the link to fix the problem.

Change-Id: I7cdda9f592e331c95bbb3c5d301907bd77761ec5
Resolves: #62459
Related: #38099
Releases: master, 6.2, 6.1
Reviewed-on: http://review.typo3.org/33551
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[TASK] Replace old fe_users icon with new one

Change path of fe_users icon in TCA to same as in page tree.
See Edit page > Behaviour > Contains plugin

Resolves: #27955
Releases: master, 6.2
Change-Id: Ib2c91ad279249c9ab6a71d23f7c9afca140cc2ec
Reviewed-on: http://review.typo3.org/33556
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] RTE: Documentation of enableWordClean is wrong

The HTMLparser properties must be defined under subproperty HTMLparser
of enableWordClean and not directly under property enableWordClean.

Releases: master, 6.2
Resolves: #58105
Change-Id: I0b21e5789aa4db867e0057e484d17f40a26b5c56
Reviewed-on: http://review.typo3.org/33565
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit 14cea0f39df2902662b6664a03abc208969033ff)
Reviewed-on: http://review.typo3.org/33571
[BUGFIX] Only reload pagetree if pages are changed

When using the click menu to hide, unhide or delete
a record, previously the page tree was refreshed,
although those changes are only reflected in the
pagetree if page properties are changed.

Adapt the click menu to only refresh the tree
if a page record is changed or deleted.

Resolves: #40687
Releases: 6.2, master
Change-Id: I32844b359abd790f1dbd6839eec6feeb6e62bd02
Reviewed-on: http://review.typo3.org/33573
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
(cherry picked from commit 4fac3bf53705bbf01b3775ad28aed4ef20ee7a97)
Reviewed-on: http://review.typo3.org/33581
[BUGFIX] Declare statically called method static

InlineElement::updateInlineView() is only used once throughout the core
and called statically, although the method is not declared to be static.

Fix this by declaring it static.

Resolves: #62501
Releases: 6.2, master
Change-Id: Ifeb8551899ccf285d87a66767bf7de4e8e98b32f
Reviewed-on: http://review.typo3.org/33582
Reviewed-by: Cedric Ziel <cedric@cedric-ziel.com>
Tested-by: Cedric Ziel <cedric@cedric-ziel.com>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
(cherry picked from commit fc9666b257896a9fc59aab61b2c2ac8a196ef151)
Reviewed-on: http://review.typo3.org/33584
[BUGFIX] Fix suggest wizard for new CE in flexforms

When having a suggest wizard inside a flexform on a 
new content element edit form, we have the problem that
we can't load the wizard's config in the AJAX request due
to missing record information. We don't know what flexform
definition to load, as we don't know what ctype is requested.

Two possible solutions exist:
 - Generate the blank record again in the AJAX request, which
   means we have to copy lots of code from the DataPreProcessor.
   Moreover we would still need to pass the defVal GET parameter
   of the EditDocumentController to the AJAX request handler
   somehow, since we need that information in the DataPreProcessor
   to generate the correct dummy record.
 - Push the record to the AJAX request as serialized array

I chose the second implementation.

Change-Id: If7f8abe66554a3164bbfe98ad396fdf8448f5569
Resolves: #50549
Releases: master, 6.2, 6.1
Reviewed-on: http://review.typo3.org/33570
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
[BUGFIX] Let save and preview button behave as user initiated

Browsers started to distinguish how opening a new window
from JavaScript happens. They track "user initiated"
opening and not user initiated opening and behave differently.

A request to open a window by JavaScript which is not
user initiated is caught by a pop up blocker most of the time nowadays.
This means a user must explicitly allow the current page to
open new windows by JavaScript.

Additionally some browsers (e.g. Chrome) always open a new window
instead of a new tab if the request is not user initiated, regardless
of browser settings, which nowadays default to open a new tab.

The "save and preview" button currently initiates a page reload
which saves the document and add some JavaScript to to open a preview
window in the HTML response of this action.
This JavaScript action is then not considered to be user initiated any more
as opening the new window does not follow a direct user click action.

The result is, that if a preview window/tab was opened previously, then
the preview/window tab is just reloaded with the new preview URL.
If it is the first time the window/tab should be opened this request
is caught by the popup blocker.

Other preview buttons in the backend (from Click Menu or action toolbar)
behave differently (correctly) as they are always identified as user initiated.

For that reasons, change the "save and preview" button to directly
open a new window on click (without URL) and let the HTML/ JavaScript response
set the correct preview URL after that.

By doing so we gain a consistent behavior no matter what preview button a user
clicks first.
The only downside is, that in case the preview window is opened
the first time, it remains empty until the page is saved and then reloaded
through the JavaScript code that is already present.

Resolves: #62503
Releases: 6.2, master
Change-Id: I7a96c347453b1ccdeaf0d8d1bd5b080f905563ca
Reviewed-on: http://review.typo3.org/33590
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Remove wrong escaping of email sender

Remove a wrong escaping method from sysext form which causes email
problems.

Resolves: #60437
Releases: master, 6.2
Change-Id: I3a5447b55f4f0723637c04929de0412a4a3b67a7
Reviewed-on: http://review.typo3.org/33603
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Fix active page calculation in indexed_search

Because of introducing a strict comparion in #60346, the active page is
not highlighted anymore as a float and an int value are compared.

Change-Id: Id66c77e64fb4824f5b254240b1774f77adfa6ab9
Resolves: #62532
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33606
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>