Packages/TYPO3.CMS.git
2 years ago[BUGFIX] Fix interaction with versions on "All workspaces" tab 06/51006/5
Oliver Hader [Tue, 20 Dec 2016 12:08:57 +0000 (13:08 +0100)]
[BUGFIX] Fix interaction with versions on "All workspaces" tab

Interacting with workspace versions using the "All workspaces"
tab in the workspace module was not possible. The process tried
to use the current workspace, which in this case was the virtual
workspace with ID -98 - which of course did not exist.

Change-Id: If512ef8ccc838348230531450e82b25a00f27908
Resolves: #79048
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51006
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Check for loaded EXT:version in getLiveVersionIdOfRecord 74/51074/2
Thomas Hohn [Mon, 12 Dec 2016 11:41:10 +0000 (12:41 +0100)]
[BUGFIX] Check for loaded EXT:version in getLiveVersionIdOfRecord

Omit SQL queries for each record by checking whether the "version"
extension is loaded in BackendUtility->getLiveVersionIdOfRecord()

Resolves: #78974
Releases: master, 7.6
Change-Id: If702866803d0c2b1eafc9a0c003b0e3e71c91367
Reviewed-on: https://review.typo3.org/51074
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] Show loading label while scanning broken extensions 22/51022/2
Nicole Cordes [Thu, 15 Dec 2016 22:30:04 +0000 (23:30 +0100)]
[BUGFIX] Show loading label while scanning broken extensions

When switching to Bootstrap in the Install Tool, the class adjustment
for the loading message in LoadExtensions.html was missing. This patch
ensures the correct class is used to show the message.

Resolves: #79010
Related: #78376
Releases: master, 7.6
Change-Id: I9c467dd3e0cf7c801ac25774425df7e1d85b4c0a
Reviewed-on: https://review.typo3.org/51022
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
2 years ago[BUGFIX] Documentation of #53542 contains wrong issue number 16/51016/2
Stephan Großberndt [Wed, 21 Dec 2016 16:13:39 +0000 (17:13 +0100)]
[BUGFIX] Documentation of #53542 contains wrong issue number

Resolves: #79064
Related: #53542
Releases: 7.6
Change-Id: If2393a5325a9b5ba21c7ee852e65b9d16c6c3b3a
Reviewed-on: https://review.typo3.org/51016
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] Set title for select icons 10/51010/2
Marco Huber [Mon, 19 Dec 2016 16:50:02 +0000 (17:50 +0100)]
[BUGFIX] Set title for select icons

Use the select options label as title instead of
an uninitialized variable.

Resolves: #79037
Releases: master, 7.6
Change-Id: I690b687f5dd854556ac799d89c8462f4ce9966a4
Reviewed-on: https://review.typo3.org/51010
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Optimize cache handling in ReflectionService 80/50980/2
Helmut Hummel [Tue, 13 Dec 2016 22:39:13 +0000 (23:39 +0100)]
[BUGFIX] Optimize cache handling in ReflectionService

Method reflection objects are used temporarily to extract information
from methods. This information is eventually stored in the cache.
However the method reflection objects themselves must stay outside the cache
because they cannot be serialized. They also do not provide much value
as the information is stored in the cache anyway.
The only additional info these reflections provided is whether a method
existed or not in the class, which we now also cache as plain array.

Furthermore the information whether cache relevant properties were
updated and the cache needs to be saved again is now reset once it was
written. This ensures that the cache is only written once even the
ReflectionService is used multiple times.

Resolves: #78915
Resolves: #78977
Releases: master, 7.6, 6.2
Change-Id: I1d00f596633adab886c0db0dfddd71358fb67303
Reviewed-on: https://review.typo3.org/50980
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Filebrowser: Plus-Sign disappear for not-selectable items now 81/50981/2
Michael Oehlhof [Sun, 27 Nov 2016 13:36:39 +0000 (14:36 +0100)]
[BUGFIX] Filebrowser: Plus-Sign disappear for not-selectable items now

Resolves: #76408
Releases: master, 7.6
Change-Id: I20cfc02b588776f4e76980aa68dfe5c032103563
Reviewed-on: https://review.typo3.org/50981
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Improve DataHandler handling for dbType fields 72/50672/2
Nicole Cordes [Mon, 1 Feb 2016 10:26:35 +0000 (11:26 +0100)]
[BUGFIX] Improve DataHandler handling for dbType fields

Currently we have some issues with handling database fields with type
"date" or "datetime". Those fields can't have an empty default value
in the database but might have defined default values or null. This
patch adds proper handling for both default value cases.

Resolves: #72654
Resolves: #62660
Releases: master, 7.6, 6.2
Change-Id: I429bf4fdfa32531c0034e8346ee11d3d1fb81242
Reviewed-on: https://review.typo3.org/50672
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] Load page info when only getting external tables 73/50973/2
Johannes Schlier [Wed, 14 Dec 2016 12:46:45 +0000 (13:46 +0100)]
[BUGFIX] Load page info when only getting external tables

Previously the PageLayoutView would only set the page info when getting
the tt_content of the page in function ‘getTable_tt_content’.
If a user only has rights to view/edit records from other tables, but
not tt_content, the page info is null, as ‘getTable_tt_content’ is never
called.

Resolves: #78991
Releases: master, 7.6
Change-Id: Iabcad89a23b245e8c6a8e23fa420fcab5c1ea8e4
Reviewed-on: https://review.typo3.org/50973
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years agoRevert "[BUGFIX] Reflection Cache does not save methodReflections" 68/50968/2
Helmut Hummel [Thu, 15 Dec 2016 00:20:22 +0000 (01:20 +0100)]
Revert "[BUGFIX] Reflection Cache does not save methodReflections"

Internal PHP classes including the \ReflectionMethod are not serlializable. Doing so results in a fatal error at some point.
The reported issue must be solved differently.

This reverts commit a5c1e222bf9858f5a44af1007cd9e1677b9a534d.

Reverts: #78915
Resolves: #78977
Releases: master, 7.6, 6.2
Change-Id: I1161b97eb04d0b1ba8ca59b3008d3f62c6ea1cf5
Reviewed-on: https://review.typo3.org/50968
Reviewed-by: Stefan Rotsch <stefan.rotsch@aoe.com>
Tested-by: Stefan Rotsch <stefan.rotsch@aoe.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
2 years ago[BUGFIX] Fix exception in QuickEdit mode for empty pages 45/50945/3
Manuel Selbach [Thu, 8 Dec 2016 22:22:15 +0000 (23:22 +0100)]
[BUGFIX] Fix exception in QuickEdit mode for empty pages

If there is no content on a page the parameter $this->eRParts[1] will be
set to e.g. /new/1 which is not an integer value and it will throw an
exception here on certain dbms, thus let's check that before as there could
not be a history on a new record and skip the query to prevent the error.

Change-Id: If33c5de067b7685e5723ceb7aa1586640abc99d8
Resolves: #78925
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/50910
Reviewed-on: https://review.typo3.org/50945
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Order extensions by integerVersion instead of version 33/50933/2
Ulrik Høyer Kold [Thu, 8 Dec 2016 14:53:16 +0000 (15:53 +0100)]
[BUGFIX] Order extensions by integerVersion instead of version

Return the results of findByExtensionKeyOrderedByVersion ordered by
column 'integerVersion' instead of 'version' in order to avoid a wrong
order for version numbers like "1.9.2" and "1.10.0".

Releases: master, 7.6
Resolves: #78923
Change-Id: I89f5cf54aa4ee7ac87c5af2aa4ac3946d53f10d6
Reviewed-on: https://review.typo3.org/50933
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Reflection Cache does not save methodReflections 29/50929/2
Valentin Despa [Fri, 9 Dec 2016 09:22:42 +0000 (10:22 +0100)]
[BUGFIX] Reflection Cache does not save methodReflections

The cached data of the Reflection Cache (table cf_extbase_reflection)
is not stored in its complete form.

The data/part of property 'methodReflections' is NOT stored in the cache.
As a result, the Reflection Cache will be deleted/inserted each time the
methodReflections property is needed

Resolves: #78915
Releases: master,7.6,6.2
Change-Id: I7b2f7477132abca2e10826bed6e78cb1195d2b26
Reviewed-on: https://review.typo3.org/50929
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Use proper .xlf file ending for RTE demo config 22/50922/2
Benni Mack [Fri, 9 Dec 2016 15:05:27 +0000 (16:05 +0100)]
[BUGFIX] Use proper .xlf file ending for RTE demo config

Resolves: #78942
Releases: master, 7.6
Change-Id: If233cf0d4812f0d57deccbb6d4ebe33b2393b148
Reviewed-on: https://review.typo3.org/50922
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
2 years ago[BUGFIX] SwapLocking should use proper file name 09/50909/2
Benni Mack [Thu, 8 Dec 2016 16:39:28 +0000 (17:39 +0100)]
[BUGFIX] SwapLocking should use proper file name

When using a swap locking file, the file name should not contain
a colon (":") in the filename.

Resolves: #78924
Releases: master, 7.6
Change-Id: I4012ad01e3ef948df691a6ebf1fab79cc1bebe87
Reviewed-on: https://review.typo3.org/50909
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix IP lock clause when [FE][lockIP] is 0 08/50908/2
Wouter Wolters [Wed, 7 Dec 2016 09:11:14 +0000 (10:11 +0100)]
[BUGFIX] Fix IP lock clause when [FE][lockIP] is 0

The method getNewSessionRecord doesn't check
lockIP setting 0 correctly. Add a check to disable checking
when lockIP is 0.

Resolves: #78902
Releases: master,7.6
Change-Id: Ic060ed36e9a7d4fdb1534ffe76ce8bbbee31038c
Reviewed-on: https://review.typo3.org/50908
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Do not fetch pages with pid < 0 in prepareCacheFlush 07/50907/2
Steffen Göde [Thu, 11 Feb 2016 14:46:29 +0000 (15:46 +0100)]
[BUGFIX] Do not fetch pages with pid < 0 in prepareCacheFlush

Do not fetch workspace related pages to prepare cache flushing.

Resolves: #73241
Releases: master,7.6,6.2
Change-Id: I49bac4f1289848ded8c74b77fc4473ef925086dd
Reviewed-on: https://review.typo3.org/50907
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] rtehtmlarea: Fix isRequiredClass check 93/50893/2
Benjamin Franzke [Thu, 17 Nov 2016 08:34:14 +0000 (09:34 +0100)]
[BUGFIX] rtehtmlarea: Fix isRequiredClass check

Given the following TSConfig:

  RTE {
    classes {
      btn-default {
        name = Default Button
        requires = btn
      }
      btn-primary {
        name = Primary Button
        requires = btn
      }
      btn.selectable = 0
    }
  }

The incorrect isRequiredClass check causes the btn class to be
removed from the RTE toolbarbuttons. This happens because it's
considered unneeded in DOM.removeClass(), which is called by
DOM.addClass() (to remove incompatible classes).

The check in isRequiredClass was probably copied from
some classesRequired lookups, but forgot to inverse the
class that's searched for.

This also fixes the RTE to properly remove the selectable=0 class
(e.g. btn), when a class that requires the aformentioned is removed
(e.g. btn-primary).

Releases: master, 7.6
Resolves: #78730
Change-Id: I5a6ac42c7080835d5018608ab17a39b36a0fb70a
Reviewed-on: https://review.typo3.org/50893
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] Reset hidden field information in FormViewhelper 56/50856/2
Nicole Cordes [Wed, 2 Nov 2016 23:26:04 +0000 (00:26 +0100)]
[BUGFIX] Reset hidden field information in FormViewhelper

If a checkbox or a multiple selectbox is rendered, a hidden field is
automatically inserted before to send an empty default value. Field
information are stored within an own viewHelperVariableContainer
variable. After a form is rendered, this information has to be reset to
be able to render another form with same field names. This patch adds
the missing reset of the hidden field information.

Resolves: #78551
Releases: master, 7.6, 6.2
Change-Id: I3cde5618d07cae39b7841875504471cb2341dc17
Reviewed-on: https://review.typo3.org/50856
Reviewed-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>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] Fix missing tooltips in insert special character window 91/50891/2
Wouter Wolters [Wed, 7 Dec 2016 09:29:43 +0000 (10:29 +0100)]
[BUGFIX] Fix missing tooltips in insert special character window

The extjs popups don't work anymore. Use native title instead.

Resolves: #78903
Releases: 7.6
Change-Id: Ia361c45264346634f9605df144aacf174774311e
Reviewed-on: https://review.typo3.org/50891
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[CLEANUP] Simplify registerPageTSConfigFile description 87/50887/2
Mathias Brodala [Mon, 5 Dec 2016 10:09:43 +0000 (11:09 +0100)]
[CLEANUP] Simplify registerPageTSConfigFile description

Resolves: #78886
Releases: master, 7.6
Change-Id: I1e5922ed510f0f43a6374f9dde061356290b72d9
Reviewed-on: https://review.typo3.org/50887
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[CLEANUP] Simplify addStaticFile description 86/50886/2
Mathias Brodala [Mon, 5 Dec 2016 10:25:02 +0000 (11:25 +0100)]
[CLEANUP] Simplify addStaticFile description

Resolves: #78887
Releases: master, 7.6
Change-Id: Ifb6de078816e851915372d1c5611552fd58f2cce
Reviewed-on: https://review.typo3.org/50886
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] T3Editor getPlugins must write to response object 82/50882/2
Markus Klein [Fri, 25 Nov 2016 19:05:40 +0000 (20:05 +0100)]
[BUGFIX] T3Editor getPlugins must write to response object

Fix the ajax request target getPlugins to write its response to
the response object and not to the request.

Moreover fix return value of setModeByFile, which is used
only once, but does not need a return value at all.

Resolves: #78802
Releases: master, 7.6
Change-Id: I840de6fe851a3c4e104c4de1ee9bd0e9c4d8f3c6
Reviewed-on: https://review.typo3.org/50882
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: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Skip swapping/publishing of deleted records 77/50877/4
Oliver Hader [Sat, 3 Dec 2016 15:44:24 +0000 (16:44 +0100)]
[BUGFIX] Skip swapping/publishing of deleted records

In case a content element and the accordant page have been deleted in
separate actions and get published together, the workspace process will
trigger an error message since the removed content element cannot be
published anymore (since it has been processed already with the page).

To avoid this behavior deleted records are collected and checked in the
workspace swapping/publishing process.

Change-Id: If04a198abf81efdc88e75da79da0c01cfaa361ff
Resolves: #47384
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50877
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: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] Fix display of HTTP headers using pageNotFound handler 76/50876/4
Michael Oehlhof [Fri, 21 Oct 2016 19:28:16 +0000 (21:28 +0200)]
[BUGFIX] Fix display of HTTP headers using pageNotFound handler

When using the pageNotFound handler with a curl proxy there are no longer
HTTP headers displayed.

Resolves: #67136
Releases: 7.6
Change-Id: I7c6a9fa3bffbd265345e1a7bfa3ebf25bb2d80b9
Reviewed-on: https://review.typo3.org/50876
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Install extension when dependency check is skipped 73/50873/2
Nicole Cordes [Sun, 13 Nov 2016 12:21:16 +0000 (13:21 +0100)]
[BUGFIX] Install extension when dependency check is skipped

You can skip the dependency check if you want to enforce the installation
of an extension. This patch ensures that dependencies which are available
in the system but marked as not compatible are installed anyways.

Resolves: #78677
Releases: master, 7.6
Change-Id: I552ff949524e884bfbb5b8e270cfee0dc4691187
Reviewed-on: https://review.typo3.org/50873
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Manuel Glauser <mail@manuelglauser.ch>
Tested-by: Manuel Glauser <mail@manuelglauser.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years agoRevert "[BUGFIX] Disable not required checks on cli" 74/50874/2
Alexander Stehlik [Sat, 3 Dec 2016 14:46:07 +0000 (15:46 +0100)]
Revert "[BUGFIX] Disable not required checks on cli"

This reverts commit c02d4e37e44d12125969657e4e5706ff68eb1808.

The condition for checking for CLI mode in ext_tables.php of
the install tool is correct in the 7.6 branch.

The additional checks are not required.

Change-Id: I4d364fc08c68c7c25d9210c08b813247bee7d47f
Resolves: #78854
Relates: #78786
Reviewed-on: https://review.typo3.org/50874
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Unify line endings in ext-lang-am.js 68/50868/2
Alexander Stehlik [Sat, 3 Dec 2016 10:21:54 +0000 (11:21 +0100)]
[BUGFIX] Unify line endings in ext-lang-am.js

The ext-lang-am.js now has unique linux linebreaks.
Before it had a mixture of windows and linux linebreaks.

Change-Id: I4f74677c66611e2ca2143cf249934cb69b5e5ea5
Resolves: #78871
Relates: #77808
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50868
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] Fix maximum height of preview links dialog 66/50866/2
Manuel Glauser [Sat, 3 Dec 2016 09:19:13 +0000 (10:19 +0100)]
[BUGFIX] Fix maximum height of preview links dialog

If there are many previewable languages on one page the modal dialog
now will have a scroll bar for more than 4 entries, so it doesn't
break the UI any more.

Add 'modal-inner-scroll' class to modal 'show' call to let the
JS framework handle the maximum height / scroll behavior.

Resolves: #69637
Releases: master, 7.6
Change-Id: I59f91c4364d0d611c5822492b9ace513b1a45a33
Reviewed-on: https://review.typo3.org/50866
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Fix doubleclick-doublesubmit touchup 57/50857/2
Markus Timtner [Mon, 21 Nov 2016 10:07:58 +0000 (11:07 +0100)]
[BUGFIX] Fix doubleclick-doublesubmit touchup

If a user double-clicks fast enough on any save-button of any new record
in Chrome, the record gets submitted twice.
This fix introduces a semaphore variable in the corresponding JS
to ensure the record gets submitted only once.

Resolves: #77942
Related: #77729, #77944
Releases: master, 7.6
Change-Id: I73516b6a07b23b947e0756dea7051863546a246d
Reviewed-on: https://review.typo3.org/50857
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Make showAccessRestrictedPages work 75/50775/4
Claus Due [Thu, 17 Nov 2016 12:14:24 +0000 (13:14 +0100)]
[BUGFIX] Make showAccessRestrictedPages work

This patch fixes a problem where setting showAccessRestrictedPages
setting in HMENU etc. did not result in the correct behavior according
to documentation at https://docs.typo3.org/typo3cms/TyposcriptReference/MenuObjects/CommonProperties/Index.html.

The patch changes the behavior caused by using `NONE` as
keyword in the setting.

Before: using the option renders `<a>Page title</a>` when page is inaccessible.

After: using the option renders `<a href="index.php?id=123">Page title</a>`
when page is not accessible.

Change-Id: I4364f7ec9f44e1e0b70654830efc236f20e6bf30
Resolves: #17904
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50775
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
2 years ago[BUGFIX] Avoid duplicate calls to update reference index 74/50774/4
Claus Due [Mon, 21 Nov 2016 15:52:03 +0000 (16:52 +0100)]
[BUGFIX] Avoid duplicate calls to update reference index

This patch adds a check when processing the update
reference index stack, in order to avoid calling the
update function more than once with the same input
arguments (which are $table and $uid).

Saves around 100 SQL queries when doing a standard
copy of 25 (nested) pages with 25 content elements.

Change-Id: If162218d4eabb749a92270e18c7c39108fd15f34
Resolves: #78761
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50774
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Reduce expensive calls in AbstractMenuContentObject 76/50776/5
Claus Due [Mon, 14 Nov 2016 14:21:43 +0000 (15:21 +0100)]
[BUGFIX] Reduce expensive calls in AbstractMenuContentObject

This patch reduces the number of SQL queries and PHP calls
which get performed when rendering menus. The patch has
two parts:

* Runtime cache is used to remember a generated link and
  is given a cache identifier which includes a hash of all
  parameters which may affect the link.
* Runtime cache is used to remember the decision if a page
  is a submenu.

The item rendering function is called every time the same page
is rendered in any menu in the same request, and the decision
function to check if page is a sub-menu is called at least three
times with the same UID when generating a menu. Both of these
implements together reduce the necessary re-calling of methods
which generate the same output given the same arguments.

Change-Id: Idd6225081e8fb3f8160270af3d865b48208b756e
Releases: master, 7.6
Resolves: #78693
Reviewed-on: https://review.typo3.org/50776
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: 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>
2 years ago[BUGFIX] Set dimensions for custom svg TYPO3 backend logo 64/50864/2
Georg Ringer [Thu, 17 Nov 2016 07:49:08 +0000 (08:49 +0100)]
[BUGFIX] Set dimensions for custom svg TYPO3 backend logo

Width and height is automatically set for pixel based backend
logos. This patch makes sure this also is done for svg file format.

Releases: master, 7.6
Resolves: #78590
Change-Id: Iff1dddc827d002e10fd4ec6f3b57bc16920b1c86
Reviewed-on: https://review.typo3.org/50864
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Flaky child references handling for pages_language_overlay 59/50859/2
Andreas Allacher [Wed, 8 Jun 2016 05:47:17 +0000 (07:47 +0200)]
[BUGFIX] Flaky child references handling for pages_language_overlay

IRRE records have to point to their specific localized parent record.
This works in general for tables containing records of the default
language as well as localizations. For the "pages" table this look-up
has to be extended to query from "pages_language_overlay".

Change-Id: I84b6ee9304f85222430a5bdf62bd2271aae68fd5
Resolves: #76174
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50859
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] Resolves editing problem in language mode 58/50858/2
Markus Sommer [Mon, 7 Nov 2016 15:02:21 +0000 (16:02 +0100)]
[BUGFIX] Resolves editing problem in language mode

* Resolves the problem with many languages
* Set width to min-width to enlarge the viewport

Resolves: #78594
Releases: master, 7.6

Change-Id: I7360f620021d2614800f03da7960bb9acd2360e1
Reviewed-on: https://review.typo3.org/50858
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
2 years ago[TASK] Enforce Linux Line endings in .gitattributes 55/50855/3
Kay Strobach [Fri, 2 Sep 2016 20:12:10 +0000 (22:12 +0200)]
[TASK] Enforce Linux Line endings in .gitattributes

This settings enforces LF consistently on all plattforms
and fits it to the .editorconfig

Resolves: #77808
Releases: master, 7.6
Change-Id: Ibc6efbf9a2a2360d84aa0ed4c3b74ff731ef1398
Reviewed-on: https://review.typo3.org/50855
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[FOLLOWUP][BUGFIX] Reset FormViewHelper on execution 49/50849/2
Anja Leichsenring [Fri, 2 Dec 2016 11:18:53 +0000 (12:18 +0100)]
[FOLLOWUP][BUGFIX] Reset FormViewHelper on execution

Incomplete backport caused unit tests to fail.

Change-Id: Ib447b2327c5c54956d86149c08c503d9a463c2b4
Resolves: #77097
Releases: 7.6
Reviewed-on: https://review.typo3.org/50849
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[BUGFIX] Reset FormViewHelper on execution 47/50847/2
Helmut Hummel [Tue, 19 Jul 2016 14:23:36 +0000 (16:23 +0200)]
[BUGFIX] Reset FormViewHelper on execution

This commit ensures that the FormViewHelper is in a clean state and
can render the required hidden fields (again).

Resolves: #77097
Releases: master, 7.6, 6.2
Change-Id: I82f90ee7c0aaf44cd48a9abde6dbb012f536543e
Reviewed-on: https://review.typo3.org/50847
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Force string casting of $parserList 41/50841/2
Andreas Fernandez [Thu, 1 Dec 2016 19:05:41 +0000 (20:05 +0100)]
[BUGFIX] Force string casting of $parserList

The method `BackendUtility::explodeSoftRefParserList()` checks whether
`$parserList` is an empty string. This check may fail, as the variable may
be null instead. `$parserList` is now casted to a string, which converts
null to an empty string.

Resolves: #78858
Releases: master, 7.6
Change-Id: Ia833fd64f3349c5856a879e917bb3cd6f581caa0
Reviewed-on: https://review.typo3.org/50841
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Avoid RTE context menu collapse to arrows only 78/50778/2
Claus Due [Fri, 25 Nov 2016 11:57:44 +0000 (12:57 +0100)]
[BUGFIX] Avoid RTE context menu collapse to arrows only

Solves an issue in Chrome where calculating the height of
the editor window returns zero. Solved by hardcoding a
minimum context menu height of 150 pixels; applied via
Math.max()'ing the resolved height and 150.

Change-Id: Ie79507d661128f6aff31c12573b9c020b913ec8a
Resolves: #78795
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50778
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Remove has-call to caching framework in explodeSoftRefParserList 83/50783/3
Wouter Wolters [Tue, 22 Nov 2016 22:22:07 +0000 (23:22 +0100)]
[TASK] Remove has-call to caching framework in explodeSoftRefParserList

No need to call has on the caching framework in the function
explodeSoftRefParserList. Furthermore we do not need to store false
to the runtime cache if parseList is an empty string.

Resolves: #78773
Releases: master, 7.6
Change-Id: Iaa3fae35d4d07a78eb0fde8efc892a9ddb46b974
Reviewed-on: https://review.typo3.org/50783
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[FOLLOWUP][BUGFIX] Don't set resource storages permanently offline 37/50837/2
Oliver Hader [Thu, 1 Dec 2016 16:30:47 +0000 (17:30 +0100)]
[FOLLOWUP][BUGFIX] Don't set resource storages permanently offline

Resolves: #75184
Releases: master, 7.6
Change-Id: Iff4ea23dfc1e8d96c45ba675aab6484830468718
Reviewed-on: https://review.typo3.org/50837
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Show errors on ajax file actions 35/50835/2
Alexander Opitz [Wed, 23 Nov 2016 11:43:21 +0000 (12:43 +0100)]
[BUGFIX] Show errors on ajax file actions

Respond with status code 500 on ajax file actions, so JS can differ
between success and failure.

Resolves: #78776
Related: #69916
Releases: master, 7.6
Change-Id: I166cb86be64a26d1a3b44bfba626bba3fd151df1
Reviewed-on: https://review.typo3.org/50835
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] RTE TYPO3Link PopupWindow size fallback 73/49873/2
Pierrick Caillon [Tue, 6 Sep 2016 14:06:04 +0000 (16:06 +0200)]
[BUGFIX] RTE TYPO3Link PopupWindow size fallback

The RTE TYPO3Link.js link chooser popup uses the
'''top.TYPO3.configuration.RTEPopupWindow''' sizes.
When using Frontend Editing, this object is not available.
As fallback, '''top.TYPO3.configuration.PopupWindow''' is used.

Resolves: #75980
Releases: 7.6
Change-Id: Iaf4389abce3e7a49ddfa42165a7322923e520fde
Reviewed-on: https://review.typo3.org/49873
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Manuel Glauser <mail@manuelglauser.ch>
Tested-by: Manuel Glauser <mail@manuelglauser.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Disable not required checks on cli 18/50818/2
Markus Sommer [Fri, 25 Nov 2016 10:54:27 +0000 (11:54 +0100)]
[BUGFIX] Disable not required checks on cli

* $_SERVER['HTTP_HOST'] is not avalible on cli
* Mostly max_execution_time is not set on cli

Resolves: #78786
Releases: master, 7.6
Change-Id: If19dab862e2762fab5fec113c93eba80f75a4aaf
Reviewed-on: https://review.typo3.org/50818
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Add missing space between language flag and title language diff 17/50817/2
Gianluigi Martino [Tue, 29 Nov 2016 16:00:44 +0000 (17:00 +0100)]
[TASK] Add missing space between language flag and title language diff

Adding some space between language flag and title in language diff column

Releases: master, 7.6
Resolves: #78707
Change-Id: Ic8f69d4ab6181c741efa880ceeec67ea7d807ace
Reviewed-on: https://review.typo3.org/50807
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Manuel Glauser <mail@manuelglauser.ch>
Tested-by: Manuel Glauser <mail@manuelglauser.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-on: https://review.typo3.org/50817

2 years ago[BUGFIX] Don't set resource storages permanently offline automatically 16/50816/2
Marc Willmann [Tue, 25 Oct 2016 15:18:18 +0000 (17:18 +0200)]
[BUGFIX] Don't set resource storages permanently offline automatically

When the storage drive coudn't be initialized correctly the storage is
only put offline for the current request. The error thrown by the driver
is logged to database table sys_log as well.

Resolves: #75184
Releases: master, 7.6
Change-Id: I4b05b732f887c0679e9cdda77793e4b304ac3fdb
Reviewed-on: https://review.typo3.org/50816
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Fix incorrect position of RTE context menu 80/50780/3
Claus Due [Fri, 25 Nov 2016 13:16:53 +0000 (14:16 +0100)]
[BUGFIX] Fix incorrect position of RTE context menu

Fixes the position of the context menu to the cursor,
preventing it from being displayed outside of the
RTE frame.

Change-Id: Ib1bf23da6463beb32c49a9272bf225e73c4bc9f6
Resolves: #78001
Releases: 7.6
Reviewed-on: https://review.typo3.org/50780
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Manuel Glauser <mail@manuelglauser.ch>
Tested-by: Manuel Glauser <mail@manuelglauser.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Fix wrong indentation of PageTree in MoveElements 15/50815/2
Michael Oehlhof [Sun, 13 Nov 2016 20:46:15 +0000 (21:46 +0100)]
[BUGFIX] Fix wrong indentation of PageTree in MoveElements

Resolves: #78687
Releases: master, 7.6
Change-Id: Ibe5efa5b81e839f7bc608ca4adffe1aa2d2a9727
Reviewed-on: https://review.typo3.org/50815
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Set TYPO3 version to 7.6.15-dev 01/50801/2
TYPO3 Release Team [Tue, 29 Nov 2016 09:45:29 +0000 (10:45 +0100)]
[TASK] Set TYPO3 version to 7.6.15-dev

Change-Id: I3780632ae4895d65cbfe52063e6299bbbb1f7d56
Reviewed-on: https://review.typo3.org/50801
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
2 years ago[RELEASE] Release of TYPO3 7.6.14 00/50800/2 7.6.14 TYPO3_7-6-14
TYPO3 Release Team [Tue, 29 Nov 2016 09:44:40 +0000 (10:44 +0100)]
[RELEASE] Release of TYPO3 7.6.14

Change-Id: Id86a75848dae52b37ec5da429701bd941e1d6b68
Reviewed-on: https://review.typo3.org/50800
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
2 years ago[TASK] Update composer dependencies for local builds 55/50755/2
Helmut Hummel [Wed, 23 Nov 2016 14:00:37 +0000 (14:00 +0000)]
[TASK] Update composer dependencies for local builds

Update the external libraries to reflect the state of
composer installations.

Use that opportunity to pin psr/log to a stable version
instead of using the master branch (which is equivalent anyway)

Resolves: #78778
Releases: 7.6
Change-Id: Ia85c09c640ca7b0c4231ef214d60a43b7adfa284
Reviewed-on: https://review.typo3.org/50755
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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: Peter Foerger <pfoerger@mac.com>
Tested-by: Peter Foerger <pfoerger@mac.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>