Packages/TYPO3.CMS.git
4 years ago[BUGFIX] Remove calls to StringUtility::beginsWith() 20/35520/2
Markus Klein [Tue, 16 Dec 2014 16:20:19 +0000 (17:20 +0100)]
[BUGFIX] Remove calls to StringUtility::beginsWith()

The method does not exist in 6.2. Replace with a call to good old
GeneralUtility::isFirstPartOfString().

Resolves: #63937
Releases: 6.2
Change-Id: I3ee6650b062d2bca251db1993f4a52b8ad0048e0
Reviewed-on: http://review.typo3.org/35520
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Improve error output in TS if INCLUDE_TYPOSCRIPT file not found 16/35516/2
Simon Schaufelberger [Thu, 19 Jun 2014 16:42:53 +0000 (18:42 +0200)]
[TASK] Improve error output in TS if INCLUDE_TYPOSCRIPT file not found

The TSOB should show if a file which should be included could not be found.

Due the fact that parts of the TypoScript parser are written with static
methods, the only way is to check the TypoScript lines for the string
"### ERROR".

Resolves: #17090
Releases: master, 6.2
Change-Id: I6679413e9ff7ca027e23e9b2d6927fd95f8f4595
Reviewed-on: http://review.typo3.org/35516
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Unreadable directories must not crash filemount storages 12/35512/2
Georg Ringer [Mon, 15 Dec 2014 19:26:13 +0000 (20:26 +0100)]
[BUGFIX] Unreadable directories must not crash filemount storages

If a *single* directory in the fileadmin tree can't be read, the whole
select box of the file mounts is empty.

Just hide the entry which is not readable

Resolves: #63915
Releases: master, 6.2
Change-Id: I96d5472bb284c259b986b88a766b0fa1e6dfca07
Reviewed-on: http://review.typo3.org/35512
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[BUGFIX] Show correct default value of field type 'select' and MM relation 98/35498/2
Georg Ringer [Wed, 22 Oct 2014 14:00:45 +0000 (16:00 +0200)]
[BUGFIX] Show correct default value of field type 'select' and MM relation

Given a field with TCA type "select" and a mm relation,
the selected categories of the default record are not shown
in the translated record.

Reason is because the uid is not transferred to the
BackendUtility::getProcessedValue method.

Resolves: #62397
Releases: master, 6.2
Change-Id: I4c98267e9d246c9b7efeaba2cdcecd7873e9feeb
Reviewed-on: http://review.typo3.org/35498
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] linkvalidator: Fatal error: Call to a member function getUrl() 71/35471/3
Philipp Gampe [Thu, 16 Oct 2014 10:25:26 +0000 (12:25 +0200)]
[BUGFIX] linkvalidator: Fatal error: Call to a member function getUrl()

The external link checker tries to provide detailed information in case
an URL is not accessible. To do this, it analyses the stack trace
provided by the exception.

Replace the stacktrace parsing with a more reliable method by checking
the last event. In case of a loop, the last event contains the response
object in the 'data' key.

Resolves: #62266
Releases: master,6.2
Change-Id: I51aaf3d6af85877541e920afaee76e6cac368e7b
Reviewed-on: http://review.typo3.org/35471
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix new content element wizard links click area 61/35461/2
Mathias Brodala [Tue, 9 Dec 2014 07:59:54 +0000 (08:59 +0100)]
[BUGFIX] Fix new content element wizard links click area

This formats the links within the new content element wizard as
inline-block, thus ensuring the whole link area is clickable.

Resolves: #56063
Releases: master, 6.2
Change-Id: Id5d7e080787d434a89220ce361fb3cf3d911029e
Reviewed-on: http://review.typo3.org/35461
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Add case insensitive flag to trustedHostsPattern 44/35444/2
Dietrich Heise [Wed, 28 May 2014 13:59:01 +0000 (15:59 +0200)]
[BUGFIX] Add case insensitive flag to trustedHostsPattern

Releases: master, 6.2, 4.5
Resolves: #59186
Change-Id: Iaa973faf5b3f287320fb187c3db2d8e30a486735
Reviewed-on: http://review.typo3.org/35444
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Fix "Enable tab" for textareas inside inline elements 30/35430/2
Georg Ringer [Sat, 13 Dec 2014 19:07:03 +0000 (20:07 +0100)]
[BUGFIX] Fix "Enable tab" for textareas inside inline elements

If a field is configured in the TCA by using
"'defaultExtras' => 'fixed-font : enable-tab'", the textarea
behaves different (pressing the tab produces a tab).

Since inline elements use AJAX, the js method which changes the behaviour
of the textarea needs to be reapplied.

Resolves: #33731
Releases: master, 6.2
Change-Id: Idbab5092f20675c9b912b80299059a8a0d05c3cb
Reviewed-on: http://review.typo3.org/35430
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Allow attribute value "0" in EXT:form elements 43/35443/2
Stefan Neufeind [Tue, 14 Feb 2012 12:17:20 +0000 (13:17 +0100)]
[BUGFIX] Allow attribute value "0" in EXT:form elements

If an attribute value of "0" is set in an EXT:form element (e.g.
TEXTLINE) currently the input element in the frontend is rendered with
an empty value "".

Do not check attribute values with empty() to allow "0" values.

Resolves: #31920
Releases: master, 6.2
Change-Id: I624c7da38c23429f68000e085dbd82c23fb7e834
Reviewed-on: http://review.typo3.org/35443
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Improve sorting of usergroups in adminpanel 41/35441/2
Georg Ringer [Sat, 13 Dec 2014 23:32:58 +0000 (00:32 +0100)]
[TASK] Improve sorting of usergroups in adminpanel

To improve the usability, the usergroups are ordered by title and
the uid is added at the end to allow working with the keyboard.

Resolves: #17290
Releases: master, 6.2
Change-Id: Ie855a73e81a8b66265d4b94567db088f0991fd5d
Reviewed-on: http://review.typo3.org/35441
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Set Ext.SSL_SECURE_URL to prevent https issues in IE 28/35428/2
Marco Huber [Mon, 11 Aug 2014 11:17:25 +0000 (13:17 +0200)]
[BUGFIX] Set Ext.SSL_SECURE_URL to prevent https issues in IE

Ext.SSL_SECURE_URL is javascript:false by default. But this throws the error
"SEC7111: HTTPS security is compromised by res://ieframe.dll/dnserrordiagoff.htm"
in IE. To prevent this we can use the clear.gif URL which is a valid
URL and doesn't create too much traffic

Resolves: #60886
Releases: master, 6.2
Change-Id: I618815318aab3f39aaca54e92ebec4f3d79827c4
Reviewed-on: http://review.typo3.org/35428
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Better performance of DatabaseConnection->getDateTimeFormats 27/35427/2
Stephan Großberndt [Tue, 9 Dec 2014 14:42:19 +0000 (15:42 +0100)]
[BUGFIX] Better performance of DatabaseConnection->getDateTimeFormats

Currently each call to DatabaseConnection->getDateTimeFormats creates a
new array with default dateTimeFormats. Put this information into a
static class member and return this instead.

Resolves: #63669
Releases: master, 6.2
Change-Id: I457ad6b68fb6919782f349550e9efd07143d0de7
Reviewed-on: http://review.typo3.org/35427
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Add note about AdditionalConfiguration.php to Install Tool 12/35412/2
Markus Klein [Sun, 14 Dec 2014 12:21:36 +0000 (13:21 +0100)]
[TASK] Add note about AdditionalConfiguration.php to Install Tool

Add a note to clarify that AdditionalConfiguration.php is always
overruling any setting made within the Install Tool.

Furthermore we add a note to the ConfigurationManager that it is limited
to Core internal usage only.

Resolves: #60650
Releases: master, 6.2
Change-Id: Icaf7d4b1ce5b14ad0618e38e92a49a33405997f7
Reviewed-on: http://review.typo3.org/35412
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Form localization depending on old class names 01/35401/2
Patrick Broens [Thu, 2 May 2013 12:50:34 +0000 (14:50 +0200)]
[BUGFIX] Form localization depending on old class names

Since the introduction of the PHP namespaces some of the localisation of
FORM is not working anymore. The localisation label is depending on the
class name by using get_class(). The localisation is depending on the
old class names which has not been adapted afterwards.

This patch solves this issue by removing the get_class() calls by
using a constant.

Change-Id: I7ba846620732b61e05e210f227c02b63c1198284
Resolves: #47817
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35401
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Don't override the class on the Form elementWrap 00/35400/2
Marc Neuhaus [Tue, 21 May 2013 07:49:37 +0000 (09:49 +0200)]
[BUGFIX] Don't override the class on the Form elementWrap

This Changeset fixes an issue, which made it impossible
to give the layout.elementWrap a class attribute, because it
is was simple overridden.
Now it checks if a class is set and appends the default csc-form-*
classes instead of overriding it.

Resolves: #48404
Releases: master, 6.2
Change-Id: I20fec83d28b2e727f268ee00dab830c39c5f15a1
Reviewed-on: http://review.typo3.org/35400
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Use better implementation for array check 98/35398/2
Anja Leichsenring [Sat, 13 Dec 2014 14:47:17 +0000 (15:47 +0100)]
[TASK] Use better implementation for array check

To suppress PHP warnings the input parameter must always be an array.
If there is nothing to merge, the array_merge_overrule function
must not be called at all.

Change-Id: Ice369449da22ff62c09efa919272195bd141e836
Resolves: #63827
Relates: #63701
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35398
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Add autocomplete for t3editor FILES 94/35394/2
Stefan Froemken [Tue, 29 Oct 2013 15:50:18 +0000 (16:50 +0100)]
[BUGFIX] Add autocomplete for t3editor FILES

Add autocomplete values for t3editor
because there was no implementation for new cObj FILES

Resolves: #53129
Releases: master, 6.2
Change-Id: Id4c5d7e51850546cb07ae289c96107834b8e7921
Reviewed-on: http://review.typo3.org/35394
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[TASK] Extbase: Traverse validation results until first error 89/35389/2
Steffen Müller [Sat, 13 Dec 2014 15:11:31 +0000 (16:11 +0100)]
[TASK] Extbase: Traverse validation results until first error

When deciding whether to call the action method or error method it's
sufficient to traverse results until the first error.
To improve performance break the foreach on first
found (not ignored) error.

Resolves: #63726
Releases: master, 6.2
Change-Id: I988cb5c8ac20518c359db75bb46fe6702c549cf6
Reviewed-on: http://review.typo3.org/35389
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
4 years ago[BUGFIX] Ensure argument is an array in ContentObjectRenderer 87/35387/2
Stefan Froemken [Tue, 9 Dec 2014 09:55:31 +0000 (10:55 +0100)]
[BUGFIX] Ensure argument is an array in ContentObjectRenderer

This patch ensures that at least an empty array is passed to the
array_replace_recursive function to avoid warnings during rendering.

Resolves: #63701
Releases: master, 6.2
Change-Id: I047f45bd5199216aec6f37a0c9b0526c455cad92
Reviewed-on: http://review.typo3.org/35387
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[CLEANUP] Clarify configuration preset description 86/35386/2
Helmut Hummel [Fri, 5 Dec 2014 23:51:44 +0000 (00:51 +0100)]
[CLEANUP] Clarify configuration preset description

The description of the configuration preset in
install tool is a bit misleading which causes people
to confuse this with the Application Context feature.

Remove the mentioning of application context from context preset
and move it to the top.

Releases: 6.2, master
Resolves: #63622
Change-Id: I8acc9032333f0ead6a35c2c7202a07d2668e7c51
Reviewed-on: http://review.typo3.org/35386
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] noTrimWrap = | || won't work inside a menu 75/35375/2
Jochen Rau [Tue, 27 Nov 2012 01:07:01 +0000 (02:07 +0100)]
[BUGFIX] noTrimWrap = | || won't work inside a menu

The issue is caused by the implementation of optionSplit. This patch
solves this issue by checking for noTrimWrap.

Change-Id: I1d2a6705b679c2d11433902ca992bc907e520228
Fixes: #20793
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/7255
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
(cherry picked from commit 4c95e01d44485e67a322bde8dc8d1c703782587a)
Reviewed-on: http://review.typo3.org/35375

4 years ago[BUGFIX] Always disable jumpurl for external media 72/35372/2
Markus Klein [Fri, 12 Dec 2014 10:12:46 +0000 (11:12 +0100)]
[BUGFIX] Always disable jumpurl for external media

We always disable the global jumpurl feature when retrieving the URL for
an external media element like a video.

Resolves: #63807
Releases: master, 6.2
Change-Id: I3c108f4366869e39423bf1121ee7dfa125148a2a
Reviewed-on: http://review.typo3.org/35372
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Make filter respect hidden directories 89/31889/4
Andreas Lappe [Mon, 28 Jul 2014 22:06:48 +0000 (00:06 +0200)]
[BUGFIX] Make filter respect hidden directories

Make the filename filter respect files in hidden directories,
so that files inside those are not indexed by default.

Resolves: #60649
Releases: master, 6.2
Change-Id: Ia0306cb8996964c4998d9d69b526c3d6a8da2ace
Reviewed-on: http://review.typo3.org/31889
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Fix gifbuilder imagesize calculation when condition is used 71/35371/3
Kjeld Schumacher [Wed, 8 Aug 2012 18:53:19 +0000 (20:53 +0200)]
[BUGFIX] Fix gifbuilder imagesize calculation when condition is used

Change-Id: Ia3adede080a9d405dad17b670a7033bc6715a847
Fixes: #39625
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/13530
Reviewed-on: http://review.typo3.org/35371
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
4 years ago[BUGFIX] Better performance for bulk inserts without static_write 70/35370/2
Stephan Großberndt [Tue, 9 Dec 2014 13:52:26 +0000 (14:52 +0100)]
[BUGFIX] Better performance for bulk inserts without static_write

In DataHandler->fillInFieldArray for every record to insert or update
current and new data are merged to be handed over to the static_write
functionality. If this functionality is disabled (which is the
default) the merged data is discarded again.

Checks if the static_write functionality is enabled and merges data
only if it is enabled. This drastically lowers memory usage for bulk
operations.

In master, the static_write functionality was removed completely,
for 6.2 the performance of this code section is improved.

Resolves: #63668
Releases: 6.2
Change-Id: I625a771a98a5f79bab3a8d22464895fcbdcf4068
Reviewed-on: http://review.typo3.org/35370
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Click-enlarge problem when an image is inside ul li or ol li 14/33614/5
Stanislas Rolland [Thu, 30 Oct 2014 02:34:49 +0000 (22:34 -0400)]
[BUGFIX] Click-enlarge problem when an image is inside ul li or ol li

lib.parseFunc_RTE is not correctly configured by css_styled_content.
ul and ol elements must be recursively parsed through lib.parseFunc_RTE
(not lib.parseFunc). li element must be included in
nonTypoTagStdWrap.encapsLines.encapsTagList so that unwrapped content
of li elements is not wrapped in paragraphs.

Releases: master, 6.2
Resolves: #61954
Change-Id: I916b385d32a11909f7c0b9b9458d86237da1be1b
Reviewed-on: http://review.typo3.org/33614
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[!!!][TASK] Remove words and words_strings from ReferenceIndex 49/35349/2
Stephan Großberndt [Thu, 11 Dec 2014 15:13:14 +0000 (16:13 +0100)]
[!!!][TASK] Remove words and words_strings from ReferenceIndex

In ReferenceIndex->generateRefIndexData the strings from all input and
text fields were collected in $this->word_strings. But the array was
never accessed.

While both properties were removed in master, the 6.2 backport keeps
the properties, but does not fill word_strings anymore, so the patch
is less breaking but the performance improvement is still given.

Resolves: #63780
Releases: master, 6.2
Change-Id: I56d6a3e615cab44cbecff5a7d4dec42a1da29fc6
Reviewed-on: http://review.typo3.org/35349
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Do not execute getDateTimeFormats for each input 20/35320/4
Stephan Großberndt [Wed, 10 Dec 2014 16:58:29 +0000 (17:58 +0100)]
[BUGFIX] Do not execute getDateTimeFormats for each input

Fetches the dateTimeFormats only for date- and datetime-fields instead
of unconditionally for each input.

Resolves: #63745
Releases: master, 6.2
Change-Id: I18fcdb8a991ebb82891d9da06a4ef2b01fbc104f
Reviewed-on: http://review.typo3.org/35320
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Do not fetch TSconfig in process_datamap for non-page-records 18/35318/2
Stephan Großberndt [Thu, 11 Dec 2014 14:32:07 +0000 (15:32 +0100)]
[BUGFIX] Do not fetch TSconfig in process_datamap for non-page-records

In DataHandler->process_datamap for each record getTCEMAIN_TSconfig()
is executed, but the returned TSconfig is used only if table is "pages"
and status is "new".

Fetches the TSconfig only if table is "pages" and status is "new".

Resolves: #63778
Releases: master, 6.2
Change-Id: Ifded6daf2b5b6b61a9c95ba3962566450a07d72e
Reviewed-on: http://review.typo3.org/35318
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Allow recursive folder deletion 17/35317/2
Helmut Hummel [Thu, 4 Dec 2014 22:44:40 +0000 (23:44 +0100)]
[BUGFIX] Allow recursive folder deletion

Remove the useless check for the number of existing
files in the ExtendedFileUtility.
We now let FAL try to delete recursively by default.
It will tell us, if the permissions do not suffice
for the current user.

Resolves: #63580
Releases: master, 6.2
Change-Id: Iec7ab95d493ce3594a4131b45e5bcb77de9e21b6
Reviewed-on: http://review.typo3.org/35317
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years agoRevert "[BUGFIX] Fix broken form wizard with MSIE" 12/35312/2
Markus Klein [Thu, 11 Dec 2014 16:17:23 +0000 (17:17 +0100)]
Revert "[BUGFIX] Fix broken form wizard with MSIE"

This reverts commit 0f1a9aa3c9dd7d710ecd8bf9a57d51a304bc2337.

The D&D functionality for fieldsets is broken.

Change-Id: I79c5e92dd8d80a1af1b665fb3df522f5503006bf
Reverts: #59305
Resolves: #63767
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35312
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Add more entropy to uniqid 28/33328/3
Tymoteusz Motylewski [Fri, 20 Jun 2014 15:13:30 +0000 (17:13 +0200)]
[BUGFIX] Add more entropy to uniqid

uniqid() generates values based on current time,
subsequent calls may return the same value on a fast machine.

On Windows it's even worse, as uniqid()
has single-second-resolution out of the box.

Right now it is used in many places in the core,
also for creating temporary identifiers
for newly created records (in the datahandler).

The solution is to add a second parameter to
all calls (which adds more entropy).
see http://php.net/manual/en/function.uniqid.php

To make code consistent, this change adds the
 second parameter to all occurences of uniqid.

Resolves: #59701
Resolves: #58602
Resolves: #59055
Releases: master, 6.2
Change-Id: Id791556d45b4289d75411ff19ae050144fbfe51b
Reviewed-on: http://review.typo3.org/33328
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue 32/35232/2
Stephan Großberndt [Tue, 9 Dec 2014 11:17:15 +0000 (12:17 +0100)]
[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue

Reduce memory consumption in DataHandler->processClearCacheQueue() for
bulk inserts by filling $tagsToClear as an associative array instead of
a normal array with array_unique()-call after each added record.

Resolves: #63615
Releases: master, 6.2
Change-Id: I74bef31fcf1f08665e51cee7efe847e32f501ef2
Reviewed-on: http://review.typo3.org/35232
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Placeholder attribute without useOrOverridePlaceholder 75/35175/2
Alexander Stehlik [Tue, 9 Dec 2014 00:11:29 +0000 (01:11 +0100)]
[BUGFIX] Placeholder attribute without useOrOverridePlaceholder

The placeholder configuration for a TCA field will now be considered
independently from the "mode" being set to "useOrOverridePlaceholder".
If a placeholder is set in the TCA it will be rendered. The mode
setting only changes the behavior of the NULL checkbox.

Resolves: #59129
Releases: master, 6.2
Change-Id: Ice7681d644623a5e94cbdd22743ddf5aab8919a9
Reviewed-on: http://review.typo3.org/35175
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
4 years ago[TASK] Set TYPO3 version to 6.2.10-dev 29/35229/2
TYPO3 Release Team [Wed, 10 Dec 2014 10:45:38 +0000 (11:45 +0100)]
[TASK] Set TYPO3 version to 6.2.10-dev

Change-Id: Ifed9c7aafda0c22185ed97301811c115cb5c4b43
Reviewed-on: http://review.typo3.org/35229
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[RELEASE] Release of TYPO3 6.2.9 28/35228/2 6.2.9 TYPO3_6-2-9
TYPO3 Release Team [Wed, 10 Dec 2014 10:45:08 +0000 (11:45 +0100)]
[RELEASE] Release of TYPO3 6.2.9

Change-Id: Ic2992ee3e513ffe74d6ba55d8d1fafbb9783ad36
Reviewed-on: http://review.typo3.org/35228
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[!!!][SECURITY] Fix link spoofing in prefixLocalAnchors 23/35223/2
Helmut Hummel [Wed, 10 Dec 2014 10:07:58 +0000 (11:07 +0100)]
[!!!][SECURITY] Fix link spoofing in prefixLocalAnchors

Specially crafted request could lead to anchors prefixed
with URLs to domains controlled by the attacker on the
domain root page (home page). No other pages are affected!

Fix this by prefixing the anchors with a canonical URL
to the current request. This could lead to the situation
that the prefix does not match the current REQUEST_URI
which leads to a page reload instead of just "jumping" to the page section.

Additionally this change assures that REQUEST_URI always starts
with a slash, which mitigates similar attack vectors when using
getIndpEnv('REQUEST_URI')

To mitigate the impact of this breaking change, the REQUEST_URI
is used for anchor prefix if a backend user is logged in,
to not disturb the preview functionality of the home page.

In case prefixLocalAnchors is used in the HTML parser configuration
with prefixLocalAnchors = 2, always the canonical URL is used as prefix.

This change does *not* fix, that arbitrary (non functional) GET parameters
will be included in the generated prefix URL. To fix this it is recommended
to use absRefPrefix instead of baseUrl and prefixLocalAnchors.

Resolves: #62723
Releases: 4.5, 6.2, master
Security-Commit: 404fe57aefb1ffbbf8a918d4805f97055a78f160
Security-Bulletin: TYPO3-CORE-SA-2014-003
Change-Id: Icb07584bb1366d895a502b1ef7584593e2b6681a
Reviewed-on: http://review.typo3.org/35223
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years agoRevert "[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue" 21/35221/2
Oliver Hader [Wed, 10 Dec 2014 09:33:59 +0000 (10:33 +0100)]
Revert "[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue"

This reverts commit 31518c96e9c705a91898cce009d7f47be238bce7.

Change-Id: I64053da1d04716679c9e7227a9d6885ccd047fdb
Reviewed-on: http://review.typo3.org/35221
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue 11/35211/2
Stephan Großberndt [Tue, 9 Dec 2014 11:17:15 +0000 (12:17 +0100)]
[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue

Reduce memory consumption in DataHandler->processClearCacheQueue() for
bulk inserts by filling $tagsToClear as an associative array instead of
a normal array with array_unique()-call after each added record.

Resolves: #63615
Releases: master, 6.2
Change-Id: I1f557f435088cab3aa928ec3f44b0ded9265d7a7
Reviewed-on: http://review.typo3.org/35211
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Set TYPO3 version to 6.2.9-dev 61/35161/2
TYPO3 Release Team [Mon, 8 Dec 2014 14:19:21 +0000 (15:19 +0100)]
[TASK] Set TYPO3 version to 6.2.9-dev

Change-Id: Ib74e8729774357fcf758ea4beb14fe45ef30aba9
Reviewed-on: http://review.typo3.org/35161
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[RELEASE] Release of TYPO3 6.2.8 60/35160/2 6.2.8 TYPO3_6-2-8
TYPO3 Release Team [Mon, 8 Dec 2014 14:18:51 +0000 (15:18 +0100)]
[RELEASE] Release of TYPO3 6.2.8

Change-Id: I6854ba7093276dee590132c85013b18cf25ad5a9
Reviewed-on: http://review.typo3.org/35160
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[BUGFIX] Render favicon tag only if file exists 57/35157/2
Sascha Egerer [Wed, 2 Jul 2014 07:07:58 +0000 (09:07 +0200)]
[BUGFIX] Render favicon tag only if file exists

The favicon defined by `page.shortcutIcon`
creates a <link rel="icon"> tag in the frontend.

This tag should only be renderd if the defined
icon exists.

Resolves: #24481
Releases: master, 6.2
Change-Id: Ia266c730c0ea517b03d6666502b68f41efaf1304
Reviewed-on: http://review.typo3.org/35157
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[BUGFIX] Tiny syntax errors in jsfunc.inline.js 56/35156/2
Oliver Hader [Mon, 8 Dec 2014 09:28:05 +0000 (10:28 +0100)]
[BUGFIX] Tiny syntax errors in jsfunc.inline.js

Resolves: #63660
Releases: 6.2
Change-Id: I5f2a28addbf7716af01730159657ce2874ee9392
Reviewed-on: http://review.typo3.org/35156
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[BUGFIX] Follow up: Escape element ID before used in jQuery selector 74/34874/5
Alexander Opitz [Thu, 4 Dec 2014 15:38:51 +0000 (16:38 +0100)]
[BUGFIX] Follow up: Escape element ID before used in jQuery selector

Resolves: #62676
Related: #62001
Releases: 6.2
Change-Id: I50b1e24159ad79174a12f3b5130e1bfd8e77e8a5
Reviewed-on: http://review.typo3.org/34874
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[BUGFIX] Properly define constant in CliBootstrap 54/35154/2
Markus Klein [Mon, 8 Dec 2014 01:10:37 +0000 (02:10 +0100)]
[BUGFIX] Properly define constant in CliBootstrap

Resolves: #63649
Releases: master, 6.2
Change-Id: I17dc3b8e868c1b49511fd5e039f8e37bd9d91a55
Reviewed-on: http://review.typo3.org/35154
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
4 years ago[BUGFIX] Better caching of TSconfig in BackendUtility for bulk inserts 45/35145/2
Stephan Großberndt [Sat, 6 Dec 2014 22:48:57 +0000 (23:48 +0100)]
[BUGFIX] Better caching of TSconfig in BackendUtility for bulk inserts

Changes the cache of pageTSconfig from creating a cached entry for each
page to creating a cached entry for each different TSconfig (including
userTSconfig) and a hash-cache for each page instead.

Resolves: #63629
Releases: master, 6.2
Change-Id: I3e4c70cd46cec26dda8574c058d828ec2e22a385
Reviewed-on: http://review.typo3.org/35145
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[FEATURE] Column of extension's last update 43/35143/2
Zbigniew Jacko [Sat, 8 Feb 2014 12:01:26 +0000 (13:01 +0100)]
[FEATURE] Column of extension's last update

Add column 'Last Updated' in Extension Manager.

Resolves: #32436
Releases: master,6.2
Change-Id: Ib29a7c5ed8008d63cc2d7c5df170f71b2a1c399b
Reviewed-on: http://review.typo3.org/35143
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] feedit: Bring back editNoPopup 42/35142/2
Paul Golmann [Wed, 20 Aug 2014 15:00:24 +0000 (17:00 +0200)]
[TASK] feedit: Bring back editNoPopup

* Restore edit_editNoPopup/forceNoPopup TSConfig options removed in #49640
* Initialize frontend editing when displayFieldEditIcons is set

Releases: master, 6.2
Resolves: #61095
Related: #43447
Related: #49640
Change-Id: I900a62b447a1a67265ce22cd73e150646344e090
Reviewed-on: http://review.typo3.org/35142
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] No RTE Transformation for subtype_value_field-fields of plugins 39/35139/2
Tim Lochmueller [Wed, 11 Sep 2013 12:54:29 +0000 (14:54 +0200)]
[BUGFIX] No RTE Transformation for subtype_value_field-fields of plugins

The RTE transformation depends on the result of BackendUtility
getTCAtypes. If the RTE field is in the subtypes_addlist of a plugin
the transformation is not performed. The patch adds the related
subtype fields to the return value.

Resolves: #51901
Releases: 6.2, master
Change-Id: I8bba3d03b5187b06fec5a9b5a0e151466d814d60
Reviewed-on: http://review.typo3.org/35139
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] orphan_records show extension manager tables 38/35138/2
Tim Lochmueller [Thu, 13 Mar 2014 23:38:14 +0000 (00:38 +0100)]
[BUGFIX] orphan_records show extension manager tables

Configure the extension manager tables for a valid
orphan_records check in the lowlevel cleaner. Allow
the records on the root level.

Resolves: #55893
Releases: 6.2, 6.1
Change-Id: I0a00e329fbc56e80b07b452b533c6cf2b877019c
Reviewed-on: http://review.typo3.org/35138
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[CLEANUP] Fix return type of PathUtility::stripPathSitePrefix 33/35133/2
Helmut Hummel [Sun, 7 Dec 2014 12:16:38 +0000 (13:16 +0100)]
[CLEANUP] Fix return type of PathUtility::stripPathSitePrefix

Resolves: #63646
Releases: 6.2, master
Change-Id: I86279aec51fcc9ffa9a720463acdc48c92d2ba15
Reviewed-on: http://review.typo3.org/35133
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Update to phpunit 4.4 02/35102/2
Christian Kuhn [Sat, 6 Dec 2014 12:04:18 +0000 (13:04 +0100)]
[TASK] Update to phpunit 4.4

As notable feature the new assertArraySubset() can be used
to compare sub array parts.

Change-Id: I981fe50652a8685410bd4101d72ad5dec9257bf5
Releases: 6.2, master
Resolves: #63625
Reviewed-on: http://review.typo3.org/35102
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>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Redirect on direct access to overlaid mountpoint 58/34458/4
Alexander Stehlik [Fri, 5 Dec 2014 17:59:36 +0000 (18:59 +0100)]
[BUGFIX] Redirect on direct access to overlaid mountpoint

When the user directly accesses a page that is a mountpoint that
should be overlaid with the contents of the mounted page, he will
be redirected to the target page within the mounpoint context.

Releases: master, 6.2
Resolves: #59382
Change-Id: Ie00c8210b39d2934b410d782799e4fc90efa8c5c
Reviewed-on: http://review.typo3.org/34458
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Properly check permissions with read only file mounts 64/34964/3
Helmut Hummel [Thu, 27 Nov 2014 22:14:45 +0000 (23:14 +0100)]
[BUGFIX] Properly check permissions with read only file mounts

Previously the permission check returned false if the
file or folder was within a read only file mount, but
also within a writable file mount.

Properly check this now and centralize the check in
isWithinFileMountBoundaries, which now has an additional
argument whether write access to file mounts should be checked or not.

Resolves: #63364
Related: #49391
Releases: master, 6.2
Change-Id: If90958b7d6e4d5aad1fbd172af06462ca2b9764f
Reviewed-on: http://review.typo3.org/34964
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Ignore non-integer values for type in redirects 93/34193/5
Björn Fromme [Thu, 4 Dec 2014 13:48:16 +0000 (14:48 +0100)]
[BUGFIX] Ignore non-integer values for type in redirects

For redirects the parameter for page type is not validated as integer
resulting in invalid redirect urls. This patch checks for a valid integer
value and ignores it silently otherwise.

Resolves: #62527
Releases: master, 6.2
Change-Id: I9fd4564a3e4e13e4d64e27e090221e71edf06ae9
Reviewed-on: http://review.typo3.org/34193
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Exclude CDATA from t3lib_parsehtml->XHTML_clean 92/34192/3
Nicole Cordes [Sat, 15 Nov 2014 00:24:24 +0000 (01:24 +0100)]
[BUGFIX] Exclude CDATA from t3lib_parsehtml->XHTML_clean

Due to commit https://review.typo3.org/#/c/30240/ the comments from
javascript is removed and now the javascript is parsed with
config.xhtml_cleaning = all. This patch prevents any CDATA content from
being parsed.

Resolves: #62967
Releases: master, 6.2, 4.5
Change-Id: Ib024c5c8f2b056e47d9222b9767b7a5e6923af8c
Reviewed-on: http://review.typo3.org/34192
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[BUGFIX] Hide empty settings in user settings 26/35026/2
Markus Klein [Thu, 4 Dec 2014 10:43:28 +0000 (11:43 +0100)]
[BUGFIX] Hide empty settings in user settings

This ensures normal users do not see the "Admin functions" tab.

Releases: #63558
Resolves: 6.2
Change-Id: Ieee76e86ff35d7b8ffd64edbb004075d621e3b27
Reviewed-on: http://review.typo3.org/35026
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Cedric Ziel <cedric@cedric-ziel.com>
Tested-by: Cedric Ziel <cedric@cedric-ziel.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Linkvalidator: Improve tolerance on HEAD-request error 25/35025/2
Stefan Weißwange [Sat, 8 Nov 2014 18:28:59 +0000 (19:28 +0100)]
[BUGFIX] Linkvalidator: Improve tolerance on HEAD-request error

Force second URL-request if first response had an HTTP-status-code
which indicates a client-error (4xx) or a server-error (5xx).

Resolves: #58145
Releases: master, 6.2
Change-Id: I5cb02a6345494ffbe23caba652628b91812aea37
Reviewed-on: http://review.typo3.org/35025
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[FOLLOWUP][BUGFIX] objectManager->create is removed but still in use 19/35019/3
Stefan Neufeind [Thu, 4 Dec 2014 01:21:19 +0000 (02:21 +0100)]
[FOLLOWUP][BUGFIX] objectManager->create is removed but still in use

Change-Id: I8aa8502a4a4188f2e665848745daccb75bca30c0
Resolves: #63552
Releases: 6.2
Reviewed-on: http://review.typo3.org/35019
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[FOLLOWUP][BUGFIX] Allow frontend requests from different document root 18/35018/2
Markus Klein [Thu, 4 Dec 2014 01:15:05 +0000 (02:15 +0100)]
[FOLLOWUP][BUGFIX] Allow frontend requests from different document root

Fix broken unit test

Resolves: #63025
Releases: master, 6.2
Change-Id: I4c98bedb53cc83ffd1ddc18adfa8e383028704d4
Reviewed-on: http://review.typo3.org/35018
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Allow frontend requests from different document root 88/34288/3
Helmut Hummel [Mon, 17 Nov 2014 10:57:37 +0000 (11:57 +0100)]
[BUGFIX] Allow frontend requests from different document root

With a specially prepared index.php and using a page renderer hook
it is in general possible to deliver frontend requests
from a dedicated web folder.

However there are a few (hard coded) issues in TYPO3 which makes
this impossible.

Change GeneralUtility::getIndpEnv('TYPO3_SITE_URL') to check for
a TYPO3_PATH_WEB constant defined in a specially prepared index.php
in a "Web/" folder and provide the fluid stand alone view with
an absolute path (which is meant like that in the API anyways).

This change has no impact on a TYPO3 installation with a traditional
directory structure, but enables users to have a more secure setup
in an appropriate environment.

Resolves: #63025
Releases: 6.2, master
Change-Id: I571ceb6224c8030d1f5f99a45903cda3a8171313
Reviewed-on: http://review.typo3.org/34288
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] objectManager->create is removed but still in use 15/35015/2
Wouter Wolters [Wed, 3 Dec 2014 18:46:17 +0000 (19:46 +0100)]
[BUGFIX] objectManager->create is removed but still in use

Resolves: #63552
Releases: master, 6.2
Change-Id: I09f238b89c00cd0b6150a0f8763848b9da2f0f99
Reviewed-on: http://review.typo3.org/35015
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Remove unselected languages in LocalConfiguration 11/35011/2
Andreas Fernandez [Wed, 3 Dec 2014 15:04:31 +0000 (16:04 +0100)]
[TASK] Remove unselected languages in LocalConfiguration

If selecting one ore more languages in EXT:lang, the complete
language tree is written in EXTCONF/lang/availableLanguages in
LocalConfiguration.php. Empty values in this array represent
unselected languages. This patch removes the empty values
from the language array.

Resolves: #63546
Releases: master, 6.2
Change-Id: I327f05c16f3824f1c91c8f2e095c5b5059b420b9
Reviewed-on: http://review.typo3.org/35011
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] GeneralUtility::getUrl() fails to process redirects sometimes 06/34306/2
Dmitry Dulepov [Fri, 22 Feb 2013 09:16:34 +0000 (13:16 +0400)]
[BUGFIX] GeneralUtility::getUrl() fails to process redirects sometimes

If PHP's open_basedir is active, CURLOPT_FOLLOWLOCATION will be disabled
by PHP. In such case any redirects will not work. This causes problems
with extensions that fetch pages of the site and hit redirects. For
example, if the site uses http and parts of it use https, extensions
like "pagepath" or "solr" will not be able to work with "secondary"
protocol.

Change-Id: I2d9e50d2d00e4c8b0c930a929be7884fd0215c21
Resolves: #45741
Releases: 6.2, master
Reviewed-on: http://review.typo3.org/34306
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Fix option to disable direct file upload 79/34979/3
Steffen Müller [Mon, 24 Nov 2014 10:44:03 +0000 (11:44 +0100)]
[BUGFIX] Fix option to disable direct file upload

Direct file uploads for FAL fields can be disabled
with ...['appearance']['fileUploadAllowed'] = FALSE

Resolves: #63286
Releases: master, 6.2
Change-Id: I8fd6bd7ab385ba8acc4c7d18fb38507dc8689dbc
Change-Id: Ic93ec8047d2db9205fdf10bb4bce63b1559ca728
Reviewed-on: http://review.typo3.org/34979
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
4 years ago[TASK] TS path next to error msg in obj-browser 63/34963/2
Philipp Kitzberger [Tue, 15 Jul 2014 08:15:42 +0000 (10:15 +0200)]
[TASK] TS path next to error msg in obj-browser

This outputs the TS path next to the error message in the object browser
when clicking on a node in the TS tree and not having a TS record on that
page.

Resolves: #60322
Releases: master, 6.2
Change-Id: I5c4243de851cb906b16d94d1f6ce114b4c9174c8
Reviewed-on: http://review.typo3.org/34963
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Accessibility bypass in dt for menu with abstract 62/34962/2
Alexander Stehlik [Mon, 7 Apr 2014 12:39:30 +0000 (14:39 +0200)]
[BUGFIX] Accessibility bypass in dt for menu with abstract

The TypoScript path of the accessiblity bypass has changed so the
code that overrides the wrapping <li> with a <dt> element is adapted
to match the new TypoScript path.

Resolves: #57712
Releases: master, 6.2
Change-Id: Ib0347ddae6091792b85ee77133db8d711982a12b
Reviewed-on: http://review.typo3.org/34962
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Fix wrong phpdoc for extbase plugin types 60/34960/2
Markus Klein [Tue, 2 Dec 2014 22:25:46 +0000 (23:25 +0100)]
[BUGFIX] Fix wrong phpdoc for extbase plugin types

Resolves: #63535
Releases: master, 6.2
Change-Id: I406ca2534d4bf44c504cf31824ae161840274981
Reviewed-on: http://review.typo3.org/34960
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Escape element ID before used in jQuery selector 77/33777/3
Roland Waldner [Tue, 4 Nov 2014 08:54:47 +0000 (09:54 +0100)]
[BUGFIX] Escape element ID before used in jQuery selector

General information: to use any of the meta-characters as a
literal part of a jQuery selector, it must be escaped with
two backslashes: http://api.jquery.com/category/selectors/

Using IRRE (TCA type "inline") in Flexforms, TYPO3 may
generate HTML elements with IDs containing dots. Example:

id="data-104-tt_content-182-pi_flexform---data---fileSelection
---lDEF---settings.fileSelection.files---vDEF_records"

If you set "useSortable" and "endableControls.dragdrop" to 1
for an element in your Flexform configuration,
inline.createDragAndDropSorting(objectId) will get called for
that element. This objectId has to be escaped to be used as a
literal part of a jQuery selector later in this function.
Otherwise the drag-and-drop functionality will fail.

Resolves: #62676
Related: #62001
Releases: 6.2
Change-Id: I353a699d82885b7bd57d0dc5fafbb8f5646d693f
Reviewed-on: http://review.typo3.org/33777
Reviewed-by: Stefan Busemann <stefan.busemann@in2code.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[BUGFIX] Add missing htmlspecialchars() or quoteJSvalue() 40/34740/3
Stefan Neufeind [Tue, 25 Nov 2014 16:18:51 +0000 (17:18 +0100)]
[BUGFIX] Add missing htmlspecialchars() or quoteJSvalue()

Change-Id: I6c088a2e5b9f870bacc7d4e425d56698baad19fb
Resolves: #63321
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/34740
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Do workspace overlay for not translated file meta data 32/34832/2
Helmut Hummel [Sat, 15 Nov 2014 14:11:14 +0000 (15:11 +0100)]
[BUGFIX] Do workspace overlay for not translated file meta data

Previously the FileMetadataOverlayAspect only did a version/ workspace overlay
for translated metadata records, which meant that changes to
default language meta data records did not show up during preview.

Fix this by properly overlaying also the default language record.

Resolves: #62986
Releases: 6.2, master
Change-Id: I5b7b0f9ab20d5539107b6fd2e2872a8bd4003454
Reviewed-on: http://review.typo3.org/34832
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Fix HTML structure for buttons in EM 25/34825/2
Markus Klein [Sun, 30 Nov 2014 19:03:10 +0000 (20:03 +0100)]
[BUGFIX] Fix HTML structure for buttons in EM

This adds a missing wrap for the actions buttons in EM.
(Get Extensions view only)

Resolves: #63460
Releases: master, 6.2
Change-Id: Ifcc32f95995d2df976589e756b17afacfd39665b
Reviewed-on: http://review.typo3.org/34825
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Correct message when language is missing 14/34814/2
Jigal van Hemert [Sun, 30 Nov 2014 11:36:58 +0000 (12:36 +0100)]
[BUGFIX] Correct message when language is missing

Message in User settings has to refer to the Language module
instead of the Extension Manager.

Resolves: #63449
Releases: master, 6.2
Change-Id: I6865330281b77336595af6e056975974ec700c15
Reviewed-on: http://review.typo3.org/34814
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[TASK] Add missing closing quote in phpDoc 16/34716/2
Wouter Wolters [Thu, 27 Nov 2014 21:39:11 +0000 (22:39 +0100)]
[TASK] Add missing closing quote in phpDoc

Resolves: #63369
Releases: master,6.2
Change-Id: I325193f7739757c81eb8ad4cf6fbbbe8a0ad1425
Reviewed-on: http://review.typo3.org/34716
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[BUGFIX] StandaloneView must not require ucfirst file names 05/34705/4
Markus Klein [Thu, 27 Nov 2014 14:13:18 +0000 (15:13 +0100)]
[BUGFIX] StandaloneView must not require ucfirst file names

Regression to #61361.
There's no reason to require ucfirst file names for Layouts and Partials.

Resolves: #63367
Releases: 6.2
Change-Id: I3b931a0ef129c88388d427685af47ebb3e4a355f
Reviewed-on: http://review.typo3.org/34705
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[CLEANUP] StandaloneViewTest needs some love 02/34702/2
Markus Klein [Thu, 27 Nov 2014 14:13:18 +0000 (15:13 +0100)]
[CLEANUP] StandaloneViewTest needs some love

Resolves: #63372
Releases: master, 6.2
Change-Id: I4863239d536623284ef2bc9774f6c3f4ccc18be7
Reviewed-on: http://review.typo3.org/34702
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Set TYPO3 version to 6.2.8-dev 84/34684/2
TYPO3 Release Team [Thu, 27 Nov 2014 11:17:23 +0000 (12:17 +0100)]
[TASK] Set TYPO3 version to 6.2.8-dev

Change-Id: Ia4316d5ad5d06f4eb62d309a59954d334c73573a
Reviewed-on: http://review.typo3.org/34684
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[RELEASE] Release of TYPO3 6.2.7 83/34683/2 6.2.7 TYPO3_6-2-7
TYPO3 Release Team [Thu, 27 Nov 2014 11:16:49 +0000 (12:16 +0100)]
[RELEASE] Release of TYPO3 6.2.7

Change-Id: Idf04e317186c1775cc1b453dcaad2614c5f50ee9
Reviewed-on: http://review.typo3.org/34683
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[BUGFIX] Follow up: Use strrpos to find last occurence 82/34682/2
Andreas Fernandez [Wed, 26 Nov 2014 15:07:19 +0000 (16:07 +0100)]
[BUGFIX] Follow up: Use strrpos to find last occurence

The patch #61654 introduced a bug, where strpos is mistakenly
used to get the last position of the currently processed field.
It must be changed to strrpos, otherwise the opening brace
breaks the SQL.

Also, a unit test for this case is added.

Resolves: #63345
Related: #61654
Releases: master, 6.2
Change-Id: Ibdbc7975b8f750060980f811cd0089b1a7b7de2b
Reviewed-on: http://review.typo3.org/34682
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[BUGFIX] Pagination wrong in IndexedSearch 47/34647/2
Markus Klein [Wed, 26 Nov 2014 17:39:36 +0000 (18:39 +0100)]
[BUGFIX] Pagination wrong in IndexedSearch

Fix variable type issues in IndexedSearch pagination.
(classic and extbase VH)

This will ensure the CSS classes are correct again for current page and
next/prev page.

Resolves: #63350
Releases: master, 6.2
Change-Id: I6db4f2850ca9adc9d0aa07e908fc613036071676
Reviewed-on: http://review.typo3.org/34647
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Introduce chunking for large expression lists 27/34627/3
Andreas Fernandez [Mon, 24 Nov 2014 16:29:48 +0000 (17:29 +0100)]
[BUGFIX] Introduce chunking for large expression lists

TYPO3 executes some queries that contain very large expression lists,
e.g. in "NOT IN". In Oracle, this actually fails because the amount
of items in those lists is limited.

The code is prepared to support more specifics in different DBMS
at any time.

This patch also reverts If63f855b250bf7c9b6cd7112f60392cfc8ccfd67
because it's obsolete now.

Resolves: #61654
Related: #60859
Releases: master, 6.2
Change-Id: I3afd6a5187f28a9ddd7b01947e278fc7ce853808
Reviewed-on: http://review.typo3.org/34627
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Source element within picture element has wrong src attribute 85/34585/2
Arnd Messer [Thu, 20 Nov 2014 18:33:34 +0000 (19:33 +0100)]
[BUGFIX] Source element within picture element has wrong src attribute

Change it from src to srcset as described in the latest HTML5
specification for master and 6.2

Resolves: #63107
Releases: master, 6.2
Change-Id: Ia3180873af948db30bb60f2f071e5ccfe2283baf
Reviewed-on: http://review.typo3.org/34585
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix typo of variable 32/34532/2
Andreas Fernandez [Mon, 24 Nov 2014 09:21:40 +0000 (10:21 +0100)]
[BUGFIX] Fix typo of variable

$numRows got mixed up with $numrows which could lead to
invalid SQL statements.

Resolves: #63281
Releases: master, 6.2
Change-Id: I209b41d3f502841b74fac7f047aa68a3e45bf271
Reviewed-on: http://review.typo3.org/34532
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[FEATURE] Allow fallback paths in FLUIDTEMPLATE 21/34421/2
Markus Klein [Wed, 19 Nov 2014 12:40:38 +0000 (13:40 +0100)]
[FEATURE] Allow fallback paths in FLUIDTEMPLATE

Resolves: #61361
Releases: master, 6.2
Change-Id: I676722936892f164ae147d7f9abcb602e734ae7d
Reviewed-on: http://review.typo3.org/34421
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: ian excedo <ian@webian.it>
Tested-by: ian excedo <ian@webian.it>
Reviewed-by: Robert Wildling <robertwildling@gmail.com>
Tested-by: Robert Wildling <robertwildling@gmail.com>
4 years ago[FEATURE] Template Path fallback for Fluid Standalone View 44/34344/5
Anja Leichsenring [Sat, 6 Sep 2014 20:46:49 +0000 (22:46 +0200)]
[FEATURE] Template Path fallback for Fluid Standalone View

TemplateView received the feature of template path fallback
configuration with issue #39868.
The same is missing for Standalone view and will be introduced
with this patch.

Change-Id: I1e854a356a4c7e9cfff773c8f56fe4a437f77920
Resolves: #61361
Related: #39868
Documentation: #63117
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/34344
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: ian excedo <ian@webian.it>
Tested-by: ian excedo <ian@webian.it>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[BUGFIX] Fix PHP warning in shouldFieldBeOverlaid() 23/34523/2
Markus Klein [Tue, 18 Nov 2014 20:28:44 +0000 (21:28 +0100)]
[BUGFIX] Fix PHP warning in shouldFieldBeOverlaid()

PageRepository::shouldFieldBeOverlaid now properly checks for array-typed
values when mergeIfNotBlank behaviour is requested.

Resolves: #60998
Releases: master, 6.2
Change-Id: I9b536d2261eea6325e0f74365a3a4c85e37b1241
Reviewed-on: http://review.typo3.org/34523
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[BUGFIX] The raw search must check if field exists 12/34512/2
Georg Ringer [Sun, 23 Nov 2014 21:10:22 +0000 (22:10 +0100)]
[BUGFIX] The raw search must check if field exists

The "raw search in all fields" must check if a field
exists in the table before building up the query.

Resolves: #63273
Releases: master, 6.2
Change-Id: I115ea3fb973c500308bb6a9f6799e9a3af65edcc
Reviewed-on: http://review.typo3.org/34512
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Output dashed name for missing CLI arguments 49/34449/4
Mathias Brodala [Fri, 21 Nov 2014 07:59:33 +0000 (08:59 +0100)]
[BUGFIX] Output dashed name for missing CLI arguments

This changes the command argument name outputted on errors from variable
naming to dashed notation as used on the CLI.

Resolves: #61630
Releases: 6.2, master
Change-Id: Ie41c90c056505df859aec3ee306718c874dd8a05
Reviewed-on: http://review.typo3.org/34449
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix access to empty ObjectStorage with numeric key 33/34433/2
Mathias Brodala [Thu, 30 Oct 2014 10:40:42 +0000 (11:40 +0100)]
[BUGFIX] Fix access to empty ObjectStorage with numeric key

This prevents a warning error triggered by spl_object_hash being called
with an integer/string and can be caused by Fluid like this:

{object.relations.0}

Resolves: #62553
Releases: master, 6.2
Change-Id: Ie7d2a249e17f719142482781c2a96d093ff5f94c
Reviewed-on: http://review.typo3.org/34433
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Disable a test on PHP 5.3 20/34420/3
Christian Kuhn [Thu, 20 Nov 2014 22:41:19 +0000 (23:41 +0100)]
[TASK] Disable a test on PHP 5.3

This is a follow-up for 6.2 branch after phpunit upgrade to 4.3.

Resolves: #63113
Releases: 6.2
Change-Id: I8ccbd2cf27c94fa47f6099a20d19c0975a14b0e4
Reviewed-on: http://review.typo3.org/34420
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Update to phpunit 4.3 18/34418/2
Christian Kuhn [Thu, 20 Nov 2014 22:03:14 +0000 (23:03 +0100)]
[TASK] Update to phpunit 4.3

Resolves: #63113
Releases: master, 6.2
Change-Id: Id23e7790411a95f002f7da97d84e2de0b376de7e
Reviewed-on: http://review.typo3.org/34418
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Fix type check in advanced query search 12/34412/2
Georg Ringer [Mon, 17 Nov 2014 19:26:58 +0000 (20:26 +0100)]
[BUGFIX] Fix type check in advanced query search

TCA fields with type "check" and items are handled as
binary fields which is wrong. Fields are used e.g. for the
field "hidden" of pages to improve the output.

Therefore the check needs to be extended if there are at least
2 items in the item configuration.

Resolves: #51982
Releases: master, 6.2
Change-Id: I4a0cc31790e4f12527655b6abfa5cd1eda6dd9c7
Reviewed-on: http://review.typo3.org/34412
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Fix absolute link generation for files 11/34411/3
Markus Klein [Sat, 25 May 2013 10:47:53 +0000 (12:47 +0200)]
[BUGFIX] Fix absolute link generation for files

The method ContentRendererObject::forceAbsoluteUrl() fails
to generate absolute URLs for internal file resources even
if the flag "forceAbsoluteUrl" is activated.

Fix this by modifying the regexp that defines what is
accepted as an "already absolute link".

Resolves: #48529
Releases: master, 6.2
Change-Id: Iaf78d946f0f5cd35d175fe39159de72d18a7fa52
Reviewed-on: http://review.typo3.org/34411
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Properly match html tags with data-* attributes 06/34406/2
Ludwig Rafelsberger [Wed, 19 Nov 2014 21:38:21 +0000 (22:38 +0100)]
[BUGFIX] Properly match html tags with data-* attributes

The cropHTML method needs to account for html tags - therefore it must
match them. The regex used for matching tags misses html tags with
attributes that contain dashes. (\w matches "any 'word' character",
being "[…] any letter or digit or the underscore character […]") [1].

The current W3C html draft sets even less constraints on what makes an
attribute name [2], but including dashes looks like the most urgent
need.

[1] http://php.net/manual/en/regexp.reference.escape.php
[2] http://www.w3.org/TR/html51/syntax.html#attributes-0

Resolves: #63086
Releases: master, 6.2
Change-Id: I52832ca3e8d9660faa939e673af6cdc32f310b18
Reviewed-on: http://review.typo3.org/34406
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Clear opcode cache on Core update 04/34404/2
Markus Klein [Fri, 14 Nov 2014 20:06:54 +0000 (21:06 +0100)]
[TASK] Clear opcode cache on Core update

Resolves: #62966
Releases: master, 6.2
Change-Id: I54827b34c64cc6dbeb95e404d528ea3c1f0b14f9
Reviewed-on: http://review.typo3.org/34404
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Remove unused files_upload 98/34398/2
Alexander Opitz [Thu, 20 Nov 2014 11:11:42 +0000 (12:11 +0100)]
[BUGFIX] Remove unused files_upload

Removing the non existing file_upload permissions from
be_user/be_groups TCA field file_permissions.

Resolves: #63096
Releases: master, 6.2
Change-Id: Iaa64f2bc0ec433071ba5ad58e03cf937602f047a
Reviewed-on: http://review.typo3.org/34398
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Correctly remember acquired shared locks 84/34384/2
Ludwig Rafelsberger [Wed, 19 Nov 2014 23:19:42 +0000 (00:19 +0100)]
[BUGFIX] Correctly remember acquired shared locks

If a shared lock is acquired, that fact must be remembered in the
Locker object, so that it can be properly released later.

Resolves: #63087
Releases: master, 6.2
Change-Id: Ic7b59d3c437a71193c580b279a6795aaad334108
Reviewed-on: http://review.typo3.org/34384
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[BUGFIX] Never show hidden domains in preview 69/34369/2
Markus Klein [Tue, 18 Nov 2014 21:05:42 +0000 (22:05 +0100)]
[BUGFIX] Never show hidden domains in preview

When enabling hidden records via Admin Panel domains must not be
affected by this setting as this possibly destroys the environment.

Solution is to always prevent fetching hidden domain records.

Resolves: #61251
Releases: master, 6.2
Change-Id: Id6a90eb47aa85178ea0f90bac91be4ac9bdaa145
Reviewed-on: http://review.typo3.org/34369
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Inform about invalid index.php symlink 39/34339/3
Markus Klein [Tue, 7 Oct 2014 22:24:06 +0000 (00:24 +0200)]
[TASK] Inform about invalid index.php symlink

Add a verbose message to inform the user about a possibly
wrong index.php symlink in case a wrong folder structure
is detected.

Resolves: #62089
Releases: master, 6.2
Change-Id: I9f7e70c2144fe2385751764f9d3abe32f199c030
Reviewed-on: http://review.typo3.org/34339
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Correctly parse timestamps in format.date VH 23/34323/2
Markus Klein [Thu, 13 Nov 2014 19:18:17 +0000 (20:18 +0100)]
[BUGFIX] Correctly parse timestamps in format.date VH

If the timestamp is retrieved from child nodes, the date format
ViewHelper has to ensure the timestamp is properly recognized.
As child nodes are always returning a string, the former check with
is_integer() would never return TRUE.
Therefore adapt this check to use the MathUtility method as this
guarantees a proper check.

Resolves: #62932
Releases: master, 6.2
Change-Id: I6968991bf97f99f82fc942d7d17678c9b473e796
Reviewed-on: http://review.typo3.org/34323
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>