Packages/TYPO3.CMS.git
5 years ago[FEATURE] Enable all workspaces tab in workspace module 45/22445/5
Oliver Hader [Sat, 20 Jul 2013 12:26:13 +0000 (14:26 +0200)]
[FEATURE] Enable all workspaces tab in workspace module

The "all workspaces" tab currently is only available for admin
users. However, there's no need to disallow regular editors to
use this feature as well - access will be granted to workspaces
that have been defined for each particular user or group.

Besides that, actions from the "all workspaces" view need to be
handled in a special way since there is no correct
BE_USER->workspace value assigned in that case, but working with
versioned records requires to have a correct scope defined.

Change-Id: I89bfee3ad0b2ce1a5f3c12a1bd91342472b12d3d
Resolves: #50223
Releases: 6.2
Reviewed-on: https://review.typo3.org/22445
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[BUGFIX] Remove references to extListArray 95/24795/2
Xavier Perseguers [Tue, 15 Oct 2013 13:20:48 +0000 (15:20 +0200)]
[BUGFIX] Remove references to extListArray

Fixes: #52849
Releases: 6.2
Change-Id: I1308ffec460b7d4a61456564721206c7e99d5a99
Reviewed-on: https://review.typo3.org/24795
Reviewed-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
5 years agoRevert "[FEATURE] Improve usability for BE database thumbnails/file icons" 09/24809/2
Oliver Hader [Tue, 15 Oct 2013 15:17:19 +0000 (17:17 +0200)]
Revert "[FEATURE] Improve usability for BE database thumbnails/file icons"

This reverts commit bedddf2e0fb50b0ebe3751f8563ee8021c945303

Reason for reverting the mentioned commit:
Fatal error: Call to undefined method
TYPO3\CMS\Core\Resource\File::getAlternative()

Related: #47709
Releases: 6.2

Change-Id: Ie0ed98b2315bedf4475d25e92a3842972e85b7bf
Reviewed-on: https://review.typo3.org/24809
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[FEATURE] Support for proxy NTLM authentication 10/23510/4
Tomita Militaru [Sat, 31 Aug 2013 10:51:24 +0000 (13:51 +0300)]
[FEATURE] Support for proxy NTLM authentication

Set curl option for NTLM authentication and a configuration entry
in the install tool.

Resolves: #14730
Releases: 6.2
Change-Id: I9a5bac36e2280eca893c2da4e39b4c4f701b7f2b
Reviewed-on: https://review.typo3.org/23510
Reviewed-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Reviewed-by: Dmitry Dulepov
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[FEATURE] Enable double-resolution icons in SpriteGenerator 87/21887/13
Steffen Ritter [Thu, 4 Jul 2013 16:56:44 +0000 (18:56 +0200)]
[FEATURE] Enable double-resolution icons in SpriteGenerator

In order to display high resolution icons to according displays
the SpriteManager must be enabled to support this.

This patch adds support for that. It generates a second sprite
with double sized icons and uses background-size CSS3 property.
As this sprite is a separate file it does not affect performance
on non high Resolution Displays. High Resolution displays directly
load the second file - which indeed is 4 times the size.

For generating the high resolution sprite all icons which are not
available as @x2-variant are scaled with gd-library functionality.

Change-Id: Id606f0c2900d57bb46869829d5f0939f29e9db08
Resolves: #49667
Documentation: #52853
Releases: 6.2
Reviewed-on: https://review.typo3.org/21887
Reviewed-by: Christian Kuhn
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Tested-by: Christian Kuhn
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Add type converter for core types like Enumeration 08/24708/9
Sascha Egerer [Sun, 13 Oct 2013 18:44:17 +0000 (20:44 +0200)]
[TASK] Add type converter for core types like Enumeration

* Fixed a major bug in Enumeration in the isValid function
  to prevent PHP typeloose comparison hell and added Tests
* Added a CoreTypeInterface that can be used in the extbase
  data mapper to map properties to new core types like
  the enumeration

Resolves: #52762
Releases: 6.2
Change-Id: I966c64ae8a82d13bdcb47c41917da98c48f0b475
Reviewed-on: https://review.typo3.org/24708
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Sascha Egerer
Reviewed-by: Stefan Neufeind
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
5 years ago[TASK] File-List should allow quick access to translations 52/24752/4
Steffen Ritter [Sat, 12 Oct 2013 09:17:41 +0000 (11:17 +0200)]
[TASK] File-List should allow quick access to translations

File-Metadata has been configured to be translatable.
In List-Module we are used to also see the translated
records. To help editors this possibility is introduced
to the file list to.

Based on the fact that for a file all listed properties
would be the same than in every language, a different
implementation has been used.

The icons and the formatting is prelimary and subject
to be changed by the usability team.

Resolves: #52817
Releases: 6.2
Change-Id: I0016b8c9fe543d3bab3e77dc37ae7bb67acc97b0
Reviewed-on: https://review.typo3.org/24752
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Wouter Wolters
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[BUGFIX] Cannot show information of a directory 96/24796/2
Xavier Perseguers [Tue, 15 Oct 2013 13:31:25 +0000 (15:31 +0200)]
[BUGFIX] Cannot show information of a directory

Fixes: #52850
Releases: 6.2
Change-Id: I8e04e2fb9cf30a6692b450f076a0016a55f31f29
Reviewed-on: https://review.typo3.org/24796
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[FEATURE] Advanced metadata for File 15/24715/7
Fabien Udriot [Sun, 13 Oct 2013 22:33:35 +0000 (00:33 +0200)]
[FEATURE] Advanced metadata for File

The Core provides advanced metadata for File within a Core
extension "filemetadata". The extension is not activated
by default but can be when advanced metadata are needed.

The main benefit is to have unified metadata in TYPO3.
As a result, third-party extensions can build upon a common
base preventing segmentation.

Change-Id: I2e7ce7ac0d072f296b11dfa2189d32e5539f9994
Releases: 6.2
Resolves: #52719
Documentation: #52769
Reviewed-on: https://review.typo3.org/24715
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Fix system extensions composer.json type entry 80/24780/4
Thomas Maroschik [Tue, 15 Oct 2013 07:28:48 +0000 (09:28 +0200)]
[TASK] Fix system extensions composer.json type entry

The current composer type of system extensions is "typo3cms-framework".
In the composer installer for TYPO3 CMS the composer type of extensions
is "typo3-cms-extension". In order to align our composer type with the
community defined it is changed to "typo3-cms-framework".

Resolves: #52831
Releases: 6.2
Change-Id: I1f43a60bd4cf59b47163123b57c8ba09e35e6526
Reviewed-on: https://review.typo3.org/24780
Reviewed-by: Sebastian Fischer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Ignore "composer/installers" requirement 85/24785/3
Thomas Maroschik [Tue, 15 Oct 2013 08:35:49 +0000 (10:35 +0200)]
[BUGFIX] Ignore "composer/installers" requirement

Most extensions that already provide a composer.json file have a
requirement against composer/installers. Our Package Manager tries
to resolve that dependency and files. As the composer/installers
package is not required for an extension to work it is ignored until
the Extensionmanager can handle composer packages natively.

Resolves: #52767
Releases: 6.2
Change-Id: Ia6c57f6006958aadea759cd583f2dce7716be389
Reviewed-on: https://review.typo3.org/24785
Tested-by: Claus Due
Reviewed-by: Sebastian Fischer
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
5 years ago[BUGFIX] Fix bad preconditions for PackageStates migration 93/24793/2
Thomas Maroschik [Tue, 15 Oct 2013 12:49:13 +0000 (14:49 +0200)]
[BUGFIX] Fix bad preconditions for PackageStates migration

The PackageStates.php file migration from LocalConfiguration.php happens
transparently upon the first call of the install tool. If the file
LocalConfiguration.php is not available yet, like during installation
from a blank package this step fails.

This patch introduces some more checks that check if typo3conf and
LocalConfiguration.php are present before the migration of PackageStates
kicks in.

Resolves: #52847
Releases: 6.2
Change-Id: I5dede4123ad1474c0493c85d96350fd6cfdc04c4
Reviewed-on: https://review.typo3.org/24793
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
5 years ago[BUGFIX] Don't create package base paths anymore 79/24779/3
Thomas Maroschik [Tue, 15 Oct 2013 07:06:37 +0000 (09:06 +0200)]
[BUGFIX] Don't create package base paths anymore

The Package Manager created the package base paths by itself.
This could lead to errors if directory creation is forbidden
on the PATH_site level.

This fix disables the folder creation and removes the folder
from package base paths if the folder is not available.

Fixes: #52814
Releases: 6.2
Change-Id: I67acad6101ca54dd4c45604bcfc91da490fdc43a
Reviewed-on: https://review.typo3.org/24779
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
5 years ago[BUGFIX] Moving folders fails 92/24792/3
Oliver Hader [Tue, 15 Oct 2013 12:38:43 +0000 (14:38 +0200)]
[BUGFIX] Moving folders fails

On moving existing folders inside another existing folder in the
file-module, the following exception is thrown:

1314085991: uid of Storage has to be numeric.

The reason is obvious, since the submitted storage key contains
the storage object instead of the UID of the storage.

Change-Id: Ia6f6af5252880a7bde8a537bc9e343c392eadbf5
Fixes: #52845
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/24792
Reviewed-by: Xavier Perseguers
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Show not empty databases in install tool 68/24668/3
Nicole Cordes [Sun, 13 Oct 2013 01:22:44 +0000 (03:22 +0200)]
[TASK] Show not empty databases in install tool

This patch enables the visibility of all databases the user has access
to but disables the non empty ones from being chosen.

Resolves: #52585
Releases: 6.2
Change-Id: Ic8b527c5d256e46b99f79c35d236809ce015cbef
Reviewed-on: https://review.typo3.org/24668
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Thorsten Kahler
Tested-by: Thorsten Kahler
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Add README for jQuery-libraries in contrib-directory 91/24791/4
Stefan Neufeind [Tue, 15 Oct 2013 12:08:20 +0000 (14:08 +0200)]
[TASK] Add README for jQuery-libraries in contrib-directory

Those libraries are used through the core but should not be
referenced/used from outside (for example foreign extensions)
as files may be renamed or removed without further notice.

Change-Id: Ifea45d74a19e0cd6cbc1bb555ae40fd8f9ad8cde
Resolves: #52844
Releases: 6.2
Reviewed-on: https://review.typo3.org/24791
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Make sys_file_metadata translatable 51/24751/10
Steffen Ritter [Mon, 14 Oct 2013 19:47:56 +0000 (21:47 +0200)]
[TASK] Make sys_file_metadata translatable

This patch adds SQL and TCA to sys_file_metadata
allowing the table to be localized. In addition
IRRE for sys_file_references is slightly reconfigured
and the - already prepared - repository is adapted to
only return live records in default language.

Resolves: #52816
Releases: 6.2
Change-Id: Ia5fbb1423f7ab2f73f58d9671a50a3c379e9e1f3
Reviewed-on: https://review.typo3.org/24751
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Remove realpath call from unit test bootstrap 90/24790/2
Helmut Hummel [Tue, 15 Oct 2013 11:19:31 +0000 (13:19 +0200)]
[BUGFIX] Remove realpath call from unit test bootstrap

The calculation of PATH_site in TYPO3 does not
take the real location of the directory into
account but respects the settings of the webserver.

To avoid issues especially on Windows systems,
we need to remove the realpath call also from
the unit test bootstrap.

Releases: 6.2
Resolves: #52842
Change-Id: I4c5067e227aece444d4d9480b7ff758262c0996e
Reviewed-on: https://review.typo3.org/24790
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] No exception if uninstalled extension has an invalid key 28/24728/7
Ernesto Baschny [Mon, 14 Oct 2013 10:02:30 +0000 (12:02 +0200)]
[BUGFIX] No exception if uninstalled extension has an invalid key

The loop that scans for packages should skip those whose key is not
valid, in order to avoid an exception later down the road.

Resolves: #52779
Releases: 6.2
Change-Id: Ic9903b7d69fd6c9b9581e85d2f6ea1222ebb8885
Reviewed-on: https://review.typo3.org/24728
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
5 years ago[TASK] Centralize jQuery libraries 33/24233/3
Xavier Perseguers [Tue, 1 Oct 2013 18:33:42 +0000 (20:33 +0200)]
[TASK] Centralize jQuery libraries

A few jQuery libraries and plugins are used by multiple system extensions
and should be centralized to prevent duplicates and be usable by other
extensions as well.

Resolves: #52442
Releases: 6.2
Change-Id: I4c931b82c348c22fc8da9c4ccee5b1b323bc114b
Reviewed-on: https://review.typo3.org/24233
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Fabien Udriot
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Add Category Based FileCollection 75/24575/6
Frans Saris [Fri, 11 Oct 2013 14:19:19 +0000 (16:19 +0200)]
[TASK] Add Category Based FileCollection

In order to ease migration from DAM we need to
be able to get File Objects based on its selected
categories.

This patch extends the file collection type to
create collection based on sys_category.

Resolves: #51580
Releases: 6.2
Change-Id: Ic8dfe39bae8977924b6cf90fb8d6284dd60d84c8
Reviewed-on: https://review.typo3.org/24575
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Preserve vendor name in refering request 87/24787/3
Thomas Maroschik [Tue, 15 Oct 2013 09:28:41 +0000 (11:28 +0200)]
[BUGFIX] Preserve vendor name in refering request

Fluid FormViewHelper adds some hidden fields that contain information
about the current controller. When the form is submitted and contains
a validation error the errorAction int the ActionController is hit.
This one builds a refering request object from the hidden fields without
a vendor name, as this one is not passed from the FormViewHelper.
The request object tries to guess the controller name but guesses a non
namespaced classes name as the vendor name is not given. To get further
information about the class methods the class name gets autoloaded and
creates a wrong classes cache entry as the autoloader cannot detect if
a extension has namespaced or non namespaced classes from the outside.

This patch introduces a hidden vendor name field in the Fluid FormViewHelper.

Fixes: #52823
Releases: 6.2, 6.1, 6.0
Change-Id: I0a82cf2ee07ce293eda0b9f50d3cac7b2a513f15
Reviewed-on: https://review.typo3.org/24787
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[FEATURE] Grouping for scheduler-jobs 08/24608/9
Stefan Neufeind [Sat, 12 Oct 2013 11:11:42 +0000 (13:11 +0200)]
[FEATURE] Grouping for scheduler-jobs

Allows defining of task-groups and groups tasks in
scheduler-list by those groups.

Tasks inside a hidden group are neither automatically executed
nor displayed in the scheduler module.
Task-groups feature a description field that can hold additional
information and is displayed below the group name in the scheduler
list.

Change-Id: I445cf9296ab03e9e0e9e3a35ba5a6aa66ad23f13
Resolves: #52695
Releases: 6.2
Reviewed-on: https://review.typo3.org/24608
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Tested-by: Markus Klein
Reviewed-by: Markus Klein
5 years ago[FEATURE] Add begin/maxItems options to FILES ContentObject 58/24558/5
Steffen Ritter [Fri, 11 Oct 2013 10:17:56 +0000 (12:17 +0200)]
[FEATURE] Add begin/maxItems options to FILES ContentObject

The FILES ContentObject always renders all files. If you access
the media field of a page you probably only want to render the
first attached file. This patch adds begin and maxItems as properties
to TypoScript.

Releases: 6.2
Resolves: #52632
Documentation: #52742
Change-Id: I9755571d5a1a692fbd4b5ea2b3ef82cc99fa2cc1
Reviewed-on: https://review.typo3.org/24558
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Francois Suter
Tested-by: Francois Suter
5 years ago[FEATURE] Show extension keys in documentation list 31/24731/3
Nicole Cordes [Mon, 14 Oct 2013 10:45:32 +0000 (12:45 +0200)]
[FEATURE] Show extension keys in documentation list

Show extension keys in the lists as well.

Resolves: #52782
Releases: 6.2
Change-Id: Idf3d4e4eb1595866de4196c3d71b65619b2031d3
Reviewed-on: https://review.typo3.org/24731
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[FEATURE] TypoScript: Allow relative file inclusion 42/23842/6
Philipp Gampe [Sun, 15 Sep 2013 16:35:03 +0000 (18:35 +0200)]
[FEATURE] TypoScript: Allow relative file inclusion

Allows to pass relative paths to INCLUDE_TYPOSCRIPT if the inclusion
is called recursively from a file.
Those paths start with ./ or ../
The ./ is needed to distinguish them from paths relative to PATH_SITE.

Adds a new utility function to PathUtility that does the actual
resolving. The utility function ships with a unit test.

This allows simple nested TypoScript templates that can be moved or
copied without the need to adapt all includes.
Relative paths will also remain unchanged between loading/saving.

Besides this the patch now also keeps "optional properties"
given in an include-tag for FILE unchanged. So far this only
worked for DIR.

Resolves: #52018
Documentation: #52832
Releases: 6.2
Change-Id: Icfb828152076ad285bd145f55f2aabcea89c50d0
Reviewed-on: https://review.typo3.org/23842
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[BUGFIX] Only load folder contents if folder is initialised 29/22829/4
Frans Saris [Mon, 5 Aug 2013 20:13:55 +0000 (22:13 +0200)]
[BUGFIX] Only load folder contents if folder is initialised

FolderBasedFileCollection::loadContents() has to check if
the folder is initialised prior to loading the contents to
prevent fatal errors.

Fixes: #50802
Releases: 6.2, 6.1, 6.0
Change-Id: If3ce06cff13595da49abbb6aa99c891969aea692
Reviewed-on: https://review.typo3.org/22829
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] FollowUp: Restrict visibility of Category in BE 78/24778/2
Steffen Ritter [Tue, 15 Oct 2013 07:04:51 +0000 (09:04 +0200)]
[BUGFIX] FollowUp: Restrict visibility of Category in BE

The original patch missed commas at the ends of TCA definition
due to a missing git add before pushing the rebase.

Releases: 6.2
Resolves: #52718
Change-Id: Iee04d3592eae3e0b8ea679dbcd065de4016d01dd
Reviewed-on: https://review.typo3.org/24778
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[FEATURE] Restrict visibility of Category for a BE User 18/24618/3
Fabien Udriot [Sat, 12 Oct 2013 10:34:53 +0000 (12:34 +0200)]
[FEATURE] Restrict visibility of Category for a BE User

The change set is a first step for improving the Category
restriction for a BE User.

The patch brings an additional field in BE User Group / User
where category mount points can be defined.

A security aspect is also introduced for controlling what
mount points are going to be displayed in the tree
widget in TCEforms.

Security check related to Data Handler will be provided in
another patch.

Change-Id: Ie817e03f21ecbc8423e4d4c2c081bb99324be2d2
Releases: 6.2
Resolves: #52718
Reviewed-on: https://review.typo3.org/24618
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Superfluous usage of ObjectManagerException 56/24756/2
Oliver Hader [Mon, 14 Oct 2013 22:00:53 +0000 (00:00 +0200)]
[BUGFIX] Superfluous usage of ObjectManagerException

The workspace backend module uses
\TYPO3\CMS\Extbase\Object\ObjectManagerException instead of
\TYPO3\CMS\Extbase\Object\ObjectManager.

Change-Id: Ieb30ed6cd3e8d33de7270800044b0eeebf83be90
Fixes: #52824
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/24756
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[FEATURE] Integrate possibility to extend workspace module 44/22444/7
Oliver Hader [Sat, 20 Jul 2013 11:08:18 +0000 (13:08 +0200)]
[FEATURE] Integrate possibility to extend workspace module

The workspace module only can be extended by overriding PHP and
JavaScript components. This feature aims to integrate a possibility
to extend the definition and behaviour of displayed columns in the
workspace module.

Change-Id: I8ba18c8e35bfc09a5a34becaa66b6543ad73ee01
Resolves: #50219
Releases: 6.2
Reviewed-on: https://review.typo3.org/22444
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[FEATURE] Introduce backend layout data providers 04/11804/43
Oliver Hader [Sat, 12 Oct 2013 16:47:22 +0000 (18:47 +0200)]
[FEATURE] Introduce backend layout data providers

Backend layouts are currently stored in the database as
regular records. Since extension cannot ship their specific
backend layout definitions, data providers become handy in
providing the accordant information taken from e.g. static
files in the file system.

Data providers can be registered like shown in the follow and
need to be implement DataProviderInterface of the namespace
TYPO3\CMS\Backend\View\BackendLayout:

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']
['BackendLayoutDataProvider'][$_EXTKEY] = 'Classname';

A DataProviderContext object is used to transport submitted
data (e.g. table or field name) to the accordant data providers.

Change-Id: I2e3d39e720c6d1bffa9a586148f0eea4cab0210e
Resolves: #37208
Documentation: #52809
Releases: 6.2
Reviewed-on: https://review.typo3.org/11804
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[BUGFIX] Use callback in preg_replace in RemoveXSS 23/24723/3
Jigal van Hemert [Mon, 14 Oct 2013 08:34:52 +0000 (10:34 +0200)]
[BUGFIX] Use callback in preg_replace in RemoveXSS

Since PHP 5.5.0 the use of the /e modifier is deprecated in preg_replace.
Use callback function instead.
Also change comments to CGL format.

Change-Id: I44f12e8bfa1c976e494dae847cc6c53d15ed7c2d
Fixes: #52771
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/24723
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Follow-Up: Fix invalid constant usage 53/24753/2
Sascha Egerer [Mon, 14 Oct 2013 21:06:52 +0000 (23:06 +0200)]
[BUGFIX] Follow-Up: Fix invalid constant usage

A non-existent constant was used which ends
up in an fatal error.

Resolves: #52551
Releases: 6.2
Change-Id: I2af59dfdbca0f5451e605b2aa99b1843ecd67bf7
Reviewed-on: https://review.typo3.org/24753
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Remove add/edit wizards for defaultCategorizedTables 63/24663/2
Frans Saris [Sat, 12 Oct 2013 21:19:17 +0000 (23:19 +0200)]
[TASK] Remove add/edit wizards for defaultCategorizedTables

Removed the add/edit wizards in default TCA column
configuration for the SYS.defaultCategorizedTables.

Resolves: #52699
Releases: 6.2
Change-Id: I7b08115c0ab0b2e2d58968a398d03e018bda3d78
Reviewed-on: https://review.typo3.org/24663
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Better mocking in FormProtection tests 50/24750/2
Christian Kuhn [Mon, 14 Oct 2013 19:39:41 +0000 (21:39 +0200)]
[BUGFIX] Better mocking in FormProtection tests

Some FormProtection tests rely on an instantiated BE_USER object.
The patch takes care of proper mocking in this case and removes
the BE_USER instantiation from unit test bootstrap.

Change-Id: I85005db863bab10ccd61eb910153733b82e2b65e
Resolves: #52819
Releases: 6.2
Reviewed-on: https://review.typo3.org/24750
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Better mocking in BackendUtility::viewOnClick test 48/24748/2
Christian Kuhn [Mon, 14 Oct 2013 18:49:36 +0000 (20:49 +0200)]
[BUGFIX] Better mocking in BackendUtility::viewOnClick test

BackendUtility::viewOnClick() provides a hook to manipulate the
generated URL. ext:workspaces uses this. The patch adapts a
viewOnClick() test to unset possible registered hooks and prevents
unrelated code from messing with the test.

Change-Id: I4977575446bf898224583010ae7a2d34e145e147
Resolves: #52813
Releases: 6.2
Reviewed-on: https://review.typo3.org/24748
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] PackageManager fails on empty array entries in conflicts 98/24698/2
Philipp Gampe [Sun, 13 Oct 2013 14:19:46 +0000 (16:19 +0200)]
[BUGFIX] PackageManager fails on empty array entries in conflicts

Use the same solution as depends some lines above, skip those entries.

Resolves: #52753
Releases: 6.2
Change-Id: Icd7b154be90afe11e9e19dac70ee78eb09a6d1dd
Reviewed-on: https://review.typo3.org/24698
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Xavier Perseguers
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Install Tool: Remove misleading password hint 40/24740/2
Helmut Hummel [Mon, 14 Oct 2013 14:10:31 +0000 (16:10 +0200)]
[TASK] Install Tool: Remove misleading password hint

There is no default install tool password any more
thus we need to change the login message text.

Releases: 6.2
Resolves: #52808
Change-Id: I02b435b951c582a1e1ff466ca9bd8e5e157141e3
Reviewed-on: https://review.typo3.org/24740
Reviewed-by: Wouter Wolters
Reviewed-by: Stefano Kowalke
Tested-by: Stefano Kowalke
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Remove unused TYPO3_CONF_VARS['FE']['logfile_dir'] 35/24735/2
Markus Klein [Mon, 14 Oct 2013 11:58:13 +0000 (13:58 +0200)]
[TASK] Remove unused TYPO3_CONF_VARS['FE']['logfile_dir']

Resolves: #52786
Releases: 6.2
Change-Id: Ib30f60bfa1b673a815edfa241089447d951dfd24
Reviewed-on: https://review.typo3.org/24735
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] PackageStates is not updated in EM 14/24714/3
Thomas Maroschik [Sun, 13 Oct 2013 20:11:32 +0000 (22:11 +0200)]
[BUGFIX] PackageStates is not updated in EM

Introduces a signal in the EM that emits right before extensions
will be installed. The package manager reacts on this signal and
scans the extension folders for new extensions.

Fixes: #52766
Releases: 6.2
Change-Id: Ida1146d98b2c7f280a079c7ce6737111186c95ac
Reviewed-on: https://review.typo3.org/24714
Reviewed-by: Sascha Egerer
Tested-by: Nicole Cordes
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Adapt IndexerService to new table structures 26/24726/5
Steffen Ritter [Mon, 14 Oct 2013 10:40:41 +0000 (12:40 +0200)]
[BUGFIX] Adapt IndexerService to new table structures

When introducing sys_file_metadata and rearranging FAL
to do so some parts of the IndexerService have been
forgotten.
The IndexerService is now adapted to not do SQL itself
anymore and to push the imagesizes to the metadata table.

Resolves: #52765
Releases: 6.2
Change-Id: I692bbf26e99639d9174ce02603f19955a16cc12e
Reviewed-on: https://review.typo3.org/24726
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Hint to the correct unit test runner 20/24720/3
Helmut Hummel [Mon, 14 Oct 2013 08:09:14 +0000 (10:09 +0200)]
[BUGFIX] Hint to the correct unit test runner

Running the test suite with the cli dispatcher
does not work as the bootstrap is executed twice.

Give a hint to the correct command instead
of letting it fatal.

Releases: 6.2
Resolves: #52787
Change-Id: Ic1def6ed40959128282ef2b6093066218012aa77
Reviewed-on: https://review.typo3.org/24720
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[FEATURE] Make frame sizes in viewpage module configurable 20/23720/8
Johannes Feustel [Mon, 9 Sep 2013 23:08:10 +0000 (01:08 +0200)]
[FEATURE] Make frame sizes in viewpage module configurable

Available sizes in viewpage module can be configured with Page
TSConfig mod.web_view.previewFrameWidths. Defining a height
property is optional.

Change-Id: I7900959bc76fc2c586307c0fd4200f9665876dd3
Resolves: #51865
Documentation: #52783
Releases: 6.2
Reviewed-on: https://review.typo3.org/23720
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[FEATURE] Add option to set an alternative domain for preview 30/24730/2
Johannes Pieper [Sat, 12 Oct 2013 11:47:44 +0000 (13:47 +0200)]
[FEATURE] Add option to set an alternative domain for preview

Make it possible to set an alternative domain for preview with
TCEMAIN.previewDomain = example.com
in PageTS. It is useful for multidomain sites.

Change-Id: If69115e877be310225c0e21685df210ca7973164
Resolves: #30889
Documentation: #52781
Releases: 6.2
Reviewed-on: https://review.typo3.org/24730
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[FEATURE] Improve userFunc parameter parsing in conditions 07/20007/7
Dmitry Dulepov [Wed, 17 Apr 2013 07:26:01 +0000 (11:26 +0400)]
[FEATURE] Improve userFunc parameter parsing in conditions

userFunc TypoScript conditions can be improved to use CSV-like
syntax for parameters.

Resolves: #47301
Related: #47159
Releases: 6.2
Change-Id: Ia2a170d0b8eb160607fbd39bd9afbe6ffab679a5
Reviewed-on: https://review.typo3.org/20007
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years agoRevert "[FEATURE] Add option to set an alternative domain for preview" 29/24729/2
Stefan Neufeind [Mon, 14 Oct 2013 10:23:45 +0000 (12:23 +0200)]
Revert "[FEATURE] Add option to set an alternative domain for preview"

Errors in commit-msg. Patch itself okay. Will repush.

This reverts commit 989dc485492927daeeebab67200f43df49bd1d17

Change-Id: I549dfdf33dd75d8a2dcbf1d09132951d8b8d86eb
Reviewed-on: https://review.typo3.org/24729
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[FEATURE] stdWrap for list of results 92/20192/5
Ralf Hettinger [Fri, 26 Apr 2013 16:11:16 +0000 (18:11 +0200)]
[FEATURE] stdWrap for list of results

Adding the TS property
plugin.tx_indexedsearch.resultlist_stdWrap -> stdWrap
which allows passing the list of results through stdWrap

Resolves: #16386
Releases: 6.2
Change-Id: I9b17b0036d21e880747d7d03a58349969c87effb
Reviewed-on: https://review.typo3.org/20192
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Cannot fetch documentation on Windows 73/24673/2
Xavier Perseguers [Sun, 13 Oct 2013 10:24:08 +0000 (12:24 +0200)]
[BUGFIX] Cannot fetch documentation on Windows

TYPO3's internal methods expect forward slashes when computing
absolute filenames.

Fixes: #52745
Releases: 6.2
Change-Id: I00df69f280fa8ddfd59ae1a41c1919003b74362a
Reviewed-on: https://review.typo3.org/24673
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Wouter Wolters
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
5 years ago[FEATURE] Add option to set an alternative domain for preview 26/24626/8
Johannes Pieper [Sat, 12 Oct 2013 11:47:44 +0000 (13:47 +0200)]
[FEATURE] Add option to set an alternative domain for preview

Make it possible to set an alternative domain for preview with
TCEMAIN.viewDomain = example.com
in PageTS. It is useful for multidomain sites.

Resolves: #30889
Documentation: #30889
Releases: 6.2
Change-Id: If00dabcd8c3c32685bd89707ba60f31be26a6dca
Reviewed-on: https://review.typo3.org/24626
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Follow-up: Add filter for available records, CGL 27/24727/2
Marc Bastian Heinrichs [Mon, 14 Oct 2013 09:56:29 +0000 (11:56 +0200)]
[TASK] Follow-up: Add filter for available records, CGL

Resolves: #49739
Releases: 6.2
Change-Id: Iee24b073e0f5fdf7da469c289f21219b35c62928
Reviewed-on: https://review.typo3.org/24727
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Detect unix-styled absolute paths on Windows systems 21/24721/3
Nicole Cordes [Mon, 14 Oct 2013 08:12:34 +0000 (10:12 +0200)]
[BUGFIX] Detect unix-styled absolute paths on Windows systems

Currently PathUtility::isAbsolutePath and GeneralUtility::isAbsPath
only the for ":\" to detect absolute paths on Windows systems. This
patch provides even ":/" as unix-styled paths are mostly used now.

Resolves: #52773
Releases: 6.2, 6.1, 6.0
Change-Id: I1e132bbe74394861af4bf02a22287c9496953150
Reviewed-on: https://review.typo3.org/24721
Reviewed-by: Thomas Maroschik
Reviewed-by: Wouter Wolters
Reviewed-by: Sascha Egerer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
5 years ago[TASK] Improve classLoader compatibility for Windows systems 22/24722/2
Nicole Cordes [Mon, 14 Oct 2013 08:23:42 +0000 (10:23 +0200)]
[TASK] Improve classLoader compatibility for Windows systems

On Windows systems the (absolute) paths are different to unix ones. The
core already provides functions to catch both cases in different checks.
This patch enables the use of those functions in classLoader.

Resolves: #52774
Releases: 6.2
Change-Id: I7dd4b2f7a88b07281222995a58962deeb27e8869
Reviewed-on: https://review.typo3.org/24722
Reviewed-by: Wouter Wolters
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
5 years ago[BUGFIX] Followup Bootstrap for Unit Tests 16/24716/2
Helmut Hummel [Sun, 13 Oct 2013 23:35:47 +0000 (01:35 +0200)]
[BUGFIX] Followup Bootstrap for Unit Tests

There was a typo in the environment variable
check which prevented it from being evaluated.

This change fixes that.

Releases: 6.2
Change-Id: I05798ab00805e7c035dcf4635cf32c0e207822d3
Reviewed-on: https://review.typo3.org/24716
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Bootstrap for Unit Tests 96/23396/7
Helmut Hummel [Wed, 28 Aug 2013 10:31:08 +0000 (12:31 +0200)]
[TASK] Bootstrap for Unit Tests

Until now we still needed the phpunit extension
to be installed and cli access to be configured
to execute unit tests.

This change introduces a bootstrap file which
can be used to execute the unit test suite
without the extension.

It is of course still possible to use the PHPUnit
and VHS framework files present in the extension.

This change also splits user initialization into
separate bootstrap methods and allows the PATH_site
and PATH_thisScript constants to be set outside
the bootstrap.

Activate Travis CI to make use of this.

Resolves: #51436
Releases: 6.2
Change-Id: I43f51896fd9895ead8d0084f37d34f3347f1c5e5
Reviewed-on: https://review.typo3.org/23396
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Tested-by: Philipp Gampe
Reviewed-by: Philipp Gampe
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[FEATURE] Split file permission for be_users and be_groups 13/24613/12
Nicole Cordes [Fri, 11 Oct 2013 08:46:26 +0000 (10:46 +0200)]
[FEATURE] Split file permission for be_users and be_groups

Since TYPO3 6.0 you can set specific file and folder permissions by
userTSconfig. This patch adds a new field for every table to be able to
set detailed access in the backend record. Any userTSconfig will take
privilege over user and group data. An update step converts the
old binary values to string list.
Deprecated functions to support the binary values of the old fields
are removed completly. Unit tests were adapted.

Resolves: #52716
Resolves: #50574
Releases: 6.2
Change-Id: I064887c60e215e9c394d484a4afd3faef51ee324
Reviewed-on: https://review.typo3.org/24613
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Object passed to date() 07/24707/3
Xavier Perseguers [Sun, 13 Oct 2013 17:56:12 +0000 (19:56 +0200)]
[BUGFIX] Object passed to date()

Function date() expects a timestamp as second parameter, not
an object.

Fixes: #52759
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I6821bafa51372c50d8903c63d62ea44933bc12b3
Reviewed-on: https://review.typo3.org/24707
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[BUGFIX] Unit tests: Superfluous backup 05/24705/4
Christian Kuhn [Sun, 13 Oct 2013 17:10:06 +0000 (19:10 +0200)]
[BUGFIX] Unit tests: Superfluous backup

Globals are automatically back-upped, no need to do that manually.

Change-Id: I40a6b046f6bb177100d72707a114de76ef466a55
Resolves: #52758
Releases: 6.2
Reviewed-on: https://review.typo3.org/24705
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] ext:install Correct exception class inheritance 04/24704/2
Christian Kuhn [Sun, 13 Oct 2013 16:29:34 +0000 (18:29 +0200)]
[BUGFIX] ext:install Correct exception class inheritance

Install\Controller\Exception\Redirect and RedirectLoopException
should extend from Install\Controller\Exception.

Change-Id: Ic1124a7ba51617c7eec086603126080e33d5c2e5
Resolves: #52757
Releases: 6.2
Reviewed-on: https://review.typo3.org/24704
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Remove obsolete files 03/24703/2
Christian Kuhn [Sun, 13 Oct 2013 16:19:36 +0000 (18:19 +0200)]
[TASK] Remove obsolete files

Some files are found in extensions that were submodules a while ago:
* The .gitignore file of linkvalidator is identical to the main
  .gitignore file and can be removed
* The .gitignore file together with the UnitTests.xml of extbase
  is covered by core UnitTests.xml

Change-Id: Ief188d10d2caa428d10f67b6b3e7ab1cc0d768f6
Resolves: #52756
Releases: 6.2
Reviewed-on: https://review.typo3.org/24703
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] PackageManager fails on empty and non-extension dirs 01/24701/2
Philipp Gampe [Sun, 13 Oct 2013 14:34:57 +0000 (16:34 +0200)]
[BUGFIX] PackageManager fails on empty and non-extension dirs

Check if the could-be extension has an ext_emconf.php file.

Resolves: #52754
Releases: 6.2
Change-Id: I39f0da5d108ce38e3f401c64b82e1bb810b4437b
Reviewed-on: https://review.typo3.org/24701
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[FEATURE] Let select() fetch records without translation parent 83/13083/6
Benjamin Mack [Thu, 26 Jul 2012 14:28:49 +0000 (16:28 +0200)]
[FEATURE] Let select() fetch records without translation parent

When you fetch records through the TypoScript object
"CONTENT" (or, let's say through ".select" in general),
you have an option called "languageField" in order
to fetch only records that match the current language.

What "select" does here, is that it fetches all records in
the default language ("0,-1") and then overlays them
with the records of the current language.

However, it's not possible to fetch the records that
don't have a localization parent.

The patch introduces a new option called
"includeRecordsWithoutDefaultTranslation" that also
checks for records with the languageField matching the
current language, where there is no translation parent
(l10n_parent = 0).

Change-Id: I48dc3a3b72a1dce515c5e5dd2278137888a1fe7f
Resolves: #24005
Releases: 6.2
Reviewed-on: https://review.typo3.org/13083
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Better mocking in FAL FileTest 95/24695/2
Christian Kuhn [Sun, 13 Oct 2013 12:47:48 +0000 (14:47 +0200)]
[BUGFIX] Better mocking in FAL FileTest

Another test is changed to full mocking and testing only the concern.

Change-Id: I90001650246a6856a07539a4b05f7e926d9329b8
Resolves: #52750
Releases: 6.2
Reviewed-on: https://review.typo3.org/24695
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[FEATURE] Add filter for available records in multi select element 71/24671/3
Marc Bastian Heinrichs [Sun, 13 Oct 2013 09:58:14 +0000 (11:58 +0200)]
[FEATURE] Add filter for available records in multi select element

This patch adds the possibility to filter available items in a multi
select element. By TCA settings you could enable a text field for
individual word filter and you could predefine search words the user
can select in a drop down.

Resolves: #49739
Releases: 6.2
Change-Id: I7112d10009da01a68c8e883719e2f4cee5201002
Reviewed-on: https://review.typo3.org/24671
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[FEATURE] Integrate preliminary PackageManager API 05/19605/32
Thomas Maroschik [Mon, 8 Jul 2013 19:22:31 +0000 (21:22 +0200)]
[FEATURE] Integrate preliminary PackageManager API

The Package Manager from Flow has been backported and integrated as
CMS Package Manager. This enables us to use full vendor namespaces for
extensions and brings us closer to a unified TYPO3 package format.

For more Details see: http://wiki.typo3.org/Blueprints/Packagemanager

Resolves: #47018
Releases: 6.2
Change-Id: I52abedaf470cebddb3553e37581021bf368380e6
Reviewed-on: https://review.typo3.org/19605
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Alexander Opitz
Reviewed-by: Sascha Egerer
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Tested-by: Alexander Opitz
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Follow-up: Split sys_file table to extract metadata 94/24694/2
Christian Kuhn [Sun, 13 Oct 2013 12:20:39 +0000 (14:20 +0200)]
[BUGFIX] Follow-up: Split sys_file table to extract metadata

Two unit tests failed after the patch. This is fixed by rewriting
the tests to real unit tests and better mocking.

Change-Id: If43b1867d538a330189e0fc8b8041a1192c075a2
Resolves: #52726
Releases: 6.2
Reviewed-on: https://review.typo3.org/24694
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Split sys_file table to extract metadata 03/24503/9
Steffen Ritter [Sun, 15 Sep 2013 15:11:51 +0000 (17:11 +0200)]
[TASK] Split sys_file table to extract metadata

Parts of the sys_file table are internal cache data
for the FAL Api to work. Other parts are a meta-data
storage for the FAL frontend output.
On the one hand this mixes up several concerns, on
the other hand this makes it difficult to translate
and version metadata since this would result in
duplicate FAL index entries.

As a result those two concerns are split in separate
tables. The user does not "see" the sys_file table
anymore. Metadata is edited only in sys_file_metadata.

Change-Id: Ia6e3664ad5602affcba4e02cf415aa39436d4352
Resolves: #52726
Releases: 6.2
Reviewed-on: https://review.typo3.org/24503
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] DataMapFactory must detect TCA "type" and "internal_type" 27/24627/8
Alexander Schnitzler [Sat, 12 Oct 2013 12:09:15 +0000 (14:09 +0200)]
[BUGFIX] DataMapFactory must detect TCA "type" and "internal_type"

When building the column maps inside DataMapFactory
the column configurations "type" and "internal_type"
are not considered at all. This is necessary for
several follow up patches improving the handling
of e.g. mm_match_fields.

Releases: 6.2
Resolves: #52723
Change-Id: Id7bc9a8ae9d46a01c1f5fef92f7e7ec5a1e3eb60
Reviewed-on: https://review.typo3.org/24627
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Follow-Up: Fix major bug in Enumeration::equals + Tests 34/24634/11
Sascha Egerer [Sat, 12 Oct 2013 15:29:10 +0000 (17:29 +0200)]
[BUGFIX] Follow-Up: Fix major bug in Enumeration::equals + Tests

* Fixed major bug in Enumeration->equals method by
  changing object comparison to loose comparison
* Optimized Enumeration at some places
* Do not throw generic exceptions but specific exceptions
* Add Unit tests
* Move "cast" function from VersionState to Enumeration

Resolves: #52551
Releases: 6.2
Change-Id: Ief64bc08e474c38036d34ed3791c13e39661e9b3
Reviewed-on: https://review.typo3.org/24634
Reviewed-by: Sebastian Fischer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[FEATURE] Improve usability for BE database thumbnails/file icons 56/20456/5
Patrick Broens [Sat, 12 Oct 2013 22:20:18 +0000 (00:20 +0200)]
[FEATURE] Improve usability for BE database thumbnails/file icons

The backend produces thumbnails/file icons/truetype font previews which
come from a database row. The usability for these images can be improved
by showing the file name or title on hover using the title attribute.
Currently only the thumbnail/icon is produced and more information can
only be read by clicking the icon or opening the record, like in the
content element File Links.

This patch changes the alt attribute to the alternative text and adds the
title attribute for these images. When no title has been given for a file
record, the file name will be used instead.

Change-Id: I23b761fb204dda2c200f3ea57961cc017840fcac
Fixes: #47709
Releases: 6.2
Reviewed-on: https://review.typo3.org/20456
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Integrate Flow Package Subpackage 66/24666/4
Thomas Maroschik [Sat, 12 Oct 2013 23:29:32 +0000 (01:29 +0200)]
[TASK] Integrate Flow Package Subpackage

In order to enable the Package Management API, the used Flow classes
have been placed in the core. The last synced state and the made
changes to the source are noted in a README file.

Resolves: #52737
Related: #47018
Releases: 6.2
Change-Id: Ic8fda623d9ff81f52c3c104a0d5ae7c290bf7953
Reviewed-on: https://review.typo3.org/24666
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
5 years ago[TASK] Add composer.json files for each sysext extension 67/24667/2
Christian Kuhn [Sun, 13 Oct 2013 00:03:57 +0000 (02:03 +0200)]
[TASK] Add composer.json files for each sysext extension

Change-Id: Iaf88fc46903400d97f6f1dc3acedb3c9b438e8dd
Releases: 6.2
Resolves: #52740
Related: #47018
Reviewed-on: https://review.typo3.org/24667
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Fix incomplete mocking in DataMapFactoryTest 28/24628/2
Alexander Schnitzler [Sat, 12 Oct 2013 12:22:54 +0000 (14:22 +0200)]
[BUGFIX] Fix incomplete mocking in DataMapFactoryTest

Using "expects" on $mockDataMapFactory may fail with
several methods like "setOneToOneRelation" as these methods
return a ColumnMap object but the mock doesn't.

This patch adds the missing "->will($this->return())"
for these methods.

Releases: 6.2
Resolves: #52724
Change-Id: Ic91a7c51b1451c039e20b8ac310fdb25b02e1d84
Reviewed-on: https://review.typo3.org/24628
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[FEATURE] Allow to disable "Core Updater": not only optically 61/24661/3
Ernesto Baschny [Sat, 12 Oct 2013 20:24:50 +0000 (22:24 +0200)]
[FEATURE] Allow to disable "Core Updater": not only optically

Follow-up to "Allow to disable the "Core Updater" through an env-variable".
Now it's not even possible to call the individual Ajax requests that do the
update if it is disabled.

Resolves: #52639
Releases: 6.2
Change-Id: Icfa18d619bbb8aabf1896920f28fe5a63bd5c345
Reviewed-on: https://review.typo3.org/24661
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[FEATURE] Allow to disable the "Core Updater" through an env-variable 29/24629/2
Ernesto Baschny [Sat, 12 Oct 2013 12:14:19 +0000 (14:14 +0200)]
[FEATURE] Allow to disable the "Core Updater" through an env-variable

By setting the environment variable "TYPO3_DISABLE_CORE_UPDATER=1" the
Core Updater functionality is disabled in the Install Tool. This can
be useful for providers which have it's own means of upgrading the
Core.

Resolves: #52639
Releases: 6.2
Change-Id: I88272ea613d95512ad780cefa5e261cf2dc6a60c
Reviewed-on: https://review.typo3.org/24629
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[TASK] Make use of autoloading for fixtures in testclasses 31/24131/3
Stefan Neufeind [Sat, 28 Sep 2013 20:47:34 +0000 (22:47 +0200)]
[TASK] Make use of autoloading for fixtures in testclasses

Autoloader can be used in almost all cases.

Change-Id: I853e85758f6b39a6cb0798891ca0bea40ad6915c
Resolves: #52357
Releases: 6.2
Reviewed-on: https://review.typo3.org/24131
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Wrong calculation of maximum value for checkbox fields 50/24650/2
Nicole Cordes [Sat, 12 Oct 2013 16:36:30 +0000 (18:36 +0200)]
[BUGFIX] Wrong calculation of maximum value for checkbox fields

This patch corrects the calculation of the maximum value for a group
of checkboxes which is stored as bit flag value in the database. The
formular for the maximum value is 2nd power of the item count minus one.

Resolves: #52104
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I0eb430b72a072838c6ac3bc3f5e339ff2509c455
Reviewed-on: https://review.typo3.org/24650
Reviewed-by: Thorsten Kahler
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Introduce Enum constants for t3ver_state 10/24410/9
Sascha Egerer [Sat, 5 Oct 2013 15:33:44 +0000 (17:33 +0200)]
[TASK] Introduce Enum constants for t3ver_state

Currently the t3ver_state field can have 6
different integer values.
To clean up the code and make it better
understandable a Enum object is implemented.

Resolves: #52551
Releases: 6.2
Change-Id: I2f41d6bbf6575aec4a5c2b6d86495700d61bf5b7
Reviewed-on: https://review.typo3.org/24410
Reviewed-by: Sebastian Fischer
Tested-by: Sebastian Fischer
Reviewed-by: Thorsten Kahler
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] EXT:documentation should accept other index file names 41/24441/4
Johannes Feustel [Sun, 6 Oct 2013 23:04:20 +0000 (01:04 +0200)]
[BUGFIX] EXT:documentation should accept other index file names

EXT:documentation checks for Index.html, index.html and index.htm as
main files for additional html documentations.

Change-Id: Idd2970ef9d6cc1b6f436b0c0fe0c607cf7b9d903
Resolves: #52569
Releases: 6.2
Reviewed-on: https://review.typo3.org/24441
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[FEATURE] Let workspace users decide whom to send notifications 47/22447/2
Oliver Hader [Wed, 19 Jun 2013 13:05:34 +0000 (15:05 +0200)]
[FEATURE] Let workspace users decide whom to send notifications

Workspaces are defined by having owners, members and default
notification recipients. These recipients, of course, need to be
a sub-set out of the owners/members crowd. Besides that, changing
the stage to "ready to publish execute" only considers owners and
falling back to "editing" stage only considers editors.

This feature request aims to allow editors/users to define whom
to notify, out of the owners/members crowd without limiting
these possibilities on the system level.

Resolves: #50224
Releases: 6.2
Change-Id: I39ded2ed02772040d498d5293d24c8bd6fb9ef46
Reviewed-on: https://review.typo3.org/22447
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[FEATURE] Introduce a PHP Enumeration type 98/24598/5
Sascha Egerer [Fri, 11 Oct 2013 17:05:04 +0000 (19:05 +0200)]
[FEATURE] Introduce a PHP Enumeration type

Implement a enumeration type without a
relation to 3rd party php modules.

Resolves: #52707
Releases: 6.2
Change-Id: Ie1138cf343a029132357640401f3a501fc0a3290
Reviewed-on: https://review.typo3.org/24598
Reviewed-by: Sebastian Fischer
Tested-by: Sebastian Fischer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[FEATURE] uriBuilder should honor POST arguments for addQueryString 32/22432/5
Stanislas Rolland [Fri, 19 Jul 2013 19:31:09 +0000 (15:31 -0400)]
[FEATURE] uriBuilder should honor POST arguments for addQueryString

Currently the addQueryString option in the uriBuilder only supports
arguments which are in the query string. Therefore, the pagination
widget does not work with filtering post requests.

Solution: Add addQueryStringMethod (already supported by typolink
configuration) as property of uriBuilder and as argument of the
following fluid view helpers:
* link.action
* link.page
* uri.action
* uri.page
* widget.link
* widget.uri
* widget.pagination
Add addQueryStringMethod as configuration option of the paginate widget.

Fixes: #35281
Fixes: #11441
Releases: 6.2
Change-Id: I8f2963fa7467dffcf3b9535d2a41820de8f9930a
Reviewed-on: https://review.typo3.org/22432
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefano Cecere
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Clean-up responsibilities of FAL classes 23/24623/4
Steffen Ritter [Sat, 12 Oct 2013 11:04:49 +0000 (13:04 +0200)]
[BUGFIX] Clean-up responsibilities of FAL classes

This is a followup for the patch
I6ceeb8db4dd4e470e7c72dcfbc2121093411da75.

The latest change sets missed to adapt
the unit-tests accordingly.

Furthermore due to this change it came to light,
that the active loading option of storages in the file object
may create a recursion issue, if the file is not indexed.
This architectural problem has been removed by making
the constructor argument mandatory and extend the
ResourceFactory to always inject the correct storage.

Releases: 6.2
Resolves: #51528
Change-Id: Ic1561b83f49783e3af1b8f3403e1b8eab84a1380
Reviewed-on: https://review.typo3.org/24623
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Follow-up: Description-field for scheduler-jobs 30/24630/2
Philipp Gampe [Sat, 12 Oct 2013 13:22:49 +0000 (15:22 +0200)]
[BUGFIX] Follow-up: Description-field for scheduler-jobs

Add the new field to the list of fields to be save during task
creation.

Resolves: #52696
Releases: 6.2
Change-Id: I4c281535a22318a6a742b25c6196a511bc620e24
Reviewed-on: https://review.typo3.org/24630
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[BUGFIX] SaltFactory has wrong type hint 24/24624/2
Markus Klein [Sat, 12 Oct 2013 11:09:47 +0000 (13:09 +0200)]
[BUGFIX] SaltFactory has wrong type hint

Resolves: #52721
Releases: 6.2
Change-Id: Ife6338dd9f12ae21fce746f3707710ab7fa36464
Reviewed-on: https://review.typo3.org/24624
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Prevent empty newline below scheduler-task-name 12/24612/2
Stefan Neufeind [Sat, 12 Oct 2013 01:20:07 +0000 (03:20 +0200)]
[BUGFIX] Prevent empty newline below scheduler-task-name

The newline below a scheduler-task-name is only needed
if a progress-bar and/or additional-information follow.

Change-Id: I8d92fc0d3b8d88fdbdfdc79d8ee501b74d821bcc
Resolves: #52715
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/24612
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[FEATURE] Description-field for scheduler-jobs 10/24610/3
Stefan Neufeind [Fri, 11 Oct 2013 22:05:36 +0000 (00:05 +0200)]
[FEATURE] Description-field for scheduler-jobs

Adds a description-textfield for tasks. This will be displayed
in the scheduler-list. The description can either be shown as
hover (default) or below the job-name, configurable through
the extension-settings for "scheduler".

Change-Id: If0191da43677fc261cb73257e3ede848a5375d69
Resolves: #52696
Releases: 6.2
Reviewed-on: https://review.typo3.org/24610
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[FEATURE] Fallback paths (backport from Flow) 50/23950/10
Tymoteusz Motylewski [Sat, 21 Sep 2013 13:15:53 +0000 (15:15 +0200)]
[FEATURE] Fallback paths (backport from Flow)

With this change it will be possible to define multiple values
for the 'template', 'partial' and 'layout' root path configuration.
Each of the respective options will now have a corresponding setter
that enables configuration of multiple paths to look up when loading a
Fluid template file:
$view->setTemplateRootPaths(array('first/path', 'second/path', …));
The old setters will be kept and they overrule the fallback paths. So:
$view->setTemplateRootPath('some/path');
would disable the fallback paths of the previous example. The same is true
for 'setPartialRootPath()' and 'setLayoutRootPath()'.
The rootPath-getters have been deprecated in favor of
'getTemplateRootPaths()', 'getPartialRootPaths()' and
'getLayoutRootPaths()'.

This is a backport of the Flow feature applied in
Change-Id: I530e9a1fadbbd210c980c62cf2022c38fa81bb56 issue #39870

Resolves: #39868
Releases: 6.2
Change-Id: Id5a768ae834c53cd20fd59e762c2acf2ea9e6356
Reviewed-on: https://review.typo3.org/23950
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[TASK] Clean-up responsibilities of FAL classes 39/23839/14
Steffen Ritter [Sun, 15 Sep 2013 13:40:17 +0000 (15:40 +0200)]
[TASK] Clean-up responsibilities of FAL classes

The FileRepository, ResourceStorage and ResourceFactory all somehow
take care of creating files, managing files and their data.  Getting a
file from ResourceStorage->getFile never involves the index-Records and
even if index records exists the driver always needs to query all file
information out of the filesystem to create FileObject.

As we always expect the index-record to be up to date we can rely on
that and must not query the file-system for every bit of information.
In addition creating objects without looking for the record first
renders the FAL API useless. This patch introduces a
FileIndexRepository which only deals with these kind of records and
deprecates the methods within the FileRepository.

In addition it moves around the "file-object creation logic" so this is
dealt with at a central place: The Resource Factory. Finally the
ResourceFactory always uses to get an IndexRecord from the newly
introduced Repository. If the FileInfo is not present, it queries the
Storage for the fileInfo (from the Driver).

Releases: 6.2
Resolves: #51528
Change-Id: I6ceeb8db4dd4e470e7c72dcfbc2121093411da75
Reviewed-on: https://review.typo3.org/23839
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] DataMapFactory::resolveTableName must remove leading backslashes 96/24596/4
Alexander Schnitzler [Fri, 11 Oct 2013 16:33:10 +0000 (18:33 +0200)]
[BUGFIX] DataMapFactory::resolveTableName must remove leading backslashes

Currently the method just splits the given class name
by backslashes to detect the proper vendor name. If using
a leading backslash the algorithm of this function causes
a wrong result. Therefore all leading backslashes must be
removed first.

Releases: 6.2, 6.1, 6.0
Fixes: #52708
Change-Id: Icdc46facf66260bf528994964fb713d3dd24b3c6
Reviewed-on: https://review.typo3.org/24596
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Select available page when changing WS 10/21110/3
Thorsten Kahler [Thu, 7 Feb 2013 17:13:34 +0000 (18:13 +0100)]
[BUGFIX] Select available page when changing WS

When changing to another workspaces the currently selected page is not
always available.
This change selects the next available page from the rootline for page
tree and submodules of web module when the current page does not exist
in the workspace.

Change-Id: I0502fea3c21515421586403a41f5c696ffc0d762
Fixes: #37611
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21110
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Timo Webler
Tested-by: Timo Webler
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Clear_cache() must not consider page ids lower than 0 78/23078/5
Oliver Hader [Fri, 11 Oct 2013 12:30:53 +0000 (14:30 +0200)]
[BUGFIX] Clear_cache() must not consider page ids lower than 0

DataHandler::clear_cache() is called with a table and an uid that
has been modified to trigger the clear cache commands. To find
siblings, children, parents, etc. the pid value is directly used
to find the affected pages. However, in a workspace context, the
pid is always "-1" which leads to a selection of all page
records of all workspaces. This amount is used to flush all
defined caches by a given tag name and might result in execution
time outs.

To avoid these superfluous cache flushes, page ids lower than 0
are ignored now in this section.

Fixes: #51051
Releases: 6.0, 6.1, 6.2
Change-Id: I03987bbd8c5d3526fb4dfda75b0dd0316fe1d836
Reviewed-on: https://review.typo3.org/23078
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[BUGFIX] Copy records to target page before origin page is deleted 13/24513/4
Timo Webler [Thu, 10 Oct 2013 07:21:48 +0000 (09:21 +0200)]
[BUGFIX] Copy records to target page before origin page is deleted

When a deletion of a page is published, all moved records
have to be copied to their new location before they get deleted.

Resolves: #52636
Releases: 6.2, 6.1, 6.0
Change-Id: Ide471b4f25c0350a1df57af3d92283310a76cac9
Reviewed-on: https://review.typo3.org/24513
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Create workspace placeholder with processed field content 40/22940/4
Sascha Egerer [Wed, 7 Aug 2013 19:27:08 +0000 (21:27 +0200)]
[BUGFIX] Create workspace placeholder with processed field content

The field content that is used for the workspace placeholder records
is not processed through the field configuration.

This produces annoying error messages to the user.

Resolves: #17551
Releases: 6.2, 6.1, 6.0

Change-Id: I79823cc2bd0d26a03b0850045c08999ebdbc1a9b
Reviewed-on: https://review.typo3.org/22940
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Add workspace overlay for fetched records. 59/10759/8
Timo Webler [Wed, 25 Apr 2012 15:07:31 +0000 (17:07 +0200)]
[BUGFIX] Add workspace overlay for fetched records.

Call workspace overlay to resolve the right uid for
move-placeholder.

Change-Id: I6af65fcda1b1fffe72dfbc314976e42f30120d71
Fixes: #36573
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/10759
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Migrate workspaces tries to upgrade non existing tables 96/23796/6
Wouter Wolters [Thu, 12 Sep 2013 19:17:02 +0000 (21:17 +0200)]
[BUGFIX] Migrate workspaces tries to upgrade non existing tables

The migrate workspaces update wizard task tries to upgrade non
existing tables. Check if table exists before executing the query.

Change-Id: I57855c079a8485537888345b61c9b3f0a17ca492
Resolves: #34246
Releases: 6.2
Reviewed-on: https://review.typo3.org/23796
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] WS preview shows pages changes from all WS 52/11252/11
Thorsten Kahler [Thu, 7 Feb 2013 10:14:25 +0000 (11:14 +0100)]
[BUGFIX] WS preview shows pages changes from all WS

In workspace preview the query condition for pages records has to be
enhanced to restrict to live WS and current WS.

Change-Id: Ib271b9bb435b50f2777621707728a74ba5de4187
Fixes: #37209
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/11252
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[TASK] Performance: Use cache_hash with "mixed" data 12/24512/4
Stefan Neufeind [Thu, 10 Oct 2013 00:32:00 +0000 (02:32 +0200)]
[TASK] Performance: Use cache_hash with "mixed" data

The cache-frontend is VariableFrontendCache that already uses
serialize() or (if available) igbinary_serialie() itself.
No need to additionally serialize data.

Change-Id: I8c3cfd2a279f8a38bc5c4d860329f2333f1304a5
Resolves: #52648
Releases: 6.2
Reviewed-on: https://review.typo3.org/24512
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] BackendUtility::viewOnClick() called with non-integer 51/22951/5
Oliver Hader [Thu, 8 Aug 2013 10:48:24 +0000 (12:48 +0200)]
[BUGFIX] BackendUtility::viewOnClick() called with non-integer

The origin is in DatabaseRecordList::makeControl() that
tries to create a preview link with the page id "243#33163"
- more strict checks will deny this request because it's not
the expected integer value. Thus, BackendUtility::viewOnClick()
is called with a string instead of an integer.
This happens in the regular list module in the TYPO3 backend.
It's not critical if hooks and further processors use intval() on the
argument, but is bad if methods expect the defined integer value.

Change-Id: Ib66c1ee219b67e51d534f11fbf1eaa330476ca93
Fixes: #50912
Releases: 4.5, 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/22951
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Improve message for the RedirectLoopException 65/24565/2
Nicole Cordes [Fri, 11 Oct 2013 13:09:04 +0000 (15:09 +0200)]
[BUGFIX] Improve message for the RedirectLoopException

If any RedirectLoopException is raised there should be a mention that
for any restart the redirectCount parameter has to be removed or the
install tool has to be restarted from backend.

Resolves: #52703
Releases: 6.2
Change-Id: I766a036db261376e978d1ff51bb2c69ee34fff82
Reviewed-on: https://review.typo3.org/24565
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn