Packages/TYPO3.CMS.git
7 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: Ia519150167c13e10e2320166c9872606ab6e666d
Fixes: #33497
Fixes: #34897
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/10404
Reviewed-by: Marco Huber
Tested-by: Marco Huber
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove old login labels
Christian Kuhn [Sat, 14 Apr 2012 14:11:25 +0000 (16:11 +0200)]
[TASK] Remove old login labels

The old login labels from TYPO3_CONF_VARS are deprecated since 4.6 and
scheduled for deletion in 6.0

Change-Id: I36d2c27e48b35b8ae67f1b2ab6abddd33676226c
Resolves: #36043
Releases: 6.0
Reviewed-on: http://review.typo3.org/10471
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove constant TYPO3_UseCachingFramework
Christian Kuhn [Sat, 14 Apr 2012 13:45:19 +0000 (15:45 +0200)]
[TASK] Remove constant TYPO3_UseCachingFramework

Change-Id: Ibf08755746bb7fdb629bd9d0e1890cec2266e40f
Resolves: #36037
Releases: 6.0
Reviewed-on: http://review.typo3.org/10468
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Raise extbase submodule pointer
Christian Kuhn [Sat, 14 Apr 2012 13:39:48 +0000 (15:39 +0200)]
[TASK] Raise extbase submodule pointer

Change-Id: I298ba8836917cc164e8d53f5831963e5402f1717
Reviewed-on: http://review.typo3.org/10467
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Raise workspaces submodule pointer
Christian Kuhn [Sat, 14 Apr 2012 13:34:19 +0000 (15:34 +0200)]
[TASK] Raise workspaces submodule pointer

Change-Id: I3328304ef5919ba64a85e7eb416c4f997794d6a9
Reviewed-on: http://review.typo3.org/10466
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove deprecated $GLOBALS['TYPO_VERSION']
Christian Kuhn [Sat, 14 Apr 2012 12:11:38 +0000 (14:11 +0200)]
[TASK] Remove deprecated $GLOBALS['TYPO_VERSION']

Change-Id: Ibd4d6f5fe55011b338fd1e982744319e67582599
Resolves: #36032
Releases: 6.0
Reviewed-on: http://review.typo3.org/10458
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[CLEANUP] Remove commented code
Christian Kuhn [Sat, 14 Apr 2012 11:27:27 +0000 (13:27 +0200)]
[CLEANUP] Remove commented code

Don't read it, delete it.

Change-Id: Iff7ab4cc9af5265bef087bd9232319059a29210e
Releases: 6.0
Reviewed-on: http://review.typo3.org/10457
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove t3lib_div::intInRange()
Christian Kuhn [Sat, 14 Apr 2012 10:48:33 +0000 (12:48 +0200)]
[TASK] Remove t3lib_div::intInRange()

The method is scheduled for deletion in 6.0 but was still used in the core.
The patch adapts the usages and removes intInRange.

Change-Id: Id4724c566f61c5a7238ea29be6f385bdc99d8876
Resolves: #36029
Releases: 6.0
Reviewed-on: http://review.typo3.org/10454
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Add note on EXT:simulatestatic to NEWS.txt
Christian Kuhn [Sat, 14 Apr 2012 10:11:05 +0000 (12:11 +0200)]
[TASK] Add note on EXT:simulatestatic to NEWS.txt

Change-Id: I13ef4c0a0a8d306ab83c2760628b3a6dc8040c16
Related: #25099
Releases: 6.0
Reviewed-on: http://review.typo3.org/10451
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[CLEANUP] Remove simulate static from Core
Markus Klein [Fri, 13 Apr 2012 17:05:13 +0000 (19:05 +0200)]
[CLEANUP] Remove simulate static from Core

This patch removes the old simulate_static system extension.
Since tslib_fe still contains idPartsAnalyze(), which is a relict of
simulate static methods, this method also removed.

Change-Id: I3631909fe6a77fd0861e7be5acdb6f3bf82fdb42
Resolves: #25099
Releases: 6.0
Reviewed-on: http://review.typo3.org/9132
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove t3lib_BEDisplayLog
Christian Kuhn [Fri, 13 Apr 2012 13:19:02 +0000 (15:19 +0200)]
[TASK] Remove t3lib_BEDisplayLog

Change-Id: I3add6b6fae1d559527f7e0bed8d1f480adf3983d
Resolves: #35968
Releases: 6.0
Reviewed-on: http://review.typo3.org/10403
Reviewed-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Add stdWrap to cObject USER.
Roland Waldner [Fri, 30 Mar 2012 07:06:09 +0000 (09:06 +0200)]
[FEATURE] Add stdWrap to cObject USER.

Change-Id: I115b6a9674ff824ea6289f3882efa3350724c8a3
Fixes: #35305
Releases: 6.0
Reviewed-on: http://review.typo3.org/9966
Reviewed-by: Philipp Gampe
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
7 years ago[TASK] Add note on removed doNotLoadInFE flag to NEWS.txt
Christian Kuhn [Fri, 13 Apr 2012 13:05:11 +0000 (15:05 +0200)]
[TASK] Add note on removed doNotLoadInFE flag to NEWS.txt

Change-Id: If95843c55aaf3dc7eebafe190210f6487a0ca7eb
Related: #35877
Reviewed-on: http://review.typo3.org/10400
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Add note on required extbase and fluid to NEWS.txt
Christian Kuhn [Fri, 13 Apr 2012 12:35:59 +0000 (14:35 +0200)]
[TASK] Add note on required extbase and fluid to NEWS.txt

Change-Id: Ib1f1c38ecaf0f8122e7a5e6f57e12aa0dc0b10a5
Related: #20634
Reviewed-on: http://review.typo3.org/10399
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Clean-up NEWS.txt for TYPO3 6.0
Christian Kuhn [Fri, 13 Apr 2012 12:24:09 +0000 (14:24 +0200)]
[TASK] Clean-up NEWS.txt for TYPO3 6.0

Change-Id: If2f8c1c306027a9547038f634155b45e25b60acb
Reviewed-on: http://review.typo3.org/10398
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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: I207fd879d55412f97c93ed1bee25d8283f4f6d6c
Fixes: #34923
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/9693
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Extbase Bootstrap not overwritable
Felix Oertel [Fri, 13 Apr 2012 09:55:05 +0000 (11:55 +0200)]
[BUGFIX] Extbase Bootstrap not overwritable

In mod.php the bootstrap is instanciated without using the
objectManager, thus it's not possible to overwrite it.

Change-Id: I4720172ef4b602fdb31c3a58112c03f0d6673db2
Fixes: #35955
Releases: 6.0
Reviewed-on: http://review.typo3.org/10387
Reviewed-by: Oliver Klee
Tested-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Improve rendering of CE in page module
Georg Ringer [Thu, 12 Apr 2012 08:08:30 +0000 (10:08 +0200)]
[FEATURE] Improve rendering of CE in page module

Rendering of content elements in page module can be
improved by making it easier and streamline it. See
details in issue.

Change-Id: I7ff5ddbdf443babaa76807beb759c07b32870690
Resolves: #35887
Releases: 6.0
Reviewed-on: http://review.typo3.org/10318
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
7 years ago[BUGFIX] Remove "create new content element" in docheaders
Felix Kopp [Fri, 9 Mar 2012 23:18:38 +0000 (00:18 +0100)]
[BUGFIX] Remove "create new content element" in docheaders

Removes icon in docheader in page backend module to create new
content element. That icon is present in content columns.

Change-Id: I207440ae2a5ba566a1f10203f60a107d74cca3e1
Fixes: #10307
Releases: 4.7, 4.8
Reviewed-on: http://review.typo3.org/9529
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Max Roesch
Tested-by: Max Roesch
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Remove deprecated code for 6.0
Christian Kuhn [Thu, 12 Apr 2012 10:03:46 +0000 (12:03 +0200)]
[TASK] Remove deprecated code for 6.0

Removes all deprecated methods and files that are unused in core and scheduled
for deletion in 4.8 / 6.0. Some more complicated parts are left out for now.

Change-Id: I03e236cedfbfa666d9b6f83848b11bb0977cdff0
Resolves: #35923
Releases: 6.0
Reviewed-on: http://review.typo3.org/10361
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] TYPO3 List view not styleable
Daniel Pötzinger [Thu, 12 Apr 2012 17:41:57 +0000 (19:41 +0200)]
[FEATURE] TYPO3 List view not styleable

The good old list view has a lot of sections
(search, dashboard, checkboxes) and they are wrapped
in divs without classes or no divs at all.
 That makes it hard to give it a nicer view in the skin.

This patch added some div wraps and additional classes
(in preparation to have the possibility to add some CSS in the default skin for this)

Change-Id: Ie666e5ab91193920198159b8297ba7bb2e2e00ce
Resolves: #35913
Releases: 6.0
Reviewed-on: http://review.typo3.org/10355
Reviewed-by: Georg Ringer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
7 years ago[BUGFIX] Pagetree should expand to the last selected node
Stefan Galinski [Thu, 12 Apr 2012 13:51:39 +0000 (15:51 +0200)]
[BUGFIX] Pagetree should expand to the last selected node

The patch integrates the expansion to the last selected node
at least for the following functions:
- selected node of the filtering tree
- OpenDocs
- Shortcuts (if possible)
- Live Search

Fixes: #25006
Fixes: #33853
Releases: 6.0, 4.7, 4.6, 4.5

Change-Id: I1a47bedd10a37a8931ccd50c7fd119399834d909
Reviewed-on: http://review.typo3.org/10357
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Wouter Wolters
Tested-by: Marcus Schwemer
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
7 years ago[TASK] Set TYPO3 version to 4.7-dev
TYPO3 v4 Release Team [Thu, 12 Apr 2012 20:26:28 +0000 (22:26 +0200)]
[TASK] Set TYPO3 version to 4.7-dev

Change-Id: I65c14835c847bd20380a25c83f0d0404e86256e0
Reviewed-on: http://review.typo3.org/10375
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[RELEASE] Release of TYPO3 4.7.0rc1
TYPO3 v4 Release Team [Thu, 12 Apr 2012 20:26:20 +0000 (22:26 +0200)]
[RELEASE] Release of TYPO3 4.7.0rc1

Change-Id: I3c937eb15972540a6005b5057cd8685c2345695b
Reviewed-on: http://review.typo3.org/10374
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Thu, 12 Apr 2012 20:23:45 +0000 (22:23 +0200)]
[TASK] Raise submodule pointer

Change-Id: I5423372482cbe52161b6e5f38a428a5a5f4ed754
Reviewed-on: http://review.typo3.org/10373
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 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: Idf1dd379cfe273acaaca50589169d682cc13a766
Resolves: #32581
Releases: 4.8, 4.7, 4.6
Reviewed-on: http://review.typo3.org/9547
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 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: Ic2c1ee29807c1a87202cd78635d4fbc4bf60848a
Resolves: #25869
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/1648
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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: I2197b88fae4e90d8c5ceaa0f983f43ef1388ed02
Fixes: #35202
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10187
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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/9860
Tested-by: Francois Suter
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
7 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: Ib8cae2dfab5d9d638d481aa91b129f44fb0eaa01
Resolves: #35905
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/10341
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Signal-Slot Disposal fails in File Abstraction Layer
Oliver Hader [Thu, 12 Apr 2012 11:35:52 +0000 (13:35 +0200)]
[BUGFIX] Signal-Slot Disposal fails in File Abstraction Layer

Due to the recent clean-up of the Signal-Slot-Dispatcher
(t3lib vs. Extbase), the File Abstraction Layer still needs
to be adjusted.

Change-Id: I3982f665959edfd2cb84060d7f82d8c611758df2
Releases: 6.0
Fixes: #35899
Reviewed-on: http://review.typo3.org/10329
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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: I12e03ce182cda6d6f4b4a6da650f0c17327188a5
Resolves: #35901
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10336
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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: I9891a4e571be6f99d86d335dd8bf1786fac87d1e
Resolves: #35897
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10328
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove doNotLoadInFE
Christian Kuhn [Wed, 11 Apr 2012 20:02:55 +0000 (22:02 +0200)]
[TASK] Remove doNotLoadInFE

The doNotLoadInFE handling was created to speed up the frontend by
not loading ext_tables files of extensions that are not relevant
in frontend context. In practice the effect is marginal, uglifies
the code adds not necessary context complexity. Furthermore the
TER was never able to handle the doNotLoadInFE value and removed it.
The whole handling is removed with the patch.

Change-Id: Icd68353bbb63decd08a86b686da3642f77317f40
Resolves: #35877
Releases: 6.0
Reviewed-on: http://review.typo3.org/10279
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
7 years ago[BUGFIX] EXT:belog does not resolve workspace names
Christian Kuhn [Thu, 12 Apr 2012 09:42:51 +0000 (11:42 +0200)]
[BUGFIX] EXT:belog does not resolve workspace names

Change-Id: I35693a6fcb66e3d4ef441e045d101cda072e16d1
Resolves: #12545
Releases: 6.0
Reviewed-on: http://review.typo3.org/10324
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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: I406a2381771e91c119240347d0d0444844a2fc0a
Releases: 6.0, 4.7
Resolves: #35854
Reviewed-on: http://review.typo3.org/10252
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 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: I963a74aa3e1ab6d2de95ade903470be71af5c2d4
Fixes: #33357
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10259
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 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.

Fixes: #35814

Change-Id: I2d1532b986054b8ae250d8ce6cab5b67c61a6c5d
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10256
Reviewed-by: Berit Jensen
Tested-by: Berit Jensen
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 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: I6bb9ad7010a633f259da103f71f404592194f743
Fixes: #35847
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10229
Reviewed-by: Oliver Klee
Tested-by: Oliver Klee
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
7 years ago[TASK] Remove install tool fluid / extbase upgrade wizard
Christian Kuhn [Wed, 11 Apr 2012 14:01:26 +0000 (16:01 +0200)]
[TASK] Remove install tool fluid / extbase upgrade wizard

Since extbase and fluid are required extensions now, the
upgrade wizard that installed those two is obsolete.

Change-Id: I8055665355f2ac7726c8803824741d2dd3277f3d
Resolves: 35860
Releases: 6.0
Reviewed-on: http://review.typo3.org/10246
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Make extbase and fluid required extensions
Christian Kuhn [Wed, 11 Apr 2012 13:36:43 +0000 (15:36 +0200)]
[TASK] Make extbase and fluid required extensions

Change-Id: I5a835a27b7f4e2a2301365b5c61aece765c564aa
Resolves: #20634
Releases: 6.0
Reviewed-on: http://review.typo3.org/10243
Reviewed-by: Wouter Wolters
Reviewed-by: Rens Admiraal
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 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: I52341366fab6231a78acd394c09bfa67de1108e9
Fixes: #35023
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9763
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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/10232
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 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: I3ffc0639d61f76bb6c72a96fb4fd2908e38a0268
Fixes: #35003
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9739
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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/10226
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 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: Ia0a967f562a2a58655b9db0419654c36e7092a05
Fixes: #35017
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9753
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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: I6b86c3bdb071af06b2c64b8cbbc977e9387408c8
Fixes: #35019
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9754
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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/10219
Tested-by: Anja Leichsenring
Reviewed-by: Oliver Klee
Reviewed-by: Anja Leichsenring
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 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
Reviewed-on: http://review.typo3.org/10221

7 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
Reviewed-on: http://review.typo3.org/10223

7 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: I41008125706f51104ff5ddf16786f0d7a71cf2af
Fixes: #18901
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/7514
Reviewed-by: Oliver Klee
Reviewed-by: Sebastian Michaelsen
Tested-by: Sebastian Michaelsen
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] Add method to convert integer to version number
Michael [Tue, 10 Apr 2012 14:02:56 +0000 (16:02 +0200)]
[FEATURE] Add method to convert integer to version number

Change-Id: I99863cca2d9e8b2add3292a8570cefb03a960af1
Resolves: #35822
Releases: 6.0
Reviewed-on: http://review.typo3.org/10210
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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: I433853d3587b082e51c7c855f9461e9c861e28d5
Release: 4.7, 4.8
Fixes: #632
Reviewed-on: http://review.typo3.org/9789
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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: I5fd6b927e233c0deefe13c0885ad6ebfe946a41c
Fixes: #35104
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/10116
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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: I925aba612e49c392f30368136089c640a2b8198f
Fixes: #35257
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9955
Reviewed-by: Philipp Gampe
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Migrate ext:belog to extbase
Christian Kuhn [Tue, 13 Mar 2012 07:09:22 +0000 (08:09 +0100)]
[TASK] Migrate ext:belog to extbase

Change-Id: I1d61119394d00417a9a033f25146fc0d5096d853
Resolves: #34772
Releases: 6.0
Reviewed-on: http://review.typo3.org/9729
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 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: Id5db3a209903978979eba971f7f53180a850289a
Releases: 6.0, 4.7, 4.6, 4.5
Fixes: #34695
Reviewed-on: http://review.typo3.org/10192
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 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: I24eac1c343b662b2757c2c69ec1dd749b5ece344
Releases: 6.0, 4.7
Fixes: #35694
Reviewed-on: http://review.typo3.org/10157
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
7 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: I54c19a2c6bc3e0b847ffa0bf19991a5936c0cba1
Resolves: #35495
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/10114
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
7 years ago[FEATURE] Insert hook into form wizard view
Franz Geiger [Sun, 11 Mar 2012 20:58:50 +0000 (21:58 +0100)]
[FEATURE] Insert hook into form wizard view

Introduces a hook in tx_form_View_Wizard_Wizard. This hook
allows extending the wizard interface by loading extending
resources. The hook is executed after all other resources have
been loaded and just before content rendering.

Use it by adding your function to the array
$TYPO3_CONF_VARS['EXTCONF']['form']['hooks']['renderWizard']

Change-Id: I4fc22d5044d2808a9dbdb5ea9b256c2427987030
Resolves: #34711
Releases: 6.0
Reviewed-on: http://review.typo3.org/9559
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[BUGFIX] Make alphabetic filter work with umlauts
Andreas Lappe [Wed, 28 Mar 2012 17:01:20 +0000 (19:01 +0200)]
[BUGFIX] Make alphabetic filter work with umlauts

Changes the regular expression used to validate the string into a
unicode-aware character-class and adds two testcases for this.

Change-Id: I247437d9e722c4656ddab0dd2e2ef6a960837cff
Fixes: #35296
Releases: 4.5, 4.7, 6.0
Reviewed-on: http://review.typo3.org/10066
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 years ago[BUGFIX] Make alphanum. filter work with umlauts
Andreas Lappe [Wed, 28 Mar 2012 16:57:15 +0000 (18:57 +0200)]
[BUGFIX] Make alphanum. filter work with umlauts

Changes the regular expression used to validate the string into a
unicode-aware character-class and adds two tests for this.

Change-Id: I8cb83376ec3a029a0729cf950d385518746904b4
Fixes: #35284
Releases: 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/10065
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
7 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/9827
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Sebastian Fischer
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
7 years ago[!!!][SECURITY] XSS in filelink element
Georg Ringer [Wed, 28 Mar 2012 11:56:54 +0000 (13:56 +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: Id9da65e927080db4e548811f9a82e0cf7e88e214
Fixes: #25246
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/7236
Security-Commit: a4006c10b5ac505a951131bbe3166a4271c62268
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10038
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] Information disclosure showing DB name
Georg Ringer [Wed, 28 Mar 2012 11:56:49 +0000 (13:56 +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: Iac35d41ec7953fe14311b3bb619cc137389566fc
Fixes: #29060
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/9936
Security-Commit: 4953abf5d8e3c5eeeb60f5a8dcd919985f063ab3
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10037
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] XSS in show item
Christian Kuhn [Wed, 28 Mar 2012 11:56:43 +0000 (13:56 +0200)]
[SECURITY] XSS in show item

Change-Id: Ia6a5d5d6d350eee0a440a4ce8299f2a483bed58d
Fixes: #29397
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Review: http://review.typo3.org/9935
Security-Commit: 582a55d38d48c24d6e04fc7d213f0d74644ab689
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10036
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] Missing escaping for sys_notes
Georg Ringer [Wed, 28 Mar 2012 11:56:38 +0000 (13:56 +0200)]
[SECURITY] Missing escaping for sys_notes

sys_notes misses an escaping in info module

Change-Id: If420168807f609709a767c7fb1d6a4d504d277f8
Fixes: #22748
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Commit: 31c4fdb3c3c9fe9d1a28fd13ca69f8b97d15459e
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10035
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] Missing escaping in scheduler
Georg Ringer [Wed, 28 Mar 2012 11:56:31 +0000 (13:56 +0200)]
[SECURITY] Missing escaping in scheduler

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

Change-Id: I882d167f55b813f7f20beba48ee09792acec4935
Fixes: #24474
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Commit: 68a9d5c2de0b6d466373cdde07fef03161bfa2de
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10034
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] XSS in BE file list
Christian Kuhn [Wed, 28 Mar 2012 11:56:26 +0000 (13:56 +0200)]
[SECURITY] XSS in BE file list

Change-Id: I772490b260eb06e714ec57cdf75a6166f53eaea1
Fixes: #30940
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Commit: dbed57cf912b792ae694ce4c6092a1900da9904b
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10033
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[SECURITY] XSS in be_layouts
Georg Ringer [Wed, 28 Mar 2012 11:56:21 +0000 (13:56 +0200)]
[SECURITY] XSS in be_layouts

Some values from the backend layout configuration
are not properly escaped

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

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

Change-Id: I7005a7fbea98f224eab10cc639d6008d56adb2f6
Fixes: #30188
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Security-Commit: 5c4076c527bb91f1232ed490eff779f78f89402b
Security-Bulletin: TYPO3-CORE-SA-2012-001
Reviewed-on: http://review.typo3.org/10030
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Wed, 28 Mar 2012 11:50:15 +0000 (13:50 +0200)]
[TASK] Raise submodule pointer

Change-Id: Id625eb9cc310f979899b3bd81d6eb43740825368
Reviewed-on: http://review.typo3.org/9989
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
7 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: I2cd1ca612671aa8ff74599ccf7dd343ae6d86fa8
Fixes: #35260
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9891
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Francois Suter
Tested-by: Francois Suter
7 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: I59c3366de1d7326c8da899d7f48a6125149c6b1f
Fixes: #35272
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9896
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
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/9899
Reviewed-by: Dmitry Dulepov
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
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: I1862bfe0ecb3e3a1de8ae789a50f9eb6cfd9071b
Resolves: #35161
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/9817
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
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/9028
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
7 years ago[TASK] Set TYPO3 version to 6.0-dev
Oliver Hader [Tue, 27 Mar 2012 12:50:47 +0000 (14:50 +0200)]
[TASK] Set TYPO3 version to 6.0-dev

Change-Id: I14e2ab3e462556ee2d6181660a3aedd506cc4b53
Releases: 6.0
Reviewed-on: http://review.typo3.org/9907
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
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/9747
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
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/9851
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Oliver Klee
Reviewed-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
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: I82f8d3fabdda8e882087e80d3d8361a9be1b9c51
Fixes: #35176
Releases: 6.0, 4.7, 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/9855
Reviewed-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[TASK] Remove "Disable Popup Context Menus" option
Steffen Gebert [Sat, 17 Dec 2011 11:27:56 +0000 (12:27 +0100)]
[TASK] Remove "Disable Popup Context Menus" option

This option in the User Settings is totally useless, as there aren't
any troubles with modern browsers and this feature anymore.

Change-Id: I27f1796b8e787aec9a673eaf3220115054711000
Resolves: #24584
Releases: 4.8
Reviewed-on: http://review.typo3.org/7334
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
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: I18cbebc0b22ae5a7318673ed8abd2bd01003ba57
Fixes: #33718
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/8867
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
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: Iafa34e5c40105879afc58fe793bb61086dd19526
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
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/9169
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
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/3391
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[FEATURE] Group task list in scheduler by extension
Philipp Gampe [Mon, 19 Mar 2012 19:22:01 +0000 (20:22 +0100)]
[FEATURE] Group task list in scheduler by extension

To make the long drowdown more readable, group the task list in
schedular (Add Task) by extension and add the description as title
to the corresponding option tag.

Change-Id: Ida7d85298df776c1f604c931aee49bf4f65cd796
Resolves: #35020
Releases: 4.8
Reviewed-on: http://review.typo3.org/9755
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
7 years ago[FEATURE] Styling t3editor for "HTML" configurable
Georg Ringer [Tue, 20 Mar 2012 07:19:39 +0000 (08:19 +0100)]
[FEATURE] Styling t3editor for "HTML" configurable

The styling of t3editor should be configurable for
the content element "HTML". This makes it possible
to use e.g. a custom height

Change-Id: I64cde4382cc1e3b3e2185c52381d538aeb721698
Resolves: #34548
Releases: 4.8
Reviewed-on: http://review.typo3.org/9758
Reviewed-by: Philipp Gampe
Reviewed-by: Tobias Liebig
Tested-by: Tobias Liebig
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: If2a6f291bd8839d1b7a2a617a192fe1d175f7cde
Resolves: #34771
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9757
Reviewed-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
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: Iaaa8895bf2ccfcf875b32e3d0773c111672e80ae
Releases: 4.8, 4.7, 4.6, 4.5
Resolves: #32756
Reviewed-on: http://review.typo3.org/9732
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
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/9536
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Oliver Klee
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
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.

Change-Id: I845c3f617808235575d3af761e36ad188379c1b0
Resolves: #30847
Releases: 4.5, 4.6,4.7, master
Reviewed-on: http://review.typo3.org/6360
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: If95166c985499ded9764e6f7d6df224110580d95
Fixes: #34662
Releases: 4.5, 4.6, 4.7, 4.8
Reviewed-on: http://review.typo3.org/9643
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Oliver Klee
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
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/8848
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
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/8837
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Sebastian Fischer
7 years ago[TASK] Raise submodule pointer
TYPO3 v4 Release Team [Tue, 13 Mar 2012 15:15:11 +0000 (16:15 +0100)]
[TASK] Raise submodule pointer

Change-Id: I6e7260fcb33f79f81ad2dbc4ae2da23130a009e6
Reviewed-on: http://review.typo3.org/9619
Reviewed-by: TYPO3 v4 Release Team
Tested-by: TYPO3 v4 Release Team
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/2564
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
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/9537
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Stefan Neufeind
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/8836
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
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/9264
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Daniel Poetzinger
Tested-by: Daniel Poetzinger
Reviewed-by: Simon Schaufelberger
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter