Packages/TYPO3.CMS.git
3 years ago[TASK] Remove backPath from compressor 25/46725/5
Benni Mack [Tue, 16 Feb 2016 19:09:26 +0000 (20:09 +0100)]
[TASK] Remove backPath from compressor

Resolves: #73502
Releases: master
Change-Id: Ic22688bc426725ff95a414600f740d19a82530ce
Reviewed-on: https://review.typo3.org/46725
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Update Fluid dependency to 1.0.4 33/46733/2
Claus Due [Tue, 16 Feb 2016 21:28:09 +0000 (22:28 +0100)]
[TASK] Update Fluid dependency to 1.0.4

This change updates the composer dependency for typo3fluid/fluid
to version 1.0.4 which solves:

https://github.com/TYPO3Fluid/Fluid/pull/69
https://github.com/TYPO3Fluid/Fluid/pull/75

Change-Id: I6340b0d93b4b70b5e1e13dd7a2f5d177af8b7c02
Resolves: #73510
Releases: master
Reviewed-on: https://review.typo3.org/46733
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>
3 years ago[BUGFIX] Absolute web path in acceptance test 31/46731/2
Christian Kuhn [Tue, 16 Feb 2016 20:14:59 +0000 (21:14 +0100)]
[BUGFIX] Absolute web path in acceptance test

Change-Id: I0dbf8514bd3b7dc7d182dde5d6e52f451bc79c42
Resolves: #73507
Related: #73479
Releases: master
Reviewed-on: https://review.typo3.org/46731
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>
3 years ago[BUGFIX] Don't convert labels for charsets in Extbase/Fluid 11/46711/2
Benni Mack [Tue, 16 Feb 2016 13:01:45 +0000 (14:01 +0100)]
[BUGFIX] Don't convert labels for charsets in Extbase/Fluid

When Extbase/Fluid initially were introduced, it was possible
to store non-UTF8-data in the database. A charset array within
CharsetConverter checked if a special language (e.g. russian)
had its own character set. The LocalizationUtility then converted
the value from the original character set to utf-8 which is not
needed anymore, as every input data is expected to be UTF-8.

Labels coming from TypoScript are now expected to be UTF-8  as well.

Resolves: #73487
Releases: master, 7.6
Change-Id: I2292c587b7709257d8efcb58f4e5c0a4c191c944
Reviewed-on: https://review.typo3.org/46711
Reviewed-by: Sebastian Fischer <typo3@evoweb.de>
Tested-by: Sebastian Fischer <typo3@evoweb.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Code cleanup for AbstractUserAuthentication 22/46722/2
Benni Mack [Tue, 16 Feb 2016 16:53:51 +0000 (17:53 +0100)]
[TASK] Code cleanup for AbstractUserAuthentication

This is a pre-patch for the session backend patch.

Resolves: #73500
Releases: master
Change-Id: I7454673d5063c2d77069f790014ede8e86589585
Reviewed-on: https://review.typo3.org/46722
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Remove unused variable includeHierarchy 18/46718/2
Wouter Wolters [Tue, 16 Feb 2016 15:09:07 +0000 (16:09 +0100)]
[TASK] Remove unused variable includeHierarchy

The variable includeHierarchy in BackendUserAuthentication was unused
even in TYPO3 4.5, and is not in use in any TER extension. This piece
of code can safely be removed without breaking anything.

Resolves: #73496
Releases: master
Change-Id: I33117977ec5ae08eddf2a4533ef0f54d983cea14
Reviewed-on: https://review.typo3.org/46718
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
3 years ago[BUGFIX] Correctly add backend.css after extRelPath change 03/46703/5
Patrick Schriner [Tue, 16 Feb 2016 10:59:43 +0000 (11:59 +0100)]
[BUGFIX] Correctly add backend.css after extRelPath change

Due to wrong calculation of the file path the CSS files doesn't get
added any more.

Change-Id: I84391d6e9d318b285b0a22bc70e170c8a2505da9
Resolves: #73479
Releases: master
Reviewed-on: https://review.typo3.org/46703
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Use correct palettes for pages.media sys_file_references 13/46713/3
Benni Mack [Tue, 16 Feb 2016 13:42:49 +0000 (14:42 +0100)]
[BUGFIX] Use correct palettes for pages.media sys_file_references

When using pages.media and videos / audios, then the wrong
fields for a palette are shown.

The patch changes the palettes to use the same as in e.g.
tt_content.assets.

Resolves: #73489
Releases: master, 7.6
Change-Id: Ifa1fd44e3ffd9a498aaf05dc34f59b6777c8c299
Reviewed-on: https://review.typo3.org/46713
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[SECURITY] XSS in Link Validator 98/46698/2
Steffen Müller [Tue, 16 Feb 2016 10:44:06 +0000 (11:44 +0100)]
[SECURITY] XSS in Link Validator

Properly escape error message when showing broken links
in EXT:linkvalidator

Resolves: #72240
Releases: master, 7.6, 6.2
Security-Commit: 04451826c9017729dbf02ffdb605efe0ad24e19e
Security-Bulletinsp: TYPO3-CORE-SA-2016-001, 002, 003, 004
Change-Id: I21b2b803fd19f149010dd47e7d84b3890fd590b3
Reviewed-on: https://review.typo3.org/46698
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[!!!][TASK] Remove flashmessage_compatibility.js from core 83/46683/3
Frank Naegler [Mon, 15 Feb 2016 20:04:05 +0000 (21:04 +0100)]
[!!!][TASK] Remove flashmessage_compatibility.js from core

The flashmessage_compatibility.js is deprecated since TYPO3 7 and is now
removed from core.

The deprecated flashmessage_compatibility.js is loaded at first and takes
place in ``TYPO3.Severity``. The singleton check of
``TYPO3/CMS/Backend/Severity`` detects that ``TYPO3.Severity`` is already
existing and stops the execution. In fact, ``TYPO3/CMS/Backend/Severity``
is never used.

Resolves: #73445
Releases: master
Change-Id: I87982cd9b6880448d430c77bd16ddfbb4bdc7991
Reviewed-on: https://review.typo3.org/46683
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Replace csConvObj calls 27/46627/4
Benni Mack [Fri, 12 Feb 2016 17:10:35 +0000 (18:10 +0100)]
[TASK] Replace csConvObj calls

The CharsetConverter object is agnostic
of charset and environment, and a singleton on top.

There are still several calls in the TYPO3 core
that tries to fetch csConv from TSFE or LANG
which relies heavily on the environment.

The calls are replaced with simple instance
calls where possible.

Resolves: #73441
Releases: master
Change-Id: I098f17b1cdbcc1ebbbb7359cfec518c93597aad4
Reviewed-on: https://review.typo3.org/46627
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] ManageReferenceIndex: Removed call to deprecated method render() 36/46636/2
Michael Oehlhof [Sat, 13 Feb 2016 00:07:12 +0000 (01:07 +0100)]
[BUGFIX] ManageReferenceIndex: Removed call to deprecated method render()

Call of FlashMessage->render() was replaced with appropriate code.

Resolves: #73420
Releases: master, 7.6
Change-Id: Id6ec612974a1813bf8becd843d25a48b663766aa
Reviewed-on: https://review.typo3.org/46636
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Recordlist: Removed call to deprecated method render() 37/46637/2
Michael Oehlhof [Sat, 13 Feb 2016 13:52:02 +0000 (14:52 +0100)]
[BUGFIX] Recordlist: Removed call to deprecated method render()

Call of FlashMessage->render() if no records are on the page
was replaced with appropriate code.

Resolves: #73421
Releases: master, 7.6
Change-Id: If10a5a0ec4f71df6008369c83a9ab6a56c812d4e
Reviewed-on: https://review.typo3.org/46637
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Function menu: Removed call to deprecated method render() 81/46581/3
Michael Oehlhof [Wed, 10 Feb 2016 22:12:39 +0000 (23:12 +0100)]
[BUGFIX] Function menu: Removed call to deprecated method render()

Call of FlashMessage->render() if no modules have been registered
was replaced with appropriate code.

Resolves: #73221
Releases: master, 7.6
Change-Id: I982e2d7d5b677e77a7f170a505f426780ac77089
Reviewed-on: https://review.typo3.org/46581
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Add logic to include languageLablelFiles via return structure 34/46434/4
Frank Naegler [Mon, 1 Feb 2016 15:56:43 +0000 (16:56 +0100)]
[TASK] Add logic to include languageLablelFiles via return structure

Adds a structure to accept language files like EXT:foo/bar.xlf
in FormEngine elements that are added in inline ajax and on
page load.

Since it is very hard for FormEngine element developers to
handle this case without bugs in own code and renders label
handling useless otherwise, this patch is requested for 7.6, too.

Resolves: #73072
Releases: master, 7.6
Change-Id: Icbfe707000931037b9579bb8bc6a96dfca023d3e
Reviewed-on: https://review.typo3.org/46434
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Reallow custom request context in getUrl 08/46208/3
Sascha Egerer [Sun, 24 Jan 2016 11:23:40 +0000 (12:23 +0100)]
[BUGFIX] Reallow custom request context in getUrl

In b4813ddb55ab789ddd13e02234f147a44d2af1ed an patch
has been introduced which respects the default stream context
when requesting urls. But the change prevents that custom
stream options (headers) can be set.

The default stream context should be used and extended by the
given custom headers.

Change-Id: I6ec6d23498e194055cefc1c6c63db7c161ee03c6
Resolves: #72907
Related: #70374
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46208
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Ralf Merz <info@merzilla.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Restore update wizard to add TER repository in EM 03/46303/6
Wouter Wolters [Thu, 28 Jan 2016 22:29:23 +0000 (23:29 +0100)]
[BUGFIX] Restore update wizard to add TER repository in EM

This adds the update wizard again for TER repository in EM.

Resolves: #72917
Releases: master, 7.6
Change-Id: I1d4d6750c1e989a4ca3fadbcf6e753555ae26f5f
Reviewed-on: https://review.typo3.org/46303
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Acceptance tests with travis-ci 60/46660/5
Christian Kuhn [Sun, 14 Feb 2016 11:15:26 +0000 (12:15 +0100)]
[TASK] Acceptance tests with travis-ci

Set up a basic test system in .travis.yml to run
the login acceptance test with selenium and
phantomjs headless browser in travis-ci.

Change-Id: I944ec6ffcf73e4a138271303dfce8aa7aa121b26
Resolves: #68110
Releases: master
Reviewed-on: https://review.typo3.org/46660
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Prophecy update from 1.5.0 to 1.6.0 65/46665/2
Christian Kuhn [Mon, 15 Feb 2016 09:33:44 +0000 (10:33 +0100)]
[TASK] Prophecy update from 1.5.0 to 1.6.0

Change-Id: I22f53a2be313ae3306a54a0983efda14285b725f
Resolves: #73430
Releases: master
Reviewed-on: https://review.typo3.org/46665
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Stick psr/log version to 1.0.0 in composer.json 26/46626/3
Frank Naegler [Fri, 12 Feb 2016 17:08:55 +0000 (18:08 +0100)]
[TASK] Stick psr/log version to 1.0.0 in composer.json

Resolves: #73382
Releases: master
Change-Id: I606a6be641c16edc23cace307d326aad78ceeaf1
Reviewed-on: https://review.typo3.org/46626
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Enable file upload from Frontend context 04/46504/3
Xavier Perseguers [Fri, 5 Feb 2016 16:31:45 +0000 (17:31 +0100)]
[BUGFIX] Enable file upload from Frontend context

Change-Id: Ie2bf887fc9ec49f39af1ffe85bf0aea69c29fe8c
Releases: master, 7.6
Resolves: #73154
Reviewed-on: https://review.typo3.org/46504
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
3 years ago[TASK] Avoid hardcoded path for file list icons 07/46407/2
Mathias Brodala [Sat, 30 Jan 2016 16:57:31 +0000 (17:57 +0100)]
[TASK] Avoid hardcoded path for file list icons

Resolves: #73038
Releases: master
Change-Id: I1816693076689df16552e216ebf4fdc9e927a502
Reviewed-on: https://review.typo3.org/46407
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Indexed Search: Data too long for column 'cookie' 43/46643/3
Wouter Wolters [Sat, 13 Feb 2016 16:28:01 +0000 (17:28 +0100)]
[BUGFIX] Indexed Search: Data too long for column 'cookie'

The Extbase version tries to write a 32 character
hash into the column. Make it varchar(32)

Resolves: #72909
Releases: master,7.6
Change-Id: I007e4f6b6c191c3a2d62492d13593e2ae266e446
Reviewed-on: https://review.typo3.org/46643
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Enable codeception and add simple mouse test 66/46566/5
Roland Golla [Wed, 10 Feb 2016 09:40:01 +0000 (10:40 +0100)]
[TASK] Enable codeception and add simple mouse test

Resolves: #73216
Releases: master
Change-Id: I0390afebbf296748452dd85a0fd5f34fb53adff4
Reviewed-on: https://review.typo3.org/46566
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Data in request may be null instead of an array 29/46229/2
Xavier Perseguers [Mon, 25 Jan 2016 14:24:46 +0000 (15:24 +0100)]
[BUGFIX] Data in request may be null instead of an array

Change-Id: I85f8c80ca29a7795242c9c284f235c6520b2a72d
Releases: master, 7.6
Resolves: #72933
Reviewed-on: https://review.typo3.org/46229
Reviewed-by: Frank Naegler <frank.naegler@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>
3 years ago[BUGFIX] InvalidArgumentException in PaginateViewHelper 63/46463/3
Patrick Schriner [Wed, 3 Feb 2016 14:52:33 +0000 (15:52 +0100)]
[BUGFIX] InvalidArgumentException in PaginateViewHelper

The argument validation of Standalone Fluids AbstractViewHelper
fails for methods defining arguments with multiple types, like
@param QueryResultInterface|ObjectStorage|array.

To solve this, the corresponding argument definition of the argument
$objects in the PaginateViewHelper has been changed to mixed.
Type validation of the $objects argument is done inside
the corresponding method.

Change-Id: I2f0a36e0cdb36657a96636b5c1af1def76b8b775
Resolves: #73105
Related: #73048
Releases: master
Reviewed-on: https://review.typo3.org/46463
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>
3 years ago[BUGFIX] Fixed Exception when updating the ReferenceIndex 35/46635/3
Michael Oehlhof [Fri, 12 Feb 2016 23:49:19 +0000 (00:49 +0100)]
[BUGFIX] Fixed Exception when updating the ReferenceIndex

Now there is no Exception if a table has no columns definition.

Resolves: #73419
Releases: master,7.6
Change-Id: Iedbdb3073f7b6a72baa7263966dfa3c493bdb89c
Reviewed-on: https://review.typo3.org/46635
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>
3 years ago[FEATURE] Add preProcessStorage signal to ResourceFactory 18/38018/8
Frank Nägler [Sun, 22 Mar 2015 23:55:11 +0000 (00:55 +0100)]
[FEATURE] Add preProcessStorage signal to ResourceFactory

This patch introduces a new signal before a resource storage is initialized.
This is very useful to overwrite the storage configuration before the
storage is created.

Resolves: #72904
Releases: master
Change-Id: Iafda08938de33fd555552b70e62700823f8795b9
Reviewed-on: https://review.typo3.org/38018
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Remove FlexForm charset conversion 28/46628/2
Benni Mack [Fri, 12 Feb 2016 17:16:49 +0000 (18:16 +0100)]
[TASK] Remove FlexForm charset conversion

There was a rare option before all DB code
was UTF-8 and BE was UTF-8, when
FlexForm XML was stored in a different charset.

The additional evaluation needs to be enabled
and was never enabled in the last versions.

The property is removed.

Resolves: #73383
Releases: master
Change-Id: Ieba9b06c977dd938e439a9cfe66d63015eb488c8
Reviewed-on: https://review.typo3.org/46628
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Update phpunit and its dependencies 25/46625/2
Christian Kuhn [Fri, 12 Feb 2016 16:32:03 +0000 (17:32 +0100)]
[TASK] Update phpunit and its dependencies

Change-Id: I06d5f3eab662abc8574c206b12f0a40be40eda58
Resolves: #73377
Releases: master
Reviewed-on: https://review.typo3.org/46625
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Use getAbsoluteWebPath instead of extRelPath 83/46583/5
Benni Mack [Thu, 11 Feb 2016 07:37:20 +0000 (08:37 +0100)]
[TASK] Use getAbsoluteWebPath instead of extRelPath

In order to be more flexible for path resolving,
a lot of occurrences in the TYPO3 Backend for
javascript and css files are replaced by
using the absoluteWebPath() option now
instead of working with extRelPath.

Target goal is to get rid of extRelPath
in the future, avoiding the gap between frontend and backend mode checks.

Resolves: #73225
Releases: master
Change-Id: Id529aae0741e67427c4806ac586bdc219d3e83b5
Reviewed-on: https://review.typo3.org/46583
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Deduplicate "Hide default translation of page" logic 50/46450/2
Mathias Brodala [Tue, 2 Feb 2016 16:15:47 +0000 (17:15 +0100)]
[BUGFIX] Deduplicate "Hide default translation of page" logic

Resolves: #73083
Releases: master, 7.6, 6.2
Change-Id: I35dfbeb2034990b5746568a733c3e11240a4399d
Reviewed-on: https://review.typo3.org/46450
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] .travis.yml cleanup 14/46614/2
Christian Kuhn [Fri, 12 Feb 2016 09:42:37 +0000 (10:42 +0100)]
[TASK] .travis.yml cleanup

ext:compatibility6 was removed from core a while ago, explicit
deletion can be removed from .travis.yml

Change-Id: I7022b2e7a8790e0befcb8324e2c800bb22faf03a
Resolves: #73358
Releases: master
Reviewed-on: https://review.typo3.org/46614
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] Deprecate old-school AJAX requests 08/46608/3
Benni Mack [Fri, 12 Feb 2016 07:30:07 +0000 (08:30 +0100)]
[TASK] Deprecate old-school AJAX requests

The old logic for using non-PSR-7 styled
AJAX requests in the backend is now deprecated, in favor of AJAX Backend Routes.

Resolves: #73352
Releases: master
Change-Id: Iacb9bd9160fc2d079158e606531c13b19f696e42
Reviewed-on: https://review.typo3.org/46608
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[FOLLOWUP][BUGFIX] Table wizard: large fields and BR-tags 40/46040/4
Michael Oehlhof [Mon, 18 Jan 2016 00:02:36 +0000 (01:02 +0100)]
[FOLLOWUP][BUGFIX] Table wizard: large fields and BR-tags

Add the missing conversion of LF to <BR> in the frontend output.

Resolves: #72388
Releases: master, 7.6, 6.2
Change-Id: I3ba824904bda6a652c386a8b0fa3e8c1dfbf1859
Reviewed-on: https://review.typo3.org/46040
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] Use UTF-8 as default for LanguageService 45/46545/2
Benni Mack [Tue, 9 Feb 2016 11:07:57 +0000 (12:07 +0100)]
[TASK] Use UTF-8 as default for LanguageService

The TYPO3 Backend is utf-8 by default since TYPO3 4.5, but certain
places read the value still from $GLOBALS['LANG']->charSet, which
is now always "utf-8".

All occurrences are replaced by "utf-8" for now. Future cleanups
will further simplify these code changes.

Resolves: #73194
Releases: master
Change-Id: I4b68a168ee7f2468b196cd3ccd1336cf6ba8a1df
Reviewed-on: https://review.typo3.org/46545
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>
3 years ago[BUGFIX] Remove invalid AJAX endpoint for EXT:recycler 05/46605/2
Benni Mack [Fri, 12 Feb 2016 07:20:39 +0000 (08:20 +0100)]
[BUGFIX] Remove invalid AJAX endpoint for EXT:recycler

A leftover old-school AJAX handler
with an invalid endpoint (pointing to an actual
Cleaner Scheduler Task) was removed.

Resolves: #73351
Releases: master, 7.6
Change-Id: I953a50e7d381e894cc473e6bab1fbb854551bf5c
Reviewed-on: https://review.typo3.org/46605
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[!!!][TASK] Update Symfony Console to version 3.x 05/46505/7
Mathias Brodala [Fri, 5 Feb 2016 16:41:38 +0000 (17:41 +0100)]
[!!!][TASK] Update Symfony Console to version 3.x

This migrates the Extbase ConsoleOutput wrapper to the newer API.

Change-Id: If26fc4f783c1c66bfd7818ea2aedd9055bcbdf92
Resolves: #73152
Releases: master
Reviewed-on: https://review.typo3.org/46505
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Failing Unit Tests on Windows systems 40/46340/2
Nicole Cordes [Fri, 29 Jan 2016 11:56:23 +0000 (12:56 +0100)]
[BUGFIX] Failing Unit Tests on Windows systems

Due to realpath usage some Unit Tests are failing on Windows systems.
The tests have to ensure that forward slashes are used for comparison.

Resolves: #73006
Releases: master, 7.6, 6.2
Change-Id: Iee64ab873d519fee07c6b69e63de1f7d645c071b
Reviewed-on: https://review.typo3.org/46340
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Ensure correct line ending in fluid Unit Tests 91/46591/2
Nicole Cordes [Thu, 11 Feb 2016 12:51:09 +0000 (13:51 +0100)]
[BUGFIX] Ensure correct line ending in fluid Unit Tests

As the TYPO3\CMS\Core\Cache\Frontend\PhpFrontend uses the constant LF
for its data storing the Unit Tests in
TYPO3\CMS\Fluid\Tests\Unit\Core\Cache\FluidTemplateCacheTest have to use
the same constant for comparison.

Resolves: #73237
Releases: master
Change-Id: I2e66ec7726124746a0156d15d4bb462793176d97
Reviewed-on: https://review.typo3.org/46591
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Cleanup usage of booleans in EXT:frontend 71/42471/7
Stefan Neufeind [Fri, 20 Nov 2015 14:41:30 +0000 (15:41 +0100)]
[TASK] Cleanup usage of booleans in EXT:frontend

Change-Id: I65b6b7f14752676c1c90fb6ff0b382de5aaaa53e
Resolves: #68896
Releases: master
Reviewed-on: https://review.typo3.org/42471
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Change diff granularity to "word" 99/46599/2
Andreas Fernandez [Thu, 11 Feb 2016 17:22:02 +0000 (18:22 +0100)]
[TASK] Change diff granularity to "word"

Change the granularity of diffs generated by DiffUtility to "word"
to get readable diffs.

Change-Id: Ib852f6c1a05bd9a9e55aa8821ddcd83f997ae741
Resolves: #73289
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46599
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Cap counter of "Application Overview" 51/46451/4
Andreas Fernandez [Tue, 2 Feb 2016 16:54:20 +0000 (17:54 +0100)]
[TASK] Cap counter of "Application Overview"

The issue counter of the "Application Overview" menu gets capped if
there are more than 99 issues by appending a "+" sign. This solves a
overflow issue if there are too many "unread" issues, that may occur
e.g. after creating a new admin user.

Change-Id: I285f930c79b1d56384affbbae77a196aaaa5b65e
Resolves: #73084
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46451
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Remove unused option cObj->INT_include 93/46593/2
Benni Mack [Thu, 11 Feb 2016 14:23:28 +0000 (15:23 +0100)]
[TASK] Remove unused option cObj->INT_include

An option within ContentObjectRenderer was unused
even before TYPO3 4.5, and is not in use in any TER
extension. This piece of code can safely be removed
without breaking anything.

Resolves: #73242
Releases: master
Change-Id: If86d1306bad6acaeaa3f76c5300d1248e2fcdb4b
Reviewed-on: https://review.typo3.org/46593
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Replace confirm in Create Folder page 31/46531/3
Frank Naegler [Mon, 8 Feb 2016 14:46:21 +0000 (15:46 +0100)]
[TASK] Replace confirm in Create Folder page

Resolves: #68255
Releases: master
Change-Id: Ic2283f4ea8d43059b1c84cafefc79d6b60afa9ff
Reviewed-on: https://review.typo3.org/46531
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Filelist Treeview: Removed call to deprecated method render() 82/46582/3
Michael Oehlhof [Wed, 10 Feb 2016 22:34:14 +0000 (23:34 +0100)]
[BUGFIX] Filelist Treeview: Removed call to deprecated method render()

Call of FlashMessage->render() when no folders are available
was replaced with appropriate code.

Resolves: #73222
Releases: master, 7.6
Change-Id: Ie5eec53618d506e41c5bbf0a9a1b24e92c2b1549
Reviewed-on: https://review.typo3.org/46582
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[BUGFIX] Fix broken tooltip for clipboard header icons 34/46534/2
Frank Naegler [Mon, 8 Feb 2016 15:36:46 +0000 (16:36 +0100)]
[BUGFIX] Fix broken tooltip for clipboard header icons

Resolves: #73180
Releases: master, 7.6
Change-Id: Ic0dba8d1eb32bcf53e6d4ab4d6be495b60a324c4
Reviewed-on: https://review.typo3.org/46534
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Remove @inject from ext:fluid 76/46376/4
Wouter Wolters [Fri, 29 Jan 2016 18:59:15 +0000 (19:59 +0100)]
[TASK] Remove @inject from ext:fluid

Use inject methods instead.

Resolves: #73018
Releases: master, 7.6
Change-Id: I087020bcefaa39984cd040896cbc16b700bf3e81
Reviewed-on: https://review.typo3.org/46376
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Remove obsolete settings from CSS Styled Content 39/46539/2
Benni Mack [Tue, 9 Feb 2016 06:19:01 +0000 (07:19 +0100)]
[TASK] Remove obsolete settings from CSS Styled Content

CSS Styled Content still contains old options that are not in use
anymore within the TYPO3 Core or in regular settings.

These default constants are removed or changed.

Resolves: #73187
Releases: master
Change-Id: I027617445f7d2cd91e97fd50ac5e9758169dcd1e
Reviewed-on: https://review.typo3.org/46539
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] Deprecate BackendUtility::getListViewLink() 41/46541/6
Benni Mack [Tue, 9 Feb 2016 07:04:04 +0000 (08:04 +0100)]
[TASK] Deprecate BackendUtility::getListViewLink()

The wrapper method was previously used in two parts of the TYPO3
Core.

Resolves: #73190
Releases: master
Change-Id: I36f8e65f59aee9cb9d710253dae73b597c6b9275
Reviewed-on: https://review.typo3.org/46541
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] Cleanup code of QueryView 27/46527/7
Frank Naegler [Mon, 8 Feb 2016 13:59:51 +0000 (14:59 +0100)]
[TASK] Cleanup code of QueryView

Resolves: #73175
Releases: master
Change-Id: Id5ea957f52172d2951732b89f8de1acba9e3ee54
Reviewed-on: https://review.typo3.org/46527
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Drop usage of iconFile if typeicon_classes is used in TCA 53/46553/2
Wouter Wolters [Tue, 9 Feb 2016 21:03:08 +0000 (22:03 +0100)]
[BUGFIX] Drop usage of iconFile if typeicon_classes is used in TCA

If typeicon_classes is used, the iconFile is not required.

Resolves: #73202
Releases: master
Change-Id: If6ba002865f8951ecd921f570b67a24f96eec03f
Reviewed-on: https://review.typo3.org/46553
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Remove occurrences of linkThisUrl() 40/46540/2
Benni Mack [Tue, 9 Feb 2016 06:46:14 +0000 (07:46 +0100)]
[TASK] Remove occurrences of linkThisUrl()

The functionality of linkThisUrl is not needed in several places
and the code can be simplified.

Resolves: #73189
Releases: master
Change-Id: Ife9f195ef64bb831dd4f2222d82e9992586d39a3
Reviewed-on: https://review.typo3.org/46540
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FOLLOWUP][TASK] Always use Icon API for Module Icons 43/46543/3
Benni Mack [Tue, 9 Feb 2016 09:33:52 +0000 (10:33 +0100)]
[FOLLOWUP][TASK] Always use Icon API for Module Icons

Fixed failing unit tests because of whitespace problems.

Resolves: #73186
Releases: master

Change-Id: I3a25c74c15266c70ff6fdd40f9f371f47be55f21
Reviewed-on: https://review.typo3.org/46543
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[FOLLOWUP][TASK] Always use Icon API for Module Icons 42/46542/2
Benni Mack [Tue, 9 Feb 2016 09:08:59 +0000 (10:08 +0100)]
[FOLLOWUP][TASK] Always use Icon API for Module Icons

The Icon API with icon identifiers is now used throughout the
core when rendering module icons. This avoids some additional
custom code on several places to identify backpaths etc.

Resolves: #73186
Releases: master
Change-Id: I1c0a84d37c0da82db71e32356bac0fcf30597947
Reviewed-on: https://review.typo3.org/46542
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Always use Icon API for Module Icons 74/46174/6
Benni Mack [Sat, 23 Jan 2016 11:58:55 +0000 (12:58 +0100)]
[TASK] Always use Icon API for Module Icons

The Icon API with icon identifiers is now used throughout the
core when rendering module icons. This avoids some additional
custom code on several places to identify backpaths etc.

Resolves: #73186
Releases: master
Change-Id: Ic146017a25e5872d0f835e7aae5ff6f00755926c
Reviewed-on: https://review.typo3.org/46174
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Correct escaping behavior of documentation views 36/46536/3
Claus Due [Mon, 8 Feb 2016 18:22:59 +0000 (19:22 +0100)]
[BUGFIX] Correct escaping behavior of documentation views

This change updates documentation-related templates and
a single ViewHelper to use the expected escaping toggles.

Change-Id: I0c2e57b3fa253a3d4225f1a383c54236655a0dfa
Releases: master
Resolves: #73181
Reviewed-on: https://review.typo3.org/46536
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Use Time Tracker only 37/46537/3
Benni Mack [Mon, 8 Feb 2016 19:47:08 +0000 (20:47 +0100)]
[TASK] Use Time Tracker only

Don't use the null time tracker anymore, as the logic can be now put
inside the TimeTracker object itself. The class loading is not the
expensive part anymore.

Resolves: #73185
Releases: master
Change-Id: I012fca4dba17f600fb704117e21adccf17cc637b
Reviewed-on: https://review.typo3.org/46537
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Accept empty input for TCA eval 'email' 17/46517/2
Markus Klein [Sun, 7 Feb 2016 22:50:17 +0000 (23:50 +0100)]
[BUGFIX] Accept empty input for TCA eval 'email'

An empty string is a valid email address for an input field of
eval type 'email', unless 'required' is specified explicitly.

Resolves: #73101
Releases: master, 7.6
Change-Id: Ia67aba63331194d43f023fea628028b679cde95c
Reviewed-on: https://review.typo3.org/46517
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Do not process downloads of .map files in typo3/ 08/46108/2
Markus Klein [Wed, 20 Jan 2016 12:24:30 +0000 (13:24 +0100)]
[BUGFIX] Do not process downloads of .map files in typo3/

Resolves: #72832
Releases: master, 7.6
Change-Id: Ie7d4dd8c99c20c80dc8d27a970a9156ff39db1bd
Reviewed-on: https://review.typo3.org/46108
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Allow importing of non-compressed t3d files again 09/46509/2
Markus Klein [Fri, 5 Feb 2016 18:38:46 +0000 (19:38 +0100)]
[BUGFIX] Allow importing of non-compressed t3d files again

Resolves: #73157
Releases: master, 7.6
Change-Id: I6b08290fd4961116f7dbcc87d11b2d35b61411fb
Reviewed-on: https://review.typo3.org/46509
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] impexp ignore file reference records with missing related files 94/29994/12
Marc Bastian Heinrichs [Fri, 15 Jan 2016 14:35:33 +0000 (15:35 +0100)]
[BUGFIX] impexp ignore file reference records with missing related files

It could happen, that an export contains sys_file_reference records
with relations to sys_files records, that was missing in the exporting
instance. This causes exceptions on importing the sys_file_reference
records, because the related sys_file record is checked on saving of
the sys_file_reference record.
To prevent this this sys_file_reference are ignored on import.

Resolves: #58693
Releases: master, 7.6, 6.2
Change-Id: I68afed93502553b0d55eb858bdb6da5641d1e5f0
Reviewed-on: https://review.typo3.org/29994
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Format size in filelist info window 16/46516/4
Daniel Maier [Sun, 7 Feb 2016 19:15:14 +0000 (20:15 +0100)]
[TASK] Format size in filelist info window

The file size information inside the filelist info window is now
formatted as bytes/kilobytes/megabytes instead of just showing the
plain integer value.

Resolves: #73161
Releases: master, 7.6
Change-Id: I3a8f2245fd0d3a40cfff450ed466e8ccd254d81b
Reviewed-on: https://review.typo3.org/46516
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[FOLLOWUP][FEATURE] Introduce native support for Symfony Console 36/46436/8
Mathias Brodala [Mon, 1 Feb 2016 16:51:27 +0000 (17:51 +0100)]
[FOLLOWUP][FEATURE] Introduce native support for Symfony Console

Rename script from "bin/t3console" to "bin/typo3".

Resolves: #73042
Releases: master
Change-Id: I0ab3f083456b25e508abd73cd422b56cbab0458d
Reviewed-on: https://review.typo3.org/46436
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Alias Fluid's AbstractNode to ViewHelperNode for backwards compatibility 20/46420/6
Claus Due [Sun, 31 Jan 2016 15:05:17 +0000 (16:05 +0100)]
[TASK] Alias Fluid's AbstractNode to ViewHelperNode for backwards compatibility

Aliasing this class - although technically not a "good" alias - makes
third-party ViewHelpers' compile() methods compatible.

Change-Id: Ic2c1db6ef3abb2b3f34c793766c7af4ce90d3497
Releases: master
Resolves: #73046
Reviewed-on: https://review.typo3.org/46420
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Add class form-control to textarea in image tests 97/46497/5
Markus Sommer [Fri, 5 Feb 2016 12:47:47 +0000 (13:47 +0100)]
[TASK] Add class form-control to textarea in image tests

Resolves: #73145
Releases: master
Change-Id: I21a558ed54559d345fed1878fcb7665860ba09e8
Reviewed-on: https://review.typo3.org/46497
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
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>
3 years ago[BUGFIX] ImpExp: Correct casing for FAL function call 10/46510/2
Markus Klein [Fri, 5 Feb 2016 18:43:57 +0000 (19:43 +0100)]
[BUGFIX] ImpExp: Correct casing for FAL function call

The function call on the folder object must use correct casing of
the function name for PHP 7 compatibility.

Resolves: #73158
Releases: master, 7.6, 6.2
Change-Id: I09e45663707b462914f361de560eba1b3e3bcbf0
Reviewed-on: https://review.typo3.org/46510
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Update Symfony Finder to version 3.x 03/46503/2
Mathias Brodala [Fri, 5 Feb 2016 16:11:04 +0000 (17:11 +0100)]
[TASK] Update Symfony Finder to version 3.x

Change-Id: Ic41340717812c30f3d13794d7d9233c4f5aafea4
Resolves: #73151
Releases: master
Reviewed-on: https://review.typo3.org/46503
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Disable the "new shortcut" button 63/46363/3
Marco Huber [Fri, 29 Jan 2016 17:11:18 +0000 (18:11 +0100)]
[BUGFIX] Disable the "new shortcut" button

Disable the "new shortcut" button only in the csh popup.

Relates: #73009,#73013
Fixes: #73014
Releases: master,7.6
Change-Id: I9d704ccdb039665a0277f4071301069da3ecc4e1
Reviewed-on: https://review.typo3.org/46363
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Peter Kraume <peter.kraume@gmx.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Correct layout and ensure HTML is rendered 96/46496/4
Markus Sommer [Fri, 5 Feb 2016 11:12:45 +0000 (12:12 +0100)]
[BUGFIX] Correct layout and ensure HTML is rendered

Resolves: #73143
Releases: master
Change-Id: I6e48707d4f1df68daad6cdee3f47a8ffdc44a92d
Reviewed-on: https://review.typo3.org/46496
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[FEATURE] Add "allowedTags" argument on f:format.stripTags 71/46471/4
Claus Due [Wed, 3 Feb 2016 21:00:30 +0000 (22:00 +0100)]
[FEATURE] Add "allowedTags" argument on f:format.stripTags

Allows passing HTML tags which will not be stripped, as
supported by the strip_tags() PHP function.

Change-Id: I2ecc5a6746491ff37f992931a1d03157abebf36f
Resolves: #67236
Releases: master
Reviewed-on: https://review.typo3.org/46471
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Off-by-one error in FAL's LocalDriver 61/46461/3
Andreas Fernandez [Wed, 3 Feb 2016 14:33:44 +0000 (15:33 +0100)]
[BUGFIX] Off-by-one error in FAL's LocalDriver

Currently, the LocalDriver of FAL has an off-by-one issue. The passed
starting pointer gets decremented by one, causing issues in the file list
while browsing.

The pointer decrement is removed with this change.

The whole core does not call ``ResourceStorage->getFilesInFolder()``
with the parameters``$start`` and ``$maxNumberOfItems`` having
another value than 0, so this change is assumed to be safe.

Change-Id: I4e24f18b3222f2abdbed83fbbcb18c73d6e52316
Resolves: #73103
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/46461
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Roman Schürmann <roman.schuermann@wmdb.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] Improve layout of file list in FileBrowser 14/46414/7
Daniel Maier [Sat, 30 Jan 2016 19:20:18 +0000 (20:20 +0100)]
[TASK] Improve layout of file list in FileBrowser

The layout of the FileBrowser is streamlined with the current layout of the
Filelist backend module. The file listing has now a similar layout as
the one in the filelist module, and uses the same icon style.

Resolves: #73040
Releases: master, 7.6
Change-Id: I774ddfa3fdc86dddab8e41395e959a1453b0f3d9
Reviewed-on: https://review.typo3.org/46414
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
3 years ago[BUGFIX] Impexp: Make CSH useable again 43/46443/2
Daniel Goerz [Tue, 2 Feb 2016 09:31:48 +0000 (10:31 +0100)]
[BUGFIX] Impexp: Make CSH useable again

Change-Id: Ia43f66a74aafa558c2b5a098cc6edecb2c2d8acd
Resolves: #73079
Releases: master
Reviewed-on: https://review.typo3.org/46443
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Gianluigi Martino <gmartino27@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Add argument wrap to CSH ViewHelper 41/46441/2
Daniel Goerz [Tue, 2 Feb 2016 09:11:42 +0000 (10:11 +0100)]
[TASK] Add argument wrap to CSH ViewHelper

Additionally a regression in filelist markup is fixed.

Change-Id: Ib0cb0dbfe4255dd575682f3305f445ab7bfb3359
Resolves: #73078
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46441
Reviewed-by: Claus Due <claus@phpmind.net>
Tested-by: Gianluigi Martino <gmartino27@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Compatibility to safely deprecate f:case "default" argument 31/46431/9
Claus Due [Mon, 1 Feb 2016 15:00:28 +0000 (16:00 +0100)]
[TASK] Compatibility to safely deprecate f:case "default" argument

A compatibility layer can be left in place to support "default" used
on f:case. Internally the compatibility ViewHelper changes the class
name used in the ViewHelperNode which gets reflected in the compiled
template as well as the uncompiled rendering.

ReflectionProperty had to be used since no public API exists for
manipulating ViewHelperNodes in this way.

Change-Id: I80c5c8787f6e88f37dfe129ea1844c4421f77d19
Resolves: #73068
Releases: master
Reviewed-on: https://review.typo3.org/46431
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
3 years ago[BUGFIX] Fix composer branch alias of master branch 62/46462/2
Helmut Hummel [Wed, 3 Feb 2016 14:50:12 +0000 (15:50 +0100)]
[BUGFIX] Fix composer branch alias of master branch

Branch alias of master branch still is to 7.x-dev,
but obviously must be 8.x-dev

Resolves: #73104
Releases: master
Change-Id: I694b991600a98ba28cadc83cf718d5620b494768
Reviewed-on: https://review.typo3.org/46462
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christoph Buchli <cbuchli@snowflake.ch>
Tested-by: Christoph Buchli <cbuchli@snowflake.ch>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Avoid reserved "sections" variable name in install tool All Configuration 47/46447/2
Claus Due [Tue, 2 Feb 2016 11:29:31 +0000 (12:29 +0100)]
[BUGFIX] Avoid reserved "sections" variable name in install tool All Configuration

Avoiding the reserved variable name avoids the issue.

Change-Id: I1262a645366680628742e2ee547797bd4c5914ec
Releases: master
Resolves: #73080
Reviewed-on: https://review.typo3.org/46447
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] InvalidArgumentException in Image- and Media-ViewHelper 22/46422/3
Daniel Maier [Sun, 31 Jan 2016 17:58:30 +0000 (18:58 +0100)]
[BUGFIX] InvalidArgumentException in Image- and Media-ViewHelper

The argument validation of Standalone Fluids AbstractViewHelper
fails for methods defining arguments with multiple types, like
@param FileInterface|AbstractFileFolder.

To solve this, the corresponding argument definition of Image-
and Media-ViewHelper render methods has been changed to object.
Type validation of these arguments in question is done inside
the corresponding methods.

Resolves: #73048
Releases: master
Change-Id: Ib3bf340e9191eefbd1186f24b00d8e14fa48b5e7
Reviewed-on: https://review.typo3.org/46422
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Claus Due <claus@phpmind.net>
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>
3 years ago[TASK] Do not hide possible PHP warning from Extbase exception 25/46425/3
Xavier Perseguers [Mon, 1 Feb 2016 09:14:01 +0000 (10:14 +0100)]
[TASK] Do not hide possible PHP warning from Extbase exception

The Extbase ClassInfoFactory may be unable to build information for a
given class if a PHP warning occurs while running in development context.

Instead of hiding the actual exception with a generic message
"Could not analyse class: VendorName\ExtensionKey\Some\Class", it should
include the message of the corresponding exception to give useful advice
while fixing the problem.

Change-Id: I7c4b5c13b034d9a9a0d24aab84863008fbd07598
Releases: master, 7.6
Resolves: #73053
Reviewed-on: https://review.typo3.org/46425
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Eric Chavaillaz <eric@hemmer.ch>
Tested-by: Eric Chavaillaz <eric@hemmer.ch>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
3 years ago[TASK] Register BE module icons automatically 75/46175/11
Frank Naegler [Sat, 23 Jan 2016 12:44:37 +0000 (13:44 +0100)]
[TASK] Register BE module icons automatically

Resolves: #72903
Releases: master
Change-Id: I34d99b176496201fb156831f016ce0edd1441fdf
Reviewed-on: https://review.typo3.org/46175
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Deprecate GeneralUtility::requireOnce() and requireFile() 29/46429/4
Frank Naegler [Mon, 1 Feb 2016 14:07:26 +0000 (15:07 +0100)]
[TASK] Deprecate GeneralUtility::requireOnce() and requireFile()

This patch deprecates:
* GeneralUtility::requireOnce
* GeneralUtility::requireFile

Resolves: #73067
Releases: master
Change-Id: I080da0ae59f994655973ab74c2fa5a3e32f845a2
Reviewed-on: https://review.typo3.org/46429
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
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>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Use uri.resource viewhelper for about module logo 00/46400/3
Mathias Brodala [Sat, 30 Jan 2016 16:35:36 +0000 (17:35 +0100)]
[TASK] Use uri.resource viewhelper for about module logo

Resolves: #73034
Releases: master
Change-Id: I0ae1d458d1da7822f9ee261cb574128c37f49f42
Reviewed-on: https://review.typo3.org/46400
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Make the BE-Modul configurably for groups 55/46355/3
Marco Huber [Fri, 29 Jan 2016 14:14:25 +0000 (15:14 +0100)]
[BUGFIX] Make the BE-Modul configurably for groups

Related: #63000
Resolves: #73009
Releases: master,7.6
Change-Id: I9406e9e45cd6053d3a343e91ffb041c9ec1afa8e
Reviewed-on: https://review.typo3.org/46355
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Marco Huber <mail@marco-huber.de>
Tested-by: Marco Huber <mail@marco-huber.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Peter Kraume <peter.kraume@gmx.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Ensure correct absolute paths for fluid template paths 88/46388/3
Nicole Cordes [Sat, 30 Jan 2016 11:09:29 +0000 (12:09 +0100)]
[BUGFIX] Ensure correct absolute paths for fluid template paths

This patch uses TYPO3 internal functions to resolves absolute paths
which can handle absolute Windows paths as well.

Resolves: #73028
Releases: master
Change-Id: Id92af6ff12033904002bbbfd845f465a7a9a1519
Reviewed-on: https://review.typo3.org/46388
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Reallow '0' as valid userFunc argument in TypoScript 32/46232/5
Gernot Leitgab [Mon, 25 Jan 2016 18:13:24 +0000 (19:13 +0100)]
[BUGFIX] Reallow '0' as valid userFunc argument in TypoScript

With #47301 the parsing of userFunc in TypoScript has changed.
The change prevents '0' as valid argument.

This patch fix the '0' bug but also adds some new unit tests.
The parser method also includes a bug with quoted values which are not the
last argument. this bug is now fixed too.

Resolves: #72936
Related: #47301
Releases: master, 7.6, 6.2
Change-Id: Ic8df6ea21642e012438dba0a6a299c15939ab119
Reviewed-on: https://review.typo3.org/46232
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[FEATURE] Introduce native support for Symfony Console 81/45581/8
Benni Mack [Mon, 4 Jan 2016 20:34:58 +0000 (21:34 +0100)]
[FEATURE] Introduce native support for Symfony Console

This feature allows to add Commands based on Symfony
Console, and also introduces a new binary located in
typo3/sysext/core/bin/t3console.

This effectively removes the need for typo3/cli_dispatch.phpsh
which is not part of any system extension.

Resolves: #73042
Releases: master
Change-Id: I01c2c600e379c314d7b9dd99d4716a280bfbb105
Reviewed-on: https://review.typo3.org/45581
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[CLEANUP] Remove double sanitizing of Fluid paths 03/46403/2
Helmut Hummel [Sat, 30 Jan 2016 16:49:22 +0000 (17:49 +0100)]
[CLEANUP] Remove double sanitizing of Fluid paths

Sanitizing of paths is done already when in
the setters of \TYPO3Fluid\Fluid\View\TemplatePaths

So we can remove the call in our own implementation.

Resolves: #73036
Releases: master
Change-Id: I242745662325e001f3ef6f4928fa8d9c7e6c5dfd
Reviewed-on: https://review.typo3.org/46403
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[!!!][TASK] Use JSON for ClickMenu 89/46289/7
Benni Mack [Thu, 28 Jan 2016 15:08:42 +0000 (16:08 +0100)]
[!!!][TASK] Use JSON for ClickMenu

ClickMenu AJAX Responses now return proper JSON instead of
custom XML tags. Additionally, the HTML output is streamlined
to be based on Twitter Bootstrap.

Resolves: #73044
Releases: master
Change-Id: Ic7ca95d3586ec13ba420673c769cd243f60749c0
Reviewed-on: https://review.typo3.org/46289
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Add alias for Fluid's TemplateCompiler 97/46397/3
Claus Due [Sat, 30 Jan 2016 15:58:56 +0000 (16:58 +0100)]
[TASK] Add alias for Fluid's TemplateCompiler

Required for third-party ViewHelpers which implement a compile()
method; avoids fatal error about incompatible signatures.

Change-Id: Ia88bae736df2a1f0c153f2c3ebdfdd8e36be32e5
Releases: master
Resolves: #73033
Reviewed-on: https://review.typo3.org/46397
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Remove crawler initialization in indexed search 95/46295/3
Benni Mack [Thu, 28 Jan 2016 18:33:09 +0000 (19:33 +0100)]
[BUGFIX] Remove crawler initialization in indexed search

There is a leftover stub run from the global scope to ensure
that the hook uses the proper backend charset. This code
was never executed in the current version of crawler, but
still may be viable in some situations. Therefore it is added
to the constructor method of the actual Crawler Hook.

Resolves: #72998
Releases: master, 7.6
Change-Id: Ie091c2bbe7c3eafaf8ab33ac2065501d44c35bd8
Reviewed-on: https://review.typo3.org/46295
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Remove old conflicting extensions from ext_emconf 05/46405/2
Wouter Wolters [Sat, 30 Jan 2016 16:51:48 +0000 (17:51 +0100)]
[TASK] Remove old conflicting extensions from ext_emconf

The listed conflicting extensions are so old that they do not work
anymore in the current TYPO3 version.

We can remove them now.

Resolves: #73037
Releases: master
Change-Id: I1231ad988264fc73acbd848d3dd55c2670293e43
Reviewed-on: https://review.typo3.org/46405
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[BUGFIX] Fix GlobalDebugFunctions.php autoload info 01/46401/2
Mathias Brodala [Sat, 30 Jan 2016 16:41:13 +0000 (17:41 +0100)]
[BUGFIX] Fix GlobalDebugFunctions.php autoload info

Resolves: #73035
Releases: master
Change-Id: I071ac0f33d60768fe976fc68a08ce093bb5dbb97
Reviewed-on: https://review.typo3.org/46401
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] Remove composerName info from PackageStates 87/46387/4
Benni Mack [Sat, 30 Jan 2016 10:32:46 +0000 (11:32 +0100)]
[TASK] Remove composerName info from PackageStates

The PackageStates.php includes an info about the "composerName"
which is only necessary when dealing with dependencies.

Instead of storing this info inside PackageStates.php, this can be put
and regenerated in the Core Cache functionality.

Resolves: #73025
Releases: master
Change-Id: I63fc863cef06b40a48d7d89104d3d9d7c27e7d08
Reviewed-on: https://review.typo3.org/46387
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] Use Symfony Finder for PackageManager extension scan 85/46385/2
Benni Mack [Fri, 29 Jan 2016 23:26:43 +0000 (00:26 +0100)]
[TASK] Use Symfony Finder for PackageManager extension scan

Resolves: #73023
Releases: master
Change-Id: Ie00f6dd1091e3dd3c62f333d1b25bad392ea5558
Reviewed-on: https://review.typo3.org/46385
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FOLLOWUP][FEATURE] Use new standalone Fluid as composer dependency 86/46386/2
Michael Oehlhof [Sat, 30 Jan 2016 02:07:05 +0000 (03:07 +0100)]
[FOLLOWUP][FEATURE] Use new standalone Fluid as composer dependency

Correct 2 little typos in the rst file.

Resolves: #69863
Releases: master
Change-Id: Idacec1c39d9368a30a8abf0ebb50fa41730dd4a8
Reviewed-on: https://review.typo3.org/46386
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Cleanup functionality in PackageManager.php 79/46379/3
Benni Mack [Fri, 29 Jan 2016 22:03:57 +0000 (23:03 +0100)]
[TASK] Cleanup functionality in PackageManager.php

There are quite some quirks and leftovers which won't change
functionality but can be removed.

Resolves: #73021
Releases: master
Change-Id: If06fcc5cac7896c01c6e542b767e94aa414f23fa
Reviewed-on: https://review.typo3.org/46379
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] CategoryRegistry::addTcaColumn() ignores displayCond 57/46057/3
Tomita Militaru [Mon, 18 Jan 2016 12:55:22 +0000 (14:55 +0200)]
[BUGFIX] CategoryRegistry::addTcaColumn() ignores displayCond

Adds check for displayCond and include it if present.

Resolves: #70307
Releases: master, 7.6, 6.2
Change-Id: I94b61bd2f098b279745028731b8392a9bf3389b2
Reviewed-on: https://review.typo3.org/46057
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Do not access clip object when clipboard disabled 72/46272/2
Christian Weiske [Thu, 28 Jan 2016 07:10:52 +0000 (08:10 +0100)]
[BUGFIX] Do not access clip object when clipboard disabled

Resolves: #72978
Releases: master, 7.6

Change-Id: I19b17127081f59ff50301355f4459be290ce0603
Reviewed-on: https://review.typo3.org/46272
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Have PackageManager only check for TYPO3 extensions 77/46377/2
Benni Mack [Fri, 29 Jan 2016 19:20:38 +0000 (20:20 +0100)]
[TASK] Have PackageManager only check for TYPO3 extensions

Currently the PackageManager class checks for TYPO3 extensions
and for directories within typo3/sysext/ typo3/ext/ or typo3conf/ext/
that contain a composer.json but no ext_emconf.php.

However, as the additional check, which only checks for the
existance of composer.json was part of the legacy functionality
from the old Flow backport and is not used anymore.

Resolves: #73019
Releases: master
Change-Id: I494030d6ee133b4db35387e20b326f9215edfc4e
Reviewed-on: https://review.typo3.org/46377
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>