Packages/TYPO3.CMS.git
19 months ago[TASK] Loosen Symfony components version constraint 64/48064/7
Mathias Brodala [Wed, 23 Nov 2016 12:46:06 +0000 (13:46 +0100)]
[TASK] Loosen Symfony components version constraint

Allow installation with Symfony components of 2.8 branch
but continue to disallow 3.x.

Update our lock file accordingly

Releases: 7.6
Resolves: #76118
Resolves: #78775
Change-Id: Icd3c3fb02a855eff0b6bebcb5670f81cd7d266e8
Reviewed-on: https://review.typo3.org/48064
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Peter Foerger <pfoerger@mac.com>
Tested-by: Peter Foerger <pfoerger@mac.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
19 months ago[TASK] Set TYPO3 version to 7.6.14-dev 48/50748/2
TYPO3 Release Team [Tue, 22 Nov 2016 10:37:16 +0000 (11:37 +0100)]
[TASK] Set TYPO3 version to 7.6.14-dev

Change-Id: I04653d8faa9f4dd904609087b24615f81e042266
Reviewed-on: https://review.typo3.org/50748
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
19 months ago[RELEASE] Release of TYPO3 7.6.13 47/50747/2 7.6.13 TYPO3_7-6-13
TYPO3 Release Team [Tue, 22 Nov 2016 10:36:28 +0000 (11:36 +0100)]
[RELEASE] Release of TYPO3 7.6.13

Change-Id: I7e7840d7dbc33f87d2786ae4df3a539ee5c49d67
Reviewed-on: https://review.typo3.org/50747
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
19 months ago[SECURITY] Prevent unnecessary unserialize in SuggestWizard 41/50741/2
Nicole Cordes [Tue, 22 Nov 2016 10:09:23 +0000 (11:09 +0100)]
[SECURITY] Prevent unnecessary unserialize in SuggestWizard

Resolves: #78557
Releases: 8.4, 7.6, 6.2
Security-Commit: 09cffbbc82fe4c8c4731e4c19cfc0c7c8cb673d4
Security-Bulletins: TYPO3-CORE-SA-2016-023, 024
Change-Id: I2a3c7ea2c8c2f65182956deee0e162ceb83e1874
Reviewed-on: https://review.typo3.org/50741
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
19 months ago[SECURITY] Disallow invalid encoding in GeneralUtility::validPathStr 40/50740/2
Benni Mack [Tue, 22 Nov 2016 10:09:16 +0000 (11:09 +0100)]
[SECURITY] Disallow invalid encoding in GeneralUtility::validPathStr

Directory names, which have an invalid UTF encoding,
cause the preg_match() to return false.
To avoid that the complete statement in GeneralUtility::validPathStr()
returns true in this case, a strict comparison against 0 is added,
so that we ensure that strings with invalid encodings are rejected
by this API method.

As a consequence UTF-16 encoded path names are rejected as well, if the
system / file system does not support them.

Resolves: #73453
Releases: master, 8.4, 7.6, 6.2
Security-Commit: 2a05bec1cfd6fdafdaba8de51369f1d86ca60db0
Security-Bulletins: TYPO3-CORE-SA-2016-023, 024
Change-Id: I875d45005b4a8b8d027fba078c9be399bb13a782
Reviewed-on: https://review.typo3.org/50740
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
19 months ago[BUGFIX] indexed_search/template_css: Remove useless &nbsp; 18/50718/2
Benjamin Franzke [Tue, 29 Dec 2015 06:35:47 +0000 (07:35 +0100)]
[BUGFIX] indexed_search/template_css: Remove useless &nbsp;

The seachword input field has &nbsp; appended. It's not clear why
that was ever needed. But it's kinda useless and requires quite some
css hacks to hide that, if the label and input field are inlined.

Change-Id: I0387e46c2b0e9f8ae2e9a174cf042b6d4972f18b
Releases: master, 7.6
Resolves: #78727
Reviewed-on: https://review.typo3.org/50718
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] Trim input into xml2array 17/50717/2
Anja Leichsenring [Sun, 20 Nov 2016 08:42:59 +0000 (09:42 +0100)]
[BUGFIX] Trim input into xml2array

Preciding whitespace in the xml input string causes xml2array()
to fail with an error message. This whitespace is often
introduced by formatting code via IDE, so blaming the developer
only helps so far. Inserting a trim() before the input is processed
mitigates the problem.

Resolves: #78752
Releases: master, 7.6
Change-Id: I3b9d3c81b64d502e7cefef80e72bef3a1bd9b3da
Reviewed-on: https://review.typo3.org/50717
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] Do not serialize variables for TransientMemoryBackend 34/50634/6
Claus Due [Sun, 13 Nov 2016 13:06:06 +0000 (14:06 +0100)]
[BUGFIX] Do not serialize variables for TransientMemoryBackend

This change switches the internal behavior of the VariableFrontend
when combined with the TransientMemoryBackend. Before this
patch the VariableFrontend was only capable of storing strings
and would serialize all variables it received, and unserialize all
variables it retrieves.

Rather than do this unnecessary serializing, a new contract is
implemented to indicate that the backend implementing the
contract is capable of storing non-string values, including
references to objects. When the VariableFrontend detects
this contract it skips the serialize/unserialize steps.

Change-Id: I255dbda2ae3791ad6325c5b4ad67c97e172e22f4
Releases: master, 7.6
Resolves: #78664
Reviewed-on: https://review.typo3.org/50634
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] YouTubeRenderer: urlencode the origin parameter 13/50713/2
Benjamin Franzke [Thu, 17 Nov 2016 05:54:21 +0000 (06:54 +0100)]
[BUGFIX] YouTubeRenderer: urlencode the origin parameter

Commit 84ab413 (https://review.typo3.org/49416) fixed the origin
parameter to include the full host (and thus the scheme).
The full host url was not urlencoded. As the scheme contains
slashes this has to be encoded as well.

Change-Id: Ifb73dfc11ef723049729e0475eb6ac234db6a3eb
Releases: master, 7.6
Resolves: #78728
Reviewed-on: https://review.typo3.org/50713
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] Add check for valid directory name for TCA select fileFolder 12/50712/3
Anja Leichsenring [Thu, 17 Nov 2016 16:29:43 +0000 (17:29 +0100)]
[BUGFIX] Add check for valid directory name for TCA select fileFolder

If an invalid extension name is passed to a 'EXT:...' path, the
GeneralUtility::getFileAbsFileName function returns an empty string.
This results in a scan of '\' in the first place, and the resulting
error is not helpful for finding the source of the missing icons
in the TCA select box.
A check for a valid directory name and an exception in case of
failure will help the situation.

Resolves: #78737
Releases: master, 7.6
Change-Id: I9d5159eac9b511e879144789eecb40eafcc0288c
Reviewed-on: https://review.typo3.org/50712
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] Generate correct syntax in new VH compiling Traits 11/50711/2
Claus Due [Fri, 18 Nov 2016 19:10:05 +0000 (20:10 +0100)]
[BUGFIX] Generate correct syntax in new VH compiling Traits

Fixes a bad PHP syntax being generated by the
CompileWithContentArgumentAndRenderStatic
ViewHelper trait.

Change-Id: I2fea3b3eda7cef89981f2b74e08b93cb4b8d6a68
Resolves: #78748
Releeases: 7.6
Reviewed-on: https://review.typo3.org/50711
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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] Import forward-compatible Fluid compiling Traits 76/50676/4
Claus Due [Wed, 16 Nov 2016 13:47:11 +0000 (14:47 +0100)]
[TASK] Import forward-compatible Fluid compiling Traits

This change will allow third party ViewHelpers to
adopt the traits and benefit from
the same compiling support in TYPO3 7.6 as on v8.5+.

Change-Id: I6ac8eb59b4fde37a472d2a1e113fb7c0ec4b71a9
Resolves: #78718
Releases: 7.6
Reviewed-on: https://review.typo3.org/50676
Reviewed-by: Helmut Hummel <typo3@helhum.io>
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>
19 months ago[BUGFIX] Update session id in user property 02/50702/2
Helmut Hummel [Thu, 17 Nov 2016 23:56:47 +0000 (23:56 +0000)]
[BUGFIX] Update session id in user property

The session id is also additionally stored in the
user property array in AbstractUserAuthentication.
When regenerating the session id, we must update the
session id in this user property as well, otherwise
it leads to failures in session handling (like #69763).

The workaround introduce for #69763 can stay, because
it mitigates other reasons for invalid tokens in the URL
by redirecting to the login page.

Resolves: #78739
Related: #69763
Releases: master, 7.6, 6.2
Change-Id: Ib58e6b5dacae3b9e431e662e214557411fd668f3
Reviewed-on: https://review.typo3.org/50702
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: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
19 months ago[BUGFIX] Use GeneralUtility::getUrl in DocumentationService->fetchDocument 63/50663/2
Claus Due [Tue, 15 Nov 2016 14:09:57 +0000 (15:09 +0100)]
[BUGFIX] Use GeneralUtility::getUrl in DocumentationService->fetchDocument

This avoids issues with frequent incompatibilities with SSLv2
in libcurl.

Change-Id: I7eae2d266da2d11cc809603974f73f4a9c089467
Resolves: #78703
Releases: 7.6
Reviewed-on: https://review.typo3.org/50663
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: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
19 months ago[TASK] Update pear/http_request2 dependency to version 2.3.0 92/48692/5
Claus Due [Tue, 15 Nov 2016 13:32:24 +0000 (14:32 +0100)]
[TASK] Update pear/http_request2 dependency to version 2.3.0

Updates the mentioned dependency and accommodates new
differences in "include-paths" setting which is now included
directly from within the dependency. Preserving the previous
"include-path" setting breaks the inclusion completely.

NB: Must be followed up with patch to documentation download
which after this change will be incapable of downloading https
urls (e.g. zip files with documentation).

Change-Id: Ib06f44e6e1283aa6d5eb1dc0254005ef0eeb3f62
Resolves: #67838
Releases: 7.6
Reviewed-on: https://review.typo3.org/48692
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: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
19 months ago[FOLLOWUP][BUGFIX] Redirect BE user to login on invalid module/route token 89/50689/3
Markus Klein [Thu, 17 Nov 2016 07:10:11 +0000 (08:10 +0100)]
[FOLLOWUP][BUGFIX] Redirect BE user to login on invalid module/route token

Resolves: #69763
Releases: master, 7.6
Change-Id: Ib5ec7e26cadb51b972ff617f23121cebd490bdb5
Reviewed-on: https://review.typo3.org/50689
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[BUGFIX] Redirect BE user to login on invalid module/route token 87/50687/2
Frans Saris [Tue, 15 Nov 2016 11:24:01 +0000 (12:24 +0100)]
[BUGFIX] Redirect BE user to login on invalid module/route token

Resolves: #69763
Releases: master, 7.6
Change-Id: I2d9e80b7c669c55067690aedf5a7c91256d7c28b
Reviewed-on: https://review.typo3.org/50687
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[BUGFIX] Fix login redirect_url for fresh logins 84/50684/2
Benjamin Franzke [Wed, 16 Nov 2016 13:30:23 +0000 (14:30 +0100)]
[BUGFIX] Fix login redirect_url for fresh logins

The new BE Login form API in commit 9099b64c missed to pass
$_GET['redirect_url'] into the login template, which caused
redirect_url to work only for already logged-in sessions.

Change-Id: I13081f303047e93863d8ce820d8e4fade0cea89b
Resolves: #78719
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50684
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
19 months ago[BUGFIX] Use scheme from EnvironmentVariables for forceAbsoluteUrl 83/50683/2
Frans Saris [Tue, 15 Nov 2016 11:46:57 +0000 (12:46 +0100)]
[BUGFIX] Use scheme from EnvironmentVariables for forceAbsoluteUrl

Resolves: #78699
Releases: master, 7.6
Change-Id: If238a92e20f2382ad3b37a231992a122eff80826
Reviewed-on: https://review.typo3.org/50683
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
19 months ago[TASK] Cover t3_origuid in functional tests for Workspaces/Regular/PublishAll 36/50636/2
Tymoteusz Motylewski [Thu, 10 Nov 2016 12:01:53 +0000 (13:01 +0100)]
[TASK] Cover t3_origuid in functional tests for Workspaces/Regular/PublishAll

The t3_origuid field is now covered in functional tests for DataHandler
in workspaces module (Regular/PublishAll suite).

Releases: master, 7.6
Resolves: #78637
Change-Id: I6f10bc4973e86e559744021e1c0e0ca4c53105e8
Reviewed-on: https://review.typo3.org/50636
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
19 months ago[BUGFIX] Catch exceptions while dumping a file 65/50665/2
Wouter Wolters [Wed, 11 May 2016 14:14:53 +0000 (16:14 +0200)]
[BUGFIX] Catch exceptions while dumping a file

While dumping a file in the frontend no exceptions are
caught. When a exception happens a 500 HTTP status is thrown.

Catch all exceptions to return the correct 404 HTTP status.

Releases: master,7.6,6.2
Resolves: #76153
Change-Id: Ice7097b6a41432ec580f99185d352307c5f55394
Reviewed-on: https://review.typo3.org/50665
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[TASK] Add correct parameter phpDoc types in LocalizationRepository 41/50641/2
Wouter Wolters [Sun, 13 Nov 2016 13:46:13 +0000 (14:46 +0100)]
[TASK] Add correct parameter phpDoc types in LocalizationRepository

Add missing type information to phpDoc.

Resolves: #78678
Releases: master, 7.6
Change-Id: Id626c849bacc46f7a66c6936d34a71b1b2678f2f
Reviewed-on: https://review.typo3.org/50641
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
19 months ago[BUGFIX] Let Extension Manager API also create folders 32/50632/2
Helmut Hummel [Wed, 9 Nov 2016 21:38:20 +0000 (21:38 +0000)]
[BUGFIX] Let Extension Manager API also create folders

The API method added in for #70606 does not
create extension folders, which makes the API
incomplete and more or less useless.

Move the method call to create the folder into the API method.
Although the creation is done later then, the code in question
didn't need the folders anyway.

Resolves: #78631
Related: #70606
Releases: master, 7.6
Change-Id: I17b3527cd2c26e0bb1bdfedcb68dc7ae6064500d
Reviewed-on: https://review.typo3.org/50632
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
19 months ago[BUGFIX] Do not add empty alert fieldChangeFunc to link browser URL 23/50623/2
Markus Klein [Thu, 10 Nov 2016 22:02:42 +0000 (23:02 +0100)]
[BUGFIX] Do not add empty alert fieldChangeFunc to link browser URL

Adding an empty alert message to the fieldChangeFunc array causes
the fieldChangeFunc_hash to mismatch when pagination or search
is used in the link browser popup.

Add a check for an empty value, which is already present in another
place in Core.

Resolves: #75743
Releases: master, 7.6
Change-Id: I1a15400960d577c1a2a0a905643b56533d957100
Reviewed-on: https://review.typo3.org/50623
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
19 months ago[TASK] Use HTML5 input type number for backend pagination 31/50631/2
Georg Ringer [Tue, 8 Nov 2016 14:54:46 +0000 (15:54 +0100)]
[TASK] Use HTML5 input type number for backend pagination

Using the type number for the pagination page field improves the
usability.

Resolves: #78608
Releases: master, 7.6
Change-Id: I963bda892bb7a0ec72b2726f6086808dd421ac1c
Reviewed-on: https://review.typo3.org/50631
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[TASK] Use semver for Symfony versions 29/50629/2
Patrik Karisch [Sun, 18 Sep 2016 12:45:24 +0000 (14:45 +0200)]
[TASK] Use semver for Symfony versions

Symfony has one of the best BC promises in the PHP world. Which means it
will be never a problem to allow all new minor versions of a supported
major release, even if there are deprecations. Deprecations don't infer
with existing code.

Resolves: #77983
Resolves: #76118
Related: #73517
Releases: master, 7.6
Change-Id: I221bb61674b3e4aaa7676d0929dae2ec18e01627
Reviewed-on: https://review.typo3.org/50629
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
19 months ago[BUGFIX] Resolves extension dependencies recursively 28/50628/2
Nicole Cordes [Sat, 12 Nov 2016 09:19:10 +0000 (10:19 +0100)]
[BUGFIX] Resolves extension dependencies recursively

Currently it is not possible to install an extension which has special
sub-dependencies (e.g. dependencies of sub-extensions). During the
installation of an extension, the download information is fetched too
early and might not contain all necessary downloads. Furthermore later
installation actions add new dependencies, which have to be resolved
before any other extension can be installed.

This patch ensures all dependencies and their sub-dependencies are
fetched before the first installation. All installation information is
now correctly ordered, as the last one added has to be the first one in
the installation queue.

Change-Id: I6ab77a9deb883ad9eb00bfcae33dd3133695328a
Resolves: #78666
Relates: #66152
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50628
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[BUGFIX] Bind the cHash to the id of the "real" page 24/50624/3
Helmut Hummel [Sat, 12 Nov 2016 23:48:56 +0000 (00:48 +0100)]
[BUGFIX] Bind the cHash to the id of the "real" page

If a link to a mount point or a shortcut is created,
the id argument in the url points to the id of the real page,
where the mount or the shortcut points to.

This is why we need to take the id of the final page
to be hashed and not the one used to generate the link.

We also need to move cHash calculation below shortcut resolving.

Resolves: #78238
Releases: master, 7.6, 6.2
Change-Id: I96c4305c6d769a5851c17d6fdcba3cd7584fc3ec
Reviewed-on: https://review.typo3.org/50624
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[BUGFIX] EM must treat line breaks correctly in extension data 27/50627/2
Markus Klein [Mon, 7 Nov 2016 00:38:47 +0000 (01:38 +0100)]
[BUGFIX] EM must treat line breaks correctly in extension data

The XML push-parser now correctly collects the data for
description and upload comment. When the data contain line breaks
the characterData() method is called multiple times
for each line of data.

Resolves: #78306
Releases: master, 7.6
Change-Id: Ibfa446b92904572d1f4530b265e94228857a5f02
Reviewed-on: https://review.typo3.org/50627
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[BUGFIX] Provide addQueryStringMethod for ViewHelper f:form 89/50489/3
Georg Ringer [Thu, 3 Nov 2016 07:33:51 +0000 (08:33 +0100)]
[BUGFIX] Provide addQueryStringMethod for ViewHelper f:form

Make it possible to set the addQueryStringMethod for the f:form
ViewHelper. Otherwise it is impossible to add parameters resolved
by realurl. This has been fixed in master already.

Resolves: #78553
Releases: 7.6
Change-Id: I79a491ec20d8067d410cd8d74a732dc3a45f26d4
Reviewed-on: https://review.typo3.org/50489
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[TASK] Close document by clicking "Save and create new one" 10/50610/2
Markus Hoelzle [Sat, 5 Nov 2016 11:29:16 +0000 (12:29 +0100)]
[TASK] Close document by clicking "Save and create new one"

Close the current document in 'Open documents' list by
clicking the "Save and create a new one" button.

Resolves: #78545
Releases: master, 7.6
Change-Id: Id401f6471132ef7b66ad35cae4b15c5f384b857e
Reviewed-on: https://review.typo3.org/50610
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[BUGFIX] Handle different result types in dbal 89/50189/3
Nicole Cordes [Tue, 11 Oct 2016 19:56:42 +0000 (21:56 +0200)]
[BUGFIX] Handle different result types in dbal

Due to multiple SQL compilers the return type is mixed between strings
and arrays. To be able to run both the
\TYPO3\CMS\Dbal\Database\DatabaseConnection::admin_query should care
about arrays.

Resolves: #78250
Releases: 7.6
Change-Id: Ib9b3e8cb3d98e4556257331a720aeaa49db0b2cd
Reviewed-on: https://review.typo3.org/50189
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[TASK] Remove typo3/.htaccess 82/50582/4
Markus Klein [Thu, 10 Nov 2016 17:22:56 +0000 (18:22 +0100)]
[TASK] Remove typo3/.htaccess

The current solution caused a lot of troubles with server configuration.
To avoid any nasty workarounds we simply create a real entry point again.

Resolves: #78645
Releases: master, 7.6
Change-Id: I9003ffe8308290a145fe36a1e9ff884016ea0523
Reviewed-on: https://review.typo3.org/50582
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Kiessling <andreas.kiessling@web.de>
Tested-by: Andreas Kiessling <andreas.kiessling@web.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[TASK] Streamline and optimize JavaScript in install tool 99/50599/2
Frank Naegler [Wed, 9 Nov 2016 13:04:37 +0000 (14:04 +0100)]
[TASK] Streamline and optimize JavaScript in install tool

This patch optimize and streamline the JavaScript of Install.js
The following changes are part of the patch:

- Centralized FlashMessage handling
- Streamline server side and browser side severities
- Optimize performance, remove duplicate jQuery selector
- Remove console.debug calls
- Remove unused FlashMessage templates from views

Resolves: #78376
Releases: master, 7.6
Change-Id: I0652335e5d0bc4666896d5c7b6b528db445ee951
Reviewed-on: https://review.typo3.org/50599
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[BUGFIX] Fix double escaping of icon and title in EXT:impexp 79/50579/2
Wouter Wolters [Thu, 10 Nov 2016 16:09:11 +0000 (17:09 +0100)]
[BUGFIX] Fix double escaping of icon and title in EXT:impexp

The title and icon are double escaped. This leads to HTML output
as readable code. Move translation into the controller.

Resolves: #76277
Releases: master,7.6
Change-Id: I5529e00788ea870475d4b46f2da9dd472d226a97
Reviewed-on: https://review.typo3.org/50579
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
19 months ago[BUGFIX] Use page uid instead of alias for cHash calculation 74/50574/2
Helmut Hummel [Mon, 31 Oct 2016 23:14:45 +0000 (00:14 +0100)]
[BUGFIX] Use page uid instead of alias for cHash calculation

To make cHash calculation work again, we need to use the page uid.
However the GET argument might contain a page alias and not the id.
Use the calculated id instead to avoid wrong cHash calculation.

Resolves: #78526
Releases: master, 7.6, 6.2
Change-Id: Iaa89b7a52a581bd5ac7c0b01049a7f9596258051
Reviewed-on: https://review.typo3.org/50574
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
19 months ago[BUGFIX] Hide language switcher if record has no default translation 86/50186/6
Christina Hauk [Tue, 11 Oct 2016 13:43:18 +0000 (15:43 +0200)]
[BUGFIX] Hide language switcher if record has no default translation

Disable further language menu options in free mode. If language record
doesn't have a record in the default language there are no more options
in the language menu needed.

Resolves: #72797
Releases: master, 7.6
Change-Id: Ic5211f99c3c53f3097057ba580e3394896b81170
Reviewed-on: https://review.typo3.org/50186
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] Continue searching after empty result in suggest wizard 43/50543/2
Wouter Wolters [Mon, 7 Nov 2016 22:18:32 +0000 (23:18 +0100)]
[BUGFIX] Continue searching after empty result in suggest wizard

Apply the same fix as was done for the LiveSearch.

Resolves: #78457
Related: #77566
Releases: master,7.6
Change-Id: I861e6267b4804f8009d138e22520f1b95ba421b6
Reviewed-on: https://review.typo3.org/50543
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
19 months ago[TASK] Cover t3_origuid in functional tests for Wokspaces/Regular/Publish 42/50542/2
Tymoteusz Motylewski [Mon, 7 Nov 2016 20:46:41 +0000 (21:46 +0100)]
[TASK] Cover t3_origuid in functional tests for Wokspaces/Regular/Publish

The t3_origuid field is now covered in functional tests for DataHandler
in workspaces module (Regular/Publish suite).

Releases: master, 7.6
Resolves: #78597
Change-Id: I4caf9490866319470af48b9fb4f177c1c3a0b708
Reviewed-on: https://review.typo3.org/50542
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] Remove Documentation/Settings.yml 27/50527/2
Christian Kuhn [Mon, 7 Nov 2016 14:41:43 +0000 (15:41 +0100)]
[TASK] Remove Documentation/Settings.yml

The files were substituted with "Settings.cfg" a while
ago and are now obsolete according to the docs team.

Change-Id: I43f2a6fca83f839359d5c1b0c1bb4f0cf967e253
Resolves: #78595
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50527
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] Listview: Display parent field of categories 23/50523/2
Michael Oehlhof [Wed, 19 Oct 2016 13:07:07 +0000 (15:07 +0200)]
[BUGFIX] Listview: Display parent field of categories

Resolves: #72311
Releases: master, 7.6
Change-Id: I47b19ccb5e74c5755630dba3626dad29b7b24fc7
Reviewed-on: https://review.typo3.org/50523
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
19 months ago[BUGFIX] ElementBrowser does not highlight selected file in file list view 02/50502/7
Jörg Bösche [Fri, 4 Nov 2016 14:34:47 +0000 (15:34 +0100)]
[BUGFIX] ElementBrowser does not highlight selected file in file list view

FileLinkHandler in element browser should highlight the selected file
reference in browser. If the link value is "file:12345" the part after
"file:" from the string will be extracted and has to be cast as an int.
The later check for CSS class "active" in file list compares two numbers,
so the ID must be of type integer.

Resolves: #78574
Releases: 7.6
Change-Id: I11f8bf6bc73a08ff72edcb4769a206010d0226af
Reviewed-on: https://review.typo3.org/50502
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: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
19 months ago[DOC] Clarify phpdoc of SimpleFileBackend that lifetime is unsupported 09/50509/2
Markus Klein [Sat, 5 Nov 2016 14:11:16 +0000 (15:11 +0100)]
[DOC] Clarify phpdoc of SimpleFileBackend that lifetime is unsupported

Resolves: #78579
Releases: master, 7.6
Change-Id: I9260256630a6916bcc5b8cb8b93041f0a3bcf444
Reviewed-on: https://review.typo3.org/50509
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
19 months ago[BUGFIX] Load ext_emconf information in extension installation 00/50500/2
Nicole Cordes [Wed, 2 Nov 2016 11:53:48 +0000 (12:53 +0100)]
[BUGFIX] Load ext_emconf information in extension installation

With patch https://review.typo3.org/50427/ TER information were not
loaded for extension information. Unfortunately this also skips loading
the dependencies which results in uninstalled dependencies. This patch
introduces a new function to only load needed (and available)
information from ext_emconf file for processing a correct extension
installation/activation.

Resolves: #78540
Releases: master, 7.6, 6.2
Change-Id: I16bddc91cb2523488cedc2293936eeb8aa2eb577
Reviewed-on: https://review.typo3.org/50500
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[TASK] Allow multiple search words for file search 57/50457/4
Markus Klein [Mon, 31 Oct 2016 19:08:02 +0000 (20:08 +0100)]
[TASK] Allow multiple search words for file search

The file search must consider each word of the search text as
individual word and all of them must be present in the file name.

Search words can be bound together by quoting them with
double quotes.

Resolves: #78519
Releases: master, 7.6
Change-Id: I95dcdf3418bfc9090a16c4f199af60799437390e
Reviewed-on: https://review.typo3.org/50457
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[BUGFIX] Always log exception data if file handling fails 74/50474/2
Markus Klein [Mon, 31 Oct 2016 15:15:33 +0000 (16:15 +0100)]
[BUGFIX] Always log exception data if file handling fails

If file handling fails in ContentObjectRenderer the log message
must contain also the exception information, otherwise the
whole error message is useless.

Resolves: #78517
Releases: master, 7.6
Change-Id: I503f5bf17bba302326b9e9eb25faa58c00e35a36
Reviewed-on: https://review.typo3.org/50474
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] Set TYPO3 version to 7.6.13-dev 71/50471/2
TYPO3 Release Team [Tue, 1 Nov 2016 11:20:27 +0000 (12:20 +0100)]
[TASK] Set TYPO3 version to 7.6.13-dev

Change-Id: If8aa6ed92272d5dcc177648da094b292b69b3fde
Reviewed-on: https://review.typo3.org/50471
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
19 months ago[RELEASE] Release of TYPO3 7.6.12 70/50470/2 7.6.12 TYPO3_7-6-12
TYPO3 Release Team [Tue, 1 Nov 2016 11:19:36 +0000 (12:19 +0100)]
[RELEASE] Release of TYPO3 7.6.12

Change-Id: I6c2426e198988e52ff3e6239d81c7add9361b8d9
Reviewed-on: https://review.typo3.org/50470
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
19 months ago[TASK] Properly escape all form attributes in SetupModuleController 81/47181/3
Stefan Neufeind [Fri, 20 Nov 2015 14:34:35 +0000 (15:34 +0100)]
[TASK] Properly escape all form attributes in SetupModuleController

Change-Id: Ia208202e440992e7cf6a21639b83f84205fc2606
Resolves: #69062
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47181
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[BUGFIX] Make checks in localize compatible with new Localization Wizard 67/50467/4
Tymoteusz Motylewski [Sat, 29 Oct 2016 20:51:05 +0000 (22:51 +0200)]
[BUGFIX] Make checks in localize compatible with new Localization Wizard

The checks for language and localization-parent in DataHandler's localize
method are made compatible with the options which the new localization wizard
allows; more specifically allowing translations from other languages than the
default language (but still pointing to a default record).

This makes it also possible to make correct use of the localize command
instead of the copy command now when translating from other languages than
the default language.

Resolves: #78059
Releases: master, 7.6
Change-Id: I01647d759a745abbbf0fa34a16b20f3085ef91ea
Reviewed-on: https://review.typo3.org/50467
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] Remove dependency to RsaEncryptionModule in LoginRefresh 39/50239/2
Frank Naegler [Fri, 14 Oct 2016 13:41:29 +0000 (15:41 +0200)]
[BUGFIX] Remove dependency to RsaEncryptionModule in LoginRefresh

This patch removes the hard dependency to RsaEncryptionModule and adds
a check if the module can be loaded.

It on the go adds a hardening to the RsaEncryptionModule to avoid
registration of form event handlers twice, which is now needed to cover
all potential loading orders of RsaEncryptionModule and LoginRefresh.

Resolves: #78299
Related: #75911
Releases: master, 7.6
Change-Id: Ie03f1c7bc34e48f03213dec70c62d8ccc339ab31
Reviewed-on: https://review.typo3.org/50239
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] Allow RTE transformations in palettes 65/50465/2
Johannes Schlier [Mon, 31 Oct 2016 09:33:47 +0000 (10:33 +0100)]
[BUGFIX] Allow RTE transformations in palettes

When having an RTE inside a palette (e.g. sys_file_reference
description field changed to a RTE field) then the RTE configuration
is not taken into account, thus it's not possible to do proper
transformations. All links are not working then.

The patch allows to parse the fields inside palettes as well.

Resolves: #60399
Resolves: #76745
Releases: master, 7.6
Change-Id: I0c4efc0a03682cd766a2a164cf7b2fa14cd7c1b9
Reviewed-on: https://review.typo3.org/50465
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] Use FAL api to delete file in garbage collection task 32/50432/2
Nicole Cordes [Sat, 29 Oct 2016 12:47:08 +0000 (14:47 +0200)]
[BUGFIX] Use FAL api to delete file in garbage collection task

This patch uses FAL file objects and their api to delete them from
recycler. This is needed to clean up the database entries as well.

Resolves: #78473
Releases: 7.6
Change-Id: Id0df73c19a5fed31bc074efccd9631ab8fffbfa8
Reviewed-on: https://review.typo3.org/50432
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-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] Prevent adding a backend user without password 54/50454/2
Michael Oehlhof [Sat, 29 Oct 2016 22:12:24 +0000 (00:12 +0200)]
[BUGFIX] Prevent adding a backend user without password

Resolves: #78411
Releases: master, 7.6
Change-Id: I47273726595639621c988910a537b205f49be13c
Reviewed-on: https://review.typo3.org/50454
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] Add icon rendering for custom permissions options 50/50450/2
Benjamin Serfhos [Wed, 13 Jul 2016 21:06:14 +0000 (23:06 +0200)]
[BUGFIX] Add icon rendering for custom permissions options

The icon rendering of custom page options was lost during
refactoring of the ItemProviders.

Resolves: #77075
Releases: master, 7.6
Change-Id: Iae6415525d94fc56c48332de9e5bc3980344fbc2
Reviewed-on: https://review.typo3.org/50450
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
19 months ago[BUGFIX] DebuggerUtility changes global blacklist 51/50451/3
Christian Kuhn [Mon, 31 Oct 2016 10:28:02 +0000 (11:28 +0100)]
[BUGFIX] DebuggerUtility changes global blacklist

This is a partial backport of master issue #78499 fixing an issue
in extbase DebuggerUtility to properly reset two static class
variables after use.

Change-Id: I50dba402f1232f86ead88ffbd506043b4673e5d1
Resolves: #78511
Related: #78499
Related: #72407
Releases: 7.6
Reviewed-on: https://review.typo3.org/50451
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
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>
19 months ago[FOLLOWUP][BUGFIX] Fetching configuration-comments should require no comma 46/50446/2
Markus Klein [Mon, 31 Oct 2016 02:29:39 +0000 (03:29 +0100)]
[FOLLOWUP][BUGFIX] Fetching configuration-comments should require no comma

Fix regex to capture description correctly.

Resolves: #78333
Releases: master, 7.6
Change-Id: I8b731c2e1c2a4e9e3d1fdf01823bbefadee367fb
Reviewed-on: https://review.typo3.org/50446
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
19 months ago[BUGFIX] Prevent installation of incompatible extensions 34/50434/2
Nicole Cordes [Fri, 28 Oct 2016 22:16:58 +0000 (00:16 +0200)]
[BUGFIX] Prevent installation of incompatible extensions

If an extension is installed, all information are gathered from database.
Here also a check for possible update versions is triggered. In this
check potential dependency updates are marked which get installed during
the underlying extension installation.
This patch prevents gathering TER information during an installation
process to prevent any update information to be registered.

Change-Id: I1188803335c16c3a8f0c963f611d33b3b495433e
Resolves: #78494
Resolves: #76542
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/50434
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
19 months ago[BUGFIX] Allow "0" as path segment in ArrayUtility 31/50431/3
Helmut Hummel [Fri, 28 Oct 2016 23:17:53 +0000 (01:17 +0200)]
[BUGFIX] Allow "0" as path segment in ArrayUtility

The empty() checks are too loose when checking for path segments
of an array, as "0" is a valid segment.
Instead we need to check for an empty string in the according places.

Also add a missing string check in getValueByPath.

Resolves: #78495
Releases: master, 7.6
Change-Id: I6b2a0c286c345aa94595a4a74da077bc8adea292
Reviewed-on: https://review.typo3.org/50431
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
19 months ago[BUGFIX] Allow shortcuts to edit module 07/50107/2
Nicole Cordes [Fri, 7 Oct 2016 13:57:48 +0000 (15:57 +0200)]
[BUGFIX] Allow shortcuts to edit module

As the shortcut to edit a record is named "xMOD_alt_doc.php" and hasn't
any module configuration, it needs proper handling to verify the shortcut.
Due to some code changes in master, this patch is needed in 7.6 only.

Resolves: #76926
Releases: 7.6
Change-Id: I2e2113983ae7a056275efeee2f328ced8fd69ef3
Reviewed-on: https://review.typo3.org/50107
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Sybille Peters <peters@rrzn.uni-hannover.de>
Tested-by: Oliver Heins <o.heins@bitmotion.de>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[BUGFIX] Use correct content type for BE ajax requests 29/50429/2
Markus Klein [Fri, 28 Oct 2016 22:14:38 +0000 (00:14 +0200)]
[BUGFIX] Use correct content type for BE ajax requests

Fix invalid content type in toolbar items.

Resolves: #78493
Releases: master, 7.6
Change-Id: Ie4341136a9978e1c446f3871ba44602dd7d7f53d
Reviewed-on: https://review.typo3.org/50429
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
19 months ago[TASK] Clean up DebuggerUtility 92/50092/2
Nicole Cordes [Tue, 7 Jun 2016 07:38:06 +0000 (09:38 +0200)]
[TASK] Clean up DebuggerUtility

This patch cleans up the DebuggerUtility and fixing two issues:

* removes possible XSS
* makes it more readable

Resolves: #76478
Releases: master, 7.6, 6.2
Change-Id: If1a68489cd97521e90f8d76cc2810649f9642cd1
Reviewed-on: https://review.typo3.org/50092
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Patricia Tiedemann <pixelaeffchen@googlemail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[BUGFIX] Fix negative pid when doing a positioned insert 00/50400/2
Marco Huber [Thu, 24 Mar 2016 11:16:42 +0000 (12:16 +0100)]
[BUGFIX] Fix negative pid when doing a positioned insert

If you insert a content element (or a page) at a concrete position f.e.
after content element 15 the value in $row['pid'] is -15.
This pseudo pid has to be converted to the real pid to get the right
page TsConfig.

Resolves: #75254
Related: #72751
Releases: master, 7.6
Change-Id: Ia2c7a34bf6c825709ca51aa32b84a5fc660817c3
Reviewed-on: https://review.typo3.org/50400
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
19 months ago[BUGFIX] Fix unclear position for the new page using the wizard 96/50396/2
Michael Oehlhof [Sat, 22 Oct 2016 09:31:19 +0000 (11:31 +0200)]
[BUGFIX] Fix unclear position for the new page using the wizard

Resolves: #72957
Releases: master, 7.6
Change-Id: I06cee55c78365ff83a239fff71ef02a180009f30
Reviewed-on: https://review.typo3.org/50396
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
19 months ago[BUGFIX] Pass correct query parameter to image manipulation view 94/50394/2
pille72 [Wed, 26 Oct 2016 14:17:19 +0000 (16:17 +0200)]
[BUGFIX] Pass correct query parameter to image manipulation view

The TCA type "imageManipulation" has a boolean config called "enableZoom".
As declared in "ImageManipulationElement" this config will be added to
the "ImageManipulationWizard" wizardData in a key called "zoom".
But "ImageManipulationWizard" assigns a non existing key "bool".

So "enableZoom" set to true or false will always result in false.

Releases: master, 7.6
Resolves: #78444
Change-Id: I7580927d4edeec246d71ade32497d34ba107589d
Reviewed-on: https://review.typo3.org/50394
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] Group mount points that have the same parent 88/50388/2
Michael Stucki [Thu, 1 Sep 2016 13:28:34 +0000 (15:28 +0200)]
[BUGFIX] Group mount points that have the same parent

If options.pageTree.showPathAboveMounts is enabled in
UserTS, group mount points that have the same parent page.

Resolves: #77734
Releases: master, 7.6
Change-Id: I799f20b94725f64deb4bcd025b87b978c6751976
Reviewed-on: https://review.typo3.org/50388
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
19 months ago[BUGFIX] Show mountpoint path in record + link browsers if enabled in UserTS 87/50387/2
Michael Stucki [Thu, 1 Sep 2016 13:31:59 +0000 (15:31 +0200)]
[BUGFIX] Show mountpoint path in record + link browsers if enabled in UserTS

If options.pageTree.showPathAboveMounts is enabled in
UserTS, respect the setting also in record and link
browsers.

Resolves: #77734
Releases: master, 7.6
Change-Id: I492d8a7eb3a8c557c231be7aaf58dfa8dd90cc7d
Reviewed-on: https://review.typo3.org/50387
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
19 months ago[BUGFIX] Fix page tree mountpoint path 84/50384/2
Michael Stucki [Thu, 1 Sep 2016 13:27:32 +0000 (15:27 +0200)]
[BUGFIX] Fix page tree mountpoint path

If options.pageTree.showPathAboveMounts is enabled in
UserTS, don't add the name of the mountpoint startpage to
this path.

Resolves: #77734
Releases: master, 7.6
Change-Id: I68da82778921ac37e6b827ab8b6ca21993cf6491
Reviewed-on: https://review.typo3.org/50384
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] Adding back access to parentMenuArr and menuitem in subMenu 76/50376/3
Stefan Bürk [Fri, 29 Jul 2016 07:52:00 +0000 (09:52 +0200)]
[BUGFIX] Adding back access to parentMenuArr and menuitem in subMenu

Adding the possibility to access the menuArr and direct menuItem from
the parent menu in subMenu instances to provide the ability to check
for parent item information or parent sibling item informations.

Providing two getters and a combined setter, called in the subMenu
method to readd this data access instead of simple using the old
unsafe and undeclared property set.

Leaving the parentMenuArr member public for now, even it is not
nice.

Resolves: #77296
Releases: master, 7.6
Change-Id: I3cfce3c67e840e6e97fa9c55ffaf997a509ee0e8
Reviewed-on: https://review.typo3.org/50376
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] Make extbase subclasses work with numeric types 74/50374/2
Sascha Egerer [Tue, 25 Oct 2016 05:52:44 +0000 (07:52 +0200)]
[BUGFIX] Make extbase subclasses work with numeric types

The extbase subclasses configuration does currently not work with a
numeric database field that identifies the type of a record. This is
due to a strict comparison that compares the stringish TypoScript
value against the numeric database value.

Both values are casted to string to make the comparision work.

Resolves: #78416
Releases: master, 7.6
Change-Id: Iea4cf41301892a6788facd3befe5533e263cc3f6
Reviewed-on: https://review.typo3.org/50374
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] Minor lint in 7.6 .travis.yml 60/50360/2
Christian Kuhn [Tue, 25 Oct 2016 09:17:25 +0000 (11:17 +0200)]
[BUGFIX] Minor lint in 7.6 .travis.yml

The missing semicolon may lead to unexpected behavior.

Change-Id: I503d042139729fb6f60090480f60e1f66da43976
Resolves: #78419
Releases: 7.6
Reviewed-on: https://review.typo3.org/50360
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
19 months ago[BUGFIX] Fix reference count when ref_table is sys_file 19/50319/3
Wouter Wolters [Fri, 21 Oct 2016 14:41:16 +0000 (16:41 +0200)]
[BUGFIX] Fix reference count when ref_table is sys_file

When ref_table is sys_file the references to sys_file_metadata
should be excluded. Otherwise the deletion of sys_file records
can throw a message that there still is a reference but that is
not listed in the filelist column "Ref".

Resolves: #78368
Releases: master, 7.6, 6.2
Change-Id: I8cbfd93f53e1c3bf78e1f5a23f84ccae731da3ff
Reviewed-on: https://review.typo3.org/50319
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Robert van Kammen <rvkammen@hotmail.com>
Tested-by: Robert van Kammen <rvkammen@hotmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
20 months ago[BUGFIX] Custom select renderTypes use TcaSelectItems 47/50347/2
Christian Kuhn [Sat, 22 Oct 2016 15:46:09 +0000 (17:46 +0200)]
[BUGFIX] Custom select renderTypes use TcaSelectItems

There are two FormEngine data provider for type=select: TcaSelectItems
for "normal" renderTypes and TcaSelectTreeItems for renderType="selectTree".

While this is hacky in the first place - the data provider should not
depend on renderType at all but only on type, this can not be changed
easily and a real solution is to make "trees" an own type instead, later.

However, if extensions add a new renderType for select at the moment, the
normal TcaSelectItems data provider does not kick in since it is restricted
to the known renderTypes. This is usually not what an extension wants,
typically just the rendering is different while the data providing from
TcaSelectItems is used.

The patch allows this by now blacklisting "selectTree" in TcaSelectItems
instead of whitelisting the known types.

Change-Id: Ic71177e22b191a5abee90a7cfb9871167fe4611e
Resolves: #78381
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50347
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
20 months ago[BUGFIX] Respect options.disableDelete UserTSConfig 22/50122/4
Christian Weiske [Wed, 31 Aug 2016 11:04:13 +0000 (13:04 +0200)]
[BUGFIX] Respect options.disableDelete UserTSConfig

The UserTSConfig setting "options.disableDelete" was not respected
in the record ClickMenu, the database record list and the page layout view.
This patch makes the following configurations work:

    options.disableDelete = 1
    options.disableDelete.tablename = 1

Releases: master, 7.6
Resolves: #34636

Change-Id: Idcabd8efb3b60d7edd2e87c400a948b423d95ea2
Reviewed-on: https://review.typo3.org/50122
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: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
20 months ago[BUGFIX] Prevent duplicate pastes in rtehtmlarea 43/50343/2
Stefan Froemken [Tue, 6 Sep 2016 12:09:01 +0000 (14:09 +0200)]
[BUGFIX] Prevent duplicate pastes in rtehtmlarea

if pasteFormat or pasteStructur is activated in user settings,
pastings in rtehtmlarea will be inserted twice. Once as plaintext
and a second time as html.
Instead of appending all different text types of ClipBoard
we now override the complete clipboardText, if it is not
of the expected type.
To prevent pasting header data from OpenOffice/LibreOffice/Word
we have added a default value for removeTagsAndContents
which is configurable now.

Resolves: #67661
Releases: master,7.6
Change-Id: I62418ed2d1ce72bb1fb2839e23eaeaa76f42a4c8
Reviewed-on: https://review.typo3.org/50343
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
20 months ago[BUGFIX] Fetching configuration-comments should require no comma 38/50338/2
Stefan Neufeind [Tue, 18 Oct 2016 13:55:07 +0000 (15:55 +0200)]
[BUGFIX] Fetching configuration-comments should require no comma

So far a comma was required before the comment. But CGL says that
the last element in an array should have no trailing comma.

Change-Id: Ia8149624e1b5bb1d4a685b70f3c197344733e22f
Resolves: #78333
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50338
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
20 months ago[BUGFIX] Set caption and copyright filemetadata DB columns to TEXT 31/50331/2
Claus Due [Mon, 17 Oct 2016 15:50:17 +0000 (17:50 +0200)]
[BUGFIX] Set caption and copyright filemetadata DB columns to TEXT

This patch changes the SQL field type of two fields on
sys_file_metadata, caption and copyright, to increase
the allowed size of content in the field.

The change is marked as a bug fix since currently, attempting
to save more than the allowed 255 chars truncates every
byte beyond the barrier.

See forge issue for further details about performance
concerns and reasoning behind increasing the size.

Change-Id: I7a407d3ed6eb4bd157330bd57b0093f3f3deb5ca
Resolves: #78149
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50331
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
20 months ago[TASK] Cover t3_origuid in Workspaces Regular/Modify functional tests 29/50329/3
Tymoteusz Motylewski [Sat, 22 Oct 2016 22:45:19 +0000 (00:45 +0200)]
[TASK] Cover t3_origuid in Workspaces Regular/Modify functional tests

t3_origuid field is covered in Workspaces Regular/Modify functional tests.

Releases: 7.6, master
Resolves: #78382
Change-Id: If4408534038fc695e28e507fd34cd41735d730dc
Reviewed-on: https://review.typo3.org/50329
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] Add missing functionality for YouTube "related" parameter 17/50317/3
Tim Rücker [Tue, 27 Sep 2016 13:05:13 +0000 (15:05 +0200)]
[BUGFIX] Add missing functionality for YouTube "related" parameter

This parameter indicates whether the player should show
related videos when playback of the initial video ends.
Supported values are 0 and 1. The default value is 1.

Releases: master,7.6
Resolves: #77710
Change-Id: I95576369b8dae579b39298095024bdbddc75ebc6
Reviewed-on: https://review.typo3.org/50317
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] Backend page module: set default mode to "Columns" 16/50316/2
Josef Glatz [Wed, 19 Oct 2016 18:48:39 +0000 (20:48 +0200)]
[BUGFIX] Backend page module: set default mode to "Columns"

Change the page module default mode from "QuickEdit" to "Columns".
Especially for TYPO3 newcomers it's much easier to get an overview
of how to create content elements.

Resolves: #78312
Releases: master, 7.6
Change-Id: I5768b4a88d5f38a94fcad854f9a52e09d65cd7b7
Reviewed-on: https://review.typo3.org/50316
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Add back-reference to $self in compiled Fluid templates 89/50289/2
Claus Due [Thu, 20 Oct 2016 10:07:30 +0000 (12:07 +0200)]
[BUGFIX] Add back-reference to $self in compiled Fluid templates

This fixes a bug where using any ViewHelper to generate
the layout name would fail if the template is compilable.
The problem is long ago fixed in Fluid Standalone as part
of the decoupling.

Simply assigning the `self` reference solves the problem.

Change-Id: I9b980d6647d9961215b49d5dc85829f15dcd8de7
Resolves: #78326
Releases: 7.6
Reviewed-on: https://review.typo3.org/50289
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Bill Dagou <billdagou@gmail.com>
Tested-by: Bill Dagou <billdagou@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 months ago[TASK] Migrate wizard icons to use icon fonts 76/49676/8
Georg Ringer [Thu, 1 Sep 2016 10:45:16 +0000 (12:45 +0200)]
[TASK] Migrate wizard icons to use icon fonts

Resolves: #77630
Resolves: #77629
Releases: master, 7.6
Change-Id: I9e73fb6d1f7197d5c35309fa98093eeee44ccb02
Reviewed-on: https://review.typo3.org/49676
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Check t3_origuid field in DataHandler functional tests 09/50309/2
Tymoteusz Motylewski [Mon, 17 Oct 2016 09:37:36 +0000 (11:37 +0200)]
[TASK] Check t3_origuid field in DataHandler functional tests

The value of the t3_origuid is now checked in Datahandler
functional tests.

Releases: master, 7.6
Resolves: #78303
Change-Id: I8f47ecf3cc6e297cd5e01e07f724b75720e69fe2
Reviewed-on: https://review.typo3.org/50309
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] Raise version number of compatibility6 in update wizard 07/50307/2
Wouter Wolters [Fri, 21 Oct 2016 09:36:15 +0000 (11:36 +0200)]
[TASK] Raise version number of compatibility6 in update wizard

Resolves: #78371
Releases: master,7.6
Change-Id: Iaa4c6065bdf3beb0ce226733e89d14485efa0fea
Reviewed-on: https://review.typo3.org/50307
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[TASK] Raise version number in openid update wizard 02/50302/3
Wouter Wolters [Fri, 21 Oct 2016 08:33:23 +0000 (10:33 +0200)]
[TASK] Raise version number in openid update wizard

Raise version number to 7.6.4.

Resolves: #78369
Releases: master,7.6
Change-Id: Iabaddaa0c0223f7a1564e1ea0ec2d4c6d2e523e9
Reviewed-on: https://review.typo3.org/50302
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] MM references are not transformed to versioned entities 92/50292/3
Oliver Hader [Wed, 3 Aug 2016 14:03:19 +0000 (16:03 +0200)]
[BUGFIX] MM references are not transformed to versioned entities

Scenario:
* within a workspace
* using a MM intermediate table for relations
* having versioned entities on both sides of the relation to be defined
* however, the live uids of the entities are submitted to the data handler

Problem:
* MM relation is created with the live uids on one side

Solution:
* convert submitted relation uids to accordant version uids in workspace

Resolves: #77375
Releases: master, 7.6
Change-Id: Id099845258d3e2820ac9c369acc0339689b768a9
Reviewed-on: https://review.typo3.org/50292
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
20 months ago[BUGFIX] Correct position of t3editor autocomplete 04/50304/2
Robert Vock [Thu, 1 Sep 2016 08:30:17 +0000 (10:30 +0200)]
[BUGFIX] Correct position of t3editor autocomplete

The position of the autocomplete list for the TypoScript was incorrect
when the editing iframe was scrolled.

Resolves: #77719
Releases: master, 7.6
Change-Id: Ib0d17e6bc648fc99b1e02dfb2a212c1b19993bcc
Reviewed-on: https://review.typo3.org/50304
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Show Create Content button only for allowed languages 47/49847/2
Daniel Maier [Fri, 2 Sep 2016 21:08:03 +0000 (23:08 +0200)]
[BUGFIX] Show Create Content button only for allowed languages

The Create Content button inside the Page Module is now only shown for
languages the backend-user is actually allowed to edit. That way, users
that are restricted to a specific language and not allowed to edit the
default language, do not see this button inside the default language column
any more. (Note: this patch only hides the button itself, the later processing
was already prevented before.)

Resolves: #77753
Releases: master, 7.6
Change-Id: I44ebacaf1d1d0635b0af1e7e52689f077f6fa2b4
Reviewed-on: https://review.typo3.org/49847
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Do not cut constants in debug output 03/50303/2
Sascha Egerer [Thu, 29 Sep 2016 07:13:08 +0000 (09:13 +0200)]
[BUGFIX] Do not cut constants in debug output

Unsubstituted constants should be logged in full length and not
cut after 50 character.

Resolves: #78107
Releases: master, 7.6
Change-Id: I6a231cbda9f876be390393f8ce967335826e95f4
Reviewed-on: https://review.typo3.org/50303
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Prevent Uncaught TypeError in ClickMenu.js 00/50300/2
Benni Mack [Fri, 21 Oct 2016 08:32:45 +0000 (10:32 +0200)]
[BUGFIX] Prevent Uncaught TypeError in ClickMenu.js

This patch prevent an Uncaught TypeError ClickMenu.js.
In case the reloadFrame parameter not exist, the variable res is null.
This is ok, because not in any case the parameter is set.

Resolves: #78329
Releases: master, 7.6
Change-Id: I8590a37c55ed794d62620af4c487b57a972761f7
Reviewed-on: https://review.typo3.org/50300
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
20 months ago[BUGFIX] Check if TypoScript is loaded for indexed_search 01/50301/2
Tomita Militaru [Fri, 2 Sep 2016 20:08:17 +0000 (22:08 +0200)]
[BUGFIX] Check if TypoScript is loaded for indexed_search

Check if TypoScript is loaded for indexed_search, if not,
show an error message.

Resolves: #75866
Releases: master, 7.6
Change-Id: I0b5be9d959dd0d4fc4a5f4df1b287c4a0fca2885
Reviewed-on: https://review.typo3.org/50301
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Resolves wrong usage of col and colgroup 97/50297/3
Markus Sommer [Fri, 14 Oct 2016 13:04:53 +0000 (15:04 +0200)]
[BUGFIX] Resolves wrong usage of col and colgroup

* Remove <col> calculate and use short syntax
* Add CSS to render the table fixed

Resolves: #78296
Releases: master, 7.6
Change-Id: Ibd698ac0ea19f005534d891debe1d8b17848d036
Reviewed-on: https://review.typo3.org/50297
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
20 months ago[BUGFIX] isHiddenPalette removes 'form-section' class 96/50296/2
Eric Chavaillaz [Thu, 20 Oct 2016 18:03:03 +0000 (20:03 +0200)]
[BUGFIX] isHiddenPalette removes 'form-section' class

If the first palette of a form is hidden, a tiny line is append
under the tab title. This patch removes it.

Resolves: #78327
Releases: master, 7.6
Change-Id: Ibf0f3b9ed243a3d30de9bb726b17ffdec8414c65
Reviewed-on: https://review.typo3.org/50296
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
20 months ago[BUGFIX] Fix special menu element rendered in wrong order 47/50247/3
Johannes Schlier [Thu, 13 Oct 2016 13:34:29 +0000 (15:34 +0200)]
[BUGFIX] Fix special menu element rendered in wrong order

The ListViewHelper gets an array with the uids to display in the special
menu, configured from the plug-in.
The rendered elements were not ordered according to the plug-in settings.
With this patch the returned pages are ordered according to the order of
the uids in the array.

Resolves: #71044
Releases: master, 7.6
Change-Id: I8b54aa32f1221e7849010e7761c5f04859b4dcea
Reviewed-on: https://review.typo3.org/50247
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
20 months ago[BUGFIX] Do not provide non selectable columns in colPos selector 25/50225/2
Helmut Hummel [Mon, 10 Oct 2016 18:04:15 +0000 (20:04 +0200)]
[BUGFIX] Do not provide non selectable columns in colPos selector

When a backend layout is active for a page, editing a content
element will have the "columns" of this layout selectable
in the "colPos" drop down selector.

Now this select box does not include the backend layout columns without
assigned colPos any more, because these are not meant to have content
anyway and selecting such a column would put the content element into column
with colPos 0

Resolves: #78223
Releases: master, 7.6
Change-Id: I7b44cbe26adabc4028ee874bea5fa63f7127d118
Reviewed-on: https://review.typo3.org/50225
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
20 months ago[BUGFIX] Show login spinner if EXT:rsaauth is not installed 24/50224/2
Andreas Fernandez [Thu, 13 Oct 2016 21:21:09 +0000 (23:21 +0200)]
[BUGFIX] Show login spinner if EXT:rsaauth is not installed

If EXT:rsaauth is not installed and `BE/loginSecurityLevel` is not "rsa",
the loading spinner is now shown after submitting the form.

Resolves: #78290
Related: #71291
Releases: master, 7.6
Change-Id: I0047cc1bb17e6e2f953e35dd085077e7641d2ac4
Reviewed-on: https://review.typo3.org/50224
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
20 months ago[BUGFIX] Hide edit icon in list view 18/50218/2
Nicole Cordes [Sat, 16 Jul 2016 16:00:00 +0000 (18:00 +0200)]
[BUGFIX] Hide edit icon in list view

If a record is not editable for a user, the edit icon in the record
list should be hidden.

This patch changes following behavior:

* all fields of a record are fetched to do further access checks
* a check if the user is able to edit that record is included
* space icon for the hidden icon is cleaned up

Resolves: #61560
Releases: master, 7.6
Change-Id: Iceaca60321e34f53ee994a82a5faa758c4b83768
Reviewed-on: https://review.typo3.org/50218
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
20 months ago[BUGFIX] Include CORS settings attribute when using integrity 09/50209/2
Xavier Perseguers [Wed, 12 Oct 2016 12:36:30 +0000 (14:36 +0200)]
[BUGFIX] Include CORS settings attribute when using integrity

For Subresource Integrity to work, the CDN must support
Cross-Origin Resource Sharing (CORS). The `crossorigin` attribute
enforces a CORS-enabled load. The anonymous value means that the
browser should omit any cookies or authentication that the user
may have associated with the domain. This prevents cross-origin
data leaks, and also makes the request smaller.

Change-Id: I13d1908c7d6e29686cbc27d7abe93c2c4bb7c340
Resolves: #78262
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50209
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
20 months ago[BUGFIX] Prevent exception due to missing id in the language menu 05/50205/2
Sascha Nowak [Thu, 15 Sep 2016 12:07:59 +0000 (14:07 +0200)]
[BUGFIX] Prevent exception due to missing id in the language menu

Make sure the "id" parameter is set when using
"addQueryString.exclude" to prevent the exception in the cHash
calculation when "cHashIncludePageId" is set to true.

Change-Id: I170d2c38931b52c1c50968f7ef343c3a11dc5937
Resolves: #77956
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/50205
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
20 months ago[BUGFIX] Exception with cHashIncludePageId but no id in the URL 98/50198/2
Dmitry Dulepov [Tue, 27 Sep 2016 11:13:23 +0000 (14:13 +0300)]
[BUGFIX] Exception with cHashIncludePageId but no id in the URL

If the 'id' parameter is not provided in the URL but the
FE|cHashIncludePageId is set to true, TYPO3 will throw an exception. If
id is missing in $_GET, TYPO3 should use the determined id for the
check because in such case the id is assumed to be the uid of the home
page of the current site.

Resolves: #78021
Releases: master, 7.6, 6.2
Change-Id: Ib13d7aac9a75b2be54c7fddf6896af2f0a52e18e
Reviewed-on: https://review.typo3.org/50198
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>