Packages/TYPO3.CMS.git
15 months ago[BUGFIX] Fix typo in field description SYS:ddmmyy 33/55633/2
Reiner Teubner [Fri, 9 Feb 2018 18:35:25 +0000 (19:35 +0100)]
[BUGFIX] Fix typo in field description SYS:ddmmyy

'Date' should be 'Day'.

Resolves: #83829
Related: master, 8.7
Change-Id: If422279d147598b02e342a00f3ebcbb3d3f26723
Reviewed-on: https://review.typo3.org/55633
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
15 months ago[TASK] Resolve Todos in InheritancesResolverService 23/55623/2
rschueppel [Wed, 6 Dec 2017 16:44:00 +0000 (17:44 +0100)]
[TASK] Resolve Todos in InheritancesResolverService

Add some comments to understand InheritanceResolverService class.
Minor refactoring of duplicated code.
Add Test for the doc example.

Resolves: #83238
Releases: master, 8.7
Change-Id: I3aed06a76b609ef78641530a19e3379f202c84ec
Reviewed-on: https://review.typo3.org/55623
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
15 months ago[BUGFIX] Allow silent upgrade service to migrate old displayErrors setting 20/55620/3
Wouter Wolters [Thu, 8 Feb 2018 21:11:20 +0000 (22:11 +0100)]
[BUGFIX] Allow silent upgrade service to migrate old displayErrors setting

The bootstrap throws an exception when the setting SYS/displayErrors
is not set to "-1", "0" or "1". In the Install Tool TYPO3 should not crash.
Instead allow to silently migrate the value to -1

Resolves: #82782
Resolves: #83787
Releases: master,8.7
Change-Id: Ie0180b34a551a81667bb4ac32c6ab2699d9b3d4f
Reviewed-on: https://review.typo3.org/55620
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
15 months ago[BUGFIX] Allow workspace preview inside another rootline 13/55613/3
Alexander Opitz [Fri, 12 Jan 2018 16:08:07 +0000 (17:08 +0100)]
[BUGFIX] Allow workspace preview inside another rootline

The rootline for page view now depends on the webmounts of the workspace
the preview link was generated on and not the webmounts the beuser, who
generated the preview link, is at the moment of calling the preview
link.

Resolves: #83547
Releases: master, 8.7
Change-Id: I53c8d45260b79c4d5679f00084fe81b502668ee7
Reviewed-on: https://review.typo3.org/55613
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
15 months ago[TASK] Improve file overwriting dialog of the filelist module 09/55609/2
Gianluigi Martino [Fri, 22 Dec 2017 13:44:30 +0000 (14:44 +0100)]
[TASK] Improve file overwriting dialog of the filelist module

- Remove grey background box
- Move buttons on the same row
- Better position for alternatively actions
- Some margins for better positions

Resolves: #82838
Releases: master, 8.7
Change-Id: I2fc1323d8c9acdfbb2b99b3af36e10bd5ea8a7f6
Reviewed-on: https://review.typo3.org/55609
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
15 months ago[BUGFIX] Fix unset bits in options.alertPopup bitmask 04/55604/2
Mathias Brodala [Fri, 14 Oct 2016 08:29:27 +0000 (10:29 +0200)]
[BUGFIX] Fix unset bits in options.alertPopup bitmask

The validation in JsConfirmation did not allow for a value
based on JsConfirmation:ALL with some bits unset.

Change-Id: I74d43d59ee3cd06498bbebd6b7b7682ca1d79cd5
Resolves: #78240
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55604
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
15 months ago[TASK] Improve prevention of redirect loop 90/55590/2
Christoph Lehmann [Thu, 7 Sep 2017 20:24:17 +0000 (22:24 +0200)]
[TASK] Improve prevention of redirect loop

This prevents a redirect loop with realurl where an editor
doesn't see the pagetree of his login domain in his workspace
and opens his login domain in the FE. As result he sees the
requested page.

Resolves: #82297
Releases: master, 8.7
Change-Id: Ie948f6defa21e3e1d8766533f54a48769d2220c9
Reviewed-on: https://review.typo3.org/55590
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
15 months ago[TASK] Set TYPO3 version to 8.7.11-dev 72/55572/2
Oliver Hader [Tue, 6 Feb 2018 10:47:25 +0000 (11:47 +0100)]
[TASK] Set TYPO3 version to 8.7.11-dev

Change-Id: Iae0fa0d5726f831c0025aaad3cb21286e0d3c41b
Reviewed-on: https://review.typo3.org/55572
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
15 months ago[RELEASE] Release of TYPO3 8.7.10 71/55571/2 8.7.10 TYPO3_8-7-10 v8.7.10
Oliver Hader [Tue, 6 Feb 2018 10:45:45 +0000 (11:45 +0100)]
[RELEASE] Release of TYPO3 8.7.10

Change-Id: Idfb7eea72c6e2b825227c19211664e8b7d823201
Reviewed-on: https://review.typo3.org/55571
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
15 months ago[BUGFIX] Replace calls to the deprecated PHP function each() 69/55569/2
Reiner Teubner [Wed, 31 Jan 2018 14:30:21 +0000 (15:30 +0100)]
[BUGFIX] Replace calls to the deprecated PHP function each()

This patch replaces the calls to the PHP function each() as it is
marked as deprecated in PHP 7.2. Additionally it adds unit tests for
QueryGenerator::getSubscript().

Resolves: #83737
Releases: master, 8.7, 7.6
Change-Id: Ie61a6d44fcdbd4ce6105a6c185085a3a68866fd8
Reviewed-on: https://review.typo3.org/55569
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
15 months ago[BUGFIX] Prevent enforcing opened database connection with initCommands 58/55558/5
Nicole Cordes [Sun, 4 Feb 2018 11:20:05 +0000 (12:20 +0100)]
[BUGFIX] Prevent enforcing opened database connection with initCommands

This patch moves the execution of configured initCommands to the end
of connect function. This prevents a database connection from being
opened by default due to the execution of commands right after class
initialization and still ensures a connection is configured properly
before first command execution.

Furthermore this patch adds a new functional test for the ErrorHandler.
The test uses some predefined initCommands to enforce UTF8 support to be
set. This isn't necessary but uses initCommands in a safe way. Due to
the predefined initCommands the test failed before as the connection was
forced to be opened. For further information see the referenced forge
ticket.

Resolves: #83770
Releases: master, 8.7
Change-Id: I2287600959b3ec06d338e26373562850307ce0b1
Reviewed-on: https://review.typo3.org/55558
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
15 months ago[BUGFIX] Only scan package base paths if subdirectories exist 67/55567/3
Michael Oehlhof [Sun, 10 Dec 2017 21:58:46 +0000 (22:58 +0100)]
[BUGFIX] Only scan package base paths if subdirectories exist

Include possible package base paths only if subdirectories are available.
Otherwise no extension can be found in the base path anyway.

Resolves: #83070
Releases: master, 8.7
Change-Id: I503623c607554a60bd144c83e3f69e78fe5a7ea0
Reviewed-on: https://review.typo3.org/55567
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
15 months ago[BUGFIX] Add missing DOM ready checks in filelist 64/55564/3
Frank Naegler [Wed, 17 Jan 2018 22:43:50 +0000 (23:43 +0100)]
[BUGFIX] Add missing DOM ready checks in filelist

Some modules in the filelist are missing DOM ready checks.
This patch adds the missing checks to prevent loading issues.

Resolves: #78976
Releases: master, 8.7
Change-Id: Iee328808a89cf92f4fde1afd59167ae9fa7280be
Reviewed-on: https://review.typo3.org/55564
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
15 months ago[BUGFIX] Forward header in DebugUtility:debug to renderDump 66/55566/2
Georg Ringer [Sun, 28 Jan 2018 11:37:17 +0000 (12:37 +0100)]
[BUGFIX] Forward header in DebugUtility:debug to renderDump

Improve the debug output by forwarding the given title.

Resolves: #83688
Releases: master, 8.7
Change-Id: I160b5676c5ff70c056319446733c9549a663569a
Reviewed-on: https://review.typo3.org/55566
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
15 months ago[BUGFIX] Allow dev branch install of subtree split packages 44/55444/3
Helmut Hummel [Wed, 24 Jan 2018 12:03:46 +0000 (13:03 +0100)]
[BUGFIX] Allow dev branch install of subtree split packages

To make it possible to require subtree split packages
as a dev 8.7.*@dev versions, we need to adapt the
dependencies of the packages.

For a release these dependencies will be set to
exact version numbers before tagging.

Branch aliases in the packages can be removed,
as the TYPO3_8-7 branch does not exist in the
splitted repos, but only a 8.7 branch.

Resolves: #83671
Releases: 8.7
Change-Id: I2784123f596409b720a090276c4314fd1a1c4a63
Reviewed-on: https://review.typo3.org/55444
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
15 months ago[BUGFIX] EXT:form - fix array overrules within YAML preprocessing 65/55565/2
Ralf Zimmermann [Mon, 29 Jan 2018 13:56:45 +0000 (14:56 +0100)]
[BUGFIX] EXT:form - fix array overrules within YAML preprocessing

If you use the "__inheritance" operator within an EXT:form configuration
file, configuration keys of the parent element can be deleted in the
child element by giving the configuration key in the child element
the value NULL.
See https://docs.typo3.org/typo3cms/extensions/form/latest/Concepts/
Configuration/Index.html#inheritances for further information.

Before the "__inheritance" operators are executed, all configuration
files are merged using
TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule().

However, this does not work if you are using several configuration files.

Let's assume the configuration key in the previous configuration file is
an array. mergeRecursiveWithOverrule() does not delete this
configuration key, if the configuration key in the overriding
configuration file is not an array (for example: NULL). This is simply
ignored by mergeRecursiveWithOverrule().

This patch fixes this issue by adding a variation of
array_merge_recursive().

Resolves: #82051
Releases: master, 8.7
Change-Id: Id9d256226a3eb82f6bc3fd03904f944719e525e7
Reviewed-on: https://review.typo3.org/55565
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Peter Kraume <peter.kraume@gmx.de>
Tested-by: Peter Kraume <peter.kraume@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
15 months ago[BUGFIX] Add language parameter to preview url in list module 52/55452/5
Gianluigi Martino [Mon, 3 Apr 2017 14:18:22 +0000 (16:18 +0200)]
[BUGFIX] Add language parameter to preview url in list module

The language parameter was not set if the "View webpage" button was used
within the context menu of an element in the page module or the
"View webpage" button in the record list of a desired language.

Resolves: #80599
Releases: master, 8.7
Change-Id: I40fb5749cbd56c0075a8aa2c5ec3b2d8dea66501
Reviewed-on: https://review.typo3.org/55452
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
15 months ago[BUGFIX] EXT:form - add compatibility for issue #82210 06/55306/5
Ralf Zimmermann [Tue, 9 Jan 2018 13:07:14 +0000 (14:07 +0100)]
[BUGFIX] EXT:form - add compatibility for issue #82210

The fix for issue #82210 implies a breaking change within a minor
release (template changes) and was never documented.

This bugfix adds some compatibility code for integrators who are using
their own templates for RadioButton and/ or MultiCheckbox form elements.

In addition, a deprecation warning is thrown and the corresponding rst
file has been added.

A different patchset adds the appropriate breaking rst file for v9.

Resolves: #83403
Related: #82210
Releases: 8.7
Change-Id: I496886631b4506f2a370cc56473de414d4c3f359
Reviewed-on: https://review.typo3.org/55306
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
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>
15 months ago[BUGFIX] EXT:form - handle boolean finisher options 90/54990/8
Ralf Zimmermann [Thu, 28 Sep 2017 07:53:05 +0000 (09:53 +0200)]
[BUGFIX] EXT:form - handle boolean finisher options

Properly store boolean form definition values. Also
boolean finisher options are returned as boolean now.

Resolves: #82569
Releases: master, 8.7
Change-Id: I1eee0c6d8eaf07534d31622025f3c954d608627b
Reviewed-on: https://review.typo3.org/54990
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
15 months ago[TASK] Apply code formating for all JavaScript files 22/55522/6
Frank Naegler [Thu, 1 Feb 2018 14:49:17 +0000 (15:49 +0100)]
[TASK] Apply code formating for all JavaScript files

This is the first step for introduce CGL for JavaScript files.
The settings of the .editorconfig file is now applied to all
JavaScript files. This will prevent merge conflicts for the
next patches.

Resolves: #83752
Releases: master, 8.7
Change-Id: Ie84691e7f7f3a3974f3c62133895a62377b22f67
Reviewed-on: https://review.typo3.org/55522
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
15 months ago[BUGFIX] Page module: Respect connected mode during drag & drop 61/55561/2
Andreas Fernandez [Thu, 25 Jan 2018 09:20:11 +0000 (10:20 +0100)]
[BUGFIX] Page module: Respect connected mode during drag & drop

This patch adjusts the drag and drop handling on the page module.
Localized content element can't get moved anymore when they are in
connected mode. Languages without a `l18n_parent` may be freely
moved.

Resolves: #83470
Related: #66540
Releases: master, 8.7
Change-Id: I7dcb61279d4bfeb094dcb0e2fbffd416da9c787b
Reviewed-on: https://review.typo3.org/55561
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
15 months ago[TASK] Update typo3fluid/fluid to 2.5.0 55/55555/5
Christian Kuhn [Sun, 4 Feb 2018 20:09:20 +0000 (21:09 +0100)]
[TASK] Update typo3fluid/fluid to 2.5.0

Fixes various issues, brings PHP 7.2 compatibility
to v8 core branch of standalone fluid.

composer command used:
composer update typo3fluid/fluid

Change-Id: I52c3a97e7dc8dafd7b0dee1e07df5105f29cdbde
Resolves: #83774
Resolves: #82227
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55555
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
15 months ago[BUGFIX] D3.js uses basic authentication credentials cached in browser 59/55559/4
Tymoteusz Motylewski [Fri, 2 Feb 2018 16:15:57 +0000 (17:15 +0100)]
[BUGFIX] D3.js uses basic authentication credentials cached in browser

Chrome 64 changed the behaviour regarding xhr.open() calls when passing
null values as password and username.
The d3.js file is manually patched.
Once PR https://github.com/d3/d3-request/pull/34/files is merged we can
use official d3.js version again.

Resolves: #83741
Releases: master, 8.7
Change-Id: I9b83d953ecd19afb9fa5039e1782d094111b0125
Reviewed-on: https://review.typo3.org/55559
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Peter Kraume <peter.kraume@gmx.de>
Tested-by: Peter Kraume <peter.kraume@gmx.de>
Reviewed-by: Marco Huber <mail@marco-huber.de>
Tested-by: Marco Huber <mail@marco-huber.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
15 months ago[BUGFIX] Add possibility to use session data in TS conditions 57/55557/2
Wolfgang Klinger [Tue, 9 Jan 2018 19:17:56 +0000 (20:17 +0100)]
[BUGFIX] Add possibility to use session data in TS conditions

Bring back the possibility to access FE session data in
TypoScript conditions:
[globalVar = TSFE:fe_user|sesData|some_key > 10]

Resolves: #83506
Releases: master, 8.7
Change-Id: I77f6bc73a6d9160b7074d39a948e94a59b51e521
Reviewed-on: https://review.typo3.org/55557
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
15 months ago[BUGFIX] Catch InvalidPathException for FileStorages 52/55552/3
Mathias Schreiber [Sun, 4 Feb 2018 16:06:12 +0000 (17:06 +0100)]
[BUGFIX] Catch InvalidPathException for FileStorages

Editing faulty FileStorages is possible again due to catching the
respective exception and piping it into a FlashMessage

Resolves: #83762
Releases: master, 8.7
Change-Id: I5081d86fd73076359b1d9eba954ba07c50bcb7b2
Reviewed-on: https://review.typo3.org/55552
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
15 months ago[BUGFIX] Re-apply colorspace to resulting image 54/55554/2
Stefan Neufeind [Mon, 28 Nov 2016 10:33:30 +0000 (11:33 +0100)]
[BUGFIX] Re-apply colorspace to resulting image

When using filters the colorspace is not always applied.
A quickfix is to add the colorspace-setting again before
writing the output-image.
Multiple colorspace-settings on the commandline will be
executed in order. For example the grayscale-filter uses
"-colorspace GRAY". The final output-image can then be
converted to "-colorspace sRGB" again so the brightness
appears correct (not too dark) again.

Resolves: #78816
Releases: master, 8.7
Change-Id: I3fcabf8fdbb8d43f15662532b881501ebb43b1dd
Reviewed-on: https://review.typo3.org/55554
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
15 months ago[BUGFIX] Provide Foldername in InaccessibleException 53/55553/2
Mathias Schreiber [Sat, 3 Feb 2018 22:17:37 +0000 (23:17 +0100)]
[BUGFIX] Provide Foldername in InaccessibleException

The central InsufficientFolderReadPermissionsException now
displays the name of the folder in question to ease tracing down
errors.

Resolves: #82342
Releases: master, 8.7
Change-Id: I968c74e6b2e210b07964f7ebb141155525c26ee5
Reviewed-on: https://review.typo3.org/55553
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
15 months ago[BUGFIX] Allow users without delete permissions to drag pages in page tree 65/54965/4
Tymoteusz Motylewski [Thu, 7 Dec 2017 13:46:48 +0000 (14:46 +0100)]
[BUGFIX] Allow users without delete permissions to drag pages in page tree

BE users without delete rights can now drag-drop pages in the page tree.
The drag - delete area is not shown.

Resolves: #25135
Releases: 8.7, 7.6
Change-Id: Icc82675a783f19ae72b6d00ac2809ad76b93dd67
Reviewed-on: https://review.typo3.org/54965
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Joerg Kummer <typo3@enobe.de>
Reviewed-by: Timo Pfeffer <pfeffer.timo+typo3@gmail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
15 months ago[BUGFIX] Fix "Select & upload files" button for FAL in flexform 20/55520/2
Armin Vieweg [Thu, 1 Feb 2018 09:20:15 +0000 (10:20 +0100)]
[BUGFIX] Fix "Select & upload files" button for FAL in flexform

Fix regular expression in escapeCssSelector method, to convert
e.g. "." to "\.".

Resolves: #83747
Branches: master, 8.7
Change-Id: I0fe19fb3590e28cafce6e2fd0cbf9a63f4375954
Reviewed-on: https://review.typo3.org/55520
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
15 months ago[TASK] Show language mode in Page module 75/55475/2
Mathias Schreiber [Fri, 26 Jan 2018 18:43:23 +0000 (19:43 +0100)]
[TASK] Show language mode in Page module

Editors can now immediately see whether a page is in Free, Connected or
Mixed mode in a certain language.

Resolves: #83696
Releases: master, 8.7
Change-Id: I2985c2094e83535df636fa124aea962aa7ca105d
Reviewed-on: https://review.typo3.org/55475
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
15 months ago[FOLLOWUP][BUGFIX] Remove uglify of jquery-ui/sortable.js 18/55518/2
Frank Naegler [Thu, 1 Feb 2018 10:32:01 +0000 (11:32 +0100)]
[FOLLOWUP][BUGFIX] Remove uglify of jquery-ui/sortable.js

This patch removes the uglify task of jquery-ui/sortable.js.
With https://review.typo3.org/#/c/55389/ the lib was patched
and already uglified. This patch prevents a double uglify of the file.

Resolves: #83593
Releases: master, 8.7
Change-Id: I16edd94fc8d3165159b4dc0a47ac7365ff34e37f
Reviewed-on: https://review.typo3.org/55517
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-on: https://review.typo3.org/55518
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
15 months ago[BUGFIX] Change documentation of [BE][interfaces] 82/55482/2
Susanne Moog [Sun, 28 Jan 2018 18:14:04 +0000 (19:14 +0100)]
[BUGFIX] Change documentation of [BE][interfaces]

The order of the options given is irrelevant as
they will always be rendered in the same order.

The documentation was updated to reflect that fact.

Change-Id: I409e8a26a3b1186a12761cbb84a4f6afe94b464b
Resolves: #82431
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55482
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Sascha Rademacher <sascha.rademacher+typo3@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
15 months ago[BUGFIX] Fix example code for TCA "fieldControl" 02/55502/2
Stephan Großberndt [Tue, 30 Jan 2018 14:22:13 +0000 (15:22 +0100)]
[BUGFIX] Fix example code for TCA "fieldControl"

Resolves: #83732
Releases: master, 8.7
Change-Id: I7dccb42445dba584ed1c9a814f62525335d26ab1
Reviewed-on: https://review.typo3.org/55502
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Tested-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
15 months ago[BUGFIX] Avoid JS error when using 'eval' => 'int,nospace' in TCA 03/55503/2
Stephan Großberndt [Tue, 30 Jan 2018 11:12:43 +0000 (12:12 +0100)]
[BUGFIX] Avoid JS error when using 'eval' => 'int,nospace' in TCA

By casting the JavaScript variable to string this patch avoids an error
if 'eval' => 'int,nospace' is used in a TCA column definition.

Resolves: #83731
Releases: master, 8.7
Change-Id: I5be79bf6cd748ac184505f0aa4bd97c7d934eebd
Reviewed-on: https://review.typo3.org/55503
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
15 months ago[BUGFIX] Invalid session token on creating content element in admin panel 89/55489/2
Oliver Hader [Mon, 29 Jan 2018 15:42:27 +0000 (16:42 +0100)]
[BUGFIX] Invalid session token on creating content element in admin panel

When creating a new content element in the frontend using the according
button in the "editing" section of the admin panel, the request to the
TYPO3 backend is rejected due to an invalid XSRF session token:

Validating the security token of this form has failed.
Please reload the form and submit it again.

The reason is, that the URL after issue #70055 looks like the following
"token=<hash>id=<id>" instead of "token=<hash>&id=<id>" - the id became
part of the XSRF session token.

Resolves: #83719
Releases: master, 8.7, 7.6
Change-Id: Ibdd252b2e59d9e8de78bb0be14a95e0789dc0d17
Reviewed-on: https://review.typo3.org/55489
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
15 months ago[BUGFIX] Properly check serialized_executions to avoid PHP 7.2 warnings 83/55483/3
Georg Ringer [Sun, 28 Jan 2018 11:42:17 +0000 (12:42 +0100)]
[BUGFIX] Properly check serialized_executions to avoid PHP 7.2 warnings

To avoid warnings with PHP 7.2, `serialized_executions` must be checked
for being not an empty value.

Resolves: #83691
Releases: master, 8.7, 7.6
Change-Id: I5855a03d6669ec0e82931cfc0110c2b7ca134ad4
Reviewed-on: https://review.typo3.org/55483
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
15 months ago[BUGFIX] Add missing htmlspecialchars() and cleanup in EXT:recordlist 19/55219/4
Stephan Großberndt [Thu, 28 Dec 2017 03:06:40 +0000 (04:06 +0100)]
[BUGFIX] Add missing htmlspecialchars() and cleanup in EXT:recordlist

Add missing htmlspecialchars() calls in EXT:recordlist and do cleanup.

Resolves: #83358
Releases: master, 8.7
Change-Id: If441da15bd0b37ca94121b3787457dddde9380bf
Reviewed-on: https://review.typo3.org/55219
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
15 months ago[TASK] Move changing preview processing config to processing service 70/55270/2
Helmut Hummel [Sun, 24 Dec 2017 14:21:49 +0000 (15:21 +0100)]
[TASK] Move changing preview processing config to processing service

Instead of complementing processing configuration in the file class,
move it to the processing service and LocalPreviewHelper class
to not have the code and logic duplicated and to ensure it is
always executed, not only when using the file API.

Resolves: #83421
Related: #81776
Related: #83242
Releases: master, 8.7, 7.6
Change-Id: I9b3f380625756137a56e7ad0ea55d21f47464ab8
Reviewed-on: https://review.typo3.org/55270
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
15 months ago[BUGFIX] Catch DatabaseRecordException when editing record with deleted relation 50/55450/3
Andreas Fernandez [Wed, 24 Jan 2018 15:50:17 +0000 (16:50 +0100)]
[BUGFIX] Catch DatabaseRecordException when editing record with deleted relation

Editing a record with a deleted related record leads to an uncaught
DatabaseRecordException. This patch catches the exception and
ignores such records, but logs a warning.

Due to possible errors occurring with certain DBMS (e.g. MySQL
strict) columns may require a default value now in TCA.

Resolves: #83412
Releases: master, 8.7
Change-Id: I5adaf385443350ce245dd83da6e5f1a16d9c9afb
Reviewed-on: https://review.typo3.org/55450
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
15 months ago[BUGFIX] Only reference existing locallang files 69/55469/2
Daniel Goerz [Fri, 26 Jan 2018 21:36:30 +0000 (22:36 +0100)]
[BUGFIX] Only reference existing locallang files

Resolves: #83698
Releases: master, 8.7
Change-Id: I7bfe3c32c5fec6e7098462dcbe0353afd9258900
Reviewed-on: https://review.typo3.org/55469
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
15 months ago[BUGFIX] Set correct PHPDoc hint for addPageTSConfig and addUserTSConfig 59/55459/2
Frans Saris [Fri, 26 Jan 2018 09:02:46 +0000 (10:02 +0100)]
[BUGFIX] Set correct PHPDoc hint for addPageTSConfig and addUserTSConfig

Resolves: #83687
Releases: master, 8.7
Change-Id: Ifa705340bc0523e914c688eea00dbb2812bbedd0
Reviewed-on: https://review.typo3.org/55459
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
16 months ago[TASK] Migrate getPagesTSconfig to runtime cache 51/55451/2
Stefan Froemken [Wed, 13 Sep 2017 12:11:14 +0000 (14:11 +0200)]
[TASK] Migrate getPagesTSconfig to runtime cache

BackendUtility::getPagesTSconfig() uses local
method static properties as cache.
This prevents dedicated flushing, which may
be needed in rare cases to prevent for instance
from exceeded memory during huge imports.
The patch switches that to cache framework
cache_runtime which is already used at other
places within BackendUtility.

Resolves: #82473
Related: #63629
Releases: master, 8.7
Change-Id: I4d54819f05a6c7b8ce175bc827b626277e2d4c04
Reviewed-on: https://review.typo3.org/55451
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Use correct default value for field data_page_reg1 48/55448/2
Georg Ringer [Tue, 23 Jan 2018 04:22:48 +0000 (05:22 +0100)]
[BUGFIX] Use correct default value for field data_page_reg1

The field data_page_reg1 of table index_phash is defined as integer.
Therefore the default value must be 0 instead of an empty string.

Resolves: #83641
Releases: master, 8.7, 7.6
Change-Id: I4c1f115b8c8bbcb961627d7f5a5a413a8d5cf419
Reviewed-on: https://review.typo3.org/55448
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[TASK] Use … instead of dots for a correct typography 47/55447/2
Georg Ringer [Wed, 24 Jan 2018 09:37:11 +0000 (10:37 +0100)]
[TASK] Use … instead of dots for a correct typography

The correct typography is to use  the character "…"
instead of "...".

Resolves: #83614
Releases: master, 8.7
Change-Id: I151db0f1edb290d2a3aeff3236e1be1e9c19fa8a
Reviewed-on: https://review.typo3.org/55447
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] EXT:filelist Removed cut and copy buttons from "Extended view" 45/55445/2
Michael Oehlhof [Mon, 15 Jan 2018 23:06:32 +0000 (00:06 +0100)]
[BUGFIX] EXT:filelist Removed cut and copy buttons from "Extended view"

The cut and copy buttons were shown twice in filelist module.
Once in “Extended view” and once in “Show clipboard”

Resolves: #83575
Releases: master, 8.7
Change-Id: I8cbb9b516aaa1ff42a363d4daf4ffa7e20c9d461
Reviewed-on: https://review.typo3.org/55445
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Process large uid lists in chunks in RelationHandler 39/55439/2
Sascha Egerer [Mon, 12 Jun 2017 14:57:33 +0000 (16:57 +0200)]
[BUGFIX] Process large uid lists in chunks in RelationHandler

Uid lists in the relation handler can be very big. To avoid exceeding
query limits like maximum number of placeholder per query or the max
allowed statement length these large lists are split into chunks of
safe length before processing.

Change-Id: I176acb85feb91c6162a77016c1918cf5a992625c
Resolves: #81555
References: #80875
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55439
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Generate entry points for subtree split packages 14/55414/3
Helmut Hummel [Sat, 20 Jan 2018 11:21:47 +0000 (12:21 +0100)]
[BUGFIX] Generate entry points for subtree split packages

Add dependency to a composer package that generates
the entry points for TYPO3 in versions 8.7.*
to typo3/cms-core

This resolves issues with users trying to use subtree split packages
with composer for TYPO3 8.7 and them ending up in a not usable state
as entry points are missing.

Also re-sync dependencies with root composer.json file

Resolves: #83618
Releases: 8.7
Change-Id: I13adcc03b476d22798fc1cfa6882ce155d9017b4
Reviewed-on: https://review.typo3.org/55414
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
16 months ago[BUGFIX] Show correct file reference information 31/55431/2
Nicole Cordes [Tue, 19 Dec 2017 10:15:48 +0000 (11:15 +0100)]
[BUGFIX] Show correct file reference information

This patch corrects how file references (from softrefs) are stored in
sys_refindex table as this was changed with patch
https://review.typo3.org/53219/.

Resolves: #81831
Related: #80991
Related: #80988
Releases: master, 8.7
Change-Id: I776d2db47dffd83217a3c5527860093ddbca58c6
Reviewed-on: https://review.typo3.org/55431
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
16 months ago[BUGFIX] Fix wrong position on sorting inline records 06/55406/2
Frank Naegler [Wed, 17 Jan 2018 21:17:02 +0000 (22:17 +0100)]
[BUGFIX] Fix wrong position on sorting inline records

This patch fix a wrong position of sortable elements in inline records.
This is a known issue which was never fixed in jquery-ui.
For this reason this patch aplly the changes to the sortable lib.

Resolves: #83593
Releases: master, 8.7
Change-Id: I5efeee6202b0b181f04e71538a5bc72b306cd02e
Reviewed-on: https://review.typo3.org/55406
Tested-by: TYPO3com <no-reply@typo3.com>
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>
16 months ago[TASK] Update composer.json license definition 03/55403/3
Oliver Hader [Thu, 18 Jan 2018 10:24:01 +0000 (11:24 +0100)]
[TASK] Update composer.json license definition

Composer license definition GPL-2.0+ has been deprecated
and has to be replaced with GPL-2.0-or-later.

Resolves: #83607
Releases: master, 8.7, 7.6, 6.2
Change-Id: I6113bc3a90cb6a56830b930522dde2eaacd5025e
Reviewed-on: https://review.typo3.org/55403
Tested-by: TYPO3com <no-reply@typo3.com>
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>
16 months ago[BUGFIX] Improve exception output for ImageService 75/55375/2
Georg Ringer [Tue, 16 Jan 2018 10:28:05 +0000 (11:28 +0100)]
[BUGFIX] Improve exception output for ImageService

Avoid spamming the log in PHP 7.2 due to get_class(null) if fetching the
image in ImageService->getImage() fails.

Resolves: #83570
Releases: master, 8.7, 7.6
Change-Id: Icc3c78f5b747842cee89d184134ff298b8e04a3a
Reviewed-on: https://review.typo3.org/55375
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
16 months ago[BUGFIX] impexp: Wrong FAL references after import 67/55367/2
Christian Kuhn [Mon, 15 Jan 2018 14:54:57 +0000 (15:54 +0100)]
[BUGFIX] impexp: Wrong FAL references after import

Fix a case during ext:impexp FAL uid mapping where
sys_file_reference end up pointing to wrong sys_file
records in case new sys_file uids also already exist
in import file, due to multiple mappings.
Power the patch with a functional test - it fails
without the change in Import.php and is ok with the
change.
See the test method comments for more details
on what exactly is checked here.

Change-Id: I472cad2652e8d6f5d30e4ebc68ff1ae93de71ea1
Resolves: #67188
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/55367
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] GeneralUtility::copyDirectory() should mkdir_deep() destination dir 61/55361/2
Christian Kuhn [Sun, 14 Jan 2018 17:10:38 +0000 (18:10 +0100)]
[BUGFIX] GeneralUtility::copyDirectory() should mkdir_deep() destination dir

If path to the destination directory does not exist yet,
copyDirectory() does not copy anything. Use mkdir_deep() for directories.

As example, have directory 'typo3temp' and call copyDirectory()
with a destination 'typo3temp/foo/bar', where 'foo' does not
exist, yet. Without patch, this operation fails.

Change-Id: Id8eb5d6cd30c288ca073e98d35a3025c8489c182
Resolves: #83564
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55361
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[FOLLOWUP][BUGFIX] Break too long values in Application Information 25/55325/2
Andreas Fernandez [Wed, 10 Jan 2018 12:57:35 +0000 (13:57 +0100)]
[FOLLOWUP][BUGFIX] Break too long values in Application Information

`break-all` breaks the text in the cache menu. Use `break-word` to keep whole words intact.

Resolves: #83443
Releases: master, 8.7
Change-Id: I060a3cc3d3461233d93a4b08ff6cf4ec96f0edda
Reviewed-on: https://review.typo3.org/55325
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Return correct available package information 55/55355/3
Nicole Cordes [Wed, 10 Jan 2018 16:40:39 +0000 (17:40 +0100)]
[BUGFIX] Return correct available package information

The PackageManager needs to scan over all package location to be able
to decide whether a package is available or not.

Resolves: #83531
Releases: master, 8.7
Change-Id: Ib21c18a559b4c02d8efce146c8d5addf66b25f1f
Reviewed-on: https://review.typo3.org/55355
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Ensure PackageManager scans every possible directory 57/55357/2
Nicole Cordes [Sat, 13 Jan 2018 21:08:44 +0000 (22:08 +0100)]
[BUGFIX] Ensure PackageManager scans every possible directory

If a scanAvailablePackages() of the PackageManager is triggered, we
need to make sure all possible packagesBasePaths are taken into account.
As new extensions might have been downloaded, we need to re-check those
possible paths unless all were found.

Resolves: #83560
Releases: master, 8.7
Change-Id: I4a65a2f384163b6a3cc3071711e80d88eaf22971
Reviewed-on: https://review.typo3.org/55357
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
16 months ago[BUGFIX] Enable deletion of translated sys_file_metadata records 54/55354/2
Wolfgang Klinger [Fri, 12 Jan 2018 10:57:24 +0000 (11:57 +0100)]
[BUGFIX] Enable deletion of translated sys_file_metadata records

UserTS disableDelete was set for sys_file_metadata globally
and therefore also prevented the deletion of translated file metadata.
By preventing deletion of sys_file_metadata records only for default
language records, the user can remove translated ones again at will.

Resolves: #83066
Relates: #71678
Releases: master, 8.7
Change-Id: I3b83a3dd63b02b94bdd34dd8f002436af14ad45d
Reviewed-on: https://review.typo3.org/55354
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Show folder meta information next to path 48/55348/2
Wolfgang Klinger [Wed, 10 Jan 2018 11:14:40 +0000 (12:14 +0100)]
[BUGFIX] Show folder meta information next to path

Output folder meta information (file count and
total file size) next to the folder path in Filelist again.
Additionally fix a typo in a condition above.

Resolves: #83528
Releases: master, 8.7
Change-Id: I6969966405655d54528059ec937018078caea9d9
Reviewed-on: https://review.typo3.org/55348
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[TASK] Drop 'typo3/ should be link' recommendation 47/55347/2
Christian Kuhn [Fri, 12 Jan 2018 17:25:07 +0000 (18:25 +0100)]
[TASK] Drop 'typo3/ should be link' recommendation

The recommendation of FolderStructure having index.php and typo3/
folder as links is old fashioned, even if not using composer
based instances. The config has no functional meaning in the
install tool and can just be dropped.

Change-Id: Ie8addd1713cadeb381a11cf9a362ac255da6e72c
Resolves: #83550
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55347
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[TASK] Update UnicodeData.txt 45/55345/2
Markus Klein [Thu, 11 Jan 2018 12:52:51 +0000 (13:52 +0100)]
[TASK] Update UnicodeData.txt

Source: http://unicode.org/Public/UNIDATA/UnicodeData.txt

Releases: master, 8.7
Resolves: #83541
Change-Id: I0ba23c774f24be120c562239c7665c8a1732cbb1
Reviewed-on: https://review.typo3.org/55345
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
16 months ago[BUGFIX] ModuleMenu::loadNavigationComponent must load custom tree 92/54892/2
Sebastian Fischer [Mon, 13 Nov 2017 05:38:39 +0000 (06:38 +0100)]
[BUGFIX] ModuleMenu::loadNavigationComponent must load custom tree

This patch changes initialization of the pagetree to make it possible
to open a custom module with its own navigation directly without the
need to open a Web/* module after opening the backend.

Resolves: #82982
Releases: 8.7
Change-Id: I9191d933ffd4e2169e80024f89b359a00bfde72e
Reviewed-on: https://review.typo3.org/54892
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[TASK] Support longer database passwords 79/55179/3
Tobias Hüske [Wed, 20 Dec 2017 17:04:09 +0000 (18:04 +0100)]
[TASK] Support longer database passwords

Sometimes the database user has a password
that is larger than 50 characters. At the moment TYPO3
throws an error message when entering this password.

Microsoft SQL Server passwords can contain
up to 128 characters, MySQL & PostgreSQL have no limitations.

For this reason, the maximum password
length has been increased to 128 characters.

Resolves: #82479
Releases: master, 8.7
Change-Id: I4ff5ef85ec74f1ff87bfe5d3f6658196b67f8330
Reviewed-on: https://review.typo3.org/55179
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[TASK] bamboo: Use yarn instead of npm install 37/55337/2
Christian Kuhn [Thu, 11 Jan 2018 19:13:57 +0000 (20:13 +0100)]
[TASK] bamboo: Use yarn instead of npm install

With the switch from npm install to yarn install we
forgot to adapt the test suites. Update plan specs.

Change-Id: Ibced9d53a4abf73b33e95027a61263f19cd94e56
Resolves: #83544
Related: #83038
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55337
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Make it possible to add cHash to preview links 55/55255/3
Georg Ringer [Tue, 18 Oct 2016 13:54:39 +0000 (15:54 +0200)]
[BUGFIX] Make it possible to add cHash to preview links

It must be possible to generate preview URLs with a cHash, e.g. to
display records using Extbase which enforces cHash usage.

Introduce a new option "useCacheHash" which triggers cHash calculation.
If not specified, the "no_cache" parameter is added just like before.

Resolves: #78336
Resolves: #81297
Releases: master, 8.7
Change-Id: I225e2b8b4355022e7b4f6866c989b707e526e389
Reviewed-on: https://review.typo3.org/55255
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
16 months ago[BUGFIX] Refresh page tree after context menu actions are completed 33/55233/3
Tymoteusz Motylewski [Fri, 29 Dec 2017 22:52:53 +0000 (23:52 +0100)]
[BUGFIX] Refresh page tree after context menu actions are completed

Instead of hardcoded 500ms delay, context menu actions refresh page tree
as soon as the operation is completed.

Releases: 8.7
Resolves: #82970
Change-Id: I697a35a6152bd7c58a4702ab1288ab55c32f9029
Reviewed-on: https://review.typo3.org/55233
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
16 months ago[BUGFIX] Break too long values in Application Information 15/55315/2
Andreas Fernandez [Thu, 4 Jan 2018 08:56:10 +0000 (09:56 +0100)]
[BUGFIX] Break too long values in Application Information

Some values in the Application Information toolbar menu are too long any
may exceed the box's width. The CSS is adjusted to break too long
strings.

Also, for better readability for very long values, the alignment is
changed from `middle` to `top`.

Resolves: #83443
Releases: master, 8.7
Change-Id: Ia85e92e086525c8f66fd8ab225160dfbdb313a73
Reviewed-on: https://review.typo3.org/55315
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] New content element wizard fails for not given header value 99/55299/2
Steffen Kamper [Sat, 6 Jan 2018 11:40:15 +0000 (12:40 +0100)]
[BUGFIX] New content element wizard fails for not given header value

As additional sanitation, accept an empty header for items groups
by rendering "-" if none is given.

Resolves: #83484
Releases: master, 8.7
Change-Id: Iff733cdcbdba18a52a5430b661fafd9692483659
Reviewed-on: https://review.typo3.org/55299
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
16 months ago[BUGFIX] Use local paths for image tests (EXT:install) 11/55311/2
Tim Lochmüller [Tue, 9 Jan 2018 09:16:42 +0000 (10:16 +0100)]
[BUGFIX] Use local paths for image tests (EXT:install)

Use local paths for image tests in EXT:install to avoid
problems with PHP allow_url_fopen configuration.
The "data://" wrapper requires a allow_url_fopen=1
configuration.

Resolves: #78117
Releases: master, 8.7
Change-Id: I7b022dc7681f6e2d3344525e624575be7e6037e9
Reviewed-on: https://review.typo3.org/55311
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
16 months ago[BUGFIX] Re-add 'members' field to the select query in getDefaultWorkspace 51/55251/4
Dima Nozdrin [Wed, 3 Jan 2018 14:46:50 +0000 (16:46 +0200)]
[BUGFIX] Re-add 'members' field to the select query in getDefaultWorkspace

The field was forgotten during Doctrine migration.
See https://review.typo3.org/#/c/47576/

Resolves: #80901
Releases: master,8.7
Change-Id: I9081d17e18107ec69c8530da2d66f51f65deef4c
Reviewed-on: https://review.typo3.org/55251
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
16 months ago[BUGFIX] Add missing htmlspecialchars() in ActionTask 76/55276/5
Stephan Großberndt [Fri, 5 Jan 2018 12:40:29 +0000 (13:40 +0100)]
[BUGFIX] Add missing htmlspecialchars() in ActionTask

Add missing htmlspecialchars() calls in
EXT:sys_action/Classes/ActionTask.php

Resolves: #83359
Releases: master, 8.7
Change-Id: Ieda2612762b23783b17f6b4c93c9cfabc149fcb2
Reviewed-on: https://review.typo3.org/55276
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Make empty $GLOBALS['TBE_MODULES_EXT'] traversable 96/55296/2
Richard Haeser [Fri, 5 Jan 2018 10:44:01 +0000 (11:44 +0100)]
[BUGFIX] Make empty $GLOBALS['TBE_MODULES_EXT'] traversable

Prevent warnings and notices if $GLOBALS['TBE_MODULES_EXT'] is not
set, which can be the case if no extensions are installed.

Change-Id: I72f513329790ee3b71fd30054574b79f41a6dcf8
Resolves: #83479
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/55296
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
16 months ago[BUGFIX] Remove invalid configuration of class-alias-map in reports 93/55293/2
Markus Klein [Sat, 6 Jan 2018 16:16:50 +0000 (17:16 +0100)]
[BUGFIX] Remove invalid configuration of class-alias-map in reports

There is no class alias map for ext:reports. Remove the configuration
in composer.json therefore.

Releases: 8.7
Resolves: #83499
Change-Id: I9af8a0a6081ad1f4230f1d92dd05def828981d43
Reviewed-on: https://review.typo3.org/55293
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
16 months ago[BUGFIX] Use strict flag in signalslot dispatcher 88/55188/2
Georg Ringer [Thu, 12 Oct 2017 07:03:30 +0000 (09:03 +0200)]
[BUGFIX] Use strict flag in signalslot dispatcher

To avoid exceptions with complex structures, the strict flag
must be used in the in_array check.

Resolves: #82736
Releases: master, 8.7, 7.6
Change-Id: I3ecf859e3e3cc70ab40b10ef9052d46e8b486957
Reviewed-on: https://review.typo3.org/55188
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
16 months ago[BUGFIX] Do not try to fetch additionalFields for invalid tasks 67/55267/2
Stephan Großberndt [Sat, 16 Dec 2017 14:57:00 +0000 (15:57 +0100)]
[BUGFIX] Do not try to fetch additionalFields for invalid tasks

A task may be invalid when editing so there is no instance of
AbstractTask in $task. With this patch the SchedulerModuleController no
longer tries to add the additionalFields for that as the
AdditionalFieldProviders expect a valid task object when being called on
edit.

Additionally some cleanup in the PHPDoc of AdditionalFieldProviders is
made to make it clear the given task may be NULL on create.

Resolves: #79141
Releases: master, 8.7
Change-Id: Ia7cf8173e65cfdede89a776cff7615678e4ffb21
Reviewed-on: https://review.typo3.org/55267
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] EXT:form - use context specific configuration cache 66/55266/2
Ralf Zimmermann [Tue, 2 Jan 2018 11:59:52 +0000 (12:59 +0100)]
[BUGFIX] EXT:form - use context specific configuration cache

Cache the EXT:form configuration depending on the YAML files which
are loaded.

Resolves: #83311
Releases: master,8.7
Change-Id: Ib612e7638f5b5ad0ddc08c17e3d3b1e645967304
Reviewed-on: https://review.typo3.org/55266
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Exclude fields without db field from advanced search 63/55263/2
Reiner Teubner [Wed, 3 Jan 2018 16:53:28 +0000 (17:53 +0100)]
[BUGFIX] Exclude fields without db field from advanced search

In advanced search, each field of every table that is listed in TCA
can be used to compose db queries. But if the TCA field has no
counterpart in db, the query fails.
Removing fields that are defined as type user, but without a
defined userfunc are now excluded from view to prevent this kind of
error.

Releases: master, 8.7
Resolves: #83455
Change-Id: Ib35cd7ec54e6c02c77fd85305b6cf3fe1b1979d0
Reviewed-on: https://review.typo3.org/55263
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Check permissions for page deletion in context menu 60/55260/2
Tymoteusz Motylewski [Mon, 16 Oct 2017 15:38:11 +0000 (17:38 +0200)]
[BUGFIX] Check permissions for page deletion in context menu

Resolves: #82777
Releases: master, 8.7
Change-Id: I080e9d47053665c51fdc7b46787cd32299bfaba9
Reviewed-on: https://review.typo3.org/55260
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[TASK] Update copyright year in documentation to 2018 48/55248/3
Andreas Fernandez [Tue, 2 Jan 2018 21:23:46 +0000 (22:23 +0100)]
[TASK] Update copyright year in documentation to 2018

Resolves: #83453
Releases: master, 8.7, 7.6
Change-Id: I40654f5c230e0e91b3b479dd1c07eb087e639051
Reviewed-on: https://review.typo3.org/55248
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
16 months ago[BUGFIX] Fix recursive FLUIDTEMPLATE cObj's that use layoutRootPaths 52/55252/3
Benjamin Franzke [Tue, 17 Oct 2017 14:53:28 +0000 (16:53 +0200)]
[BUGFIX] Fix recursive FLUIDTEMPLATE cObj's that use layoutRootPaths

FLUIDTEMPLATE variables may contain content elements (e.g. recursive
FLUIDTEMPLATE's) which may instantiate own TemplateViews
(e.g. StandaloneView).
A recursive StandaloneView will statically(!!) cache used TemplatesPaths
in \TYPO3Fluid\Fluid\View\Templates::resolvedFiles.

If StandaloneView is instantiated before, but the fluid layout path is
calculated after inner content objects are being rendering,
the altered statically cached `resolvedFiles` cache is used
and contains invalid layoutRootPaths.

Short term solution:
Defer the initialization of the StandaloneView (which flushes those
buggy caches) until all variables have been processed.

Change-Id: Idf053b3d0f0835a352790e0ed971344d67844bbc
Releases: master, 8.7
Resolves: #79760
Resolves: #82745
Reviewed-on: https://review.typo3.org/55252
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
16 months ago[BUGFIX] Correct permissions for root page setting up empty site 45/55245/2
Stephan Großberndt [Tue, 2 Jan 2018 18:38:14 +0000 (19:38 +0100)]
[BUGFIX] Correct permissions for root page setting up empty site

Use the correct maximal permission "31" for the root page when setting
up an empty site during the installation process instead of "32" which
leads to non-editable permissions for that page even by an admin.

Resolves: #83369
Releases: master, 8.7, 7.6
Change-Id: I092f32b48c2a6deb79727fd6a1f8730829161287
Reviewed-on: https://review.typo3.org/55245
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
16 months ago[BUGFIX] Don’t show deprecations as "success" flash messages 43/55243/3
Andreas Wolf [Fri, 22 Dec 2017 16:06:52 +0000 (17:06 +0100)]
[BUGFIX] Don’t show deprecations as "success" flash messages

Change-Id: I48eba81412e314bb8ee013ef38ecbdb32a14ed96
Resolves: #83416
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55243
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
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>
16 months ago[BUGFIX] Fix PHP 7.2 issues in EXT:lowlevel 36/55236/2
Georg Ringer [Sun, 24 Dec 2017 08:58:08 +0000 (09:58 +0100)]
[BUGFIX] Fix PHP 7.2 issues in EXT:lowlevel

Resolves: #83409
Releases: master, 8.7, 7.6
Change-Id: I94a3a3ad31de6e4969d5456f12b728c98adf0815
Reviewed-on: https://review.typo3.org/55236
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
16 months ago[TASK] Remove reference to not existing labels 15/55215/2
Benni Mack [Wed, 27 Dec 2017 11:52:57 +0000 (12:52 +0100)]
[TASK] Remove reference to not existing labels

As the labels don't exist, the usage can be dropped.

Resolves: #83388
Releases: master, 8.7
Change-Id: I43442a847f0705decbddf09139cfdb243ee0d099
Reviewed-on: https://review.typo3.org/55215
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
16 months ago[BUGFIX] get count consistent with execute for self written statements 14/55214/2
Sebastian Hofer [Tue, 28 Nov 2017 21:31:34 +0000 (22:31 +0100)]
[BUGFIX] get count consistent with execute for self written statements

Fix wrong result for self written sql statements executing count
on the query result.

To get this consistent, check for statement also in
getObjectCountByQuery and run getObjectDataByQuery
for self written statements. After that count the
rows.

Wrapping the statement in a subselect will
may be break doLanguageAndWorkspaceOverlay
in getObjectDataByQuery.

This is just to be consistent. Normally it does not
make sense to call the count method on a self written
statement.

Releases: master, 8.7
Resolves: #82910
Change-Id: I8bddb1b20d062d9f46939c16885f1eb73df1e5f4
Reviewed-on: https://review.typo3.org/55214
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
16 months ago[BUGFIX] Catch InvalidPathException in BE & FE 12/55212/2
Georg Ringer [Mon, 11 Dec 2017 10:09:46 +0000 (11:09 +0100)]
[BUGFIX] Catch InvalidPathException in BE & FE

Catch invalid links in FE & BE to keep a working
website.

Resolves: #83283
Releases: master, 8.7
Change-Id: Id9e42dc9be896f3777210843c651f9726dc94552
Reviewed-on: https://review.typo3.org/55212
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
17 months ago[BUGFIX] Move doctrine initalization to connect() method 12/54512/2
Alexander Stehlik [Wed, 18 Oct 2017 02:40:16 +0000 (04:40 +0200)]
[BUGFIX] Move doctrine initalization to connect() method

The event and custom type initalization of doctrine is moved
to an overwritten connect() method in the Connection class.

This prevents a premature establishment of a database connection
by calls to getDatabasePlatform().

This fixes the page unavailable during the connectToDB() in
the Frontend request handling.

Change-Id: Id6087002c7cbb9ed3938c4627d63b77515a7108f
Releases: master, 8.7
Resolves: #82795
Reviewed-on: https://review.typo3.org/54512
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
17 months ago[TASK] EXT:form - Tests for PropertyMappingConfiguration 32/55032/6
Marcel Jürgen Falk [Mon, 11 Dec 2017 08:04:28 +0000 (09:04 +0100)]
[TASK] EXT:form - Tests for PropertyMappingConfiguration

Resolves: #83279
Releases: master, 8.7
Change-Id: I40f6ab483289cbf45f132453b0a1e0af4b72b5b5
Reviewed-on: https://review.typo3.org/55032
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
17 months ago[TASK] Changelog docs: Review and add tags 83/55183/2
Christian Kuhn [Wed, 20 Dec 2017 20:06:56 +0000 (21:06 +0100)]
[TASK] Changelog docs: Review and add tags

* Add tags of all v7 Changelog files
* Review existing tags of all v8 Changelog files
* Minor .rst reformattings and fixes

Change-Id: I4761a1d8028feca5de30a3f860fd5f01bbdd42d1
Resolves: #83402
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/55183
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
17 months ago[BUGFIX] Only select current file when editing metadata 67/55167/2
Stephan Großberndt [Sat, 16 Dec 2017 17:08:46 +0000 (18:08 +0100)]
[BUGFIX] Only select current file when editing metadata

Only select the current file connected to the metadata when editing the
metadata of a file.

Resolves: #78845
Releases: master, 8.7, 7.6
Change-Id: Ib65b1e1aaae1fa2c93b03e4865582841a28990a6
Reviewed-on: https://review.typo3.org/55167
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
17 months ago[BUGFIX] Use correct path and add missing labels in TCA of extensionmanager 65/55165/2
Stephan Großberndt [Mon, 18 Dec 2017 15:06:02 +0000 (16:06 +0100)]
[BUGFIX] Use correct path and add missing labels in TCA of extensionmanager

Releases: master, 8.7, 7.6
Resolves: #83375
Change-Id: Id998c9fb688b8dcd41f09a0b863f87e8290adb2a
Reviewed-on: https://review.typo3.org/55165
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
17 months ago[BUGFIX] Changelog install tool: Duplicate ids prevent expand 50/55150/2
Christian Kuhn [Mon, 18 Dec 2017 15:11:55 +0000 (16:11 +0100)]
[BUGFIX] Changelog install tool: Duplicate ids prevent expand

Expand / collapse sections need a unique id to be properly
collapsible. The "Changelog documentation viewer" uses the
forge issue number for this, which is not unique.
The patch changes the id to use a prefix per version / section
and the loop interation index.

Change-Id: I350d404c61b989deab34bf517e2890e567cb3172
Resolves: #83376
Release: master, 8.7
Reviewed-on: https://review.typo3.org/55150
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
17 months ago[BUGFIX] Add missing labels in EXT:lang and EXT:indexed_search 55/55155/2
Stephan Großberndt [Mon, 18 Dec 2017 16:21:10 +0000 (17:21 +0100)]
[BUGFIX] Add missing labels in EXT:lang and EXT:indexed_search

Releases: master, 8.7
Resolves: #83381
Change-Id: Ide90a5a2fc3b5aa7223f6d547e4a0020b751bbe8
Reviewed-on: https://review.typo3.org/55155
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
17 months ago[BUGFIX] Get the correct crop configuration for imgResource 47/55147/2
Wolfgang Klinger [Thu, 17 Aug 2017 09:34:30 +0000 (11:34 +0200)]
[BUGFIX] Get the correct crop configuration for imgResource

This fix returns the right ImageManipulation\Area object
in case the imgResource "crop" value is a json string with variants.

Resolves: #82057
Releases: master, 8.7
Change-Id: Ibfc9f33ffc060992f22c1a3c7326990834f02ec4
Reviewed-on: https://review.typo3.org/55147
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
17 months ago[BUGFIX] Make JS url encoding utf aware 43/55143/2
Markus Klein [Mon, 18 Dec 2017 09:32:39 +0000 (10:32 +0100)]
[BUGFIX] Make JS url encoding utf aware

Replace the deprecated function JS `escape` with `encodeURIComponent`.

Releases: master, 8.7
Resolves: #83341
Change-Id: Ia9fdd44c7b06f63ab867f692e07193ab23f535a3
Reviewed-on: https://review.typo3.org/55143
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
17 months ago[TASK] Changelog docs: Update Howto.rst 40/55140/4
Christian Kuhn [Sun, 17 Dec 2017 16:23:47 +0000 (17:23 +0100)]
[TASK] Changelog docs: Update Howto.rst

Align Howto.rst with version from master.
Also add missing Index.rst entries for 8.7.x/ files.

Change-Id: Ie68e5eb59f080537050717106bf549dc6d4a0ef3
Resolves: #83371
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/55140
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
17 months ago[TASK] v8 Changelog: Move post 8.7.0 files into 8.7.x folder 37/55137/3
Christian Kuhn [Sun, 17 Dec 2017 14:23:16 +0000 (15:23 +0100)]
[TASK] v8 Changelog: Move post 8.7.0 files into 8.7.x folder

Changelog files that have been merged into core v8 branch
after LTS release 8.7.0 are moved out of 8.7 folder into
8.7.x folder - same system we use with v7.

Change-Id: I0f7a2ddce23eaec997f5ee3c2632af06fa371874
Releases: master, 8.7
Resolves: #83370
Reviewed-on: https://review.typo3.org/55137
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
17 months ago[TASK] v8 Changelog: Merge master changes 30/55130/3
Christian Kuhn [Sat, 16 Dec 2017 20:21:11 +0000 (21:21 +0100)]
[TASK] v8 Changelog: Merge master changes

Merges changes from master branch back into
v8 branch for consistency. This fixes various
v8 ReST compilation warnings and improves
"Documentation analysis" display in v8 install tool.

The change additionally synchronizes the test script
'Build/Scripts/validateRstFiles.sh' from master into
v8 to have a consistent test state.

Change-Id: I9eab17c22e3bf62f0683462f5f8d5a0913057b8c
Resolves: #83365
Releases: 8.7
Reviewed-on: https://review.typo3.org/55130
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
17 months ago[TASK] Changelog docs: Re-add v7 files into v8 & master 29/55129/2
Christian Kuhn [Sat, 16 Dec 2017 17:57:51 +0000 (18:57 +0100)]
[TASK] Changelog docs: Re-add v7 files into v8 & master

As proposed in
https://decisions.typo3.org/t/core-changelog-documentation-workflow-revised
the v7 Changelog files are merged back into v8 and master.

Change-Id: I83b238aa24c5cfb2b3bf5450f178b438a84f3618
Resolves: #83363
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55129
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
17 months ago[TASK] EXT:Scheduler: Update documentation 05/55105/4
Michael Oehlhof [Sat, 16 Dec 2017 01:14:06 +0000 (02:14 +0100)]
[TASK] EXT:Scheduler: Update documentation

Replaced images with new ones from current master.
Adjust the description text where necessary.

Resolves: #72628
Releases: 8.7
Change-Id: If2c93eabe185d6c0b40a400a0f9053d679d29f02
Reviewed-on: https://review.typo3.org/55105
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
17 months ago[TASK] CGL fix core after php-cs-fixer 2.9.0 raise 23/55123/2
Christian Kuhn [Sat, 16 Dec 2017 15:12:03 +0000 (16:12 +0100)]
[TASK] CGL fix core after php-cs-fixer 2.9.0 raise

The "self_accessor" fixer is more strict with younger
php-cs-fixer releases and changes method argument type
hints to self if a class object of the same class is
expected. It also changes return type hints to self
in this case.
This fixer now may collide with the "xclass" system
of the core and is thus deactivated. We shoud decide
manually if self or class name is used.

Change-Id: I3a8c20bea1d79ac2c7bc1e9ecbc2d435c4047843
Resolves: #83360
Related: #83331
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55123
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>