Packages/TYPO3.CMS.git
7 years ago[BUG] t3lib_div::getFilesInDir order differs from order in File list
Benjamin Mack [Fri, 6 Jul 2012 08:58:54 +0000 (10:58 +0200)]
[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: Ie748bc96d80ea284bfb9a5519b2769bba7aa8749
Resolves: #18771
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/12659
Reviewed-by: Karsten Madsen
Tested-by: Karsten Madsen
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
7 years ago[FEATURE] Add jQuery API to the pagerenderer
Benjamin Mack [Thu, 5 Jul 2012 12:46:30 +0000 (14:46 +0200)]
[FEATURE] Add jQuery API to the pagerenderer

jQuery 1.8 (beta1 currently, final will be released in July 2012)
is now included in the typo3/contrib/ directory.
Additionally jQuery in a noConflict mode is available in the
TYPO3 Backend through "TYPO3.jQuery".
The page renderer also has methods to include jQuery versions
through CDNs and different versions.

It also add namespace support, so that multiple versions of jQuery
can be included in different namespaces. It is also possible
to disable the namespace completely and let jQuery register itself
globally which can be useful for frontend rendering.

Once the final 1.8 version is released, the minified version of jQuery
should be included as well. Currently we included two files both with
the uncompressed version of jQuery 1.8 beta1

The support for jQuery Plugins and for TypoScript inclusion will be
added in separate commits.

Change-Id: I659e50867a189fe4b7d5ac8313040dcecb58ee71
Resolves: #38709
Reviewed-on: http://review.typo3.org/12222
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
7 years ago[TASK] Exchange import/export icons in t3skin
Steffen Ritter [Fri, 6 Jul 2012 09:50:42 +0000 (11:50 +0200)]
[TASK] Exchange import/export icons in t3skin

For the UXW new icons for import/export have been created
by the Design Team. Integrate them finally after a long time.

Change-Id: I6a21f91207fe534ed562084d2c72aa04a6b2e286
Releases: 6.0
Resolves: #627
Reviewed-on: http://review.typo3.org/12663
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[TASK] Set default renderMode of newContentElements to 'tabs'
Soren Malling [Wed, 4 Jul 2012 07:18:07 +0000 (09:18 +0200)]
[TASK] Set default renderMode of newContentElements to 'tabs'

In order to make the selection of a content element as
smooth as possible, and avoid showing not needed content
types, default renderMode is set to tabs

Change-Id: I49cc0f11d9d1faed73aa963daeb5cdb9e2f28af6
Fixes: #38621
Releases: 6.0
Reviewed-on: http://review.typo3.org/12565
Reviewed-by: Susanne Moog
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
7 years ago[FEATURE] RTE: Keep HTML5 block tags when clean pasting text
Stanislas Rolland [Thu, 5 Jul 2012 15:20:23 +0000 (11:20 -0400)]
[FEATURE] RTE: Keep HTML5 block tags when clean pasting text

Description: When pasting while pasteStructure or pasteFormat behaviour
is enabled, the default behaviour should keep HTML5 block tags article,
aside, footer, header, nav and section. These defaults may be modified
in Page TSConfig with buttons.pastebehaviour.[behaviour].keepTags.

Change-Id: I448b7c5e3dd73eeb037aba805406f429bb93461a
Releases: 6.0
Resolves:#38683
Reviewed-on: http://review.typo3.org/12638
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] RTE spellcheck issue on Windows server
Stanislas Rolland [Thu, 5 Jul 2012 14:03:59 +0000 (10:03 -0400)]
[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: I114f9fe38ff0261fffee41a95926ff042e058371
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #36438
Reviewed-on: http://review.typo3.org/12632
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] Minor issues with scheduler progress bars
Ingo Renner [Thu, 5 Jul 2012 11:06:44 +0000 (13:06 +0200)]
[BUGFIX] Minor issues with scheduler progress bars

The progress bars introduced in the scheduler have two small issues:

 * an empty line between the progress bar and additional information
 * if progress is not far enough the percentage value breaks to a new
   line, becoming invisible to the user

Change-Id: I4fbd5d5318aa248826fab8918e931533a4c0a852
Fixes: #38673
Releases: 6.0
Reviewed-on: http://review.typo3.org/12625
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
7 years ago[FEATURE] RTE: Always use standards-based methods in IE9 native-mode
Stanislas Rolland [Thu, 5 Jul 2012 02:06:39 +0000 (22:06 -0400)]
[FEATURE] RTE: Always use standards-based methods in IE9 native-mode

Description: When IE9 is used in native IE9 mode, the RTE should
always use the standards-based methods supported by IE9.

Change-Id: I1a4b94706600c559e8468684441e6034089c16ba
Releases: 6.0
Resolves: #38656
Reviewed-on: http://review.typo3.org/12616
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[TASK] RTE: Remove deprecated code
Stanislas Rolland [Wed, 4 Jul 2012 15:24:18 +0000 (11:24 -0400)]
[TASK] RTE: Remove deprecated code

Remove code that was deprecated in TYPO3 4.6.

Change-Id: Iae9791b7713daf5af0a4d1574d07203950f616ad
Releases: 6.0
Resolves: #38650
Reviewed-on: http://review.typo3.org/12613
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[TASK] RTE: Remove PageTSConfig properties deprecated since TYPO3 4.6
Stanislas Rolland [Wed, 4 Jul 2012 04:48:44 +0000 (00:48 -0400)]
[TASK] RTE: Remove PageTSConfig properties deprecated since TYPO3 4.6

Remove PageTSConfig properties that were deprecated in TYPO3 4.6.

Change-Id: I22d3230134a85d36aa10ebe479cbcb156d4abb2e
Releases: 6.0
Resolves: #38618
Reviewed-on: http://review.typo3.org/12564
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[SECURITY] XSS in swfupload
Oliver Hader [Wed, 4 Jul 2012 08:30:40 +0000 (10:30 +0200)]
[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: Id4ca67f9cf57888a007ff6c9a2363830869eb8e6
Fixes: #38578
Releases: 6.0, 4.7, 4.6, 4.5
Security-Bulletin: TYPO3-CORE-SA-2012-003
Reviewed-on: http://review.typo3.org/12594
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[TASK] Raise submodule pointer
TYPO3 Release Team [Wed, 4 Jul 2012 08:56:59 +0000 (10:56 +0200)]
[TASK] Raise submodule pointer

Change-Id: I30875a714fa152bee5808c42831136cb6fe5c249
Reviewed-on: http://review.typo3.org/12588
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
7 years ago[BUGFIX] Fix UnitTests for t3lib_div::validPathStr
Andy Grunwald [Tue, 3 Jul 2012 21:29:43 +0000 (23:29 +0200)]
[BUGFIX] Fix UnitTests for t3lib_div::validPathStr

The change in #38604 introduced failing UnitTests
for t3lib_div::validPathStr, because we changed
the return value to real boolean.
The UnitTest was checked about a NULL value.
With the change in #38604, we return FALSE.

Change-Id: I8d7203564401f0add45fbdbaa7e0b371d57e5b7d
Fixes: #38613
Releases: 6.0
Reviewed-on: http://review.typo3.org/12561
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] Remove t3ver_swapmode code blocks
Oliver Hader [Tue, 3 Jul 2012 19:41:37 +0000 (21:41 +0200)]
[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: Ie729287cac07d6e5d3d88a23d1291f4d701b8ea4
Fixes: #38608
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/12553
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] IRRE records can't be expanded without an hidden field
Oliver Hader [Fri, 29 Jun 2012 16:41:41 +0000 (18:41 +0200)]
[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: If53182bf13a9d7d50479fe00561f3decbceb1fa2
Fixes: #37615
Related: #34303
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/11762
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] RTE: Enable dialogue window resizing in IE
Stanislas Rolland [Wed, 4 Jul 2012 02:06:48 +0000 (22:06 -0400)]
[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: Icdf93aa61c8b53f4a2a3d4c00db1969cedf2194e
Releases: 4.7, 6.0
Resolves: #38617
Reviewed-on: http://review.typo3.org/12562
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7
Stanislas Rolland [Tue, 3 Jul 2012 13:34:26 +0000 (09:34 -0400)]
[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 and avoid
reliance on order.

Change-Id: I7a1ecf4ad0a4343311ce5aea4edcb893c58750e4
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #38574
Reviewed-on: http://review.typo3.org/12560
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years agoRevert "[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7"
Stanislas Rolland [Tue, 3 Jul 2012 21:07:06 +0000 (23:07 +0200)]
Revert "[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7"

This reverts commit 5e4d5cfcc7843c3278b2f07ac9d394405910f52d

Avoid reliance on order of style sheets.

Change-Id: I68640bbc7e49a7643db2070e3a6a5c27056e9fab
Reviewed-on: http://review.typo3.org/12559
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[TASK] Always return a boolean in t3lib_div::validPathStr
Andy Grunwald [Tue, 3 Jul 2012 17:49:50 +0000 (19:49 +0200)]
[TASK] Always return a boolean in t3lib_div::validPathStr

In t3lib_div::validPathStr() a boolean (TRUE) is returned,
if this is a valid path string. If it is NOT a valid path string,
then nothing will be returned. In the doc comment,
there is a return type "boolean" mentioned.

Just return a boolean, if it is not a valid path string.

Change-Id: Ie1de33df3520cb0560d9f2c1a4bdd629bc897c6c
Fixes: #38604
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12549
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7
Stanislas Rolland [Tue, 3 Jul 2012 13:34:26 +0000 (09:34 -0400)]
[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: I817658ef9338fc4cc35e4997102bfd5fd545b49e
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #38574
Reviewed-on: http://review.typo3.org/12534
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[TASK] Fix CGL violations against ClassDocComment
Wouter Wolters [Mon, 2 Jul 2012 21:02:31 +0000 (23:02 +0200)]
[TASK] Fix CGL violations against ClassDocComment

Fix CGL violations against ClassDocComment

Change-Id: I450fa53e2efc43ff201029a1e5461865afa555d1
Resolves: #38573
Releases: 6.0
Reviewed-on: http://review.typo3.org/12530
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Use SYSLOG_SEVERITY_* constant using t3lib_div::sysLog
Christian Kuhn [Mon, 2 Jul 2012 19:00:33 +0000 (21:00 +0200)]
[BUGFIX] Use SYSLOG_SEVERITY_* constant using t3lib_div::sysLog

Use one of the defined SYSLOG_SEVERITY_* constants from t3lib_div
instead of an integer if calling t3lib_div::sysLog throughout the core.

Change-Id: I728d72dbe4966f34a0b291a53cdb41e1adc6062b
Fixes: #38571
Releases: 6.0
Reviewed-on: http://review.typo3.org/12526
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] FAL spams syslog
Christian Kuhn [Mon, 2 Jul 2012 18:27:20 +0000 (20:27 +0200)]
[BUGFIX] FAL spams syslog

Two calls to t3lib_div::syslog() in the FAL driver registry are
executed for every call. This spams the syslog with default logging
settings. The calls look like a leftover from development and
are removed.

Change-Id: I6a0131fc569c6e62926a91e78888d5d7aa7665ab
Resolves: #38566
Releases: 6.0
Reviewed-on: http://review.typo3.org/12521
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix CGL violations against SemicolonSpacing in JS files
Andy Grunwald [Mon, 2 Jul 2012 16:32:37 +0000 (18:32 +0200)]
[TASK] Fix CGL violations against SemicolonSpacing in JS files

There are some violations against the sniff
Squiz.WhiteSpace.SemicolonSpacing in some javascript files.
This patch fixed the violations.

Change-Id: Ibc835f1d1ba9fe0d5c272a737fe9cd45dec63a64
Fixes: #38564
Releases: 6.0
Reviewed-on: http://review.typo3.org/12518
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix CGL violations against CharacterAfterPHPClosingTag
Wouter Wolters [Mon, 2 Jul 2012 17:11:47 +0000 (19:11 +0200)]
[TASK] Fix CGL violations against CharacterAfterPHPClosingTag

Fix CGL violations against CharacterAfterPHPClosingTag

Change-Id: Ieeb78f73fcea6e6c06162114c16ebe3df1ef6b85
Resolves: #38565
Releases: 6.0
Reviewed-on: http://review.typo3.org/12520
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix CGL violations against InlineControlStructure
Wouter Wolters [Sun, 1 Jul 2012 14:36:21 +0000 (16:36 +0200)]
[TASK] Fix CGL violations against InlineControlStructure

Fix CGL violations against InlineControlStructure

Change-Id: I93af6623bc7eb1e372e51df61642dbfcf8d80a28
Resolves: #38517
Releases: 6.0
Reviewed-on: http://review.typo3.org/12499
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix CGL violations against SuperfluousWhitespace
Wouter Wolters [Sun, 1 Jul 2012 17:59:55 +0000 (19:59 +0200)]
[TASK] Fix CGL violations against SuperfluousWhitespace

Fix CGL violations against SuperfluousWhitespace

Change-Id: Ibc3d56d3385619f35765d31965688d1c892a4fc5
Resolves: #38525
Releases: 6.0
Reviewed-on: http://review.typo3.org/12506
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix CGL violations against SuperfluousWhitespace
Wouter Wolters [Sun, 1 Jul 2012 20:01:03 +0000 (22:01 +0200)]
[TASK] Fix CGL violations against SuperfluousWhitespace

Fix CGL violations against SuperfluousWhitespace

Change-Id: Iadf22a70963e88a0c592f225ac1855dc3feeae3c
Resolves: #38530
Releases: 6.0
Reviewed-on: http://review.typo3.org/12509
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix CGL violation against UnconditionalIfStatement
Andy Grunwald [Sun, 1 Jul 2012 21:02:53 +0000 (23:02 +0200)]
[TASK] Fix CGL violation against UnconditionalIfStatement

Fix CGL violation against Generic.CodeAnalysis.UnconditionalIfStatement

Change-Id: I7b502ede899ca2b7bf86894f26a8f9aa14374f83
Fixes: #38531
Releases: 6.0
Reviewed-on: http://review.typo3.org/12511
Reviewed-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Raise extbase submodule pointer
Christian Kuhn [Sun, 1 Jul 2012 19:47:48 +0000 (21:47 +0200)]
[TASK] Raise extbase submodule pointer

Change-Id: I08bb352f8aca0bf8ec573ec58057758e64031ffe
Reviewed-on: http://review.typo3.org/12508
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix very last 2 CGL violations "SemicolonSpacingIncorrect"
Roland Waldner [Sun, 1 Jul 2012 16:11:15 +0000 (18:11 +0200)]
[TASK] Fix very last 2 CGL violations "SemicolonSpacingIncorrect"

Change-Id: Icc9f3f7262c8f0cdc8e6ebd5b401f00dda9fd86a
Resolves: #38524
Releases: 6.0
Reviewed-on: http://review.typo3.org/12505
Reviewed-by: Wouter Wolters
Tested-by: Susanne Moog
Reviewed-by: Susanne Moog
7 years ago[TASK] Fix CGL violations against InlineControlStructure
Wouter Wolters [Sun, 1 Jul 2012 15:00:40 +0000 (17:00 +0200)]
[TASK] Fix CGL violations against InlineControlStructure

Fix CGL violations against InlineControlStructure

Change-Id: Ibc6ce83f69e45f5ae495d5acd69ac821ce5c10ab
Resolves: #38519
Releases: 6.0
Reviewed-on: http://review.typo3.org/12500
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Fix CGL violations against InlineControlStructure
Wouter Wolters [Sun, 1 Jul 2012 13:22:18 +0000 (15:22 +0200)]
[TASK] Fix CGL violations against InlineControlStructure

Fix CGL violations against InlineControlStructure

Change-Id: Id745bfbb69f696045040c2ff635ed982e9d2d933
Resolves: #38514
Releases: 6.0
Reviewed-on: http://review.typo3.org/12497
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Build more PHP modules in travis environment
Helmut Hummel [Sun, 1 Jul 2012 13:30:16 +0000 (15:30 +0200)]
[TASK] Build more PHP modules in travis environment

In order to execute certain unit tests special requirements
of the environment must be met. In particular several
additional PHP modules need to be installed.

Instead of hiding what is added to the environment,
use a helper script to not clutter the travis
configuration file, but at the same time make it
transparent there which PHP modules are built.

Change-Id: I7111cbd0f3d1d32d68df6eaf8c4b6176bfe82eff
Resolves: #38507
Releases: 6.0
Reviewed-on: http://review.typo3.org/12498
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[TASK] Autoloader performance improvement
Christian Kuhn [Sun, 1 Jul 2012 10:59:18 +0000 (12:59 +0200)]
[TASK] Autoloader performance improvement

If the autoload registry is read from cache, all class names are
already lowercased. The patch calls the lowercase logic only if
the registry files are not read from cache. The unit tests show
that nothing breaks with this patch.

Cachegrind shows ~22% of rendering time is spend in
loadCoreAndExtensionRegistry() on a fully cached page,
this is reduced to ~2% with the patch.

Change-Id: I07dc95b29bf05970061b5fb2f9a5d8a5ba194960
Resolves: #38498
Releases: 6.0
Reviewed-on: http://review.typo3.org/12494
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[FEATURE] Create interface and enable custom form_postProcessors
Franz Geiger [Mon, 13 Feb 2012 15:19:37 +0000 (16:19 +0100)]
[FEATURE] Create interface and enable custom form_postProcessors

PostProcessors now need to implement the
tx_form_System_Postprocessor_Interface.
All classes implementing this interface can be loaded as a
postProcessor by passing its class-name by typoscript.

Before loading the class in the namespace 'tx_form_System_Postprocessor_'
tx_form_System_Postprocessor first tries to load the class passed by
typoscript directly.

Change-Id: I3bea8ce8287a6713f483d7e019cb5f47cdc68cb8
Resolves: #32701
Releases: 6.0
Reviewed-on: http://review.typo3.org/9006
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Add support for PHP 5.4 in Travis-CI build file
Andy Grunwald [Sat, 30 Jun 2012 23:22:19 +0000 (01:22 +0200)]
[TASK] Add support for PHP 5.4 in Travis-CI build file

At the moment, the Travis-CI build file only supports PHP 5.3.
I`ve tested to run the same UnitTests for PHP 5.4 and it
works quite well:

http://travis-ci.org/#!/andygrunwald/TYPO3v4-Core/builds/1746689

Change-Id: I47559493900f56d038243bf13ab116455b4f49bb
Fixes: #38508
Releases: 6.0
Reviewed-on: http://review.typo3.org/12486
Reviewed-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Assign category 'Backend' to EXT:t3skin
Felix Kopp [Sun, 1 Jul 2012 09:36:07 +0000 (11:36 +0200)]
[TASK] Assign category 'Backend' to EXT:t3skin

Extensions are sorted by categories.
EXT: t3skin does not have a default category.

Change-Id: I525c0d22a32441d63c5b8561a009ecf43bd58d56
Fixes: #38510
Releases: 6.0
Reviewed-on: http://review.typo3.org/12487
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Remove a rather dubious unit test for Redis cache backend
Christian Kuhn [Sun, 1 Jul 2012 09:40:53 +0000 (11:40 +0200)]
[BUGFIX] Remove a rather dubious unit test for Redis cache backend

The password test is not very useful and fails with younger redis
versions. It was already removed in TYPO3.FLOW3 with commit
e06bd9bb0a3e602a6b067d91b94e88cd78d96135

Change-Id: Iae7372c54c3c8befd08cbdccfb578f6986e1d588
Resolves: #38511
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12488
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Change travis configuration to build PHP modules
Helmut Hummel [Sat, 30 Jun 2012 20:37:34 +0000 (22:37 +0200)]
[TASK] Change travis configuration to build PHP modules

Many of the unit tests are skipped because dependencies
to certain PHP modules are not matched.

Add a script that sets up certain dependencies like
igbinary or memcached to lower the number of skipped tests.

Change-Id: I432809066f65ea5c1be33c478cecae49057b2a36
Releases: 6.0
Reviewed-on: http://review.typo3.org/12485
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] Fix unit tests for changed identifier
Helmut Hummel [Sat, 30 Jun 2012 18:40:53 +0000 (20:40 +0200)]
[BUGFIX] Fix unit tests for changed identifier

Because of the identifiers being changed in the last
commit, the unit tests failed.

Adjust the tests according to the change.

Change-Id: I62a168ffc5fe63fffc205ff551a7f954c197bc5c
Resolves: #38507
Releases: 6.0
Reviewed-on: http://review.typo3.org/12484
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[TASK] Fix wrong cObject name in comment (CLEAR_REGISTER)
Sebastian Michaelsen [Tue, 6 Mar 2012 13:30:26 +0000 (14:30 +0100)]
[TASK] Fix wrong cObject name in comment (CLEAR_REGISTER)

In the comment describing $this->registerStack (of tslib_fe) there's a
reference to CLEAR_REGISTER, which doesn't exist. Correct that to
RESTORE_REGISTER.
I searched the core and didn't find other occurrences of CLEAR_REGISTER.

Change-Id: I26c429d9f9cb16e6957425bfd85cc17f3e75a9de
Fixes: #34559
Releases: 6.0
Reviewed-on: http://review.typo3.org/9419
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Add prefix to code cache identifier
Helmut Hummel [Sat, 30 Jun 2012 17:55:14 +0000 (19:55 +0200)]
[TASK] Add prefix to code cache identifier

Currently all identifier for php code caches are only a sha1 hash,
so it is not possible to distinguish them in the filesystem.

Add some speaking prefix to the identifier.

Change-Id: I12971d524489b2d31b07440867d6afbaef42d62c
Resolves: #38507
Releases: 6.0
Reviewed-on: http://review.typo3.org/12483
Reviewed-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] Page tree unit test fails if pages don't exist
Susanne Moog [Sat, 30 Jun 2012 14:54:11 +0000 (16:54 +0200)]
[BUGFIX] Page tree unit test fails if pages don't exist

The unit test getNodesSetsIsMountPointField fails if
the pages with uid 1, 2, 3 are not available.

Instead of relying on user dependent data, we should mock
it. The patch introduces a wrapper method for getRecordWSOL
to be able to mock that method and changes the test to do
that.

Change-Id: I36ec23a47bd39821595e787fba1cb8b77e2c3b0c
Fixes: #38503
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/12478
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Icon for save action in scheduler should be save-close
Philipp Gampe [Sat, 30 Jun 2012 14:54:30 +0000 (16:54 +0200)]
[BUGFIX] Icon for save action in scheduler should be save-close

When creating or editing a task in scheduler, the icon for the save
action must be save and close, because the task is closed after clicking
the icon.

Change-Id: Ic7abd84524c1a02417694707e2fb1fa12a4bec1d
Fixes: #36344
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/12479
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Enable TCEFORM.table.field.config.readOnly = 1
Dimitri Koenig [Tue, 8 May 2012 09:13:55 +0000 (11:13 +0200)]
[FEATURE] Enable TCEFORM.table.field.config.readOnly = 1

In t3lib_tceforms::t3lib_TCEforms() you have a whitelist
definition that allows tca field configuration
to be overridden by TSconfig => allowOverrideMatrix

To enable readOnly for certain fields this whitelist
must be extended by this option.

Change-Id: Ibda9cbb196961b9ef40d6016e6e66ceba495b5c9
Fixes: #36945
Releases: 6.0
Reviewed-on: http://review.typo3.org/11072
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Add update-wizard for Media Flexform
Steffen Ritter [Wed, 11 Apr 2012 21:46:40 +0000 (23:46 +0200)]
[TASK] Add update-wizard for Media Flexform

While adding the new media stuff the flexform has been altered.
Therefore a update wizard needs to be provided to not lose the
old media elements.

Change-Id: I60943b2f9eee84d768bce8b5a5f38b6f83c027f3
Resolves: #35879
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10308
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Fix unit test failure if gif compress is disabled
Susanne Moog [Sat, 30 Jun 2012 13:45:00 +0000 (15:45 +0200)]
[BUGFIX]  Fix unit test failure if gif compress is disabled

If gif_compress is disabled in the install tool, the
test gifCompressFixesPermissionOfConvertedFileIfUsingGd
fails, as the method it tests only does things if
gif_compress is enabled.

Change-Id: I91603452e43188cd38afeb3ca8b38e2913848e66
Fixes: #38501
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12473
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Raise user authentication log severity
Arjen Hoekema [Wed, 23 May 2012 08:09:58 +0000 (10:09 +0200)]
[FEATURE] Raise user authentication log severity

Raise the syslog severity for user authentication failures from 0
(info) to 2 (warning). Log scanners like 'fail2ban' can be used to
detect login errors without setting the syslog severity level to 'info'.

Change-Id: Id08f71ef281631326c4b4a75a62088876604c82d
Resolves: #36979
Releases: 6.0
Reviewed-on: http://review.typo3.org/11517
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] VariableFrontend initializeObject not called
Daniel Pötzinger [Thu, 12 Apr 2012 17:59:38 +0000 (19:59 +0200)]
[BUGFIX] VariableFrontend initializeObject not called

The method is protected and is not called in the container then

Change-Id: I03ab47aa1030e782d14304d9371fc62b9c5aed18
Fixes: #35915
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10356
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] BE login needs a CSS class for popup login
Georg Ringer [Fri, 29 Jun 2012 06:03:57 +0000 (08:03 +0200)]
[FEATURE] BE login needs a CSS class for popup login

If the popup window with the login information is rendered,
an additional class can help to style the output a bit better

Change-Id: I606760e46f2af457aae025014002030d16a12763
Resolves: #38471
Releases: 6.0
Reviewed-on: http://review.typo3.org/12433
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Make saltedpasswords conversion task options configurable
Philipp Gampe [Tue, 21 Feb 2012 23:32:29 +0000 (00:32 +0100)]
[FEATURE] Make saltedpasswords conversion task options configurable

The saltedpassword password conversion task for the schedular features
two configuration option:
 * canDeactivateSelf to disable the task after all records are processed
 * numberOfRecords to define how many records should be processed at
   once
Make those two options configurable via the schedular task edit
interface.

Change-Id: I9b090fa534b14c0051cda51fa3faf4e610b3948d
Resolves: #33703
Releases: 6.0
Reviewed-on: http://review.typo3.org/9139
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Remove class of td if "No CSS styles for this table" is set
Juergen Furrer [Tue, 5 Jun 2012 18:05:14 +0000 (20:05 +0200)]
[BUGFIX] Remove class of td if "No CSS styles for this table" is set

Change-Id: I75f1a27b4ef1a94831d6d80f8d0d8d649fc8d1ca
Fixes: #37618
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/11840
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Redesign of sys_note
Georg Ringer [Tue, 5 Jun 2012 04:18:19 +0000 (06:18 +0200)]
[FEATURE] Redesign of sys_note

Complete redesign of the sys_notes

Resolves: #26796
Releases: 6.0
Change-Id: I7b8748c7142a1ab6615edb4567aa748d21c54a84
Reviewed-on: http://review.typo3.org/11789
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Markers (%s) are not replaced in TCEmain error messages
Bart Dubelaar [Fri, 20 Apr 2012 19:17:57 +0000 (21:17 +0200)]
[BUGFIX] Markers (%s) are not replaced in TCEmain error messages

Change-Id: I33d8840390deba3e8a2ac5a188fd6fb089b91b5f
Fixes: #36290
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10660
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Fatal error in configuration ($BE_USER->uc)
Susanne Moog [Wed, 25 Jan 2012 19:23:29 +0000 (20:23 +0100)]
[BUGFIX] Fatal error in configuration ($BE_USER->uc)

This happens because an object is handed over as
$arr[$key].
In this case convert $arr[$key] to a real array.

Change-Id: I128de2da656a3d4782bcb9b8b2a9519aade6ce9f
Fixes: #33444
Releases: 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/8693
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix CGL violations against InlineControlStructure
Wouter Wolters [Fri, 29 Jun 2012 20:16:27 +0000 (22:16 +0200)]
[TASK] Fix CGL violations against InlineControlStructure

Fix CGL violations against InlineControlStructure

Change-Id: I2935a11c27c22070e9a3f08306c2cf69e3c83dd5
Resolves: #38494
Releases: 6.0
Reviewed-on: http://review.typo3.org/12456
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix CGL violations against InlineControlStructure
Wouter Wolters [Fri, 29 Jun 2012 19:01:26 +0000 (21:01 +0200)]
[TASK] Fix CGL violations against InlineControlStructure

Fix CGL violations against InlineControlStructure

Change-Id: I296c5f8cc847c4d7d80ab64703834902d65aa8e2
Resolves: #38492
Releases: 6.0
Reviewed-on: http://review.typo3.org/12454
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix CGL violations against InlineControlStructure
Wouter Wolters [Fri, 29 Jun 2012 19:24:57 +0000 (21:24 +0200)]
[TASK] Fix CGL violations against InlineControlStructure

Fix CGL violations against InlineControlStructure

Change-Id: I4fcde4f6d0b5d0252154f254799b9cef8fedc775
Resolves: #38493
Releases: 6.0
Reviewed-on: http://review.typo3.org/12455
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] TSFE->additionalFooterData for USER_INT
Oliver Hader [Thu, 7 Jun 2012 09:13:24 +0000 (11:13 +0200)]
[BUGFIX] TSFE->additionalFooterData for USER_INT

TSFE->additionalFooterData was introduced with TYPO3 4.3, but
only for the purpose of t3lib_PageRenderer. The definition of
this property is e.g. missing at all in tslib_fe and besides
that, the handling for USER_INT/COA_INT objects is not there
at all.

Change-Id: I86372e332503d6907e5ff2d28c893bfd127bdcdc
Fixes: #29254
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/11859
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[TASK] Add missing sql_free_result in t3lib classes
Wouter Wolters [Tue, 1 May 2012 19:14:30 +0000 (21:14 +0200)]
[TASK] Add missing sql_free_result in t3lib classes

Add missing calls to sql_free_result in t3lib classes.

Change-Id: Iac695e8e9644b068771947e03deef1062e0dd822
Resolves: #36762
Releases: 6.0
Reviewed-on: http://review.typo3.org/10920
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Take versioned record into account for showHidden flag.
Bart Dubelaar [Fri, 27 Jan 2012 12:02:49 +0000 (13:02 +0100)]
[BUGFIX] Take versioned record into account for showHidden flag.

The flag showHiddenPage is set if the requested uid is a hidden page.
The original code always looked at the original uid and not to version
in the active workspace. This is fixed.

Change-Id: I6b1be8e459d499578ca30e13d1cc50e9b2ace415
Fixes: #33392
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/8720
Reviewed-by: Stefan Neufeind
Reviewed-by: Bart Dubelaar
Tested-by: Bart Dubelaar
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Adding Multiple Images fails
Steffen Ritter [Tue, 26 Jun 2012 05:21:48 +0000 (07:21 +0200)]
[BUGFIX] Adding Multiple Images fails

Adding multiple images using the "import elements" link within
the record picker fails, since it calls a request to collapse
all already existing images of the element, without handing the
needed parameters.

As the needed parameters are not available at this point, just ommit
the request to close collapse the IRRE entries.

Change-Id: Ibc870cdcac32b4f5867ae12ca1020a20a5905310
Releases: 6.0
Resolves: #38383
Reviewed-on: http://review.typo3.org/12367
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[!!!][TASK] Move temp_CACHED_* files to caching framework
Christian Kuhn [Sun, 24 Jun 2012 17:09:00 +0000 (19:09 +0200)]
[!!!][TASK] Move temp_CACHED_* files to caching framework

After the basic bootstrap refactoring that moved the loading of
ext_tables.php and ext_localconf.php to class context, it is now easily
possible to put the former temp_CACHED_* files to the caching framework
as cached PHP code, next to the autoloader registry cache entry.

This patch introduces a new API to t3lib_extMgm to handle the
loading of ext_localconf, ext_tables and the global TYPO3_LOADED_EXT
array and removes the current handling that was cluttered throughout
the core.

The setting of TYPO3_CONF_VARS['SYS']['extCache'] is now deprecated and
unused. The bootstrap now decides based on its context, whether caching
of those files is used. This way we can for example run the install tool
in a fully uncached environment and can get rid of the nasty side effects
we had in this area in the past.

With a simple call to t3lib_extMgm::removeCacheFiles() all cache entries
in PHP code cache that are tagged with 'core' can be removed at once.
This currently affects the autoloader registry, the TYPO3_LOADED_EXT
entry, and the concatenated ext_localconf and ext_tables files.

The patch furthermore gets rid of the _CACHEFILE array key in
$GLOBALS['TYPO3_LOADED_EXT'] that worked as a kind of API to the calling
method to indicate if a concatenated ext_tables and ext_localconf file
is available.

Change-Id: Id00be5f24ec1698ed9126e61b229a718d6ca6741
Resolves: #38414
Releases: 6.0
Reviewed-on: http://review.typo3.org/12383
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Drag&Drop inside the root page of the pagetree isn't possible
Stefan Galinski [Thu, 28 Jun 2012 08:25:05 +0000 (10:25 +0200)]
[BUGFIX] Drag&Drop inside the root page of the pagetree isn't possible

In case there is no page (except the root page) within TYPO3, you can't
use the drag and drop functionality in the page tree to create the first
page.

Change-Id: I4f4aed78916f1ab0ebf9bbc1baad2b2743e9d1b2
Fixes: #24626
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10428
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[TASK] Remove tslib/media, cglify statictemplates/media
Susanne Moog [Wed, 27 Jun 2012 21:06:38 +0000 (23:06 +0200)]
[TASK] Remove tslib/media, cglify statictemplates/media

The media folder in the TYPO3 core is duplicated: It resides once
in tslib/media and once in statictemplates/media. It is only used
in statictemplates.

This patch moves the already "cglfixed" files from tslib/media to
statictemplates and removes the superfluous media folder.

Change-Id: I4c740849fd0d147590cf28efd6ae0680fc66b779
Resolves: #28024
Releases: 6.0
Reviewed-on: http://review.typo3.org/12334
Reviewed-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Markus Klein
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[BUGFIX] Declaration of tx_rtehtmlarea_base::drawRTE() not compatible
Stanislas Rolland [Thu, 28 Jun 2012 19:49:14 +0000 (15:49 -0400)]
[BUGFIX] Declaration of tx_rtehtmlarea_base::drawRTE() not compatible

Solution: First parameter should be defined as reference so as to be
compatible with the definition of t3lib_rteapi::drawRTE().

Change-Id: I11a24893f9fb1020fb194c7d2cff2731f7ce52f0
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #37541
Reviewed-on: http://review.typo3.org/12426
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[TASK] Fix CGL violations against DoubleQuoteUsage
Wouter Wolters [Sun, 24 Jun 2012 20:08:39 +0000 (22:08 +0200)]
[TASK] Fix CGL violations against DoubleQuoteUsage

Fix CGL violations against DoubleQuoteUsage

Change-Id: I6e97a8f02130b246c4eeaa9493722a53974c0a21
Resolves: #38358
Releases: 6.0
Reviewed-on: http://review.typo3.org/12338
Reviewed-by: Oliver Klee
Reviewed-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove internal sys_history cleanup feature
Stefan Galinski [Wed, 27 Jun 2012 14:12:56 +0000 (16:12 +0200)]
[TASK] Remove internal sys_history cleanup feature

The internal cleanup feature for the table sys_history
kept the entries only for 30 days by default. This behaviour
can lead to lost information if the history is needed and
the feature wasn't known and changed.

As a replacement, the users can use the table garbage
collection scheduler task that exists for some time now.

Change-Id: Iede559e0ece282c16a54e6659c26737c8bf86d90
Resolves: #38436
Releases: 6.0
Reviewed-on: http://review.typo3.org/12404
Reviewed-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[BUGFIX] RTE link insertion issues with IE9
Stanislas Rolland [Thu, 28 Jun 2012 18:28:09 +0000 (14:28 -0400)]
[BUGFIX] RTE link insertion issues with IE9

Problem: inRange method not supported by standard range object used
with IE9.
Solution: Use standards-based method with IE9

Note: Thanks to Johannes Pfeiffer

Change-Id: Iccf230e6103e72953e49eb1a4dde967f3e65a5b7
Releases: 4.7, 6.0
Resolve: #38300
Reviewed-on: http://review.typo3.org/12422
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[FEATURE] Improve the info popup
Stefan Galinski [Thu, 28 Jun 2012 16:15:08 +0000 (18:15 +0200)]
[FEATURE] Improve the info popup

The change improves the general spacing and CGL of the code,
removes some unused variables, tailores some very long lines
for better readability, adds the creation date, creation user
and last modified timestamp of the record and adds some general
actions to the references which improve the usability of the
feature a lot.

Change-Id: Iad2ec3ca01707a1486e2785115e3c5c25f6e1c57
Resolves: #38469
Releases: 6.0
Reviewed-on: http://review.typo3.org/12420
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Edit on click in list module by default
Stefan Galinski [Thu, 28 Jun 2012 11:17:27 +0000 (13:17 +0200)]
[FEATURE] Edit on click in list module by default

Change-Id: I8474d3400245e47c817ca1a2c63116a410d03747
Resolves: #38453
Releases: 6.0
Reviewed-on: http://review.typo3.org/12419
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[TASK] Usability: Replace "Sitemap" with "Special Menus"
Mario Rimann [Fri, 18 Nov 2011 21:47:41 +0000 (22:47 +0100)]
[TASK] Usability: Replace "Sitemap" with "Special Menus"

Changes the labels to be a bit more general since this CType can
be used for more than just sitemaps. Also changes the default
menu type.

Change-Id: Ibed4a9aa6d67059c9f8d6a517248ae33ed2a301b
Resolves: #17969
Release: 6.0
Reviewed-on: http://review.typo3.org/6743
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Set TYPO3 version to 6.0-dev
TYPO3 Release Team [Wed, 27 Jun 2012 16:07:04 +0000 (18:07 +0200)]
[TASK] Set TYPO3 version to 6.0-dev

Change-Id: I26ba2f65f6b55c03adf3fa77cc9c12e3cf8132b0
Reviewed-on: http://review.typo3.org/12413
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
7 years ago[RELEASE] Release of TYPO3 6.0.0alpha2
TYPO3 Release Team [Wed, 27 Jun 2012 16:06:54 +0000 (18:06 +0200)]
[RELEASE] Release of TYPO3 6.0.0alpha2

Change-Id: I91407bb8bd36d96ce19935eaa3c314dfda7ad09a
Reviewed-on: http://review.typo3.org/12412
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
7 years ago[TASK] Raise submodule pointer
TYPO3 Release Team [Wed, 27 Jun 2012 15:48:18 +0000 (17:48 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ic305bb1a44273833f53df88330b8f6ec3cf5f0da
Reviewed-on: http://review.typo3.org/12408
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
7 years ago[BUGFIX] Bootstrap_BaseSetup::getPathThisScript is not static
Georg Ringer [Wed, 27 Jun 2012 12:10:55 +0000 (14:10 +0200)]
[BUGFIX] Bootstrap_BaseSetup::getPathThisScript is not static

The method Typo3_Bootstrap_BaseSetup::getPathThisScript()
should be static but isn't

Change-Id: I96ce32ba5980f5a3612685bfe51c028eb23e2699
Resolves: #38428
Releases: 6.0
Reviewed-on: http://review.typo3.org/12394
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Add travis configuration file
Helmut Hummel [Sun, 24 Jun 2012 20:16:24 +0000 (22:16 +0200)]
[TASK] Add travis configuration file

For details read the ticket description.

Change-Id: Ibc22c62e7bb490e1871db92bbc09cd7e56581fa3
Resolves: #38357
Releases: 6.0
Reviewed-on: http://review.typo3.org/12339
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] Backup global vars in DriverRegistryTest
Helmut Hummel [Sun, 24 Jun 2012 15:37:51 +0000 (17:37 +0200)]
[BUGFIX] Backup global vars in DriverRegistryTest

The DriverRegistryTest pollutes the global variable space,
which leads to failures in other tests if they are executed
after this test.

Backup and restore the global variables for this test.

Change-Id: I1abacbb8a49a771c64356215749c96ae02700cc2
Resolves: #38350
Releases: 6.0
Reviewed-on: http://review.typo3.org/12333
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] Use the TestFinder to determine fixture path
Helmut Hummel [Sun, 24 Jun 2012 12:06:36 +0000 (14:06 +0200)]
[BUGFIX] Use the TestFinder to determine fixture path

Two tests still use a hardcoded path to the fixture files.
This fails if no typo3_src folder is present which is not
the case in some TYPO3 installations.

For this change it is necessary to also allow tests/ as prefix
for language files.

Change-Id: I89de174c8a80ea162ec3b0c3eef4817e7c8be475
Releases: 6.0
Resolves: #38349
Reviewed-on: http://review.typo3.org/12332
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[TASK] Encapsulate bootstrap base code
Christian Kuhn [Sat, 23 Jun 2012 23:25:48 +0000 (01:25 +0200)]
[TASK] Encapsulate bootstrap base code

This patch merges all bootstrap code that is independent from the local
instance and configuration into one class. A wrapper method in
Typo3_Bootsrap is introduced to call the only public method of this
class. This reduces the number of public bootstrap methods and
creates a clear definition what code must be run until instance
specific configuration comes into the game.

Some code fragments like the time initialization is now done more early
in bootstrap, the according methods are merged in the class.

The basic error_reporting setup is moved to the very end of the class,
which forced some called t3lib_div methods to be notice free.

All code that can be easily tested in this class now has unit tests.

Change-Id: I90d48f8f4ff4a59b5507becb6102c90b39d9eebd
Resolves: #38344
Releases: 6.0
Reviewed-on: http://review.typo3.org/12319
Reviewed-by: Steffen Ritter
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] CamelCased class names impossible with empty cache
Christian Kuhn [Sat, 23 Jun 2012 18:20:07 +0000 (20:20 +0200)]
[BUGFIX] CamelCased class names impossible with empty cache

Issue #37110 that aimed to allow case sensitive class name in
ext_autoload files has a bug that any class registered with CamelCased
class name is only found if the autoload entries are read from cache.

The patch now creates a lower cased entry as soon as the core_autoload
and ext_autoload files are read. There is an additional test that fails
if the changes in the autoload class are not applied. The naming of the
existing camelCase test was adapted to show that it is handling the
answer of an successful cache fetch only.

Additionally the current strtolower is changed to t3lib_div::strtolower
to make the whole thing multibyte safe.

Change-Id: I94f7ca5b3e60234f08433c747c00639d8dd219cd
Fixes: #38331
Related: #37110
Releases: 6.0
Reviewed-on: http://review.typo3.org/12310
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] CGL cleanup for the new module menu classes
Susanne Moog [Sun, 24 Jun 2012 14:02:08 +0000 (16:02 +0200)]
[TASK] CGL cleanup for the new module menu classes

The new module menu classes have some CGL issues left.

Patch fixes missing comments and some wrong object
annotations.

Change-Id: I7b8e810fe732977e9efbd56075683601658971f4
Resolves: #38347
Releases: 6.0
Reviewed-on: http://review.typo3.org/12329
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Wrong margin calculation for Text/Image
derhansen [Fri, 4 May 2012 09:55:16 +0000 (11:55 +0200)]
[BUGFIX] Wrong margin calculation for Text/Image

This patch fixes a wrong calculation of margins for Text/Image
items with the properties "Beside text, left" and "Beside
text, right".

Change-Id: Ie484685aa2839123c42338862c241403614e7f7a
Fixes: #36541
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10995
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Raise submodule pointer
Christian Kuhn [Sun, 24 Jun 2012 13:15:47 +0000 (15:15 +0200)]
[TASK] Raise submodule pointer

Change-Id: I9e1a9af81ec767475911c48772ae60e754c29384
Reviewed-on: http://review.typo3.org/12327
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Add module menu object to the TYPO3 backend
Susanne Moog [Sun, 17 Jun 2012 12:14:00 +0000 (14:14 +0200)]
[FEATURE] Add module menu object to the TYPO3 backend

The backend at the moment uses a combination of the
GLOBAL variables TBE_MODULES and TBE_MODULES_EXT to
build the main menus of the backend (the module menu
on the left and the submodule menus of the backend
modules - look at info for an example).

To be able to easily change the representation of
these menus and to offer a clean API for rendering
menus the menu is refactored into an object structure
with n levels. This patch migrates the old GLOBALS
to a 3 level menu object. This means that you can use
the module menu object in your backend modules to
render your submenu.

This patch just adds the object structure and
transformation. It does not change any handling of
menus in the core itself. These changes can be done
piece by piece after this patch.

Change-Id: I1f7f9f5fcf83274840acef6cbeb267ea4ca460c3
Resolves: #38138
Releases: 6.0
Reviewed-on: http://review.typo3.org/12146
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove empty init() method from EXT:tsconfig_help
Andy Grunwald [Sat, 23 Jun 2012 20:02:44 +0000 (22:02 +0200)]
[TASK] Remove empty init() method from EXT:tsconfig_help

In EXT:tsconfig_help the method init() just call his parent.

This is not needed, because parent method are always called,
even if an extending class does not specify this explicitly.

Change-Id: I69d7aa47af7f6d90b8c3fb78c2f00d088e8a0597
Fixes: #38336
Releases: 6.0
Reviewed-on: http://review.typo3.org/12315
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove empty constructors in EXT:form
Andy Grunwald [Sat, 23 Jun 2012 19:54:59 +0000 (21:54 +0200)]
[TASK] Remove empty constructors in EXT:form

An empty constructor just calling parent is not needed, because parent
constructors are always called automatically.

Change-Id: I89384aa584048108fab444e3ee0d50e661c7d014
Fixes: #38335
Releases: 6.0
Reviewed-on: http://review.typo3.org/12314
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove empty method from t3lib_file_Repository_FileCollectionRepo
Andy Grunwald [Sat, 23 Jun 2012 18:42:26 +0000 (20:42 +0200)]
[TASK] Remove empty method from t3lib_file_Repository_FileCollectionRepo

In t3lib_file_Repository_FileCollectionRepository the method findByType
just call his parent.

Change-Id: Ia82ec630fdb8a54d77b413b98423c81f23a76941
Fixes: #38332
Releases: 6.0
Reviewed-on: http://review.typo3.org/12311
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove empty constructor from t3lib_spritemanager_SimpleHandler
Andy Grunwald [Sat, 23 Jun 2012 18:54:23 +0000 (20:54 +0200)]
[TASK] Remove empty constructor from t3lib_spritemanager_SimpleHandler

An empty constructor just calling parent is not needed, because parent
constructors are always called automatically.

Change-Id: I86818458540dd85709619f0d0ab21efa266e079b
Fixes: #38333
Releases: 6.0
Reviewed-on: http://review.typo3.org/12312
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove empty constructor from localRecordList
Andy Grunwald [Sat, 23 Jun 2012 19:22:27 +0000 (21:22 +0200)]
[TASK] Remove empty constructor from localRecordList

__construct() in localRecordList just calls parent.

This is not needed, because parent constructors are always
called, even if an extending class does not specify this
explicitly.

Change-Id: I505169347964744bcd5a7f7deb2d89f696d02634
Fixes: #38334
Releases: 6.0
Reviewed-on: http://review.typo3.org/12313
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Cache negative ux_* look up in autoloader
Christian Kuhn [Mon, 11 Jun 2012 19:16:21 +0000 (21:16 +0200)]
[FEATURE] Cache negative ux_* look up in autoloader

For every class instance that is requested via
t3lib_div::makeInstance(), a lookup for ux_"classname" is done
and that class is instantiated if it exists, instead of the original
class. If no ux_ class is found with class_exists(), the requested class
is instantiated. This is the basic "XCLASS" handling in the core.

The patch adds autoloader rows for unsuccessful (NULL) ux_* lookups to the
autoloader cache file. The file is updated during shutdown. This way the
information a XCLASS does NOT exist is cached between consecutive calls.
This leads to a performance improvement and is an advantage over the
current makeInstance class name cache that worked only for one call.
The old "cache for one call only" code is dropped with the patch.

Change-Id: I70573146600d658d218dc9b31694748341fc7a20
Resolves: #37915
Releases: 6.0
Reviewed-on: http://review.typo3.org/11943
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Refactor page renderer
Dominique Feyer [Wed, 21 Dec 2011 13:21:40 +0000 (14:21 +0100)]
[BUGFIX] Refactor page renderer

The render method of the page renderer is huge and needs to be refactored
into smaller pieces to be able to integrate further changes.

Change-Id: I2ee64ce54d9b9ae66d78b52f6d67a42b7852c53f
Resolves: #38238
Releases: 6.0
Reviewed-on: http://review.typo3.org/12242
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Fix CGL violations against DoubleQuoteUsage
Ludwig Rafelsberger [Sat, 23 Jun 2012 13:10:53 +0000 (15:10 +0200)]
[TASK] Fix CGL violations against DoubleQuoteUsage

Also did some spacing CGL issues.

Change-Id: I10a93c31694ae90be483a4205abd93cc145001c5
Releases: 6.0
Resolves: #38325
Reviewed-on: http://review.typo3.org/12306
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Raise submodule pointer
Christian Kuhn [Sat, 23 Jun 2012 09:48:39 +0000 (11:48 +0200)]
[TASK] Raise submodule pointer

Change-Id: If32bee38978ad52e7338cedcca98b860f696866b
Reviewed-on: http://review.typo3.org/12305
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Clean up phpDoc comments in typo3/sysext/
Wouter Wolters [Fri, 22 Jun 2012 20:54:44 +0000 (22:54 +0200)]
[TASK] Clean up phpDoc comments in typo3/sysext/

Clean up provides:

* Provide correct parameter names in phpDoc
* Provide correct data types in phpDoc
* CGLify phpDoc (remove tabs)

Change-Id: Ibf7958460bfac740d74bd22a12c7b9a995d1dbbe
Resolves: #38321
Releases: 6.0
Reviewed-on: http://review.typo3.org/12303
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Clean up phpDoc comments in typo3/sysext/
Wouter Wolters [Fri, 22 Jun 2012 22:19:14 +0000 (00:19 +0200)]
[TASK] Clean up phpDoc comments in typo3/sysext/

Clean up provides:

* Provide correct parameter names in phpDoc
* Provide correct data types in phpDoc
* CGLify phpDoc (remove tabs)

Change-Id: I86ee97b8d1827efca265daa62b488b64c657c095
Resolves: #38322
Releases: 6.0
Reviewed-on: http://review.typo3.org/12304
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] sys_action toolbar items doesn't go to right submodule
Soren Malling [Mon, 11 Jun 2012 14:22:51 +0000 (16:22 +0200)]
[BUGFIX] sys_action toolbar items doesn't go to right submodule

The toolbar items in the sys_actions toolbar doesn't go to the
right submodule in the "Task center" module - unless the last
chosen submodule was "Tasks".

This patch adds the "mode" setting, so the right submodule is chosen

Change-Id: I0eacf922569005c7eba7cadfd49b15575faa3e60
Resolves: #37906
Releases: 6.0
Reviewed-on: http://review.typo3.org/11931
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
7 years ago[TASK] Clean up phpDoc comments in typo3/sysext/
Wouter Wolters [Fri, 22 Jun 2012 20:27:04 +0000 (22:27 +0200)]
[TASK] Clean up phpDoc comments in typo3/sysext/

Clean up provides:

* Provide correct parameter names in phpDoc
* Provide correct data types in phpDoc
* CGLify phpDoc (remove tabs)

Change-Id: I06035bfe7a224a33fa6624a7adf33a19821a91bf
Resolves: #38320
Releases: 6.0
Reviewed-on: http://review.typo3.org/12302
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Clean up phpDoc comments in typo3/sysext/
Wouter Wolters [Fri, 22 Jun 2012 19:17:50 +0000 (21:17 +0200)]
[TASK] Clean up phpDoc comments in typo3/sysext/

Clean up provides:

* Provide correct parameter names in phpDoc
* Provide correct data types in phpDoc
* CGLify phpDoc (remove tabs)

Change-Id: I413cc9c71997b8ba7f557c2f80bd013e284bd521
Resolves: #38319
Releases: 6.0
Reviewed-on: http://review.typo3.org/12301
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn