Packages/TYPO3.CMS.git
4 years ago[TASK] Remove extension class for ElementBrowserFolderTreeView 24/41024/3
Thomas Schlumberger [Thu, 9 Jul 2015 09:45:56 +0000 (11:45 +0200)]
[TASK] Remove extension class for ElementBrowserFolderTreeView

EXT:recordlist ships with an extended ElementBrowserFolderTreeView
which is a subclass of the regular ElementBrowserFolderTreeView from
EXT:backend. The subclass can be easily merged into the parent class
as the logic is non-breaking for the areas which use the parent class.

The patch removes the child class (4th level inheritance!) into the parent
class and changes all occurences in the core to the parent class.

A class alias map is added for the old class into EXT:compatibility6.

Resolves: #67999
Releases: master
Change-Id: Id13f999311230a8aafbc2f61f4538c5e55d052c6
Reviewed-on: http://review.typo3.org/41024
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Replace typo3- specific CSS Classes with Bootstrap 12/41012/4
Thomas Schlumberger [Thu, 9 Jul 2015 09:07:49 +0000 (11:07 +0200)]
[TASK] Replace typo3- specific CSS Classes with Bootstrap

All custom typo3-classes (typo3-red, typo3-dimmed) are replaced
with bootstrap alternatives. Through that, some PHP Tree classes
don't need to overload the method anymore from the AbstractTreeView
and are removed.

Resolves: #67994
Releases: master
Change-Id: Ie95b70e9b402a7a66eb6c5a2dbe2e2a87c96c5aa
Reviewed-on: http://review.typo3.org/41012
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Replace gfx/spinner.gif with CSS 11/41011/2
Benjamin Mack [Thu, 9 Jul 2015 07:43:46 +0000 (09:43 +0200)]
[TASK] Replace gfx/spinner.gif with CSS

Replace all possible occurrences of the gfx/spinner.gif with
CSS look-a-likes, and have the t3editor still use the
spinner.gif for the time being, but moved to the
correct location.

Resolves: #67992
Releases: master
Change-Id: I37b50be3f5fbb185dc1620e2d616d3cea3a9a5f5
Reviewed-on: http://review.typo3.org/41011
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[FOLLOWUP] Restructure lowlevel commands and documentation 10/41010/2
Xavier Perseguers [Thu, 9 Jul 2015 06:38:59 +0000 (08:38 +0200)]
[FOLLOWUP] Restructure lowlevel commands and documentation

Convert the simple Markdown manual into a reStructuredText document
to stick to best practices for TYPO3 extensions.

Change-Id: Ibe50d8f404984c5c0c3abe1731a8c95322752e8f
Resolves: #67946
Releases: master
Reviewed-on: http://review.typo3.org/41010
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Move NotFound icons to EXT:core 07/41007/2
Benjamin Mack [Wed, 8 Jul 2015 20:45:32 +0000 (22:45 +0200)]
[TASK] Move NotFound icons to EXT:core

Resolves: #67990
Releases: master
Change-Id: I171fb2f5bfdf237fc61001a3158e38599b00756b
Reviewed-on: http://review.typo3.org/41007
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Entry script handling cleanup 04/41004/4
Christian Kuhn [Wed, 8 Jul 2015 17:07:16 +0000 (19:07 +0200)]
[TASK] Entry script handling cleanup

The patch drops handling and definition of the constants
TYPO3_MOD_PATH and PATH_typo3_mod that were used for script
path resolution and some resource calculations.
This is an important step for further routing scripts
within the core and module bootstrap.

Resolves: #67987
Releases: master
Change-Id: Iab2cd2ecac439a1da025825a0c16d8290e6d3332
Reviewed-on: http://review.typo3.org/41004
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Record history with ext:version fatals 03/41003/2
Wouter Wolters [Wed, 8 Jul 2015 17:00:01 +0000 (19:00 +0200)]
[BUGFIX] Record history with ext:version fatals

Module path is registered with access "user,group" and breaks
the module. Remove this not needed line.

Resolves: #67977
Releases: master
Change-Id: I8c26f7e4d8b58b879ffed728bbd0d22c6e2f59ea
Reviewed-on: http://review.typo3.org/41003
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Clean up ext_emconf files 05/41005/2
Christian Kuhn [Wed, 8 Jul 2015 18:32:14 +0000 (20:32 +0200)]
[TASK] Clean up ext_emconf files

The md5 value is not handled in core for quite a while
and removed together with some obsolete locallang flags
and further test related ext_emconf settings.

Resolves: #67979
Releases: master
Change-Id: I86804f732f7f32cf94aab7d18dfab79cdf67e458
Reviewed-on: http://review.typo3.org/41005
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
4 years ago[TASK] Change Import/Export icons to sprite icons 84/40984/3
Benjamin Mack [Wed, 8 Jul 2015 11:55:55 +0000 (13:55 +0200)]
[TASK] Change Import/Export icons to sprite icons

Resolves: #67974
Releases: master
Change-Id: I28eb7c2305e3061fe92a03d15c1ef6d437d04edb
Reviewed-on: http://review.typo3.org/40984
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Remove FrontendFormEngine class 98/40998/2
Christian Kuhn [Wed, 8 Jul 2015 11:10:05 +0000 (13:10 +0200)]
[TASK] Remove FrontendFormEngine class

Last core usage of FrontendFormEngine was removed in 6.2 with a
refactoring of feedit. The class was only a slight extension of
FormEngine. Since the FormEngine works is breaking and also
documented as such, the class is now dropped without further
deprecation - it is also relatively unlikely any currently
maintained still relies on it.

Resolves: #67979
Releases: master
Change-Id: I766dade040725b468572e6f303786af035bc2f2b
Reviewed-on: http://review.typo3.org/40998
Reviewed-by: Thomas Schlumberger <thomas@b13.de>
Tested-by: Thomas Schlumberger <thomas@b13.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Adjust position of unrelated items in ordered list 00/41000/2
Markus Klein [Wed, 8 Jul 2015 14:16:06 +0000 (16:16 +0200)]
[TASK] Adjust position of unrelated items in ordered list

Items without any dependency relation are output to the very end
of the order list by DependencyOrderService.

Resolves: #67986
Releases: master
Change-Id: I4d3968cd41fc274fbda658d0563d6f535e36e2ff
Reviewed-on: http://review.typo3.org/41000
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Cleanup for Package Management 40/40240/10
Benjamin Mack [Wed, 17 Jun 2015 14:49:45 +0000 (16:49 +0200)]
[TASK] Cleanup for Package Management

Removing the last bits for the Package Management area which are not in use.

Releases: master
Resolves: #67564
Change-Id: Ib23e3de5c02393701fb92b53b704f7d0f4748ad5
Reviewed-on: http://review.typo3.org/40240
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Move RecordHistory icons from typo3/gfx to ext:backend 83/40983/2
Wouter Wolters [Wed, 8 Jul 2015 07:32:30 +0000 (09:32 +0200)]
[TASK] Move RecordHistory icons from typo3/gfx to ext:backend

Resolves: #67973
Releases: master
Change-Id: I2e5f0443c2a7afe1ffaac6e146f015afb1fae360
Reviewed-on: http://review.typo3.org/40983
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FEATURE] Introduce DataProcessors for splitting values 06/40506/14
Benjamin Mack [Sun, 21 Jun 2015 12:14:22 +0000 (14:14 +0200)]
[FEATURE] Introduce DataProcessors for splitting values

In order to allow powerful processing for FLUIDTEMPLATE and other
cObjects, two new DataProcessors are added to ensure flexibility
with comma-separated values and split values listings.

Resolves: #67658
Releases: master
Change-Id: Ib6f36ed2b815b08721eb6a29b216821f271d24f2
Reviewed-on: http://review.typo3.org/40506
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[TASK] Move overlay icons from typo3/gfx to ext:backend 75/40975/2
Wouter Wolters [Tue, 7 Jul 2015 18:02:15 +0000 (20:02 +0200)]
[TASK] Move overlay icons from typo3/gfx to ext:backend

Some unused overlay icons are removed.

icon_fatalerror.gif icon is removed too, the same icon
exists in ext:t3skin

Resolves: #67968
Releases: master
Change-Id: I27a882ff918e96268b910ffd90fd1d96f24ccd52
Reviewed-on: http://review.typo3.org/40975
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[FEATURE] Introduce Data Processor for Files 08/40508/10
Benjamin Mack [Sun, 21 Jun 2015 13:45:34 +0000 (15:45 +0200)]
[FEATURE] Introduce Data Processor for Files

In order to use real file objects within Fluid templates or other
places with cObjects, a new data processor for Files is added.

As it does most of the same part (collecting files from various
sources) as the FILES cObject, the logic has been separated
into an own class, the so-called "File Collector".

Resolves: #67662
Releases: master
Change-Id: I05c494db65caa7efd1847504a057b3b21efb8702
Reviewed-on: http://review.typo3.org/40508
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Remove class alias map in form 77/40977/4
Helmut Hummel [Tue, 7 Jul 2015 17:51:20 +0000 (19:51 +0200)]
[TASK] Remove class alias map in form

The alias map in form system extension is a workaround
to enable case insensitive class loading for specific
form classes.

Instead of misusing this technology, introduce an object factory
class which does the mapping within the form extension where it belongs
without affecting the complete system.

By doing so and removing the last alias map (besides the one in compatibility6)
we now have to improve our code for dynamic alias addition since the default
loader is not the alias loader any more but the regular composer class loader.

Releases: master
Resolves: #67969
Change-Id: I3b191b7643c33f311f4ca2b82f7da3c8dfff0f2c
Reviewed-on: http://review.typo3.org/40977
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[CLEANUP] Replace count with empty in EXT:backend 63/40963/4
Stephan Großberndt [Tue, 7 Jul 2015 15:11:57 +0000 (17:11 +0200)]
[CLEANUP] Replace count with empty in EXT:backend

Replace occurrences of count() with matching empty() pendants.

Resolves: #67960
Releases: master
Change-Id: I0464e5ce1c31d64f0005efcdf5f018239c037ec9
Reviewed-on: http://review.typo3.org/40963
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Remove obsolete class aliases 76/40976/2
Helmut Hummel [Tue, 7 Jul 2015 17:24:34 +0000 (19:24 +0200)]
[TASK] Remove obsolete class aliases

The class aliases introduced during RTE and form engine refactoring
are more or less useless as the API changed heavily in this area
so that a class alias alone would provide no benefit.

These changes were marked as breaking already, so we can do this
now as a regular cleanup.

Releases: master
Resolves: #67967
Change-Id: Ied68f390aa9a33be3a8bb9b26732efb698e04848
Reviewed-on: http://review.typo3.org/40976
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[CLEANUP] Replace count with empty in EXT:install 67/40967/2
Stephan Großberndt [Tue, 7 Jul 2015 16:20:21 +0000 (18:20 +0200)]
[CLEANUP] Replace count with empty in EXT:install

Replace occurrences of count() with matching empty() pendants.

Resolves: #67964
Releases: master
Change-Id: I1ee543bc6484060c6ac7bd1b4d4f47b255b36296
Reviewed-on: http://review.typo3.org/40967
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Move t3lib_extMgm alias to compatibility6 extension 69/40969/3
Helmut Hummel [Tue, 7 Jul 2015 16:31:23 +0000 (18:31 +0200)]
[TASK] Move t3lib_extMgm alias to compatibility6 extension

ext_autoload.php is ignored now, so the issues why we kept
this alias in the core is obsolete.

Releases: master
Resolves: #67966
Change-Id: Ibdcf362b5c31e938941b374aff786d81da4668ba
Reviewed-on: http://review.typo3.org/40969
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Clean up and fix class loading 61/40961/4
Helmut Hummel [Tue, 7 Jul 2015 14:52:14 +0000 (16:52 +0200)]
[BUGFIX] Clean up and fix class loading

With class loading information added, we must also add class alias information.
Besides that, we need to distinguish between extensions that should be
loadable and are part of the framework and those which should only be
loaded optionally and are subject to be removed from the core in the near future.

These extensions (namely compatibilty6 and mediace) are now made "regular"
TYPO3 extensions and class loading information is removed from the main composer.json

We now also add the class alias map information to the sub-packages delivered
by the core to have a clean state once they are extracted by a subtree split.

Having all this in place, we can unify the check for framework extensions
in the dependency resolver as well.

Releases: 7.3, master
Resolves: #67933
Change-Id: I08b576c96921058afcf5e03a7c5c3aa6e25d2d55
Reviewed-on: http://review.typo3.org/40961
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Remove check to non existing folder in IconUtility::makeIcon 62/40962/2
Wouter Wolters [Tue, 7 Jul 2015 15:06:55 +0000 (17:06 +0200)]
[TASK] Remove check to non existing folder in IconUtility::makeIcon

This folder never existed in TYPO3

Resolves: #67959
Releases: master
Change-Id: Ia1fd6c9b3fc350337ecf29ecfbe04ed2efbc6111
Reviewed-on: http://review.typo3.org/40962
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] Use correct active CSS class in RTE toolbars 46/40946/3
Andreas Fernandez [Tue, 7 Jul 2015 08:06:38 +0000 (10:06 +0200)]
[BUGFIX] Use correct active CSS class in RTE toolbars

The button class "active" is used now and replaces the broken
class "btn-active".

Resolves: #67938
Releases: master
Change-Id: I55c0f573c5dbf894e9a82e76a0d345fef1696e2d
Reviewed-on: http://review.typo3.org/40946
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[CLEANUP] Replace count with empty in EXT:indexed_search 53/40953/2
Andreas Fernandez [Tue, 7 Jul 2015 13:28:09 +0000 (15:28 +0200)]
[CLEANUP] Replace count with empty in EXT:indexed_search

Replace occurences of count() with matching empty() pendants.

Resolves: #67951
Releases: master
Change-Id: I134a141abf1d0f60a8b67139e53a4e5f6b885503
Reviewed-on: http://review.typo3.org/40953
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[CLEANUP] Replace count with empty in multiple extensions, part II 54/40954/4
Andreas Fernandez [Tue, 7 Jul 2015 13:38:35 +0000 (15:38 +0200)]
[CLEANUP] Replace count with empty in multiple extensions, part II

Replace occurences of count() with matching empty() pendants.
Affected extensions:
- info_pagetsconfig
- lang
- linkvalidator
- mediace
- opendocs
- recordlist
- reports
- saltedpasswords

Resolves: #67952
Releases: master
Change-Id: Ifa3e8a24a2be4d4c6373d18e446ed219cac4c30c
Reviewed-on: http://review.typo3.org/40954
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[CLEANUP] Replace count with empty in multiple extensions, part III 59/40959/2
Andreas Fernandez [Tue, 7 Jul 2015 14:01:47 +0000 (16:01 +0200)]
[CLEANUP] Replace count with empty in multiple extensions, part III

Replace occurences of count() with matching empty() pendants.
Affected extensions:
- scheduler
- sv
- version
- workspaces

Resolves: #67955
Releases: master
Change-Id: I1fd152ed9b581e0f2645837776fd7fab1ccbf73e
Reviewed-on: http://review.typo3.org/40959
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[CLEANUP] Replace count with empty in EXT:rtehtmlarea 57/40957/2
Andreas Fernandez [Tue, 7 Jul 2015 13:47:19 +0000 (15:47 +0200)]
[CLEANUP] Replace count with empty in EXT:rtehtmlarea

Replace occurences of count() with matching empty() pendants.

Resolves: #67953
Releases: master
Change-Id: I22eef6d10406f5cc1d1d85a7179f98240083f178
Reviewed-on: http://review.typo3.org/40957
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[!!!][TASK] Restructure lowlevel commands and documentation 48/40948/4
Benjamin Mack [Tue, 7 Jul 2015 10:37:47 +0000 (12:37 +0200)]
[!!!][TASK] Restructure lowlevel commands and documentation

The HOWTO cleanup TYPO3 installations document is moved to a README.md
file. The shell scripts for checking and cleaning tasks have been
removed and have been documented in the README.md.

Resolves: #67946
Releases: master
Change-Id: I5de544a9e3508ba2ea946d2fcbe5e47fdf112b29
Reviewed-on: http://review.typo3.org/40948
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FOLLOWUP][TASK] Redesign FluidTemplateDataProcessorInterface 50/40950/2
Frans Saris [Tue, 7 Jul 2015 12:29:27 +0000 (14:29 +0200)]
[FOLLOWUP][TASK] Redesign FluidTemplateDataProcessorInterface

Fixed wrong PHPDOC header.

Resolves: #67890
Releases: master
Change-Id: I21b3eedce60f28e8ef5efd4e5b0fb6ba7a645934
Reviewed-on: http://review.typo3.org/40950
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Follow-up for default minimum logging severity 49/40949/2
Steffen Müller [Tue, 7 Jul 2015 12:23:09 +0000 (14:23 +0200)]
[TASK] Follow-up for default minimum logging severity

Fixed a syntax error in the rst documentation.

Resolves: #67216
Releases: master
Change-Id: I70e6ab5f5fc15e0c2b7829957bfea121ad814476
Reviewed-on: http://review.typo3.org/40949
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[!!!][TASK] RTE reloaded 42/40842/30
Christian Kuhn [Wed, 1 Jul 2015 12:31:21 +0000 (14:31 +0200)]
[!!!][TASK] RTE reloaded

Main refactoring of RTE on PHP side. Classes AbstractRte,
RteHtmlAreaBase and the instantiator API RTEgetObj() are
dropped and inlined to the FormEngine class construct.
Lots of code is simplified or moved around.

Change-Id: Ibd4ff3e7fa8fe695a96b03355c905640d2efa351
Resolves: #67917
Releases: master
Reviewed-on: http://review.typo3.org/40842
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Remove unused icons in Table and Form wizard controller 36/40736/5
Wouter Wolters [Mon, 29 Jun 2015 22:14:49 +0000 (00:14 +0200)]
[TASK] Remove unused icons in Table and Form wizard controller

Resolves: #67828
Releases: master
Change-Id: Id9f0884fdfb9d572e5e1624e5cbb738fdcf0f614
Reviewed-on: http://review.typo3.org/40736
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Avoid non-blocking flock() calls Windows 26/40926/4
Markus Klein [Thu, 2 Jul 2015 13:26:06 +0000 (15:26 +0200)]
[BUGFIX] Avoid non-blocking flock() calls Windows

Don't advertise the non-blocking capability of the
FileLockStrategy on Windows systems with PHP versions
below 5.5.23 or 5.6.7.
The non-blocking feature of flock() for Windows was
introduced with the aforementioned versions.

Resolves: #67916
Releases: master
Change-Id: I077f5fe39e237a689c3ad694f83a342b2cdb82c6
Reviewed-on: http://review.typo3.org/40926
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[!!!][TASK] Redesign FluidTemplateDataProcessorInterface 15/40915/6
Benjamin Mack [Fri, 3 Jul 2015 15:37:19 +0000 (17:37 +0200)]
[!!!][TASK] Redesign FluidTemplateDataProcessorInterface

The FluidTemplateDataProcessorInterface introduced with #66907 has been
refactored to DataProcessorInterface.

This decouples it from the Fluid StandaloneView and makes the
ContentObjectRenderer available in the process method so the different
DataProcessor classes do no have to initiate it on their own.

Instead of manipulating the $data property of the ContentObjectRenderer
a new key/value store can be filled/manipulated by the different
dataProcessor classes.

Resolves: #67890
Releases: master
Change-Id: I461dbff039974715e2c8f916efd5d79c159cc8b5
Reviewed-on: http://review.typo3.org/40915
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[FOLLOWUP][BUGFIX] keep options array for TableGarbageCollectionTask 40/40940/2
Wouter Wolters [Mon, 6 Jul 2015 21:04:13 +0000 (23:04 +0200)]
[FOLLOWUP][BUGFIX] keep options array for TableGarbageCollectionTask

Add missing leading slashes for class name.

Resolves: #67874
Releases: master
Change-Id: Ib23f6927847cd3c0e8935beb294be982683ba832
Reviewed-on: http://review.typo3.org/40940
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] keep options array for TableGarbageCollectionTask 30/40830/3
Daniel Neugebauer [Wed, 1 Jul 2015 17:48:21 +0000 (19:48 +0200)]
[BUGFIX] keep options array for TableGarbageCollectionTask

scheduler now keeps an options sub-array if it has been populated
before ext_localconf.php runs.

User can define additional options for TableGarbageCollectionTask as
per extension documentation, i.e. tables can be added from user
configuration files such as AdditionalConfiguration.php.

Resolves: #67874
Releases: master, 6.2
Change-Id: I9eee7e1315e4a5049cee9db694c1f5a8375c8475
Reviewed-on: http://review.typo3.org/40830
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Rewrite "Show hidden content elements" to JavaScript 40/40740/12
Andreas Fernandez [Tue, 30 Jun 2015 06:25:20 +0000 (08:25 +0200)]
[TASK] Rewrite "Show hidden content elements" to JavaScript

This patch refactors the "Page" module to always render hidden records.
If the "Show hidden content elements" checkbox is set,
the hidden elements are removed by JavaScript.

This functionality is NOT ported to QuickEdit, as this part needs
further refactoring.

Resolves: #67831
Releases: master
Change-Id: I5396a8c3ef8b3b11220c168c38aadf326bea38a8
Reviewed-on: http://review.typo3.org/40740
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Set default minimum logging severity to warning 39/39839/7
Steffen Müller [Sun, 31 May 2015 13:10:18 +0000 (15:10 +0200)]
[TASK] Set default minimum logging severity to warning

The TYPO3 default context is production. Therefore the default
logging should be limited to warnings and more severe levels.

Releases: master
Resolves: #67216
Change-Id: Ia4b34e67f99d475630f3401d459a1415146eb661
Reviewed-on: http://review.typo3.org/39839
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Remove wrong RewriteBase in _.htaccess 29/40929/3
Markus Klein [Mon, 6 Jul 2015 12:36:33 +0000 (14:36 +0200)]
[BUGFIX] Remove wrong RewriteBase in _.htaccess

The configuration now works independently of RewriteBase,
hence we must not define one.

Resolves: #67922
Releases: master, 6.2
Change-Id: Ib1e14f808fbf2e7abd08a4e85d2a3d4e8509060a
Reviewed-on: http://review.typo3.org/40929
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Clear opcode cache on extension install/update 01/40801/6
Frederic Gaus [Wed, 1 Jul 2015 13:18:56 +0000 (15:18 +0200)]
[BUGFIX] Clear opcode cache on extension install/update

Resolves: #65066
Releases: master, 6.2
Change-Id: If3d665b696f3847d91486afcffee7b62fd32b60a
Reviewed-on: http://review.typo3.org/40801
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[CLEANUP] Replace usage of general Utility-namespace 19/40919/4
Stefan Neufeind [Fri, 3 Jul 2015 21:19:18 +0000 (23:19 +0200)]
[CLEANUP] Replace usage of general Utility-namespace

Replace usages of "use TYPO3\CMS\Core\Utility;" with use-statements of
the utility classes to be used.

Change-Id: I6360790b41196387b6d411926cf120aa77d8b4f9
Resolves: #67908
Releases: master
Reviewed-on: http://review.typo3.org/40919
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[CLEANUP] Replace count with empty in EXT:backend 83/40683/3
Andreas Fernandez [Sat, 27 Jun 2015 11:20:29 +0000 (13:20 +0200)]
[CLEANUP] Replace count with empty in EXT:backend

Replace occurences of count() with matching empty() pendants.

Resolves: #67774
Releases: master
Change-Id: Ie75551a9410affe8840b521e15a0daf68655ba2a
Reviewed-on: http://review.typo3.org/40683
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Show uncaught errors in Extension Manager 87/40887/7
Andreas Fernandez [Fri, 3 Jul 2015 07:41:17 +0000 (09:41 +0200)]
[TASK] Show uncaught errors in Extension Manager

Errors in the Extension Manager (e.g. deleting an extension w/o proper
file permissions) are now caught and displayed as a flash message.

Resolves: #67898
Releases: master, 6.2
Change-Id: I8f8334f2f0ea1c2fcf3ab49122c2c52447efc904
Reviewed-on: http://review.typo3.org/40887
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] No exceptions in GeneralUtility::rmdir 14/40914/3
Alexander Opitz [Fri, 3 Jul 2015 12:47:14 +0000 (14:47 +0200)]
[BUGFIX] No exceptions in GeneralUtility::rmdir

The API returns TRUE on success and FALSE if something went wrong.
So we need to prevent that the ErrorHandler comes up, as it throws
Core\Error exceptions.

Resolves: #67897
Releases: master, 6.2
Change-Id: I2912241dd3c9a1b9928b4449ebc16897699fa9b5
Reviewed-on: http://review.typo3.org/40914
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[CLEANUP] Replace count with empty in multiple extensions 85/40685/4
Andreas Fernandez [Sat, 27 Jun 2015 11:53:15 +0000 (13:53 +0200)]
[CLEANUP] Replace count with empty in multiple extensions

Replace occurences of count() with matching empty() pendants.
Affected extensions:
- aboutmodules
- beuser
- compatibility6
- cshmanual
- css_styles_content
- dbal
- felogin
- sys_action
- t3editor
- taskcenter
- tstemplate

Resolves: #67777
Releases: master
Change-Id: I6986c71866c4f27f0c9bccc7d7d0dd14ea5695ac
Reviewed-on: http://review.typo3.org/40685
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
4 years ago[CLEANUP] Replace count with empty in EXT:extbase 93/40693/4
Andreas Fernandez [Sat, 27 Jun 2015 15:39:39 +0000 (17:39 +0200)]
[CLEANUP] Replace count with empty in EXT:extbase

Resolves: #67786
Releases: master
Change-Id: I5b8e088c8a6d33117aca9189ff1f6606b2ca7592
Reviewed-on: http://review.typo3.org/40693
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
4 years ago[TASK] Move new content element wizard configuration to css_styled_content 07/38007/6
Patrick Broens [Sun, 22 Mar 2015 19:37:11 +0000 (20:37 +0100)]
[TASK] Move new content element wizard configuration to css_styled_content

The configuration for the new content element wizard is defined in the
extension frontend. The content elements which are defined are specifically
to css_styled_content. For the new frontend rendering some content elements
will not be used anymore.

This patch moves this configuration from frontend to css_styled_content
in a seperated file

Resolves: #65901
Releases: master

Change-Id: Idea403c64775ccdf1dd792229e594a470ad72ff9
Reviewed-on: http://review.typo3.org/38007
Reviewed-by: Oliver Eglseder <oliver.eglseder@in2code.de>
Tested-by: Oliver Eglseder <oliver.eglseder@in2code.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[!!!][TASK] Migrate OpcodeCacheUtility to a service class 66/40766/4
Markus Klein [Tue, 30 Jun 2015 10:42:50 +0000 (12:42 +0200)]
[!!!][TASK] Migrate OpcodeCacheUtility to a service class

There is no good reason for this internal class to be a
static utility.
Move the code to a simple service class.

Resolves: #63838
Releases: master
Change-Id: Iff4d538b9ae01e64e9c3b4aa9b5a913d9fabd851
Reviewed-on: http://review.typo3.org/40766
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Adjust openid return entry point to new Application class 10/40910/3
Markus Klein [Fri, 3 Jul 2015 11:01:37 +0000 (13:01 +0200)]
[BUGFIX] Adjust openid return entry point to new Application class

Resolves: #67903
Releases: master
Change-Id: I73cb32a8cf591ccf4e07454efc06e5430c8dfec1
Reviewed-on: http://review.typo3.org/40910
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
4 years ago[BUGFIX] Set LoginProvider selection cookie validity to 3 month 59/40859/3
Markus Klein [Thu, 2 Jul 2015 13:41:31 +0000 (15:41 +0200)]
[BUGFIX] Set LoginProvider selection cookie validity to 3 month

The cookie's expire time is changed from session to +90 days
as otherwise the cookie makes no sense.

Resolves: #67891
Releases: master
Change-Id: I778b096c21a48be9e601ea0d03ca57eec263dd40
Reviewed-on: http://review.typo3.org/40859
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
4 years ago[TASK] Raise composer installer version number 69/40869/2
Helmut Hummel [Thu, 2 Jul 2015 18:42:28 +0000 (20:42 +0200)]
[TASK] Raise composer installer version number

Version 1.2.1 of the composer installer fixes
an important bug regarding symlinking the autoload.php file.

See: https://github.com/TYPO3/CmsComposerInstallers/commit/f631d729928ce569994ea8e5088491b3eb41f697

Releases: master
Resolves: #67892
Change-Id: I709cc5086d5866b6aae50059a3d74905c8ad79b3
Reviewed-on: http://review.typo3.org/40869
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[CLEANUP] Initialize variables and fix some PHPDocs 05/40705/9
Sascha Egerer [Mon, 29 Jun 2015 07:04:14 +0000 (09:04 +0200)]
[CLEANUP] Initialize variables and fix some PHPDocs

* initialize variables before they are used
* do not use FQ namespaces if not required
* fix PHPDocs
* add missing return statements

Resolves: #67797
Releases: master
Change-Id: I581ae9ac8c0a277a415d9ba69812305951a86464
Reviewed-on: http://review.typo3.org/40705
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Mark additional public methods in bootstrap as internal 36/40836/2
Helmut Hummel [Wed, 1 Jul 2015 19:24:58 +0000 (21:24 +0200)]
[TASK] Mark additional public methods in bootstrap as internal

During bootstrap refactoring, additional methods have been added
and / or made public.

Mark all of them as internal to make clear this is no public API

Resolves: #67877
Releases: master
Change-Id: I3d5a047e0dde5ca729438dc368357fe05032625b
Reviewed-on: http://review.typo3.org/40836
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[FOLLOWUP][TASK] Improve .htaccess files 93/40793/3
Andreas Fernandez [Wed, 1 Jul 2015 11:05:44 +0000 (13:05 +0200)]
[FOLLOWUP][TASK] Improve .htaccess files

Fix invalid syntax for mod_filter on apache 2.4 and mismatching comment
endings.

Resolves: #66235
Releases: master
Change-Id: Id4a67dab8f2fbf4d4bf9e2da4ac1c83d06b93388
Reviewed-on: http://review.typo3.org/40793
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Call base setup in CLI bootstrap 37/40837/2
Helmut Hummel [Wed, 1 Jul 2015 18:51:52 +0000 (20:51 +0200)]
[BUGFIX] Call base setup in CLI bootstrap

The baseSetup call for the bootstrap was forgotten during the Application/ Bootstrap
refactoring. Add this call to the console application to fix the fatals.

Resolves: #67878
Related: #67808
Releases: master
Change-Id: Ic6a05b3d605a9f7cbde0b23e9d4417ef2d9c35fe
Reviewed-on: http://review.typo3.org/40837
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Respect format when rendering partial 75/35475/4
Mathias Brodala [Mon, 15 Dec 2014 11:38:04 +0000 (12:38 +0100)]
[BUGFIX] Respect format when rendering partial

The request format needs to be respected when rendering partials,
otherwise the same partial cannot be rendered in different formats
in the same request.

An example is rendering mails in plain text and HTML.

Resolves: #60338
Releases: master, 6.2
Change-Id: I118ee0a535d0f06391cd802c10d7c3c5129c2a2c
Reviewed-on: http://review.typo3.org/35475
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Raise severity for stale lock file 71/39871/3
Bernhard Kraft [Mon, 1 Jun 2015 17:25:27 +0000 (19:25 +0200)]
[TASK] Raise severity for stale lock file

To make debugging this easier and as a stale lock file really
represents an error in the locking mechanism the severity
being used for logging stale lockfiles should get raised.

This applies to the old locking API only.

Change-Id: I94b91d10411e60bfe944445865f5cb630e988701
Resolves: #67227
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/39871
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[SECURITY] XSS in 3rd party library Flowplayer 10/40810/2
Wouter Wolters [Mon, 15 Jun 2015 14:27:54 +0000 (16:27 +0200)]
[SECURITY] XSS in 3rd party library Flowplayer

This commit also removes the sources because they are
not maintained anymore.

Resolves: #67458
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-007
Change-Id: I0813656e3617cb7944d0e620aa3e2863cc614d16
Reviewed-on: http://review.typo3.org/40810
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[SECURITY] Add hook to implement login protection methods 09/40809/2
Nicole Cordes [Wed, 17 Jun 2015 13:39:41 +0000 (15:39 +0200)]
[SECURITY] Add hook to implement login protection methods

Currently only the backend login is protected with an implement sleep
time after login failure. This patch adds a new hook which can be used
to implement a protection functionality (e.g. for detecting brute force)
and moves the sleep time as default protection in the abstract user
authentication class.

Resolves: #59231
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-006
Change-Id: I1fd1ebdc32ce7797651b5ead284dcff1eb511b94
Reviewed-on: http://review.typo3.org/40809
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[SECURITY] Disallow access to fallback storage '0' 08/40808/2
Nicole Cordes [Wed, 17 Jun 2015 11:11:14 +0000 (13:11 +0200)]
[SECURITY] Disallow access to fallback storage '0'

All users with access to the filelist module are able to display the
content of the document root folder by spoofing the url.

This patch prevents any rendering from that storage and throws an error.

Resolves: #67538
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-005
Change-Id: I59cc315e913c02001efdad23e2ded7385502c5f2
Reviewed-on: http://review.typo3.org/40808
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[SECURITY] Encode link text properly in typolink 07/40807/2
Nicole Cordes [Wed, 17 Jun 2015 14:53:48 +0000 (16:53 +0200)]
[SECURITY] Encode link text properly in typolink

If the to be linked text is empty the ContentObjectRenderer chooses an
appropriate link text but doesn't encode it properly. As hsc() was
abandoned before this patch adds the parseFunc functionality to keep
common html tags which might be used by the editor but escapes unknown
characters and tags.

Resolves: #34107
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-004
Change-Id: I9730cb81c315a76a8fc0ef184362cabb9a59f2e5
Reviewed-on: http://review.typo3.org/40807
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[SECURITY] XSS in Filelist 06/40806/2
Markus Bucher [Tue, 3 Jun 2014 06:06:05 +0000 (08:06 +0200)]
[SECURITY] XSS in Filelist

Properly escape user input when showing error messages
during file renaming.

Resolves: #59211
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-004
Change-Id: Iffafad7282445d51fa244f3b31e6886b0b0f65b6
Reviewed-on: http://review.typo3.org/40806
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[SECURITY] Regenerate session id upon login if needed 05/40805/2 05/40805/3
Helmut Hummel [Tue, 17 Jun 2014 09:01:17 +0000 (11:01 +0200)]
[SECURITY] Regenerate session id upon login if needed

When authenticating as a frontend user with a previously
present anonymous session, the session id is not regenerated
which leads to a possible session fixation.

This is now fixed by re-generating a new id
when a user is just authenticated but no
new session id is generated during this process.

Resolves: #59258
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-003
Change-Id: Ia52b17e95cf8074b0f569cf025eab4d041d1677f
Reviewed-on: http://review.typo3.org/40805
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[SECURITY] Prevent edit of file metadata of files with no access 04/40804/2 04/40804/3 04/40804/4
Marc Bastian Heinrichs [Wed, 23 Apr 2014 15:28:46 +0000 (17:28 +0200)]
[SECURITY] Prevent edit of file metadata of files with no access

By forging edit URLs it was possible to edit
meta data records of files which were not
within a user mount.

Implement several hooks to check access to the file
and only grant access to a meta data record if the
user has access to the file.

Resolves: #56644
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-002
Change-Id: I0f0704af2e7f01d16b9420f9ba4ac1a7846b5270
Reviewed-on: http://review.typo3.org/40804
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Improve .htaccess files 54/39254/20
Andreas Fernandez [Mon, 4 May 2015 09:16:12 +0000 (11:16 +0200)]
[TASK] Improve .htaccess files

Improve the example .htaccess file by adding rules for caching,
MIME types and CORS. Also, the rewrite rules are extended to block
access to certain files and folders.

Additionally all rules are made compatible for Apache 2.4 as well.

Resolves: #23078
Resolves: #66235
Releases: master, 6.2
Change-Id: I629f524b5a209769601f04a74bb7434736058ab8
Reviewed-on: http://review.typo3.org/39254
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Use single quotes in query for values in EXT:workspaces 48/40748/4
Andreas Fernandez [Tue, 30 Jun 2015 08:03:21 +0000 (10:03 +0200)]
[BUGFIX] Use single quotes in query for values in EXT:workspaces

Use single quotes for values in the query executed in
WorkspaceService::isOldStyleWorkspaceUsed().

In ANSI SQL, single quotes have to be used for values.

Resolves: #67835
Releases: master, 6.2
Change-Id: I5bf598d9acdbc7d2db6d5b8b6f1a4c668fe13ccb
Reviewed-on: http://review.typo3.org/40748
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Duplicate XLIFF identifiers 85/40785/2
Xavier Perseguers [Wed, 1 Jul 2015 09:27:23 +0000 (11:27 +0200)]
[BUGFIX] Duplicate XLIFF identifiers

Change-Id: I691706710f9bfe3294c59010fa0fd3fdb21f6a3e
Releases: master, 6.2
Resolves: #67867
Reviewed-on: http://review.typo3.org/40785
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[BUGFIX] Skip dependency check for extensions 75/40775/2
Nicole Cordes [Tue, 30 Jun 2015 17:44:58 +0000 (19:44 +0200)]
[BUGFIX] Skip dependency check for extensions

If an incompatible extension is trying to be installed, a popup opens
with the possibility to skip dependency checks and retry the
installation. Currently the skipping is only implemented for system
checks (TYPO3 and PHP versions). This patch adds the missing skip method
during extension dependency resolving.

Resolves: #67863
Releases: master
Change-Id: Idbd4bc649a83a8e8a98652ffb8bd8081a7c65192
Reviewed-on: http://review.typo3.org/40775
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Florian Weiss <typo3org@leblanc.at>
Tested-by: Florian Weiss <typo3org@leblanc.at>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] dbal: return field type information from admin_get_fields() 41/39941/9
Morton Jonuschat [Wed, 3 Jun 2015 22:31:19 +0000 (00:31 +0200)]
[BUGFIX] dbal: return field type information from admin_get_fields()

Deprecate MetaType() which always returned an empty meta fieldtype
with DBAL and move function to getMetadata(). The signature for
getMetadata() includes the field information for the query so that
the cached field metatype can be used before resorting to querying
the DBMS.

Resolves: #67288
Releases: master
Change-Id: I57dbd7501c9e7a62f2164fb755f1d1a73da01a05
Reviewed-on: http://review.typo3.org/39941
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[CLEANUP] Replace count with empty in EXT:core 86/40686/5
Andreas Fernandez [Sat, 27 Jun 2015 12:18:11 +0000 (14:18 +0200)]
[CLEANUP] Replace count with empty in EXT:core

Replace occurences of count() with matching empty() pendants.

Resolves: #67778
Releases: master
Change-Id: I16c0299db8afda4c0fe406f7465a41d5eee3dd88
Reviewed-on: http://review.typo3.org/40686
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Cleanup IndexedSearchRepository 68/40768/3
Frederic Gaus [Tue, 30 Jun 2015 13:48:27 +0000 (15:48 +0200)]
[TASK] Cleanup IndexedSearchRepository

Cleanup \TYPO3\CMS\IndexedSearch\Domain\Repository\IndexSearchRepository

Resolves: #67857
Releases: master
Change-Id: I696b996d0f517a87deec7ba54cff46be5f069571
Reviewed-on: http://review.typo3.org/40768
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] 1st level cache for ``QueryResult::count()`` 50/40750/4
Mathias Brodala [Tue, 30 Jun 2015 08:17:23 +0000 (10:17 +0200)]
[BUGFIX] 1st level cache for ``QueryResult::count()``

Counting the results of the ``QueryResultInterface`` proxy returned by
Repository finder methods always executed a ``COUNT query`` even if
the results had been fetched or counted already.

With this patch the number of results is cached as soon as the result
is initialized and/or counted once.

Resolves: #67837
Releases: master, 6.2
Change-Id: I98f680372b845f992ad3d436647b0cf5e460b606
Reviewed-on: http://review.typo3.org/40750
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Remove deprecated language labels 63/40763/2
Wouter Wolters [Tue, 30 Jun 2015 09:54:42 +0000 (11:54 +0200)]
[TASK] Remove deprecated language labels

Resolves: #67847
Releases: master
Change-Id: Ia76a7166a7da9b1663acd8cd40edb6fe040f0f67
Reviewed-on: http://review.typo3.org/40763
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Cleanup EXT:taskcenter 69/40769/3
Frederic Gaus [Tue, 30 Jun 2015 14:35:24 +0000 (16:35 +0200)]
[TASK] Cleanup EXT:taskcenter

Resolves: #67861
Releases: master
Change-Id: I18531f6ef4d9541e9ef1163c3b4703f6b37bc84c
Reviewed-on: http://review.typo3.org/40769
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Remove obsolete require statements from ErrorHandler 59/40759/2
Benjamin Mack [Tue, 30 Jun 2015 09:26:38 +0000 (11:26 +0200)]
[TASK] Remove obsolete require statements from ErrorHandler

As the autoloader is now always present through the bootstrap
and Composer class loader, the fallback of manually
requiring classes can be removed.

Resolves: #36061
Releases: master
Change-Id: I299232630a0390688bd683b64e5d31c422baa444
Reviewed-on: http://review.typo3.org/40759
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Locallang file is not an XLIFF file in ext:extensionmanager 64/40764/5
Wouter Wolters [Tue, 30 Jun 2015 09:59:05 +0000 (11:59 +0200)]
[BUGFIX] Locallang file is not an XLIFF file in ext:extensionmanager

Resolves: #67849
Releases: master
Change-Id: I9b532c45322bad3e9d776326a3d9aa9257325175
Reviewed-on: http://review.typo3.org/40764
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FEATURE] Introduce "Application" classes for all entry points 93/40493/14
Benjamin Mack [Sat, 20 Jun 2015 16:26:25 +0000 (18:26 +0200)]
[FEATURE] Introduce "Application" classes for all entry points

In an effort to move away from TYPO3_MODE and global code
an instance that acts as an entry point has been introduced. The
Application class which serves as a wrapper for setting up the
Bootstrap and calling the request has been introduced.

Additionally, new Applications (like typo3_console) can benefit
from the flexible way of registering RequestHandlers on their own
while still using the bootstrap or only parts of it.

Resolves: #67808
Releases: master
Change-Id: I20c92d0bc8df5d50d76922a8dfe1cbd898e6f1dd
Reviewed-on: http://review.typo3.org/40493
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] SYS_LASTCHANGED is only updated if page is viewed in live or no 59/40259/4
Romain L [Mon, 15 Jun 2015 16:29:34 +0000 (18:29 +0200)]
[BUGFIX] SYS_LASTCHANGED is only updated if page is viewed in live or no
workspace

The SYS_LASTCHANGED field was updated whenever which workspace was loaded,
leading to SYS_LASTCHANGED being updated while no content was
published yet.
This patch changes this behavior by updating SYS_LASTCHANGED only if
page is viewed from the live workspace or no workspace at all.

Resolves: #42158
Releases: master
Change-Id: I09aca547a7b22ba1699f521ea7609053991fed4c
Reviewed-on: http://review.typo3.org/40259
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[CLEANUP] Replace count with empty in EXT:frontend 91/40691/3
Andreas Fernandez [Sat, 27 Jun 2015 15:13:48 +0000 (17:13 +0200)]
[CLEANUP] Replace count with empty in EXT:frontend

Resolves: #67784
Releases: master
Change-Id: I65b01b82692a981eee1c0d3cc6d6d161f9d80daf
Reviewed-on: http://review.typo3.org/40691
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] hmenu.special = list must evaluate showAccessRestrictedPages 15/40315/5
Gilles FOUET [Tue, 16 Jun 2015 15:59:28 +0000 (17:59 +0200)]
[BUGFIX] hmenu.special = list must evaluate showAccessRestrictedPages

For menus of type "list" the option showAccessRestrictedPages is now
taken into account as well and the enableFields omit the fe_group
contraint if the option is set.

Resolves: #16840
Releases: master, 6.2
Change-Id: I4203bf0087367781ecee15fe3aa42deea8d34039
Reviewed-on: http://review.typo3.org/40315
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[FOLLOWUP][BUGFIX] Fix SQL error in IndexSearchRepository 60/40760/2
Wouter Wolters [Tue, 30 Jun 2015 09:27:28 +0000 (11:27 +0200)]
[FOLLOWUP][BUGFIX] Fix SQL error in IndexSearchRepository

Add a missing "AND" concatenation to fix a SQL error.

Resolves: #67834
Releases: master
Change-Id: Ide173f13d9142b05db625648bf1ce995749ff233
Reviewed-on: http://review.typo3.org/40760
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[!!!][FEATURE] Allow individual content caching 15/35915/15
Philipp Gampe [Fri, 9 Jan 2015 03:55:56 +0000 (04:55 +0100)]
[!!!][FEATURE] Allow individual content caching

Since TYPO3 4.7 'stdWrap.cache' is available. This stores the rendered
string into the cache_hash via the caching framework and retrieves it
on successive renderings.
However stdWrap kicks in too late for many cObjects, e.g. COA.

Moving the 'cache.' logic into the central render method avoids the
rendering of the cObject, thus gaining a major speed improvement if
a cache entry already exists for a cObject.

Custom cObjects and USER objects utilizing the 'cache.' property need
adoption.

This change allows to make effective use of page section caching to
share the same generated HTML across many pages without regeneration.
It provides the same power as Magento block caching.

Additionally the properties key, lifetime and tags get stdWrap support.

Resolves: #64200
Releases: master
Change-Id: Ic0776082e09c70e03a9b432b41207031b4f2efa6
Reviewed-on: http://review.typo3.org/35915
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
4 years ago[TASK] Change misleading texts to "lowlevel" modules 51/40751/3
Benjamin Mack [Tue, 30 Jun 2015 08:29:23 +0000 (10:29 +0200)]
[TASK] Change misleading texts to "lowlevel" modules

Resolves: #18486
Releases: master
Change-Id: Iba2514001570428e50eb55a75cee793ff7a409fb
Reviewed-on: http://review.typo3.org/40751
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[BUGFIX] Fix SQL error in IndexSearchRepository 49/40749/2
Tim Schreiner [Tue, 30 Jun 2015 08:11:19 +0000 (10:11 +0200)]
[BUGFIX] Fix SQL error in IndexSearchRepository

Add a missing "AND" concatenation to fix a SQL error.

Resolves: #67834
Releases: master, 6.2
Change-Id: I557ee19754462200a6baf52fd5b590c9b21eb21c
Reviewed-on: http://review.typo3.org/40749
Reviewed-by: David Greiner <hallo@davidgreiner.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[FEATURE] Introduce TCA > ctrl > descriptionColumn 49/40449/3
Felix Kopp [Thu, 18 Jun 2015 13:33:44 +0000 (15:33 +0200)]
[FEATURE] Introduce TCA > ctrl > descriptionColumn

Introduce annotation for table column fields "descriptionColumn". Is
added in TCA > ctrl for tables. Optional setting. Defined table column
that holds description / guidance for editors and admins within backend.

Description should only displayed in the backend.

Adds descriptionColumn to records that already hold internal description.
This patch does not add new description table columns.

Resolves: #67603
Related: #67550
Related: #67578
Releases: master
Change-Id: Ib081e5f14b9cbbcabbbad0d45a7a90274cd3dc09
Reviewed-on: http://review.typo3.org/40449
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[BUGFIX] AddController: RemoveXSS on REQUEST_URI 80/20680/5
Laurent Cherpit [Mon, 29 Jun 2015 22:06:59 +0000 (00:06 +0200)]
[BUGFIX] AddController: RemoveXSS on REQUEST_URI

sanitizeLocalUrl() fails to compare returnUrl value if the TCA column of a
field type "select" contains configuration keys like "itemListStyle" or
"selectedListStyle".
In "AddController", using RemoveXSS on request_uri before assigning the
returnUrl parameter, the comparaison of the params of returnUrl will
match on the backlink generation used to close the editForm.

If returnUrl contains string with "style" in it, it will be processed in
the same manner by sanitizeLocalUrl. So the backlink of the editForm
will not be dummy.php.

Change-Id: I5f3282766fe6cf9cae24f70d7f979ce4be004d5f
Resolves: #48096
Releases: master
Reviewed-on: http://review.typo3.org/20680
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Namespace prefix t3 for id on file is not defined 24/40724/5
Xavier Perseguers [Mon, 29 Jun 2015 15:11:32 +0000 (17:11 +0200)]
[BUGFIX] Namespace prefix t3 for id on file is not defined

Change-Id: If9cf05b0d6d98a6aa3e07dc50ab8c96750183613
Resolves: #67814
Releases: master
Reviewed-on: http://review.typo3.org/40724
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[FEATURE] Add description-field for backend-users 79/40379/4
Felix Kopp [Wed, 17 Jun 2015 17:56:43 +0000 (19:56 +0200)]
[FEATURE] Add description-field for backend-users

With the new field it is possible to give a short description
about a user.

Change-Id: I5ffbc0112d1f12099ccd544ceda600367ce51611
Resolves: #67578
Releases: master
Reviewed-on: http://review.typo3.org/40379
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Loosen type check of Redis identifiers and tags 91/23191/8
Thorsten Kahler [Mon, 19 Aug 2013 17:57:27 +0000 (19:57 +0200)]
[BUGFIX] Loosen type check of Redis identifiers and tags

RedisBackend denies identifiers and tags allowed in all other
implementations of caching backends. This change allows all identifiers
and tags which can be casted to string.
Specifically it adds a check for objects having a __toString method.

Change-Id: Id5cc372f6a00c68d9e44a1eb8bb38c8a3679f2a7
Resolves: #51031
Releases: master
Reviewed-on: http://review.typo3.org/23191
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Add functional test for exclude field mixup in FormEngine 26/20026/9
Alexander Stehlik [Mon, 15 Jun 2015 19:50:15 +0000 (21:50 +0200)]
[TASK] Add functional test for exclude field mixup in FormEngine

This patch introduces a functional test that makes sure that the
exclude field mechanism works correctly with inline elements.

Since the problem was already solved by the FormEngine rewrite
no functional changes are made.

The actual bugfix will be added in the TYPO3 6.2 backport.

Resolves: #47359
Releases: master, 6.2
Change-Id: I5a7a2de16d767f854b4d3f89d599deec28266092
Reviewed-on: http://review.typo3.org/20026
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[CLEANUP] Replace count with empty in EXT:impexp 92/40692/2
Andreas Fernandez [Sat, 27 Jun 2015 15:24:22 +0000 (17:24 +0200)]
[CLEANUP] Replace count with empty in EXT:impexp

Resolves: #67785
Releases: master
Change-Id: I488a505fa811b76e216a3397bf4f1458d4f098df
Reviewed-on: http://review.typo3.org/40692
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[CLEANUP] Replace count with empty in EXT:extensionmanager 89/40689/2
Andreas Fernandez [Sat, 27 Jun 2015 13:57:56 +0000 (15:57 +0200)]
[CLEANUP] Replace count with empty in EXT:extensionmanager

Replace occurences of count() with matching empty() pendants.

Resolves: #67781
Releases: master
Change-Id: I4279ab12911ff7aa82c42e5a8bc2875c6e41f299
Reviewed-on: http://review.typo3.org/40689
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[!!!][TASK] Remove typo3/ext/README.txt and typo3/sysext/README.txt 33/40733/2
Christian Kuhn [Mon, 29 Jun 2015 21:10:29 +0000 (23:10 +0200)]
[!!!][TASK] Remove typo3/ext/README.txt and typo3/sysext/README.txt

The two README.txt files within typo3/ext and typo3/sysext do
not provide crucial information that can't be found elsewhere
and are dropped now.

As a side effect, typo3/ext folder does no longer exist
with new packages - the "global" system functionality is kept.
A .rst file hints about this missing folder.

Resolves: #67824
Releases: master
Change-Id: Idc3c408f135a8be3ee2db43e4835a1c6b39436da
Reviewed-on: http://review.typo3.org/40733
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Move typo3 logo icons into EXT:backend 35/40735/3
Benjamin Mack [Mon, 29 Jun 2015 21:30:58 +0000 (23:30 +0200)]
[TASK] Move typo3 logo icons into EXT:backend

The typo3 logos used in various places of the backend
including the default favicon are now moved
to EXT:backend.

Resolves: #67826
Releases: master
Change-Id: Id3c01679aab1410a6e48020df57c451dd601c24c
Reviewed-on: http://review.typo3.org/40735
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Remove colorpicker icons from typo3/gfx/ 34/40734/4
Wouter Wolters [Mon, 29 Jun 2015 21:13:08 +0000 (23:13 +0200)]
[TASK] Remove colorpicker icons from typo3/gfx/

This patch also removes TCA options "dim" and "tableStyle".

Resolves: #67825
Releases: master
Change-Id: I3812d791269e2fee69fce0f7c5ea2b579eeb8c1d
Reviewed-on: http://review.typo3.org/40734
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Remove unused refresh/edit/required icons from gfx/ 32/40732/2
Benjamin Mack [Mon, 29 Jun 2015 20:58:36 +0000 (22:58 +0200)]
[TASK] Remove unused refresh/edit/required icons from gfx/

Releases: master
Resolves: #67823
Change-Id: I819844c20d1bac0070a66e6bfaf91ba9e72cb4cd
Reviewed-on: http://review.typo3.org/40732
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Refactoring of the QueryGenerator Interface Part 2 94/40694/8
Frank Nägler [Sat, 27 Jun 2015 15:43:37 +0000 (17:43 +0200)]
[TASK] Refactoring of the QueryGenerator Interface Part 2

Next step of QueryGenerator Refactoring.

Main goals:
- Remove all inline JavaScript
- Remove usage of TBE_EDITOR
- Introduce QueryGenerator AMD module
- Improve HTML output
- Improve styling
- Use htmlspecialchars for all output

Resolves: #67790
Releases: master
Change-Id: I0a4f6ecf52e226f49f434ad8d472a969cb3b160b
Reviewed-on: http://review.typo3.org/40694
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Remove non-CGL-compliant switch clause in EXT:setup 31/40731/3
Benjamin Mack [Mon, 29 Jun 2015 20:06:43 +0000 (22:06 +0200)]
[TASK] Remove non-CGL-compliant switch clause in EXT:setup

Resolves: #67821
Releases: master
Change-Id: I70b1434d1350883ab55d39703af3b3ec4d32d7de
Reviewed-on: http://review.typo3.org/40731
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[FOLLOWUP][FEATURE] Extract dependency ordering out of DependencyResolver 29/40729/2
Benjamin Mack [Mon, 29 Jun 2015 17:06:49 +0000 (19:06 +0200)]
[FOLLOWUP][FEATURE] Extract dependency ordering out of DependencyResolver

The dependency order resolver needs to be injected at runtime.

Resolves: #67293
Releases: master
Change-Id: Id7f2b65b0258e22081d326f06d3d13f874bea1ff
Reviewed-on: http://review.typo3.org/40729
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>