Packages/TYPO3.CMS.git
2 years ago[BUGFIX] Change Indexed Search index_phash.data_filename column length 44/50144/2
Karol Lamparski [Sat, 8 Oct 2016 12:11:03 +0000 (14:11 +0200)]
[BUGFIX] Change Indexed Search index_phash.data_filename column length

Make database field index_phash.data_filename longer, because varchar(255) was not enough for some URLs.

Resolves: #77970
Releases: master, 7.6
Change-Id: I6cea9c2f9debecbf482bc78cd4a2867d8f9c5e47
Reviewed-on: https://review.typo3.org/50144
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Fix select with multiple enabled not being saved correctly 40/50140/2
Johannes Schlier [Tue, 20 Sep 2016 15:21:50 +0000 (17:21 +0200)]
[BUGFIX] Fix select with multiple enabled not being saved correctly

If the 'multiple' field in the fieldConfig is set the
$newDatabaseValueArray is returned as is, with duplicate entries. If this
is not the case $newDatabaseValueArray is returned as before, being
modified with the array_unique function.

Resolves: #76918
Releases: master, 7.6
Change-Id: Id8ddac95162a929aeb1b5d7bae33a460317b46cb
Reviewed-on: https://review.typo3.org/50140
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Do not throw exception for inaccessible folders 28/50128/2
Sascha Egerer [Sun, 4 Sep 2016 08:48:13 +0000 (10:48 +0200)]
[BUGFIX] Do not throw exception for inaccessible folders

In the LocalDriver the PHP RecursiveIteratorIterator implementation is
used to recursively iterate over a directory.
If there is a resource child with limited access an exception is thrown
during the initialization of the iterator.
That means you are even not able to iterate over the other folders.

This patch adds a flag that prevents the iterator to throw the exception.

Resolves: #71328
Releases: master, 7.6
Change-Id: I3373f70bbcd5cdb38e5f8998a1e4c0466f6d5260
Reviewed-on: https://review.typo3.org/50128
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
2 years ago[BUGFIX] Treat <pre> tags correctly in RTE 12/50112/3
Markus Klein [Fri, 7 Oct 2016 16:52:12 +0000 (18:52 +0200)]
[BUGFIX] Treat <pre> tags correctly in RTE

Do not throw away line breaks and multiple spaces of pre tag's content in RTE.
This finally allows to paste source code and keep its formatting.

Resolves: #78186
Releases: master, 7.6
Change-Id: I183032d53bf64c8f1e3acb8222288860f97fed33
Reviewed-on: https://review.typo3.org/50112
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Tested-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Do not override hidden UC fields in user settings 99/50099/2
Stefan Froemken [Wed, 27 Jul 2016 07:34:54 +0000 (09:34 +0200)]
[BUGFIX] Do not override hidden UC fields in user settings

While saving a user's uc record, all fields, which are set to disabled
in user TSconfig, are not touched anymore.
This is enforced by reducing the fields of showItem to the ones which
are allowed via user TSconfig.

Resolves: #77263
Releases: master, 7.6
Change-Id: Ib867efef731654373a3b1502c410ba5e182780e4
Reviewed-on: https://review.typo3.org/50099
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Bring back some colors in workspace diff view 68/49268/3
Peter Niederlag [Fri, 29 Jul 2016 14:12:34 +0000 (16:12 +0200)]
[BUGFIX] Bring back some colors in workspace diff view

CSS definitions for <ins> and <del> tags. This is only needed for 7.6.
Followup to #69904 which didn't consider workspaces

Releases: 7.6
Resolves: #77310
Change-Id: Ibdb85fa82c3842dc237a5d3242913fbce81452df
Reviewed-on: https://review.typo3.org/49268
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Use only domain with scheme at youtube origin 91/50091/2
Ruud Silvrants [Thu, 15 Sep 2016 06:34:41 +0000 (08:34 +0200)]
[BUGFIX] Use only domain with scheme at youtube origin

Resolves: #77953
Releases: master, 7.6
Change-Id: I263e865953f58778565e362ddc04b8489d019a48
Reviewed-on: https://review.typo3.org/50091
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] indexed_search renders HTML5 placeholder regardless of sword 86/49186/4
Daniel Neugebauer [Mon, 25 Jul 2016 11:11:38 +0000 (13:11 +0200)]
[BUGFIX] indexed_search renders HTML5 placeholder regardless of sword

If DocType is HTML5, placeholder attribute on sword input field is now
rendered regardless of sword being empty or not.

Resolves: #77238
Releases: 7.6
Change-Id: If9b31331e7941e5c9068f6f3e73d448fab4905cd
Reviewed-on: https://review.typo3.org/49186
Reviewed-by: Dmitry Dulepov <dmitry.dulepov@gmail.com>
Tested-by: Dmitry Dulepov <dmitry.dulepov@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
2 years ago[TASK] Fixed typo in extensions install and lowlevel 71/50071/2
Robert van Kammen [Fri, 30 Sep 2016 07:18:11 +0000 (09:18 +0200)]
[TASK] Fixed typo in extensions install and lowlevel

Toogle should be Toggle

Resolves: #78118
Releases: master,7.6
Change-Id: Ib72e70aa20fa6f4fdf91a825b31f88938d0897bd
Reviewed-on: https://review.typo3.org/50071
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Incorrect cHash generation may cause 404 on any page 70/50070/2
Dmitry Dulepov [Wed, 28 Sep 2016 14:46:23 +0000 (17:46 +0300)]
[BUGFIX] Incorrect cHash generation may cause 404 on any page

If an empty parameter appears in the query string passed to
CacheHashCalculator::getRelevantParameters(), the code will
calculate cHash even if there are no other parameters. But
upon going to the generated link, there will be a 404 error
due to failed cHash check. Parameters with trimmed empty
names do not appear in $_GET in PHP and cHash cannot be
validated. The code should ignore the parameter with
trimmed empty name.

Resolves: #78102
Releases: master, 6.2, 7.6
Change-Id: I3c43d62ae9c31bd41674db62090b6b4a520f8b68
Reviewed-on: https://review.typo3.org/50070
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Trim function name passed to GeneralUtility::callUserFunc() 68/50068/2
Andreas Fernandez [Wed, 28 Sep 2016 06:55:50 +0000 (08:55 +0200)]
[BUGFIX] Trim function name passed to GeneralUtility::callUserFunc()

The parameter `$funcName` could contain whitespaces, e.g. because of a
formatted FlexForm file. The parameter is now trimmed to remove the
whitespaces and to get a valid function reference.

Resolves: #78086
Releases: master, 7.6
Change-Id: I75af1da01a807102b2b1c1bced984c00be03580a
Reviewed-on: https://review.typo3.org/50068
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Fix evaluation of rootLevel configuration in NewRecordController 55/50055/2
Georg Ringer [Wed, 28 Sep 2016 06:44:38 +0000 (08:44 +0200)]
[BUGFIX] Fix evaluation of rootLevel configuration in NewRecordController

If the rootLevel is set to true, it should behave like 1 and the record
is only available at the root page.

Resolves: #78085
Releases: master, 7.6
Change-Id: Iefcc7ce8b16a04fa288ab23c9116b8181de113a8
Reviewed-on: https://review.typo3.org/50055
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Always throw exception if ext_emconf.php is missing 50/50050/3
Helmut Hummel [Mon, 26 Sep 2016 13:03:17 +0000 (15:03 +0200)]
[BUGFIX] Always throw exception if ext_emconf.php is missing

The ext_emconf.php is still required for TYPO3 extensions.
However a piece of PackageManager code was still graceful
if instead at least a composer.json was present.

Then however it failed, when in composer.json the require section
was filled with composer packages which are unknown to TYPO3.

Because of this, we need to throw an exception in any case,
if ext_emconf.php is not present.

Resolves: #78054
Releases: 7.6, master
Change-Id: I08b9931dac50384e08fe89558288fa8653722a78
Reviewed-on: https://review.typo3.org/50050
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] BackendUserAuthentication checks wrong BE user permission 54/50054/2
Felix Rauch [Mon, 5 Sep 2016 15:50:27 +0000 (17:50 +0200)]
[BUGFIX] BackendUserAuthentication checks wrong BE user permission

In BackendUserAuthentication::getDefaultUploadFolder, the addFolder
permission flag is checked instead of the writeFolder permission flag in
determining whether the folder is writable and thus suitable as an
upload target.

This fix changes the behaviour to check for the BE user's "writeFolder"
permission flag.

Resolves: #77856
Releases: master, 7.6
Change-Id: Ib78f8f3d371780e2687b30bd402a7beaa44ec700
Reviewed-on: https://review.typo3.org/50054
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[CLEANUP] Polish Enumeration exceptions 51/50051/2
Mathias Brodala [Tue, 27 Sep 2016 15:44:38 +0000 (17:44 +0200)]
[CLEANUP] Polish Enumeration exceptions

Always quote all incoming values and make exceptions more readable.

Resolves: #78083
Releases: master, 7.6
Change-Id: I7f1cf9fc1390771f81726dd5480616dcda7d186d
Reviewed-on: https://review.typo3.org/50051
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Add suggest wizard to field file_collections of tt_content 48/50048/2
Georg Ringer [Wed, 28 Sep 2016 06:10:02 +0000 (08:10 +0200)]
[TASK] Add suggest wizard to field file_collections of tt_content

To improve the usability, the suggest wizard is added to the field
file_collections of tt_content.

Resolves: #78084
Releases: master, 7.6
Change-Id: Ia2c2ebdeb70ba96e1f5cc8a9dc4fa11bbfd704e1
Reviewed-on: https://review.typo3.org/50048
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] TCA slider wizard w. default value in flexform field 47/50047/2
Joerg Kummer [Thu, 22 Sep 2016 19:10:56 +0000 (21:10 +0200)]
[BUGFIX] TCA slider wizard w. default value in flexform field

Inserts default value from flexform field in form data

Resolves: #64331
Releases: master, 7.6
Change-Id: Icc89fb419ad997f8066d41fd1adc4fe657a9c077
Reviewed-on: https://review.typo3.org/50047
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Remove field restriction in PageLinkHandler 25/50025/2
Georg Ringer [Fri, 23 Sep 2016 08:59:42 +0000 (10:59 +0200)]
[BUGFIX] Remove field restriction in PageLinkHandler

The full row must be provided as it is used later on in the
BackendUtility::getRecordTitle(). Removing fields leads to missing fields
in the title.

Resolves: #78047
Releases: master, 7.6
Change-Id: I4275f331839cbc69c60a5305ef803e623b1c0aac
Reviewed-on: https://review.typo3.org/50025
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Always use HTTPS for youtube and vimeo 09/50009/2
Georg Ringer [Tue, 20 Sep 2016 06:55:08 +0000 (08:55 +0200)]
[TASK] Always use HTTPS for youtube and vimeo

As youtube and vimeo run absolutly fine on HTTPS, there is no reason
to use plain HTTP.

Resolves: #77998
Releases: master, 7.6
Change-Id: I4326b7b51d51143eab6791688c8a4cdc070fd451
Reviewed-on: https://review.typo3.org/50009
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Display correct text for invalid links on password reset 05/50005/2
Daniel Goerz [Thu, 22 Sep 2016 10:27:57 +0000 (12:27 +0200)]
[BUGFIX] Display correct text for invalid links on password reset

Change-Id: I656fa9370cfb35eb4608d7547358a3da8654e928
Resolves: #78039
Releases: master,7.6
Reviewed-on: https://review.typo3.org/50005
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Avoid duplicated classes in typolink VH 88/49988/2
Tymoteusz Motylewski [Tue, 20 Sep 2016 15:41:16 +0000 (17:41 +0200)]
[BUGFIX] Avoid duplicated classes in typolink VH

To avoid duplicated classes in the TypolinkViewHelper,
array_unique is used.

Resolves: #77943
Releases: master, 7.6
Change-Id: I2f87347492700fd21b938ddad3fe3064054e1cae
Reviewed-on: https://review.typo3.org/49988
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
2 years ago[BUGFIX] Support target in ctype uploads and fluid_styled_content 87/49987/2
Georg Ringer [Wed, 14 Sep 2016 06:13:01 +0000 (08:13 +0200)]
[BUGFIX] Support target in ctype uploads and fluid_styled_content

The target configuration of the filelink plugin must be considered
if using fluid_styled_content.

Resolves: #77896
Releases: master, 7.6
Change-Id: Ie2ebc8cf425b86082b8bd1062f231d8c3b544b01
Reviewed-on: https://review.typo3.org/49987
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Add key to uid_local of sys_file_reference 80/49980/2
Georg Ringer [Wed, 14 Sep 2016 06:52:22 +0000 (08:52 +0200)]
[TASK] Add key to uid_local of sys_file_reference

To improve the performance, an additional key
is added to the table 'sys_file_reference'.

Resolves: #76940
Releases: master, 7.6
Change-Id: Ie552e016ceeedc6fd26916798b06815ba5d1219e
Reviewed-on: https://review.typo3.org/49980
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] PSR-7 properties must be initialized as array 70/49970/2
Patrik Karisch [Mon, 19 Sep 2016 02:03:04 +0000 (04:03 +0200)]
[BUGFIX] PSR-7 properties must be initialized as array

All the PSR-7 ServerRequest properties must be initialized as arrays, as
they can be accessed through getters without be correctly initialized
from the outside application. This can result in type errors.

Resolves: #77989
Releases: master, 7.6
Change-Id: Iba4d48f710e423316910320392e335c4380fd72d
Reviewed-on: https://review.typo3.org/49970
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Add Forger RST utility link to Changelog HowTo 01/49901/2
Mathias Brodala [Fri, 9 Sep 2016 07:37:50 +0000 (09:37 +0200)]
[TASK] Add Forger RST utility link to Changelog HowTo

Resolves: #77891
Releases: master, 7.6
Change-Id: Ic25fab8eb67c64e16396456ef2e31fb3176133bf
Reviewed-on: https://review.typo3.org/49901
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Remove unnecessary fields from history 03/49903/3
Susanne Moog [Mon, 12 Sep 2016 07:07:54 +0000 (09:07 +0200)]
[BUGFIX] Remove unnecessary fields from history

Since #71580 the user name gets added twice to the table
in record history resulting in a wrong column order and
wrong labels. Removing the duplicate fields fixes both.

Resolves: #77907
Releases: 7.6

Change-Id: Ia7a9b97314356e5d748b22fb1e3d4612b3987dfc
Reviewed-on: https://review.typo3.org/49903
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: Ivano Luberti <luberti@archicoop.it>
Tested-by: Ivano Luberti <luberti@archicoop.it>
Tested-by: Cristian Buja <cristian.buja@intera.it>
Reviewed-by: Maurizio Morini <morini@gammsystem.com>
Tested-by: Maurizio Morini <morini@gammsystem.com>
Reviewed-by: Elena Bartolotti <elena@intera.it>
Tested-by: Elena Bartolotti <elena@intera.it>
Reviewed-by: marcella greca <marcella.greca@libero.it>
Tested-by: marcella greca <marcella.greca@libero.it>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[BUGFIX] Correct show configuration in newContentElement wizard 83/49883/2
Nicole Cordes [Wed, 7 Sep 2016 14:01:54 +0000 (16:01 +0200)]
[BUGFIX] Correct show configuration in newContentElement wizard

All elements should be shown if the asterisk is part of the show
configuration. Due to different configuration possibilities it can happen
that the asterisk is not the only value of this configuration.

Resolves: #77877
Releases: master, 7.6, 6.2
Change-Id: I5439f76ec40788cdaed14012e7b83b18e2b56d18
Reviewed-on: https://review.typo3.org/49883
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] DataHandler should inherit $isImporting 36/49936/2
Georg Ringer [Tue, 13 Sep 2016 18:55:59 +0000 (20:55 +0200)]
[BUGFIX] DataHandler should inherit $isImporting

When DataHandler uses getLocalTCE() the option
for "isImporting" is not transferred, causing
a lot of inconsistencies with hooks relying
on this option (e.g. l10nmgr+gridelements).

Resolves: #77937
Releases: master, 7.6
Change-Id: I70c0ca7741d217764cbe9702efc1d09308923311
Reviewed-on: https://review.typo3.org/49936
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Set TYPO3 version to 7.6.12-dev 29/49929/2
TYPO3 Release Team [Tue, 13 Sep 2016 10:04:23 +0000 (12:04 +0200)]
[TASK] Set TYPO3 version to 7.6.12-dev

Change-Id: I41a45399ef885a4fbdc3c9f9792c4a3dfc8558e4
Reviewed-on: https://review.typo3.org/49929
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
2 years ago[RELEASE] Release of TYPO3 7.6.11 28/49928/2 7.6.11 TYPO3_7-6-11
TYPO3 Release Team [Tue, 13 Sep 2016 10:03:32 +0000 (12:03 +0200)]
[RELEASE] Release of TYPO3 7.6.11

Change-Id: I8708c6702c7f0afa22c9d8fd57c139b1238b8ac9
Reviewed-on: https://review.typo3.org/49928
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
2 years ago[!!!][SECURITY] Mitigate potential cache flooding 21/49921/2
Helmut Hummel [Tue, 13 Sep 2016 09:52:49 +0000 (11:52 +0200)]
[!!!][SECURITY] Mitigate potential cache flooding

Bind cHash to the page id it was generated for, to avoid
an attacker to be able to call multiple pages with the same
cHash arguments and thus create unnecessary cache entries.

We now add the id argument to the cHash calculation, but only
if there are other arguments in the URI which would require a cHash.
This avoids multiple cache entries for one page
(one with and one without cHash).

We ignore other core parameters like "type" and "MP", because the possibility
to create unnecessary cache entries by manipulating these is very limited
and thus an attack not feasible.

Adapted tests to show our new expectations for cHash calculations.

The new behavior is default for new installations, but not for on for existing
installations, as an update would break the site with a high probability.

By adding the configuration option, we'll give users the chance to
pull the trigger once everything is prepared, but still get other
security issues fixed with the release.

Resolves: #76462
Releases: master, 8.3, 7.6, 6.2
Security-Commit: d67099a5e5dd387fa3fb8a9847933fbeb377d99f
Security-Bulletins: TYPO3-CORE-SA-2016-020, 021
Change-Id: Ie9753536dad5cae60e607a286e1ebb08efc3c85a
Reviewed-on: https://review.typo3.org/49921
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[SECURITY] Fix select_key XSS in PageLayoutView 20/49920/2
Georg Ringer [Tue, 13 Sep 2016 09:52:44 +0000 (11:52 +0200)]
[SECURITY] Fix select_key XSS in PageLayoutView

Apply htmlspecialchars() to avoid a XSS when rendering
the value of select_key.

Resolves: #77906
Releases: master, 8.3, 7.6, 6.2
Security-Commit: 161d2b3dfa893c15e08fdd8041a6b3e0ce8e6a1b
Security-Bulletins: TYPO3-CORE-SA-2016-020, 021
Change-Id: I2311302eb5c774e210f76162ec273505ef3e8015
Reviewed-on: https://review.typo3.org/49920
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[BUGFIX] Prevent orphaned tags in Typo3DatabaseBackend 09/49309/10
Thomas Schlumberger [Tue, 2 Aug 2016 12:29:58 +0000 (14:29 +0200)]
[BUGFIX] Prevent orphaned tags in Typo3DatabaseBackend

The 7.6 and 6.2 implementation of Typo3DatabaseBackend cache backend has
bugs in two methods (in mysql-non-dbal versions). Those were introduced
by #61814 and fixed in master with #77160.

flushByTag() leaves orphaned tags in tags table - if a row has two tags
and flushByTag() is executed on one tag, the other is left.

collectGargabe() does not find orphaned tags collectGarbage() and does
not delete an expired cache row if it has no tags (fix: left outer join)

The patch migrates the functional tests and fixes the issue.

Change-Id: Ie53f54eceb3e47c21c31e7263a3f855b1cb93660
Resolves: #77204
Releases: 7.6, 6.2
Reviewed-on: https://review.typo3.org/49309
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Editing title inline now updates correct language 04/49904/2
Gianluigi Martino [Thu, 14 Jul 2016 14:30:19 +0000 (16:30 +0200)]
[BUGFIX] Editing title inline now updates correct language

Editing title inline in page column view updated always standard
language.
Now the title of the selected language being updated.

Resolves: #77054
Releases: master, 7.6
Change-Id: I267b374fcac4540181cf16d1d443491ad6408a0d
Reviewed-on: https://review.typo3.org/49904
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Ruud Silvrants <ruudsilvrants@gmail.com>
Tested-by: Ruud Silvrants <ruudsilvrants@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
2 years ago[TASK] Add crosslinks to Forge in ChangeLogs 98/49898/2
Martin Bless [Fri, 9 Sep 2016 21:10:07 +0000 (23:10 +0200)]
[TASK] Add crosslinks to Forge in ChangeLogs

Change-Id: If038be667ef19a1b1f790e28e42128519d61eed8
Resolves: #77840
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/49858
Reviewed-on: https://review.typo3.org/49898
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Martin Bless <m.bless@gmx.de>
Tested-by: Martin Bless <m.bless@gmx.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Avoid calling login refresh poll too often 82/49882/2
Helmut Hummel [Thu, 8 Sep 2016 11:18:50 +0000 (13:18 +0200)]
[BUGFIX] Avoid calling login refresh poll too often

Resolves: #77885
Releases: master
Change-Id: I59576eb444c730cb4b292f8d13dd68eb0b96822b
Reviewed-on: https://review.typo3.org/49882
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years ago[BUGFIX] IRRE file upload button not shown to BE user 70/49870/2
Felix Rauch [Mon, 5 Sep 2016 18:32:28 +0000 (20:32 +0200)]
[BUGFIX] IRRE file upload button not shown to BE user

If the logged in BE user does not have the "addFolder"
file operation permission, the button for uploading
files in IRRE forms is not shown. This commit fixes
this by checking for the "addFile" permission instead.

When fetching the default upload folder, TYPO3 already
checks whether the user is allowed to write to that
particular folder.

Releases: master,7.6
Resolves: #77841
Change-Id: Ic76d5fb36fd39b9fbcc554b9f03517c3cb1f301a
Reviewed-on: https://review.typo3.org/49870
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
2 years ago[BUGFIX] About module: Audio player is not used anymore 60/49860/3
Markus Hoelzle [Sun, 4 Sep 2016 20:21:04 +0000 (22:21 +0200)]
[BUGFIX] About module: Audio player is not used anymore

The about module has an link to the audio player website.
The TYPO3 core does not use this library anymore and can be removed.

Releases: master, 7.6
Resolves: #77843
Change-Id: I39ffa1cf9d103789248fbed6547956c0d873a312
Reviewed-on: https://review.typo3.org/49860
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Fixes the suggest wizard item click by only returning one value 62/49862/2
Wiard van Rij [Wed, 27 Jul 2016 07:09:30 +0000 (09:09 +0200)]
[BUGFIX] Fixes the suggest wizard item click by only returning one value

The bug only occurs on cases where the multiple true is defined,
and the user clicks on the element found by the suggest wizard.

This is caused because of a duplicate item insert. The onclick should
only prevent the default action, and not insert/return the item into the
list.

Resolves: #76923
Releases: master, 7.6
Change-Id: Iea53ef266e8d55331f5cd8367a5146582b7fe684
Reviewed-on: https://review.typo3.org/49223
Reviewed-on: https://review.typo3.org/49862
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[TASK] Make regexp in stdWrap_doubleBrTag readable 37/49737/2
Jigal van Hemert [Thu, 1 Sep 2016 12:52:44 +0000 (14:52 +0200)]
[TASK] Make regexp in stdWrap_doubleBrTag readable

A regexp with escape sequences instead of non-printing
characters is easier to read and works with all file
systems.

Releases: master, 7.6
Resolves: #77748
Change-Id: I6f1c7e05d00cd6e8d839a4cb80b39863e281b52d
Reviewed-on: https://review.typo3.org/49737
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
2 years ago[TASK] Optimized rendering of Changelogs for docs.typo3.org 70/49770/4
Ernesto Baschny [Fri, 2 Sep 2016 16:12:37 +0000 (18:12 +0200)]
[TASK] Optimized rendering of Changelogs for docs.typo3.org

* Added Index.rst for newer releases
* Updated release number to 7
* Enhanced Index.rst rendering and structure to be in line with
  new theme of docs.typo3.org
* Added Includes.txt for custom renderers
* Make Settings.cfg file more complete
* Removed some ReST syntax errors

Resolves: #77787
Releases: master, 7.6
Change-Id: I19529118d27630ee6b85e85e3e12bf952117419c
Reviewed-on: https://review.typo3.org/49770
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] FormViewHelper can handle empty string as pageUid 25/49825/2
Frans Saris [Fri, 2 Sep 2016 16:17:55 +0000 (18:17 +0200)]
[BUGFIX] FormViewHelper can handle empty string as pageUid

The FormViewHelper now can handle a empty string value passed through
the pageUid attribute and handles is as value not set so current pageUid
is used.

Resolves: #77793
Releases: master, 7.6
Change-Id: Iff857badca0ae68b4fbb907b8c394c39306542ca
Reviewed-on: https://review.typo3.org/49825
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
2 years ago[BUGFIX] Search also in translated records 26/49826/2
Frans Saris [Tue, 30 Aug 2016 21:10:20 +0000 (23:10 +0200)]
[BUGFIX] Search also in translated records

When localisation view is enabled in the list view make sure
also the translated records are searched.

Resolves: #77664
Releases: master, 7.6
Change-Id: Ica285db7b410b703b968bcf9f4db1fd797f6b171
Reviewed-on: https://review.typo3.org/49826
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
2 years ago[BUGFIX] Re-renable drag&drop in Folder Tree 21/49821/2
Benni Mack [Sat, 3 Sep 2016 09:17:45 +0000 (11:17 +0200)]
[BUGFIX] Re-renable drag&drop in Folder Tree

The functionality to enable drag&drop in the
folder tree was broken due to the rebuilding
of the tree to ul/li syntax in 7.4/7.5.

The bugfix sets the correct JS selector to be used.

Resolves: #77825
Resolves: #71375
Releases: master, 7.6
Change-Id: I4a315c171dfdb2705c3d69f87ebca55f293e3fcb
Reviewed-on: https://review.typo3.org/49821
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Use mbstring for capitalizing a string 95/49795/2
Philipp Gampe [Thu, 1 Sep 2016 15:07:17 +0000 (17:07 +0200)]
[BUGFIX] Use mbstring for capitalizing a string

If mbstring is available, use mb_convert_case instead of ucwords.

Resolves: #52244
Releases: master, 7.6
Change-Id: Ia6840fdda96d5511444afa014ebbcb01cbbf3ed0
Reviewed-on: https://review.typo3.org/49795
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
2 years ago[BUGFIX] Highlight searchwords in indexed_search results 09/49809/2
Frans Saris [Wed, 31 Aug 2016 19:47:21 +0000 (21:47 +0200)]
[BUGFIX] Highlight searchwords in indexed_search results

The old default settings of indexed search was to highlighted the
search word(s) by default and show the matching parts of the results.

This patch brings back this default behaviour and fixed the output
formatting.

Resolves: #77682
Releases: master, 7.6
Change-Id: Ie281bb4c030194d57a55120e84fe43d2aa55e79f
Reviewed-on: https://review.typo3.org/49809
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Mention StackOverflow in README.md 03/49803/2
Philipp Gampe [Thu, 1 Sep 2016 18:36:41 +0000 (20:36 +0200)]
[TASK] Mention StackOverflow in README.md

Change-Id: I36ba8e198d3bb9e74fcf6494185d6f8ea12e2bfe
Resolves: #77760
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/49803
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Check for null in debug_check_recordset 01/49801/2
Tomita Militaru [Fri, 2 Sep 2016 16:46:48 +0000 (18:46 +0200)]
[BUGFIX] Check for null in debug_check_recordset

Check for null in function debug_check_record set
and return false if value is null.

Resolves: #77755
Releases: master,7.6,6.2
Change-Id: I757d3ee3c4db9d52f1c4f7a4f07262fe187b2496
Reviewed-on: https://review.typo3.org/49801
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[FOLLOWUP][TASK] Migrate to short array syntax 90/49790/2
Daniel Goerz [Fri, 2 Sep 2016 20:06:28 +0000 (22:06 +0200)]
[FOLLOWUP][TASK] Migrate to short array syntax

Restore desriptions of configuration options in
"All Configuration" in the install tool.

Change-Id: I9064056b4d982a28a18d72b560df1d995c3c70f7
Resolves: #77802
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/49790
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Scheduler: Add missing GROUPBY to exec_SELECT_queryArray calls 68/49768/3
Morton Jonuschat [Fri, 2 Sep 2016 15:41:45 +0000 (17:41 +0200)]
[BUGFIX] Scheduler: Add missing GROUPBY to exec_SELECT_queryArray calls

Add GROUPBY key to the query arrays passed to exec_SELECT_queryArray
calls to fix queries when used with EXT:dbal / EXT:adodb.

Change-Id: Ie8904f276215a424f32515220480731f9e07c537
Releases: 7.6
Resolves: #76991
Reviewed-on: https://review.typo3.org/49768
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Add tests for Extbase UTC date/datetime handling 43/49743/2
Andreas Wolf [Sun, 6 Mar 2016 13:03:00 +0000 (14:03 +0100)]
[TASK] Add tests for Extbase UTC date/datetime handling

The actual bug has been fixed a while ago with commit
827219a1c35b4aca6dbab5855a36e9277b2ec8f4, but the tests I wrote somehow
got lost. This patch adds them back and shows that the problem has
actually been fixed.

Change-Id: Ibca2524d25573d67b3541761c8cf2b662fcd3423
Related: #72878
Releases: master, 7.6
(cherry picked from commit e5f27f56e1420e3d3c2dee7e0782a4c116f39779)
Reviewed-on: https://review.typo3.org/49743
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
2 years ago[BUGFIX] Fix offset issue with maxSingleDBListItems 41/49741/2
Morton Jonuschat [Fri, 2 Sep 2016 08:12:17 +0000 (10:12 +0200)]
[BUGFIX] Fix offset issue with maxSingleDBListItems

There is a + 1 that makes the limit always one higher than
the set value in maxSingleDBListItems.

Resolves: #77528
Releases: master,7.6
Change-Id: I2328aa23dd1457f6fd59150898d14ed427b521cc
Reviewed-on: https://review.typo3.org/49741
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Show inline elements in workspaces 38/49738/3
Robert Vock [Thu, 1 Sep 2016 13:54:43 +0000 (15:54 +0200)]
[BUGFIX] Show inline elements in workspaces

If one inline element gets deleted in a workspace, no inline elments
will be shown at all.

Resolves: #76012
Releases: master, 7.6
Change-Id: I34e90336d518d943f010dee38b1f4ce06295afe9
Reviewed-on: https://review.typo3.org/49738
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
2 years ago[BUGFIX] Do not show dropdown arrow if maxItems=1 26/49726/3
Andreas Fernandez [Thu, 1 Sep 2016 08:51:20 +0000 (10:51 +0200)]
[BUGFIX] Do not show dropdown arrow if maxItems=1

A new CSS class is introduced to disable the dropdown arrow for select
boxes if a select box can only contain one item.

Resolves: #77665
Releases: master, 7.6
Change-Id: I095070e833a02728c9d2edd91a33919c0fbaf749
Reviewed-on: https://review.typo3.org/49726
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
2 years ago[BUGFIX] Catch invalid Enum value 07/49707/2
Sascha Egerer [Wed, 31 Aug 2016 19:13:33 +0000 (21:13 +0200)]
[BUGFIX] Catch invalid Enum value

To avoid breaking the backend, any exception of the JsConfirmation
must be caught and the default value must be returned.

Resolves: #76719
Releases: master, 7.6
Change-Id: Idfea9ec8aa269ac807bf6936263da9803ea39bf8
Reviewed-on: https://review.typo3.org/49707
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[CLEANUP] Change Enumeration::cast return doc to self 17/49717/2
Sascha Egerer [Thu, 1 Sep 2016 09:26:24 +0000 (11:26 +0200)]
[CLEANUP] Change Enumeration::cast return doc to self

The Enumeration implementation has a cast() method that
does always return an instance of the enumeration
implementation itself. As the Enumeration is an abstract
type the cast() method return doc should be `self` instead
of `Enumeration`.
That does fix problems with code completion in IDEs as the
IDE does now know what exact implementation is returned.

Resolves: #77743
Releases: master, 7.6
Change-Id: Ib0f62f79e0856fe62849472a0a9c3657a048e028
Reviewed-on: https://review.typo3.org/49717
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Tested-by: Bamboo TYPO3com <info@typo3.com>
2 years ago[BUGFIX] Use correct icon for mounting as tree root in context menu 09/49709/2
Tymoteusz Motylewski [Thu, 1 Sep 2016 07:55:54 +0000 (09:55 +0200)]
[BUGFIX] Use correct icon for mounting as tree root in context menu

The monochromatic icon is used instead of a red page type icon.

Resolves: #77733
Releases: master, 7.6
Change-Id: Iab959a5a3a9f5ac6f005de9ea23eef165cf4c45b
Reviewed-on: https://review.typo3.org/49709
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[TASK] Remove not existing exclude from .php_cs configuration 92/49692/3
Wouter Wolters [Wed, 31 Aug 2016 14:04:42 +0000 (16:04 +0200)]
[TASK] Remove not existing exclude from .php_cs configuration

The folder php-openid does not exists anymore in the TYPO3 core.

Resolves: #77721
Releases: master,7.6
Change-Id: I1c02b554a240ea2b2c24250a911f112d80fad99e
Reviewed-on: https://review.typo3.org/49692
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Limit request to get logout information 85/49685/2
Nicole Cordes [Mon, 29 Aug 2016 10:22:31 +0000 (12:22 +0200)]
[TASK] Limit request to get logout information

Currently a request to get information about the login state is
triggered every minute. To prevent traffic the request can be triggered
only when the session is about to expire. This patch adds a function
to be able to pass the interval time to the LoginRefresh refresh and
sets it properly after initialization.

Resolves: #76364
Releases: master, 7.6
Change-Id: I9bfeb578973f1a5bc3a0f662ac1f6dcce82e7d37
Reviewed-on: https://review.typo3.org/49685
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
2 years ago[BUGFIX] Highlight keywords containing utf-8 characters in pagetree search 87/49687/2
Tymoteusz Motylewski [Tue, 30 Aug 2016 20:58:55 +0000 (22:58 +0200)]
[BUGFIX] Highlight keywords containing utf-8 characters in pagetree search

Adds a 'u' switch to preg_replace

Resolves: #39979
Releases: 7.6, master
Change-Id: I3c23f60a7bc157b9647d053492ce1bd226296dc8
Reviewed-on: https://review.typo3.org/49687
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
2 years ago[BUGFIX] Fix syntax errors in ext_tables.sql files 75/49675/3
Morton Jonuschat [Wed, 31 Aug 2016 07:58:15 +0000 (09:58 +0200)]
[BUGFIX] Fix syntax errors in ext_tables.sql files

Fix syntax errors by removing commas in excess after the last column/
key definition, add commas missing after column/key definitions and
removing default values for auto_increment columns.

Change-Id: Ica2dd1689211e56f6d9b01f7992867262cac3b5d
Resolves: #77706
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/49675
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Check if mount page exist before fetching icon 73/49673/2
Georg Ringer [Tue, 30 Aug 2016 22:35:13 +0000 (00:35 +0200)]
[BUGFIX] Check if mount page exist before fetching icon

To avoid fatal errors it must be checked if the mount pages
really exist before fetching its icon.

Resolves: #77663
Releases: master, 7.6
Change-Id: Icdb6009c6304096078e7b5bdba733f997a75e9f2
Reviewed-on: https://review.typo3.org/49673
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Exclude uid '0' from any editing action in Info > Pagetree Overview 59/49659/2
Andreas Fernandez [Mon, 29 Aug 2016 19:34:28 +0000 (21:34 +0200)]
[BUGFIX] Exclude uid '0' from any editing action in Info > Pagetree Overview

The module Info > Pagetree Overview offers the possibility to edit the
root page (uid 0) which is impossible as this is no real page.

The edit button for the row in the table representing the root page is
removed. The mass edit buttons in the table header don't allow to edit
that page anymore, too.

Resolves: #77678
Releases: master, 7.6
Change-Id: I7083c83372ad619ea8e8ffd2f53822bcd939d768
Reviewed-on: https://review.typo3.org/49659
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] EXT:sys_note: Button order 64/49664/2
Daniel Windloff [Tue, 30 Aug 2016 11:44:32 +0000 (13:44 +0200)]
[TASK] EXT:sys_note: Button order

In order to be consistent with list module,
change the order of the buttons to (edit,remove).

Resolves: #77690
Releases: master, 7.6
Change-Id: I6d9edb79c0533020713bcf075ee2df281dbc0136
Reviewed-on: https://review.typo3.org/49664
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Migrate to short array syntax 60/49660/3
Wouter Wolters [Tue, 30 Aug 2016 14:56:00 +0000 (16:56 +0200)]
[TASK] Migrate to short array syntax

As decided during T3ACME we will use the short
array syntax in master. The 7.6 branch will also be done
to make backporting easier.

Resolves: #77692
Releases: master,7.6
Change-Id: I37e9484b1012fc9161148257a842054c24d162ba
Reviewed-on: https://review.typo3.org/49660
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Load ClickMenu JavaScript in "Backend users" module 58/49658/2
Andreas Fernandez [Mon, 29 Aug 2016 20:25:05 +0000 (22:25 +0200)]
[BUGFIX] Load ClickMenu JavaScript in "Backend users" module

This patch adds the ClickMenu JavaScript to enable the click menu after
clicking the avatars.

Resolves: #77680
Releases: master, 7.6
Change-Id: I50025e97649957ffdc13abe974c5ce6f6df5f198
Reviewed-on: https://review.typo3.org/49658
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Add returnUrl to records opened by EXT:opendocs 57/49657/2
Andreas Fernandez [Mon, 29 Aug 2016 15:35:00 +0000 (17:35 +0200)]
[BUGFIX] Add returnUrl to records opened by EXT:opendocs

If a record that was opened by the opendocs menu gets closed, the user
now gets the record list of the record's pid.

Resolves: #77675
Releases: master, 7.6
Change-Id: I90014ea639ce191ad0ee2d1a1cd650d2aaaebc52
Reviewed-on: https://review.typo3.org/49657
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Make IconRegistry::getAllRegisteredIconIdentifiers() public API 50/49650/2
Frank Naegler [Tue, 30 Aug 2016 12:21:13 +0000 (14:21 +0200)]
[TASK] Make IconRegistry::getAllRegisteredIconIdentifiers() public API

The method IconRegistry::getAllRegisteredIconIdentifiers() was introduced
as a public function with an internal scope, but there is not reason to keep
this useful method "private" anymore.

Resolves: #77691
Related: #69054
Releases: master, 7.6
Change-Id: Ic98cc1f6a1f44926b6fd64a05b3678dcd638ddbf
Reviewed-on: https://review.typo3.org/49650
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
2 years ago[BUGFIX] Extbase cannot persist to datetime fields 46/47846/3
Andreas Wolf [Sun, 6 Mar 2016 12:46:35 +0000 (13:46 +0100)]
[BUGFIX] Extbase cannot persist to datetime fields

This patch adds missing column configuration to DataMapper call.

Resolves: #74376
Releases: master, 7.6
Change-Id: I505a5e9f05338fde48fad9f49391095e47523409
Reviewed-on: https://review.typo3.org/47846
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Build proper Bootstrap markup in Info > Localization Overview 31/49631/2
Andreas Fernandez [Mon, 29 Aug 2016 19:43:57 +0000 (21:43 +0200)]
[BUGFIX] Build proper Bootstrap markup in Info > Localization Overview

Table columns can't have the class `btn-group`. This patch generates a
proper markup by using `<div>`.

Resolves: #77679
Releases: master, 7.6
Change-Id: Iad7bb77017a8f9e007ece752a16e5f1fe98c774f
Reviewed-on: https://review.typo3.org/49631
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
2 years ago[BUGFIX] Enforce RSA encryption for re-login modal 78/49478/4
Helmut Hummel [Sun, 14 Aug 2016 13:06:24 +0000 (15:06 +0200)]
[BUGFIX] Enforce RSA encryption for re-login modal

The RsaEncryption and the LoginRefresh module are loaded
independently by requireJS, which means they are loaded
asynchronous. This means that either one of those modules
is initialized first.

However the RsaEncryption module scans the DOM for form elements
and the LoginRefresh inserts a form. This means if the RsaEncryption
is initialized first, then the form created by LoginRefresh
will not be intercepted, leading to the (heisen-)bug described.

This change enforces the loading order by adding the RsaEncryption
as dependency to LoginRefresh and registering the form manually,
to make sure it will be intercepted and passwords
will transmitted encrypted.

Resolves: #75911
Releases: 7.6, master
Change-Id: Ib4aba70b3545f163a16a4eee62bed9e5a48b2fe7
Reviewed-on: https://review.typo3.org/49478
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[TASK] Use correct history icon in EditDocumentController 90/49590/2
Georg Ringer [Thu, 25 Aug 2016 05:26:18 +0000 (07:26 +0200)]
[TASK] Use correct history icon in EditDocumentController

Use the same icon in the edit form of a record as in the clickmenu
and in the list module.

Resolves: #77628
Releases: master, 7.6
Change-Id: I977d7064067bcca2a924e3aa676b893f1f5c8525
Reviewed-on: https://review.typo3.org/49590
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years agoRevert "[TASK] Remove locale-workaround for PHP before 5.5" 70/49570/3
Frans Saris [Fri, 19 Aug 2016 13:20:10 +0000 (15:20 +0200)]
Revert "[TASK] Remove locale-workaround for PHP before 5.5"

This reverts commit 23b588c584f485f10ae265bf30e15d231f428f1e.

The change is reverted as str_* methods are locale aware
and turkish has no upper case I. Class autoloading and other
checks depending on case changing break with turkish locale LC_CTYPE.

Change-Id: Ie4fb92411eeb2552972b92b3f2bcfdb47afcdd54
Resolves: #77551
Reverts: #63288
Releases: master,7.6
Reviewed-on: https://review.typo3.org/49570
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
2 years ago[BUGFIX] FilesReplacePermissionUpdate wrong where clause 79/49479/2
Christian Kuhn [Sun, 14 Aug 2016 15:23:23 +0000 (17:23 +0200)]
[BUGFIX] FilesReplacePermissionUpdate wrong where clause

The where clause to check for updates should select
records that have writeFile set, but not replaceFile.

Change-Id: I048909d6b722d1c9ae23c5815a05a7f93fcdc956
Resolves: #77500
Releases: 7.6
Reviewed-on: https://review.typo3.org/49479
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Provide full url as origin for embedded Youtube videos 72/49572/2
Sebastian Michaelsen [Mon, 8 Aug 2016 07:45:37 +0000 (09:45 +0200)]
[BUGFIX] Provide full url as origin for embedded Youtube videos

To use the javascript API for embedded Youtube videos the documentation
recommends to provide the "full website url" as origin parameter

Change-Id: I318083b4c67b48c7eb708e54b11cd8dd1c69d646
Resolves: #77409
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/49572
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Prevent console warning in jsfunc.evalfield.js 69/49569/2
Wouter Wolters [Tue, 23 Aug 2016 20:13:00 +0000 (22:13 +0200)]
[TASK] Prevent console warning in jsfunc.evalfield.js

Remove the unreachable code to prevent a warning on the console.

Resolves: #77539
Releases: master,7.6
Change-Id: I679a13456ac5e22b2522d8273a4253a93d9fdc2d
Reviewed-on: https://review.typo3.org/49569
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[BUGFIX] Fix wrong configuration documentation for onlineMediaHelpers 66/49566/2
Wouter Wolters [Tue, 23 Aug 2016 20:22:40 +0000 (22:22 +0200)]
[BUGFIX] Fix wrong configuration documentation for onlineMediaHelpers

['SYS']['OnlineMediaHelpers'] must be ['SYS']['fal']['onlineMediaHelpers']

Resolves: #77567
Releases: 7.6
Change-Id: Ie8f23a82d63ec1e02a956c17dbabfdb72d24262f
Reviewed-on: https://review.typo3.org/49566
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix sql error in EXT:linkvalidator 63/49563/2
Daniel Windloff [Tue, 23 Aug 2016 05:56:24 +0000 (07:56 +0200)]
[BUGFIX] Fix sql error in EXT:linkvalidator

If no page is selected, skip sql queries in LinkAnalyzer
getLinkStatistics.

Resolves: #77588
Releases: master, 7.6, 6.2
Change-Id: I3b45cbad6962c5327d860b182e61255018bf0e53
Reviewed-on: https://review.typo3.org/49563
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Continue searching after empty result 62/49562/2
Alexander Jahn [Mon, 22 Aug 2016 07:09:00 +0000 (09:09 +0200)]
[BUGFIX] Continue searching after empty result

Change the default behaviour of jQuery autocomplete to continue
searching for characters even if the search already returned nothing.

The standard behaviour of autocomplete is to stop searching after
no results were found.
However, this made it impossible to use commands.
Searching for '#content:12345' did not work when '#con' could not
be found. Search was not executed for subsequent characters.

The parameter 'preventBadQueries: false' is used to force
searching for every character entered.

Resolves: #77566
Releases: master, 7.6
Change-Id: I423df51ae34ae258c42a418040d24cd91886872a
Reviewed-on: https://review.typo3.org/49562
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Keep configuration of extbase table column cache 52/49552/2
Christian Kuhn [Tue, 23 Aug 2016 11:54:37 +0000 (13:54 +0200)]
[BUGFIX] Keep configuration of extbase table column cache

To mitigate the possible impact of the removal of table column
cache for extensions in 7.6, the cache configuration is kept
but the backend set to NullBackend.

Change-Id: Ida1b6b27d34b1703aca148f726d5ba051faaa3d1
Resolves: #77604
Related: #77411
Releases: 7.6
Reviewed-on: https://review.typo3.org/49552
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Move reload button in recycler to right 42/49542/2
Georg Ringer [Mon, 22 Aug 2016 17:48:29 +0000 (19:48 +0200)]
[TASK] Move reload button in recycler to right

To be in sync with all other modules, the recycler
button in the toolbar is moved to the right.

Resolves: #77570
Releases: master, 7.6
Change-Id: I6d681239d1d9dc10be356b576c0ac9cb1315a187
Reviewed-on: https://review.typo3.org/49542
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Improve media of pages_language_overlay 35/49535/2
Georg Ringer [Mon, 22 Aug 2016 05:31:50 +0000 (07:31 +0200)]
[TASK] Improve media of pages_language_overlay

FAL relations in translated pages must have the same
properties as in regular pages which includes link fields and the
cropping editor.

Resolves: #77541
Releases: master, 7.6
Change-Id: Ice77cd6c752e46ee048d07ca60c9b76cfc5509e8
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit bd4ad2448d5ec1d3afc98636c1cba70e3a482778)
Reviewed-on: https://review.typo3.org/49535
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Fix column "note" to be compatible with MySQL strict mode 34/49534/3
Wouter Wolters [Mon, 22 Aug 2016 07:48:03 +0000 (09:48 +0200)]
[BUGFIX] Fix column "note" to be compatible with MySQL strict mode

Resolves: #77568
Releases: master,7.6
Change-Id: Ie056cd7fc1d12149b534c6669cb8fe33f83ce667
(cherry picked from commit a346467cd71bb40d7c4d96f2a1460dadbd03dd08)
Reviewed-on: https://review.typo3.org/49534
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Fix unsafe URL removal in EXT:felogin 24/49524/2
Georg Ringer [Thu, 28 Jul 2016 16:01:48 +0000 (18:01 +0200)]
[BUGFIX] Fix unsafe URL removal in EXT:felogin

A comma can be a valid char inside a url and must not used as
delimiter.

Resolves: #75915
Releases: master, 7.6
Change-Id: I0eb3c6389b5d28e96b981217d09c2fef5dbf331d
Reviewed-on: https://review.typo3.org/49524
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[BUGFIX] Fix message "Translate to" 22/49522/2
Georg Ringer [Tue, 16 Aug 2016 17:55:38 +0000 (19:55 +0200)]
[BUGFIX] Fix message "Translate to"

Reset the variable to be able to set the text "Translate to" for
multiple fields.

Resolves: #77506
Releases: master, 7.6
Change-Id: I6b18f30ece04ae5cf5710617dbbc5ea2c0855ad6
Reviewed-on: https://review.typo3.org/49522
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Allow URL path segments like "typo3" 09/49509/2
Mathias Brodala [Mon, 4 Jul 2016 14:16:37 +0000 (16:16 +0200)]
[BUGFIX] Allow URL path segments like "typo3"

Tighten the RewriteRule for static resource passthrough to allow for
speaking URL path segments like "typo3", "fileadmin", etc. instead of
causing a 404 error.

This issue was introduced with https://review.typo3.org/39254/

Resolves: #76928
Releases: master, 7.6, 6.2
Change-Id: I9815b7626d6a33677a3f971f452c0600141632b4
Reviewed-on: https://review.typo3.org/49509
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Felogin form with default layout is not visible 07/49507/2
Michiel Roos [Tue, 19 Apr 2016 10:38:34 +0000 (12:38 +0200)]
[BUGFIX] Felogin form with default layout is not visible

Updated felogin documentation to explain you need to manually
add a TypoScript constant for the template if you run felogin
on TYPO3 6.2 with css_styled_content v4.5.

Change-Id: I7ad6f0722e218c285055360af07f1147f9b89abf
Resolves: #67894
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/49507
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] PHP 7.1: Non-numeric value encountered 06/49506/2
Christian Kuhn [Tue, 5 Jul 2016 21:29:44 +0000 (23:29 +0200)]
[BUGFIX] PHP 7.1: Non-numeric value encountered

$foo = 1 + 'aString'; in PHP 7.1 throws:
PHP Warning: A non-numeric value encountered in ...

Fix this by removing a test that tests this language
construct only instead of the test subject.

Change-Id: I74117cfd003bb525b0a7a674df4aae45d8f92299
Resolves: #76948
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/49506
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Update contribution walkthrough link 05/49505/2
Christian Kuhn [Fri, 5 Aug 2016 21:47:40 +0000 (23:47 +0200)]
[TASK] Update contribution walkthrough link

The contribution walkthrough has been moved from the
wiki to docs.typo3.org

Change-Id: I683bfad410aa75a1dab7fee91b7f0b3cee60070d
Resolves: #77423
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/49505
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Use special treatment for language field in RelationHandler 85/49485/3
Esteban Marín [Tue, 2 Aug 2016 09:21:52 +0000 (11:21 +0200)]
[BUGFIX] Use special treatment for language field in RelationHandler

This fixes saving the default language in BE user group permissions.

Fixes: #75998
Releases: master,7.6
Change-Id: Iace9a0e04b57a7306a529402c7a44b777f494290
Reviewed-on: https://review.typo3.org/49485
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[BUGFIX] Handle l10n_parent if field is no select-type 77/49477/2
Markus Klein [Fri, 29 Jul 2016 09:31:39 +0000 (11:31 +0200)]
[BUGFIX] Handle l10n_parent if field is no select-type

The value of l10n_parent is not necessarily an array.
It may as well be a string from a group-type or simple
input.
Adjust the condition for overlay detection accordingly.

Resolves: #77301
Releases: master, 7.6
Change-Id: I9119dfc0a55d623f037f15ddf1e11f132cf38c0b
Reviewed-on: https://review.typo3.org/49477
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Search in Install Tool must find input values 30/49430/2
Frank Naegler [Fri, 5 Aug 2016 13:47:03 +0000 (15:47 +0200)]
[BUGFIX] Search in Install Tool must find input values

Resolves: #77356
Releases: master, 7.6
Change-Id: I6127c03de37eb5b60dc13217e1f7528a4b628fa4
Reviewed-on: https://review.typo3.org/49430
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix broken language flags via IconUtility::getSpriteIcon 61/49161/4
Frank Naegler [Fri, 22 Jul 2016 08:03:10 +0000 (10:03 +0200)]
[BUGFIX] Fix broken language flags via IconUtility::getSpriteIcon

With #70477 the SpriteIcon stuff has been marked as deprecated.
The patch removed the flags support. This patch fix the problem by checking
the IconRegisty and return the icon by using the IconFactory.

Resolves: #76996
Related: #70477
Releases: 7.6
Change-Id: I0323c6bc132eb9a8049294ee66ac3cf37d10f9fd
Reviewed-on: https://review.typo3.org/49161
Reviewed-by: Thomas Mayer <thomas.mayer@2bis10.de>
Tested-by: Thomas Mayer <thomas.mayer@2bis10.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Check opendir result in fixPermissions 07/49407/2
Tomita Militaru [Wed, 11 May 2016 08:55:48 +0000 (10:55 +0200)]
[BUGFIX] Check opendir result in fixPermissions

Checks opendir result if it is a resource before passing it
to readdir.

Resolves: #47981
Releases: master, 7.6
Change-Id: I45ca844c7ab353a28dc7002ec206bcb054b01c96
Reviewed-on: https://review.typo3.org/49407
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] 'eval' => 'null' field stays disabled 03/49403/2
Frank Naegler [Fri, 5 Aug 2016 19:50:38 +0000 (21:50 +0200)]
[BUGFIX] 'eval' => 'null' field stays disabled

This is a regression fix, introduced with #75397

Resolves: #77287
Related: #75397
Releases: master, 7.6
Change-Id: I405646aee0acc6a67753c79ae4b3d3c5f8de1bed
Reviewed-on: https://review.typo3.org/49403
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[TASK] Remove extbase table column cache 96/49396/3
Benni Mack [Thu, 4 Aug 2016 15:17:04 +0000 (17:17 +0200)]
[TASK] Remove extbase table column cache

The extbase table column cache "extbase_typo3dbbackend_tablecolumns"
stores all DB fields of all DB tables to detect if the TCA table contains
a field named "pid".

However, if a DB table has a TCA definition but no PID, then it fails
at so many places. No need to execute a admin_get_fields call on every
method call.
(Which caches this information - ironically - in the database by default)

The cache can be removed without substitution as the superfluous
check on the DB field "pid" is removed.

Resolves: #77411
Releases: master, 7.6
Change-Id: Ib4dca4e5f895f0e4334c26482423b833dcb773ca
Reviewed-on: https://review.typo3.org/49396
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Make EXT:filemetadata work with MySQL strict mode 91/49391/2
Benni Mack [Fri, 5 Aug 2016 13:14:24 +0000 (15:14 +0200)]
[BUGFIX] Make EXT:filemetadata work with MySQL strict mode

EXT:filemetadata delivers a lot of sys_file_metadata fields
with NOT NULL in it, which does not make sense.

MySQL strict mode does not work with this SQL definition.

Resolves: #77418
Releases: master, 7.6
Change-Id: Ia93c3fd88066ba148b26eb8044fa297d8572c86f
Reviewed-on: https://review.typo3.org/49391
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[TASK] EXT:sysext: enlarge column field in sys_refindex to 64 chars 71/49371/2
Jörg Bösche [Wed, 3 Aug 2016 21:21:08 +0000 (23:21 +0200)]
[TASK] EXT:sysext: enlarge column field in sys_refindex to 64 chars

Concern extension "sysext".

Additional field names in the database tables, which are greater than
40 characters are not completely saved. Often new columns have an
extension prefix and a name.
e.g. tx_myextension_model_tags_customFieldName
Since MySQL 5.5+ it is possible to define database table name
columns with 64 characters.

The fix is for the master branch and backporting the version 7.6 LTS.
Version 7.6 LTS requires MySQL version 5.5+.

Resolves: #77323
Releases: master, 7.6
Change-Id: Ia163599c37c53275b0e36443f4f9f4c52919800a
Reviewed-on: https://review.typo3.org/49371
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] EXT:form - Update documentation 70/49370/2
Björn Jacob [Tue, 28 Jun 2016 06:26:26 +0000 (08:26 +0200)]
[TASK] EXT:form - Update documentation

Added new screenshots. Removed documentation for obsolete "breakOnError"
configuration. Corrected grammar and typos.

Resolves: #70087
Releases: master, 7.6
Change-Id: Iaa1e58e0583f8293eb2d26c65fbf35f87ae4e017
Reviewed-on: https://review.typo3.org/48699
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-on: https://review.typo3.org/49370

2 years ago[BUGFIX] Opposite MM relation between both new entities not created 52/49352/2
Oliver Hader [Tue, 2 Aug 2016 22:32:11 +0000 (00:32 +0200)]
[BUGFIX] Opposite MM relation between both new entities not created

Scenario:
* usage in a workspace
* tt_content and sys_category records are created at the same time
  with defining an MM relation
* sys_category.items (group/db field, with MM and opposite usage
  defined) is filled with accordant tt_content record

Problem:
* the remap-stack in DataHandler does not consider references that
  are defined in a group/db field
* thus, these kind of relations are just not set, since the opposite
  reference uid cannot be resolved

Solution:
* process group/db relations with new record uids in remap-stack

Resolves: #77374
Releases: master, 7.6
Change-Id: If5e6589e2a0995dc4fce3ff49bd309f2fdb6eb24
Reviewed-on: https://review.typo3.org/49337
Reviewed-on: https://review.typo3.org/49352
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>