Packages/TYPO3.CMS.git
15 months ago[BUGFIX] Correct permissions for root page setting up empty site 46/55246/2
Stephan Großberndt [Tue, 2 Jan 2018 18:40:13 +0000 (19:40 +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/55246
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: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
15 months ago[BUGFIX] Fix PHP 7.2 issues in EXT:lowlevel 37/55237/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/55237
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
15 months ago[FOLLOWUP][BUGFIX] Add `controlsList` as known additional attribute 91/55191/4
Andreas Fernandez [Thu, 21 Dec 2017 14:59:39 +0000 (15:59 +0100)]
[FOLLOWUP][BUGFIX] Add `controlsList` as known additional attribute

Fix an issue in unit tests.

Resolves: #81222
Releases: 7.6
Change-Id: I439c81e6d3f0c142367b2ea0241a997d0c78cd8e
Reviewed-on: https://review.typo3.org/55191
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
15 months ago[BUGFIX] Add `controlsList` as known additional attribute 87/55187/2
Andreas Fernandez [Thu, 21 Dec 2017 13:18:32 +0000 (14:18 +0100)]
[BUGFIX] Add `controlsList` as known additional attribute

The HTML5 attribute `controlsList` is used in at least Google Chrome
to limit the control buttons. The AudioTagRenderer and VideoTagRenderer
classes are now aware of that attribute.

Resolves: #81222
Releases: master, 8.7, 7.6
Change-Id: I9a577ae077e7e7b55b9fed7852a5a61a5fd4061a
Reviewed-on: https://review.typo3.org/55187
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
15 months ago[TASK] Changelog docs: Review and add tags 84/55184/3
Christian Kuhn [Wed, 20 Dec 2017 20:12:21 +0000 (21:12 +0100)]
[TASK] Changelog docs: Review and add tags

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

Change-Id: I4761a1d8028feca5de30a3f860fd5f01bbdd42d1
Resolves: #83402
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/55184
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] Only select current file when editing metadata 68/55168/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/55168
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
15 months ago[BUGFIX] Use correct path and add missing labels in TCA of extensionmanager 66/55166/3
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/55166
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[BUGFIX] AdminPanelView tries to count null value 02/55102/3
Oliver Hader [Fri, 15 Dec 2017 15:58:03 +0000 (16:58 +0100)]
[BUGFIX] AdminPanelView tries to count null value

Resolves: #83345
Releases: master, 8.7, 7.6
Change-Id: I49e0de26154430c8a93c6a25a7fa54d5e49be39d
Reviewed-on: https://review.typo3.org/55102
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: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
16 months ago[TASK] Changelog docs: Update Howto.rst 41/55141/2
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.

Change-Id: Ie68e5eb59f080537050717106bf549dc6d4a0ef3
Resolves: #83371
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/55141
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] v7 Changelog: Add a missing forge reference 28/55128/2
Christian Kuhn [Sat, 16 Dec 2017 18:15:19 +0000 (19:15 +0100)]
[TASK] v7 Changelog: Add a missing forge reference

One .rst Changelog file misses the mandatory
index to the forge issue number.

Change-Id: I3d4275f777bf164cf51b4df61a8a3606c7058bbf
Resolves: #83364
Releases: 7.6
Reviewed-on: https://review.typo3.org/55128
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] v7 Changelog: Further fixes and alignments with master 26/55126/4
Christian Kuhn [Sat, 16 Dec 2017 17:33:36 +0000 (18:33 +0100)]
[TASK] v7 Changelog: Further fixes and alignments with master

Two fixes in specific .rst files and syncing main Index.rst
and other files on this level with master.

Change-Id: Ibe3221e455bd05fe4417aafab4afeb4c2ba409e4
Resolves: #83362
Releases: 7.6
Reviewed-on: https://review.typo3.org/55126
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] v7 Changelog: Fix compile warnings, update 7.6.x/ Index.rst 24/55124/2
Christian Kuhn [Sat, 16 Dec 2017 15:57:10 +0000 (16:57 +0100)]
[TASK] v7 Changelog: Fix compile warnings, update 7.6.x/ Index.rst

Fixes a broken link and restructures the 7.6.x/Index.rst to be
free from patch level releases. This is ok with the low number
of files in this folder. Since v8, the install tool documentation
module will further help with keeping track of new files during
patch level releases, too. Not having named patch level versions
is easier to maintain from core point of view and simplifies
the underlying workflow.
The patch also adds indirectly adds a file which has been forgotton
to reference in Index.rst, this can't happen anymore from now on
due to the glob reference.

Change-Id: I2163f0823becbf5b719dc4cf9c1520ed224abb15
Resolves: #83361
Releases: 7.6
Reviewed-on: https://review.typo3.org/55124
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:scheduler: Update Documentation version 10/55110/3
Michael Oehlhof [Sat, 16 Dec 2017 11:40:35 +0000 (12:40 +0100)]
[BUGFIX] EXT:scheduler: Update Documentation version

Resolves: #83351
Releases: 7.6
Change-Id: I62793199cbbd0c2745fd357563c69f1196911c8c
Reviewed-on: https://review.typo3.org/55110
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] Replace PHP 7.2 deprecated each() 84/55084/2
Patrick Schriner [Thu, 14 Dec 2017 09:19:51 +0000 (10:19 +0100)]
[BUGFIX] Replace PHP 7.2 deprecated each()

each() is deprecated in PHP 7.2 and has to be replaced.

Resolves: #83321
Releases: master, 8.7, 7.6
Change-Id: Ic318b50a9921cd6a55435cc9b2e0b254e61b9dbc
Reviewed-on: https://review.typo3.org/55084
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] Read TER XML entity value complete 58/55058/2
Alexander Opitz [Tue, 5 Dec 2017 12:46:27 +0000 (13:46 +0100)]
[BUGFIX] Read TER XML entity value complete

Improve reading the TER XML file while using the php xml extension.
The character data handler could be called multiple times, so we
shouldn't cut previous data away.

Resolves: #83227
Releases: master, 8.7, 7.6
Change-Id: I9e96ade88da6a4709d1f72cd49fe766758d265fe
Reviewed-on: https://review.typo3.org/55058
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
16 months ago[BUGFIX] Make recycler PHP 7.2 compatible 47/55047/2
Stefan Neufeind [Tue, 12 Dec 2017 13:12:53 +0000 (14:12 +0100)]
[BUGFIX] Make recycler PHP 7.2 compatible

Change-Id: I36167b0a8b61532adbafea93c88c93097ea52d73
Resolves: #83297
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/55042
Reviewed-on: https://review.typo3.org/55047
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Do not reprocess image preview when empty configuration is passed 40/55040/2
Tymoteusz Motylewski [Mon, 27 Nov 2017 21:09:52 +0000 (22:09 +0100)]
[BUGFIX] Do not reprocess image preview when empty configuration is passed

Fixes regression introduced in https://review.typo3.org/53399
Where thumbnail was regenerated every time process was called with
empty configuration like:

$fileObject->process(ProcessedFile::CONTEXT_IMAGEPREVIEW, [])

Resolves: #83242
Relates: #81776
Releases: master, 8.7, 7.6
Change-Id: I6a4c331bad4d80225d3914f1a48f6071b0d87380
Reviewed-on: https://review.typo3.org/55040
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
16 months ago[BUGFIX] Use correct path variable on Windows 25/55025/2
Nicole Cordes [Wed, 6 Dec 2017 00:19:02 +0000 (01:19 +0100)]
[BUGFIX] Use correct path variable on Windows

There is a difference between Apache and CLI exposing global path
configuration on Windows Systems. The CommandUtility uses the global
path to initialize an internal path storage for possible command
resources. The patch ensures both possible keys on Windows systems are
taken into account to resolve possible application locations.

Resolves: #83234
Releases: master, 8.7, 7.6
Change-Id: Id7166042e39c4f468c10c1c489c7fe5beae7a5fc
Reviewed-on: https://review.typo3.org/55025
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
16 months ago[FOLLOWUP][BUGFIX] Make category tree filterable for editors 78/54978/2
Christoph Lehmann [Thu, 7 Dec 2017 21:53:35 +0000 (22:53 +0100)]
[FOLLOWUP][BUGFIX] Make category tree filterable for editors

Check if TCEFORM.pages.categories.config.treeConfig.rootUid
itself is in the users category mounts (no need for a pseudo
parent category)

Resolves: #83257
Releases: master,8.7,7.6
Change-Id: I8a60860ee3a22d68964f4e44018f0962f7f0f278
Reviewed-on: https://review.typo3.org/54978
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
16 months ago[BUGFIX] Output correct max upload size 39/54939/2
Alexander Opitz [Wed, 6 Dec 2017 00:10:24 +0000 (01:10 +0100)]
[BUGFIX] Output correct max upload size

We should show what the max upload file size is and not the max size of
a HTTP post body.

Resolves: #83230
Releases: master, 8.7, 7.6
Change-Id: Ib6fa244b19c434417808bb19126f862cf9418fb0
Reviewed-on: https://review.typo3.org/54939
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
16 months ago[TASK] Consistenly update to 2.8.x branch of Symfony packages 32/54932/3
Helmut Hummel [Mon, 4 Dec 2017 19:38:26 +0000 (20:38 +0100)]
[TASK] Consistenly update to 2.8.x branch of Symfony packages

To ensure PHP 5.5.0 compatibility as stated in our version constraints,
we limit updating package dependencies within our shipped code
to this PHP version.

Additionally we update these packages to their latest version

Composer commands used:

composer up symfony/console symfony/finder
composer req symfony/debug:^2.7
composer req --dev symfony/stopwatch:^2.8 symfony/process:^2.8 \
  symfony/options-resolver:^2.8 symfony/filesystem:^2.8 \
  symfony/event-dispatcher:^2.8 symfony/yaml:^2.8
composer config platform.php 5.5
composer up --lock

Releases: 7.6
Resolves: #83223
Change-Id: Idb271d632bf472705a3e887c1405fcffb282cb05
Reviewed-on: https://review.typo3.org/54932
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
16 months ago[CLEANUP] Add class-imports in Extbase Persistence classes 01/54901/2
Markus Klein [Fri, 1 Dec 2017 21:54:25 +0000 (22:54 +0100)]
[CLEANUP] Add class-imports in Extbase Persistence classes

This cleanup should ease backporting future patches in that area.

Releases: master, 8.7, 7.6
Resolves: #83189
Change-Id: I42b700d2fd17beadc4a9b8e64e500f3d3b93fd1f
Reviewed-on: https://review.typo3.org/54901
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[TASK] bamboo v7: Include php 7.2 in test suite 28/54928/3
Christian Kuhn [Sun, 3 Dec 2017 21:04:55 +0000 (22:04 +0100)]
[TASK] bamboo v7: Include php 7.2 in test suite

Run core v7 acceptance, unit and lint tests on php 7.2, too.

Change-Id: I2db7c3fb6cde92c6d2d0320ba39343679e57e126
Resolves: #83215
Releases: 7.6
Reviewed-on: https://review.typo3.org/54928
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 typo3/cms-composer-installers from 1.3.1 to 1.3.2 30/54930/3
Christian Kuhn [Mon, 4 Dec 2017 17:27:27 +0000 (18:27 +0100)]
[TASK] Update typo3/cms-composer-installers from 1.3.1 to 1.3.2

The update brings patches for PHP 7.2 compatibility.

Change-Id: Ibdfc231cd336511e0327eae485003d818fd1cc1e
Resolves: #83222
Releases: 7.6
Reviewed-on: https://review.typo3.org/54930
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 php-cs-fixer from 2.0.0 to 2.2.x 18/54818/4
Auer, Fabian [Mon, 27 Nov 2017 16:19:36 +0000 (17:19 +0100)]
[TASK] Update php-cs-fixer from 2.0.0 to 2.2.x

Latest 2.2 branch of the require-dev dependency of
php-cs-fixer brings PHP 7.2 compatibility.
The core has this dependency to run the cglFixMyCommit.sh
script which needs a slight adaption with the version raise.

Change-Id: I5c80b80716fdfa076ca77d281587cbb9c8d1068d
Resolves: #83220
Releases: 7.6
Reviewed-on: https://review.typo3.org/54818
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] fluid: Harden CountViewHelper 27/54927/2
Christian Kuhn [Sun, 3 Dec 2017 20:30:35 +0000 (21:30 +0100)]
[BUGFIX] fluid: Harden CountViewHelper

The CountViewHelper calls count() on non-arrays or non-Countable
objects. This throws warnings on PHP 7.2 - sanitize this call.

Change-Id: Ie1932c31a099577cb0d344824a6441509aefbc03
Resolves: #83214
Releases: 7.6
Reviewed-on: https://review.typo3.org/54927
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] Incomplete mocks in fluid tests 26/54926/2
Christian Kuhn [Sun, 3 Dec 2017 20:27:59 +0000 (21:27 +0100)]
[BUGFIX] Incomplete mocks in fluid tests

Sanitize some view helper unit tests to not trigger
PHP 7.2 warnings count()'ing non-arrays by proper mocking.

Change-Id: I9929a02a03c9218ab73838f4a214165333d414aa
Resolves: #83213
Releases: 7.6
Reviewed-on: https://review.typo3.org/54926
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] Unit tests: Define TYPO3_REQUESTTYPE 25/54925/3
Christian Kuhn [Sun, 3 Dec 2017 19:48:21 +0000 (20:48 +0100)]
[BUGFIX] Unit tests: Define TYPO3_REQUESTTYPE

Unit test boostrap does not initialize constants
TYPO3_REQUESTTYPE and TYPO3_REQUESTTYPE_*, but various
tests rely on this basic constants being properly defined
in core v7. With PHP 7.2, accessing undefined connstants
throws warnings.
Patch makes according bootstrap method public and calls
it during unit test bootstrap.

Change-Id: I450e440694385244c554adef00a9c74135d457f5
Resolves: #83211
Releases: 7.6
Reviewed-on: https://review.typo3.org/54925
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
16 months ago[BUGFIX] Undefined constant ADODB_ASSOC_CASE 24/54924/2
Christian Kuhn [Sun, 3 Dec 2017 19:21:18 +0000 (20:21 +0100)]
[BUGFIX] Undefined constant ADODB_ASSOC_CASE

adodb (v7 only) expects constant ADODB_ASSOC_CASE to be
set. PHP 7.2 now throws warnings if constants are not
defined.
Patch defines ADODB_ASSOC_CASE in unit test setUp() if
it not has been defined before.

Change-Id: Ie338c3e871ae0eb2f8536515c65b556381bf65c3
Resolves: #83210
Releases: 7.6
Reviewed-on: https://review.typo3.org/54924
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] Undefined constant OCI_COMMIT_ON_SUCCESS 23/54923/2
Christian Kuhn [Sun, 3 Dec 2017 18:43:38 +0000 (19:43 +0100)]
[BUGFIX] Undefined constant OCI_COMMIT_ON_SUCCESS

Test suite on core v7 with PHP 7.2 complains a lot about
"Undefined constant OCI_COMMIT_ON_SUCCESS". This is
found in the adodb oracle oci8 driver, used as property
default value and thus evaluated as soon as the driver class
is instantiated in tests.
The test suite does not include oci8 in php. The php module
sets constant OCI_COMMIT_ON_SUCCESS to hex '0x20' which is
32 in decimal.
The patch uses decimal 32 to suppress the warning if
oci8 module is not loaded for tests.

Change-Id: I218e9758fe8b1bf8a92a8398f6782faa4ed4c9c9
Resolves: #83209
Releases: 7.6
Reviewed-on: https://review.typo3.org/54923
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 phpdocumentor/type-resolver from 0.2 to 0.2.1 21/54921/2
Christian Kuhn [Sun, 3 Dec 2017 18:03:26 +0000 (19:03 +0100)]
[TASK] Update phpdocumentor/type-resolver from 0.2 to 0.2.1

Raising this indirect require-dev dependency fixes ~330
unit tests on PHP 7.2 that otherwise throw a count() on
non-array or countable warning.

Change-Id: I3dce8ffe6d2180bf41740b0bc5fd8397425cc985
Resolves: #83207
Releases: 7.6
Reviewed-on: https://review.typo3.org/54921
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 of undefined constant E_DEBUG 15/54915/2
Christian Kuhn [Sun, 3 Dec 2017 14:05:53 +0000 (15:05 +0100)]
[BUGFIX] Use of undefined constant E_DEBUG

Global function debug() initializes its 6th argument
to constant E_DEBUG which does not exist and then defaults
to string 'E_DEBUG'. This raises a PHP 7.2 warning.
Relevant for v8 & v7 only, this argument has been removed
in master already.
Fix by defaulting to string 'E_DEBUG' in method signature.

Change-Id: If04c9e55bb810980b19b924496680ea1758e4b24
Resolves: #83200
Related: #82640
Releases: 8.7, 7.6
Reviewed-on: https://review.typo3.org/54915
Tested-by: TYPO3com <no-reply@typo3.com>
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>
16 months ago[BUGFIX] PreparedStatement: count() must be an array or countable 12/54912/2
Christian Kuhn [Sun, 3 Dec 2017 12:09:08 +0000 (13:09 +0100)]
[BUGFIX] PreparedStatement: count() must be an array or countable

Sanitize a count() call in PreparedStatement (8.7, 7.6 only)
for PHP 7.2 compatibility.

Change-Id: I8d3cac3814093c7223c6be8f8ab8dc8c610d28e1
Resolves: #83196
Releases: 8.7, 7.6
Reviewed-on: https://review.typo3.org/54912
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] phpunit: Update comparator from 1.2.2 to 1.2.4 10/54910/3
Christian Kuhn [Sun, 3 Dec 2017 11:50:40 +0000 (12:50 +0100)]
[BUGFIX] phpunit: Update comparator from 1.2.2 to 1.2.4

Raising this indirect require-dev dependency fixes a
PHP 7.2 compatibility issue on core 7.6 branch:
"Declaration of DOMNodeComparator::assertEquals() must be
compatible with ..."

Change-Id: I1c422edab82250b51ae9a0cc268110c62977ee08
Resolves: #83195
Resolves: #83120
Releases: 7.6
Reviewed-on: https://review.typo3.org/54910
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
16 months ago[BUGFIX] Implicit constant to string cast in unit test case 05/54905/2
Christian Kuhn [Sat, 2 Dec 2017 01:24:18 +0000 (02:24 +0100)]
[BUGFIX] Implicit constant to string cast in unit test case

An array key is not used as string but as constant in
two ConfigurationManager test cases. PHP 7.2 is more
picky about this an throws warnings. Fix by creating
proper strings.

Change-Id: I64def6cf9b5d9df7e150d137929c721558c761d7
Resolves: #83190
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/54905
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] Fix wrong reference to language file in FileList class 00/54900/3
Wouter Wolters [Fri, 1 Dec 2017 20:43:51 +0000 (21:43 +0100)]
[BUGFIX] Fix wrong reference to language file in FileList class

During a backport of #80920 the file reference was not updated to
the right location.

Resolves: #83187
Releases: 7.6
Change-Id: I20637d1d1ee26f892084909c600cbe43a7c46a02
Reviewed-on: https://review.typo3.org/54900
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
16 months ago[BUGFIX] Make category tree filterable for editors with category mounts 38/54138/3
Christoph Lehmann [Wed, 13 Sep 2017 21:34:45 +0000 (23:34 +0200)]
[BUGFIX] Make category tree filterable for editors with category mounts

TCEFORM.pages.categories.config.treeConfig.rootUid should filter
the category tree. Non-Admin users with category mounts currently
need every child category of rootUid in their category mounts
since the rootline of rootUid is not checked against the category
mounts.

Resolves: #78274
Releases: master,8.7,7.6
Change-Id: Id02ae69111df7397207939a034ed05797eb160ad
Reviewed-on: https://review.typo3.org/54138
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
16 months ago[BUGFIX] Prevent catchable error during workspace publishing 55/54855/2
Benni Mack [Wed, 29 Nov 2017 09:50:58 +0000 (10:50 +0100)]
[BUGFIX] Prevent catchable error during workspace publishing

When publishing a workspace, incorrect TCA might lead to a catchable
fatal error. This happened, when TCA for a field did not contain a
config-entry.

Resolves: #77619
Releases: master, 8.7, 7.6
Change-Id: I81a3b727320ee984908c964d0729551c4c264f8d
Reviewed-on: https://review.typo3.org/54855
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] Failing task "Fileadmin garbage collection" 39/54839/4
Sebastian Hofer [Tue, 28 Nov 2017 18:25:29 +0000 (19:25 +0100)]
[BUGFIX] Failing task "Fileadmin garbage collection"

Fix the identifier string, which is used to retrive the file object,
a relative path instead of an absolute path is expected.

Releases: 7.6
Fixes: #82672
Change-Id: I8786330f07996f1b341bb38fafa50709d364d25e
Reviewed-on: https://review.typo3.org/54839
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
16 months ago[BUGFIX] Send correct Cache-Control header if no client side caching 94/54794/2
Łukasz Uznański [Mon, 27 Nov 2017 12:20:45 +0000 (13:20 +0100)]
[BUGFIX] Send correct Cache-Control header if no client side caching

Add 'Cache-Control: no-store' if conditions allowing client caching
are not met. This change will prevent caching content by browser.

Resolves: #81160
Releases: master, 8.7, 7.6
Change-Id: Ia91a339178b8cd8387706679bbea40ed0d1b0548
Reviewed-on: https://review.typo3.org/54794
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] bamboo: Label parsing 77/54777/2
Christian Kuhn [Mon, 27 Nov 2017 09:23:05 +0000 (10:23 +0100)]
[BUGFIX] bamboo: Label parsing

The bamboo test setup relies on a funny solution to determine the
gerrit patch id and patch set, used for reporting results back
to gerrit.

The regex based solution started behaving weird with latest
bamboo versions and is now quoted slightly differently to fix that.

Special thanks to atlassian support for being friendly, helpful,
quick and providing a working solution to our issue.

Change-Id: I51ec85be2133033777fac8ff1f12071a81c71efc
Resolves: #83107
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/54777
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] Spaces between attributes in boolean fields 38/54738/2
Jigal van Hemert [Thu, 23 Nov 2017 22:46:19 +0000 (23:46 +0100)]
[FOLLOWUP][BUGFIX] Spaces between attributes in boolean fields

Spaces added between attributes of boolean input fields.

Resolves: #83040
Releases: 7.6
Change-Id: I28f24bbfbc46d992e452b7f0420c64575dda2df5
Reviewed-on: https://review.typo3.org/54738
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: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
16 months ago[BUGFIX] backend formfields: Make boolean fields UI working in Edge/IE 21/54721/2
Stefan Neufeind [Wed, 22 Nov 2017 08:40:37 +0000 (09:40 +0100)]
[BUGFIX] backend formfields: Make boolean fields UI working in Edge/IE

Add for/id so clicking the label toggles the checkbox.

Resolves: #83040
Releases: master, 8.7, 7.6
Change-Id: I3dc08706556e1a95ddc8d96cae705ee968c48326
Reviewed-on: https://review.typo3.org/54721
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
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 class name of success button in the install tool 98/54698/2
Markus Günther [Mon, 20 Nov 2017 10:46:09 +0000 (11:46 +0100)]
[BUGFIX] Fix class name of success button in the install tool

Releases: master, 8.7, 7.6
Fixes: #83044
Change-Id: I2c16f160a18f4c0e58b87261b59fbde90aca2f82
Reviewed-on: https://review.typo3.org/54698
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
16 months ago[BUGFIX] Show deleted page actions in record history 10/54610/2
Helmut Hummel [Tue, 7 Nov 2017 14:09:08 +0000 (15:09 +0100)]
[BUGFIX] Show deleted page actions in record history

Because users have no access to deleted pages,
the access check always fails, leading to delete page
actions not being shown in the history despite being
properly tracked.

We now check this case and do a more lightweight check
so that we still have the permissions checked,
but can show deleted pages without disclosing unwanted
information.

Resolves: #45056
Releases: 7.6, 8.7, master
Change-Id: Id919a24651c18a351f9723e86610b525a4f4726c
Reviewed-on: https://review.typo3.org/54610
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
16 months ago[BUGFIX] ConstantEditor: Make boolean fields UI working in Edge/IE 83/54683/2
Markus Klein [Sun, 19 Nov 2017 01:34:46 +0000 (02:34 +0100)]
[BUGFIX] ConstantEditor: Make boolean fields UI working in Edge/IE

Move the hidden form field out of the label tag to ensure clicking
the label's content (eg. fa icon) really toggles the checkbox.

Resolves: #82998
Releases: master, 8.7, 7.6
Change-Id: Id4293b4109c82a9e6410e113a5b5560ffd1b75d4
Reviewed-on: https://review.typo3.org/54683
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
17 months ago[BUGFIX] Add workspace overlay for translated page title 85/54585/2
Georg Ringer [Wed, 8 Nov 2017 07:21:39 +0000 (08:21 +0100)]
[BUGFIX] Add workspace overlay for translated page title

The title of a translated page must be overlayed with the
workspace version.

Resolves: #65607
Releases: master, 8.7, 7.6
Change-Id: If10260f196776a16a53968b78542827ecbc145fe
Reviewed-on: https://review.typo3.org/54585
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
17 months ago[BUGFIX] Handle returnUrl for access module 28/54528/2
Markus Klein [Mon, 30 Oct 2017 19:56:30 +0000 (20:56 +0100)]
[BUGFIX] Handle returnUrl for access module

With this fix the access module again returns to the correct
page the user expects it to return to.

Resolves: #82883
Releases: master, 8.7, 7.6
Change-Id: I76953aa1547365db6fbbea772d786e1ad9bfc184
Reviewed-on: https://review.typo3.org/54528
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
17 months ago[BUGFIX] Access module preselects owner/group when changed via AJAX 27/54527/3
Markus Klein [Mon, 30 Oct 2017 20:42:05 +0000 (21:42 +0100)]
[BUGFIX] Access module preselects owner/group when changed via AJAX

Resolves: #79915
Releases: master, 8.7, 7.6
Change-Id: Ie3b573857ff011295be198633a0f6868b1ff55b6
Reviewed-on: https://review.typo3.org/54527
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
17 months ago[BUGFIX] Add missing image for workspace preview 77/54477/2
Georg Ringer [Thu, 26 Oct 2017 12:41:23 +0000 (14:41 +0200)]
[BUGFIX] Add missing image for workspace preview

Readd an image which has been removed during cleanups

Resolves: #82857
Releases: 7.6
Change-Id: Idd487fec1d35dc919099bcf9477860976d346d38
Reviewed-on: https://review.typo3.org/54477
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
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>
17 months ago[BUGFIX] Fix link rendering in li tag 65/54165/3
Sebastian Hofer [Mon, 18 Sep 2017 13:20:00 +0000 (15:20 +0200)]
[BUGFIX] Fix link rendering in li tag

Changes the rendering for li tags in RTE in sys ext css_styled_content.
This change is based on a former bugifx for TYPO3 6.2:
https://review.typo3.org/#/c/38681/

The fix was not ported to css_styled_content for TYPO3 7,
so the issue is present in TYPO3 7 if no fluid_styled_content
TypoScript is present.

Releases: 7.6
Resolves: #65506
Change-Id: I1aa744b7f381681a01cb797ff6dd9c61f221934a
Reviewed-on: https://review.typo3.org/54165
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benjamin Kott <benjamin.kott@outlook.com>
Tested-by: Benjamin Kott <benjamin.kott@outlook.com>
18 months ago[BUGFIX] CSC Header CE does not respect lib.parseTarget configuration 30/54430/4
Harry Glatz [Sat, 3 Sep 2016 09:59:38 +0000 (11:59 +0200)]
[BUGFIX] CSC Header CE does not respect lib.parseTarget configuration

The TypoScript of the CSC header element does not respect
the global lib.parseTarget configuration

Resolves: #36216
Releases: 8.7, 7.6
Change-Id: I08ea6c59829a4a63b4aca6bf90b89223921b3fdf
Reviewed-on: https://review.typo3.org/54430
Tested-by: TYPO3com <no-reply@typo3.com>
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>
18 months ago[BUGFIX] Fix declaration of injectView in install tool 17/54417/5
Susanne Moog [Tue, 17 Oct 2017 16:22:08 +0000 (18:22 +0200)]
[BUGFIX] Fix declaration of injectView in install tool

When using PHP7 declarations of sub classes have to
be compatible to their parent declarations.

As the install tool has been completely refactored in
newer TYPO3 version this patch implements only a
workaround to prevent the PHP warning.

Change-Id: I4128b3aef30a3a1bb9de6188509db1cdf4314b02
Resolves: #77203
Releases: 7.6
Reviewed-on: https://review.typo3.org/54417
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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>
18 months ago[FOLLOWUP][BUGFIX] IRRE: Check if TCA['ctrl']['languageField'] is set 70/54170/5
Nicole Cordes [Tue, 19 Sep 2017 13:06:41 +0000 (15:06 +0200)]
[FOLLOWUP][BUGFIX] IRRE: Check if TCA['ctrl']['languageField'] is set

This patch adds missing functional tests for
\TYPO3\CMS\Backend\Controller\FormInlineAjaxController::createAction

Related: #82330
Releases: master, 8.7, 7.6
Change-Id: I61c8c07dd0d2c6a92bb445d7f2b6baee23251f5d
Reviewed-on: https://review.typo3.org/54170
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
18 months ago[BUGFIX] Configuration->"Use regular expression" 80/54380/2
Christian Kuhn [Thu, 12 Oct 2017 12:43:20 +0000 (14:43 +0200)]
[BUGFIX] Configuration->"Use regular expression"

Setting / unsetting the checkbox "Use regular expression"
fails with JavaScript error "jumpToUrl is not defined".
Add that to the document body.

Change-Id: I0a5928e008972493d070a35d1219a0acca579ce8
Resolves: #82746
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/54380
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
18 months ago[BUGFIX] Add page uid to rte module urls for correct TSconfig loading 56/52756/2
Marc Bastian Heinrichs [Thu, 11 May 2017 08:48:38 +0000 (10:48 +0200)]
[BUGFIX] Add page uid to rte module urls for correct TSconfig loading

Because of a missing page uid in rte module window iframe urls, like for
the BrowseLinks popup, the ConditionMatcher could not evaluate
conditions in INCLUDE_TYPOSCRIPT that rely on the page uid, like
PIDinRootline.

Resolves: #81190
Releases: 7.6
Change-Id: I7952b910d9caa50ce5ca1abd6bf7309ad80c60b1
Reviewed-on: https://review.typo3.org/52756
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
18 months ago[BUGFIX] Correct an always-true if statement in GeneralUtility::mkdir_deep 31/54331/2
Joshua Westerheide [Sat, 7 Oct 2017 18:45:53 +0000 (20:45 +0200)]
[BUGFIX] Correct an always-true if statement in GeneralUtility::mkdir_deep

Resolves: #82697
Releases: master, 8.7, 7.6
Change-Id: I64bf51d5efd0394f4d3269965820281cbaf2de90
Reviewed-on: https://review.typo3.org/54331
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
18 months ago[TASK] bamboo-specs: Upgrade to 6.1 99/54299/2
Christian Kuhn [Wed, 4 Oct 2017 21:02:31 +0000 (23:02 +0200)]
[TASK] bamboo-specs: Upgrade to 6.1

The 6.0 to 6.1 upgrade allows us to specifiy last missing
pieces via bamboo specs: mostly job cleanups, plugin
configuration and plan permissions.

Change-Id: If26aeb45b1109ba9797f3807087201033ea1f368
Resolves: #82679
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/54299
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
18 months ago[TASK] Increase size of domain name field 91/54191/3
Georg Ringer [Wed, 20 Sep 2017 18:19:39 +0000 (20:19 +0200)]
[TASK] Increase size of domain name field

Allow 255 chars for a domain to be in sync with RFC 1035.

Resolves: #82515
Releases: master, 8.7, 7.6
Change-Id: I63916cb115b00e50c62c1926cf890e29bf89de77
Reviewed-on: https://review.typo3.org/54191
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
18 months ago[BUGFIX] Fix broken redis tests 97/54197/2
Frank Naegler [Thu, 21 Sep 2017 10:09:19 +0000 (12:09 +0200)]
[BUGFIX] Fix broken redis tests

Resolves: #82533
Releases: master, 8.7, 7.6
Change-Id: Ia47f604b9cb7fa53d3707e6150554709cbfdb763
Reviewed-on: https://review.typo3.org/54197
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>
18 months ago[BUGFIX] Do not allow users to edit doktypes without permissions 15/53715/3
Markus Hoelzle [Wed, 22 Feb 2017 09:27:49 +0000 (10:27 +0100)]
[BUGFIX] Do not allow users to edit doktypes without permissions

Disallow backend users to edit pages which doktypes are not allowed
via backend usergroup permissions.

Resolves: #79954
Releases: master, 8.7, 7.6
Change-Id: I527602e71c62bc8e33b0886a5758c7c8040b4720
Reviewed-on: https://review.typo3.org/53715
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Tested-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
18 months ago[TASK] Set TYPO3 version to 7.6.24-dev 69/54169/2
Oliver Hader [Tue, 19 Sep 2017 13:03:21 +0000 (15:03 +0200)]
[TASK] Set TYPO3 version to 7.6.24-dev

Change-Id: I2ac58940eef04059791b3ef8b76f7c2223e15b28
Reviewed-on: https://review.typo3.org/54169
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
18 months ago[RELEASE] Release of TYPO3 7.6.23 68/54168/2 7.6.23 TYPO3_7-6-23 v7.6.23
Oliver Hader [Tue, 19 Sep 2017 13:01:22 +0000 (15:01 +0200)]
[RELEASE] Release of TYPO3 7.6.23

Change-Id: I8ec14f6fd21ec2757988c13f1612348998d198c5
Reviewed-on: https://review.typo3.org/54168
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
18 months ago[BUGFIX] IRRE: Check if TCA['ctrl']['languageField'] is set 44/53944/5
Oliver Hader [Tue, 19 Sep 2017 10:58:13 +0000 (12:58 +0200)]
[BUGFIX] IRRE: Check if TCA['ctrl']['languageField'] is set

On creating child records for an inline field, the values of
TCA['ctrl']['languageField'] configuration of parent and child
records are used without checking if they are set at all.
This patch adds appropriate guards.

Resolves: #82330
Releases: 7.6
Change-Id: I6383e55820239b0363ff890855430ac32e2cdf62
Reviewed-on: https://review.typo3.org/53944
Reviewed-by: Tobias Liebig <tobias.liebig@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
18 months ago[BUGFIX] Correctly handle non-existing level in menu.directory VH 67/54167/2
Markus Klein [Tue, 19 Sep 2017 10:23:56 +0000 (12:23 +0200)]
[BUGFIX] Correctly handle non-existing level in menu.directory VH

Providing a non-existing entry-level to the getPageUids() method
now returns an empty array instead of an array with key zero and
a null value.

This way we can correctly stop processing in the viewhelpers
using the MenuViewHelperTrait.

Resolves: #82507
Releases: 7.6
Change-Id: I99a610e612545648d7637e4a441dcdd1b1e51adc
Reviewed-on: https://review.typo3.org/54167
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Tested-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
19 months ago[TASK] Cleanup .gitignore 13/54113/3
Philipp Gampe [Mon, 11 Sep 2017 11:14:27 +0000 (13:14 +0200)]
[TASK] Cleanup .gitignore

Make sure root level excludes are prefix with
a forward slash (/).

Sort the .gitignore into logical groups.

Releases: 7.6, 8.7, master
Resolves: #81992
Change-Id: If1cb4105e57fb7ab3c28448abc3eaeb898da60e3
Reviewed-on: https://review.typo3.org/54113
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[TASK] Update localization rendering tests to newest Testing Framework 60/54060/2
Tymoteusz Motylewski [Sat, 9 Sep 2017 10:20:18 +0000 (12:20 +0200)]
[TASK] Update localization rendering tests to newest Testing Framework

addTypoScriptToTemplateRecord method was added to FunctionalTestCase.php
in Testing Framework.
So we can remove it from test cases.
Fix two other gremlins also (unneeded comment and unused variable).

Resolves: #82401
Releases: master, 8.7, 7.6
Change-Id: I8144bae5a807d60123ef5228a44eba579a7705c7
Reviewed-on: https://review.typo3.org/54060
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
19 months ago[BUGFIX] PHP7.2: Check value for NULL before count 42/54042/2
Alexander Opitz [Thu, 7 Sep 2017 07:04:47 +0000 (09:04 +0200)]
[BUGFIX] PHP7.2: Check value for NULL before count

Resolves: #82275
Releases: master, 8.7, 7.6
Change-Id: I77dc811456f4bbd759e28c27284c4652ad09dd23
Reviewed-on: https://review.typo3.org/54042
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[BUGFIX] SplitButtons: Abort click event if requested 33/54033/2
Andreas Fernandez [Thu, 7 Sep 2017 18:13:17 +0000 (20:13 +0200)]
[BUGFIX] SplitButtons: Abort click event if requested

If any callback is registered by `SplitButtons.addPreSubmitCallback()` and
requests to stop the event by `stopPropagation()`, the event must be
aborted and not only possibly stacked events.
Additionally, the `preventExec` flag gets reset.

Resolves: #82355
Related: #77942
Releases: master, 8.7, 7.6
Change-Id: Ib8478ef4c51915365c804c1c408b3fc16a13da0b
Reviewed-on: https://review.typo3.org/54033
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
19 months ago[BUGFIX] PHP7.2: Check value for NULL before count 86/53986/2
Alexander Opitz [Thu, 7 Sep 2017 07:48:21 +0000 (09:48 +0200)]
[BUGFIX] PHP7.2: Check value for NULL before count

Resolves: #82322
Releases: master, 8.7, 7.6
Change-Id: I31f7bc2db61337e10be7ffd44ac294b77c44d07b
Reviewed-on: https://review.typo3.org/53986
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[TASK] Tests for rendering tt_content with FAL in Extbase 52/53952/2
Tymoteusz Motylewski [Wed, 6 Sep 2017 07:01:49 +0000 (09:01 +0200)]
[TASK] Tests for rendering tt_content with FAL in Extbase

Functional tests checking Extbase rendering of tt_content
records with FAL images.

Also fixes two typos in fixture data.

Resolves: #82298
Releases: master, 8.7, 7.6
Change-Id: I2cddf81a99b08df46a7fd03dc0e54b41b10452e5
Reviewed-on: https://review.typo3.org/53921
Reviewed-on: https://review.typo3.org/53952
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
19 months ago[TASK] Cover getContentObject related methods by unit tests. 43/53943/3
Tymoteusz Motylewski [Thu, 7 Sep 2017 11:17:43 +0000 (13:17 +0200)]
[TASK] Cover getContentObject related methods by unit tests.

Cover getContentObject related methods of ContentObjectRenderer
by unit tests.

Resolves: #80737
Releases: master, 8.7, 7.6
Change-Id: Ida957cd18c35d10cfc41f954ffdc15e0a04c03a8
Reviewed-on: https://review.typo3.org/53943
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
19 months ago[TASK] Add functional tests for rendering translated tt_content with FAL 19/53919/6
Tymoteusz Motylewski [Wed, 6 Sep 2017 08:51:47 +0000 (10:51 +0200)]
[TASK] Add functional tests for rendering translated tt_content with FAL

Functional tests checking TypoScript rendering of tt_content
records with FAL images.

It also backports small change to testing-framework, required for this
patch to work.
https://github.com/TYPO3/testing-framework/pull/30

Releases: master, 8.7, 7.6
Resolves: #82187
Change-Id: I5889ab13183b28dc2ff1ccc2c00c18f01ceacc76
Reviewed-on: https://review.typo3.org/53919
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
19 months ago[TASK] Set TYPO3 version to 7.6.23-dev 10/53910/2
Benni Mack [Tue, 5 Sep 2017 10:30:16 +0000 (12:30 +0200)]
[TASK] Set TYPO3 version to 7.6.23-dev

Change-Id: I20e4b22c6447b6c83d6c3850217f4c005f073861
Reviewed-on: https://review.typo3.org/53910
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
19 months ago[RELEASE] Release of TYPO3 7.6.22 09/53909/2 7.6.22 TYPO3_7-6-22 v7.6.22
Benni Mack [Tue, 5 Sep 2017 10:28:34 +0000 (12:28 +0200)]
[RELEASE] Release of TYPO3 7.6.22

Change-Id: Iaed11281eaa6ba0be86396a7dd9b412873cbfe49
Reviewed-on: https://review.typo3.org/53909
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
19 months ago[TASK] Apply CGL fixes 07/53907/2
Oliver Hader [Tue, 5 Sep 2017 09:56:31 +0000 (11:56 +0200)]
[TASK] Apply CGL fixes

Releases: master, 8.7, 7.6
Change-Id: I167c68d7d04dd4b8c876b1f6f8f939cf3d933478
Reviewed-on: https://review.typo3.org/53907
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
19 months ago[SECURITY] Disallow pht as file extension 96/53896/2
Susanne Moog [Tue, 5 Sep 2017 09:36:39 +0000 (11:36 +0200)]
[SECURITY] Disallow pht as file extension

Some web servers allow and accept pht files as PHP files
and execute them. Thus, pht should be part of the default
file deny pattern and PHP file extensions.

Resolves: #82078
Releases: master, 8.7, 7.6
Security-Commit: 548472d3d9dde59c6f9736666184b3853b734e0a
Security-Bulletin: TYPO3-CORE-SA-2017-007
Change-Id: Idcd7b13383c10935469f23826297f59a7362f693
Reviewed-on: https://review.typo3.org/53896
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
19 months ago[SECURITY] Remove version from default User-Agent 95/53895/2
Susanne Moog [Tue, 5 Sep 2017 09:36:34 +0000 (11:36 +0200)]
[SECURITY] Remove version from default User-Agent

TYPO3 does no longer send the concrete TYPO3 version as
part of the default User-Agent header when doing requests.

Resolves: #82072
Releases: master, 8.7, 7.6
Security-Commit: 5c4ded6108c4cb6c94ac11c58a4a9b9a1437ff25
Security-Bulletin: TYPO3-CORE-SA-2017-006
Change-Id: Icd6eb811ef96110d9c2636b5910a46186d248372
Reviewed-on: https://review.typo3.org/53895
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
19 months ago[SECURITY] Respect permissions of storages in a file collection 94/53894/2
Georg Ringer [Tue, 5 Sep 2017 09:36:29 +0000 (11:36 +0200)]
[SECURITY] Respect permissions of storages in a file collection

If a user creates a sys_file_collection record, only those
storage records must be shown which are allowed for the
user.

Resolves: #82029
Releases: master, 8.7, 7.6
Security-Commit: 3434e003fe61229e099fb80328ceda58e52c2eb0
Security-Bulletin: TYPO3-CORE-SA-2017-005
Change-Id: I41ea240e36b2a2834d385836477958652b3116a8
Reviewed-on: https://review.typo3.org/53894
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
19 months ago[SECURITY] Update moment.js and moment-timezone.js 93/53893/2
Susanne Moog [Thu, 31 Aug 2017 16:09:43 +0000 (18:09 +0200)]
[SECURITY] Update moment.js and moment-timezone.js

Change-Id: I23d48a3afa20c8511b867abcf54cafbeaa86bf0c
Resolves: #80735
Releases: 7.6
Reviewed-on: https://review.typo3.org/53893
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
19 months ago[SECURITY] Patch jQuery core to mitigate XSS possibility 92/53892/2
Susanne Moog [Thu, 31 Aug 2017 16:36:07 +0000 (18:36 +0200)]
[SECURITY] Patch jQuery core to mitigate XSS possibility

For more information see https://github.com/jquery/jquery/issues/2432

Change-Id: I3fbd8d957ffe4a12163b6d5a3425a85f99951d09
Resolves: #80736
Releases: 7.6
Reviewed-on: https://review.typo3.org/53892
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
19 months ago[BUGFIX] Check if LocalConfiguration.php is writable 78/53878/3
Benni Mack [Mon, 4 Sep 2017 15:13:20 +0000 (17:13 +0200)]
[BUGFIX] Check if LocalConfiguration.php is writable

In TYPO3 v8, the ConfigurationManager only checks if LocalConfiguration.php
is writaeble and not if typo3conf itself is writable.

Optimizing this check removes a warning in an environment where typo3conf/
is hardened to only have LocalConfiguration.php be modified and nothing else.
This change helps running TYPO3 v7 on platform.sh with fewer error messages.

You can compare this line of code with the same line in TYPO3 v8/master.

Resolves: #82289
Releases: 7.6
Change-Id: I7adca89eaa0d9f5b28e3f034f9452d97591a0d80
Reviewed-on: https://review.typo3.org/53878
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
19 months ago[BUGFIX] Prevent command exit status overflow to non-error status 42/53842/2
Oliver Eglseder [Wed, 30 Aug 2017 13:53:48 +0000 (15:53 +0200)]
[BUGFIX] Prevent command exit status overflow to non-error status

If a command throws an exception the exception code will be used
as exit code of the CLI command. This will result in an integer overflow
since exit codes are limited to 255, whereas 255 is reserved for PHP.
(See PHP exit documentation)

This commit checks if the return code will result in a 0 and change it to 1 instead.
In TYPO3 v9 the exit code is limited by Symfony Console so no change in master is needed.

Resolves: #82246
Releases: 8.7, 7.6
Change-Id: Id85fcbb61d6f0b4dd7f5ee9a1aaf55e648819b9c
Reviewed-on: https://review.typo3.org/53842
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[TASK] Functional tests for translated tt_content rendering in Extbase 58/53758/6
Tymoteusz Motylewski [Wed, 23 Aug 2017 18:54:20 +0000 (20:54 +0200)]
[TASK] Functional tests for translated tt_content rendering in Extbase

Introduce and Extbase version of the LocalizedContentRenderingTest.
It tests how language related TS settings influences content rendering.

Also changes exception code in ContentController, to make bamboo happy.

This test suite is documenting current behaviour, which is in fact
inconsistent with TypoScript tt_content rendering.

The next step is to provide a fix for extbase with a feature switch,
so this test suite will become a version with feature swich being disabled.

Resolves: #81823
Releases: master, 8.7, 7.6
Change-Id: Ia616e5089b0209cfb895216726f7192f39c88a45
Reviewed-on: https://review.typo3.org/53758
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
19 months ago[BUGFIX] Throw exception if encryption key is not set 85/53785/3
Helmut Hummel [Thu, 17 Aug 2017 16:41:39 +0000 (18:41 +0200)]
[BUGFIX] Throw exception if encryption key is not set

The encryption key is a vital part to ensure security
of TYPO3. Not having it set (by accident) can lead
to severe security issues.

Therefore enforce it to be set and throw an exception
in case it isn't, instead of just reporting a warning.

Releases: master, 8.7, 7.6
Resolves: #82169
Change-Id: I79c73558d0968ae89a2867d6d5264530f434e1a3
Reviewed-on: https://review.typo3.org/53785
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[TASK] travis-ci: Less parallel jobs 79/53779/2
Christian Kuhn [Tue, 22 Aug 2017 16:54:52 +0000 (18:54 +0200)]
[TASK] travis-ci: Less parallel jobs

travis-ci still chockes on functional tests, even if
splitting them among lots of single tasks. Run less
tests in parallel and split to ever more jobs to have
a higher chance for 10 minute output with given cpu
constraints.

Change-Id: Iafc984aaef96ec59422f9c48a74b7308dd7cd7d7
Resolves: #82170
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/53779
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[TASK] travis-ci: Split functional tests into more parts 54/53754/2
Christian Kuhn [Mon, 21 Aug 2017 11:43:47 +0000 (13:43 +0200)]
[TASK] travis-ci: Split functional tests into more parts

With the ever growing number of functional tests, we
split the suite into more parts to prevent
"No output has been received in the last 10 mins".

Change-Id: I55665c723f91f77347b376992f7a7a28da67b0fd
Resolves: #82145
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/53754
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[BUGFIX] Fix SQL error when bookmarking a sys_file_metadata record 47/53747/2
Wouter Wolters [Tue, 15 Aug 2017 18:05:14 +0000 (20:05 +0200)]
[BUGFIX] Fix SQL error when bookmarking a sys_file_metadata record

The type field contains a non existing field. Do not select this
field in the query.

Resolves: #82105
Releases: master, 8.7, 7.6
Change-Id: I9840712f4f87135740512ddf91a2b921b2515612
Reviewed-on: https://review.typo3.org/53747
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[BUGFIX] Prevent XSS in scheduler extension 37/53737/2
Wouter Wolters [Thu, 17 Aug 2017 11:37:20 +0000 (13:37 +0200)]
[BUGFIX] Prevent XSS in scheduler extension

Releases: master,8.7,7.6
Resolves: #82079
Change-Id: I21a6ebcff4ebd0c6f2d2c83e0aa6d9e2c03d32d9
Reviewed-on: https://review.typo3.org/53737
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
20 months ago[BUGFIX] Prevent XSS in PageLayoutController 34/53734/2
Wouter Wolters [Thu, 17 Aug 2017 11:32:01 +0000 (13:32 +0200)]
[BUGFIX] Prevent XSS in PageLayoutController

Correctly use htmlspecialchars for the link.

Resolves: #82077
Releases: master,8.7,7.6
Change-Id: I87ea4010aa187f5f601c31423fb1a0fc05a23107
Reviewed-on: https://review.typo3.org/53734
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
20 months ago[BUGFIX] Use DriverInterface instead AbstractDriver for method signature 84/53684/6
Franz Koch [Sat, 12 Aug 2017 08:14:28 +0000 (10:14 +0200)]
[BUGFIX] Use DriverInterface instead AbstractDriver for method signature

FAL drivers are not obligated to extend the AbstractDriver but only
to implement the DriverInterface. Having custom drivers that are not
based on AbstractDriver (because they are f.e. non hierarchical)
currently causes an Exception because PreviewProcessing expects an
instance of AbstractDriver as method argument.

This patch changes te signature from AbstractDriver to DriverInterface.

Resolves: #82114
Releases: master, 8.7, 7.6
Change-Id: Ia27c6c1c7510ecfe5afd0f7d8bedf81bf3d31c84
Reviewed-on: https://review.typo3.org/53684
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Changes indentation in new page wizard 26/53726/2
Thomas Löffler [Thu, 17 Aug 2017 11:22:22 +0000 (13:22 +0200)]
[BUGFIX] Changes indentation in new page wizard

On a page without subpages the indentation for
creating a new page below this page was wrong.
This fix changes the indentation in this special case.

Resolves: #72011
Releases: master, 8.7, 7.6
Change-Id: I505a96126ab8cf69ebae32c5a84aa9dbfa59c87f
Reviewed-on: https://review.typo3.org/53726
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Set language uid for inline children by default 06/53206/6
Susanne Moog [Mon, 3 Jul 2017 06:02:23 +0000 (08:02 +0200)]
[BUGFIX] Set language uid for inline children by default

On creating child records for an inline field, currently no language
is set and the children are stored with sys_language_uid 0. This patch
adds the proper configuration to ensure a default children language
according to its parent language.

Resolves: #48883
Resolves: #76048
Resolves: #73609
Releases: master, 7.6
Change-Id: Id9e449dbb06fed11670eedec45a92529fb4acb6f
Reviewed-on: https://review.typo3.org/53206
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
20 months ago[BUGFIX] YouTubeRenderer "controls" option 09/53709/2
Česlav Przywara [Mon, 7 Aug 2017 09:40:11 +0000 (11:40 +0200)]
[BUGFIX] YouTubeRenderer "controls" option

The "controls" parameter appended to YouTube embed URL is either set to
value provided in $options array or to default backwards-compatible
value (controls=2).

Specifically, if controls option is set to 0, the controls parameter
must be present in URL, because default value for it is 1.

Fix is applied to related unit test too.

Resolves: #82044
Releases: master, 8.7, 7.6
Change-Id: I1519b5f515f85eb473f590762171b250d26f32c4
Reviewed-on: https://review.typo3.org/53708
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-on: https://review.typo3.org/53709

20 months ago[TASK] Cover rendering of hidden tt_content with functional tests 03/53703/2
Tymoteusz Motylewski [Mon, 31 Jul 2017 15:16:14 +0000 (17:16 +0200)]
[TASK] Cover rendering of hidden tt_content with functional tests

Two new cases are covered in LocalizedContentRenderingTest:
- when record is hidden in default language but its translation
  is not hidden
- when visible default language record has hidden translation

Resolves: #82012
Releases: master, 8.7, 7.6
Change-Id: I924c0082f010bf9d9de642111cc3d65844f00f1f
Reviewed-on: https://review.typo3.org/53703
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Readd used fields in css_styled_content 66/53666/3
Nicole Cordes [Wed, 9 Aug 2017 15:08:18 +0000 (17:08 +0200)]
[BUGFIX] Readd used fields in css_styled_content

These fields were removed from EXT:frontend and moved to compatibility6.
But both fields are still used by csc and should be provided by the
extension itself.

Resolves: #80609
Releases: 7.6
Change-Id: I07db632ab851dac94749924dd3d2fbadd8016802
Reviewed-on: https://review.typo3.org/53666
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
20 months ago[BUGFIX] Update FAL metadata if file is added with REPLACE method 54/53654/2
Johannes Kasberger [Mon, 7 Aug 2017 16:16:31 +0000 (18:16 +0200)]
[BUGFIX] Update FAL metadata if file is added with REPLACE method

Make sure the meta data is updated whenever a file is added to
a storage with DuplicationBehavior::REPLACE. This is important
as otherwise the internally stored file size is wrong!

Resolves: #78009
Releases: master, 8.7, 7.6
Change-Id: I93b0700afc62268f8c7a61eea7183f86a87a075e
Reviewed-on: https://review.typo3.org/53654
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
20 months ago[TASK] Functional test for tt_content rendering 33/53633/4
Tymoteusz Motylewski [Mon, 31 Jul 2017 16:42:59 +0000 (18:42 +0200)]
[TASK] Functional test for tt_content rendering

Add functional tests for tt_content rendering
with different combinations of TypoScript language
settings sys_language_overlay and sys_language_mode.

It also backports a change from testing framework
which is required by this patch
 https://github.com/TYPO3/testing-framework/pull/23

Resolves: #81185
Releases: master, 8.7, 7.6
Change-Id: I7df5b48a2baa3a52f8c6103b0657b21226c6ea5c
Reviewed-on: https://review.typo3.org/53633
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
20 months ago[BUGFIX] Fix folder element browser expand/collapse 97/53497/2
Wolfgang Klinger [Fri, 14 Jul 2017 21:07:29 +0000 (23:07 +0200)]
[BUGFIX] Fix folder element browser expand/collapse

TCA type=group/internal_type=folder

Resolves: #81728
Releases: 7.6
Change-Id: I0c527c13a3632635870e4451a4e7d61eb7bf4443
Reviewed-on: https://review.typo3.org/53497
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: DANIEL Rémy <dogawaf@no-log.org>
Tested-by: DANIEL Rémy <dogawaf@no-log.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[TASK] Fix reST syntax in core 7.6 changelogs 31/53631/2
Martin Bless [Mon, 31 Jul 2017 13:03:14 +0000 (15:03 +0200)]
[TASK] Fix reST syntax in core 7.6 changelogs

Change-Id: Ife6b1e33dd4cd37f122a65a5bb36df3a67f2f796
Resolves: #82011
Releases: 7.6
Reviewed-on: https://review.typo3.org/53631
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>