Packages/TYPO3.CMS.git
2 years ago[RELEASE] Release of TYPO3 7.6.3 04/46704/2 7.6.3 TYPO3_7-6-3
TYPO3 Release Team [Tue, 16 Feb 2016 11:24:13 +0000 (12:24 +0100)]
[RELEASE] Release of TYPO3 7.6.3

Change-Id: Ie00c494eb8f5e8e82a4a13e242a275e37b65be23
Reviewed-on: https://review.typo3.org/46704
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
2 years ago[SECURITY] XSS in Link Validator 97/46697/2
Steffen Müller [Tue, 16 Feb 2016 10:43:58 +0000 (11:43 +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: 889cbad1b45951dbee9dec6d5f0717d443d42182
Security-Bulletinsp: TYPO3-CORE-SA-2016-001, 002, 003, 004
Change-Id: I6eba759ca6b71f3f6ff87daf4f8449b6f4f8ddba
Reviewed-on: https://review.typo3.org/46697
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[TASK] Improve layout of file list in FileBrowser 85/46485/2
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/46485
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
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>
2 years ago[BUGFIX] ManageReferenceIndex: Removed call to deprecated method render() 72/46672/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/46672
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Recordlist: Removed call to deprecated method render() 71/46671/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/46671
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Function menu: Removed call to deprecated method render() 70/46670/2
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/46670
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Add logic to include languageLablelFiles via return structure 69/46669/2
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/46669
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Reallow custom request context in getUrl 68/46668/2
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/46668
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Restore update wizard to add TER repository in EM 67/46667/3
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/46667
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>
2 years ago[BUGFIX] Enable file upload from Frontend context 64/46664/2
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/46664
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
2 years ago[BUGFIX] Indexed Search: Data too long for column 'cookie' 48/46648/2
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/46648
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Data in request may be null instead of an array 40/46640/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/46640
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Fixed Exception when updating the ReferenceIndex 39/46639/2
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/46639
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Deduplicate "Hide default translation of page" logic 15/46615/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>
(cherry picked from commit e28c56540792cf19fc3782cd894eb5c9e0af6aa4)
Reviewed-on: https://review.typo3.org/46615

2 years ago[TASK] Remove @inject from ext:fluid 04/46604/3
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/46604
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: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[FOLLOWUP][BUGFIX] Table wizard: large fields and BR-tags 12/46612/2
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>
(cherry picked from commit 1d2d368f1bdac991f9191eb81670e0bfc14c960e)
Reviewed-on: https://review.typo3.org/46612
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
2 years ago[BUGFIX] Remove invalid AJAX endpoint for EXT:recycler 06/46606/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/46606
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Failing Unit Tests on Windows systems 02/46602/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/46602
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Change diff granularity to "word" 01/46601/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/46601
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Cap counter of "Application Overview" 95/46595/2
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/46595
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Filelist Treeview: Removed call to deprecated method render() 85/46585/2
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>
(cherry picked from commit ef3c9d38ab3cc94a25e51ea2d5922ce3607498d1)
Reviewed-on: https://review.typo3.org/46585

2 years ago[BUGFIX] Fix broken tooltip for clipboard header icons 84/46584/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/46584
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Accept empty input for TCA eval 'email' 33/46533/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/46533
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Do not process downloads of .map files in typo3/ 32/46532/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/46532
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Allow importing of non-compressed t3d files again 28/46528/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/46528
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] impexp ignore file reference records with missing related files 23/46523/2
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/46523
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Format size in filelist info window 19/46519/2
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/46519
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] ImpExp: Correct casing for FAL function call 12/46512/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/46512
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Disable the "new shortcut" button 11/46511/2
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/46511
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Off-by-one error in FAL's LocalDriver 01/46501/2
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/46501
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[TASK] Add argument wrap to CSH ViewHelper 72/46472/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/46472
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Do not hide possible PHP warning from Extbase exception 53/46453/2
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/46453
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
2 years ago[BUGFIX] Make the BE-Modul configurably for groups 30/46430/2
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/46430
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Reallow '0' as valid userFunc argument in TypoScript 27/46427/2
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/46427
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Remove crawler initialization in indexed search 12/46412/2
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/46412
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Fix GlobalDebugFunctions.php autoload info 04/46404/2
Mathias Brodala [Sat, 30 Jan 2016 16:41:13 +0000 (17:41 +0100)]
[BUGFIX] Fix GlobalDebugFunctions.php autoload info

Resolves: #73035
Releases: 7.6
Change-Id: I071ac0f33d60768fe976fc68a08ce093bb5dbb97
Reviewed-on: https://review.typo3.org/46404
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
2 years ago[BUGFIX] CategoryRegistry::addTcaColumn() ignores displayCond 80/46380/2
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/46380
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Show folder icons in ElementBrowser file tree 39/46339/2
Daniel Maier [Sun, 24 Jan 2016 14:08:58 +0000 (15:08 +0100)]
[BUGFIX] Show folder icons in ElementBrowser file tree

The folder icons are now also shown in the ElementBrowser file tree,
but without context-menu. As the icon link handling provided by the
general FolderTree wrapIcon function does not match in ElementBrowser
mode, an own implementation of this function is introduced in
ElementBrowserFolderTreeView.

Resolves: #69802
Releases: master, 7.6
Change-Id: I4854a69ac5b5459d3e284472ccad5c602a277883
Reviewed-on: https://review.typo3.org/46339
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
2 years ago[BUGFIX] Do not access clip object when clipboard disabled 78/46378/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/46378
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Do no load page after title change if it's not the active one 54/46354/2
Gianluigi Martino [Mon, 21 Dec 2015 14:17:31 +0000 (15:17 +0100)]
[TASK] Do no load page after title change if it's not the active one

Do not load the page in the page tree after renaming, if it isn't the
currently active one.

Resolves: #72238
Releases: master, 7.6
Change-Id: Idf6b789f07fbd28ef0c5ec1e630e3dca2dc73119
Reviewed-on: https://review.typo3.org/46354
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] Remove addQueryStringMethod parameter from widget links 49/46349/2
Nicole Cordes [Fri, 29 Jan 2016 09:35:48 +0000 (10:35 +0100)]
[BUGFIX] Remove addQueryStringMethod parameter from widget links

Resolves: #58752
Releases: master, 7.6, 6.2
Change-Id: I1d03d62cf0028089bdd0c5a6e7ef555be36349fb
Reviewed-on: https://review.typo3.org/46349
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] CONTENT cObj: Set 'select.' to array if empty 28/46328/2
Stefan Froemken [Wed, 20 Jan 2016 06:55:38 +0000 (07:55 +0100)]
[BUGFIX] CONTENT cObj: Set 'select.' to array if empty

Ensure that the 'select.' configuration is an array
to avoid PHP errors.

Resolves: #72817
Releases: master, 7.6
Change-Id: I749fec996759883d78a2566c9d6b668ed4c7955e
Reviewed-on: https://review.typo3.org/46328
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Clear cache system icon is shown for non admin in dev context 24/46324/2
Eric Chavaillaz [Wed, 27 Jan 2016 12:54:22 +0000 (13:54 +0100)]
[BUGFIX] Clear cache system icon is shown for non admin in dev context

If the context is in development mode, the clear cache system icon
is always shown in the toolbar, even if the user is not an admin.

Resolves: #72964
Releases: master, 7.6, 6.2
Change-Id: I674df49fee14ded4b2190cca098ddf146047e5f0
Reviewed-on: https://review.typo3.org/46324
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Possible division by zero in PaginateController 22/46322/2
Xavier Perseguers [Tue, 26 Jan 2016 08:48:15 +0000 (09:48 +0100)]
[BUGFIX] Possible division by zero in PaginateController

Change-Id: Iefec45baa5492b516bc041a08cdd322687fff297
Releases: master, 7.6
Resolves: #72940
Reviewed-on: https://review.typo3.org/46235
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
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>
Reviewed-on: https://review.typo3.org/46322

2 years ago[BUGFIX] Remove obsolete CSH labels 20/46320/2
Benni Mack [Thu, 28 Jan 2016 18:27:06 +0000 (19:27 +0100)]
[BUGFIX] Remove obsolete CSH labels

The new labels that were replaced for 4.5 can now be migrated
to the location of the "old" CSH language files.

The hooks can be removed therefore.

Resolves: #72997
Releases: master, 7.6
Change-Id: Ief763b1e362ff616f8e4a87f2643882d9bd9b96a
Reviewed-on: https://review.typo3.org/46294
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>
Reviewed-on: https://review.typo3.org/46320

2 years ago[BUGFIX] Method is not compatible with its parent's counterpart 19/46319/2
Xavier Perseguers [Mon, 25 Jan 2016 14:17:00 +0000 (15:17 +0100)]
[BUGFIX] Method is not compatible with its parent's counterpart

Change-Id: I03903572eb718d3b6e5054fbe6bca62dfe0f50ac
Releases: master, 7.6
Resolves: #72932
Reviewed-on: https://review.typo3.org/46319
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[FOLLOWUP][BUGFIX] Allow empty values for js language labels 11/46311/2
Frank Naegler [Thu, 28 Jan 2016 23:12:56 +0000 (00:12 +0100)]
[FOLLOWUP][BUGFIX] Allow empty values for js language labels

This patch is a followup patch to fix broken labels in
BackendLayoutWizard.

Resolves: #72806
Releases: master, 7.6
Change-Id: I10be021ad578c21821f088323be5cf05aa74928b
Reviewed-on: https://review.typo3.org/46311
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Refactor the initialize process of IconRegistry 06/46306/2
Frank Naegler [Mon, 25 Jan 2016 12:45:17 +0000 (13:45 +0100)]
[BUGFIX] Refactor the initialize process of IconRegistry

Fix a problem in case of IconFactory not being fully initialized.

Resolves: #72926
Releases: master, 7.6
Change-Id: Iaeb511e4a2c681a135b2ec993a4b2f91e5bd53e8
Reviewed-on: https://review.typo3.org/46306
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] remove unnecessary htmlspecialchars 01/46301/2
Marco Huber [Tue, 26 Jan 2016 12:52:28 +0000 (13:52 +0100)]
[BUGFIX] remove unnecessary htmlspecialchars

The message is sent through htmlspecialchars in
TYPO3\CMS\Core\Messaging\FlashMessageQueue::renderFlashMessages(),
so we don't need it here.

Fixes: #72948
Releases: master,7.6
Change-Id: I90854bcf1d38ef9c2eaa4898b448ca8c9458f14e
Reviewed-on: https://review.typo3.org/46301
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Render file icon in File list -> Search 00/46300/2
Frans Saris [Thu, 28 Jan 2016 10:46:32 +0000 (11:46 +0100)]
[BUGFIX] Render file icon in File list -> Search

Resolves: #72985
Releases: master, 7.6
Change-Id: I23fa216638bd204e73611729b0181e204428db04
Reviewed-on: https://review.typo3.org/46300
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Remove suggestion extensions from indexed_search 98/46298/2
Wouter Wolters [Thu, 28 Jan 2016 17:57:04 +0000 (18:57 +0100)]
[BUGFIX] Remove suggestion extensions from indexed_search

Extbase and fluid are installed by default since a while now.

Resolves: #72996
Releases: master, 7.6
Change-Id: If1927f260aa18d06b7140373cd94dbdb8eae685b
Reviewed-on: https://review.typo3.org/46298
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Use TYPO3-compliant Array syntax for PackageStates.php 96/46296/2
Benni Mack [Thu, 28 Jan 2016 17:26:23 +0000 (18:26 +0100)]
[BUGFIX] Use TYPO3-compliant Array syntax for PackageStates.php

Resolves: #72993
Releases: master, 7.6
Change-Id: Icd03506191aac85c6edcf618bc4c7c5de377a877
Reviewed-on: https://review.typo3.org/46296
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Allow empty values for js language labels 43/46243/2
Thomas Schlumberger [Tue, 26 Jan 2016 11:52:07 +0000 (12:52 +0100)]
[BUGFIX] Allow empty values for js language labels

When a user has a translated backend where not all
labels are translated, Lang.js throws an js exception
for accessing empty values.

The check for empty values therefor must be hardened.

Resolves: #72806
Releases: master, 7.6
Change-Id: I2801076945f6a291fb3b05c0438f18c0d737e8de
Reviewed-on: https://review.typo3.org/46243
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Switch mirror links to https 39/46239/2
Nicole Cordes [Tue, 26 Jan 2016 10:13:30 +0000 (11:13 +0100)]
[TASK] Switch mirror links to https

As the typo3.org (and other mirror) structure switched to ssl protocol
by default, we have to adjust the url generation.

Resolves: #72943
Releases: master, 7.6, 6.2
Change-Id: I2fc79f300584fdb1392c9c1fe920f029703dce25
Reviewed-on: https://review.typo3.org/46239
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] PHP Warning DBAL 19/46219/3
Frank Naegler [Sun, 24 Jan 2016 21:54:57 +0000 (22:54 +0100)]
[BUGFIX] PHP Warning DBAL

This patch fix the declaration of
TYPO3\CMS\Dbal\RecordList\DatabaseRecordList::makeSearchString
to be compatible with the parent method:
TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList::makeSearchString

Resolves: #72912
Releases: master, 7.6
Change-Id: I313a35d9b2cc365b2d6012996551fb2ecb1ebbb0
Reviewed-on: https://review.typo3.org/46213
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: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit c0a792d8e662d1f9a983408dec8b5c6307d8c706)
Reviewed-on: https://review.typo3.org/46219

2 years ago[TASK] ImpExp: Streamline checks for data 78/46078/3
Markus Klein [Tue, 19 Jan 2016 13:33:03 +0000 (14:33 +0100)]
[TASK] ImpExp: Streamline checks for data

Remove checks where not necessary, add them where necessary.

Resolves: #72816
Releases: master, 7.6
Change-Id: I6aa9a90782a26d2665a38e78187052882a26ca90
Reviewed-on: https://review.typo3.org/46078
Reviewed-by: Reinhard Führicht <rf@typoheads.at>
Tested-by: Reinhard Führicht <rf@typoheads.at>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Prevent PHP error in DatabaseTreeDataProvider 09/46209/2
Wouter Wolters [Wed, 20 Jan 2016 20:12:09 +0000 (21:12 +0100)]
[BUGFIX] Prevent PHP error in DatabaseTreeDataProvider

Check if $records is not empty before using in the foreach loop.

Resolves: #72850
Releases: master,7.6
Change-Id: I015087777117a2a355532ecf8204c0e08338e77c
Reviewed-on: https://review.typo3.org/46209
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
2 years ago[BUGFIX] EXT:form - Bring back missing default CSS styles 63/46163/2
Ralf Zimmermann [Fri, 22 Jan 2016 10:06:21 +0000 (11:06 +0100)]
[BUGFIX] EXT:form - Bring back missing default CSS styles

Re-add the default CSS styles for EXT:form.
The default CSS styles have been removed by accident during the rewrite.

Resolves: #72863
Releases: master, 7.6
Change-Id: Id03771f37674f3cb5e678a9a2d5585880501cd35
Reviewed-on: https://review.typo3.org/46163
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] SimpleFileBackend::setCacheDirectory returns valid path name 57/46157/2
Jan Helke [Fri, 22 Jan 2016 09:58:24 +0000 (10:58 +0100)]
[BUGFIX] SimpleFileBackend::setCacheDirectory returns valid path name

The comment for the method
\TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend::setCacheDirectory()
states clearly, that it is possible to provide an absolute path as
cache directory. However, in the lower part of the function, it is
stated, that if ($cacheDirectory0 == '/') the documentRoot should be
set to '/'. That results in a returned path like '//...'.
This causes problems within
\TYPO3\CMS\Core\Utility\GeneralUtility::validPathStr(), because pathes
with '//' in it are always invalid.

Resolves: #72635
Releases: master, 7.6, 6.2
Change-Id: I30e7743ba9835c99382b7c04153f91e688ead5fc
Reviewed-on: https://review.typo3.org/46157
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
2 years ago[TASK] Adjust copyright year in README.md 56/46156/2
Wouter Wolters [Fri, 22 Jan 2016 13:41:33 +0000 (14:41 +0100)]
[TASK] Adjust copyright year in README.md

Resolves: #72893
Releases: master,7.6
Change-Id: I19a61cba6478a1e8012c559f7b857b02d769f7c7
Reviewed-on: https://review.typo3.org/46156
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Workspaces: Exception with PHP 7 79/46079/2
Michael Oehlhof [Sat, 16 Jan 2016 11:51:36 +0000 (12:51 +0100)]
[BUGFIX] Workspaces: Exception with PHP 7

Make the Declaration of
TYPO3\CMS\Workspaces\Controller\ReviewController::initializeView()
compatible with
TYPO3\CMS\Extbase\Mvc\Controller\ActionController::initializeView()

Resolves: #72766
Releases: master, 7.6
Change-Id: I1b7723e61ba7386e95690926b8e30dbd25c0fdb4
Reviewed-on: https://review.typo3.org/46079
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
2 years ago[TASK] Optimize layout in cshmanuel help popup 43/46143/2
Frank Nägler [Thu, 21 Jan 2016 18:02:51 +0000 (19:02 +0100)]
[TASK] Optimize layout in cshmanuel help popup

Add class img-responsive to images in help popup.

Resolves: #72880
Releases: master, 7.6
Change-Id: Ifc83bbce7401ef8d822259ab14ff66315b40e273
Reviewed-on: https://review.typo3.org/46143
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Apply CGL compatibility (PSR-1 and PSR-2) 32/46132/2
Wouter Wolters [Thu, 21 Jan 2016 09:25:52 +0000 (10:25 +0100)]
[TASK] Apply CGL compatibility (PSR-1 and PSR-2)

Regular code cleanup about CGL standards.

Executed via php-cs-fixer fix --config-file Build/.php_cs typo3

Resolves: #72860
Releases: 7.6
Change-Id: Ifcf1355b1e916c6ddb2a44683dca3492826b5492
Reviewed-on: https://review.typo3.org/46132
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>
2 years ago[TASK] Remove test files created by GeneralUtilityTest 19/46119/2
Wouter Wolters [Wed, 20 Jan 2016 18:31:49 +0000 (19:31 +0100)]
[TASK] Remove test files created by GeneralUtilityTest

Resolves: #72847
Releases: master, 7.6
Change-Id: Iaf39687d014d32fa3c385a3747d8ea69076d70d3
Reviewed-on: https://review.typo3.org/46119
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Correctly determine link type 06/46106/2
Markus Klein [Tue, 19 Jan 2016 19:56:43 +0000 (20:56 +0100)]
[BUGFIX] Correctly determine link type

Due to a wrong condition transformation the detection of external links
without schema is broken.
Revert the condition to the correct logic again as it was in 6.2.

Related: #55626
Resolves: #72818
Releases: master, 7.6
Change-Id: I1cd716c4a689db1309d28d750e30987eeee3efff
Reviewed-on: https://review.typo3.org/46106
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Use Import class in ImportExportUtility::importT3DFile() 81/46081/2
Morton Jonuschat [Tue, 19 Jan 2016 18:17:53 +0000 (19:17 +0100)]
[BUGFIX] Use Import class in ImportExportUtility::importT3DFile()

Update the method importT3DFile() to use the dedicated Import class
instead of the abstract parent class ImportExport.

Resolves: #72820
Related: #72710
Releases: master, 7.6
Change-Id: Iac88eae129433b154779178a4d59b9c0f639a62a
Reviewed-on: https://review.typo3.org/46081
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Fix broken background image in ImageManipulation wizard 63/46063/2
Frank Nägler [Mon, 18 Jan 2016 15:11:22 +0000 (16:11 +0100)]
[BUGFIX] Fix broken background image in ImageManipulation wizard

Followup patch, the first patch was missing the change in the less file.

Resolves: #72742
Releases: master, 7.6
Change-Id: I4b7ff2669f7867523afe58fb0ceb9e1e428ef4ca
Reviewed-on: https://review.typo3.org/46063
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Indexed Search mysql takes section settings into account 42/46042/2
Tymoteusz Motylewski [Fri, 15 Jan 2016 20:51:39 +0000 (21:51 +0100)]
[BUGFIX] Indexed Search mysql takes section settings into account

Add section where clause to Indexed Search MySQL hook.
Before this patch, when using MySQL fulltext search, Indexed Search
returned results from all pages.
Now they are filtered taking correct section into account.

Releases: 7.6, master
Resolves: #45575
Change-Id: Ia5c2d2cbb2e866a4c4d56cc05ac97a85f491e6eb
Reviewed-on: https://review.typo3.org/46042
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[BUGFIX] FormEngine: Restore select wizard for textarea elements 36/46036/2
Morton Jonuschat [Sun, 17 Jan 2016 09:19:23 +0000 (10:19 +0100)]
[BUGFIX] FormEngine: Restore select wizard for textarea elements

Add the data-formengine-input-name attribute to FormEngine TextElements
so that the wizards can locate it. As the textareas don't differentiate
between human readable and hidden fields add a check to the tbe change
handler if the form field and the human readable field are identical and
skip triggering the change event again.

Resolves: #71679
Releases: master, 7.6
Change-Id: I69e6a4f3e9f19c68bd02a0029322d52323286194
Reviewed-on: https://review.typo3.org/46036
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Cast pageId to integer before storing a preset in EXT:impexp 27/46027/2
Morton Jonuschat [Sat, 16 Jan 2016 17:07:30 +0000 (18:07 +0100)]
[BUGFIX] Cast pageId to integer before storing a preset in EXT:impexp

When storing a export preset in EXT:impexp no pageId is being set when
exporting a single table or record instead of a pagetree branch. Cast
the value for the pageId to integer to avoid MySQL strict mode errors.

Resolves: #72773
Releases: master, 7.6
Change-Id: Id8af258f96680201adaebeb82f488818a3013720
Reviewed-on: https://review.typo3.org/46027
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Recycler doesn't show deleted pages for editors 23/46023/2
Bernhard Kraft [Tue, 15 Dec 2015 13:57:55 +0000 (14:57 +0100)]
[BUGFIX] Recycler doesn't show deleted pages for editors

When using the recycler as normal user (non admin) it isn't possible
to restore any pages as the underlying BE API methods by default only
allow to check for access to non-deleted pages. This situation is
circumvented by disabling the "delete" flag in TCA while checking for
access to deleted pages.

Resolves: #70863
Releases: 7.6, master
Change-Id: Ibf6ff305a6dbcf3eaf99fdca89b7bf7c78677319
Reviewed-on: https://review.typo3.org/46023
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[BUGFIX] Backend users: Exception in element browser with PHP 7 08/46008/2
Michael Oehlhof [Sat, 16 Jan 2016 11:43:38 +0000 (12:43 +0100)]
[BUGFIX] Backend users: Exception in element browser with PHP 7

Make the Declaration of
TYPO3\CMS\Recordlist\Tree\View\ElementBrowserPageTreeView::wrapTitle()
compatible with
TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView::wrapTitle()

Resolves: #72767
Releases: master, 7.6
Change-Id: Ic855be1b3e8020a28a7c44c21709d75a3a04e3b5
Reviewed-on: https://review.typo3.org/46000
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
(cherry picked from commit d3983a1e3022f422dc009d6061ba529d04112ee3)
Reviewed-on: https://review.typo3.org/46008
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[FOLLOWUP] Use correct setting to display search rules 10/46010/3
Wouter Wolters [Sat, 16 Jan 2016 13:19:46 +0000 (14:19 +0100)]
[FOLLOWUP] Use correct setting to display search rules

Move documentation into 7.6 folder

Resolves: #51099
Releases: 7.6
Change-Id: I3af0bec71f82c7933999fbb9d08c2a9536999e52
Reviewed-on: https://review.typo3.org/46010
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[BUGFIX] Fix negativ pid when doing a positioned insert 19/46019/2
Marco Huber [Fri, 15 Jan 2016 20:20:20 +0000 (21:20 +0100)]
[BUGFIX] Fix negativ pid when doing a positioned insert

If you insert a content element (or a page) at a concrete position f.e.
after content element 15 the value in $row['pid'] is -15.
But in $this->data we already have the real pid, so we can just use it.

Resolves: #72751
Releases: master,7.6
Change-Id: Ib441dacf68eebd377f48589b7aeff6af1159263d
Reviewed-on: https://review.typo3.org/45969
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit 52b3f406c3ad16808c66cadd54d53657e4c2dce8)
Reviewed-on: https://review.typo3.org/46019

3 years ago[BUGFIX] Import/Export Various Exceptions happening 15/46015/2
Reinhard Führicht [Sat, 16 Jan 2016 11:10:02 +0000 (12:10 +0100)]
[BUGFIX] Import/Export Various Exceptions happening

Fixed exception shown when

1) uploading an existing file without "Overwrite" setting activated
2) opening export module as a non-admin
3) opening import module as a non-admin without permission
   to access an available file storage

Also improved error message for missing default file upload folder.

Resolves: #72765
Releases: master
Change-Id: Id1133d1a8adc6c28088ef85730fe01145b4fa3a2
Reviewed-on: https://review.typo3.org/46015
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[FOLLOWUP][BUGFIX] Clean up inconsistent data from import 13/46013/2
Bernhard Kraft [Sat, 16 Jan 2016 13:37:57 +0000 (13:37 +0000)]
[FOLLOWUP][BUGFIX] Clean up inconsistent data from import

When importing a T3D or XML file the loaded data has to get cleansed
first. The "extensionDependencies" array for example may contain an
empty string which will cause a non-correct warning message in the
importers warning tab.

A new method "cleanupImportData" takes care to bring import data into
an acceptable format.

Resolves: #72761
Releases: master, 7.6
Change-Id: I314d5702bf07bb57e723d3b11f5e848cba1c7808
Reviewed-on: https://review.typo3.org/46013
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Use correct setting to display search rules 09/46009/2
Ludwig Rafelsberger [Sat, 16 Jan 2016 11:02:37 +0000 (12:02 +0100)]
[BUGFIX] Use correct setting to display search rules

The extbase plugin (pi2) of EXT:indexed_search previously used a
different TypoScript setting to control the display of search rules
than the setting that is shipped as default TypoScript. This changes
the template to use the correct setting.

Resolves: #51099
Releases: master, 7.6
Change-Id: I893ff0c85a3bc9fde885cbb5103d9ebf54e488a2
Reviewed-on: https://review.typo3.org/46002
Reviewed-by: Bernhard Kraft <kraftb@think-open.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Bernhard Kraft <kraftb@think-open.at>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit 01ffb0c45ae4894f74d25a39e96bdd7b0dc683da)
Reviewed-on: https://review.typo3.org/46009

3 years ago[BUGFIX] Make levelAs of DirectoryViewHelper work 07/46007/2
Georg Ringer [Fri, 15 Jan 2016 16:34:07 +0000 (17:34 +0100)]
[BUGFIX] Make levelAs of DirectoryViewHelper work

To calculate the level, the correct variable needs to be used.

Change-Id: Ic53b4475412d4b29c408af95371ef2416603d1f1
Resolves: #72543
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46007
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Improve colPos behaviour of SectionViewHelper 05/46005/2
Georg Ringer [Sat, 16 Jan 2016 11:29:18 +0000 (12:29 +0100)]
[BUGFIX] Improve colPos behaviour of SectionViewHelper

Make it possible to render a section menu of content elements
with ignoring the colPos field.

Additionally, a comma separated list of columns can be used
and not only a single colPos.

Resolves: #71733
Releases, master, 7.6
Change-Id: I5f1284ee860c926afd81141d8459efd71cff409d
Reviewed-on: https://review.typo3.org/46005
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Clean up inconsistent data from import 04/46004/2
Bernhard Kraft [Sat, 16 Jan 2016 09:45:59 +0000 (09:45 +0000)]
[BUGFIX] Clean up inconsistent data from import

When importing a T3D or XML file the loaded data has to get cleansed
first. The "extensionDependencies" array for example may contain an
empty string which will cause a non-correct warning message in the
importers warning tab.

A new method "cleanupImportData" takes care to bring import data into
an acceptable format.

Resolves: #72761
Releases: master, 7.6
Change-Id: I79dcccb92f453902b4b83be243d2f89af711246c
Reviewed-on: https://review.typo3.org/45993
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit 6c9573c7e90bfb9392e69ac849eab4c1d66d5597)
Reviewed-on: https://review.typo3.org/46004

3 years ago[BUGFIX] Use ProcessedFile::CONTEXT_IMAGEPREVIEW for inline preview images 03/46003/2
Georg Ringer [Sat, 16 Jan 2016 10:47:49 +0000 (11:47 +0100)]
[BUGFIX] Use ProcessedFile::CONTEXT_IMAGEPREVIEW for inline preview images

Using ProcessedFile::CONTEXT_IMAGEPREVIEW respects the ratio and produces
nicer thumbnails.

Change-Id: I8d98dc8ff0a6883c7e03c4dddbdb6d085608904a
Resolves: #71670
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46003
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Apply hsc() to exception debug output 90/45990/2
Markus Klein [Fri, 15 Jan 2016 23:04:22 +0000 (00:04 +0100)]
[BUGFIX] Apply hsc() to exception debug output

Resolves: #72755
Releases: master, 7.6, 6.2
Change-Id: If62a72ccc0f8daa47b5cd67b1e2f3fb30f2bf1dc
Reviewed-on: https://review.typo3.org/45990
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[FOLLOWUP][TASK] Split service class of Import/Export (impexp) 88/45988/2
Morton Jonuschat [Sat, 16 Jan 2016 08:29:59 +0000 (09:29 +0100)]
[FOLLOWUP][TASK] Split service class of Import/Export (impexp)

Resolves: #72710
Releases: 7.6
Change-Id: Ia11d19708398de7cc6de178d181fee00c139cab5
Reviewed-on: https://review.typo3.org/45988
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Do not throw warning in FormEngineUtility::getIconHtml 79/45979/2
Tymoteusz Motylewski [Fri, 15 Jan 2016 21:32:19 +0000 (22:32 +0100)]
[BUGFIX] Do not throw warning in FormEngineUtility::getIconHtml

Feeding getIconHtml with non existing file path
is not throwing a warning now.

Releases: 7.6, master
Resolves: #72752
Change-Id: Ic11d6a5551ec964d4f94f2dc3f9542157985f72a
Reviewed-on: https://review.typo3.org/45978
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit 1c1cebe149d6c5d7586350357c3784bf638da31e)
Reviewed-on: https://review.typo3.org/45979

3 years ago[BUGFIX] Import skips files with non-existent target directory 75/45975/2
Bernhard Kraft [Fri, 15 Jan 2016 13:33:32 +0000 (14:33 +0100)]
[BUGFIX] Import skips files with non-existent target directory

When an import is taking place in which sys_file_storage records
get imported any files within this storage will not get imported
if the basePath of the sys_file_storage does not exist.

This patch displays an error message in such cases and prompts
the user to create the missing directory.

Resolves: #68791
Releases: master, 7.6
Change-Id: I7fb0f0cdf9b25b29b0a35781450020a59e0f03ab
Reviewed-on: https://review.typo3.org/45975
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Impexp Move generation of selector boxes to Fluid template 73/45973/2
Reinhard Führicht [Fri, 15 Jan 2016 16:20:46 +0000 (17:20 +0100)]
[TASK] Impexp Move generation of selector boxes to Fluid template

Select box generation has been handed over to Fluid view helper.

Resolves: #72741
Releases: master, 7.6
Change-Id: I3908cf45cefdac4284b5e89a54eb591a43cb1df1
Reviewed-on: https://review.typo3.org/45973
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[FOLLOWUP][TASK] Import/Export (impexp) move to Fluid standalone view 72/45972/2
Reinhard Führicht [Fri, 15 Jan 2016 16:36:37 +0000 (17:36 +0100)]
[FOLLOWUP][TASK] Import/Export (impexp) move to Fluid standalone view

Resolves: #72699
Releases: master, 7.6
Change-Id: I96c351d29af45867864c404b2fa47e03466ed7e9
Reviewed-on: https://review.typo3.org/45972
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Import/Export (impexp) move to Fluid standalone view 71/45971/2
Reinhard Führicht [Thu, 14 Jan 2016 13:10:13 +0000 (14:10 +0100)]
[TASK] Import/Export (impexp) move to Fluid standalone view

Resolves: #72699
Releases: master, 7.6
Change-Id: I18c4dad4b2838c445188fd4a8e9b8e356c61f35f
Reviewed-on: https://review.typo3.org/45971
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[!!!][TASK] Split service class of Import/Export (impexp) 70/45970/2
Martin Kutschker [Thu, 14 Jan 2016 17:30:25 +0000 (17:30 +0000)]
[!!!][TASK] Split service class of Import/Export (impexp)

Resolves: #72710
Releases: master, 7.6
Change-Id: I4b0a4535c28470c539fd0ae88f7e4855ff037819
Reviewed-on: https://review.typo3.org/45970
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Functional tests for impex clean filesystem after test 68/45968/2
Martin Kutschker [Fri, 15 Jan 2016 15:03:41 +0000 (15:03 +0000)]
[BUGFIX] Functional tests for impex clean filesystem after test

Resolves: #59731
Releases: master, 7.6
Change-Id: I11bdc64e10f85d4fd57a8fc5eb931d4d99f4dbb7
Reviewed-on: https://review.typo3.org/45968
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Remove thumbnail functionality of EXT:impexp 65/45965/2
Georg Ringer [Thu, 14 Jan 2016 12:34:32 +0000 (13:34 +0100)]
[TASK] Remove thumbnail functionality of EXT:impexp

Previously it was possible to add additional thumbnails to
exports of the EXT:impexp. This functionality is completely
outdated and not needed anymore.

Change-Id: I48964b56ecb707f3f47f70efcf080c603702f913
Resolves: #72697
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/45965
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Initialize ExtendedFileUtility only if an actual upload happens 67/45967/2
Georg Ringer [Thu, 14 Jan 2016 10:03:49 +0000 (11:03 +0100)]
[BUGFIX] Initialize ExtendedFileUtility only if an actual upload happens

There is no need to initialize ExtendedFileUtility every request in
EXT:impexp. Check if an upload is actually performed.

Change-Id: I45ff2affd38cf00b3e182741749fb567f6853658
Resolves: #72692
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/45967
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Extract preset logic into separate class in EXT:impexp 66/45966/2
Georg Ringer [Thu, 14 Jan 2016 13:25:48 +0000 (14:25 +0100)]
[TASK] Extract preset logic into separate class in EXT:impexp

Move the preset logic into a separate PresetRepository to
improve readability of ImportExportController.

Change-Id: If93196e8766f6891dd510a4d79ffc0f1a8e00de3
Resolves: #72700
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/45966
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Replace ###REC_FIELD with values from DB within FlexForms 62/45962/2
Morton Jonuschat [Fri, 15 Jan 2016 17:13:08 +0000 (18:13 +0100)]
[BUGFIX] Replace ###REC_FIELD with values from DB within FlexForms

Replace ###REC_FIELD_ in FlexForm context with values from database.
Within FlexForm context these values need to be found retrieved from
the key flexParentDatabaseRow.

Resolves: #72510
Releases: master, 7.6
Change-Id: I50dd915cf0fcc58e9943c94760033df38ee4f239
Reviewed-on: https://review.typo3.org/45962
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Copy DataHandler::enableLogging to sub objects 54/45954/3
Christian Weiske [Mon, 21 Dec 2015 11:07:55 +0000 (12:07 +0100)]
[BUGFIX] Copy DataHandler::enableLogging to sub objects

Releases: master, 7.6, 6.2
Fixes: #72357
Change-Id: I33ff172e1c8ad851050d41933eeeeffc1d6c28dd
Reviewed-on: https://review.typo3.org/45389
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: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit c5bafa6c6fbec9fca73dded0654b7db04e530172)
Reviewed-on: https://review.typo3.org/45954

3 years ago[BUGFIX] Fix broken background image in ImageManipulation wizard 52/45952/2
Frank Nägler [Fri, 15 Jan 2016 15:44:13 +0000 (16:44 +0100)]
[BUGFIX] Fix broken background image in ImageManipulation wizard

Resolves: #72742
Releases: master, 7.6
Change-Id: I713f5fc2d6231263990599aa9de40040ec15a405
Reviewed-on: https://review.typo3.org/45952
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Fix broken ImageManipulation wizard 51/45951/2
Frank Nägler [Fri, 15 Jan 2016 15:11:12 +0000 (16:11 +0100)]
[BUGFIX] Fix broken ImageManipulation wizard

This is a follow-up patch for #72704:
[BUGFIX] Avoid double loading of global RequireJS modules

Resolves: #72739
Related: #72704
Releases: master, 7.6
Change-Id: I156353ba1f21284599a75483565b27d8af3c43a6
Reviewed-on: https://review.typo3.org/45951
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Table wizard: large fields and BR-tags 49/45949/3
Wouter Wolters [Thu, 7 Jan 2016 19:58:48 +0000 (20:58 +0100)]
[BUGFIX] Table wizard: large fields and BR-tags

Large fields output newline as br-tag in frontend

Resolves: #72388
Releases: master, 7.6, 6.2
Change-Id: I8c225548249fc013452641c0316091701fcdca6a
Reviewed-on: https://review.typo3.org/45949
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Avoid double loading of global RequireJS modules 44/45944/2
Anja Leichsenring [Thu, 14 Jan 2016 16:17:10 +0000 (17:17 +0100)]
[BUGFIX] Avoid double loading of global RequireJS modules

Resolves: #72704
Releases: master, 7.6
Change-Id: Ifa56d193a5d92048855b99b58807948d452fc17a
Reviewed-on: https://review.typo3.org/45944
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Automatically remove BOM from files before concatenation 36/45936/2
Christian Futterlieb [Tue, 12 Jan 2016 14:32:30 +0000 (15:32 +0100)]
[BUGFIX] Automatically remove BOM from files before concatenation

Resolves: #72648
Releases: master, 7.6
Change-Id: I12d97a4bda70879c039d8b05390cc5e37fbeef51
Reviewed-on: https://review.typo3.org/45936
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>