Packages/TYPO3.CMS.git
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>
4 years ago[!!!][TASK] Allow quotes in titles of typolink 62/40162/12
Markus Klein [Wed, 10 Jun 2015 22:59:34 +0000 (00:59 +0200)]
[!!!][TASK] Allow quotes in titles of typolink

Introduce proper handling of quotes in titles of typolinks.

Example title: 'Here "I\\" am'
Expected link field value: '15 - - "Here \"I\\\\\" am"'

Do not use the GeneralUtility::unQuoteFilenames() method anymore, since
it was not made for the purpose to decode CSV-like strings.
Use the newly introduced TypoLinkCodecService instead.

Resolves: #55759
Releases: master
Change-Id: Iea612842b4b9c70924ecf56b87513350dd9383a8
Reviewed-on: http://review.typo3.org/40162
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[!!!][TASK] Remove tceforms.js because we don't need it anymore 26/40726/2
Frank Nägler [Mon, 29 Jun 2015 16:31:17 +0000 (18:31 +0200)]
[!!!][TASK] Remove tceforms.js because we don't need it anymore

The IE code for ValueSlider is not needed anymore, also the QuickTips not
used within FormEngine.

Resolves: #67815
Releases: master
Change-Id: I9919dc1350271281ece6aa8767fb8c375205e906
Reviewed-on: http://review.typo3.org/40726
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Cleanup ContentContentObject 19/40719/4
Frederic Gaus [Mon, 29 Jun 2015 13:02:53 +0000 (15:02 +0200)]
[TASK] Cleanup ContentContentObject

Minor cleanup of \TYPO3\CMS\Frontend\ContentObject\ContentContentObject

Resolves: #67809
Releases: master
Change-Id: I34ad1bba9497fbc61cd4d117ca7bbb287d6f54ea
Reviewed-on: http://review.typo3.org/40719
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[TASK] Change naming in context preset in Install Tool 30/40730/3
Benjamin Mack [Mon, 29 Jun 2015 19:13:55 +0000 (21:13 +0200)]
[TASK] Change naming in context preset in Install Tool

Due to the similar naming logic, the preset for configuring optimal
debugging output conflicts with the ApplicationContext set as an
environment variable (TYPO3_CONTEXT), is changed from
"Production" and "Development" to "Live" and "Debug".

Resolves: #67820
Releases: master
Change-Id: I01f0db39532222a8cbeb3a45a745ce6fd977e137
Reviewed-on: http://review.typo3.org/40730
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Improve requireJS handling for FormEngine 21/40721/4
Frank Nägler [Mon, 29 Jun 2015 13:46:43 +0000 (15:46 +0200)]
[TASK] Improve requireJS handling for FormEngine

Resolves: #67812
Releases: master
Change-Id: Ie7d8826ae56b5054114a58db13bd413c63d58940
Reviewed-on: http://review.typo3.org/40721
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] Move form field wizard icons 60/40660/5
Wouter Wolters [Thu, 25 Jun 2015 22:30:11 +0000 (00:30 +0200)]
[TASK] Move form field wizard icons

Migrate TCA and FlexForm with the TCA migration during bootstrap.

Resolves: #67793
Releases: master
Change-Id: I1cfa4196603832d6fb1d91a58ac12d05d48562a8
Reviewed-on: http://review.typo3.org/40660
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[BUGFIX] Correction of Filelink of FAL in linkvalidator 64/39464/4
Pierre Boivin [Mon, 11 May 2015 20:00:10 +0000 (16:00 -0400)]
[BUGFIX] Correction of Filelink of FAL in linkvalidator

Add a fetchType function for linkvalidator to take
FileLinktype class for "file:XXX" media instead of internalLink class.

Make a first validation with "retrieveFileOrFolderObject" to
check if file exist in a database.

Make a second validation on the file "physically" on the server.

Resolves: #66895
Releases: master, 6.2
Change-Id: Ife0ab588e0ac4eb932cca3d6545f243bbcddc7ae
Reviewed-on: http://review.typo3.org/39464
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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>
Reviewed-by: Frans Saris <franssaris@gmail.com>
4 years ago[!!!][TASK] RTE: locallang inferno 02/40702/12
Christian Kuhn [Sat, 27 Jun 2015 21:28:59 +0000 (23:28 +0200)]
[!!!][TASK] RTE: locallang inferno

The patch resolves quite some mess in ext:rtehtmlarea
around the localization files. Many files are moved around
and some are deleted (ok with localization team). Some
internal methods are adapted a bit.

Change-Id: I23bfd10cfc4920e4361c7df971251741e04d2f29
Resolves: #67811
Releases: master
Reviewed-on: http://review.typo3.org/40702
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
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[BUGFIX] Invalid XLIFF attribute xml:space="preserver" 23/40723/3
Xavier Perseguers [Mon, 29 Jun 2015 14:57:18 +0000 (16:57 +0200)]
[BUGFIX] Invalid XLIFF attribute xml:space="preserver"

XLIFF does not validate since xml:space must be
either "default" or "preserve".
This attribute is dropped altogether since it is useless.

Change-Id: I075eabfd95359aa4d00ca5b1655399211648042d
Resolves: #67813
Releases: master
Reviewed-on: http://review.typo3.org/40723
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>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[FEATURE] Extract dependency ordering out of DependencyResolver 55/39955/13
Markus Klein [Thu, 4 Jun 2015 20:34:33 +0000 (22:34 +0200)]
[FEATURE] Extract dependency ordering out of DependencyResolver

The DependencyOrderingService allows to resolve dependency lists
containing before/after dependency specifications into an ordered
list. This is useful for all sorts of registration APIs like hooks.

The code is extracted from the existing DependencyResolver for packages.
The DependencyResolver is adjusted to use the DepencyOrderingService.

Resolves: #67293
Releases: master
Change-Id: Ic4cb1c7cfbcc8c4a0ebe2946eb5824d7983e711c
Reviewed-on: http://review.typo3.org/39955
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Only count items in ForViewHelper when ``iteration`` argument is set 11/40711/3
Mathias Brodala [Mon, 29 Jun 2015 07:49:48 +0000 (09:49 +0200)]
[BUGFIX] Only count items in ForViewHelper when ``iteration`` argument is set

When using the ``iteration`` argument, the ``ForViewHelper`` provides
information about the current iteration, including the ``cycle`` and
``total``. Therefore it needs to count all elements.
The problem is, that this happens even if the iteration argument is
not specified leading to performance issues especially when iterating
over a (subset of a) lot of (remote) items.

This patch fixes this by adding a check for the ``iteration`` argument.

Resolves: #67801
Releases: master, 6.2
Change-Id: I4645ed03322bea36f2c36263378900f401626f24
Reviewed-on: http://review.typo3.org/40711
Reviewed-by: David Greiner <hallo@davidgreiner.de>
Tested-by: David Greiner <hallo@davidgreiner.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[!!!][TASK] Indexed Search: Remove class aliases 19/40119/4
Markus Klein [Mon, 8 Jun 2015 22:02:31 +0000 (00:02 +0200)]
[!!!][TASK] Indexed Search: Remove class aliases

Resolves: #67792
Releases: master
Change-Id: I83a5d93645af8e1bd0a1b6397587c134cca332b0
Reviewed-on: http://review.typo3.org/40119
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] Remove --div-- without associated label 17/40717/3
David Greiner [Mon, 29 Jun 2015 12:14:33 +0000 (14:14 +0200)]
[BUGFIX] Remove --div-- without associated label

Due to a --div-- without a associated label brakes the backend while
adding a new sys_action of type "SQL-Query", this patch removes this
double existent --div-- from sys_action's tca configuration.

Change-Id: I58085a32cc167e3f985e0ed04bdf66457d72260d
Resolves: #67805
Releases: master
Reviewed-on: http://review.typo3.org/40717
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[TASK] Install "parallel" as addon in Travis CI 06/40706/3
Mathias Brodala [Mon, 29 Jun 2015 07:15:12 +0000 (09:15 +0200)]
[TASK] Install "parallel" as addon in Travis CI

Resolves: #67799
Releases: master
Change-Id: Ie3ca1f54c08dbd7a17f63018f1112949addc2dc1
Reviewed-on: http://review.typo3.org/40706
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[TASK] Update Configuration for excludeForPackaging 04/40704/6
Benjamin Mack [Sun, 28 Jun 2015 11:05:08 +0000 (13:05 +0200)]
[TASK] Update Configuration for excludeForPackaging

Also exclude .swp files.

Resolves: #67772
Releases: master
Change-Id: I54377634717572144047bde96f0ee9a9dc679957
Reviewed-on: http://review.typo3.org/40704
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[FOLLOWUP][BUGFIX] Removing an element from select field must trigger validation 12/40712/3
Frank Nägler [Mon, 29 Jun 2015 08:05:52 +0000 (10:05 +0200)]
[FOLLOWUP][BUGFIX] Removing an element from select field must trigger validation

Fix typo in typeof comparison.

Resolves: #67791
Releases: master
Change-Id: If6ad561f87c7071591c3504ee93c6c1027b290a6
Reviewed-on: http://review.typo3.org/40712
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: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[BUGFIX] Removing an element from select field must trigger validation 01/40701/3
Frank Nägler [Sat, 27 Jun 2015 20:46:00 +0000 (22:46 +0200)]
[BUGFIX] Removing an element from select field must trigger validation

This patch ensures that re-validation is triggered in case
an element is removed from a select field.

Resolves: #67791
Releases: master
Change-Id: I8b2b6e67216ba9410a3a404fe697064748cd5871
Reviewed-on: http://review.typo3.org/40701
Reviewed-by: Markus Klein <markus.klein@typo3.org>
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[BUGFIX] Fix wrong validation of select fields in backend 03/40703/2
Frank Nägler [Sun, 28 Jun 2015 19:30:21 +0000 (21:30 +0200)]
[BUGFIX] Fix wrong validation of select fields in backend

This patch fix a wrong validation of select fields in backend.
Also some small performance imrpovements.

Resolves: #67794
Releases: master
Change-Id: Ic4a6335999f24ffcd112f255431c769b806d3014
Reviewed-on: http://review.typo3.org/40703
Reviewed-by: René Bigler <raziel@dunkelweiss.li>
Tested-by: René Bigler <raziel@dunkelweiss.li>
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[TASK] Remove AbstractToolbarItem class 98/40698/3
Anja Leichsenring [Sat, 27 Jun 2015 19:21:04 +0000 (21:21 +0200)]
[TASK] Remove AbstractToolbarItem class

The Abstract is only implemented by one single class, so it is pretty useless.
The functionality is moved to the actual class, and the Abstract is removed.

Change-Id: I61e5d2cabd7458c7963d3223e7ed11d49a3f1f41
Releases: master
Resolves: #67788
Reviewed-on: http://review.typo3.org/40698
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: David Greiner <hallo@davidgreiner.de>
Tested-by: David Greiner <hallo@davidgreiner.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Register ToolbarItems with timestamps 00/40700/2
Anja Leichsenring [Sat, 27 Jun 2015 19:28:13 +0000 (21:28 +0200)]
[TASK] Register ToolbarItems with timestamps

In order to ensure unique registration of ToolbarItems,
a unique timestamp is used for each item to register with.

Change-Id: I4ba901c2c7fc80dd531c29e4c444ecc16b6b6826
Resolves: #67789
Releases: master
Reviewed-on: http://review.typo3.org/40700
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] Make Exception message more helpful 97/40697/3
Anja Leichsenring [Sat, 27 Jun 2015 16:40:13 +0000 (18:40 +0200)]
[TASK] Make Exception message more helpful

Let the missing hookobject tell, what class it is, in order to
find the place where the interface might be missing.

Change-Id: I5a654384005b74e1256ab2019e936c7da7a76ab6
Resolves: #67787
Releases: master
Reviewed-on: http://review.typo3.org/40697
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[CLEANUP] Replace count with empty in EXT:filelist 90/40690/2
Andreas Fernandez [Sat, 27 Jun 2015 14:59:29 +0000 (16:59 +0200)]
[CLEANUP] Replace count with empty in EXT:filelist

Resolves: #67783
Releases: master
Change-Id: If374d781e4e808291dd99b92dfaffd8653862ec3
Reviewed-on: http://review.typo3.org/40690
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[FEATURE] Add TypoLinkCodec 73/40673/6
Markus Klein [Fri, 26 Jun 2015 12:00:04 +0000 (14:00 +0200)]
[FEATURE] Add TypoLinkCodec

The class allows to encode or decode TypoLink strings.

Resolves: #67765
Releases: master
Change-Id: Ibe103ee5c60e411e4d9d965c3623d80f20cc6435
Reviewed-on: http://review.typo3.org/40673
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>