Packages/TYPO3.CMS.git
6 years ago[RELEASE] Release of TYPO3 6.0.0alpha3 54/13054/1 TYPO3_6-0-0alpha3
TYPO3 Release Team [Wed, 25 Jul 2012 19:32:35 +0000 (21:32 +0200)]
[RELEASE] Release of TYPO3 6.0.0alpha3

Change-Id: I99382411aa240f24f3f1554454cbc0ed791f004f

6 years ago[TASK] Raise submodule pointer
TYPO3 Release Team [Wed, 25 Jul 2012 18:49:24 +0000 (20:49 +0200)]
[TASK] Raise submodule pointer

Change-Id: Id268247e7fdea9fd857025b3ca7280e39fc5385e
Reviewed-on: http://review.typo3.org/13053
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[BUGFIX] Re-read extListArray in em at runtime
Christian Kuhn [Wed, 25 Jul 2012 09:40:36 +0000 (11:40 +0200)]
[BUGFIX] Re-read extListArray in em at runtime

The introduction package loads multiple extensions in one go through the
em API enableExtension(). The refreshGlobalExtList() method should reset
the extListArray to new values written to LocalConfiguration to
recognize if many extensions are loaded in one request.

Change-Id: Ieb4481e3d04a4407ba31f3c64f71c5fb5b03e344
Resolves: #39237
Related: #39112
Releases: 6.0
Reviewed-on: http://review.typo3.org/13038
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Exclude E_STRICT from errors with PHP 5.4
Philipp Gampe [Sat, 7 Jul 2012 15:14:45 +0000 (17:14 +0200)]
[BUGFIX] Exclude E_STRICT from errors with PHP 5.4

The main entry points have been refactored, but some places have been
forgotten leading to E_STRICT errors flooding the log.

Refactor all places to use the same code:
error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));

Change-Id: I5ba40bcefd236d77b21cdb545685bcae40e60f1f
Related: #35154
Fixes: #38691
Releases: 6.0
Reviewed-on: http://review.typo3.org/12689
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Fix 1-2-3(-4) wizard
Helmut Hummel [Tue, 24 Jul 2012 18:27:00 +0000 (20:27 +0200)]
[BUGFIX] Fix 1-2-3(-4) wizard

Due to the localconf.php refactoring the
install wizard is broken. This change fixes it.

Change-Id: I1e266a76c5cdbee140df47fd61a09a14c72be9b6
Releases: 6.0
Resolves: #39112
Reviewed-on: http://review.typo3.org/13028
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Remove debug statement for not existing classes
Anja Leichsenring [Mon, 23 Jul 2012 12:48:26 +0000 (14:48 +0200)]
[BUGFIX] Remove debug statement for not existing classes

Due to the removal of allowed class name prefix check,
all calls to t3lib_div::getUserObject cause a
debug statement for not found class in BE while editing content.
The debug statement is therefore removed.

Although silent failing is not nice, there is no other s
olution for now. In the long run we should deprecate
the whole method in several steps.

Change-Id: I407d5ee6020913b6c0538d1414ccb6514d72c71b
Fixes: #39191
Releases: 6.0
Reviewed-on: http://review.typo3.org/13001
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Oliver Klee
Reviewed-by: Sebastian Michaelsen
Tested-by: Sebastian Michaelsen
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Invalid fallback for non-localized labels
Xavier Perseguers [Tue, 24 Jul 2012 14:10:30 +0000 (16:10 +0200)]
[BUGFIX] Invalid fallback for non-localized labels

Whenever a record is not translated, Pootle exports the localization file
with only the "source" element and no "target" element.

Change-Id: Ib4b849abdeff4b045af7a7bcd8550719f814557f
Fixes: #39220
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/13020
Reviewed-by: Helmut Hummel
Reviewed-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
6 years ago[BUGFIX] YouTube videos can not be played with Media CE
Kai Vogel [Fri, 13 Jul 2012 11:31:27 +0000 (13:31 +0200)]
[BUGFIX] YouTube videos can not be played with Media CE

Since the rework of the media content element for TYPO3 4.7, YouTube
videos cannot be played anymore using the Media CE. This patch adds
an autodetection of urls which are handled by a media wizard and sets
correct video renderer type.

Tested with youtube, vimeo, myvideo, liveleak

Change-Id: I600d94eb60a7451873835142e2019ddfd39e8deb
Fixes: #37967
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/12782
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Nikolas Hagelstein
Tested-by: Nikolas Hagelstein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] stdWrap numRows fails due to wrong SELECT clause
Ernesto Baschny [Tue, 17 Jul 2012 16:03:03 +0000 (18:03 +0200)]
[BUGFIX] stdWrap numRows fails due to wrong SELECT clause

Exclude aggregate functions count(), sum(), max(),
min(), avg() in if statement inside
tslib_cObj::sanitizeSelectPart().

Change-Id: I5d8cd5f00472b417dad3c8790b1cc75f3cfd473a
Fixes: #34152
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/9158
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Alain
Tested-by: Alain
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
6 years ago[TASK] Add entry about name spaced class named to NEWS.txt
Anja Leichsenring [Sat, 21 Jul 2012 19:58:04 +0000 (21:58 +0200)]
[TASK] Add entry about name spaced class named to NEWS.txt

Change-Id: I9e2b6e154d2f2618adbe5a563723118eebbb8bbe
Reviewed-on: http://review.typo3.org/12983
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[-FEATURE] Remove restricted class prefixes
Anja Leichsenring [Sat, 21 Jul 2012 15:23:39 +0000 (17:23 +0200)]
[-FEATURE] Remove restricted class prefixes

Sometimes the core enforces classes to be prefixed with special names
like 'tx_' or 'user_', especially if they are loaded as user functions.
This constraint is in the core for a long time, but was already weakened
by for example the extbase code, and was only required at some arbitrary
points. The constraint itself does not make much sense, and is now
fully removed with this patch.
As an additional advantage, this patch eases the transition to
namespaced class names.

Notes:
- Remove configuration Setting '[sys][additionalAllowedClassPrefixes]'
- Update t3lib_registry to accept every namespace at least 2 chars long
- Adapt tests
- Remove and deprecate calls to t3lib_div::hasValidClassPrefix

Change-Id: I0ba4fd41beb5f05bf87a14d735bb83922d62b247
Resolves: #39164
Releases: 6.0
Reviewed-on: http://review.typo3.org/12976
Reviewed-by: Daniel Lorenz
Tested-by: Daniel Lorenz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer
TYPO3 Release Team [Sat, 21 Jul 2012 15:59:41 +0000 (17:59 +0200)]
[TASK] Raise submodule pointer

Change-Id: If17c9f726c9b19fae901deca9ebf4f6c6db1e658
Reviewed-on: http://review.typo3.org/12980
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[FEATURE] Make autoloader namespace aware - Part 2
Anja Leichsenring [Fri, 20 Jul 2012 14:55:02 +0000 (16:55 +0200)]
[FEATURE] Make autoloader namespace aware - Part 2

Add more tests to and move the namespace logic to
a more logical place.

Change-Id: I4907fdadfb04f27b74849ae6b42b52d55c6e8bd6
Resolves: #39158
Releses: 6.0
Reviewed-on: http://review.typo3.org/12971
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Make autoloader namespace aware
Anja Leichsenring [Fri, 20 Jul 2012 14:55:02 +0000 (16:55 +0200)]
[FEATURE] Make autoloader namespace aware

The autoloader will now recognize classnames with fully
qualified namespaces names. So, it is now possible to
autoload a class called '\Tx\ExtensionName\Foo\Bar' that is
located in 'extPath'/Classes/Foo/Bar.php.

Change-Id: I9b3f130ca201eee94b595c2eee6f64e1c9a63e93
Resolves: #39147
Releases: 6.0
Reviewed-on: http://review.typo3.org/12944
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Daniel Lorenz
Tested-by: Daniel Lorenz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Change @deprecated annotation to the correct version
Wouter Wolters [Wed, 18 Jul 2012 17:47:25 +0000 (19:47 +0200)]
[TASK] Change @deprecated annotation to the correct version

Change all @deprecated annotations to the correct version number.
Replace 4.8 -> 6.0 and 4.9 -> 6.1

Change-Id: Ia0b90f50a52619ff9965d206d2d22c947182cb80
Resolves: #39067
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/12895
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[CLEANUP] Typo in INSTALL.txt
Steffen Gebert [Fri, 20 Jul 2012 19:28:06 +0000 (21:28 +0200)]
[CLEANUP] Typo in INSTALL.txt

Change-Id: I2597cbec82e2dc61ab247cdff8b4ce9d19b2c231
Reviewed-on: http://review.typo3.org/12942
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Klee
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
6 years ago[BUGFIX] QT movies prefixed abusively in Media CE
Francois Suter [Tue, 17 Jul 2012 13:38:50 +0000 (15:38 +0200)]
[BUGFIX] QT movies prefixed abusively in Media CE

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

Change-Id: Ibe8b24da5fdf3689d841987f45e91c750a7a002c
Fixes: #39026
Releases: 6.0,4.7,4.6,4.5
Reviewed-on: http://review.typo3.org/12847
Reviewed-by: Francois Suter
Tested-by: Francois Suter
6 years ago[!!!][TASK] Remove old XCLASS compatibility layer
Christian Kuhn [Fri, 20 Jul 2012 13:18:09 +0000 (15:18 +0200)]
[!!!][TASK] Remove old XCLASS compatibility layer

The XCLASS handling that was changed with #31893 allows to register
XCLASS'es with an entry in ext_autoload. The patch introduced a
compatibility layer to support the old registration by guessing the
needed array key in TYPO3_CONF_VARS. This turns out to not work very
reliable and could only be fixed with a massive organizational and
performance overhead.

Therefore, this patch now drops the complete compatibility layer, so an
extension must be adapted to support the new scheme. This is ok, since
extension authors maintaining extensions with XCLASS'es are aware that
those classes already break frequently in the past, and were already
advised to request hooks in the long run.

Change-Id: I95a8bf986c94c784c69d4c4cc4a9c4645cd3fcc9
Resolves: #39128
Releases: 6.0
Reviewed-on: http://review.typo3.org/12926
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK][CLEANUP] Remove obsolete IPv6 test condition
Anja Leichsenring [Fri, 20 Jul 2012 12:49:24 +0000 (14:49 +0200)]
[TASK][CLEANUP] Remove obsolete IPv6 test condition

The defined('AF_INET6') in the t3lib_div ipv6 related methods tests
for availability of ipv6 support in php. This is by default enabled
on all platforms since php 5.3.
The fallback layer in t3lib_div did not work anyway and the unit
tests failed in this case. This fallback layer is now removed.

Change-Id: Id2618c33a3ab0d5daa7faa3fd42ec72d51974485
Resolves: #39125
Releases: 6.0
Reviewed-on: http://review.typo3.org/12925
Reviewed-by: Daniel Lorenz
Tested-by: Daniel Lorenz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX][FAL] isValidFilename() fails with broken PCRE
Christian Kuhn [Fri, 20 Jul 2012 12:22:50 +0000 (14:22 +0200)]
[BUGFIX][FAL] isValidFilename() fails with broken PCRE

Some php versions like debian squeeze 5.3.3 do not have proper unicode
support for PCRE enabled. In effect, character classes like [:alnum:]
do not contain unicode characters. Therefore, test
filenamesAreCorrectlyValidated with data set "filename with german
umlauts" fails on those systems.

The patch changes the according regex in t3lib_file_Driver_AbstractDriver
to other, fully supported character classes.

Change-Id: I49c9c2488536577ba77c5065e96a5ef4859e03da
Fixes: #39123
Releases: 6.0
Reviewed-on: http://review.typo3.org/12924
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Daniel Lorenz
Tested-by: Daniel Lorenz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Send sane HTTP response in showpic on error
Christian Kuhn [Wed, 18 Jul 2012 09:37:29 +0000 (11:37 +0200)]
[BUGFIX] Send sane HTTP response in showpic on error

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

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

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

Change-Id: I606937fa9953b88be5edf940201e0153223ae0e6
Fixes: #39052
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12867
Reviewed-by: Mario Rimann
Reviewed-by: Ernesto Baschny
Tested-by: Anja Leichsenring
Reviewed-by: Anja Leichsenring
Reviewed-by: Marcus Krause
Tested-by: Marcus Krause
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove record_list icon from Page module
Felix Kopp [Thu, 19 Jul 2012 22:20:08 +0000 (00:20 +0200)]
[TASK] Remove record_list icon from Page module

Removes the record_list icon from the docHeader in Page module.

This icon links from page to list module but does not bring the
backend to a consistent state. The module bar is e.g. not updated.

The decision to remove the icon was taken at UX sprint 2012.

Change-Id: I754a5840a244017986bcaca2ecd4bf16a63cb85e
Releases: 6.0
Resolves: #38828
Reviewed-on: http://review.typo3.org/12911
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[!!!][TASK] New local configuration handling
Helge Funk [Mon, 2 Jul 2012 16:25:32 +0000 (18:25 +0200)]
[!!!][TASK] New local configuration handling

This patch removes the file typo3conf/localconf.php and introduces
a new file called typo3conf/LocalConfiguration.php instead. The file
returns the local overrides of the TYPO3_CONF_VARS default array,
which is merged with the default array during bootstrap.

An upgrade wizard transfers the settings from localconf to the new
file. As an effect, the LocalConfiguration file is now fully under
core control. There must be no additional custom code in it. If an
instance needs such code, it can be added to a second file called
typo3conf/AdditionalConfiguration.php, which is executed as is
during bootstrap after LocalConfiguration was read.

This enables us to store the local configuration as an array,
exports the file with a clear schema.

Furthermore, the list of loaded extensions (extList) is now stored
as an array (extListArray). The old comma separated extList string is
still kept for now, but core usage is adapted to use extListArray. The
old extList string is still written and maintained, but is only kept
for extensions for backwards compatibility.

Important notes:
- Frontend, backend, cli and install tool must still come up, even
  if the upgrade wizard was not run, yet.
- The variables '$typo3_db_*' that where in localconf.php are now
  merged with the TYPO3_CONF_VARS. The upgrade wizard should find
  and transfer them.
- The settings in install tool -> Basic Configuration are currently
  broken. This would have made the patch even bigger, and must be
  fixed with an additional patch.
- It is advised to run the update wizard as soon as possible after
  this patch is merged, it will be the first wizard in the line.
- Some follow ups for dbal and probably workspaces are still needed.
- Currently the 1-2-3 install wizards are broken. The dummy and
  other packages need some love to adapt to the new handling.

If some of the above problems are not solved until 6.0
stabilizes, this patch needs to be reverted again.

Change-Id: I3bf6a176117f501946123b921b6d2f1932627270
Resolves: #38562
Release: 6.0
Reviewed-on: http://review.typo3.org/12519
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Call sanitizeLocalUrl only once in recordList
Dominique Feyer [Wed, 18 Jul 2012 13:53:49 +0000 (15:53 +0200)]
[TASK] Call sanitizeLocalUrl only once in recordList

recordList calls t3lib_div::sanitizeLocalUrl twice.
Store the result in a variable, so that one call is
enough.

Change-Id: I56a2d3b5ff0e75e4409829fbcc7db64ee98bec38
Resolves: #39060
Releases: 6.0
Reviewed-on: http://review.typo3.org/12874
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUG] FAL AdapterService fails with Fluid
Benjamin Mack [Mon, 16 Jul 2012 08:23:01 +0000 (10:23 +0200)]
[BUG] FAL AdapterService fails with Fluid

FAL introduced an adapterservice to migrate certain
fields to FAL style. The adapterservice uses type hinting
to suggest $row of tslib_content always to be an array.
However, when e.g. calling tslib_content from an
extension or Fluid, it is common to have $row
as NULL or empty, so the additional check
is removed.

Change-Id: I4b5f0231d3c8c2d9f3ec6d2f6a7a3a1b85775673
Resolves: #38977
Reviewed-on: http://review.typo3.org/12813
Reviewed-by: Michael Staatz
Tested-by: Michael Staatz
Reviewed-by: Ingmar Schlecht
Tested-by: Ingmar Schlecht
6 years ago[BUGFIX] FLUIDTEMPLATE - Serialization of 'Closure' is not allowed tmaroschik/namespaced_master
Oliver Hader [Thu, 3 May 2012 19:27:03 +0000 (21:27 +0200)]
[BUGFIX] FLUIDTEMPLATE - Serialization of 'Closure' is not allowed

When using FLUIDTEMPLATE and COA_INT or USER_INT on the same
level and partials are used in the Fluid template, then there
will be Closures. COA_INT and USER_INT are going to serialize
the cObj, which fails when a Closure shall be processed.

Since the Closures have been collected in $cObj->contentObjects
the fix is to use a cloned version of the cObj which does not
contain these contentObjects anymore for COA_INT and USER_INT.

Change-Id: I5c1f9b01caef1df5077955bd7fa6e879e41ca854
Fixes: #36820
Related: #32295
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/10979
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[TASK] Mention jQuery as external library in about section
Wouter Wolters [Sun, 15 Jul 2012 19:38:32 +0000 (21:38 +0200)]
[TASK] Mention jQuery as external library in about section

Mention jQuery as external library, that is used in the TYPO3
core

Change-Id: Ia6c93c35d27c96d4d8b670ac94417ecf1b46e6ca
Resolves: #38968
Releases: 6.0
Reviewed-on: http://review.typo3.org/12811
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] $_EXTKEY not available in global scope in ext_tables.php
Ingo Renner [Sun, 15 Jul 2012 13:12:13 +0000 (15:12 +0200)]
[BUGFIX] $_EXTKEY not available in global scope in ext_tables.php

Since changing the ext_tables.php handling to use the caching
framework $_EXTKEY is not available in global scope anymore.

This leads to issues when f.e. registering custom navigation
components through t3lib_extMgm::addNavigationComponent().

Explicitly setting $_EXTKEY global fixes the bug.

Change-Id: Iec822eb55abdd8c471cb2e13a0d26c099db39849
Fixes: #38964
Releases: 6.0
Reviewed-on: http://review.typo3.org/12807
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Add a unique request ID
Ingo Renner [Sat, 14 Jul 2012 14:18:59 +0000 (16:18 +0200)]
[FEATURE] Add a unique request ID

To allow grouping of log records belonging to a certain request,
a unique id per request is needed.

Change-Id: I76e279e3ebe22fa17b1ffdf9a57c037b75680b82
Resolves: #38954
Releases: 6.0
Reviewed-on: http://review.typo3.org/12792
Reviewed-by: Fabien Udriot
Reviewed-by: Wouter Wolters
Reviewed-by: Marcus Schwemer
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
6 years ago[FEATURE] Add categorization into the Core
Fabien Udriot [Fri, 6 Jul 2012 12:34:54 +0000 (14:34 +0200)]
[FEATURE] Add categorization into the Core

A common use case in every advanced website is to be able to
categorize records. Besides that, there is the need to share
categories across records. So far, each extension has to bring
its own category implementation which is not an ideal situation.

To fill the gap, we would like to introduce a new category record
type along with an API where extension developers could register
their own tables to be categorized. The relations will be stored
within "mm" tables as a less time consuming approach.

This patch provides:

* SQL definition for "sys_category" and "sys_category_mm" with
  their TCA
* a registration mechanism where third party extension can have
  their SQL fields + TCA generated on the fly. This is done by
  using the Extension Manager method:

t3lib_extMgm::makeCategorizable(
  $extensionKey, $tableName,
  $fieldName = 'categories', $options = array()
);

Change-Id: I461252b6d5f6c6c4a4eb2c1942a66250cbb95aa9
Resolves: #38711
Releases: 6.0
Reviewed-on: http://review.typo3.org/12672
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Dominik Mathern
Tested-by: Dominik Mathern
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[FEATURE] Add signal to process public URL of file
Benjamin Mack [Mon, 9 Jul 2012 21:14:57 +0000 (23:14 +0200)]
[FEATURE] Add signal to process public URL of file

By using the File Abstraction Layer (FAL), resources can be put
to remote storages like Amazon S3 or WebDAV. However, in those
cases a protected URI (containing user credentials) is used for
uploading which shall not be accessible for any user of course.

This change introduces the possibility to pre-process the public
URL generation and allows i.e. to substitute by an alternative
dispatcher URL.

Example for registering the slot:
$this->getSignalSlotDispatcher()->connect(
't3lib_file_Storage',
t3lib_file_Storage::SIGNAL_PreGeneratePublicUrl,
'Tx_MyExtension_HandlerSlot',
'preGeneratePublicUrl'
);

Change-Id: I9365831208dc90427aed29cff5672cc8ba5d6261
Resolves: #38821
Releases: 6.0
Reviewed-on: http://review.typo3.org/12732
Reviewed-by: Daniel Sattler
Tested-by: Daniel Sattler
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] accessibilityWrap ignores simple value
Jigal van Hemert [Mon, 9 Jul 2012 21:02:29 +0000 (23:02 +0200)]
[BUGFIX] accessibilityWrap ignores simple value

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

Change-Id: Ie9fa38f075eb5c4b9bfa4679f08bb325b9e177ac
Fixes: #38791
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/12728
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[TASK] Fix CGL violations against DoubleQuoteUsage
Wouter Wolters [Mon, 9 Jul 2012 18:56:24 +0000 (20:56 +0200)]
[TASK] Fix CGL violations against DoubleQuoteUsage

Fix CGL violations against DoubleQuoteUsage

Change-Id: I3924753fffe3e9ac43eef5fe97b2253c4dd5cf68
Resolves: #38819
Releases: 6.0
Reviewed-on: http://review.typo3.org/12727
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Fix CGL violations against SuperfluousWhitespace
Wouter Wolters [Mon, 9 Jul 2012 18:13:30 +0000 (20:13 +0200)]
[TASK] Fix CGL violations against SuperfluousWhitespace

Fix CGL violations against SuperfluousWhitespace

Change-Id: Icf4478f75a181a860e61a905bb2e6073766730b8
Resolves: #38814
Releases: 6.0
Reviewed-on: http://review.typo3.org/12722
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Fix CGL violations against SuperfluousWhitespace
Wouter Wolters [Mon, 9 Jul 2012 17:45:39 +0000 (19:45 +0200)]
[TASK] Fix CGL violations against SuperfluousWhitespace

Fix CGL violations against SuperfluousWhitespace

Change-Id: I4600d5584622701efd25a904455ead1257228605
Resolves: #38813
Releases: 6.0
Reviewed-on: http://review.typo3.org/12721
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Fix CGL violations against SuperfluousWhitespace
Wouter Wolters [Mon, 9 Jul 2012 17:23:33 +0000 (19:23 +0200)]
[TASK] Fix CGL violations against SuperfluousWhitespace

Fix CGL violations against SuperfluousWhitespace

Change-Id: I92ba1333015c6e1b58105f96691afe6515202c86
Resolves: #38800
Releases: 6.0
Reviewed-on: http://review.typo3.org/12720
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Cannot redeclare class bigDoc: move_el.php
Susanne Moog [Sun, 8 Jul 2012 18:25:52 +0000 (20:25 +0200)]
[BUGFIX] Cannot redeclare class bigDoc: move_el.php

The file move_el.php first requires init.php
and then template.php. As template.php was
already required by the autoloader during
initialization process this results in a
fatal error: Cannot redeclare...

The patch removes the require statement for
template.php

Change-Id: I096ecfb017f5ec78ac1be35d3bcd985d88b82a56
Fixes: #38763
Releases: 6.0
Reviewed-on: http://review.typo3.org/12712
Reviewed-by: Steffen Ritter
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[!!!][-FEATURE] Remove resources from TypoScript records
Georg Ringer [Fri, 2 Mar 2012 20:07:19 +0000 (21:07 +0100)]
[!!!][-FEATURE] Remove resources from TypoScript records

This patch drops the functionality that resources (like images)
can be uploaded and bound to TypoScript templates. This feature
was hardly ever used and is bloated through the core.

Change-Id: Ib4c0c107d10fb3dbe9b2ad02691df05709a14ae6
Resolves: #34471
Releases: 6.0
Reviewed-on: http://review.typo3.org/9322
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
6 years ago[BUGFIX] Fix FAL update wizards
Ingmar Schlecht [Sun, 8 Jul 2012 09:49:22 +0000 (11:49 +0200)]
[BUGFIX] Fix FAL update wizards

This patch fixes the update wizards, minor issues like the
relation count, the descriptions etc.

Change-Id: I84acfedcc673064b3f7842a8409ec99bda7c7af9
Resolves: #38749
Releases: 6.0
Reviewed-on: http://review.typo3.org/12705
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] Correct value for jQuery.noConflict = 0
Lars Peipmann [Sun, 8 Jul 2012 10:01:42 +0000 (12:01 +0200)]
[BUGFIX] Correct value for jQuery.noConflict = 0

When page.javascriptLibs.jQuery.noConflict was set to 0,
the page renderer API got "FALSE" for the parameter
"$namespace", but it expects a string or a constant.

Change-Id: Ib053d12371bace2b7b081b09f99f31a504879b08
Resolves: #38750
Relates: #38737
Reviewed-on: http://review.typo3.org/12706
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[CLEANUP] Make TCEforms sys_file header area localizable
Benjamin Mack [Sat, 12 May 2012 02:19:00 +0000 (21:19 -0500)]
[CLEANUP] Make TCEforms sys_file header area localizable

When editing a sys_file database record - the metadata
of a file - the header area is not localized, and the
CSS styles for the preview image are inline-written.
The change cleans this up by moving the labels in
a file and the CSS styles into the according t3skin
CSS file.

Change-Id: I177a46f210cbe90cd142f5236c33a754999d7bca
Releases: 6.0
Resolves: #37116
Reviewed-on: http://review.typo3.org/11151
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Klee
Reviewed-by: Ingmar Schlecht
Tested-by: Ingmar Schlecht
6 years ago[FEATURE] Add hook for TSFE fetch_the_id() post processing
Ingo Renner [Sun, 8 Jul 2012 09:15:45 +0000 (11:15 +0200)]
[FEATURE] Add hook for TSFE fetch_the_id() post processing

To clean up TSFE from frontend preview code a hook is needed
to post process the results of fetch_the_id()

Change-Id: I6d8cdfb5c44d33ca67144a5a5e1ac688342f20b8
Resolves: #38743
Releases: 6.0
Reviewed-on: http://review.typo3.org/12704
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Philipp Gampe
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
6 years ago[TASK] Fix CGL violations against ClassDocComment
Andy Grunwald [Sat, 7 Jul 2012 20:25:44 +0000 (22:25 +0200)]
[TASK] Fix CGL violations against ClassDocComment

Some violations against the ClassDocComment was
found in the UnitTests.

Change-Id: I55e4c1b21635d9ff905b1d9e6685dd1498c03aca
Fixes: #38738
Releases: 6.0
Reviewed-on: http://review.typo3.org/12700
Reviewed-by: Philipp Gampe
Reviewed-by: Oliver Klee
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Fix CGL violations against LogicalOperatorSpacing
Andy Grunwald [Sat, 7 Jul 2012 21:53:18 +0000 (23:53 +0200)]
[TASK] Fix CGL violations against LogicalOperatorSpacing

In the TYPO3 core and two system extensions, there are some
CGL violations against Squiz.WhiteSpace.LogicalOperatorSpacing.

Change-Id: I63d345b5a1f9024938574467f90d4d2662abe944
Fixes: #38740
Releases: 6.0
Reviewed-on: http://review.typo3.org/12701
Reviewed-by: Oliver Klee
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Enable default jQuery noConflict mode in page renderer
Helmut Hummel [Sat, 7 Jul 2012 19:36:48 +0000 (21:36 +0200)]
[TASK] Enable default jQuery noConflict mode in page renderer

If jQuery is included with TypoScript, it is not possible to enable
it with the default jQuery noConflict mode to just register "jQuery"
as a global variable.

Improve the page renderer to allow setting a custom namespace or to use
the default jQuery noConflict mode.

Change-Id: I83d427ed02505f4be30248234c605de901501f89
Resolves: #38737
Releases: 6.0
Reviewed-on: http://review.typo3.org/12699
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Having tt_content:image in a palette breaks IRRE Layout
Steffen Ritter [Sat, 7 Jul 2012 22:32:23 +0000 (00:32 +0200)]
[BUGFIX] Having tt_content:image in a palette breaks IRRE Layout

Palette fields are always inline, to sit in one line aside.
Therefore sizing is not possible. This has ugly effects on
IRRE wildly resizing on collapse/expand.
This does not make sense. Since image field is the only
field within that palette (relict from pre-FAL) remove the
wrapping palette.

Change-Id: I3e92a4c8706ab613834c95c12178d6905f963704
Releases: 6.0
Fixes: #38741
Reviewed-on: http://review.typo3.org/12703
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[FEATURE] Make "Record type" icons clickable in "group=db" elements
Soren Malling [Sat, 7 Jul 2012 17:14:09 +0000 (19:14 +0200)]
[FEATURE] Make "Record type" icons clickable in "group=db" elements

It would make sense to make the icons describing allowed record
type in a TCEforms element clickable.

This will create a filter, showing only the clicked record type

Change-Id: I02f2a21d03b7fe788039c6dfe245ace0b3bd5807
Fixes: #666
Releases: 6.0
Reviewed-on: http://review.typo3.org/12696
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Use lighter sorting icon on dark background
Helmut Hummel [Sat, 7 Jul 2012 14:51:50 +0000 (16:51 +0200)]
[BUGFIX] Use lighter sorting icon on dark background

Change f28bdc1 introduced new sorting icons for the list
and file list module. To further improve it, use light
arrows for the dark background in the file list module.

Additionally change the naming from "sort" to "sorting"

Change-Id: I5132e684ce461c61be097608f2d90f36f05528b9
Resolves: #11127
Releases: 6.0
Reviewed-on: http://review.typo3.org/12692
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[TASK] Refactor IRRE to meet new UI requirements
Steffen Ritter [Fri, 6 Jul 2012 16:26:46 +0000 (18:26 +0200)]
[TASK] Refactor IRRE to meet new UI requirements

The UI of IRRE should be adapted to be to the new designs.
In this matter we need to adapt the Collapse/Expand
behaviour which is now build wih jQuery.

Releases: 6.0

Resolves: #36052
Change-Id: I6ce22f9e147b03b9d9d630372ea221b5f5cddc86
Reviewed-on: http://review.typo3.org/12676
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Soren Malling
Tested-by: Soren Malling
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[TASK] Enable returning to CE in page module
Steffen Ritter [Sat, 7 Jul 2012 15:23:13 +0000 (17:23 +0200)]
[TASK] Enable returning to CE in page module

After editing a content element at the bottom of the page
module an editor always returns to the top of the page module.

The expected behaviour is to return to the previous CE.

Change-Id: Ifa7240bc22eea20a6e0ba3e4ac2342433fbad68f
Releases: 6.0
Fixes: #11227
Reviewed-on: http://review.typo3.org/12695
Reviewed-by: Ingmar Schlecht
Tested-by: Ingmar Schlecht
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[FEATURE] Include jQuery via TypoScript settings
Lars Peipmann [Thu, 5 Jul 2012 13:30:07 +0000 (15:30 +0200)]
[FEATURE] Include jQuery via TypoScript settings

Use function in page renderer to include jQuery via TypoScript settings
with options to change the version and source.

Change-Id: I7fc130bc5fc7ce5e27b8b58998af3406b26ce45d
Releases: 6.0
Resolves: #38678
Reviewed-on: http://review.typo3.org/12630
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[FEATURE] Add a hook to pre-process TSFE determineId()
Ingo Renner [Sat, 7 Jul 2012 15:16:21 +0000 (17:16 +0200)]
[FEATURE] Add a hook to pre-process TSFE determineId()

Just like there is a hook to post-process determineID(), there
should be a hook to pre-process the determination of the page ID.

This should be useful to extract f.e. page preview handling.

Change-Id: I17a2d15c5c7488a4ead5b88cfeb7a365cb124be1
Resolves: #38725
Releases: 6.0
Reviewed-on: http://review.typo3.org/12693
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Ingmar Schlecht
Tested-by: Ingmar Schlecht
6 years ago[TASK] Add "Save and new" button to alternative page language
Soren Malling [Sat, 7 Jul 2012 15:33:17 +0000 (17:33 +0200)]
[TASK] Add "Save and new" button to alternative page language

When translating a certain page to some languages,
it would be helpful to have the well-known "save and new" buttons :-)

Change-Id: I2a153ccc8c7dd97f304b7488ae17b1c1fc1e514a
Fixes: #5377
Releases: 6.0
Reviewed-on: http://review.typo3.org/12694
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Sort direction indicator in list module incorrect
Wouter Wolters [Sat, 7 Jul 2012 12:24:33 +0000 (14:24 +0200)]
[BUGFIX] Sort direction indicator in list module incorrect

Sort direction indicator in list module incorrect

Change-Id: Ic28c66d1563fd948dd10ecd8da3d4375caa6ae1a
Fixes: #11127
Releases: 6.0
Reviewed-on: http://review.typo3.org/12688
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Improve UI of readOnly in TCEforms
Steffen Ritter [Fri, 6 Jul 2012 11:45:30 +0000 (13:45 +0200)]
[TASK] Improve UI of readOnly in TCEforms

New Design of Jens for readOnly fields applied to TCEforms.

Change-Id: I3b7987aa795778c2b77be18e8e7f9410e16eaaf2
Releases: 6.0
Resolves: #36967
Reviewed-on: http://review.typo3.org/12670
Tested-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] RTE: Importing google webfonts breaks style sheet parsing
Stanislas Rolland [Thu, 5 Jul 2012 16:37:07 +0000 (12:37 -0400)]
[BUGFIX] RTE: Importing google webfonts breaks style sheet parsing

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

Change-Id: I4008e4475a6224331e0bc40ec2ebe2f8fa3cbf7d
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #36316
Reviewed-on: http://review.typo3.org/12646
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[BUGFIX] Words with special characters not added to personal dictionary
Stanislas Rolland [Fri, 6 Jul 2012 20:03:41 +0000 (16:03 -0400)]
[BUGFIX] Words with special characters not added to personal dictionary

Problem: Words containing special characters (f. e. German umlauts)
can´t be added to the user´s personal dictionary.
Solution: Work around Aspell issue.

Change-Id: I4382cabc8d4d5190d5c27a0bcdb4ab212b2855eb
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #38653
Reviewed-on: http://review.typo3.org/12679
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[BUG] t3lib_div::getFilesInDir order differs from order in File list
Benjamin Mack [Fri, 6 Jul 2012 08:58:54 +0000 (10:58 +0200)]
[BUG] t3lib_div::getFilesInDir order differs from order in File list

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

Change-Id: Ie748bc96d80ea284bfb9a5519b2769bba7aa8749
Resolves: #18771
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/12659
Reviewed-by: Karsten Madsen
Tested-by: Karsten Madsen
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[FEATURE] Add jQuery API to the pagerenderer
Benjamin Mack [Thu, 5 Jul 2012 12:46:30 +0000 (14:46 +0200)]
[FEATURE] Add jQuery API to the pagerenderer

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

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

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

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

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

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

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

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

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

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

Change-Id: I448b7c5e3dd73eeb037aba805406f429bb93461a
Releases: 6.0
Resolves:#38683
Reviewed-on: http://review.typo3.org/12638
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[BUGFIX] RTE spellcheck issue on Windows server
Stanislas Rolland [Thu, 5 Jul 2012 14:03:59 +0000 (10:03 -0400)]
[BUGFIX] RTE spellcheck issue on Windows server

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

Change-Id: I114f9fe38ff0261fffee41a95926ff042e058371
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #36438
Reviewed-on: http://review.typo3.org/12632
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[BUGFIX] Minor issues with scheduler progress bars
Ingo Renner [Thu, 5 Jul 2012 11:06:44 +0000 (13:06 +0200)]
[BUGFIX] Minor issues with scheduler progress bars

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

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

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

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

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

Remove code that was deprecated in TYPO3 4.6.

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

Remove PageTSConfig properties that were deprecated in TYPO3 4.6.

Change-Id: I22d3230134a85d36aa10ebe479cbcb156d4abb2e
Releases: 6.0
Resolves: #38618
Reviewed-on: http://review.typo3.org/12564
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[SECURITY] XSS in swfupload
Oliver Hader [Wed, 4 Jul 2012 08:30:40 +0000 (10:30 +0200)]
[SECURITY] XSS in swfupload

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

Change-Id: Id4ca67f9cf57888a007ff6c9a2363830869eb8e6
Fixes: #38578
Releases: 6.0, 4.7, 4.6, 4.5
Security-Bulletin: TYPO3-CORE-SA-2012-003
Reviewed-on: http://review.typo3.org/12594
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Raise submodule pointer
TYPO3 Release Team [Wed, 4 Jul 2012 08:56:59 +0000 (10:56 +0200)]
[TASK] Raise submodule pointer

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

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

Change-Id: I8d7203564401f0add45fbdbaa7e0b371d57e5b7d
Fixes: #38613
Releases: 6.0
Reviewed-on: http://review.typo3.org/12561
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Remove t3ver_swapmode code blocks
Oliver Hader [Tue, 3 Jul 2012 19:41:37 +0000 (21:41 +0200)]
[BUGFIX] Remove t3ver_swapmode code blocks

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

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

The solution is to remove all occurrences.

Change-Id: Ie729287cac07d6e5d3d88a23d1291f4d701b8ea4
Fixes: #38608
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/12553
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] IRRE records can't be expanded without an hidden field
Oliver Hader [Fri, 29 Jun 2012 16:41:41 +0000 (18:41 +0200)]
[BUGFIX] IRRE records can't be expanded without an hidden field

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

This regression has been introduced in issue #34303

Change-Id: If53182bf13a9d7d50479fe00561f3decbceb1fa2
Fixes: #37615
Related: #34303
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/11762
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] RTE: Enable dialogue window resizing in IE
Stanislas Rolland [Wed, 4 Jul 2012 02:06:48 +0000 (22:06 -0400)]
[BUGFIX] RTE: Enable dialogue window resizing in IE

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

Change-Id: Icdf93aa61c8b53f4a2a3d4c00db1969cedf2194e
Releases: 4.7, 6.0
Resolves: #38617
Reviewed-on: http://review.typo3.org/12562
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7
Stanislas Rolland [Tue, 3 Jul 2012 13:34:26 +0000 (09:34 -0400)]
[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7

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

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

This reverts commit 5e4d5cfcc7843c3278b2f07ac9d394405910f52d

Avoid reliance on order of style sheets.

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

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

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

Change-Id: Ie1de33df3520cb0560d9f2c1a4bdd629bc897c6c
Fixes: #38604
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12549
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7
Stanislas Rolland [Tue, 3 Jul 2012 13:34:26 +0000 (09:34 -0400)]
[BUGFIX] In IE9, RTE does not work correctly in compat modes IE8/IE7

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

Change-Id: I817658ef9338fc4cc35e4997102bfd5fd545b49e
Releases: 4.5, 4.6, 4.7, 6.0
Resolves: #38574
Reviewed-on: http://review.typo3.org/12534
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[TASK] Fix CGL violations against ClassDocComment
Wouter Wolters [Mon, 2 Jul 2012 21:02:31 +0000 (23:02 +0200)]
[TASK] Fix CGL violations against ClassDocComment

Fix CGL violations against ClassDocComment

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

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

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

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

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

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

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

Fix CGL violations against CharacterAfterPHPClosingTag

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

Fix CGL violations against InlineControlStructure

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

Fix CGL violations against SuperfluousWhitespace

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

Fix CGL violations against SuperfluousWhitespace

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

Fix CGL violation against Generic.CodeAnalysis.UnconditionalIfStatement

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

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

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

Fix CGL violations against InlineControlStructure

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

Fix CGL violations against InlineControlStructure

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Adjust the tests according to the change.

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

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

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

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

Add some speaking prefix to the identifier.

Change-Id: I12971d524489b2d31b07440867d6afbaef42d62c
Resolves: #38507
Releases: 6.0
Reviewed-on: http://review.typo3.org/12483
Reviewed-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel