Packages/TYPO3.CMS.git
3 years ago[FEATURE] Activated D&D copy by pressing the CTRL key while dropping 62/47062/10
Jo Hasenau [Fri, 4 Mar 2016 16:31:29 +0000 (17:31 +0100)]
[FEATURE] Activated D&D copy by pressing the CTRL key while dropping

Resolves: #74179
Releases: master
Change-Id: I93864236f179b57cc0b1cbf67ce9941da096986a
Reviewed-on: https://review.typo3.org/47062
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Fix date conversion of neg timestamps 15/47115/2
Daniel Maier [Sat, 5 Mar 2016 18:57:21 +0000 (19:57 +0100)]
[BUGFIX] Fix date conversion of neg timestamps

Date conversion of TCA fields with eval "date" or "datetime" is now also
handled correctly for dates before 1970, thus having a negative
timestamp. Timezone offset is now also applied for those negative
timestamps, in order to prevent erroneous data for dates before 1970.

Resolves: #73871
Releases: master, 7.6
Change-Id: I4de9911dec3de720992da137fe8afcb3ecbfdad7
Reviewed-on: https://review.typo3.org/47115
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[BUGFIX] Fix slide function of cObject 89/47089/4
Jo Hasenau [Fri, 4 Mar 2016 21:06:28 +0000 (22:06 +0100)]
[BUGFIX] Fix slide function of cObject

Move variable value association to correct position.

Resolves: #69941
Releases: master, 7.6
Change-Id: I8bca6203f4e994a86b11f5d3be54b83e7dfdd73c
Reviewed-on: https://review.typo3.org/47089
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
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] Check if selected page is available before loading BE module 23/44923/10
Michael Oehlhof [Mon, 23 Nov 2015 23:14:07 +0000 (00:14 +0100)]
[BUGFIX] Check if selected page is available before loading BE module

If a formerly selected page (in page tree) is not available anymore
(e.g. deleted), any access to a backend module will now check
this condition and will avoid an error.
An empty module will be displayed in such a case.

Resolves: #66449
Releases: master, 7.6
Change-Id: I4caf6abf715af2009705caf126f2614ae5cde9ed
Reviewed-on: https://review.typo3.org/44923
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] EXT:form - prevent duplicate call to getRecordAsJson 12/47112/2
Sebastian Wagner [Sat, 5 Mar 2016 17:54:59 +0000 (18:54 +0100)]
[BUGFIX] EXT:form - prevent duplicate call to getRecordAsJson

We prevent getRecordAsJson to be called twice when rendering element.
Fix annotations of for return values of JSON elements

Resolves: #74331
Change-Id: Ib4826ebeee33f91c18db230d1aba2ffe39070ea1
Reviewed-on: https://review.typo3.org/47112
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Switched D&D back from sortable to draggable and adjusted dropzones 58/47058/5
Jo Hasenau [Fri, 4 Mar 2016 14:48:45 +0000 (15:48 +0100)]
[TASK] Switched D&D back from sortable to draggable and adjusted dropzones

Resolves: #66540
Releases: master
Change-Id: I982bb63a14409fd4510126d3d4b88ee85562967e
Reviewed-on: https://review.typo3.org/47058
Reviewed-by: Marius Wieschollek <marius.typo3@mdns.eu>
Tested-by: Marius Wieschollek <marius.typo3@mdns.eu>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Karthikeyan Palaniswamy <karthikeyan@forethought.de>
Tested-by: Karthikeyan Palaniswamy <karthikeyan@forethought.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Reinsert ommitted vars for ternary operators 08/47108/2
Jo Hasenau [Sat, 5 Mar 2016 16:55:38 +0000 (17:55 +0100)]
[BUGFIX] Reinsert ommitted vars for ternary operators

When the check is done with multiple variables omitting the first part
of a ternary operator just inserts the boolean result of the check
but not the variable

Change-Id: If683770435995cac079fb2fd42344ba1cc15a08f
Resolves: #70242
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47108
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Karthikeyan Palaniswamy <karthikeyan@forethought.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] DataHandler: Use the updated field to determine record type 62/46162/4
Hannes Lau [Fri, 22 Jan 2016 17:51:20 +0000 (18:51 +0100)]
[BUGFIX] DataHandler: Use the updated field to determine record type

Use the new, updated field values of the current record, to determine
its type value. This allows to pick the correct RTE configuration
for new records with non-default types.

Fixes: #72898
Releases: master, 7.6
Change-Id: If519a9c9357034977ede40d7b709a7d83a3e92c8
Reviewed-on: https://review.typo3.org/46162
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Tested-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Tested-by: Jonas Götze <jonnsn@gmail.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[BUGFIX] Show the copy option in the page browser contextual menu 06/47106/2
eugen_lang [Sat, 5 Mar 2016 15:40:05 +0000 (16:40 +0100)]
[BUGFIX] Show the copy option in the page browser contextual menu

Resolves: #33147
Releases: master, 7.6
Change-Id: I98c696eb58c759f6c50dbaf111556b86cffe0e93
Reviewed-on: https://review.typo3.org/47106
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Karthikeyan Palaniswamy <karthikeyan@forethought.de>
Tested-by: Karthikeyan Palaniswamy <karthikeyan@forethought.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[FEATURE] Check database default charset 03/47103/5
Jonas Götze [Sat, 5 Mar 2016 14:23:43 +0000 (15:23 +0100)]
[FEATURE] Check database default charset

Checks the default database charset during installation and provides
Upgrade Wizard to fix default charset.

Resolves: #74319
Releases: master
Change-Id: I645c0dc321a719e2149b8474e4292c80811fd82c
Reviewed-on: https://review.typo3.org/47103
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Tested-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[FEATURE] Add a CSPRNG 07/46507/7
Christian Futterlieb [Sun, 31 Jan 2016 20:09:20 +0000 (21:09 +0100)]
[FEATURE] Add a CSPRNG

* Add a simple API for generation of random bytes, integers and
  hex-strings: Crypto\Random
* Deprecate the methods GeneralUtility::generateRandomBytes() and
  GeneralUtility::getRandomHexString()
* Replace occurrences of the deprecated methods

Change-Id: If4d6daa00138eac791954a4fd9a4fc26a79ddf07
Resolves: #73050
Releases: master
Reviewed-on: https://review.typo3.org/46507
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[TASK] Clean up typolink target and linktxt 95/47095/3
Benni Mack [Sat, 5 Mar 2016 12:59:20 +0000 (13:59 +0100)]
[TASK] Clean up typolink target and linktxt

Rename $linktxt to $linkText.
Only evaluate target if forceTarget is not set.

Add a small helper method to call parseFunc on empty
$linkText that is used in 4 places within typoLink().

Resolves: #74318
Releases: master
Change-Id: I043ba3192be83ec6acf28cb88a287be1b8cd74fa
Reviewed-on: https://review.typo3.org/47095
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Tested-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years agoRevert "[BUGFIX] Fix date conversion of neg timestamps" 07/47107/4
Christian Kuhn [Sat, 5 Mar 2016 16:18:14 +0000 (17:18 +0100)]
Revert "[BUGFIX] Fix date conversion of neg timestamps"

This reverts commit 41b350dc84876c282a7309911287622591b05995.

Default values do not work well.

Change-Id: Idfadf5482d12e2f51fa14aa574061c0c2b65176d
Reviewed-on: https://review.typo3.org/47107
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Denied file extensions still shown in upload forms 72/46072/6
Marco Huber [Tue, 19 Jan 2016 09:54:54 +0000 (10:54 +0100)]
[BUGFIX] Denied file extensions still shown in upload forms

The list of denied file extensions does not contain a dot, but our
fileDenyPattern by default starts with a dot. Therefore, although a
check is performed, the file extensions will still be displayed even
though uploading files with the extension is forbidden by
fileDenyPattern.

This commit adds the dot before the extension when performing the
check, effectively hiding forbidden extensions.

Resolves: #72803
Releases: master, 7.6
Change-Id: I2ec3d02e096b46309932604a53ea4c416ba9812a
Reviewed-on: https://review.typo3.org/46072
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[BUGFIX] Hide view-button in access module 18/41718/6
Andreas Bouche [Sat, 5 Mar 2016 13:37:36 +0000 (14:37 +0100)]
[BUGFIX] Hide view-button in access module

Editing permissions in the access module has no effect on the frontend.
Therefore, the view button is unnecessary here.

Resolves: #68376
Releases: master
Change-Id: Ic5f48320ca54e46e89c8f3b740b457cfcfbbaaae
Reviewed-on: https://review.typo3.org/41718
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Andreas Bouche <andreas.bouche@flagbit.de>
Tested-by: Andreas Bouche <andreas.bouche@flagbit.de>
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Tested-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Fix date conversion of neg timestamps 25/47025/6
Daniel Maier [Thu, 3 Mar 2016 20:17:21 +0000 (21:17 +0100)]
[BUGFIX] Fix date conversion of neg timestamps

Date conversion of TCA fields with eval "date" or "datetime" is now also
handled correctly for dates before 1970, thus having a negative
timestamp. Timezone offset is now also applied for those negative
timestamps, in order to prevent erroneous data for dates before 1970.

Furthermore validation handling for dates with zero timestamp
(01.01.1970 midnight UTC) is fixed.

Resolves: #73871
Releases: master, 7.6
Change-Id: Iffa2f12c6941fe17b956202fe9c49f811b1b0539
Reviewed-on: https://review.typo3.org/47025
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Remove leftover FormEngine TSconfig values 22/46822/4
Benni Mack [Tue, 23 Feb 2016 07:01:26 +0000 (08:01 +0100)]
[TASK] Remove leftover FormEngine TSconfig values

Several infos in TSconfig / FormEngine are never used,
the field "storage_pid" does not even exist anymore in v8
(was moved to compatibility6 for v7).

Resolves: #73612
Releases: master
Change-Id: Iec578faa6dc591ad39eddcfbb8c6d06910e13950
Reviewed-on: https://review.typo3.org/46822
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[BUGFIX] Improve DataHandler handling for dbType fields 26/46426/3
Nicole Cordes [Mon, 1 Feb 2016 10:26:35 +0000 (11:26 +0100)]
[BUGFIX] Improve DataHandler handling for dbType fields

Currently we have some issues with handling database fields with type
"date" or "datetime". Those fields can't have an empty default value
in the database but might have defined default values or null. This
patch adds proper handling for both default value cases.

Resolves: #72654
Resolves: #62660
Releases: master, 7.6, 6.2
Change-Id: I429bf4fdfa32531c0034e8346ee11d3d1fb81242
Reviewed-on: https://review.typo3.org/46426
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[BUGFIX] Allow images for HtmlArea in demo mode 92/47092/2
Benni Mack [Sat, 5 Mar 2016 10:27:39 +0000 (11:27 +0100)]
[BUGFIX] Allow images for HtmlArea in demo mode

PageTSconfig was only included in Typical and Advanced
mode resulting in an exception when adding images in
the RTE with Demo mode enabled (via Extension Manager).

Resolves: #74314
Releases: master, 7.6
Change-Id: Ieaffc7faa5cca1f910d1b00fd87e4ae4585889d6
Reviewed-on: https://review.typo3.org/47092
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Tested-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Move moduleLabels to ModuleLoader 02/46702/10
Benni Mack [Tue, 16 Feb 2016 10:54:01 +0000 (11:54 +0100)]
[TASK] Move moduleLabels to ModuleLoader

Already translated module labels were previously resolved
and stored within $GLOBALS[LANG]. Several checks
and calls were then made to ModuleLoader and $LANG.

All information about the module, as well as all labels
are now stored within ModuleLoader, a addLabelsForModule()
method and a getLabelsForModule() method are placed within
that method, where labels are stored (but not resolved
to the language yet). The language service then is only used
when outputting the labels in various places.

The method $LANG->addModuleLabels() and the public
property $LANG->moduleLabels were deprecated.

Resolves: #72340
Releases: master
Change-Id: I82f01e7641b1395d81895d246ef22f11206d927d
Reviewed-on: https://review.typo3.org/46702
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[FEATURE] Info ViewHelpers for page and content information array 73/46473/13
Claus Due [Wed, 3 Feb 2016 22:25:26 +0000 (23:25 +0100)]
[FEATURE] Info ViewHelpers for page and content information array

Adds ViewHelpers ``f:info.page`` and ``f:info.content`` which return
or assign content or page information arrays respectively depending
on usage of the ``as`` argument as known from other helpers.

Change-Id: Idfa5b68b37e926593072ddf75e6d143a2c5037f8
Releases: master
Resolves: #38942
Reviewed-on: https://review.typo3.org/46473
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: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Ensure t3d compatibility for supported TYPO3 version 32/47032/2
Nicole Cordes [Fri, 4 Mar 2016 09:33:48 +0000 (10:33 +0100)]
[BUGFIX] Ensure t3d compatibility for supported TYPO3 version

This patch fixes an issue with unclean t3d export due to string to array
conversion. This is important to be able to import a t3d files which was
exported with 7.6 and above even in 6.2. This is needed as we do not
have any chance to see which TYPO3 version was used for the export.

Resolves: #74127
Releases: master, 7.6, 6.2
Change-Id: I6ba7b825241c2ca439c485aaf597b019b7ac8997
Reviewed-on: https://review.typo3.org/47032
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] Make ClickEnlargeViewHelper output data again 85/46985/2
Wouter Wolters [Tue, 1 Mar 2016 19:03:09 +0000 (20:03 +0100)]
[BUGFIX] Make ClickEnlargeViewHelper output data again

Resolves: #73814
Releases: master
Change-Id: I3176797c4817a34f78aa68118098ae97d37fd1a2
Reviewed-on: https://review.typo3.org/46985
Tested-by: Gianluigi Martino <gmartino27@gmail.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Update: bootstrap-slider.js 5.2.4 -> 6.1.2 74/47074/2
Wouter Wolters [Fri, 4 Mar 2016 18:37:36 +0000 (19:37 +0100)]
[TASK] Update: bootstrap-slider.js 5.2.4 -> 6.1.2

Resolves: #73746
Releases: master
Change-Id: I2a535798cbec2f92a82604d89be89b00e859386f
Reviewed-on: https://review.typo3.org/47074
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][TASK] Remove unused csConv parameters 04/47004/5
Benni Mack [Thu, 3 Mar 2016 11:05:56 +0000 (12:05 +0100)]
[!!!][TASK] Remove unused csConv parameters

There are several additional parameters that are not used
anymore.

CharsetConverter->entities_to_utf8() - now always
CharsetConverter->utf8_to_numberarray() now always
converts entities, and real UTF-8 characters are returned

Resolves: #74031
Releases: master
Change-Id: I6ee4e74bb9122a2ac8b9843a7026c933d7199381
Reviewed-on: https://review.typo3.org/47004
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
3 years ago[BUGFIX] Only show preview of non-hidden images 35/46735/5
Gianluigi Martino [Tue, 16 Feb 2016 22:19:08 +0000 (23:19 +0100)]
[BUGFIX] Only show preview of non-hidden images

Don't show preview of hidden images in backend e.g.
page module.

Change-Id: I11fbfdbdf9767066dbb3380b543d79c239e6c4a2
Resolves: #73481
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46735
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] Incompatible declaration of PreviewController::initializeView 90/46990/2
Andreas Fernandez [Wed, 2 Mar 2016 09:37:12 +0000 (10:37 +0100)]
[BUGFIX] Incompatible declaration of PreviewController::initializeView

The declaration of PreviewController::initializeView is changed to be
functional with PHP 7.

Change-Id: I4b59600aa3d98dec6440551f4228c9aad6fd6714
Resolves: #73866
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46990
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] EXT:form - Optimize preview in page module 82/47082/2
Björn Jacob [Fri, 4 Mar 2016 20:01:20 +0000 (21:01 +0100)]
[TASK] EXT:form - Optimize preview in page module

This patchset optimizes the preview of a form
elements in the page module. The output of the bodytext
field has been removed. Instead, the ctype is shown.
This avoids the useless display of TypoScript in the
preview.

Resolves: #28403
Releases: master, 7.6
Change-Id: I09a18e6b8a782a50a2ea7570b41fe2abc10df835
Reviewed-on: https://review.typo3.org/47082
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] Update moment-timezone to 0.5.1 77/47077/2
Wouter Wolters [Fri, 4 Mar 2016 18:47:35 +0000 (19:47 +0100)]
[TASK] Update moment-timezone to 0.5.1

Resolves: #74186
Releases: master
Change-Id: I8152debaf71c92347f153b444400d46c986156f2
Reviewed-on: https://review.typo3.org/47077
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Increased default visibility of column header icons 44/47044/4
Jo Hasenau [Fri, 4 Mar 2016 12:02:36 +0000 (13:02 +0100)]
[TASK] Increased default visibility of column header icons

Resolves: #74148
Releases: master
Change-Id: I00c08d407a9865043278f42ba79a4de01cb71c45
Reviewed-on: https://review.typo3.org/47044
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Tested-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[TASK] Make search levels in live search and list search consistent 71/44171/12
Marcus Schwemer [Mon, 19 Oct 2015 23:25:42 +0000 (01:25 +0200)]
[TASK] Make search levels in live search and list search consistent

Live search searches through the whole system, while list search
is limited to four levels.
Solution:
* Add default pageTS for search levels
* Live search "Show all" now uses "-1" for infinite search

Resolves: #70849
Releases: master
Change-Id: Ibf8b043da26e58bbe0df18fb2013934da5ec64f3
Reviewed-on: https://review.typo3.org/44171
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Missing typo3temp/var/transient breaks thumbnail generation 81/47081/5
Michiel Roos [Fri, 4 Mar 2016 20:02:32 +0000 (21:02 +0100)]
[BUGFIX] Missing typo3temp/var/transient breaks thumbnail generation

The generation of preview images fails because the directory
typo3temp/var/transient does not exist and is not automatically created.

Change-Id: I905ebc5e4e886276eb907221c09fbe582119a148
Resolves: #74200
Releases: master
Reviewed-on: https://review.typo3.org/47081
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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] Avoid memory leak during file searches 95/46395/2
Alexander Schnitzler [Sat, 30 Jan 2016 13:10:11 +0000 (14:10 +0100)]
[BUGFIX] Avoid memory leak during file searches

During the file search in the file module the search result
is only limited to possibly matching folders. That itself
decreases the search over all files in a storage but it
still does not prevent memory leaks, where the result
of possible folders contain a decent amount of files.

Example:
fileadmin has a total of 10.000 files.
fileadmin has a subfolder called foo
fileadmin/foo holds a subset of 1000 files.
fileadmin/foo holds the file bar

A search for bar asks the database for all folders that contain
files with the matching identifier bar. As a result, only the
folder fileadmin/foo is returned which already excludes 9000
possible files.

Still, the resultset contains 1000 files, whoose name is
compared php-wise with the search string. During that
foreach loop each a file object with a decent memory
footprint will be created. This easily exceeds the
available memory limit.

Resolves: #73032
Releases: master, 7.6
Change-Id: Icf46e05274c671db344797d207afefc029c5fb5b
Reviewed-on: https://review.typo3.org/46395
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Remove leftover icon resolving code 31/47031/6
Benni Mack [Fri, 4 Mar 2016 08:34:17 +0000 (09:34 +0100)]
[TASK] Remove leftover icon resolving code

Icons within the TCA (iconfile and icons in options) are handled
by the IconRegistry.

The TcaMigration takes care of that.

The code within FormEngine can thus be removed as it is never
executed.

Resolves: #74157
Releases: master
Change-Id: Ia79349193f4a5da0e7046bd63e2221a9e7759d79
Reviewed-on: https://review.typo3.org/47031
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] EXT:form Validation of email 59/47059/6
Florian Mast [Fri, 4 Mar 2016 14:53:07 +0000 (15:53 +0100)]
[BUGFIX] EXT:form Validation of email

Validation of email should respect empty value

Resolves: #54534
Releases: master,7.6
Change-Id: I40c865b42fe7960dd7ab85f710df1045cd04adf0
Reviewed-on: https://review.typo3.org/47059
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[TASK] Use new confirmation dialog for ClickMenu 54/47054/7
Frank Naegler [Fri, 4 Mar 2016 14:29:30 +0000 (15:29 +0100)]
[TASK] Use new confirmation dialog for ClickMenu

Resolves: #72617
Releases: master, 7.6
Change-Id: I0cf662d55303504d094426dbb82943d437035044
Reviewed-on: https://review.typo3.org/47054
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
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[BUGFIX] Adjust UserAgent checks in RTE to detect Edge correctly 37/47037/2
Benjamin Kott [Fri, 4 Mar 2016 10:27:02 +0000 (11:27 +0100)]
[BUGFIX] Adjust UserAgent checks in RTE to detect Edge correctly

Resolves: #70373
Releases: master, 7.6, 6.2
Change-Id: I8cb505a051ecfbc0f423d32cbc121545cec35bf4
Reviewed-on: https://review.typo3.org/47037
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Keep selected page active after save & close 28/47028/4
Gianluigi Martino [Thu, 3 Mar 2016 21:32:01 +0000 (22:32 +0100)]
[BUGFIX] Keep selected page active after save & close

Keep the currently selected page active when editing the page properties
of another page as non-admin user.

Change-Id: Iad438ad7e20ab8d818286053557ade26542d8216
Resolves: #71094
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/47028
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Solves PHP warning in FileAllowedTypesValidator 87/46787/7
Florian Mast [Fri, 4 Mar 2016 11:44:02 +0000 (12:44 +0100)]
[BUGFIX] Solves PHP warning in FileAllowedTypesValidator

Resolves: #72890
Resolves: #73618
Releases: master, 7.6
Change-Id: Ida8a9ace681b93d1d66b0e06c893a83e549f8411
Reviewed-on: https://review.typo3.org/46787
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FEATURE] EXT:form - Directly load form wizard inline 24/43324/33
Sebastian Wagner [Thu, 3 Mar 2016 20:57:37 +0000 (21:57 +0100)]
[FEATURE] EXT:form - Directly load form wizard inline

This patchset optimizes the form wizard.

The wizard is loaded directly as inline wizard. There is no need anymore
to save and reload the newly created content element in order to be able
to open the wizard. This is a huge usability improvement.
Additionally there is no need to provide individual doc headers. Instead,
the centralized doc headers can be used.

The whole integration utilizes the nodeRegistry of formEngine and
registers the wizard as new render type.

Furthermore, all JavaScript is loaded via require.js.

Since integrators and editors had massive problems with overriden form
configuration the wizard cannot be deactivated anymore. Instead, the
user is globally able to configure the usage of the wizard within the
user settings.

Since it is no longer used we also drop the class WizardView.

Resolves: #69394
Releases: master
Change-Id: I571461b8abf50060791b2f32833d99488eaddaf4
Reviewed-on: https://review.typo3.org/43324
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Restore rounded corners on module icons 11/47011/2
Thorsten Griebenow [Thu, 3 Mar 2016 15:32:09 +0000 (16:32 +0100)]
[BUGFIX] Restore rounded corners on module icons

Resolves: #74013
Releases: master
Change-Id: Id2196daa32dbfae8cf096acb620afc1ab7e378b4
Reviewed-on: https://review.typo3.org/47011
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[TASK] Remove fileinfo as dependency in SystemEnvironment/Check 63/47063/3
Timo Schmidt [Fri, 4 Mar 2016 15:08:22 +0000 (16:08 +0100)]
[TASK] Remove fileinfo as dependency in SystemEnvironment/Check

Currenty 'fileinfo' is listed as required php extension in
SystemEnvironment/Check but it is currently not really required
and prevents from installing TYPO3 on Systems where it is not
present (e.g. Mircosoft Azure Cloud)

The class is currently only used once in the core in
"TYPO3\CMS\Core\Type\File\FileInfo" and only when it exists,
so it is not really a hard dependency.

Also grepping on an installation folder does not find any match
where \finfo is really required.

Resolves: #74177
Releases: master, 7.6
Change-Id: I125cd3e8d0eb6f208641375ea71b89917284f8b3
Reviewed-on: https://review.typo3.org/47063
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[FOLLOWUP][FEATURE] Report wrong database character set 64/47064/4
Jonas Götze [Fri, 4 Mar 2016 15:41:14 +0000 (16:41 +0100)]
[FOLLOWUP][FEATURE] Report wrong database character set

This adds the Feature ReST-File and fixes to small whitespace issues

Resolves: #74038
Releases: master
Change-Id: I885db774de249c1e9bd9963c1266934884e5c396
Reviewed-on: https://review.typo3.org/47064
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Replace confirm in FileList->linkClipboardHeaderIcon 56/47056/3
Frank Naegler [Fri, 4 Mar 2016 14:41:51 +0000 (15:41 +0100)]
[TASK] Replace confirm in FileList->linkClipboardHeaderIcon

Resolves: #74178
Releases: master, 7.6
Change-Id: Iaa077ae648375e94abce90923d876128b19a3db7
Reviewed-on: https://review.typo3.org/47056
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] EXT:form - Fix CHECKBOXGROUP and RADIOGROUP in form wizard 10/45410/6
Andreas Häfner [Tue, 22 Dec 2015 16:23:05 +0000 (17:23 +0100)]
[BUGFIX] EXT:form - Fix CHECKBOXGROUP and RADIOGROUP in form wizard

Fixes a JS error, which appeared when adding a CHECKBOXGROUP or
RADIOGROUP within the form wizard.

Furthermore it applies "text" instead of "data" which was already
changed for TEXTAREA and OPTION elements (as discussed in #69369).

Resolves: #72316
Releases: master, 7.6
Change-Id: I758ad36530ea29ca5469e510367fdedde34c5bd6
Reviewed-on: https://review.typo3.org/45410
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Gianluigi Martino <gmartino27@gmail.com>
Tested-by: Florian Mast <flo.mast@web.de>
Reviewed-by: Florian Mast <flo.mast@web.de>
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Declare ``items`` for each RTE instance 82/46982/2
Florian Busch [Tue, 1 Mar 2016 13:04:59 +0000 (14:04 +0100)]
[BUGFIX] Declare ``items`` for each RTE instance

The variable ``items`` was declared in a prototype instance and thus
shared between all RTE instances. Declare the variable in its own
instance instead.

Change-Id: Ia6f8b5dffb19121ed8995afcc2124b0084be5f7a
Resolves: #68392
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46982
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Eugen Lang <laeu1011+gerrit@gmail.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][TASK] Convert thumbnails only for non-image files 80/46480/15
Eric Chavaillaz [Thu, 4 Feb 2016 10:43:48 +0000 (11:43 +0100)]
[!!!][TASK] Convert thumbnails only for non-image files

The global option "thumbnails_png" must only be taken
into account if the processed file is not an image.

Resolves: #73106
Releases: master
Change-Id: I9d806631331924f680d4d7834136e6860c6d95d8
Reviewed-on: https://review.typo3.org/46480
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Avoid error message on unlimited upload_max_filesize 29/47029/4
Andreas Bouche [Thu, 3 Mar 2016 21:33:36 +0000 (22:33 +0100)]
[BUGFIX] Avoid error message on unlimited upload_max_filesize

Resolves: #73214
Releases: master, 7.6
Change-Id: I9496964ffd9daeb2c330f022c876f6aceacced1c
Reviewed-on: https://review.typo3.org/47029
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FEATURE] Report wrong database character set 16/47016/4
Andreas Wolf [Thu, 3 Mar 2016 17:27:00 +0000 (18:27 +0100)]
[FEATURE] Report wrong database character set

This adds a new report to the reports module that checks if the MySQL
database uses the right character set.

Change-Id: I5e5d8b4767accb74f3cbfb8eb4c9f4824dfd7eca
Resolves: #74038
Releases: master
Reviewed-on: https://review.typo3.org/47016
Reviewed-by: Jonas Götze <jonnsn@gmail.com>
Tested-by: Jonas Götze <jonnsn@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TAKS] Add json as composer dependency 06/47006/5
Tymoteusz Motylewski [Thu, 3 Mar 2016 12:58:08 +0000 (13:58 +0100)]
[TAKS] Add json as composer dependency

PHP extension json is now listed as dependency
 in composer.json. Extension mysqli is added to
 "suggest" section.

Resolves: #74005
Releases: master, 7.6
Change-Id: Iae0f388a4b10a24e98c392f878381d753971acdb
Reviewed-on: https://review.typo3.org/47006
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Deprecate TemplateService methods 39/47039/5
Benni Mack [Fri, 4 Mar 2016 12:23:24 +0000 (13:23 +0100)]
[TASK] Deprecate TemplateService methods

The static method TemplateService::sortedKeyList is moved
to ArrayUtility::filterAndSortByNumericKeys.

The method TemplateService->removeQueryString() is
marked as deprecated.

Resolves: #74156
Releases: master
Change-Id: Ifcb5a9f0db9a923000c14b6e33c12aafeaf5fef9
Reviewed-on: https://review.typo3.org/47039
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Add backend routes to configuration module 48/47048/3
Frank Naegler [Fri, 4 Mar 2016 12:57:04 +0000 (13:57 +0100)]
[TASK] Add backend routes to configuration module

This patch add the backend routes to the configuration module, to show all
current active backend routes.

Resolves: #74164
Releases: master, 7.6
Change-Id: I5c191d1d8dc8b002ea1a66a33b6628f7eec9994c
Reviewed-on: https://review.typo3.org/47048
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Update jQuery to 2.2.1 40/47040/2
Wouter Wolters [Fri, 4 Mar 2016 11:08:26 +0000 (12:08 +0100)]
[TASK] Update jQuery to 2.2.1

Resolves: #73749
Releases: master
Change-Id: I02d619be365bd54ab4015aeb94872f07b1eebd6a
Reviewed-on: https://review.typo3.org/47040
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[FOLLOWUP][FEATURE] Allow Backend Logo to be set via extConf 42/47042/5
Björn Jacob [Fri, 4 Mar 2016 13:30:59 +0000 (14:30 +0100)]
[FOLLOWUP][FEATURE] Allow Backend Logo to be set via extConf

The new PHP 7 syntax introduced also returns an empty
string, if set but empty.

Resolves: #74109
Releases: master
Change-Id: If902ea201cb49578ab2109b40de90c37dcb63b5d
Reviewed-on: https://review.typo3.org/47042
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Allow overriding of Backend Routes 05/47005/2
Benni Mack [Thu, 3 Mar 2016 11:47:11 +0000 (12:47 +0100)]
[BUGFIX] Allow overriding of Backend Routes

Adding backend routes from Configuration/Backend/Routes.php is
done via "+=" operator which does not allow to override routes with
the same name. This is however a wanted behaviour - allowing extensions
to override core routes.

The patch changes the "+=" operator to a simple array_merge() call
to allow to change existing routes.

Resolves: #74004
Releases: master, 7.6
Change-Id: I7caf1ab5a91f849b4789ea352c20af6239470f2f
Reviewed-on: https://review.typo3.org/47005
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Thomas Schlumberger <thomas@b13.de>
Tested-by: Thomas Schlumberger <thomas@b13.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Deprecate Clipboard->confirmMsg() 59/46959/3
Frank Naegler [Mon, 29 Feb 2016 12:09:48 +0000 (13:09 +0100)]
[TASK] Deprecate Clipboard->confirmMsg()

Resolves: #73744
Releases: master
Change-Id: I3780404c4362d1de84981eaee77298cdc1c3e399
Reviewed-on: https://review.typo3.org/46959
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Remove usage of Clipboard->confirmMsg() 58/46958/3
Frank Naegler [Mon, 29 Feb 2016 12:06:38 +0000 (13:06 +0100)]
[TASK] Remove usage of Clipboard->confirmMsg()

Resolves: #73743
Releases: master, 7.6
Change-Id: I212cb9eedbe82cb4e346823ba041a63e601ad670
Reviewed-on: https://review.typo3.org/46958
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Deprecate GraphicalFunctions->prependAbsolutePath() 12/47012/2
Benni Mack [Thu, 3 Mar 2016 16:27:22 +0000 (17:27 +0100)]
[TASK] Deprecate GraphicalFunctions->prependAbsolutePath()

Resolves: #74022
Releases: master
Change-Id: I395fb4a017a7e615e015a1d20b40887bb6167964
Reviewed-on: https://review.typo3.org/47012
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] Removed deprecated code from Form Element Domain Model 26/46926/3
Michael Oehlhof [Fri, 26 Feb 2016 21:47:38 +0000 (22:47 +0100)]
[TASK] Removed deprecated code from Form Element Domain Model

Resolves: #73711
Releases: master
Change-Id: I6543b7a87fa628534c1b1690b24623b48f1fddd9
Reviewed-on: https://review.typo3.org/46926
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Change APC cache preset condition 29/44929/5
Thorsten Bringewatt [Tue, 24 Nov 2015 13:13:18 +0000 (14:13 +0100)]
[TASK] Change APC cache preset condition

This commit removes the check for minimum total apc cache size.
It should be enough to check for at least 5 MB free memory.

Change-Id: Ia8f6d2aaf9030c303534f7c27f2c73479aa4632a
Resolves: #71802
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/44929
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Form elements being numerated and hidden elements are visible 48/45548/6
Gianluigi Martino [Sat, 2 Jan 2016 09:20:19 +0000 (10:20 +0100)]
[TASK] Form elements being numerated and hidden elements are visible

Form elements being numerated because browsers numerated <ol> elements by
default

Change-Id: Ia1af699ced49d0e5d44c600b94d80aa93cafc528
Resolves: #72312
Releases: master
Reviewed-on: https://review.typo3.org/45548
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Check whether contentElementCache for language and colPos is valid 25/46925/2
Andreas Fernandez [Fri, 26 Feb 2016 20:13:17 +0000 (21:13 +0100)]
[BUGFIX] Check whether contentElementCache for language and colPos is valid

It may happen that ``$this->contentElementCache[$lP][$colPos]`` is either not
an array nor null. Wrap the foreach loop with an if condition to catch possible
errors.

Change-Id: I6394ff0eef28a490a54f54d172c601fa9768eb20
Resolves: #73670
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46925
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Dmitry Dulepov <dmitry.dulepov@gmail.com>
Tested-by: Dmitry Dulepov <dmitry.dulepov@gmail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Fix 'Transfer selection to clipboard' button 30/47030/2
Jan Helke [Thu, 3 Mar 2016 23:23:11 +0000 (00:23 +0100)]
[BUGFIX] Fix 'Transfer selection to clipboard' button

This patch reintroduces the onclick event if the function call has no
warning. This fixes the error with the not working 'Transfer selection
to clipboard' button in the list view, if the user enables every clipboard
but the normal.

Resolves: #74122
Releases: master, 7.6
Change-Id: Iaf133951fa6278778bb468eca601185844f19130
Reviewed-on: https://review.typo3.org/47030
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Eugen Lang <eugen.lang@werkraum.net>
Tested-by: Eugen Lang <eugen.lang@werkraum.net>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] EXT:form - Update and optimize documentation 76/46176/5
Björn Jacob [Sat, 23 Jan 2016 16:16:07 +0000 (17:16 +0100)]
[TASK] EXT:form - Update and optimize documentation

The documentation of EXT:form is outdated. The whole documentation has
been proof read and revised. Furthermore, the document has experienced
a huge structural change. The long pages have been split into smaller
parts.

A lot of content was duplicated. Following the DRY principle, the
descriptions of functions/ attributes etc. are now documented at a
central place and references are used.

Resolves: #69346
Releases: master,7.6,6.2
Change-Id: I45ddcf2f93c94f2982ac5fdecd5a942fad2eef21
Reviewed-on: https://review.typo3.org/46176
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[FEATURE] Add list of done upgrade wizards 22/47022/4
Anja Leichsenring [Thu, 3 Mar 2016 19:29:24 +0000 (20:29 +0100)]
[FEATURE] Add list of done upgrade wizards

During upgrade wizard procedure the already resolved wizards are listed
in the Upgrade Wizard View in Install Tool.

Resolves: #74063
Releases: master
Change-Id: I011e3e776e92bb1dd07f3e031a4fb26ecf5da018
Reviewed-on: https://review.typo3.org/47022
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Daniel Schmidt <daniel@netz-basis.com>
Tested-by: Daniel Schmidt <daniel@netz-basis.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Update JS libs: moment.js 2.10.6 -> 2.11.2 84/46984/2
Wouter Wolters [Tue, 1 Mar 2016 17:28:21 +0000 (18:28 +0100)]
[TASK] Update JS libs: moment.js 2.10.6 -> 2.11.2

Resolves: #73750
Releases: master
Change-Id: Ic0467393e1bf5a30bd3f695ca938f0e15d21a5f7
Reviewed-on: https://review.typo3.org/46984
Reviewed-by: Felix Heller <felix.heller@aimcom.de>
Tested-by: Felix Heller <felix.heller@aimcom.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[BUGFIX] Inline record in Flexform can attach new record 37/46337/4
Nicole Cordes [Fri, 29 Jan 2016 10:36:17 +0000 (11:36 +0100)]
[BUGFIX] Inline record in Flexform can attach new record

If you click the "create new element" button on an inline record within
a FlexForm field, the passed data information contains the id after
which the new element should be inserted. Currently this id isn't
respected while receiving the configuration from the given data. This
patch adds code to respect a possible given id and allows to fetch
configuration for that element as well.

Resolves: #73004
Releases: master, 7.6
Change-Id: I70263d3ff4a8641b1a8280574521e0671c34a333
Reviewed-on: https://review.typo3.org/46337
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[!!!][TASK] Remove ModuleLoader->getRelativePath() 13/47013/2
Benni Mack [Thu, 3 Mar 2016 16:49:07 +0000 (17:49 +0100)]
[!!!][TASK] Remove ModuleLoader->getRelativePath()

The method to fetch the relative path for images inside
the module loader is not used anymore, as the paths
for the icons are handled through the Icon API now.

The method can be removed safely, and was simply forgotten
to be removed with #72405 (see https://review.typo3.org/#/c/45417/).

Resolves: #74029
Releases: master
Change-Id: I0d9708de3df5f22bb551db07050e479aa0071134
Reviewed-on: https://review.typo3.org/47013
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[FEATURE] Allow Backend Logo to be set via extConf 26/47026/4
Benni Mack [Thu, 3 Mar 2016 21:05:03 +0000 (22:05 +0100)]
[FEATURE] Allow Backend Logo to be set via extConf

The Backend Logo can now be configured via extConf
and the Extension Manager.

The $GLOBALS[TBE_STYLES][logo] option has no effect
anymore.

Resolves: #74109
Releases: master
Change-Id: Id1c1975395b9163a0efbb0cf4dc9f402df2fcc3c
Reviewed-on: https://review.typo3.org/47026
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-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[TASK] Remove leftover code from old pagetree 23/47023/2
Benni Mack [Thu, 3 Mar 2016 20:07:46 +0000 (21:07 +0100)]
[TASK] Remove leftover code from old pagetree

Resolves: #74097
Releases: master
Change-Id: Ieaf237248da8e075e56105cd08462d1aeb051ea2
Reviewed-on: https://review.typo3.org/47023
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Executing Extbase commands as scheduler task 28/46928/5
Nicole Cordes [Sat, 27 Feb 2016 12:03:54 +0000 (13:03 +0100)]
[BUGFIX] Executing Extbase commands as scheduler task

Currently the execution of all Extbase commands as scheduler task
exits with a warning due to wrong parameter input type. This patch
ensures the object is initialized only if needed and a correct CLI
context is available.

Resolves: #73714
Releases: master
Change-Id: I869b1fe9e8440885f4cfb6fb0570ca98334494a1
Reviewed-on: https://review.typo3.org/46928
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] Deprecate various GeneralUtility methods 40/46740/7
Benni Mack [Wed, 17 Feb 2016 08:11:27 +0000 (09:11 +0100)]
[!!!][TASK] Deprecate various GeneralUtility methods

GeneralUtility::flushOutputBuffers()
GeneralUtility::xmlGetHeaderAttribs()
GeneralUtility::imageMagickCommand()

Parameters 2+3 of
GeneralUtility::getFileAbsFileName()

Resolves: #73516
Releases: master
Change-Id: If0d560d8292cb98eaf1e1d2addc1ce2292c1ef59
Reviewed-on: https://review.typo3.org/46740
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[TASK] Streamline usage and design of FlashMessages in the BE 27/46927/4
Frank Naegler [Fri, 26 Feb 2016 22:22:31 +0000 (23:22 +0100)]
[TASK] Streamline usage and design of FlashMessages in the BE

This patch streamline the usage and design of FlashMessages in the BE.
The markup is now centralized in a method of the FlashMessage class.
In all places where FlashMessages rendered, this method is called.

Resolves: #73698
Releases: master
Change-Id: I5ef18a95ea15949e8cede71227101f2cc1ce30d3
Reviewed-on: https://review.typo3.org/46927
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Timo Schmidt <timo-schmidt@gmx.net>
Tested-by: Timo Schmidt <timo-schmidt@gmx.net>
3 years ago[TASK] Add info about Apache version when using mod_filter 50/46150/6
Eric Chavaillaz [Fri, 22 Jan 2016 10:55:23 +0000 (11:55 +0100)]
[TASK] Add info about Apache version when using mod_filter

Since mod_filter is available since Apache 2.3.7 we need to check for
the apache version in the htaccess file.
Older versions of apache will work as well, even though they do not need
to check for the existence of mod_filter.

A comment is added to inform older Apache versions.

Resolves: #72886
Releases: master, 7.6, 6.2
Change-Id: Ia4905c992b52b2bd540ece0a1c1866aeacf6de85
Reviewed-on: https://review.typo3.org/46150
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Apply CGL compatibility (PSR-1 and PSR-2) 19/47019/2
Wouter Wolters [Thu, 3 Mar 2016 19:06:48 +0000 (20:06 +0100)]
[TASK] Apply CGL compatibility (PSR-1 and PSR-2)

Change-Id: Ie0b546d6baf962ee4d80f5fb08aeaadf54ca1a66
Reviewed-on: https://review.typo3.org/47019
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Disable output escaping in TypolinkViewHelper 18/47018/3
Marius David Wieschollek [Thu, 3 Mar 2016 17:46:02 +0000 (18:46 +0100)]
[BUGFIX] Disable output escaping in TypolinkViewHelper

Resolves: #74039
Releases: master
Change-Id: I1f5363cd2b8081fb885268ee608ea5dffe8d769c
Reviewed-on: https://review.typo3.org/47018
Reviewed-by: Marius Wieschollek <marius.typo3@mdns.eu>
Tested-by: Marius Wieschollek <marius.typo3@mdns.eu>
Reviewed-by: Andreas Bouche <andreas.bouche@flagbit.de>
Tested-by: Andreas Bouche <andreas.bouche@flagbit.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Cleanup CSS 10/42010/8
Georg Ringer [Wed, 17 Feb 2016 05:45:19 +0000 (06:45 +0100)]
[TASK] Cleanup CSS

Remove unneeded CSS

Change-Id: I089ab1472c8e43504dedec01c7bbf3542c5f1490
Resolves: #73513
Releases: master
Reviewed-on: https://review.typo3.org/42010
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Fluidification of Info PageTSConfig 86/46986/2
Michael Oehlhof [Tue, 1 Mar 2016 20:25:24 +0000 (21:25 +0100)]
[TASK] Fluidification of Info PageTSConfig

Moved all HTML code from the PHP code to an own Fluid template.

Resolves: #73723
Releases: master
Change-Id: I5b67d14d1c525db9cb38769c3860dc2c3e9bb730
Reviewed-on: https://review.typo3.org/46986
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Do not scroll on top using actions on multipleSideBySide 55/46955/3
Andreas Fernandez [Mon, 29 Feb 2016 08:07:40 +0000 (09:07 +0100)]
[BUGFIX] Do not scroll on top using actions on multipleSideBySide

This patch prevents scrolling to top when using the actions buttons
in multipleSideBySide elements.

Change-Id: I0841b3f75afca8596725fc6c9e4621eaeeafc641
Resolves: #72973
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46955
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Sebastian Fischer <typo3@evoweb.de>
Tested-by: Sebastian Fischer <typo3@evoweb.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Ensure arguments for instances of AbstractTagBasedViewHelper 66/46666/5
Nicole Cordes [Mon, 15 Feb 2016 10:07:08 +0000 (11:07 +0100)]
[BUGFIX] Ensure arguments for instances of AbstractTagBasedViewHelper

The initialization of several arguments in AbstractTagBasedViewHelper
was moved from constructor to initializeArguments function. This patch
ensures that instances of that abstract class call the parent function
to register all possible arguments.

Resolves: #73432
Releases: master
Change-Id: I3f052029500cae7a9c5e6a8e44b5f647e9e0923b
Reviewed-on: https://review.typo3.org/46666
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[TASK] Fix DB error message in Testbase 10/47010/4
Steffen Müller [Thu, 3 Mar 2016 15:20:21 +0000 (16:20 +0100)]
[TASK] Fix DB error message in Testbase

The error message now suggest a GRANT statement which supports
db name suffixes for both functional and acceptance tests.

Resolves: #74012
Releases: master
Change-Id: I121bb419f86e83f26154422bdcd378e586c54867
Reviewed-on: https://review.typo3.org/47010
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[TASK] Move install update flags to system registry 04/46904/6
Mathias Brodala [Fri, 26 Feb 2016 09:36:39 +0000 (10:36 +0100)]
[TASK] Move install update flags to system registry

This moves the install update (aka "wizards") flags from
LocalConfiguration.php to the system registry and thus
into the database.

Resolves: #72290
Releases: master
Change-Id: Id319fa46d61e862e2429b93aedc7900315526e82
Reviewed-on: https://review.typo3.org/46904
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[!!!][TASK] Remove renderCharset option 79/46979/4
Benni Mack [Tue, 1 Mar 2016 07:48:58 +0000 (08:48 +0100)]
[!!!][TASK] Remove renderCharset option

The renderCharset TypoScript option is used for internal
parsing of data coming from various sources (TypoScript,
Language Labels, Database, POST variables). As TYPO3
can only operate with UTF-8 in language files for the backend, and expects a UTF-8 compliant database,
the option is now always set to "utf-8" and cannot be changed.

Resolves: #73794
Releases: master
Change-Id: I4405e701567e65d31d290d0c9d922c38c7fc8cf3
Reviewed-on: https://review.typo3.org/46979
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Use extPath for lowlevel readme 57/46957/3
Benni Mack [Mon, 29 Feb 2016 11:13:56 +0000 (12:13 +0100)]
[TASK] Use extPath for lowlevel readme

Resolves: #73739
Releases: master
Change-Id: Id18108657be38f075eaa5fc1ec9e73cd0e27d9db
Reviewed-on: https://review.typo3.org/46957
Reviewed-by: Timo Schmidt <timo-schmidt@gmx.net>
Tested-by: Timo Schmidt <timo-schmidt@gmx.net>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[TASK] Add phantomjsdriver.log to gitignore 09/47009/2
Anja Leichsenring [Thu, 3 Mar 2016 14:49:20 +0000 (15:49 +0100)]
[TASK] Add phantomjsdriver.log to gitignore

Resolves: #74011
Releases: master
Change-Id: If536bd1bbfe21cd015195eb38ade876460defb31
Reviewed-on: https://review.typo3.org/47009
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[!!!][TASK] Remove charset conversion in AbstractPlugin 78/46978/3
Benni Mack [Tue, 1 Mar 2016 07:12:05 +0000 (08:12 +0100)]
[!!!][TASK] Remove charset conversion in AbstractPlugin

When overriding labels via TypoScript, e.g.
plugin.tx_felogin_pi1._LOCAL_LANG.de.username = Yeah Ümlauts
then the abstract plugin does a conversion of the string
from UTF-8 to renderCharset. However, as all values from
TypoScript are considered UTF-8 anyway, the checks
can be removed.

Resolves: #73793
Releases: master
Change-Id: Iba5366293c771721e5fba87869f4268da8bf738a
Reviewed-on: https://review.typo3.org/46978
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Michiel Roos <michiel@maxserv.com>
Tested-by: Michiel Roos <michiel@maxserv.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] Re-enable creation of compressed CSS files 02/47002/4
Michiel Roos [Wed, 2 Mar 2016 21:46:59 +0000 (22:46 +0100)]
[BUGFIX] Re-enable creation of compressed CSS files

The change of #73611 prevents compressed CSS files from being created.

Resolves: #73986
Related: #73611
Releases: master
Change-Id: I83e9f77d91be0189ac692deb204f15d55098d5da
Reviewed-on: https://review.typo3.org/47002
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Michiel Roos <michiel@maxserv.com>
Tested-by: Michiel Roos <michiel@maxserv.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jonas Götze <jonnsn@gmail.com>
Tested-by: Jonas Götze <jonnsn@gmail.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[TASK] Cleanup TestBase 01/47001/2
Christian Kuhn [Wed, 2 Mar 2016 17:48:00 +0000 (18:48 +0100)]
[TASK] Cleanup TestBase

We usually do not add inline @string annotations. Remove them.

Change-Id: Idf83dbfdc7fc092e5d70d4004e8c5093eb26f491
Resolves: #73878
Releases: master
Reviewed-on: https://review.typo3.org/47001
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[BUGFIX] Drag&Drop sorting respects AuthMode 52/46752/3
ajahn [Thu, 18 Feb 2016 11:10:29 +0000 (12:10 +0100)]
[BUGFIX] Drag&Drop sorting respects AuthMode

If an editor is not allowed to edit content elements with a specific
CType (e.g. HTML), drag&drop sorting was still active. Sorting seemed to
work without an error but was blocked in DataHandler due to missing
permissions.
This fix introduces the missing check to deactivate sorting in this case.

Change-Id: Ib40b1e2a2fbbd4694fbb69ed7cda4a2180e15f14
Resolves: #73539
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46752
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Gianluigi Martino <gmartino27@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[!!!][TASK] Remove backPath from PageRenderer 71/46971/3
Benni Mack [Mon, 29 Feb 2016 19:45:19 +0000 (20:45 +0100)]
[!!!][TASK] Remove backPath from PageRenderer

The backPath option in page renderer can be removed
and adding the necessary path for the libraries is now done
with a simple condition to resolve the path to the files.

Resolves: #73763
Releases: master
Change-Id: I917c4310834628427a53d248f8a6be3830c3bd91
Reviewed-on: https://review.typo3.org/46971
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[!!!][TASK] Have ResourceCompressor calculate relative paths 21/46821/4
Benni Mack [Thu, 18 Feb 2016 22:24:29 +0000 (23:24 +0100)]
[!!!][TASK] Have ResourceCompressor calculate relative paths

The Resource Compressor component does not use the
PathUtility API to calculate the back paths to the current
script but handles it with a custom variable based on the
TYPO3_MODE which is not needed anymore.

The code can thus be simplified.

Resolves: #73611
Releases: master
Change-Id: If72f3ef4b385c253e610c11ea920cc1fab48edff
Reviewed-on: https://review.typo3.org/46821
Reviewed-by: Sebastian Fischer <typo3@evoweb.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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] Do not escape output of Nl2Bbr ViewHelper 81/46881/3
Michael Oehlhof [Wed, 24 Feb 2016 19:39:50 +0000 (20:39 +0100)]
[BUGFIX] Do not escape output of Nl2Bbr ViewHelper

Resolves: #73658
Releases: master
Change-Id: Ia17128444a2e58ed30f83c3d102dffe7e7999fe5
Reviewed-on: https://review.typo3.org/46881
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[!!!][TASK] Remove unused JS configuration options in Backend 23/46823/3
Benni Mack [Tue, 23 Feb 2016 07:23:21 +0000 (08:23 +0100)]
[!!!][TASK] Remove unused JS configuration options in Backend

There are a lot of unused JavaScript values set since TYPO3 4.x which
aren't in use anymore at all, and can be removed.

Releases: master
Resolves: #73719
Change-Id: I5dd86da26d6fa84ff13e0a82f446a6ded06f430c
Reviewed-on: https://review.typo3.org/46823
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Remove backPath calculations from Reports module 72/46972/2
Benni Mack [Mon, 29 Feb 2016 19:47:16 +0000 (20:47 +0100)]
[TASK] Remove backPath calculations from Reports module

Use PathUtility:.getAbsoluteWebPath() to link to the
deprecation log.

Resolves: #73764
Releases: master
Change-Id: Ie0e0fc063d2ad9ab1a43dfe4128ac351ea9fa1be
Reviewed-on: https://review.typo3.org/46972
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] Disable 'SwitchUser' link if user is already in su mode 81/46981/2
Markus Hoelzle [Tue, 1 Mar 2016 11:29:35 +0000 (12:29 +0100)]
[BUGFIX] Disable 'SwitchUser' link if user is already in su mode

If you switch the user although you are in the su mode,
and you switch back you are the user from the su mode.

Resolves: #73797
Releases: master, 7.6
Change-Id: Idc10d6afbead80f79f4b51f49a4c52eab7c23456
Reviewed-on: https://review.typo3.org/46981
Reviewed-by: Matthias Vogel <typo3@kanti.de>
Tested-by: Matthias Vogel <typo3@kanti.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Get rid of ObjectManager in install tool 83/46883/8
Claus Due [Wed, 24 Feb 2016 20:36:34 +0000 (21:36 +0100)]
[TASK] Get rid of ObjectManager in install tool

This change removes usages of ObjectManager and general
dependency injection with injection methods across the
install tool (including AJAX actions). Where necessary,
constructor dependency injection has been implemented
with automatic dependency instantiation if not passed
as constructor argument.

Change-Id: I859f07789120f538a1d735f386ff3ba3163bd00e
Resolves: #73605
Releases: master
Reviewed-on: https://review.typo3.org/46883
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] Allow OnlineMedia Renderers to override via Fluid 12/46712/4
Benni Mack [Tue, 16 Feb 2016 13:35:44 +0000 (14:35 +0100)]
[BUGFIX] Allow OnlineMedia Renderers to override via Fluid

When using the Online Media (Youtube / Vimeo) then the autoplay
option is always taken from the FileReference, overriding
the option that might be set via Fluid.

A check if the option hasn't been set yet makes the overriding
order clearer.

Resolves: #73484
Releases: master, 7.6
Change-Id: I3fb57c88383445062f5beabd8d8287ff772974d3
Reviewed-on: https://review.typo3.org/46712
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[TASK] Update JS libs: Autosize 3.0.14 -> 3.0.15 60/46960/2
Frank Naegler [Mon, 29 Feb 2016 12:50:31 +0000 (13:50 +0100)]
[TASK] Update JS libs: Autosize 3.0.14 -> 3.0.15

Resolves: #73745
Releases: master
Change-Id: I2b98f0048b5e69ec77b447212f64a7024add584d
Reviewed-on: https://review.typo3.org/46960
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] Fix preferred browser language detection 54/46954/2
Helmut Hummel [Mon, 29 Feb 2016 08:04:13 +0000 (09:04 +0100)]
[BUGFIX] Fix preferred browser language detection

Fix variable name, which was wrong after the refactoring.

Resolves: #73731
Related: #73511
Releases: master
Change-Id: I631592547e885732264d72803839f24ee804557d
Reviewed-on: https://review.typo3.org/46954
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
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[TASK] Replace confirm on delete icon in list module table 56/46956/2
Frank Naegler [Mon, 29 Feb 2016 10:31:38 +0000 (11:31 +0100)]
[TASK] Replace confirm on delete icon in list module table

This patch replaces the old JavaScript confirm dialog on the delete button
in list module tables.

Resolves: #73737
Releases: master, 7.6
Change-Id: Ie4a0c25111a04217069793653b9eac16fce2a778
Reviewed-on: https://review.typo3.org/46956
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>