Packages/TYPO3.CMS.git
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>
19 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>
19 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>
19 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>
19 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>
19 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>
19 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>
19 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>
20 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>
20 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>
20 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>
20 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>
20 months ago[BUGFIX] Catch error in GeneralUtility::validEmail and GeneralUtility:isValidUrl 26/53626/2
Nicole Cordes [Mon, 5 Jun 2017 12:32:31 +0000 (14:32 +0200)]
[BUGFIX] Catch error in GeneralUtility::validEmail and GeneralUtility:isValidUrl

If a wrong email address or URL is parsed and the domain cannot be converted,
an exception is thrown by \Mso\IdnaConvert\IdnaConvert::encode(). This
exception needs to be caught.

Resolves: #81471
Releases: master, 8.7, 7.6
Change-Id: I76f9b8898655d9220e5176a60f388067a6c493b3
Reviewed-on: https://review.typo3.org/53626
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
21 months ago[TASK] Set TYPO3 version to 7.6.22-dev 91/53591/2
Benni Mack [Tue, 25 Jul 2017 16:55:06 +0000 (18:55 +0200)]
[TASK] Set TYPO3 version to 7.6.22-dev

Change-Id: I72f40ace329660419159fef87a2747a58b1cc4e7
Reviewed-on: https://review.typo3.org/53591
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
21 months ago[RELEASE] Release of TYPO3 7.6.21 90/53590/2 7.6.21 TYPO3_7-6-21 v7.6.21
Benni Mack [Tue, 25 Jul 2017 16:50:58 +0000 (18:50 +0200)]
[RELEASE] Release of TYPO3 7.6.21

Change-Id: Id9c975746a31f9d21d8230b9bf4334ebd7d6955f
Reviewed-on: https://review.typo3.org/53590
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
21 months ago[BUGFIX] CSS Styled Content should render image captions 87/53587/2
Benni Mack [Tue, 25 Jul 2017 13:40:55 +0000 (15:40 +0200)]
[BUGFIX] CSS Styled Content should render image captions

When adding two CEs with one image each (textpic), the
TypoScript register is using faulty data from file:current:description
for the caption.

This behaviour was fixed with #77645 but now shows that
CSS Styled Content did use this part in a wrong way instead
of using the custom register that is explictly used before.

Resolves: #81866
Releases: 8.7, 7.6
Change-Id: Ia61556a7e65d6a5b2ed0e13db0fbd876c279356e
Reviewed-on: https://review.typo3.org/53587
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
21 months ago[BUGFIX] Outdated resource pointers crash for TCA type group 46/53546/2
Oliver Hader [Wed, 19 Jul 2017 12:26:15 +0000 (14:26 +0200)]
[BUGFIX] Outdated resource pointers crash for TCA type group

Using TCA type "group" with internal_type "folder" crashes in
the backend if existing resource pointers have been moved in
the filesystem (e.g. renamed or deleted).

Resolves: #81918
Releases: master, 8.7, 7.6
Change-Id: I1aadee90d1fe81cd821cc3df594351dbfc101482
Reviewed-on: https://review.typo3.org/53546
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
21 months ago[BUGFIX] Escape value in FormEngine.removeOption selector 72/53572/2
Susanne Moog [Mon, 24 Jul 2017 07:13:53 +0000 (09:13 +0200)]
[BUGFIX] Escape value in FormEngine.removeOption selector

Change-Id: I3373078a78cc65cd27fcff7d38ded5291cdc5f3b
Resolves: #81806
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/53572
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: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
21 months agoRevert "[BUGFIX] Escape value in FormEngine.removeOption selector" 71/53571/3
Susanne Moog [Mon, 24 Jul 2017 06:27:04 +0000 (08:27 +0200)]
Revert "[BUGFIX] Escape value in FormEngine.removeOption selector"

This reverts commit be38f08900bf927c1a3196d3a5e5c876db57828f.

escapeSelector is not available in jQuery 2.x

Change-Id: I905d0ecb81d85456f6c1c8835f737405b6e60174
Reviewed-on: https://review.typo3.org/53571
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
21 months ago[BUGFIX] Unset file properties after signals are triggered 69/53569/2
Helmut Hummel [Sun, 16 Jul 2017 18:06:23 +0000 (20:06 +0200)]
[BUGFIX] Unset file properties after signals are triggered

Unsetting file properties needs to happen AFTER
the storage deleted the file, because the storage emits a signal,
which passes the file object to the slots,
which may need all file properties of the deleted file.

Resolves: #81926
Related: #80359
Releases: master, 8.7, 7.6
Change-Id: Ie8e25b30dd99d1ed2afb8ca7b1cc83797887de98
Reviewed-on: https://review.typo3.org/53569
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
21 months ago[BUGFIX] MM Relation with add wizard resets the MM Relation 15/53415/2
Thomas Hohn [Tue, 7 Mar 2017 14:22:07 +0000 (15:22 +0100)]
[BUGFIX] MM Relation with add wizard resets the MM Relation

Use the TcaDatabaseRecord instead of OnTheFly instance. This
in done to ensure what we have the same data as in
TYPO3\CMS\Backend\Controller\EditDocumentController makeEditForm
method.

Resolves: #76863
Relates: #80172
Releases: master, 8.7, 7.6
Change-Id: Ie733491e65169101fda52465e9b980b3db9e20c2
Reviewed-on: https://review.typo3.org/53415
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
21 months ago[BUGFIX] Escape value in FormEngine.removeOption selector 63/53563/2
Wolfgang Klinger [Fri, 14 Jul 2017 21:47:49 +0000 (23:47 +0200)]
[BUGFIX] Escape value in FormEngine.removeOption selector

Resolves: #81806
Releases: master, 8.7, 7.6
Change-Id: I1efc630a5579be8c8a1569667253f2572b9261ed
Reviewed-on: https://review.typo3.org/53563
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
21 months ago[BUGFIX] Don't duplicate thumbnails in file list and file selector 09/53509/3
Tymoteusz Motylewski [Tue, 4 Jul 2017 20:03:27 +0000 (22:03 +0200)]
[BUGFIX] Don't duplicate thumbnails in file list and file selector

Default width and height for thumbnails is now applied in ProcessedFile
thus configuration column of the sys_file_processedfile table is filled
even if empty configuration was passed to File->Process().

This prevents thumbnails with the same content but different names being
generated, thus improves performance.

Resolves: #81776
Releases: master, 8.7, 7.6
Change-Id: Ie001e3d6404b52c251d9ed24bcac461ed75050b8
Reviewed-on: https://review.typo3.org/53509
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
21 months ago[BUGFIX] Replace empty value constants in TypoScript Object-Browser 92/53492/2
Pascal Hinz [Wed, 5 Jul 2017 12:19:26 +0000 (14:19 +0200)]
[BUGFIX] Replace empty value constants in TypoScript Object-Browser

After the constants replacement was changed to a regular expression,
the expression doesn't match empty value constants and leaves the
markers untouched. With this bugfix the regular expression also
replaces empty values.

Resolves: #81773
Releases: master, 8.7, 7.6
Change-Id: I0346b2d0d81b09dc63e52e34f28581dc40cd1fac
Reviewed-on: https://review.typo3.org/53492
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
21 months ago[BUGFIX] Add TER replacements for extracted extensions 34/53434/4
Helmut Hummel [Tue, 11 Jul 2017 10:26:26 +0000 (12:26 +0200)]
[BUGFIX] Add TER replacements for extracted extensions

When extracting system extensions from typo3/cms and publishing
them to TER, replacements for these must be added to older
TYPO3 versions.

This is required so that TER extensions, that depend on these former
system extensions, can be required with composer along with an older
TYPO3 version.

Resolves: #81832
Releases: 8.7, 7.6
Change-Id: Ia7cab575a3b6e48e3cf15732d4fa93a72c784385
Reviewed-on: https://review.typo3.org/53434
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
21 months ago[TASK] Set TYPO3 version to 7.6.21-dev 90/53390/2
Benni Mack [Tue, 4 Jul 2017 06:38:43 +0000 (08:38 +0200)]
[TASK] Set TYPO3 version to 7.6.21-dev

Change-Id: I681f52006af409b3430b2c39d90ad62aefde796c
Reviewed-on: https://review.typo3.org/53390
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
21 months ago[RELEASE] Release of TYPO3 7.6.20 89/53389/2 7.6.20 TYPO3_7-6-20 v7.6.20
Benni Mack [Tue, 4 Jul 2017 06:37:31 +0000 (08:37 +0200)]
[RELEASE] Release of TYPO3 7.6.20

Change-Id: I60e2cb94a00d9add16b7609e6002ab229a341c0e
Reviewed-on: https://review.typo3.org/53389
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
21 months ago[BUGFIX] Correct the replace section of sysext:lang 50/53350/2
Anja Leichsenring [Wed, 28 Jun 2017 19:05:09 +0000 (21:05 +0200)]
[BUGFIX] Correct the replace section of sysext:lang

The extension name and folder is lang, not language.

Change-Id: Ieb11fa16af67a9e203c3c4e5dc96acca5501567f
Resolves: #81733
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/53350
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
21 months ago[BUGFIX] Fully initialize ContentObjectRenderer in HtmlViewHelper 38/53338/2
Torsten Schrade [Tue, 20 Jun 2017 04:53:49 +0000 (06:53 +0200)]
[BUGFIX] Fully initialize ContentObjectRenderer in HtmlViewHelper

Add a call to the start function of ContentObjectRenderer after
instantiation. This is necessary to get all hooks fully initialized.

Resolves: #81624
Resolves: #75314
Releases: master, 8.7, 7.6
Change-Id: I75d30e860cd77a1b233d4383a3e57afe9a34ec54
Reviewed-on: https://review.typo3.org/53338
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: Torsten Schrade <schradt@uni-mainz.de>
Tested-by: Torsten Schrade <schradt@uni-mainz.de>
21 months ago[BUGFIX] Validate FormEngine fields on load 28/53328/4
Michael Stucki [Mon, 26 Jun 2017 09:42:34 +0000 (11:42 +0200)]
[BUGFIX] Validate FormEngine fields on load

Make sure the validation of FormEngine fields is triggered on load.
This bug does not occur in newer versions.

Releases: 7.6
Resolves: #81520
Change-Id: Iaeff5c82350fd529e4ad85af1477b193146ae0f0
Reviewed-on: https://review.typo3.org/53328
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
22 months ago[TASK] bamboo 7.6 test specs and pgsql install test 19/53319/2
Christian Kuhn [Thu, 15 Jun 2017 17:08:27 +0000 (19:08 +0200)]
[TASK] bamboo 7.6 test specs and pgsql install test

Backport of the bamboo spec patches from master to
7.6 to manage the build plan.

Change-Id: Icd4c84fef396a1745e72be4fc8396284fbe1afe4
Resolves: #81589
Resolves: #81660
Resolves: #81683
Releases: 7.6
Reviewed-on: https://review.typo3.org/53319
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
22 months ago[BUGFIX] Fix namespace of `SaltedPasswordsUtility` in documentation 02/53302/2
Andreas Fernandez [Wed, 21 Jun 2017 14:55:43 +0000 (16:55 +0200)]
[BUGFIX] Fix namespace of `SaltedPasswordsUtility` in documentation

Resolves: #81655
Releases: master, 8.7, 7.6
Change-Id: I4fe1b16b6e4c2bdd26fd05143e7b0ead91445223
Reviewed-on: https://review.typo3.org/53302
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
22 months ago[TASK] Set TYPO3 version to 7.6.20-dev 86/53286/2
TYPO3 Release Team [Tue, 20 Jun 2017 12:44:57 +0000 (14:44 +0200)]
[TASK] Set TYPO3 version to 7.6.20-dev

Change-Id: Ia7a22c9ea92f3a90e5d5c132692777471125b39a
Reviewed-on: https://review.typo3.org/53286
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
22 months ago[RELEASE] Release of TYPO3 7.6.19 85/53285/2 7.6.19 TYPO3_7-6-19
TYPO3 Release Team [Tue, 20 Jun 2017 12:43:51 +0000 (14:43 +0200)]
[RELEASE] Release of TYPO3 7.6.19

Change-Id: Ibb18cb05be31716498f80b11ed2ec49f5cf5287f
Reviewed-on: https://review.typo3.org/53285
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
22 months ago[BUGFIX] Prevent uncaught exception in Import/Export controller 82/53282/3
Nicole Cordes [Tue, 4 Apr 2017 13:26:43 +0000 (15:26 +0200)]
[BUGFIX] Prevent uncaught exception in Import/Export controller

Currently an error is thrown if no post data was sent to the
ImportExportController. This can easily happen if a t3d file should
be uploaded but is larger than the configured post_max_size of the
server. This patch checks the incoming information, sets the import
action as default and displays an information to the user that he/she
may have tried to upload a file that was too large.

Resolves: #80681
Releases: master, 8.7, 7.6
Change-Id: I561dbf6abd74acace3eff179a513b4f9128d792d
Reviewed-on: https://review.typo3.org/53282
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
22 months ago[BUGFIX] Select suitable distribution version in em 49/53249/6
Christian Kuhn [Sun, 18 Jun 2017 11:48:56 +0000 (13:48 +0200)]
[BUGFIX] Select suitable distribution version in em

The distribution installer selects current_version=1
extensons only and fails in core v7 since the current
introduction version is not compatible with v7 anymore.

The patch changes version selection a bit to first find
all distribution extensions, then filters those suitable
for given core version, then filters latest version of
the distribution extension.

Installing introduction package in 7.6 works again.

Change-Id: I11f2def2ea606ada5f7c3efd3043f59bd4be0452
Resolves: #81068
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/53249
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
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: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
22 months ago[BUGFIX] Remove possibly undefined constant from test bootstraps 39/53239/2
Anja Leichsenring [Sat, 17 Jun 2017 13:09:53 +0000 (15:09 +0200)]
[BUGFIX] Remove possibly undefined constant from test bootstraps

The constant LF might not be defined in functional and unit test
bootstrap by the time the script terminates with an error message.

Replacing the usage of this constant with the native value for a
linebreak causes the same result for the error message, but prevents
the additional and confusing messages about the not existing constant.

Change-Id: I66bd2092875e33fa8bb93a2a57c54daeaeb15ecf
Resolves: #81599
Releases: 7.6
Reviewed-on: https://review.typo3.org/53239
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
22 months ago[BUGFIX] Remove manually set database row 10/53210/2
Susanne Moog [Wed, 14 Jun 2017 08:49:55 +0000 (10:49 +0200)]
[BUGFIX] Remove manually set database row

databaseRow should not be set incompletely in a
FormDataProvider or controller as subsequent
processing may rely on the complete database
row being set (for example language fields).

Resolves: #80855
Related: #80100
Release: master, 8.7, 7.6
Change-Id: I139b426c6598a93a2012cae088e3cbece4e1a83b
Reviewed-on: https://review.typo3.org/53210
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
22 months ago[BUGFIX] Prefix single digit dates with 0 instead of whitespace 92/53192/3
Sascha Egerer [Mon, 12 Jun 2017 11:05:46 +0000 (13:05 +0200)]
[BUGFIX] Prefix single digit dates with 0 instead of whitespace

The backend query view, used for csv exports and lists, uses a date
format where single digit days of a date value are prefixed with a
whitespace instead of a 0.
This ends up in useless CSV exports that can not be interpreted by
tools like Excel.

Change-Id: Ie11c5f8a923eb412f014f06df528a2aa0101a0d4
Resolves: #81551
Releases: master,8.7,7.6
Reviewed-on: https://review.typo3.org/53192
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
22 months ago[BUGFIX] Wrong computed baseURL with FE editing RTE 42/52142/2
Jigal van Hemert [Fri, 24 Mar 2017 14:01:08 +0000 (15:01 +0100)]
[BUGFIX] Wrong computed baseURL with FE editing RTE

Frontend editing button for editing a content now
url encode the return URL. The HTMLAREA baseURL
computation now excludes query parameters and anchor
from the document URL.

Resolves: #79568
Related: #65705
Related: #65608
Releases: 7.6
Change-Id: I57ae5257ab62cff1398a0b2d088fe7ba3b126c76
Reviewed-on: https://review.typo3.org/52142
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Elmar Hinz <t3elmar@gmail.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
22 months ago[BUGFIX] Return http_code for HEAD requests in GeneralUtility::getUrl 94/51994/4
Nicole Cordes [Fri, 10 Mar 2017 00:07:49 +0000 (01:07 +0100)]
[BUGFIX] Return http_code for HEAD requests in GeneralUtility::getUrl

As there is no content available for a HEAD request
GeneralUtility::getUrl currently returns an error message for HEAD
requests instead of proper http_code information. This patch ensures
all information are available.

Resolves: #80220
Releases: 7.6
Change-Id: I64108a16846a294f0bbee07289afcb79474833ea
Reviewed-on: https://review.typo3.org/51994
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>
22 months ago[BUGFIX] Detect upper limit of database server version 48/53148/4
Markus Klein [Wed, 7 Jun 2017 08:44:55 +0000 (10:44 +0200)]
[BUGFIX] Detect upper limit of database server version

Resolves: #81341
Releases: 7.6
Change-Id: Ia188901497d29ff2a2274a4bf220e7c58e665487
Reviewed-on: https://review.typo3.org/53148
Reviewed-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Tested-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
22 months ago[BUGFIX] FormEngine: Show correct error message (render)Type is unknown 43/53143/2
Markus Klein [Tue, 6 Jun 2017 14:40:45 +0000 (16:40 +0200)]
[BUGFIX] FormEngine: Show correct error message (render)Type is unknown

Issue correct error message if the renderType (or the type) is unknown.
The message now includes also the renderType, if specified.

Releases: master, 8.7, 7.6
Resolves: #81485
Change-Id: I44e736a546fc27733a8c8df14089dd25dc172f2b
Reviewed-on: https://review.typo3.org/53143
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
22 months ago[TASK] Add sitemap to sysext:core/Documentation 35/53135/2
Martin Bless [Tue, 6 Jun 2017 07:55:48 +0000 (09:55 +0200)]
[TASK] Add sitemap to sysext:core/Documentation

Resolves: #81477
Releases: master, 8.7, 7.6
Change-Id: Ie98fcc81c386fe5704c669f36220827f7cfbd2e5
Reviewed-on: https://review.typo3.org/53135
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
22 months ago[BUGFIX] Hide empty descriptions in textmedia in page module 95/53095/2
Jigal van Hemert [Sat, 3 Jun 2017 15:30:39 +0000 (17:30 +0200)]
[BUGFIX] Hide empty descriptions in textmedia in page module

In the Page module with textmedia content elements the descriptions
are shown below the thumbnails of linked media. If there is no
description an empty line is now suppressed.

Resolves: #81408
Releases: master, 8.7, 7.6
Change-Id: I9f342908f179550bcf2156328117c464bb8c672f
Reviewed-on: https://review.typo3.org/53095
Reviewed-by: Jo Hasenau <info@cybercraft.de>
Tested-by: Jo Hasenau <info@cybercraft.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
22 months ago[BUGFIX] Avoid unnecessarily fetching file for processing 33/53033/2
Helmut Hummel [Sat, 20 May 2017 09:29:45 +0000 (11:29 +0200)]
[BUGFIX] Avoid unnecessarily fetching file for processing

Files that are not configured as images, won't be processed,
but are still unnecessarily fetched for processing.

To avoid this, we change the processing API, that fetching
only happens, if the file is then used by following code.

In addition we avoid showing a non descriptive thumb
in FileInfoElement, which is used when editing meta data of the file.

Resolves: #81279
Releases: master, 8.7, 7.6
Change-Id: Ie68aa02b1b6149ddb7fbda346ac312d3646e260c
Reviewed-on: https://review.typo3.org/53033
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
22 months ago[BUGFIX] Ensure correct URL generation with http_build_query() 66/52966/2
Markus Klein [Wed, 24 May 2017 12:09:42 +0000 (14:09 +0200)]
[BUGFIX] Ensure correct URL generation with http_build_query()

http_build_query() internally uses the PHP setting arg-separator.output
to identify the URL parameter separator.
This does not seem appropriate for URLs generated by TYPO3.

Use the optional parameters of http_build_query() to get the desired
functionality.

Releases: master, 8.7, 7.6
Resolves: #81366
Change-Id: Ie2df9207b1967257d6327ff1103503e6a58d5cdf
Reviewed-on: https://review.typo3.org/52966
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
23 months ago[BUGFIX] DBAL: Assure all optional query array parameters are set 86/52386/4
Dan Untenzu [Fri, 7 Apr 2017 13:02:32 +0000 (15:02 +0200)]
[BUGFIX] DBAL: Assure all optional query array parameters are set

The method »exec_SELECT_queryArray« uses an incoming array and
passes all possible query array keys on to the »exec_SELECTquery« method.
If not all keys were set, then »NULL« is passed. It should pass an
empty string however.

To avoid exceptions thrown due to NULL values, the method
now provides a fallback for all optional array keys.

Resolves: #80749
Releases: 7.6
Change-Id: I8cad33503f752062f771a53bade1188b6351d56d
Reviewed-on: https://review.typo3.org/52386
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
23 months ago[BUGFIX] Use EXEC_TIME for sys_log entry instead of time() 40/52840/2
Helmut Hummel [Wed, 17 May 2017 12:11:04 +0000 (14:11 +0200)]
[BUGFIX] Use EXEC_TIME for sys_log entry instead of time()

DataHandler does a lookup in sys_log table after it performed
its operations to find relevant error entries for the current request.

It determines relevance by looking for entries with the same
timestamp as $GLOBALS['EXEC_TIME'].

However error log entries are written using time(). Now if the
DataHandler operations take longer than one second, or the log entry
is written directly before a next tick, it can happen, that errors
will not be detected during the lookup process.

Since such errors are exposed to the user, it can happen that an operation
fails, but the users will not be notified.

Fix this by using $GLOBALS['EXEC_TIME'] when writing the log entries.

Resolves: #81244
Releases: master, 8.7, 7.6
Change-Id: Ic22b5f51ba4e10991be4a59ae28cb1f77a91c71e
Reviewed-on: https://review.typo3.org/52833
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-on: https://review.typo3.org/52840
Tested-by: TYPO3com <no-reply@typo3.com>
23 months ago[BUGFIX] HtmlArea: Use getAttribute() directly 14/52814/2
Benni Mack [Wed, 17 May 2017 08:17:07 +0000 (10:17 +0200)]
[BUGFIX] HtmlArea: Use getAttribute() directly

RTE HtmlArea uses getAttributeNode() for gecko
browsers, however this is deprecated in current
Firefox versions.

To just get the value of an attribute getAttribute()
can be used instead:

See the usages here:
- https://www.w3schools.com/jsref/met_element_getattributenode.asp
- https://www.w3schools.com/jsref/met_element_getattribute.asp

Resolves: #80934
Releases: 7.6
Change-Id: Ic3962ad7339a56c8d0e7b94a8aaba27a56744bf8
Reviewed-on: https://review.typo3.org/52814
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
23 months ago[TASK] Unit test fails with recent PHP releases 19/52819/2
Christian Kuhn [Wed, 17 May 2017 10:24:18 +0000 (12:24 +0200)]
[TASK] Unit test fails with recent PHP releases

Recent PHP unit minor upgrades fixed a bug in DateTimeZone reflection
which is used as test object in our ObjectAccess reflection tests.
Make the test a bit less strict to cope with youngest and older
PHP versions at the same time.

Change-Id: Iaf2290872938f4c04a3307b0fe73c933ca7d69d8
Resolves: #81239
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/52819
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
23 months ago[BUGFIX] Unset current file in generic Content Object Renderer 12/52812/2
Benjamin Serfhos [Mon, 29 Aug 2016 08:38:22 +0000 (10:38 +0200)]
[BUGFIX] Unset current file in generic Content Object Renderer

When function is done, reset current file for further processing

Resolves: #77645
Releases: master, 8.7, 7.6
Change-Id: Ibae2e3221c51c8cb45f92b0bc7dbe395cc809605
Reviewed-on: https://review.typo3.org/52812
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
23 months ago[BUGFIX] Add UI blocker to prevent loading issues in FormEngine 77/52777/2
Frank Naegler [Wed, 26 Apr 2017 13:19:37 +0000 (15:19 +0200)]
[BUGFIX] Add UI blocker to prevent loading issues in FormEngine

Resolves: #80672
Releases: master, 8.7, 7.6
Change-Id: I52da6df109531f2a29acbb99b7871dc6227974b7
Reviewed-on: https://review.typo3.org/52777
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: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
23 months ago[TASK] Throw explicit exception on missing link handler class 93/52793/2
Mathias Brodala [Fri, 12 May 2017 09:07:19 +0000 (11:07 +0200)]
[TASK] Throw explicit exception on missing link handler class

This adds the link handler identifier to the error message which
makes it easier to fix the missing class reference.

Resolves: #81205
Releases: master, 8.7, 7.6
Change-Id: I0ce610f7ec167704d5cbc5de20d43639c18e3fc1
Reviewed-on: https://review.typo3.org/52793
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
23 months ago[BUGFIX] DBAL: Ensure correct mysqli resource for admin_get_tables query 06/52106/2
Nicole Cordes [Mon, 20 Mar 2017 18:01:34 +0000 (19:01 +0100)]
[BUGFIX] DBAL: Ensure correct mysqli resource for admin_get_tables query

The admin_get_tables method tries to fetch all available database tables
from the default connection. But using the native mode, the query is
executed with the $this->lastHandlerKey link which might not be the
default connection. This patch ensures the correct mysqli resource is
used to resolve the database queries.

Resolves: #80358
Releases: 7.6
Change-Id: I3b8224e5377aad64e556052bbea37dae39ca1bb7
Reviewed-on: https://review.typo3.org/52106
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Elmar Hinz <t3elmar@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
23 months ago[BUGFIX] Use renderType selectSingle for field t3_tables of sys_action 70/52770/2
Georg Ringer [Wed, 3 May 2017 03:48:50 +0000 (05:48 +0200)]
[BUGFIX] Use renderType selectSingle for field t3_tables of sys_action

The field t3_tables of sys_action must be rendered as a single
select field. This was also the behaviour before the regression
introduced with #69822.

Resolves: #81119
Releases: master, 8.7, 7.6
Change-Id: I2c885ea3494d7e2be22fad6df1b2a4791991551b
Reviewed-on: https://review.typo3.org/52770
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
23 months ago[BUGFIX] Reload page tree after deleting pages 00/52700/3
Gianluigi Martino [Mon, 9 May 2016 12:56:41 +0000 (14:56 +0200)]
[BUGFIX] Reload page tree after deleting pages

After deleting a subpage the page tree doesn't reload so you don't have
the delete button in context menu from the parent page. With this bugfix
the page tree reloads after deleting pages and deleting parent pages is
possible again.

Change-Id: I9450261052ce07155fc2eff550b4547564dbf880
Resolves: #75436
Releases: 7.6
Reviewed-on: https://review.typo3.org/52700
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: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
23 months ago[BUGFIX] INCLUDE_TYPOSCRIPT condition use correct ConditionMatcher 61/52761/2
Andreas Allacher [Wed, 22 Mar 2017 07:25:35 +0000 (08:25 +0100)]
[BUGFIX] INCLUDE_TYPOSCRIPT condition use correct ConditionMatcher

In order to support all conditions correctly
whether one is in FE or BE the condition
has to be matched against the correct
ConditionMatcher instead of always
using the one for BE.

Releases: master, 8.7, 7.6
Resolves: #80385
Change-Id: Id5e216da40000b408f96822855d97799f254d0fb
Reviewed-on: https://review.typo3.org/52761
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
23 months ago[BUGFIX] Add missing SQL index for EM repository update 43/52743/2
Claus Due [Mon, 1 May 2017 15:29:51 +0000 (17:29 +0200)]
[BUGFIX] Add missing SQL index for EM repository update

Due to the large number of extensions, the query that
checks if an extension exists needs an index that
covers all of the columns used for joining/clauses.

Resolves: #81097
Releases: 7.6, 8.7, master
Change-Id: I73bd78a7d923a1e49594374b0dd8fee270fa30a3
Reviewed-on: https://review.typo3.org/52743
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
23 months ago[BUGFIX] Load PageTSconfig in localconf for LinkHandler 48/52648/3
Benni Mack [Fri, 28 Apr 2017 09:59:34 +0000 (11:59 +0200)]
[BUGFIX] Load PageTSconfig in localconf for LinkHandler

The pageTSconfig for LinkHandler is only loaded in ext_tables.php
which means it is only evaluated in the Frontend when a Backend User
is logged in.

However the functionality did work before, if a compiled pageTS was
available in the cache. This could have happened that the pageTS cache
was filled while a BE user was logged in, so it worked (but only in
random cases).

Resolves: #81057
Releases: master, 8.7, 7.6
Change-Id: Ib7cd62f82dff3a3b891dcb36e85c36b9a062142a
Reviewed-on: https://review.typo3.org/52648
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Marc Bastian Heinrichs <typo3@mbh-software.de>
Tested-by: Marc Bastian Heinrichs <typo3@mbh-software.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
23 months ago[BUGFIX] Add `config.contentObjectExceptionHandler` to tsref.xml 99/52699/2
Andreas Fernandez [Mon, 1 May 2017 09:41:28 +0000 (11:41 +0200)]
[BUGFIX] Add `config.contentObjectExceptionHandler` to tsref.xml

The TypoScript setting `config.contentObjectExceptionHandler` was
introduced in TYPO3 7.0 but is still missing in tsref.xml. This patch
adds the configuration.

Resolves: #81093
Releases: master, 8.7, 7.6
Change-Id: Ib46891699aca91329aef302d87e562ac317892f2
Reviewed-on: https://review.typo3.org/52699
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
23 months ago[TASK] Show copy and cut buttons in filelist options 88/52688/2
Gianluigi Martino [Thu, 20 Apr 2017 16:15:24 +0000 (18:15 +0200)]
[TASK] Show copy and cut buttons in filelist options

At the moment it is only possible to copy or cut files / folder over the
clickmenu. With this patch the copy and cut functions are also listed as
buttons in option list.

Resolves: #80920
Releases: master, 8.7, 7.6
Change-Id: I75d4b8666858b78c4ed01514d43af4471cef5c2e
Reviewed-on: https://review.typo3.org/52688
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
23 months ago[BUGFIX] Do not prefix FAL file links with absRefPrefix 15/52615/2
Helmut Hummel [Thu, 6 Apr 2017 20:31:36 +0000 (22:31 +0200)]
[BUGFIX] Do not prefix FAL file links with absRefPrefix

When using an external FAL storage the public URLs of files contain a scheme.
Check for the scheme before prefixing with absRefPrefix
in file link builder.

Resolves: #80740
Releases: 7.6, master
Change-Id: I98c1027931f6c4c05561e35d1d7938aefd66eda0
Reviewed-on: https://review.typo3.org/52615
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>