[BUGFIX] IRRE records can't be expanded without an hidden field

If no hidden field in TCA for IRRE child records, this will
lead to JavaScript errors on expanding the accordant child
record in the TCEforms view.

This regression has been introduced in issue #34303

Change-Id: I9d0317381638d3674012e2d235e4a74dfb787c50
Fixes: #37615
Related: #34303
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12453
Tested-by: Peter Kraume
Tested-by: Steffen Ritter
Reviewed-by: Steffen Ritter
[BUGFIX] Add missing link to travis script

Change-Id: If48fac0913b9647f5ce1df73e7892e3838e51c36
Releases: 4.7
Resolves: #38567
Reviewed-on: http://review.typo3.org/12527
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7

Problem: When using IE9, the RTE does not work correctly when using
compatibility modes IE8 or IE7. In particular, the style sheets are not
parsed, because they are not loaded in the same order as with the
specified compatibility version.
Solution: Check whether compatibility mode is activated.

Change-Id: Ic9c6d03c2a114966755c2a8537a51867a86843db
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #38574
Reviewed-on: http://review.typo3.org/12536
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
Revert "[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7"

This reverts commit 92d9f35bc5b58add2148bcb3debc6b68f14dd376

Avoid reliance on order of stylesheets.

Change-Id: I2df4da14249e1a79cba8b772f3091401180706a1
Reviewed-on: http://review.typo3.org/12557
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7

Problem: When using IE9, the RTE does not work correctly when using
compatibility modes IE8 or IE7. In particular, the style sheets are not
parsed, because they are not loaded in the same order as with the
specified compatibility version.
Check whether compatibility mode is activated and avoid
reliance on order.

Change-Id: I4891a15bf610633a75373c8ff36122b4ddd053f4
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #38574
Reviewed-on: http://review.typo3.org/12558
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
[BUGFIX] RTE: Enable dialogue window resizing in IE

Problem: There was a bug in ExtJS 3.1 that produced a JavaScript
error when a window object was configured as resizable.
Solution: Apparently, this is fixed in ExtJS 3.4, at least in IE and
compatibility modes IE8/IE7.

Change-Id: Ife2dd3f639a36910e78917fbc0ffc6b87334846c
Releases: 4.7, 6.0
Resolves: #38617
Reviewed-on: http://review.typo3.org/12563
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
[BUGFIX] Remove t3ver_swapmode code blocks

The different ways of versioning (element, page, branch) have
been defined to element versioning some TYPO3 version ago. With
TYPO3 4.7, those settings, especially the handling of the field
t3ver_swapmode has been removed from t3lib_TCEmain.

Since the default value of t3ver_swapmode is not -1 anymore,
but 0 instead, this will lead to inconsistent side-effects.

The solution is to remove all occurrences.

Change-Id: I13053d38ce6f2c9c65335e3f648c303198d96d9c
Fixes: #38608
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/12551
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[TASK] Update version number to 4.7.2

Change-Id: Ie85a6d0b75f6ff145d26bb1758bcf26473d40353
Releases: 4.7
Reviewed-on: http://review.typo3.org/12578
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[TASK] Raise submodule pointer

Change-Id: I37efed8c1ea9b0a4eba6877fb81f6df3ccca1d2d
Reviewed-on: http://review.typo3.org/12587
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
[SECURITY] XSS in swfupload

There is a known XSS vulnerability in swfupload which isn't
fixed yet. Thanks to the Wordpress project for providing a
fix - we just borrowed that code.

Change-Id: Ibf8b23cdb198fca9f8452816dc11d829b911a567
Fixes: #38578
Releases: 6.0, 4.7, 4.6, 4.5
Security-Bulletin: TYPO3-CORE-SA-2012-003
Reviewed-on: http://review.typo3.org/12593
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[RELEASE] Release of TYPO3 4.7.2

Change-Id: I583475e9e200902008a9e07bc28fd71b866374ae
Reviewed-on: http://review.typo3.org/12599
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
[TASK] Set TYPO3 version to 4.7.3-dev

Change-Id: I98fe36c178fbddb79a60b3e3bf4c5c49a2fdb528
Reviewed-on: http://review.typo3.org/12600
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
[BUGFIX] RTE 4.7: Incorrect behaviours in IE9 native mode

Problem: In TYPO3 4.7, the RTE has some incorrect behaviours in IE9
when used in IE9 native mode. These are mainly related to:
1. the use of IE-specific properties or methods on standard
Range object;
2. the use of IE-specific styleFloat property rather than cssFloat.
Solution: Use standard properties/methods in those cases.

Change-Id: I171cec69c21a8fe391955151ae4dfd35231b26d1
Releases: 4.7
Resolves: #38657
Reviewed-on: http://review.typo3.org/12617
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
[BUGFIX] RTE spellcheck issue on Windows server

Problem: There is no command "cat" on windows systems. The equivalent
for these systems would be "type".
Solution: Use "type" when OS is Windows.

Change-Id: I18d2f8844f8795eb2a32084f50f05f4620468792
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #36438
Reviewed-on: http://review.typo3.org/12633
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
[BUGFIX] RTE: Importing google webfonts breaks style sheet parsing

Problem: The imported css file does not contain any css rule.
Solution: Check for the presence of css rules in the imported file.
Note: Thanks to Robert Volk.

Change-Id: I43c659a25f68216fc997a57b63993f4e231a58ce
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #36316
Reviewed-on: http://review.typo3.org/12683
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
[BUG] t3lib_div::getFilesInDir order differs from order in File list

Files with uppercase letters are sorted before all lowercase file
names due to a bug in getFilesInDir(). This behavior is seen in
the browse_links function, but not in the general file list module.
The fix does the sorting independently from the uppercase
characters.

Change-Id: Idfedab734d0a40795a52c117ae79d45052f174bd
Resolves: #18771
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/12687
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
[BUGFIX] accessibilityWrap ignores simple value

Radio buttons with accessibilityWrap must use simple value
if no complex configuration is supplied. An extra dot prevented
this.

Change-Id: Id2a6fe1ae47984134ad11be0223d609f276e28bc
Fixes: #38791
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/12729
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
[BUGFIX] Remove bogus template in template analyzer

Since the implementation of #22169 a bogus template icon
appeared in the template analyzer.
This is because the call to processTemplate was accidentally
moved outside the if construct which checks if there are
ext_typoscript_*.txt files for the extensions.

Change-Id: Ib3de6000df411ee4cb3bbd88f38514d5fcc6653e
Fixes: #38104
Releases: 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/12809
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] Send sane HTTP response in showpic on error

Currently, if showpic.php requests fail, exceptions are thrown. Those are
usually converted to a HTTP response 500 (internal server error) by the
production exception handler. Crawlers react on 500 by trying to index
the resource again later.

This is changed to now set specific response codes. If the paramters are
incorrect or broken, an 410 (Gone) will be sent, informing users and
crawlers that the resource is not available under this URL. Crawlers
like googleBot will then stop requesting the resource.

In case all parameters are ok, but the image itself is not found, a 404
will be sent to the client. Crawlers will try to index the resource
again only if there are still links pointing to the resource.

Change-Id: I606937fa9953b88be5edf940201e0153223ae0e6
Fixes: #39052
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12915
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] QT movies prefixed abusively in Media CE

If some prefixes are defined (either base URL or absRefPrefix),
the Media CE will apply such prefix to any Quicktime movie
even if said movie is referenced by an absolute URL.

Change-Id: I4900af3b8db4ebf08af79a8c7cb8790ef563f166
Fixes: #39026
Releases: 6.0,4.7,4.6,4.5
Reviewed-on: http://review.typo3.org/12927
Reviewed-by: Francois Suter
Tested-by: Francois Suter