Packages/TYPO3.CMS.git
6 years ago[TASK] adjust LegacyClassesForIde
Anja Leichsenring [Fri, 9 Nov 2012 07:31:08 +0000 (08:31 +0100)]
[TASK] adjust LegacyClassesForIde

The class extbase/Reflection/Service is renamed to
extbase/Reflection/ReflectionService, so the LegacyClassesForIde
must be adjusted accordingly.

Resolves: #42810
Relates: #42808,#42809
Releases: 6.0

Change-Id: Iecd47910ed6708fcde06b4ab25c73d8cbea9f44f
Reviewed-on: http://review.typo3.org/16343
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Raise submodule pointer
Christian Kuhn [Mon, 19 Nov 2012 20:17:24 +0000 (21:17 +0100)]
[TASK] Raise submodule pointer

Change-Id: If47b70fb9183b9a36f88a8908ec455de7d1e7fa4
Reviewed-on: http://review.typo3.org/16582
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove not needed require for language service
Helmut Hummel [Mon, 19 Nov 2012 19:24:17 +0000 (20:24 +0100)]
[TASK] Remove not needed require for language service

The Bootstrap still contains a require statement
for the language service, which can now perfectly be
loaded by the autoloader.

Resolves: #43115
Releases: 6.0

Change-Id: I04eacb1e459f4e7f1e14a46597cdbee7a1ce7a74
Reviewed-on: http://review.typo3.org/16579
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Optimize compatibilty class loader
Helmut Hummel [Mon, 29 Oct 2012 18:24:01 +0000 (19:24 +0100)]
[TASK] Optimize compatibilty class loader

Do not save rewritten code in compatibility class loader
if no replacements have been found but require the
original class instead.
Additionally do not touch classes that do not start
with 'tx_' or other known TYPO3 specific prefixes.

Resolves: #42497
Releases: 6.0

Change-Id: Ic3cdafbfec3814ef61046500c1ac4f916bade133
Reviewed-on: http://review.typo3.org/16018
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Replace calls of tslib_gifbuilder with namespaced class
Nicole Cordes [Mon, 19 Nov 2012 17:33:21 +0000 (18:33 +0100)]
[BUGFIX] Replace calls of tslib_gifbuilder with namespaced class

In some functions the old class tslib_gifbuilder is still called and
should be replaces with the namespaced class.

Change-Id: I313ce18f667e0f7cc636422d9a784433851d59d8
Fixes: #43111
Releases: 6.0
Reviewed-on: http://review.typo3.org/16577
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove extList from LocalConfiguration
Christian Kuhn [Mon, 19 Nov 2012 12:50:38 +0000 (13:50 +0100)]
[TASK] Remove extList from LocalConfiguration

extList was kept next to the new extListArray in LocalConfiguration.
Both hold the current list of loaded extensions. This leads to
confusion which variable is the one that takes precedence.
The patch removes extList from the upgrade wizard in the install tool
and only writes extListArray. This way, only one key is kept in
LocalConfiguration.php. For compatibility reasons, the array entry
'extList' is added to $GLOBALS['TYPO3_CONF_VARS'] at runtime during
bootstrap.

Change-Id: I6102b2b4da9761c86189ae3f73ad3a423715e037
Resolves: #43094
Releases: 6.0
Reviewed-on: http://review.typo3.org/16566
Reviewed-by: Helmut Hummel
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Wouter Wolters
6 years ago[TASK][DB] Increase length of tt_content CType
Andreas Kießling [Mon, 19 Nov 2012 08:23:33 +0000 (09:23 +0100)]
[TASK][DB] Increase length of tt_content CType

The length of the CType file is often too small to contain the name of
the extension that creates a new content element type. It should be
increased from 30 to 255.

Resolves: #43062
Releases: 6.0

Change-Id: I5ac23f7bdaa40ea9764d08ee330883da5be5a1ef
Reviewed-on: http://review.typo3.org/16560
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGIFX] Fix Exception name in beuser module
Helmut Hummel [Sun, 18 Nov 2012 11:27:39 +0000 (12:27 +0100)]
[BUGIFX] Fix Exception name in beuser module

Add the missing TYPO3 prefix to the full qualified
class name.

Releases: 6.0

Change-Id: I6a6417dc63a7ef87947b8186aefff12bdeb929f2
Reviewed-on: http://review.typo3.org/16545
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] EXT:frontend still uses old table name sys_language_overlay
Patrick Broens [Thu, 15 Nov 2012 13:49:51 +0000 (14:49 +0100)]
[BUGFIX] EXT:frontend still uses old table name sys_language_overlay

The extension "frontend" is still using the old table name
sys_language_overlay

This patch fixes this issue by renaming it to pages_language_overlay

Change-Id: Ida5444d113ba089652adba7d0cbd01729ce9ab48
Resolves: #43001
Releases: 6.0
Reviewed-on: http://review.typo3.org/16454
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Invalid behavior of search for integer in Backend search
Soren Malling [Fri, 21 Sep 2012 12:02:36 +0000 (14:02 +0200)]
[BUGFIX] Invalid behavior of search for integer in Backend search

In fact current implementation does not replace the LIKE
operator with an SQL equal statement for numeric fields
but whenever a query that can be interpreted as integer
is encountered, regardless of the underlying column type.

Example: If you have pages "102 W", "102 E", you used
to be able to search for "102" and get them, but now
the query is casted to an integer and the page title
is search for an equality on "102" resulting in
an empty result list.

The underlying column type should be used
instead (code to cache this information is already
available within DBAL and Helmut started months
ago to backport it to Core itself: #28654).

Thanks to Clio Online for sponsoring this fix!

Resolves: #33700
Releases: 6.0, 4.7, 4.6

Change-Id: I8c4cceac5320b9135ccf9e99892cc57dcfffadc5
Reviewed-on: http://review.typo3.org/13990
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[TASK] Remove @package and @subpackage annotations
Christian Kuhn [Fri, 16 Nov 2012 11:41:06 +0000 (12:41 +0100)]
[TASK] Remove @package and @subpackage annotations

With namespaces the @package and @subpackage annotations
do not have a real benefit anymore and can be removed.

Change-Id: Id8f4718db0c1c51ae5143a3353dd5efb42dadf70
Resolves: #43019
Releases: 6.0
Reviewed-on: http://review.typo3.org/16474
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Fix deprecated $doc->isCMlayers()
Georg Ringer [Sat, 22 Sep 2012 22:25:27 +0000 (00:25 +0200)]
[TASK] Fix deprecated $doc->isCMlayers()

Function TYPO3\CMS\Backend\Template\DocumentTemplate->isCMlayers()
is not needed and can be removed.

Change-Id: I7cef6a7711055c8cd6ce7ca0b3bf94b22e50a62f
Resolves: #41272
Releases: 6.0
Reviewed-on: http://review.typo3.org/14955
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] GeneralUtility::validEmail() can throw warnings
Christian Kuhn [Thu, 15 Nov 2012 21:37:55 +0000 (22:37 +0100)]
[BUGFIX] GeneralUtility::validEmail() can throw warnings

If GeneralUtility::validEmail() is called with array or object
as parameter, warnings or errors are thrown of type "strlen()
expects parameter 1 to be string" or similar.
The patch sanitizes the method by returning early with FALSE if
input parameter is not a string.

Change-Id: I56c8ec91c730e47d341de7f09c14c7ee0492a616
Fixes: #42792
Releases: 6.0
Reviewed-on: http://review.typo3.org/16462
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Follow-up clean-up to #19938
Christian Kuhn [Thu, 15 Nov 2012 12:46:11 +0000 (13:46 +0100)]
[BUGFIX] Follow-up clean-up to #19938

Refactoring #19938 a loose end was forgotten to be removed in one test.

Change-Id: I36d1f9368eb829afebd5c3be2282811b010ed5ff
Related: #19938
Releases: 6.0
Reviewed-on: http://review.typo3.org/16453
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EXT:felogin: Multiple bugs with preserveGETvars
Jigal van Hemert [Fri, 30 Dec 2011 19:32:32 +0000 (20:32 +0100)]
[BUGFIX] EXT:felogin: Multiple bugs with preserveGETvars

Refactor and fix handling of preserveGETvars in felogin.
 * Add support for multi dimensional arrays
 * urlencode() values
 * Preserve only parameters defined in 'preserveGETvars'

The patch adds a new ArrayUtility method to handle
recursive array intersections. See the unit tests for details.

Change-Id: I90e2f8eb79586369a9c15c7ef19f7658b1d65ed3
Fixes: #19938
Fixes: #23324
Fixes: #23649
Fixes: #36894
Fixes: #38589
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/7638
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Form shows Fatal Error in Frontend
Ingo Pfennigstorf [Fri, 9 Nov 2012 14:47:05 +0000 (15:47 +0100)]
[BUGFIX] Form shows Fatal Error in Frontend

This resolves the wrong instantiation of all classes
that contain uppercase characters within a certain
class name part, by adding the lowercased versions
to the class alias map.

Fixes: #40850
Releases: 6.0

Change-Id: I973393a5476e5b0ee8a2500117de636e43513666
Reviewed-on: http://review.typo3.org/16362
Reviewed-by: Thomas Maroschik
Reviewed-by: Mattias Nilsson
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Remove dependency to iconv lib in form
Helmut Hummel [Wed, 14 Nov 2012 23:49:15 +0000 (00:49 +0100)]
[BUGFIX] Remove dependency to iconv lib in form

The form extension uses iconv_strlen to determine
the string length, which fails when this method
is not present in PHP.

Use the CharsetConverter class instead.

Fixes: #42990
Releases: 6.0

Change-Id: Ibf7e82c85bd808f036c7d0715f55d6f1f9e5b8d5
Reviewed-on: http://review.typo3.org/16449
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Raise submodule pointer
Christian Kuhn [Wed, 14 Nov 2012 19:55:22 +0000 (20:55 +0100)]
[TASK] Raise submodule pointer

Change-Id: I19bf442d362fc1ba7dd2df2d5d7e55c592222e27
Reviewed-on: http://review.typo3.org/16447
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Re-implement extension status for reports module
Christian Kuhn [Sun, 4 Nov 2012 21:44:36 +0000 (22:44 +0100)]
[TASK] Re-implement extension status for reports module

The reports module to show the main typo3.org TER repository
extension list status and the security state of loaded and
existing extensions was not implemented with the new
extension manager.
The patch adds the missing reports.

Resolves: #39914
Releases: 6.0

Change-Id: Ib26dad4d798829ee96d900a80311aa28bb021c2c
Reviewed-on: http://review.typo3.org/16446
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Labels in EM are not translated
Georg Ringer [Tue, 13 Nov 2012 16:40:45 +0000 (17:40 +0100)]
[BUGFIX] Labels in EM are not translated

The configuration of an extension can make use of
labels and those are not translated in a select box.

Therefore use LANG->sL()

Change-Id: I12c09b3cf0b68e5f5f0f1d03ac5f78dd89d7bbde
Fixes: #42931
Releases: 6.0
Reviewed-on: http://review.typo3.org/16437
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[TASK] Improve wincache has() function
Georg Ringer [Mon, 5 Nov 2012 23:29:42 +0000 (00:29 +0100)]
[TASK] Improve wincache has() function

Change-Id: Ia90500734c71095c82f774ac6c0acd16ce28f096
Resolves: #42253
Releases: 6.0
Reviewed-on: http://review.typo3.org/16224
Reviewed-by: Philipp Gampe
Reviewed-by: Tomasz Krawczyk
Tested-by: Tomasz Krawczyk
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix missing option labels in EXT:saltedpasswords ext config
Tilo Baller [Sat, 10 Nov 2012 00:05:56 +0000 (01:05 +0100)]
[BUGFIX] Fix missing option labels in EXT:saltedpasswords ext config

The labels for the options of the settings "Hashing method for the
backend|frontend" are missing because the class names of the
salt methods, which changed in previous commits, are part of the
language key for the labels.

Change the language key generation to use the class name without
the prepended namespace and add the corresponding language key in the
actual language file.

Fixes: #42832
Releases: 6.0

Change-Id: I1ae96bd90bf153f0379159e1695701ecf5f9f004
Reviewed-on: http://review.typo3.org/16369
Tested-by: Philipp Gampe
Reviewed-by: Philipp Gampe
Reviewed-by: Tilo Baller
Tested-by: Tilo Baller
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix userfunc paths in EXT:saltedpasswords ext_conf_template.txt
Tilo Baller [Fri, 9 Nov 2012 23:27:32 +0000 (00:27 +0100)]
[BUGFIX] Fix userfunc paths in EXT:saltedpasswords ext_conf_template.txt

Paths to the class files and class names for the user functions used
in the extension configuration of EXT:saltedpasswords are wrong, since
they were moved and namespaced.

Thus opening the extension configuration in extension manager fails
with a fatal error, because the required class files can not be loaded.

Load the right classes.

Fixes: #42829
Releases: 6.0

Change-Id: I9e9dd6f3f8ceacf0196971db91f108d7dc963bcd
Reviewed-on: http://review.typo3.org/16368
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Mattias Nilsson
Reviewed-by: Tilo Baller
Tested-by: Tilo Baller
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Regression in t3lib_iconWorks::imagecopyresized
Tymoteusz Motylewski [Sun, 11 Nov 2012 18:51:44 +0000 (19:51 +0100)]
[BUGFIX] Regression in t3lib_iconWorks::imagecopyresized

t3lib_iconWorks::imagecopyresized was refactored
in #26660. Unfortunatelly that change introduced
a regression. Parameter names were changed in
the method definition, but not inside this method.

This change makes parameter names consistent.

Change-Id: I819da83ea059ecc7d17348c12ca64b37fac6dae0
Fixes: #39563
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/13488
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[TASK] Fix TYPO3 logos
Helmut Hummel [Sun, 11 Nov 2012 00:26:58 +0000 (01:26 +0100)]
[TASK] Fix TYPO3 logos

The logos have been changed to match the new CI,
but were cut out sloppily.

Exchange the most prominent logos with proper ones.

Fixes: #42850
Releases: 6.0, 4.7, 4.6, 4.5

Change-Id: Id5ac815b8c2b381bef89f9e152345fd29a822bf6
Reviewed-on: http://review.typo3.org/16391
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Set TYPO3 version to 6.0-dev
TYPO3 Release Team [Sat, 10 Nov 2012 21:06:50 +0000 (22:06 +0100)]
[TASK] Set TYPO3 version to 6.0-dev

Change-Id: I68301629737a66a76332e59b3ccd674bb7d05722
Reviewed-on: http://review.typo3.org/16387
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[RELEASE] Release of TYPO3 6.0.0rc1
TYPO3 Release Team [Sat, 10 Nov 2012 21:06:37 +0000 (22:06 +0100)]
[RELEASE] Release of TYPO3 6.0.0rc1

Change-Id: Id506e3479c6b48526b7a9cdfdd211bc33c1a61d6
Reviewed-on: http://review.typo3.org/16386
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[BUGFIX] Add "suggests" as valid dependency type
Tilo Baller [Fri, 9 Nov 2012 20:14:41 +0000 (21:14 +0100)]
[BUGFIX] Add "suggests" as valid dependency type

Currently extensions with "suggests" contraint in ext_emconf.php
fail to install in Extension Manager with exception
"suggestwas not a valid dependency type.".

Example (taken from EXT:saltedpasswords ext_emconf.php):
    'constraints' => array(
        [...]
        'suggests' => array(
            'rsaauth' => ''
        )
    ),

NOTE: This patch does not implement the missing handling
for suggested extensions.

Fixes: #42594
Releases: 6.0

Change-Id: I326de368508c5c9a350d7b7e84b07f3bc1582437
Reviewed-on: http://review.typo3.org/16367
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Oliver Hader
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Fix update translation handling
Helmut Hummel [Sat, 10 Nov 2012 17:39:11 +0000 (18:39 +0100)]
[BUGFIX] Fix update translation handling

The current translation handling does not respect
subfolders in the zip file during extraction.
This leads to partly missing translations as the
translation files were not in the correct folder
structure.

Create the folder structure during zip file extraction
and improve the path calculation so that path traversal
is not possible any more.

Fixes: #42840
Releases: 6.0

Change-Id: I9e03622879f38d294b2487c63e9ced0ba40d8142
Reviewed-on: http://review.typo3.org/16381
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Tested-by: Oliver Hader
Reviewed-by: Oliver Hader
6 years ago[FEATURE] Add possibility to store NULL values
Oliver Hader [Tue, 9 Oct 2012 18:17:43 +0000 (20:17 +0200)]
[FEATURE] Add possibility to store NULL values

The current implementation in the TYPO3 backend does not allow
to store NULL values, only empty strings or zero as number are
allowed.
Since the overlay behavior of FAL takes e.g. the description
property from the original file object an empty value in the
disposal (the referenced file) cannot be defined to be blank,
thus not clearing the original file description.

For this case we need a new behavior to allow NULL values in
the storage and to handle that in the backend view.

This feature is enabled by adding "null" to the eval list of
the TCA configuration of a field, example:

'columns' => array(
  'title' => array(
    'config' => array(
      'type' => 'text',
      'eval' => 'null',
    )
  )
)

Besides that, of course the database field definition needs to
be updated to support NULL values.

Change-Id: Ib5cd0e34e34d084df7ba3380ae81e5240bcf76d6
Resolves: #41773
Releases: 6.0
Reviewed-on: http://review.typo3.org/15458
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[FEATURE] Enable IRRE fields in FlexForms
Kai Vogel [Tue, 6 Nov 2012 16:45:07 +0000 (17:45 +0100)]
[FEATURE] Enable IRRE fields in FlexForms

This patch enables IRRE fields in flexform. They can be used
identically to the TCA.

FlexForm segments are separated by a new divider "---" to
easily have the possiblity to recognize and parse them when
handline the IRRE object identifiers.

Besides that a new remapping level for FlexForms has been
introduced to the DataHandler to update accordant FlexForm
references after all child records have been written.

Unit tests have been extended to check the new additions to
the accordant object identifiers and form names. This is
important to any processing of IRRE in the form view.

Change-Id: Icadb89c2e496a5f1ad7de298ebee06d144475a11
Resolves: #18957
Releases: 6.0
Reviewed-on: http://review.typo3.org/13968
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Kai Vogel
Tested-by: Kai Vogel
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Rename SUViewHelper to SwitchUserViewHelper
Helmut Hummel [Fri, 9 Nov 2012 20:06:21 +0000 (21:06 +0100)]
[BUGFIX] Rename SUViewHelper to SwitchUserViewHelper

On case sensitive file systems the SUViewHelper
cannot be found, as the file is named SUViewHelper.php
and the class SuViewHelper.

Rename both file and class to match and to be more
speaking.

Resolves: #42826
Releases: 6.0

Change-Id: I19c0b7c39b77ba2d7b192a989e5d45b2b7d4a2c7
Reviewed-on: http://review.typo3.org/16366
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Content Elements "uploads" ignores translations
Steffen Ritter [Fri, 9 Nov 2012 16:18:05 +0000 (17:18 +0100)]
[BUGFIX] Content Elements "uploads" ignores translations

The TypoScript Object "FILES" has been changed to be aware
of translations in the meantime. Anyhow the Content Element
uploads does not benefit from that, as it hardcodes the uid
of the related element and therefore the automatic logic
recognizing translations does not work.

Remove the affected line of TypoScript.

Change-Id: Ia70272a2d646c2d29eca311c44dc6a0706d1778c
Releases: 6.0
Fixes: #40607
Reviewed-on: http://review.typo3.org/16363
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Improve rendering of non existent content types
Georg Ringer [Mon, 5 Nov 2012 23:23:46 +0000 (00:23 +0100)]
[TASK] Improve rendering of non existent content types

If a custom content element is created by using
an extension and the ext is removed, an empty content
element is rendered in the page module.

Now the same warning is shown as if a non existent
plugin is rendered

Change-Id: Ib98ff3fdf17d7383b51e6c108854a2fc34d5def4
Resolves: #42510
Releases: 6.0
Reviewed-on: http://review.typo3.org/16223
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Add configuration for default categorized tables
Fabien Udriot [Fri, 6 Jul 2012 15:25:51 +0000 (17:25 +0200)]
[TASK] Add configuration for default categorized tables

A list of default categorized tables is put within the Install Tool
for now, since we don't have a dedicated BE module for category

Change-Id: I1b620652a09ae9712cbd5cd38a8bed8ab8605b6e
Resolves: #38716
Releases: 6.0
Reviewed-on: http://review.typo3.org/12674
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Raise submodule pointer
Helmut Hummel [Thu, 8 Nov 2012 23:26:02 +0000 (00:26 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ia33701578c100bb67beb66d010f76208d9c16457
Reviewed-on: http://review.typo3.org/16338
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Fix SEARCHRESULT content object
Helmut Hummel [Thu, 8 Nov 2012 22:54:06 +0000 (23:54 +0100)]
[BUGFIX] Fix SEARCHRESULT content object

During namespacing the SEARCHRESULT content object,
which had two classes, has been messed up.

Combine both classes into one.

Resolves: #42806
Releases: 6.0

Change-Id: If757121be3dc5c93d215dfbb958090ed39a7f507
Reviewed-on: http://review.typo3.org/16337
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Fix OTABLE content object
Helmut Hummel [Thu, 8 Nov 2012 22:40:53 +0000 (23:40 +0100)]
[BUGFIX] Fix OTABLE content object

During namespacing the OTABLE content object
which had of two classes has been messed up.

Combine both classes into one.

Resolves: #42805
Releases: 6.0

Change-Id: Ibc7a076cc6c9aa5fe3e3cfeff0dbb3db95ea5a2b
Reviewed-on: http://review.typo3.org/16336
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Cleanup alias map and recreate IDE file
Helmut Hummel [Thu, 8 Nov 2012 21:54:01 +0000 (22:54 +0100)]
[TASK] Cleanup alias map and recreate IDE file

Releases: 6.0

Change-Id: I0f8863ae6e711f1da710b39f7644f24212ad41ef
Reviewed-on: http://review.typo3.org/16330
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Add "Abstract" prefix to abstract task class
Helmut Hummel [Thu, 8 Nov 2012 21:34:05 +0000 (22:34 +0100)]
[TASK] Add "Abstract" prefix to abstract task class

All abstract classes should be start with an Abstract
prefix in the class name.

Adjust the abstract task class to this naming convention.

Resolves: #42803
Releases: 6.0

Change-Id: Ibef1d71f1d3a6aa3683331464b33118b88b1ec01
Reviewed-on: http://review.typo3.org/16329
Reviewed-by: Steffen Ritter
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Update version number in system extensions
Michael Klapper [Tue, 6 Nov 2012 13:52:40 +0000 (14:52 +0100)]
[TASK] Update version number in system extensions

Update the version number in system extensions which
have been forgotten.

Resolves: #42728
Releases: 6.0
Change-Id: I05089f5f0706f3df685bccc68ab8915620f90609
Reviewed-on: http://review.typo3.org/16235
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Michael Klapper
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[SECURITY] Fix SQL injection and XSS in record history
Oliver Hader [Thu, 8 Nov 2012 11:44:57 +0000 (12:44 +0100)]
[SECURITY] Fix SQL injection and XSS in record history

This patch fixes the SQL injection possibilities in the record
history view as well as fixing XSS possibilities. The submitted
GET/POST data gets sanitized now besides that.

Change-Id: Ia92b5f7a2244412f87d9affdd73d2e0a6f7076ef
Fixes: #42696
Releases: 6.0, 4.7, 4.6, 4.5
Security-Commit: a386933537b6193d3a3d7173721c5b3b961a7f0d
Security-Bulletin: TYPO3-CORE-SA-2012-005
Reviewed-on: http://review.typo3.org/16307
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[SECURITY] XSS in TCA Tree
Oliver Hader [Thu, 8 Nov 2012 11:44:51 +0000 (12:44 +0100)]
[SECURITY] XSS in TCA Tree

Properly html encode the label of tree nodes.

Fixes: #42774
Releases: 6.0, 4.7, 4.6, 4.5

Change-Id: I56b823bdd7ac8f4e8d533604cc91eb99e3bcd808
Security-Commit: b1b0b68d026795d04721f73c436eab2de72285d9
Security-Bulletin: TYPO3-CORE-SA-2012-005
Reviewed-on: http://review.typo3.org/16306
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[SECURITY] Fix potential XSS in BackendUtlility::getFuncCheck
Helmut Hummel [Thu, 8 Nov 2012 11:44:45 +0000 (12:44 +0100)]
[SECURITY] Fix potential XSS in BackendUtlility::getFuncCheck

The method getFuncCheck creates an URL from input variables and puts
it in JavaScript context without properly encoding them.

This might lead to XSS if the input variables come from untrusted source.

Fixes: #42776
Releases: 6.0, 4.7, 4.6, 4.5

Change-Id: Ia312e96791bc23460462c2374c0d08f47f762447
Security-Bulletin: TYPO3-CORE-SA-2012-005
Reviewed-on: http://review.typo3.org/16305
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Raise submodule pointer for fluid
Helmut Hummel [Thu, 8 Nov 2012 10:04:13 +0000 (11:04 +0100)]
[TASK] Raise submodule pointer for fluid

Releases: 6.0

Change-Id: I490683562533dfbfaa34310a04f7682cde91f0d2
Reviewed-on: http://review.typo3.org/16294
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Raise submodule pointer
TYPO3 Release Team [Thu, 8 Nov 2012 09:32:20 +0000 (10:32 +0100)]
[TASK] Raise submodule pointer

Change-Id: I2e83cbd81b729242404f0fc8ef553f663ae87073
Reviewed-on: http://review.typo3.org/16290
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[BUGFIX] Make hardcoded backend favicon configurable
Johannes Feustel [Fri, 2 Nov 2012 21:51:07 +0000 (22:51 +0100)]
[BUGFIX] Make hardcoded backend favicon configurable

Since #37868 the backend comes with hardcoded favicon.
This should be configurable like logo_login to brand
the backend for certain projects and for better usability
when working with multiple projects.

Change-Id: Icc0f9c3f764c92a39ea46b5af749d57e2d2b30dc
Resolves: #39947
Releases: 6.0
Reviewed-on: http://review.typo3.org/13906
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[TASK] Fix PHPdoc of methods and type hint comments
Oliver Hader [Wed, 7 Nov 2012 22:39:16 +0000 (23:39 +0100)]
[TASK] Fix PHPdoc of methods and type hint comments

Change-Id: I3c3078b6e69f937d4383eb8677dbd60f249d2c8d
Releases: 6.0
Reviewed-on: http://review.typo3.org/16276
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Editors do not have rights to edit file metadata
Steffen Ritter [Mon, 3 Sep 2012 07:31:09 +0000 (09:31 +0200)]
[TASK] Editors do not have rights to edit file metadata

File records are stored in PID 0. In TYPO3 non-admins do not
have access to anything stored in PID 0. As FAL won't work
without granting access to file-meta-data for non-admins,

A new TCA control configuration allows to ignore those
permission restrictions for sys_file and sys_file_reference:

* TCA/<table>/ctrl/security/ignoreWebMountRestriction
  Allows users to access records that are not in their
  defined web-mount and by-passes this restriction..
* TCA/<table>/ctrl/security/ignoreRootLevelRestriction
  Allows users (non-admins) to access records that are
  stored on the root-level (page-id 0) and by-passes this
  restriction.

Change-Id: If92b07b0ba63a0d544a337ddf4f55973fafcd345
Fixes: #39805
Releases: 6.0
Reviewed-on: http://review.typo3.org/13658
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Fix include path in file "t3lib/class.t3lib_cli.php"
Michael Klapper [Tue, 6 Nov 2012 15:18:44 +0000 (16:18 +0100)]
[BUGFIX] Fix include path in file "t3lib/class.t3lib_cli.php"

Resolves: #42731
Releases: 6.0

Change-Id: Icd08c7e9d1bb9f014ce77aae697e804aa4e17625
Reviewed-on: http://review.typo3.org/16238
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Migrate images and links to files to FAL on way to RTE
Stanislas Rolland [Tue, 9 Oct 2012 22:00:28 +0000 (00:00 +0200)]
[BUGFIX] Migrate images and links to files to FAL on way to RTE

Links to files or folders in pre-FAL RTE-content should be transformed
to FAL-compliant on way to RTE, whenever possible, otherwise they are
viewed as external links.
FAL-related attributes should also be added to images, whenever
possible, on way to the RTE.

Change-Id: I17e649986a57865fee738575be058c53ac30a50d
Releases: 6.0
Fixess: #36827
Reviewed-on: http://review.typo3.org/10984
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[FEATURE] Change the default doctype to html5
Georg Ringer [Mon, 5 Nov 2012 23:00:34 +0000 (00:00 +0100)]
[FEATURE] Change the default doctype to html5

Change-Id: If99bd9fb5357a39660f44a79f88cdd22528be3d8
Resolves: #39957
Releases: 6.0
Reviewed-on: http://review.typo3.org/13952
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Drag&Drop of Content-Elements in Page-Module
Jigal van Hemert [Wed, 26 Sep 2012 18:20:08 +0000 (20:20 +0200)]
[TASK] Drag&Drop of Content-Elements in Page-Module

Change-Id: I1fca2b537f134b57f3161d6ae636c6d9e67012e0
Resolves: #17198
Releases: 6.0
Reviewed-on: http://review.typo3.org/15103
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] EM: Improve appearance of "get extensions"
Hans Christian Reinl [Tue, 23 Oct 2012 19:48:22 +0000 (21:48 +0200)]
[TASK] EM: Improve appearance of "get extensions"

* Change order of table-heads to reflect scribble better
* Include link to all version of extensions as arrow
* Move details of author into description and hide for now
* Move loading mask on extension table

Resolves: #42327
Releases: 6.0

Change-Id: I9e042f972a77e09482a5eeab429214bb13108f71
Reviewed-on: http://review.typo3.org/15916
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Add basic unit test for IRRE form rendering
Oliver Hader [Mon, 5 Nov 2012 15:53:44 +0000 (16:53 +0100)]
[TASK] Add basic unit test for IRRE form rendering

The basic information in IRRE are the repeatable triples of
table-uid-field. This test ensures to have a working separation
of stable and unstable segments available.

Change-Id: Ie0a0e87faf4c4e7a41fb6aed01af6610f12b1c7f
Resolves: #42702
Releases: 6.0
Reviewed-on: http://review.typo3.org/16209
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Add possibility for a custom TCA TreeProvider
Georg Ringer [Sat, 27 Oct 2012 17:17:58 +0000 (19:17 +0200)]
[TASK] Add possibility for a custom TCA TreeProvider

Currently the tca tree uses its own DataProvider
which makes sense but this is not extendable.
Adding 3 additional lines would make it possible
to use a custom provider.

Needed e.g. in EXT:news to be able to render a tca tree
with some BE user/-group restrictions ...

Change-Id: Idc9bee2ede810e930c17a31ed08688b5654759ff
Resolves: #42447
Releases: 6.0
Reviewed-on: http://review.typo3.org/15980
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Include accidentally removed autoload entries
Helmut Hummel [Sun, 4 Nov 2012 18:40:03 +0000 (19:40 +0100)]
[BUGFIX] Include accidentally removed autoload entries

Some of the removed entries have no pendant in the
class alias map, which causes a fatal error e.g. in
RTE image selector.

Add them again and fix the class definition of
ImageFolderTree.

Fixes: #42677
Releases: 6.0

Change-Id: Ib6d6f2045012bac08feb612489a6334d3cb95649
Reviewed-on: http://review.typo3.org/16193
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Cleanup core autoload files
Helmut Hummel [Sun, 4 Nov 2012 11:02:30 +0000 (12:02 +0100)]
[TASK] Cleanup core autoload files

* Remove entries from the files, which can now be found
  by naming scheme.
* Move core_autoload.php to sysext/core/ext_autoload.php
* Regenerate LegacyClassesForIde file

Resolves: #42666
Releases: 6.0

Change-Id: I090212affb1dfd85ae5711989a924fb754702409
Reviewed-on: http://review.typo3.org/16182
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Add memcache backend tests again
Helmut Hummel [Sat, 3 Nov 2012 23:31:22 +0000 (00:31 +0100)]
[TASK] Add memcache backend tests again

Memceache tests have been disabled because of
problems with the travis ci service.

Activate them again after the problems have been
resolved and also activate PHPUnit color output.

Releases: 6.0

Change-Id: I8f488c499884e36c03736844f5325ad57deeecc5
Reviewed-on: http://review.typo3.org/16179
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Remove deprecated Extbase classes from IDE file
Helmut Hummel [Sat, 3 Nov 2012 23:17:24 +0000 (00:17 +0100)]
[TASK] Remove deprecated Extbase classes from IDE file

The deprecated classes have been removed in Extbase.
Remove them from the IDE file also and raise the
submodule pointer.

Related: #41926, #41925
Releases: 6.0

Change-Id: Iaf7923b7d51231115f356c77eb8f929031d20e68
Reviewed-on: http://review.typo3.org/16178
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[!!!][TASK] Rename ExtensionManager class
Helmut Hummel [Sat, 3 Nov 2012 19:01:04 +0000 (20:01 +0100)]
[!!!][TASK] Rename ExtensionManager class

The class ExtensionManager is actually a utility
to manage extensions. Rename it to better reflect
it's purpose.

This is the final commit, which removes the old
namespaced class name from the alias map and
raises the submodule pointers.

If you used ExtensionManager calls in your TYPO3 6.0
extensions, you have to adapt your code and use the
new class name.

Resolves: #42661
Releases: 6.0

Change-Id: I371a64b276a93f25fabf6728bae8906fbc0e2c42
Reviewed-on: http://review.typo3.org/16176
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Rename ExtensionManager class Part 2
Helmut Hummel [Sat, 3 Nov 2012 10:46:42 +0000 (11:46 +0100)]
[TASK] Rename ExtensionManager class Part 2

The class ExtensionManager is actually a utility
to manage extensions. Rename it to better reflect
it's purpose.

Renaming in submodules will be done seperately.
The third step will then be to remove the old
namespaced class name from the class alias map
and raise the submodule pointers

Related: #42661
Releases: 6.0

Change-Id: I0be22f117e9e4121001b6a14118d289834438066
Reviewed-on: http://review.typo3.org/16163
Reviewed-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Move ExtensionManager Class part 1
Helmut Hummel [Sat, 3 Nov 2012 10:38:55 +0000 (11:38 +0100)]
[TASK] Move ExtensionManager Class part 1

Only move the class to keep track of history

Related: #42661
Releases: 6.0

Change-Id: I9118c41c78493369ccc12ff5443c3faf2261fad4
Reviewed-on: http://review.typo3.org/16162
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Re-implement update TER extension list task
Christian Kuhn [Sat, 3 Nov 2012 14:55:13 +0000 (15:55 +0100)]
[TASK] Re-implement update TER extension list task

The scheduler task to update the TER extension list on a regular basis
was removed with the implementation of the new extension manager.
The patch adds an updated version of it and takes care that
existing registered tasks of this type still work.

Change-Id: Ic770ed78f23413b589352c25998eaee7863ec64f
Resolves: #39915
Releases: 6.0
Reviewed-on: http://review.typo3.org/16168
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Missing pid field in ext_tables_static+adt.sql
Nicole Cordes [Fri, 2 Nov 2012 21:23:20 +0000 (22:23 +0100)]
[BUGFIX] Missing pid field in ext_tables_static+adt.sql

In the ext_tables.sql there is a pid field which is left in the
ext_tables_static+adt.sql file. This causes unnecessary ALTER queries in
database comparison.

Change-Id: Ia380f731c985a1739a88caf7c7f47fa3ec5a95cf
Fixes: #42655
Releases: 6.0
Reviewed-on: http://review.typo3.org/16152
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Regression test for issue #39677
Christian Kuhn [Fri, 2 Nov 2012 20:16:32 +0000 (21:16 +0100)]
[TASK] Regression test for issue #39677

Add simple regression test for issue #39677 checking
the generated string contains 'value="1"'

Change-Id: I3bb51be68c22878d519d2176ab358777780b34d6
Resolves: #42652
Related: #39677
Releases: 6.0
Reviewed-on: http://review.typo3.org/16151
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Failure in AbstractRepository::findByUid on deleted record
Oliver Hader [Thu, 1 Nov 2012 15:16:30 +0000 (16:16 +0100)]
[BUGFIX] Failure in AbstractRepository::findByUid on deleted record

Resource\AbstractRepository::findByUid fails if the record to
be fetched has been deleted or simply does not exist. The
condition whether something was fetched from database is wrong.

count(FALSE) is TRUE, thus it needs to be ensure that there is
a non-empty array.

Change-Id: I9fbdb2ed79ceef9ed0782eeed3db15af73636731
Releases: 6.0
Fixes: #42593
Reviewed-on: http://review.typo3.org/16102
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Update LocalConfiguration fails
Nicole Cordes [Wed, 31 Oct 2012 20:53:15 +0000 (21:53 +0100)]
[BUGFIX] Update LocalConfiguration fails

Due to changes in function
TYPO3\CMS\Core\Configuration\ConfigurationManager::writeLocalConfiguration
an error is thrown when the configuration file isn't accessable.

Of course when updating the system from a lower version it is not
available. So the installation process has to create the file on its own
to be able to write the settings.

Change-Id: I89553390ebd9f1f576311535e02ec73da6618cd6
Fixes: #42271
Releases: 6.0
Reviewed-on: http://review.typo3.org/16088
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] No sorting in TypoScript Object Browser when browsing
Nicole Cordes [Fri, 10 Aug 2012 10:41:55 +0000 (12:41 +0200)]
[BUGFIX] No sorting in TypoScript Object Browser when browsing

If you enable "Sort alphabetically" the correct value (1) is submitted to
extension settings. But when you use any other functionality of the page
(e.g. setting some conditions or use search filter) the value is set to
"on" which disables the sorting.

Change-Id: I88233f94edba032c9b23072fb5e9132b276c8f1e
Fixes: #39677
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/13567
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Add Test for namespaces in Logger names
Steffen Müller [Thu, 1 Nov 2012 11:53:19 +0000 (12:53 +0100)]
[TASK] Add Test for namespaces in Logger names

Resolves: #42582
Releases: 6.0

Change-Id: I5cf8c01ce1749be92e5e073b5812106ba08dc025
Reviewed-on: http://review.typo3.org/16100
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Enable extenisions with BE modules don't refresh the module list
Oliver Hader [Fri, 2 Nov 2012 12:43:49 +0000 (13:43 +0100)]
[BUGFIX] Enable extenisions with BE modules don't refresh the module list

When installing an extension with BE modules through the new
extension manager, the left frame with modules is not
refreshed. An accordant call to the module menu widget needs
to be triggered in those cases.

Change-Id: Ibead3b1a0da99be300c16ae3237986387294a74f
Releases: 6.0
Fixes: #42009
Reviewed-on: http://review.typo3.org/16129
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Require green PHP 5.4 build on travis again
Christian Kuhn [Fri, 2 Nov 2012 16:30:03 +0000 (17:30 +0100)]
[TASK] Require green PHP 5.4 build on travis again

Change-Id: Ifd13543b1b3b337171214f70087bc7010b3c0898
Reviewed-on: http://review.typo3.org/16146
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Use BE paginate widget in EM 6.0
Jigal van Hemert [Fri, 2 Nov 2012 13:48:51 +0000 (14:48 +0100)]
[TASK] Use BE paginate widget in EM 6.0

The backend paginate widget provides the familiar paginator
that is known from other parts of the backend.

Change-Id: I8bbf5851ca099e2219fefa777a26feba101eeaba
Fixes: #42583
Releases: 6.0
Reviewed-on: http://review.typo3.org/16133
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] PHP 5.4 unit test warnings
Christian Kuhn [Fri, 2 Nov 2012 16:14:49 +0000 (17:14 +0100)]
[BUGFIX] PHP 5.4 unit test warnings

Incomplete mocking in some tests triggers
string offset PHP 5.4 warnings.

Fixes: #42644
Releases: 6.0

Change-Id: I261a7652909db21ee4839882a8360016cc854b2b
Reviewed-on: http://review.typo3.org/16144
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Speed up salted password unit test
Christian Kuhn [Fri, 2 Nov 2012 15:05:47 +0000 (16:05 +0100)]
[TASK] Speed up salted password unit test

The patch removes tests in blowfish and phpass salting classes that
test maximum iteration count returns a valid salt. The underlying
salt code is slow by design, so the tests also take ages. The
functionality itself is already covered by the minimum salt count
test as well, thus - after speaking with Marcus Krause - we decided
to remove them without substitution to reduce the unit test suite
runtime.

Resolves: #42639
Releases: 6.0

Change-Id: I4bf94dc8ae4726fa131f6113546442fb00718753
Reviewed-on: http://review.typo3.org/16141
Reviewed-by: Wouter Wolters
Tested-by: Marcus Krause
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Translated non-published page in workspace breaks live workspace
Oliver Hader [Fri, 26 Oct 2012 14:10:31 +0000 (16:10 +0200)]
[BUGFIX] Translated non-published page in workspace breaks live workspace

Translation of pages are stored in pages_language_overlay and
can be managed in workspaces as well. If a new translation is
created in the workspace only, the page module is broken in
the live workspace.

The reason for that is, that workspaces placeholders need to
be ignored if not working on a real workspace.

Change-Id: Ied52a985c3cb1c0796f616679414799d956024d8
Releases: 6.0, 4.7, 4.6, 4.5
Fixes: #42281
Reviewed-on: http://review.typo3.org/15958
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Illegal string offsets in t3lib_stdgraphic
Wouter Wolters [Sun, 28 Oct 2012 11:36:39 +0000 (12:36 +0100)]
[BUGFIX] Illegal string offsets in t3lib_stdgraphic

Illegal string offsets in t3lib_stdgraphic

Change-Id: I8be45d59b780595e25d6d7f5371300b6506baa2f
Fixes: #38024
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12543
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years agoRevert "[BUGFIX] Hook to modify t3lib_div::getIndpEnv return value"
Christian Kuhn [Fri, 2 Nov 2012 12:23:17 +0000 (13:23 +0100)]
Revert "[BUGFIX] Hook to modify t3lib_div::getIndpEnv return value"

This reverts commit 33e72f56e8e5c4183c1784027639913581b225a9

Related: #39016
Releases: 6.0

Change-Id: I33ffcb206b2d4cac3cd7b683aec8df962c22d593
Reviewed-on: http://review.typo3.org/16127
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] PHP 5.4 unit test warnings
Christian Kuhn [Fri, 2 Nov 2012 11:09:29 +0000 (12:09 +0100)]
[BUGFIX] PHP 5.4 unit test warnings

PHP 5.4 throws warnings "Creating default object from empty value"
warnings if $foo->bar is accessed and $foo is not an object. The patch
fixes ConditionMatcherTest in this regard and does some other minor
cleanups within the test class.

Fixes: #42622
Releases: 6.0

Change-Id: I9d04618d88127b07d460be8dbd81c64633991bd6
Reviewed-on: http://review.typo3.org/16124
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Hook to modify t3lib_div::getIndpEnv return value
Michael Klapper [Tue, 17 Jul 2012 09:10:02 +0000 (11:10 +0200)]
[BUGFIX] Hook to modify t3lib_div::getIndpEnv return value

This hook makes it possible to modify the calculated return
value for custom environments.

Change-Id: I49a98565f8878cde44093ee2331d70b281e91f4f
Fixes: #39016
Releases: 6.0
Reviewed-on: http://review.typo3.org/12842
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[BUGFIX] "Upgrade Wizard" screen goes blank
Mattias Nilsson [Wed, 31 Oct 2012 17:39:28 +0000 (18:39 +0100)]
[BUGFIX] "Upgrade Wizard" screen goes blank

When using the "Upgrade Wizard" in install tool the screen goes blank.

Change-Id: I3a9c6bb2c86bbeb2c0fa17fd547e626eebfc2749
Resolves: #42569
Releases: 6.0
Reviewed-on: http://review.typo3.org/16083
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Use new Be.Widget.Paginate in EXT: beuser
Felix Kopp [Wed, 31 Oct 2012 22:33:48 +0000 (23:33 +0100)]
[TASK] Use new Be.Widget.Paginate in EXT: beuser

Use the new ViewHelper be.widget.paginate for backend
user listing in EXT: beuser.

The ViewHelper was introduced in #42428.

Change-Id: Ic31d4a5aa1d6041d3fa5d610dffad02a3b5f87a3
Resolves: #42576
Releases: 6.0
Reviewed-on: http://review.typo3.org/16093
Reviewed-by: Mattias Nilsson
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Raise submodule pointer
Christian Kuhn [Fri, 2 Nov 2012 00:30:50 +0000 (01:30 +0100)]
[TASK] Raise submodule pointer

Change-Id: I48a5498e10da7b1a1185324a35381f3bf4cd1815
Reviewed-on: http://review.typo3.org/16119
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup DebugUtility
Helmut Hummel [Thu, 1 Nov 2012 23:45:09 +0000 (00:45 +0100)]
[TASK] Cleanup DebugUtility

The debug utility outputs JavaScript, even when in CLI mode.
Additionally all strings are not correctly encoded for
JavaScript.

Additionally deprecate the method which does incomplete encoding.

Releases: 6.0
Resolves: #42611

Change-Id: I68fadc5d8f10e967913d1b79bc7758a5a18d77f6
Reviewed-on: http://review.typo3.org/16117
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] PHP 5.4 warning in CLI context in switch back user
Christian Kuhn [Thu, 1 Nov 2012 21:24:02 +0000 (22:24 +0100)]
[BUGFIX] PHP 5.4 warning in CLI context in switch back user

PHP 5.4 raises warnings of type "Illegal string offset" if you access
$foo['bar'] and $foo is no array. This is the case in hook
SwitchBackUser, if in cli context.

Furthermore, the class is cleaned up a bit in 6.0 version and the
compatibility layer is removed, since the hook file was moved around
together with the beuser refactoring anyway.

Change-Id: I5ed32e054b156c9fbc64e99ff33ba5c4637ce266
Fixes: #37578
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/16108
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Don't let PHP 5.4 failure fail the build on travis
Helmut Hummel [Thu, 1 Nov 2012 21:36:00 +0000 (22:36 +0100)]
[TASK] Don't let PHP 5.4 failure fail the build on travis

Change-Id: I21277f1f59a9055503414ae94f9dee626e1cd70d
Reviewed-on: http://review.typo3.org/16109
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Warning in FAL LocalDriverTest
Christian Kuhn [Thu, 1 Nov 2012 19:23:17 +0000 (20:23 +0100)]
[BUGFIX] Warning in FAL LocalDriverTest

A subfolder without write permissions makes the tearDown in FAL
LocalDriverTest throw a permission denied warning. This is fixed
by resetting the folder to be writable after gathering result
information in the test case.

Change-Id: I1eb9829b39af7ea67076252385e11701d4be3818
Fixes: #42604
Releases: 6.0
Reviewed-on: http://review.typo3.org/16107
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Failing Unit test in FAL LocalDriver
Christian Kuhn [Thu, 1 Nov 2012 18:56:52 +0000 (19:56 +0100)]
[BUGFIX] Failing Unit test in FAL LocalDriver

Issue #42603 changed the default behavior of the Driver systems
to also show hidden directories by default. This should be
reflected in the unit test with flipping the logic of one test
that actually tested the opposite and fails now.

Change-Id: I93492f2ec213423ffa06339f6a63de494d544534
Fixes: #42230
Related: #42603
Releases: 6.0
Reviewed-on: http://review.typo3.org/16105
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] FILES ContentObject ignores language handling
Steffen Ritter [Thu, 1 Nov 2012 09:39:09 +0000 (10:39 +0100)]
[BUGFIX] FILES ContentObject ignores language handling

The FILES TypoScript ContentObject, which is responsible
for rendering content element type "uploads" does not take
care of languages and pages_language_overlay table.

Change-Id: Ic311cf2162253bb1a382985df63999142b780555
Releases: 6.0
Resolves: #42357
Reviewed-on: http://review.typo3.org/16098
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Media field relation not resolved in translated pages
Steffen Ritter [Thu, 1 Nov 2012 08:30:28 +0000 (09:30 +0100)]
[BUGFIX] Media field relation not resolved in translated pages

Since the media field now is using IRRE relations and pages are
translated to an foreign table, the relation of translated media
images has to be resolved against the foreign_translation_table.

Change-Id: Iceb62704a6b694945c37bfacdb29e45cc3cf2b6c
Releases: 6.0
Resolves: #42249
Reviewed-on: http://review.typo3.org/16097
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Folder: File list filtering does not work
Andreas Wolf [Mon, 8 Oct 2012 14:36:27 +0000 (16:36 +0200)]
[BUGFIX] Folder: File list filtering does not work

To filter a file list for certain file extensions, the
FileExtensionFilter class should be used. However, the element browser
currently tries to directly call getFiles() with a file extension list.

This commit adds filter handling methods to Folder and changes the EBs
behaviour to use them. The public interface of Folder::getFiles() and
Folder::getSubfolders() is extended, but in a backwards-compatible way,
so this is no breaking change.

Change-Id: Ib45d5f0a99c038841193ed568d7ebf8289f629d3
Resolves: #41725
Releases: 6.0
Reviewed-on: http://review.typo3.org/15405
Reviewed-by: Dominik Mathern
Tested-by: Dominik Mathern
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Hidden files/folders are always filtered
Andreas Wolf [Sat, 20 Oct 2012 17:07:41 +0000 (19:07 +0200)]
[BUGFIX] Hidden files/folders are always filtered

The local driver has a hardcoded filter for dot-files, i.e. files whose
name starts with a dot. However, we (or the user) might need these files
in some situations. Therefore, the filter should be added by default,
but should be removable, which is the case if we use the extensible
filter mechanisms provided by FAL. This is done with this commit.

Resolves: #42230
Releases: 6.0
Change-Id: I69ff38d35f75e2a7f4bbb7574caf6a261638512d
Reviewed-on: http://review.typo3.org/15859
Reviewed-by: Dominik Mathern
Tested-by: Dominik Mathern
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] EM 6.0 parse configuration type 'options' correctly
Jigal van Hemert [Wed, 31 Oct 2012 21:45:33 +0000 (22:45 +0100)]
[BUGFIX] EM 6.0 parse configuration type 'options' correctly

The labels for the options are in the options= part, not in the
label= part. Parsing the options correctly renders the select
box as intended.

Change-Id: I5a3c9e888f248a91c1c79f7a69f82a6a87880a3e
Fixes: #42252
Releases: 6.0
Reviewed-on: http://review.typo3.org/16090
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[TASK] Create uploads folder on travis
Helmut Hummel [Thu, 1 Nov 2012 08:21:20 +0000 (09:21 +0100)]
[TASK] Create uploads folder on travis

Upload folder is missing, leading to test failures
after activation of warning to error conversion.
Create the folder during setup.

Additionally fix a warning in the FAL tests.

Releases: 6.0

Change-Id: I8762a7f2db07edf84294dccb0d9570434040534a
Reviewed-on: http://review.typo3.org/16096
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Info link in file context menu broken
Andreas Wolf [Thu, 4 Oct 2012 08:16:04 +0000 (10:16 +0200)]
[BUGFIX] Info link in file context menu broken

The link for file info in the context menu of the file list module does
not work, as it missed the special identifier '_FILE'.

Change-Id: Ie9990e3800b0d4e8b49c2594b4ad96d9ffe9839b
Resolves: #41396
Releases: 6.0
Reviewed-on: http://review.typo3.org/15295
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[TASK] Prevent multiple processing ContentAdapter
Steffen Ritter [Sun, 21 Oct 2012 13:13:52 +0000 (15:13 +0200)]
[TASK] Prevent multiple processing ContentAdapter

The FrontendContentAdapter is triggered everytime a record
is passed to an ContentObject instance. Therefore it may
happen, that the same record is processed by the
FrontendContentAdapter multiple times.

Prevent multiple processing by setting a flag for finished
processing.

Change-Id: Ia9d5ea6db684097c33008f8ec6273abd2a6deb8d
Releases: 6.0
Resolves: #42244
Reviewed-on: http://review.typo3.org/15861
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Rootline must not include references to deleted records
Steffen Ritter [Mon, 3 Sep 2012 09:42:04 +0000 (11:42 +0200)]
[BUGFIX] Rootline must not include references to deleted records

The rootline resolval includes deleted records. Deleted
records should never be used in frontend. Add the missing
deleteClause to the request.

Change-Id: I2039d3343479ca080c747b1c39961d03efb34e0f
Fixes: #39960
Releases: 6.0
Reviewed-on: http://review.typo3.org/14302
Reviewed-by: Mario Rimann
Tested-by: Marcel Burkhalter
Reviewed-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] ContentAdapter for FAL not capable of translations
Steffen Ritter [Sun, 21 Oct 2012 12:26:21 +0000 (14:26 +0200)]
[BUGFIX] ContentAdapter for FAL not capable of translations

The ContentAdapter, which rewrites FAL references to old
style database formats, is not capable of dealing with
relations - images and files so to speak - to translated
tt_content record.

IRRE Records always are related to the UID of the actual
translated record - not to the uid of tt_content record.

As in TSFE and/or CSS Styled Content Rendering the UID of
translated records is stored within the property
_LOCALIZED_UID this is what the ContentAdapater has to
hand over.

Change-Id: I5887511bcf1dd8fb481e45762e302e0908791bdd
Fixes: #40609
Releases: 6.0
Reviewed-on: http://review.typo3.org/14337
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[TASK] Remove unused icons typo3/gfx/fanner
Georg Ringer [Wed, 31 Oct 2012 05:00:21 +0000 (06:00 +0100)]
[TASK] Remove unused icons typo3/gfx/fanner

Change-Id: Ic67444d324b895bb1ec4204012ce3ada5534edf8
Resolves: #42536
Releases: 6.0
Reviewed-on: http://review.typo3.org/16056
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Cleanup indexed_search
Georg Ringer [Tue, 30 Oct 2012 11:55:30 +0000 (12:55 +0100)]
[TASK] Cleanup indexed_search

The ext can be cleaned up a bit:
* Remove not needed/old files
* Remove namespace compatibility for example files

Change-Id: I50ae60217c186f069908963aa2670d23c1fbe41e
Resolves: #42513
Releases: 6.0
Reviewed-on: http://review.typo3.org/16038
Reviewed-by: Wouter Wolters
Reviewed-by: Mattias Nilsson
Reviewed-by: Philipp Gampe
Reviewed-by: Felix Kopp
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel