Packages/TYPO3.CMS.git
6 years ago[RELEASE] Release of TYPO3 4.7.0rc2 92/10592/1 TYPO3_4-7-0rc2
TYPO3 v4 Release Team [Tue, 17 Apr 2012 15:07:00 +0000 (17:07 +0200)]
[RELEASE] Release of TYPO3 4.7.0rc2

Change-Id: Iddabe97452c555dc6dcd95d1927296edbe43c306

6 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 17 Apr 2012 14:40:14 +0000 (16:40 +0200)]
[TASK] Raise submodule pointer

Change-Id: I328371acdbba5fd69d32adfea2fc9b498877829a
Reviewed-on: http://review.typo3.org/10590
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
6 years ago[TASK] Update NEWS.txt and INSTALL.txt
Steffen Ritter [Tue, 17 Apr 2012 13:20:54 +0000 (15:20 +0200)]
[TASK] Update NEWS.txt and INSTALL.txt

Change-Id: I5e7f6d9e286d39ee53616adf8ecc1093d2e52f44
Reviewed-on: http://review.typo3.org/10578
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] t3lib_div: adjust substUrlsInPlainText to also work on URLs at end of sentence
Robert Heel [Mon, 6 Feb 2012 02:47:48 +0000 (03:47 +0100)]
[BUGFIX] t3lib_div: adjust substUrlsInPlainText to also work on URLs at end of sentence

Reworked substUrlsInPlainText by using regex.
Adding unittest.

Change-Id: I02958fff76099f010ceae3745794d8f7204106ca
Resolves: #28248
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/10537
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[SECURITY] XSS in exception handler
Oliver Klee [Tue, 17 Apr 2012 09:10:53 +0000 (11:10 +0200)]
[SECURITY] XSS in exception handler

Change-Id: I29fb9539be238218ccb6e44c99704b90dbe7802a
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Fixes: #34348
Security-Review: http://review.typo3.org/10309
Security-Commit: 00face32a3d5025bf2cb06131f3ab03188d72c97
Security-Bulletin: TYPO3-CORE-SA-2012-002
Reviewed-on: http://review.typo3.org/10568
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 17 Apr 2012 09:04:23 +0000 (11:04 +0200)]
[TASK] Raise submodule pointer

Change-Id: I285914e18df1e26d3872cd284f84e7f7c69de815
Reviewed-on: http://review.typo3.org/10563
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
6 years ago[BUGFIX] Media element cannot handle plain external URL
Oliver Hader [Mon, 16 Apr 2012 20:23:52 +0000 (22:23 +0200)]
[BUGFIX] Media element cannot handle plain external URL

The media element cannot handle a plain external URL that does
not use any provider like Youtube or Google. Since the URL is
not found locally and no provider can be determined, the
resolved result stays empty.

Change-Id: I1363842f9a0fdfb8b54a74e17d237220ccb76b54
Fixes: #36177
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10553
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Hardcoded variable in CookieJar.php
Philipp Gampe [Fri, 16 Mar 2012 11:33:47 +0000 (12:33 +0100)]
[BUGFIX] Hardcoded variable in CookieJar.php

If pear installs a package, it replaces all occurrences of data_dir with
the actual dirname. This should not have happened in then shipped
version.

Change-Id: Ic0a9603187226e7226d293d59e88e00dd73c5874
Fixes: #34923
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/10396
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] t3lib_http_Request can not be loaded in frontend
Philipp Gampe [Fri, 13 Apr 2012 13:14:02 +0000 (15:14 +0200)]
[BUGFIX] t3lib_http_Request can not be loaded in frontend

Move the include path modification to t3lib/config_default.php
Switch the TYPO3 pear folder in front, to avoid incompatibilities
with older or newer versions of the PEAR packages.

Change-Id: I21a0b20594337c93d6de4892a33684ad6279a1f5
Fixes: #33497
Fixes: #34897
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/10473
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] rsaauth PHP backend calls key generation on every request
Helmut Hummel [Sat, 14 Apr 2012 17:46:05 +0000 (19:46 +0200)]
[BUGFIX] rsaauth PHP backend calls key generation on every request

Problem: openssl_pkey_new is not a simple cheap operation and
for minimal requests (e.g. ajax), this can consume up to 10% of the request time.

Solution: Do not process the login fields if no login is triggered.

This commit will save even more processing power as the whole service chain
for processing the login fields is not instantiated any more.

Change-Id: Ic55dd38ffcca9864e3883d55a750c81478ca273d
Fixes: #33165
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10486
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[TASK] Change hardcoded URL to constant
dkd-egerer Sascha Egerer [Sat, 14 Apr 2012 14:56:30 +0000 (16:56 +0200)]
[TASK] Change hardcoded URL to constant

Change hardcoded typo3.org url to the
constant TYPO3_URL_GENERAL in class.typo3logo.php

Change-Id: I850f44246ffdc201a1ceef77eb4bdc0a8e4c1137
Resolves: #34742
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10475
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
6 years ago[BUGFIX] Send no-cache headers in t3lib_userauth
Alexander Stehlik [Fri, 1 Apr 2011 17:32:21 +0000 (19:32 +0200)]
[BUGFIX] Send no-cache headers in t3lib_userauth

Adjust headers sent by t3lib_userauth to prevent caching, if
Internet Explorer is used when downloading files through PHP.

Change-Id: I5c3a2589e5ec114e6a495590c0a6e7109be8ade5
Fixes: #24125
Releases: 4.4, 4.5, 4.6, 4.7, 4.8
Reviewed-on: http://review.typo3.org/9453
Reviewed-by: Stefan Neufeind
Reviewed-by: Sebastian Fischer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Localisation update doesn't work
Sebastian Fischer [Sat, 14 Apr 2012 10:01:32 +0000 (12:01 +0200)]
[BUGFIX] Localisation update doesn't work

Change-Id: I3353dfa5425fab87186dfbb9174bc71ec0acee86
Fixes: #36027
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10518
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
6 years ago[TASK] CGL violoation in tslib_content_Media
Steffen Gebert [Sat, 14 Apr 2012 21:29:30 +0000 (23:29 +0200)]
[TASK] CGL violoation in tslib_content_Media

Change-Id: I4c799249e512a6dc8320c4324adb7bedc06e33a5
Reviewed-on: http://review.typo3.org/10512
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
6 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Thu, 12 Apr 2012 20:22:15 +0000 (22:22 +0200)]
[TASK] Raise submodule pointer

Change-Id: I41f38f4b8548cc2ab2ff000658464240627fa5d4
Reviewed-on: http://review.typo3.org/10372
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
6 years ago[BUGFIX] Usability improvements for Media Element
Steffen Ritter [Thu, 12 Apr 2012 19:05:05 +0000 (21:05 +0200)]
[BUGFIX] Usability improvements for Media Element

Final adaptions to the  Media Element to reduce the UI to the
neccessary stuff and better distinguish between HTML5 and normal
rendering.

Change-Id: I2d377156420a0a8ea47888fd62e415829fba1f40
Fixes: #35921
Releases: 4.7,6.0
Reviewed-on: http://review.typo3.org/10358
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Slider doesn't work in IE9
Jigal van Hemert [Sun, 11 Mar 2012 13:41:51 +0000 (14:41 +0100)]
[BUGFIX] Slider doesn't work in IE9

With the new X-UA-Compatible set to IE=9 for the backend the
TCA slider control will only work with an override.

Change-Id: Ib5a4ea87cf9393e44a32d47bb98c9afef68a5dc2
Resolves: #32581
Releases: 4.8, 4.7, 4.6
Reviewed-on: http://review.typo3.org/10359
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[TASK] Move unit test to logical places
Stefano Kowalke [Mon, 18 Apr 2011 13:19:02 +0000 (15:19 +0200)]
[TASK] Move unit test to logical places

* System extensions should ship with their tests
* Tests for typo3/ and t3lib/ classes are the only ones kept under our root "tests/".

Change-Id: Ic8c87812406dbc9a00d0a62d304b1b638e0fe118
Resolves: #25869
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10354
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix the unit tests to work with PHPUnit 3.6
Oliver Klee [Fri, 6 Apr 2012 23:54:46 +0000 (01:54 +0200)]
[BUGFIX] Fix the unit tests to work with PHPUnit 3.6

Phpunit 3.6 is no longer able to test for a generic Exception
class. The main part of this patch changes generic Exceptions to
better detailed subclasses to give more information on the error.

Change-Id: I0157618b0d7c87f6c4c1a47076516ea4cfeb7d0c
Fixes: #35202
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10350
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Results from live search and opendocs can't be opened
Stefan Galinski [Sat, 24 Mar 2012 16:57:20 +0000 (17:57 +0100)]
[BUGFIX] Results from live search and opendocs can't be opened

Change-Id: I757f66eec3d035203431958cd283bb77abd9f182
Fixes: #34860
Fixes: #33685
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10346
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Failing test in autoloader with phpunit 3.6
Christian Kuhn [Thu, 12 Apr 2012 14:25:10 +0000 (16:25 +0200)]
[BUGFIX] Failing test in autoloader with phpunit 3.6

The next phpunit extension will deliver phpunit 3.6. Some autoloader
unit tests fail with this version because of unclean tests. The patch
cleans that up to make the tests run with both phpunit 3.5 and 3.6.

Change-Id: I039a75ff4939862ad8db40c6d39cd8c24e1572f0
Resolves: #35905
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/10342
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 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: I34d0478aee93923596b8a4e4257bb26aad244936
Resolves: #35879
Releases: 6.0,4.7
Reviewed-on: http://review.typo3.org/10315
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Failing charset related test in page renderer
Christian Kuhn [Thu, 12 Apr 2012 12:48:18 +0000 (14:48 +0200)]
[BUGFIX] Failing charset related test in page renderer

With issue #34092 the charset conversion code was removed from
the core. Test isInlineLanguageLabelDeliveredWithNonUTF8 fails
now and can be removed as obsolete.

Change-Id: If85e3daa2211a6e1751d06423c624fd957f60c87
Resolves: #35901
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10337
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Failing test in caching framework memcache backend
Christian Kuhn [Thu, 12 Apr 2012 11:25:34 +0000 (13:25 +0200)]
[BUGFIX] Failing test in caching framework memcache backend

Bugfix #30162 changed the memcache handling to not throw an exception but
insert a sys_log entry instead in case of connection problems. The patch
removes the according unit test that broke with the
change, since the call to the static syslog is untestable.

Change-Id: I142790cfec23d060f7cee4e3f5cf6062629af465
Resolves: #35897
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10330
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Streamline disposal of Signal Slot
Oliver Hader [Wed, 11 Apr 2012 14:07:14 +0000 (16:07 +0200)]
[TASK] Streamline disposal of Signal Slot

The concept of Signal Slot has been introduced into Extbase of
TYPO3 4.6 and then got copied to TYPO3 4.7 as well - basically
to support that concept for the File Abstraction Layer as well.
However, now this observer pattern is duplicated in the Core,
thus is removed in favour of the available Extbase behaviour.

Change-Id: I1b66cab4dbb5ee18a9e72df346a4b64711dd268a
Releases: 6.0, 4.7
Resolves: #35854
Reviewed-on: http://review.typo3.org/10247
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Media Element does not play videos with own player anymore
Steffen Ritter [Wed, 11 Apr 2012 15:11:24 +0000 (17:11 +0200)]
[BUGFIX] Media Element does not play videos with own player anymore

Since the rewrite to FlowPlayer and the additions for accessibility
the MEDIA Content Element is not capable anymore, to play videos which
ship their own player.

This especially is the case for Videos which are from YouTube, Vimeo
and other similiar platforms. Looking at the implementation it seems,
that the detection of own players has been removed (accidentilly).

Rebuild this detection to make external video platform links work again.

Change-Id: Ifdc579b12794e09c51bd3ddad0290c2cc9470760
Fixes: #33357
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10272
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Centering images with text is not working in some cases
Patrick Broens [Wed, 11 Apr 2012 14:44:46 +0000 (16:44 +0200)]
[BUGFIX] Centering images with text is not working in some cases

Currently css_styled_content is using the constant MaxW in CSS to define the width of the image wrap. When using columns with different widths, this value is not reflecting the width of the column, which can break the centering.

This patch fixes this issue by using a different centering method.

Change-Id: I2be4a53f010df8be7f7b0d5defd4bbbdad6a6e77
Fixes: #35814
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10268
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] t3lib_div::getUrl() providing wrong error information
Ingo Renner [Wed, 11 Apr 2012 11:54:57 +0000 (13:54 +0200)]
[BUGFIX] t3lib_div::getUrl() providing wrong error information

When using t3lib_div::getUrl() with lib file/context it uses
file_get_contents() to read a URL. When this fails it tries to provide the
reason for the error but does not return the actual issue.

The error key in the returned array contains the error retrieved by
error_get_last() which does not provide the error that occurred with
file_get_contents(), but with PHP. Usually this is a notice.

The actual error message of file_get_contents() is in the variable
$http_response_header which is available after calling file_get_contents().

See http://de2.php.net/manual/en/reserved.variables.httpresponseheader.php

Change-Id: Icbd4ad779b1b12d226ffe2f78a344b72326603e8
Fixes: #35847
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10254
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
6 years ago[BUGFIX] Enable XClassing of t3lib_install by replacing new
Kay Strobach [Tue, 27 Mar 2012 11:24:54 +0000 (13:24 +0200)]
[BUGFIX] Enable XClassing of t3lib_install by replacing new

This Fix Replaces 3 occurences of new t3lib_install with
t3lib_div::makeInstance('t3lib_install')

Change-Id: Ic27e6f04d7e8111c4d645d6ce6e8debb87fb2ce4
Fixes: #35272
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10240
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Use state "excludeFromUpdates" in update check
Jigal van Hemert [Thu, 22 Mar 2012 23:00:32 +0000 (00:00 +0100)]
[BUGFIX] Use state "excludeFromUpdates" in update check

Do not offer update for extensions with state "excludeFromUpdates"

Change-Id: Ic3aaf85a64fe23f5aede42a7949f4137d468675f
Fixes: #35126
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10076
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Error reporting is set twice in bootstrap
Andy Grunwald [Tue, 20 Mar 2012 09:24:55 +0000 (10:24 +0100)]
[TASK] Error reporting is set twice in bootstrap

In index.php AND typo3/sysext/cms/tslib/index_ts.php
(which will be included in index.php) the error reporting
is set to E_ALL ^ E_NOTICE ^ E_DEPRECATED.

The set command in typo3/sysext/cms/tslib/index_ts.php is
obsolete, because this has no further effect.
This will be set in the previous index.php as well.

Result: Less code to maintain

See also #35003, #35017 and #35019

Change-Id: I8a06916d4d79033111858f33ba16e95ed15ba540
Fixes: #35023
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10233
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] PATH_thisScript is defined twice in bootstrap
Andy Grunwald [Mon, 19 Mar 2012 12:46:05 +0000 (13:46 +0100)]
[TASK] PATH_thisScript is defined twice in bootstrap

In index.php AND typo3/sysext/cms/tslib/index_ts.php
(which will be included in index.php) the constant
PATH_thisScript is defined.

The definition in typo3/sysext/cms/tslib/index_ts.php
is obsolete, because this will be checked via
if(!defined(...)).

Change-Id: Ife4157d555c3c55d0135b6e0ba403885ee98012b
Fixes: #35003
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10230
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Restore old Content Object SWFOBJECT
Steffen Ritter [Tue, 10 Apr 2012 11:43:53 +0000 (13:43 +0200)]
[TASK] Restore old Content Object SWFOBJECT

When integrating the FlowPlayer as accessible video player,
the current SWFObject just was overwritten. Therefore it currently
is not possible anymore to use swfobject JavaScript or just insert
any Flash in the website.

Restore the old SWFOBJECT and move the new stuff into an own class.

Change-Id: Ia3bad65b0743b5c7fbac7a312e561a53e061603c
Resolves: #35815
Releases: 4.7,6.0
Reviewed-on: http://review.typo3.org/10203
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[TASK] PATH_site is defined twice in bootstrap
Andy Grunwald [Mon, 19 Mar 2012 18:38:02 +0000 (19:38 +0100)]
[TASK] PATH_site is defined twice in bootstrap

In index.php AND typo3/sysext/cms/tslib/index_ts.php
(which will be included in index.php) the constant
PATH_site is defined.

The definition in typo3/sysext/cms/tslib/index_ts.php
is obsolete, because this will be checked via if(!defined(...)).

See also #35003

Change-Id: I599640a01c61c427df9033a56348d9c89e5521a4
Fixes: #35017
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10228
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] follow up to "Improve usability of new Media element flexform"
Steffen Ritter [Wed, 11 Apr 2012 11:40:33 +0000 (13:40 +0200)]
[BUGFIX] follow up to "Improve usability of new Media element flexform"

Due to a superfluous displayCondition the field for actual insertion of
HTML5-video-sources is not shown correctly.

Change-Id: I8cd43b9dba4b97a286ec24641fd4812577beaf43
Fixes: #35433
Releases: 4.7,6.0
Reviewed-on: http://review.typo3.org/10227
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] PATH_tslib is defined twice in bootstrap
Andy Grunwald [Mon, 19 Mar 2012 18:50:10 +0000 (19:50 +0100)]
[TASK] PATH_tslib is defined twice in bootstrap

In index.php AND typo3/sysext/cms/tslib/index_ts.php
(which will be included in index.php) the constant
PATH_tslib is defined.

The definition in typo3/sysext/cms/tslib/index_ts.php
is obsolete, because this will be checked via if(!defined(...)).

In index.php, if PATH_tslib is empty the script will die immediately.
After that check, PATH_tslib will be used to include index_ts.php

See also #35003 and #35017

Change-Id: I34da521ed01ac447cfd5d45fe13eacef9b05bec9
Fixes: #35019
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10225
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Validation problem in forgot and change password form
Jigal van Hemert [Sat, 24 Dec 2011 20:15:13 +0000 (21:15 +0100)]
[BUGFIX] Validation problem in forgot and change password form

Label for attribute is invalid for XHTML. Changing it to a hard coded
value solves the problem. In case custom styling or Javascript breaks
the whole template can be replaced.

Change-Id: Ib12bc9664e4f8d833c3534b68f01f2f8cc234afc
Fixes: #18901
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10222
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove Code Duplication in tslib_content_Media
Steffen Ritter [Sat, 31 Mar 2012 16:02:31 +0000 (18:02 +0200)]
[TASK] Remove Code Duplication in tslib_content_Media

For every parameter the same code for overlaying Flexform value
over the value given in TypoScript is done.

Furthermore for every file the same url-processing is done.

Remove these code duplication by extracting these things to
external functions for a better readability and maintainability.

Change-Id: I2a614cc1d60f28c3ef4189e74fa3f4dea91fa85f
Resolves: #35440
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10108
Reviewed-by: Markus Klein
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Wouter Wolters
Tested-by: Anja Leichsenring
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] EXT: setup relocate 'Save' button
Felix Kopp [Wed, 21 Mar 2012 20:35:51 +0000 (21:35 +0100)]
[BUGFIX] EXT: setup relocate 'Save' button

Moves the form submit button to docheader.
Also adds a section divided between settings and reset actions.

Change-Id: I6b60614c8bfc64a83ea89eb7bc56f6bce02c4414
Release: 4.7, 4.8
Fixes: #632
Reviewed-on: http://review.typo3.org/10217
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Scheduler: move 'Save' button to docHeader
Felix Kopp [Sun, 1 Apr 2012 20:32:00 +0000 (22:32 +0200)]
[TASK] Scheduler: move 'Save' button to docHeader

Moves save and cancel button in new/edit to the docHeader.

Change-Id: I67b476d9b69c24c19bb025a798be3eb5d963ea94
Fixes: #35104
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/10213
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] ext_icon.gif for EXT:impexp
Georg Ringer [Wed, 28 Mar 2012 05:37:25 +0000 (07:37 +0200)]
[BUGFIX] ext_icon.gif for EXT:impexp

Every extension needs an icon, impexp too

Change-Id: Idc1f42af1c6fbe7f899482b57798ba2ee2fda61f
Fixes: #35257
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10207
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Improve usability of new Media element flexform
Steffen Ritter [Sat, 31 Mar 2012 16:39:18 +0000 (18:39 +0200)]
[BUGFIX] Improve usability of new Media element flexform

With HTML5 video many new options are added to the media element
flexform. This results in a very hard to read form.

Restructure the fields into tabs and use display conditions
to hide unneeded fields depending on the selected media type.

Change-Id: I1a25a17506541a3461bcd83d320a395bad3f8195
Fixes: #35433
Releases: 6.0,4.7
Reviewed-on: http://review.typo3.org/10109
Reviewed-by: Dominik Mathern
Tested-by: Dominik Mathern
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] missing parameter for implode
Jigal van Hemert [Sun, 8 Apr 2012 06:27:25 +0000 (08:27 +0200)]
[BUGFIX] missing parameter for implode

Use the preferred syntax for implode()

Change-Id: I8ebc880f797b379f35924641e3d0b11f0e2ec34e
Releases: 6.0, 4.7, 4.6, 4.5
Fixes: #34695
Reviewed-on: http://review.typo3.org/10193
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] displayCondition on FlexForm Sheets broken
Steffen Ritter [Sat, 31 Mar 2012 13:53:13 +0000 (15:53 +0200)]
[BUGFIX] displayCondition on FlexForm Sheets broken

Due to the usage of an undefined variable, the value of
an field within the flexform cannot resolved correctly.
As an result any displayCondition of an FlexForm sheet looking
at a field value (FIELD:*:=:value) evaluates to false.

Change-Id: I31bf3af8b61981d7fde9e3d0f1c6dbc01118d14a
Fixes: #35436
Releases: 6.0,4.7
Reviewed-on: http://review.typo3.org/10107
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Dominik Mathern
Tested-by: Dominik Mathern
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] No tab selected by default in User Settings
Jigal van Hemert [Wed, 4 Apr 2012 19:51:48 +0000 (21:51 +0200)]
[BUGFIX] No tab selected by default in User Settings

The call to getDynTabMenu had one parameter too much. Removing it
restores the normal functionality that the first tab is selected
by default.

Change-Id: I84e97bee1ea8bce88f39d5d52f673034e49f608e
Releases: 6.0, 4.7
Fixes: #35694
Reviewed-on: http://review.typo3.org/10158
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] t3editor: $TCA for tt_content is not loaded in ext_tables.php
Andreas Wolf [Sun, 1 Apr 2012 17:15:32 +0000 (19:15 +0200)]
[BUGFIX] t3editor: $TCA for tt_content is not loaded in ext_tables.php

The ext_tables.php of t3editor does overwrite parts of tt_content's TCA
without first loading it; this leads to errors if the ext_tables.php
cache is included before the TCA is properly loaded.

Change-Id: I0040c1196617a23630c1f0a098393edc0a9325ac
Resolves: #35495
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/10113
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[SECURITY] XSS in be_layouts
Georg Ringer [Wed, 28 Mar 2012 11:56:13 +0000 (13:56 +0200)]
[SECURITY] XSS in be_layouts

Some values from the backend layout configuration
are not properly escaped

Change-Id: I72c45c6c7774c7608a5a88620266b06be9118b01
Fixes: #29536
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/9939
Security-Commit: e17ddd00f6870171157acaa710b60f716cce6a87
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10029
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[SECURITY] XSS possibility in RemoveXSS
Andreas Wolf [Wed, 28 Mar 2012 11:56:09 +0000 (13:56 +0200)]
[SECURITY] XSS possibility in RemoveXSS

RemoveXSS fails to properly remove non printable characters, especially
zero-byte (\x00) chars.

Change-Id: I6a019d4174cf7d0e7d5cf2a4e06b665897ac3e87
Fixes: #30188
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/9938
Security-Commit: fcd0af65fe92349e0566e2306c6ff565346081e9
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10027
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[SECURITY] XSS in BE file list
Christian Kuhn [Wed, 28 Mar 2012 11:55:58 +0000 (13:55 +0200)]
[SECURITY] XSS in BE file list

Change-Id: Ic25488783111b59138b58a57e562e5fd03e1dca9
Fixes: #30940
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/9940
Security-Commit: be6b2649b0583f72971bd370a6e72419f6069aa7
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10026
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[SECURITY] Missing escaping in scheduler
Georg Ringer [Wed, 28 Mar 2012 11:55:49 +0000 (13:55 +0200)]
[SECURITY] Missing escaping in scheduler

A proper escaping is missing for field "frequency"
Sanitize submitted uid

Change-Id: Id18dfcfb542837becb559c571f0c23a7a81cc40a
Fixes: #24474
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/9941
Security-Commit: ba96a0e50b77124f75128b19f74db39e3edeee6b
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10025
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[SECURITY] Missing escaping for sys_notes
Georg Ringer [Wed, 28 Mar 2012 11:55:40 +0000 (13:55 +0200)]
[SECURITY] Missing escaping for sys_notes

sys_notes misses an escaping in info module

Change-Id: I2066d850231b3994b9bfa018648e855211c993aa
Fixes: #22748
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/9942
Security-Commit: 41a869269bb50a86a467aedef0a9e89fdd56b765
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10024
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[SECURITY] XSS in show item
Christian Kuhn [Wed, 28 Mar 2012 11:55:36 +0000 (13:55 +0200)]
[SECURITY] XSS in show item

Change-Id: Iaf43a2097be961679a6d03c3b948b163e153f95f
Fixes: #29397
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/9943
Security-Commit: 929b49ae0991e268b8e62651be5416cbc76deb66
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10023
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[SECURITY] Information disclosure showing DB name
Georg Ringer [Wed, 28 Mar 2012 11:55:27 +0000 (13:55 +0200)]
[SECURITY] Information disclosure showing DB name

By accessing a cli script in the frontend, it is possible
that the DB name is shown.

Change-Id: I4998eff997a50e94183f64d06bd76fb5d399bb98
Fixes: #29060
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/9944
Security-Commit: 1c36ac1e84a506351d7946759976eaf80fe36d94
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10022
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[!!!][SECURITY] XSS in filelink element
Georg Ringer [Wed, 28 Mar 2012 11:55:24 +0000 (13:55 +0200)]
[!!!][SECURITY] XSS in filelink element

Add escaping to description and file name of file link content element.
Warning: There is no longer HTML possible in description!

Change-Id: Ib765412c4732ed083f67009ed5ff43444d7ca606
Fixes: #25246
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/9945
Security-Commit: 17352254b4fd53c97ca3545d1ca81b576e44d387
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10021
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Wed, 28 Mar 2012 11:48:56 +0000 (13:48 +0200)]
[TASK] Raise submodule pointer

Change-Id: I746cc091153c5675fed46b5444c11a6af1dd1de1
Reviewed-on: http://review.typo3.org/9988
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
6 years ago[BUGFIX] Missing column in t3lib_TCEmain::getPreviousLocalizedRecordUid
Francois Suter [Tue, 27 Mar 2012 07:52:10 +0000 (09:52 +0200)]
[BUGFIX] Missing column in t3lib_TCEmain::getPreviousLocalizedRecordUid

Method t3lib_TCEmain::getPreviousLocalizedRecordUid() checks for the
"closest" localized record. For content elements it does this per
column, but actually fails because the "colPos" field is not among
the available fields. It must be added to the selection.

Change-Id: I01520014aaafd91b8fc5fe9cd3822cfee103ba7d
Fixes: #35260
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9959
Reviewed-by: Francois Suter
Tested-by: Francois Suter
7 years ago[TASK] Set TYPO3 version to 4.7-dev
TYPO3 v4 Release Team [Tue, 27 Mar 2012 15:02:25 +0000 (17:02 +0200)]
[TASK] Set TYPO3 version to 4.7-dev

Change-Id: I73e7d250dc88f1649425465d953ed3fbc0aa3673
Reviewed-on: http://review.typo3.org/9920
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[RELEASE] Release of TYPO3 4.7.0beta3
TYPO3 v4 Release Team [Tue, 27 Mar 2012 15:02:17 +0000 (17:02 +0200)]
[RELEASE] Release of TYPO3 4.7.0beta3

Change-Id: I9d149f15049a4e43d3b75253b355c0eef9a9b4fa
Reviewed-on: http://review.typo3.org/9919
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[BUGFIX] Unused argument in getItemUidList()
Oliver Hader [Tue, 27 Mar 2012 12:03:24 +0000 (14:03 +0200)]
[BUGFIX] Unused argument in getItemUidList()

t3lib_collection_AbstractRecordCollection::getItemUidList() has
a method argument that is not used. The purpose is to have a
combination of table name and uid on demand.

Change-Id: I53f6aa0f87ea87db20d0e2d95cf5b4f5e2bdea81
Fixes: #35277
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9918
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Update submodule pointer for TYPO3_4-7
Oliver Hader [Tue, 27 Mar 2012 14:53:18 +0000 (16:53 +0200)]
[TASK] Update submodule pointer for TYPO3_4-7

workspaces_4-7

Related: #35155
Releases: 4.7

Change-Id: Ibe0c5ef1c36db348b665d5402447c6cc9c84443c
Reviewed-on: http://review.typo3.org/9917
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[TASK] Introduce processDatamap_beforeStart hook
Oliver Hader [Thu, 22 Mar 2012 19:47:51 +0000 (20:47 +0100)]
[TASK] Introduce processDatamap_beforeStart hook

Introduces processDatamap_beforeStart hook to t3lib_TCEmain
which can be used to individually initialize or pre-filter
the datamap array.

Change-Id: I56aac7c22a9c645737e52372037f25b00261dd55
Resolves: #35161
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/9914
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Unknown t3lib_TcaRelationService in StaticRecordCollection
Oliver Hader [Wed, 15 Feb 2012 12:33:03 +0000 (13:33 +0100)]
[BUGFIX] Unknown t3lib_TcaRelationService in StaticRecordCollection

t3lib_collection_StaticRecordCollection::loadContents() tries to
access class t3lib_TcaRelationService which is not available in
the TYPO3 Core. The accordant dependent feature request was
pending for master (see #32148). Since the TcaRelationService
was dropped for 4.7, this fix uses plain MM queries to get the
desired results.

Change-Id: I72fa5f7dc0fcf269ef00f9ec17bff6dd5bd95173
Fixes: #33942
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9913
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Livesearch toolbar should close others
Tolleiv Nietsch [Sat, 4 Feb 2012 09:28:14 +0000 (10:28 +0100)]
[BUGFIX] Livesearch toolbar should close others

When focussing the livesearch in the backend, other menus
should be closed.

Change-Id: Ibc6e9727ab9142f549bef3d5615bcb1426b42ebe
Fixes: #32890
Release: 4.7, 4.6
Reviewed-on: http://review.typo3.org/9912
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Remove menu type special.userdefined
Tolleiv Nietsch [Sun, 5 Feb 2012 09:57:03 +0000 (10:57 +0100)]
[BUGFIX] Remove menu type special.userdefined

The manual says that this type has been removed in 4.6 in favor of
userfunctions.
Besides that, the block makes use of includeMakeMenu(), which doesn't
exist anymore.
Therefore I'd say it's safe to remove the block.

Change-Id: I69b33894eff55a8eedd0b04448229a96f6a0d199
Fixes: #25100
Release: 4.7, 4.6
Reviewed-on: http://review.typo3.org/9911
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] RTE: function compareLabel incorrectly declared
Stanislas Rolland [Sat, 10 Mar 2012 21:40:22 +0000 (16:40 -0500)]
[BUGFIX] RTE: function compareLabel incorrectly declared

Problem: Function compareLabel is not correctly declared in
class.tx_rtehtmlarea_microdataschema.php

Change-Id: Ieb2f5c460260c5aa3cc07ae3a5408270fc43011f
Resolves: #34708
Releases: 4.7, master
Reviewed-on: http://review.typo3.org/9910
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Backend: Fetch correct overlay-version of page inside workspace
Stefan Neufeind [Sun, 26 Feb 2012 23:01:29 +0000 (00:01 +0100)]
[BUGFIX] Backend: Fetch correct overlay-version of page inside workspace

When fetching page-details while using inside a workspace
make sure to fetch the correct overlay.

Change-Id: I7cd58201e4e3babf71e89f2ec7fecfd06f27ad21
Resolves: #27811
Releases: 4.5, 4.6, 4.7, 4.8
Reviewed-on: http://review.typo3.org/9909
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] t3lib_iconWorks must check if array exists before using it
Jigal van Hemert [Fri, 23 Mar 2012 21:22:59 +0000 (22:22 +0100)]
[BUGFIX] t3lib_iconWorks must check if array exists before using it

A few places in t3lib_iconWorks use variables as arrays without
checking if they are actually arrays. This leads to warnings in
the syslog.

Change-Id: Ibd14796dae648195a630d520ab18d5f8689076f0
Fixes: #24248
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9908
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Creating new pages via drag'n'drop respects page TS
Philipp Kitzberger [Mon, 19 Mar 2012 15:25:25 +0000 (16:25 +0100)]
[BUGFIX] Creating new pages via drag'n'drop respects page TS

When creating a new page node via drag'n'drop shortcuts in pagetree,
the TCAdefaults.pages array from page TsConfig is now being respected.
This allows to preset certain field values for new pages.

Change-Id: I21c2f84951699469b00a745b62d2a95fb114809e
Fixes: #25021
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9887
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Update submodule pointer for TYPO3_4-7
Oliver Hader [Tue, 27 Mar 2012 12:45:58 +0000 (14:45 +0200)]
[TASK] Update submodule pointer for TYPO3_4-7

dbal_4-7
extbase_4-7
fluid_4-7
linkvalidator_4-7
version_4-7
workspaces_4-7

Change-Id: I5e9b577371d2f1bd5b98eee036a676345199ebf3
Related: #35155
Releases: 4.7
Reviewed-on: http://review.typo3.org/9906
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[TASK] Add missing sql_free_result in alt_doc.php
Wouter Wolters [Mon, 19 Mar 2012 20:22:29 +0000 (21:22 +0100)]
[TASK] Add missing sql_free_result in alt_doc.php

Add missing sql_free_result in alt_doc.php to free hanging
records properly.

Change-Id: Ic36b13edcbb10e6687df5cf85078375fa4f1c377
Resolves: #34771
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9867
Reviewed-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Tooltips for items in groupfields are not moved
Jigal van Hemert [Sat, 24 Mar 2012 07:01:42 +0000 (08:01 +0100)]
[BUGFIX] Tooltips for items in groupfields are not moved

In groupfields the title attribute of options must also be handled
when moving items.

Change-Id: I90a6dec1625241d730809344de9aff77b085e78a
Fixes: #35176
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/9858
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[BUGFIX] Fatal error function posix_getgroups is not available
Philipp Gampe [Mon, 6 Feb 2012 20:10:26 +0000 (21:10 +0100)]
[BUGFIX] Fatal error function posix_getgroups is not available

This happens for the mkdirSetsGroupOwnershipOfCreatedDirectory() test in
t3lib_divTest.

Solution, just skip the test if the function does not exists.

Also do same safety check for posix_getegid() as done some tests above.

Change-Id: I46c22df7bbb0c6566e5a6af7e8f0e9f2ed030d06
Fixes: #33718
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9856
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[BUGFIX] Blank page after Save+Close in page settings
Stefan Galinski [Thu, 23 Feb 2012 22:16:56 +0000 (23:16 +0100)]
[BUGFIX] Blank page after Save+Close in page settings

Change-Id: Idd7647e0e1aaee607203f64c421d6ca235920268
Fixes: #33791
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9828
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
7 years ago[TASK] Code clean-up in t3lib_PageRenderer
Oliver Hader [Thu, 22 Mar 2012 19:38:05 +0000 (20:38 +0100)]
[TASK] Code clean-up in t3lib_PageRenderer

Change-Id: I0760f863bd824efd287ca92a937814443215aa0b
Resolves: #35160
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/9816
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-on: http://review.typo3.org/9837
Reviewed-by: Oliver Klee
7 years ago[TASK] Update submodule pointer for TYPO3_4-7
Oliver Hader [Thu, 22 Mar 2012 17:16:34 +0000 (18:16 +0100)]
[TASK] Update submodule pointer for TYPO3_4-7

dbal_4-7
extbase_4-7
fluid_4-7
linkvalidator_4-7
version_4-7
workspaces_4-7

Change-Id: I41685c83343266dd71b445c10de8f6bd94ecc567
Resolves: #35155
Branches: 4.7
Reviewed-on: http://review.typo3.org/9813
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years agoRevert "[BUGFIX] showAccessRestrictedPages doesn't replace links to restricted subpages"
Helmut Hummel [Sun, 11 Mar 2012 20:13:41 +0000 (21:13 +0100)]
Revert "[BUGFIX] showAccessRestrictedPages doesn't replace links to restricted subpages"

Commit 94feeb2596244bc463afd428aab41353eb1740a4 introduced a major
performance overhead and is reverted for now.

Change-Id: I4c4022fb6cd7c34c7054f25af2fe4d83133bf519
Releases: 4.8, 4.7, 4.6, 4.5
Resolves: #32756
Reviewed-on: http://review.typo3.org/9731
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Fix baseurl handling of IE with RTE htmlArea in FE and realurl
Stanislas Rolland [Fri, 16 Mar 2012 23:50:44 +0000 (19:50 -0400)]
[BUGFIX] Fix baseurl handling of IE with RTE htmlArea in FE and realurl

Problem: IE does not support document.baseURI and document.URL is
incorrect when using realurl.
Solution: Get first base tag and extract href as base for iframe
document.

Note: Thanks to Christoph Niewerth

Change-Id: I450f46078896faf27b1003a4ae6de720699b0cc0
Resolves: #30847
Releases: 4.5, 4.6,4.7, master
Reviewed-on: http://review.typo3.org/9707
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] Fatal error 't3lib_lock' does not exist
Oliver Hader [Wed, 14 Mar 2012 09:28:12 +0000 (10:28 +0100)]
[BUGFIX] Fatal error 't3lib_lock' does not exist

The PHP fatal error occurs for the following settings:
$TYPO3_CONF_VARS['SYS']['enableDeprecationLog'] is enabled
$TYPO3_CONF_VARS['BE']['forceCharset'] is not "utf-8" (or empty)
$TYPO3_CONF_VARS['SYS']['enableDeprecationLog'] is set to "file"

Change-Id: Ia31dd763f52cb0cae6ef3f97859da6513e1a7622
Fixes: #34662
Releases: 4.5, 4.6, 4.7, 4.8
Reviewed-on: http://review.typo3.org/9689
Reviewed-by: Oliver Klee
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[TASK] Set TYPO3 version to 4.7-dev
TYPO3 v4 Release Team [Tue, 13 Mar 2012 15:27:34 +0000 (16:27 +0100)]
[TASK] Set TYPO3 version to 4.7-dev

Change-Id: I58a6b7aedcce48007ede9df3a6fec53c06236805
Reviewed-on: http://review.typo3.org/9621
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[RELEASE] Release of TYPO3 4.7.0beta2
TYPO3 v4 Release Team [Tue, 13 Mar 2012 15:27:25 +0000 (16:27 +0100)]
[RELEASE] Release of TYPO3 4.7.0beta2

Change-Id: I5c4da53c8184ac6a4525eec7e4a52645df0d7a7f
Reviewed-on: http://review.typo3.org/9620
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 13 Mar 2012 15:13:52 +0000 (16:13 +0100)]
[TASK] Raise submodule pointer

Change-Id: I166af445aa4f26a25f2554f6034454f0946c0708
Reviewed-on: http://review.typo3.org/9618
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[FEATURE] Add hook to tslib_fe->get_cache_timeout()
Fabrizio Branca [Mon, 27 Feb 2012 19:46:34 +0000 (20:46 +0100)]
[FEATURE] Add hook to tslib_fe->get_cache_timeout()

I'd like to have a hook here to influence the calculated cacheTimeout.

This could be used to have the cache lifetime of a page shortened if
there are objects on it with a shorter lifetimes.
(See #34299 and #34343)

Change-Id: I21aa08478f23fb9c6695fb6dfe403be143c98a4d
Resolves: #34346
Releases: 4.7, 4.6-backports, 4.5-backports
Reviewed-on: http://review.typo3.org/9614
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] PHP 5.4 adjustments
Markus Klein [Tue, 6 Mar 2012 10:42:54 +0000 (11:42 +0100)]
[TASK] PHP 5.4 adjustments

Small adjustments for PHP 5.4 compatibility.

Change-Id: I0ce1c8901a940980f2a753ee219fb6b01497cac8
Resolves: #34685
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9613
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] unlink issues warnings for lock files
Markus Klein [Sat, 3 Dec 2011 20:08:54 +0000 (14:08 -0600)]
[BUGFIX] unlink issues warnings for lock files

t3lib_lock issues warnings for non-existent lock files.

Change-Id: I069f6d9bdb6e84e7436e81b9fdf94d14ab6065ec
Fixes: #32282
Releases: 4.7, 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/9612
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[FEATURE] Add hook to stdWrap_cacheStore
Fabrizio Branca [Mon, 27 Feb 2012 19:36:14 +0000 (20:36 +0100)]
[FEATURE] Add hook to stdWrap_cacheStore

In issue #34299 caching for stdWrap was introduced.

With this patch I'd like to add a hook to the cacheStore method.
Using this patch cache handling can be refined. usecases are
- reuse provided tags for page tags
- memorize lifetimes so that the pages lifetime can be limited
to the shortest stdWrap lifetime

Change-Id: I8faecc465c04810259b335a2cb30ec5a5a6ae52f
Resolves: #34343
Releases: 4.7, 4.6-backports, 4.5-backports
Reviewed-on: http://review.typo3.org/9611
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Properly check disabled versioning within tcemain
Tolleiv Nietsch [Sat, 4 Feb 2012 08:53:31 +0000 (09:53 +0100)]
[BUGFIX] Properly check disabled versioning within tcemain

Setting $GLOBALS['TCA'][$table]['ctrl']['versioningWS'] = FALSE; isn't
fully working within tcemain because some isset() checks don't
look at the value atm.

Change-Id: I5cfca5fa73a7f30b56342052ef0193f21999bce1
Fixes: #33625
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9610
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] html5 rendering does handle non-xml documents
Steffen Ritter [Sun, 11 Mar 2012 09:29:43 +0000 (10:29 +0100)]
[BUGFIX] html5 rendering does handle non-xml documents

When selecting html5 in config.doctype and deactivating
config.xmlprologue = none the xmlns-attribute of <html> has
to be omitted and the xhtml-cleaning has to be deactivated.

Furthermore the non XML-Syntax of the charset meta-tag has to
be provided to the renderer.

Change-Id: I5b3d3fe084d745df2a1cc98c614ba1fff173a4db
Fixes: #34730
Releases: 4.8,4.7,4.6
Reviewed-on: http://review.typo3.org/9609
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] imagecopyresized: correct invalid parameters
Stefan Neufeind [Tue, 22 Nov 2011 13:37:25 +0000 (14:37 +0100)]
[BUGFIX] imagecopyresized: correct invalid parameters

The classes t3lib_stdgraphic and t3lib_iconworks provide
the method imagecopyresized. Those functions got parameters
$w, $h twice in the function-header and therefore the function
only worked in "special cases".

This patch also adds a docblock and improves the (internal)
naming of the variables.

Change-Id: Id43229caa3694e8859f9912946c963f907f92951
Fixes: #26660
Releases: 4.4, 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/9608
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Mail sending fails with quoted&encoded e-mail addresses
Dmitry Dulepov [Mon, 5 Mar 2012 10:21:18 +0000 (12:21 +0200)]
[BUGFIX] Mail sending fails with quoted&encoded e-mail addresses

Mail sending fails if the name in the e-mail address is quoted
but requires encoding to base64 or quoted-printable. The
t3lib_div::encodeHeader() function encodes the name without
taking quotation into account.

Change-Id: I17898d094c434c6284bc56640a067141f8e1ee7b
Resolves: #34526
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/9594
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 years ago[TASK] RTE: Update version to 2.3.0
Stanislas Rolland [Mon, 12 Mar 2012 17:47:02 +0000 (13:47 -0400)]
[TASK] RTE: Update version to 2.3.0

Update manual and NEWS.txt

Change-Id: Ia372c8bee7b31ac93bdf0739851f46489b043c03
Releases: 4.7
Reviewed-on: http://review.typo3.org/9593
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] Fatal error if xlf file has wrong format
Jigal van Hemert [Sat, 10 Mar 2012 09:25:51 +0000 (10:25 +0100)]
[BUGFIX] Fatal error if xlf file has wrong format

Check if there is a file->body element before trying to parse it
further.

Change-Id: I07c4f88199c7c8102ad5c02f19675a06f6c67b32
Fixes: #34473
Releases: 4.8, 4.7, 4.6
Reviewed-on: http://review.typo3.org/9592
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] process_datamap doesn't handle existing versions by itself
Bart Dubelaar [Fri, 27 Jan 2012 12:54:35 +0000 (13:54 +0100)]
[BUGFIX] process_datamap doesn't handle existing versions by itself

The process_datamap function in TCEmain expects to receive the ids
of the existing offline counterparts of a record whenever operations
are performed in a workspace. This implies that this has taken into
account in all places where the process_datamap function is called.
In some cases this is not properly done, see bug #32780 and related.
The process_cmdmap function does handle this transparently,
so it is desirable to have the same behavior in process_datamap.

This fix implements the translation to versioned records for operations
on a single record. Operations with child records (IRRE) still require
the versioned id's, no bugs are known that would require this behavior
to be changed.

Change-Id: I1e41172b0cc1e04a4822147f3c48ca272b69467c
Fixes: #32780
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9585
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] RTE: Adapt clickenlarge to rendering of custom attributes
Stanislas Rolland [Mon, 12 Mar 2012 16:58:02 +0000 (12:58 -0400)]
[BUGFIX] RTE: Adapt clickenlarge to rendering of custom attributes

Problem: This is a follow-up to #34371. Now that HTML5 custom
attributes are correctly rendered in frontend, the clickenlarge
feature needs to be adapted.

Change-Id: Ibe09c8724baa5dfb8b6a6f278fb39c080320d634
Resolves: #34764
Releases: 4.7, master
Reviewed-on: http://review.typo3.org/9583
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
7 years ago[BUGFIX] Multi-table relationship not recognized in t3lib_loadDBGroup
Markus Opahle [Wed, 22 Feb 2012 14:54:29 +0000 (15:54 +0100)]
[BUGFIX] Multi-table relationship not recognized in t3lib_loadDBGroup

If a multi-table relationship has $MM_oppositeFieldConf['allowed']=='*',
then it is not recognized as such one in t3lib_loadDBGroup::start().

Change-Id: Ifbf8a71af8a9d0a0636d8a2332999c402a717559
Resolves: #34148
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9580
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Keep hyphens in custom HTML5 attributes
Jigal van Hemert [Fri, 9 Mar 2012 19:52:39 +0000 (20:52 +0100)]
[BUGFIX] Keep hyphens in custom HTML5 attributes

In frontend rendering hyphens in custom attribute names must be kept.
Use the same regexp as in t3lib_parsehtml keeps allowed special
characters.

Change-Id: I6fe502ba377dc5a4828864561db0334d015b9dfc
Releases: 4.8, 4.7, 4.6, 4.5
Fixes: #34371
Reviewed-on: http://review.typo3.org/9561
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Mon, 12 Mar 2012 16:09:19 +0000 (17:09 +0100)]
[TASK] Raise submodule pointer

Change-Id: I0ba09f0923ea9526b422f719f6e84571fbf75eef
Reviewed-on: http://review.typo3.org/9578
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[BUGFIX] Suggest Wizard crashes in Frontend Editing
Dennis Ahrens [Tue, 20 Dec 2011 14:52:23 +0000 (15:52 +0100)]
[BUGFIX] Suggest Wizard crashes in Frontend Editing

As the backpath cannot be resolved, the JS dies.

Change-Id: Iae96a3d16ca3ede7392c85f2a9623dba7d083ea8
Fixes: #25079
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9545
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] redirect to referrer when changing password
Jigal van Hemert [Sun, 1 Jan 2012 22:05:47 +0000 (23:05 +0100)]
[BUGFIX] redirect to referrer when changing password

The referrer and referrerDomains redirect options must be ignored after
changing the password, otherwise you would end up on the page where the
change password form was displayed (which shows an error message now).
An extra option to ignore the referrer redirects is introduced for this.

Change-Id: Iebb5cd67b5d04fe169bdc4d5ec7f9c025a1f7004
Fixes: #21943
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/9544
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Resolving the correct preview domain
Thomas Layh [Wed, 7 Mar 2012 02:50:20 +0000 (03:50 +0100)]
[BUGFIX] Resolving the correct preview domain

Since the patch #30892 the backend login domain has a higher priority
than the first domain in the rootline.

Changed this behavior to work like in the older TYPO3 version.

Change-Id: Ib6be760eb2707fb0fbf7b3b37464ba9ef9eab744
Fixes: #34698
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9538
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[BUGFIX] Page within a mountpoint using Show Content from Page results in 503 header
Patrick [Mon, 5 Dec 2011 09:00:31 +0000 (10:00 +0100)]
[BUGFIX] Page within a mountpoint using Show Content from Page results in 503 header

When pages:content_from_pid is used, the TSFE for the current object will be cloned to a temporary object for the page to get the content from. In this temporary object, the id for the page will be changed to the contents of content_from_pid. However, the MP variable will not be changed.

This results in a TSFE object with the wrong MP variable connected to the id. Within this temporary object the rootline will be calculated, which will be empty, because of the wrong MP variable. This triggers the 503 header.

This bugfix fixes this by emptying the MP variable.

Change-Id: I380b33e6daf3d36a1799409f484cc2e75290681b
Fixes: #32292
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9543
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter