Packages/TYPO3.CMS.git
3 years ago[BUGFIX] Indexed Search: Always add L parameter to links 76/47476/2
Tymoteusz Motylewski [Thu, 31 Mar 2016 21:31:58 +0000 (23:31 +0200)]
[BUGFIX] Indexed Search: Always add L parameter to links

Make linkPage method always add language parameter (L) to links
in search results.
This is especially important when you are showing results
from multiple languages on one page.

Resolves: #30852
Releases: master, 7.6
Change-Id: I6ed91335d6e0311a7ff2d98adf5581884d8b9303
Reviewed-on: https://review.typo3.org/47476
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Deprecate $TSFE->csConvObj 49/47449/3
Benni Mack [Thu, 31 Mar 2016 07:18:52 +0000 (09:18 +0200)]
[TASK] Deprecate $TSFE->csConvObj

The CharsetConverter class is now a singleton and not
depending on a context (FE/BE) as it always takes the
needed charset for conversion as parameter.

$LANG->csConv is already deprecated, this patch
cleans up the last bits inside TypoScriptFrontendController
and therefore deprecates $TSFE->csConvObj
and $TSFE->csConv().

Resolves: #75327
Releases: master
Change-Id: I9c69a7c7d7edc5bc9efd1bc206b0b05364824339
Reviewed-on: https://review.typo3.org/47449
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[BUGFIX] Help texts in Backend User Settings do not appear 60/47460/3
Gianluigi Martino [Thu, 31 Mar 2016 13:13:19 +0000 (15:13 +0200)]
[BUGFIX] Help texts in Backend User Settings do not appear

Clicking on label in user settings display help text again

Change-Id: I2e5c90e5b1c180a18bbc8d7264b6ac43a866c24b
Resolves: #74333
Releases: master
Reviewed-on: https://review.typo3.org/47460
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][TASK] Move indexed search pi1 to EXT:compatibility7 69/47469/9
Benni Mack [Thu, 31 Mar 2016 17:51:10 +0000 (19:51 +0200)]
[!!!][TASK] Move indexed search pi1 to EXT:compatibility7

For further cleanups a new system extension is introduced
that will be moved in to TER before the release of 8 LTS.

Move indexed search pi-based plugin to compatibility7.

Resolves: #75349
Releases: master
Change-Id: I699dbb4b987df92e7dc81d8b5c65ff05b2e2a958
Reviewed-on: https://review.typo3.org/47469
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
3 years ago[TASK] Move typo3/cli_dispatch.phpsh to backend extension 94/46394/3
Mathias Brodala [Sat, 30 Jan 2016 12:33:44 +0000 (13:33 +0100)]
[TASK] Move typo3/cli_dispatch.phpsh to backend extension

This moves the "typo3/cli_dispatch.phpsh" to the backend
extension as "cli.php". The "typo3/cli_dispatch.phpsh"
becomes a stub which includes the "cli.php".

Resolves: #73029
Releases: master
Change-Id: If5daea584291a9a89c4b805c98799945c424f65f
Reviewed-on: https://review.typo3.org/46394
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[!!!][FEATURE] Introduce Guzzle for making HTTP Requests 08/43508/22
Benni Mack [Wed, 30 Mar 2016 11:58:11 +0000 (13:58 +0200)]
[!!!][FEATURE] Introduce Guzzle for making HTTP Requests

The Guzzle library is added as a composer dependency
instead of HttpRequest to request urls from TYPO3.

Guzzle is encapsulated inside a RequestFactory to do
requests and return PSR-7 compliant Response objects
to deal with content. In the future, Guzzle can also be used
to do HTTP requests asynchronously but there is no API
for that yet as there is no current need for that in the
TYPO3 Core.

GeneralUtility::getUrl() now uses Guzzle under the hood,
thus adding headers like the TYPO3 User Agent by default.

A lot of existing TYPO3_CONF_VARS options are now
removed or merged into Guzzle compliant options which
are independant of the implementation (cURL, stream
wrappers, fopen etc).

Resolves: #70056
Releases: master
Change-Id: Ibd14bba944b1590bae1b12c10f26365f20576475
Reviewed-on: https://review.typo3.org/43508
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
3 years ago[!!!][TASK] Remove entryPointPath from main applications 78/47378/8
Benni Mack [Tue, 29 Mar 2016 13:27:45 +0000 (15:27 +0200)]
[!!!][TASK] Remove entryPointPath from main applications

The entry point path is only used to calculate the number
of levels nested under the PATH_site so the PATH_site
constant can be calculated.

In order to be more flexible with paths, the hard-coded name
"typo3/" is removed and the calculation is based on the
number of subdirectories instead of naming the directories
which are irrelevant.

Resolves: #75323
Releases: master
Change-Id: Ibbad9ed803aaf588d540d19e0c7cd1bdce88d473
Reviewed-on: https://review.typo3.org/47378
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Prevent warning during extension installation 82/47382/2
Nicole Cordes [Thu, 24 Mar 2016 11:35:26 +0000 (12:35 +0100)]
[BUGFIX] Prevent warning during extension installation

Currently a warning is triggered if you try to install an extension
which has dependencies as the JsonView uses some own implementation to
convert objects into json with using Reflections. This patch adds some
view configuration to exclude a getter function which needs an argument
to prevent the warning.

Resolves: #75256
Releases: master
Change-Id: Ic63513d36f98f37ae0ab344349d7a85010e5aada
Reviewed-on: https://review.typo3.org/47382
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Hide defaultLanguageRow for type "flex" 81/45181/3
Marc Neuhaus [Tue, 8 Dec 2015 10:34:10 +0000 (11:34 +0100)]
[BUGFIX] Hide defaultLanguageRow for type "flex"

Resolves: #72101
Releases: master
Change-Id: I35af5bdcf682edadf12052e3de95ccce9a522687
Reviewed-on: https://review.typo3.org/45181
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Clean up GeneralUtility::callUserFunction() 65/47465/2
Benni Mack [Thu, 31 Mar 2016 16:02:23 +0000 (18:02 +0200)]
[TASK] Clean up GeneralUtility::callUserFunction()

The callUserFunction() method is called in various places
with wrong arguments (parameter 4 and 5).

The patch streamlines the calls.

Resolves: #75339
Releases: master
Change-Id: I05896369fa0cbf3bf5da95dd99b919e671ca06a6
Reviewed-on: https://review.typo3.org/47465
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
3 years ago[TASK] Respect ssl_verify_peer and ssl_verify_host in curl requests 34/47234/2
Daniel Maier [Sun, 13 Mar 2016 18:06:25 +0000 (19:06 +0100)]
[TASK] Respect ssl_verify_peer and ssl_verify_host in curl requests

Make GeneralUtility::getUrl aware of the settings ssl_verify_peer, ssl_verify_host,
ssl_cafile and ssl_capath from DefaultConfiguration.

This ensures that curl requests to https addresses (e.g. TER mirror url) are handled
correctly when tunneled through proxies, considering the specific configuration set
in the install tool.

Resolves: #75038
Releases: master, 7.6
Change-Id: I8f527d5d1b9609bcf3f0853153a2f53367492f24
Reviewed-on: https://review.typo3.org/47234
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FEATURE] Allow multiple locales for config.locale_all 58/47458/3
Benni Mack [Thu, 31 Mar 2016 11:16:26 +0000 (13:16 +0200)]
[FEATURE] Allow multiple locales for config.locale_all

The PHP function setlocale() allows to define multiple locales
as fallbacks when the first locale is not available in the system.

The TypoScript option config.locale_all now allows a
comma-separated list of locales which are thrown
into setlocale() as additional parameters to use fallback options.

Resolves: #39597
Releases: master
Change-Id: Ia09564f0fdf82120254598d6d55e9d2d35d8c5f1
Reviewed-on: https://review.typo3.org/47458
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] Indexed Search: Improve labels in backend module 51/47451/4
Tymoteusz Motylewski [Thu, 31 Mar 2016 07:35:00 +0000 (09:35 +0200)]
[TASK] Indexed Search: Improve labels in backend module

Translate one hardcoded label, improve few others.

Resolves: #75329
Releases: master, 7.6
Change-Id: I027ac51d004fe28e51e1cb6d6ae5296a75da9f36
Reviewed-on: https://review.typo3.org/47451
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[FOLLOWUP] Use symfony console for reference index update 62/47462/5
Andreas Fernandez [Thu, 31 Mar 2016 14:47:31 +0000 (16:47 +0200)]
[FOLLOWUP] Use symfony console for reference index update

Resolves: #75324
Releases: master
Change-Id: I4170e8fd649ef6b50c015ae3a4484d8edebcc3d7
Reviewed-on: https://review.typo3.org/47462
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][TASK] Use symfony console for reference index update 85/46685/7
Wouter Wolters [Mon, 15 Feb 2016 21:24:23 +0000 (22:24 +0100)]
[!!!][TASK] Use symfony console for reference index update

The reference index is migrated to be called as a symfony console command, using the
CLI binary via typo3/sysext/core/bin/typo3 referenceindex:update.

The "old" way with the CLI Key is removed.

Resolves: #75324
Releases: master
Change-Id: I9f40c78a1a1ba66fc72f962fe46f906fa1f54c0f
Reviewed-on: https://review.typo3.org/46685
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
3 years ago[BUGFIX] Preserve parameters for email links in RTE 47/47447/2
Markus Klein [Wed, 30 Mar 2016 23:55:39 +0000 (01:55 +0200)]
[BUGFIX] Preserve parameters for email links in RTE

Resolves: #75326
Releases: master, 7.6
Change-Id: Ia856ef5c2eb90cad5ea925507e52a1ec60a03c95
Reviewed-on: https://review.typo3.org/47447
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] config.locale_all should format floating point values 55/47455/3
Xavier Perseguers [Thu, 31 Mar 2016 09:20:08 +0000 (11:20 +0200)]
[BUGFIX] config.locale_all should format floating point values

The bug with LC_NUMERIC existed in PHP 4.2.3 but is fixed since at least
PHP 5.1.6. The patch uses LC_ALL now.

Change-Id: I08c1600b05ad858d67d2a2e23fd3c0332000527d
Releases: master, 7.6
Resolves: #75141
Reviewed-on: https://review.typo3.org/47455
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Only show inline field if allowed 99/46499/8
Stefan Froemken [Fri, 5 Feb 2016 13:47:31 +0000 (14:47 +0100)]
[BUGFIX] Only show inline field if allowed

If an editor does not have access to fields of a related
record, the rendering should be stopped right then.

Resolves: #73146
Releases: master,7.6
Change-Id: I720c872a8a21d62a6aa48b6d11735f69310b5f6e
Reviewed-on: https://review.typo3.org/46499
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Add appveyor configuration 50/47450/3
Susanne Moog [Thu, 31 Mar 2016 07:20:20 +0000 (09:20 +0200)]
[TASK] Add appveyor configuration

Appveyor is a CI server running on windows. Similar to the travis
configuration a yaml based configuration is needed.

Change-Id: Ia4572dad2ee434fb0756721a0b6052897f4f6aaa
Resolves: #75328
Releases: master
Reviewed-on: https://review.typo3.org/47450
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] target to page object must set type parameter 76/47376/2
Jigal van Hemert [Wed, 23 Mar 2016 21:30:57 +0000 (22:30 +0100)]
[BUGFIX] target to page object must set type parameter

Setting typolink.target to the name of a page object must set the
type query parameter to the typeNum of that page object. By initializing
$theTypeP to an empty string the type is not forced to zero.

Resolves: #75245
Releases: master, 7.6
Change-Id: I3aac0e43849f495f00344a07a358c5526bdf339c
Reviewed-on: https://review.typo3.org/47376
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
3 years ago[TASK] Increase test coverage of DatabaseConnection classes 93/47393/4
Morton Jonuschat [Fri, 25 Mar 2016 20:07:03 +0000 (21:07 +0100)]
[TASK] Increase test coverage of DatabaseConnection classes

Increase the test coverage of the DatabaseConnection class by adding
unit and functional tests for core methods.

Reformat the tests to use short array notation and fix PSR-2 warnings.

Resolves: #60081
Releases: master
Change-Id: Id839c88de75eb4174b3f0cd95d3954b9631fc23d
Reviewed-on: https://review.typo3.org/47393
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] PageTree cannot select/expand hidden nodes 55/32155/11
Oliver Hader [Sun, 20 Jul 2014 11:56:35 +0000 (13:56 +0200)]
[BUGFIX] PageTree cannot select/expand hidden nodes

TYPO3.Backend.NavigationContainer.PageTree.select(64) does not
select the correct page, but tries to determine the correct node
levels, fakes the local node states and reloads the page tree.
One thing that might not be considered there is the fact that
pages are represented in hex-values with a leading "p", thus
the integer "64" will be converted to "p40" as node id.

To overcome this scenario and enable custom handling there,
a new generic method is introduced:
TYPO3.Backend.NavigationContainer.PageTree
.invokePageId(pageId, callback, allResults);

The methods "selectPageId" and "expandPageId" show how this
is actually used.

Resolves: #60405
Releases: master, 7.6
Change-Id: If24b1a0ec261e9bcf00d214bf10c4b4a0aa5bed5
Reviewed-on: https://review.typo3.org/32155
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[TASK] Simplify test bootstrap 36/47436/2
Christian Kuhn [Wed, 30 Mar 2016 17:40:09 +0000 (19:40 +0200)]
[TASK] Simplify test bootstrap

If moving the CLI test for unit and functionals to the Basetest
class, the patch from issue #75321 can be simplified a bit since
we are sure all test suites are executed in CLI only so no
HTTP headers need to be sent.

Change-Id: Ic11abeae72c86d6c6c0e879d4e07eee6bc55ffab
Resolves: #75321
Related: #75280
Releases: master
Reviewed-on: https://review.typo3.org/47436
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Allow passing null for $methods in getAccessibleMock 26/47426/4
Oliver Klee [Wed, 30 Mar 2016 13:52:55 +0000 (15:52 +0200)]
[BUGFIX] Allow passing null for $methods in getAccessibleMock

The method getMock() in the parent class also allows null for
$methods, meaning "mock no methods".

Releases: master, 7.6
Resolves: #75316
Change-Id: I7e14d4bc4082b41ed52ab967df87876a3755a105
Reviewed-on: https://review.typo3.org/47426
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FOLLOWUP][BUGFIX] Treat numbers for comparison in FormEngineValidation as integer 25/47425/2
Andreas Fernandez [Wed, 30 Mar 2016 13:24:19 +0000 (15:24 +0200)]
[FOLLOWUP][BUGFIX] Treat numbers for comparison in FormEngineValidation as integer

Resolves: #75307
Releases: master
Change-Id: If2d2d9a25549bbcd5afc70ad50b14ca358336680
Reviewed-on: https://review.typo3.org/47425
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Stay on edited page after using "Save & Close" 70/47370/4
Martin Vennemann [Tue, 22 Mar 2016 13:54:05 +0000 (14:54 +0100)]
[BUGFIX] Stay on edited page after using "Save & Close"

"Save & Close" after editing a page now uses that edited
page (already highlighted in page tree) for returnUrl.

Resolves: #74180
Releases: master, 7.6
Change-Id: Icf2769263b2d428b86f339778f12b40759d94c13
Reviewed-on: https://review.typo3.org/47370
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] Treat numbers for comparison in FormEngineValidation as integer 18/47418/4
Andreas Fernandez [Wed, 30 Mar 2016 09:15:44 +0000 (11:15 +0200)]
[BUGFIX] Treat numbers for comparison in FormEngineValidation as integer

This patch fixes the issue that the number-based rules are treated
as strings. The numbers are converted to integers now.

Also, the ``range`` is changed: Instead of defining any fallback
values if either ``lower`` or ``upper`` are not set, the value is now
only compared against those limits when they exist.

Resolves: #75307
Releases: master, 7.6
Change-Id: Iab321a7637e2ccc8c662355ccef1e25bc0b78be7
Reviewed-on: https://review.typo3.org/47418
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Fail with exit code for fatal errors during boot 95/47395/3
Helmut Hummel [Sun, 27 Mar 2016 19:38:37 +0000 (21:38 +0200)]
[BUGFIX] Fail with exit code for fatal errors during boot

Especially for CI environments it is crucial that TYPO3
does not exit cleanly when a fatal error occurs.

Change from die (which exits with return code 0) to exit(1)
and send a http error code as well (in web requests)

Releases: master, 7.6
Resolves: #75280
Change-Id: I473de98366a5ea3629d968e2c1600f241b9e73a1
Reviewed-on: https://review.typo3.org/47395
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] ResourceStorage->addFile() should not delete orig file if requested 83/47383/5
Christian Kuhn [Thu, 24 Mar 2016 11:32:58 +0000 (12:32 +0100)]
[TASK] ResourceStorage->addFile() should not delete orig file if requested

FALs ResourceStorage->addFile() is the main method to populate a locale
file into a FAL storage. Internally, the method calls the assigned and
protected driver of this storage and calls addFile() on the
driver after checking permissions.
The method *always* deletes the local original file after it has been
added to the storage. This is funny, since addFile() should then call
moveFile(), but moveFile() exists and is only thought to move
files between storages and not from non-storage to storage.
The drivers addFile() however already contains an argument that
suppresses the deletion of the original file, but that argument is
not added to addFile() of the storage ...
The patch now adds this argument to the method signature of
ResourceStorage addFile() to mitigate the issue in a fully
backwards compatible way.
Since the patch is non-destructive and low-risk, the
patch is requested for 7.6, too.

Change-Id: I201c7eac10f7d35db5bdff889b3561ad5b1dce8b
Resolves: #70012
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47383
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][BUGFIX] Make indexed search plugin PHP7 compatible 49/47349/7
Tymoteusz Motylewski [Mon, 21 Mar 2016 20:51:58 +0000 (21:51 +0100)]
[!!!][BUGFIX] Make indexed search plugin PHP7 compatible

Rename SearchFormController::pi_list_browseresults as it had different
signature than defined in parent AbstractPlugin and there is no
non breaking way to make it PHP7 compatible.

Resolves: #72931
Releases: 7.6, master
Change-Id: I3dc36386a3866b5ca87d48d2869c21b9a37fbfe3
Reviewed-on: https://review.typo3.org/47349
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Allow languages with more than 2 chars for BE users 13/47413/4
Morton Jonuschat [Wed, 30 Mar 2016 07:27:00 +0000 (09:27 +0200)]
[BUGFIX] Allow languages with more than 2 chars for BE users

Allow up to 6 characters for the lang column in the be_users table to
support languages like Brazilian (pt_BR) or French/Canada (fr_CA).

Releases: master
Resolves: #75296
Change-Id: I713da662c0c14c1efd6611e180d6e4f62a70933d
Reviewed-on: https://review.typo3.org/47413
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Show language flags in page module again 94/47394/7
Gianluigi Martino [Sun, 27 Mar 2016 22:29:27 +0000 (00:29 +0200)]
[BUGFIX] Show language flags in page module again

Additionally this patch moves the initialization of TSconfig to an
earlier execution point to have all needed data collected.

Change-Id: I57ab201bae6ffc8acca3ddcc536b3efd09434054
Resolves: #75129
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47394
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
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>
3 years ago[BUGFIX] Use proper quotation in phpdoc of ExtensionManagementUtility::addService() 96/47396/2
Andreas Fernandez [Mon, 28 Mar 2016 16:02:16 +0000 (18:02 +0200)]
[BUGFIX] Use proper quotation in phpdoc of ExtensionManagementUtility::addService()

The patch fixes the quotation in the description of the parameters
``$serviceType`` and ``$serviceKey``.
This ensures a correct rendering by Doxygen.

Resolves: #75283
Releases: master, 7.6, 6.2
Change-Id: Ic7d91c1c108465b50f7637667ff6f3a8b451eb26
Reviewed-on: https://review.typo3.org/47396
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] Use file_get_contents instead of getUrl() 09/47309/5
Benni Mack [Fri, 18 Mar 2016 07:53:32 +0000 (08:53 +0100)]
[TASK] Use file_get_contents instead of getUrl()

The method GeneralUtility::getUrl() is used a lot in the
core where only local files are allowed.

Most occurrences can be replaced by using the native
file_get_contents() PHP function.

file_get_contents() is now always used when

* is_file() is called
* only local paths (e.g. prefixed with PATH_site)
* absolute paths (GeneralUtility::getFileAbsFileName)
* ensured that files within extensions

are checked before. In these cases getUrl() MUST NOT BE
USED but built-in file_get_contents() must be used instead.

Resolves: #75178
Releases: master
Change-Id: Ia88879d8fa44fd88e604b3332c1a710c33e5d3ec
Reviewed-on: https://review.typo3.org/47309
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Missing labels in User Settings 92/47392/2
Frank Naegler [Fri, 25 Mar 2016 11:10:22 +0000 (12:10 +0100)]
[BUGFIX] Missing labels in User Settings

This patch fix missing labels in user settings module.
This patch is a followup / bugfix for #72340

Resolves: #75269
Related: #72340
Releases: master
Change-Id: I30fe1e10e60575c4216c85486639b84088128af3
Reviewed-on: https://review.typo3.org/47392
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[BUGFIX] Remove objectManager reference from setNewEncryptionKeyAndLogOut 89/47389/4
Wouter Wolters [Thu, 24 Mar 2016 19:54:25 +0000 (20:54 +0100)]
[BUGFIX] Remove objectManager reference from setNewEncryptionKeyAndLogOut

A leftover call to undefined objectManager is replaced now.

Resolves: #75263
Releases: master
Change-Id: I8d796488296df55391854dbb242696dea60622b0
Reviewed-on: https://review.typo3.org/47389
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>
3 years ago[TASK] Remove not needed dependencies in ext:documentation 73/47373/2
Wouter Wolters [Wed, 23 Mar 2016 18:22:47 +0000 (19:22 +0100)]
[TASK] Remove not needed dependencies in ext:documentation

Extbase and fluid are loaded by default in the core since a while.

Resolves: #75243
Releases: master
Change-Id: Id0316df6c0ddf5d54309e6900f598053b0a20327
Reviewed-on: https://review.typo3.org/47373
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>
3 years ago[TASK] Upgrade to phpunit 5.2 88/47388/4
Christian Kuhn [Thu, 24 Mar 2016 16:27:13 +0000 (17:27 +0100)]
[TASK] Upgrade to phpunit 5.2

With minimum php7 and after codeception released a patch level
that introduced phpunit 5.x support, we can upgrade our phpunit
dev dependency to 5.2 along with a patch level upgrade of vfsStream.

This phpunit version is a bit more strict, some unclean tests
stumble and need fixes:

* $this->setExpectedException() needs a string as second argument,
all places with $this->anything() or $this->any() to ignore the
actual exception string are now substituted with empty string, the
tests rely on the timestamp to specify a specific exception.

* $aMock->expects()->method('aMethod') now throws exceptions if a
method name is specified that is either not mocked in $this->getMock()
or that does not exist in the mocked class. This was previously
ignored. This change now catches a lot of code smell in our tests :)

Change-Id: I546f8f4b3e05b3d643f4ee6be8e1d4c6e23fe083
Resolves: #75264
Releases: master
Reviewed-on: https://review.typo3.org/47388
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>
3 years ago[BUGFIX] Add reference count to delete message 29/47329/6
Gianluigi Martino [Sat, 19 Mar 2016 06:49:56 +0000 (07:49 +0100)]
[BUGFIX] Add reference count to delete message

If you delete a file or folder by using the clickmenu, a confirmation
message without reference count is shown. To streamline the confirmation
message with the one from FileList, the reference count is added with
this patch.

Resolves: #75156
Releases: master, 7.6, 6.2
Change-Id: I84fe8c853199cdb4e0ff422cdb5fc327e4bdc683
Reviewed-on: https://review.typo3.org/47329
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] Upgrade various dependencies 80/47380/3
Christian Kuhn [Thu, 24 Mar 2016 10:55:39 +0000 (11:55 +0100)]
[TASK] Upgrade various dependencies

Several symfony component patch level updates, guzzle
minor and a codeception patch level.

Change-Id: Ia3cc795c71d13a005d123fc3f75589813f27bcae
Resolves: #75253
Releases: master
Reviewed-on: https://review.typo3.org/47380
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] FormEngine: Exception on inline/section in flex container 69/47369/4
Christian Kuhn [Wed, 23 Mar 2016 15:18:41 +0000 (16:18 +0100)]
[BUGFIX] FormEngine: Exception on inline/section in flex container

Nesting flex form sections or inline within section containers is
not supported. To not let developers run into hard to track issues
the patch adds an exception to detect these cases.

Additionally, GroupElement contains a preparation that is done by
TcaGroup data provider already, so this part is cleaned up along
the way since this is unreachable code if FormEngine is used without
nested sections.

Change-Id: I2af9140ad0fe1d60d85439bd5598775904b70e52
Resolves: #73125
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47369
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Codeception Add page test 47/47147/2
Roland Golla [Mon, 7 Mar 2016 15:26:01 +0000 (16:26 +0100)]
[TASK] Codeception Add page test

This test add a page with the page module and the pagetree.
It also checks the error message when you have no page title.
After adding the page the test use the pagetree contect menu to delete it.

Resolves: #74432
Releases: master
Change-Id: If40b64fd01f8d308484ff95f14c394c65ffe39f8
Reviewed-on: https://review.typo3.org/47147
Reviewed-by: Timo Schmidt <timo-schmidt@gmx.net>
Tested-by: Timo Schmidt <timo-schmidt@gmx.net>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Cleanup Clear Cache Menu commands 77/47377/2
Benni Mack [Thu, 24 Mar 2016 06:14:49 +0000 (07:14 +0100)]
[TASK] Cleanup Clear Cache Menu commands

The Clear Cache Menu on top of the TYPO3 Backend contains
the URLs to call tce_db which has an additional GET
parameter called "ajaxCall" which is not evaluated anymore
and can be removed.

Further cleanup could use the ajax action to fetch additional
data and evalute that data.

Resolves: #75246
Releases: master
Change-Id: I9b5f5816c5d3ac9d72cf0b382b5646e7631d0afe
Reviewed-on: https://review.typo3.org/47377
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Use `modTSconfig` for default language label, if set 71/47371/2
Andreas Fernandez [Wed, 23 Mar 2016 18:06:28 +0000 (19:06 +0100)]
[BUGFIX] Use `modTSconfig` for default language label, if set

Due to a wrong assignment, modSharedTSconfig is always used
to set the default language label in PageLayoutController, even if
modTSconfig is set.

modTSconfig is now used if possible.

Resolves: #75242
Releases: master, 7.6, 6.2
Change-Id: I517c03f02ffc8d05ed74a865517ee775e1542bfe
Reviewed-on: https://review.typo3.org/47371
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Update: Cropper v0.9.3 -> v2.3.0 79/47079/3
Wouter Wolters [Fri, 4 Mar 2016 19:08:58 +0000 (20:08 +0100)]
[TASK] Update: Cropper v0.9.3 -> v2.3.0

Copied the less files from the 0.9.3 release because
they stepped over to sass.

Resolves: #73747
Releases: master
Change-Id: Icdc68b7114c149adfebaf673bbd52721768e5d0f
Reviewed-on: https://review.typo3.org/47079
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Use DocHeader buttons in PermissionController 86/47186/4
Andreas Fernandez [Fri, 11 Mar 2016 08:45:54 +0000 (09:45 +0100)]
[TASK] Use DocHeader buttons in PermissionController

The save / abort buttons in the edit view of the permission controller are
replaced by DocHeader buttons to ensure are more consistent UI.

Change-Id: Ic035f2bd1f5063a8d0b52310b1f011078f7e6c25
Resolves: #68378
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47186
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Break word without spaces in SystemInformation toolbar item 63/47363/2
Wouter Wolters [Tue, 22 Mar 2016 21:38:13 +0000 (22:38 +0100)]
[BUGFIX] Break word without spaces in SystemInformation toolbar item

When dealing with a PHP version like "7.0.4-6+deb.sury.org~trusty+5"
the text overflow the box. Put a word-wrap: break-word; on the dd-tag.

Resolves: #75234
Releases: master,7.6
Change-Id: I0df5f13bfd2d66e8c85eb28f06c248bdca93a182
Reviewed-on: https://review.typo3.org/47363
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] BackendUtility::dateTimeAge must return correct values 64/47364/5
Georg Ringer [Wed, 23 Mar 2016 05:08:56 +0000 (06:08 +0100)]
[BUGFIX] BackendUtility::dateTimeAge must return correct values

If the 3rd parameter is set to 'date', the age must be returned as
date without any time information.

Resolves: #75235
Releases: master, 7.6
Change-Id: I7ebf76dc635f7dbca42c6486c585eb140832e6c4
Reviewed-on: https://review.typo3.org/47364
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] Update TYPO3 version to TYPO3 8.1-dev 60/47360/2
Wouter Wolters [Tue, 22 Mar 2016 18:31:16 +0000 (19:31 +0100)]
[TASK] Update TYPO3 version to TYPO3 8.1-dev

Resolves: #75230
Releases: master
Change-Id: I44c34a7ddb804a28031395b7e100b33d43e12a76
Reviewed-on: https://review.typo3.org/47360
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Set TYPO3 version to 8.0.1-dev 56/47356/2
TYPO3 Release Team [Tue, 22 Mar 2016 13:40:00 +0000 (14:40 +0100)]
[TASK] Set TYPO3 version to 8.0.1-dev

Change-Id: I4c64fce65a1f81c2037a374ff036183335f1cf96
Reviewed-on: https://review.typo3.org/47356
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
3 years ago[RELEASE] Release of TYPO3 8.0.0 55/47355/2 8.0.0 TYPO3_8-0-0
TYPO3 Release Team [Tue, 22 Mar 2016 13:39:13 +0000 (14:39 +0100)]
[RELEASE] Release of TYPO3 8.0.0

Change-Id: Idcbacb7c6d5e08cc6a0dbf64fecebe93e02e633c
Reviewed-on: https://review.typo3.org/47355
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
3 years ago[BUGFIX] Re-allow t3d export from ID 0 47/47347/4
Benni Mack [Mon, 21 Mar 2016 19:24:01 +0000 (20:24 +0100)]
[BUGFIX] Re-allow t3d export from ID 0

During the refactoring of the impexp module a check for the
page ID was introduced to show the pagetree and additional
fields only if a page ID was given, which disallows to export
records on ID 0.

Additionally, a minor JavaScript bug which popped up then
is fixed as well.

Resolves: #75183
Releases: master, 7.6
Change-Id: I0adbd933ecc5da938b511d531178ac707cb035c3
Reviewed-on: https://review.typo3.org/47347
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[DOCS] 8.0 Part 7/5 - Add TOC for 8.0 docs 52/47352/3
Mathias Schreiber [Tue, 22 Mar 2016 09:08:08 +0000 (10:08 +0100)]
[DOCS] 8.0 Part 7/5 - Add TOC for 8.0 docs

In order to make navigating the docs possible, we added the TOCs

Resolves: #
Releases: master
Change-Id: I91e03693743e299a20d5a0f580e927c99143647f
Reviewed-on: https://review.typo3.org/47352
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[FOLLOWUP][BUGFIX] Extension Manager: Use JsonView directly 51/47351/3
Oliver Hader [Mon, 21 Mar 2016 23:47:26 +0000 (00:47 +0100)]
[FOLLOWUP][BUGFIX] Extension Manager: Use JsonView directly

Adjust unit tests concerning changed internal class dependencies.

Resolves: #75214
Releases: master
Change-Id: I3bbb261300370f1d0cafb62bd8f79379c3ef8909
Reviewed-on: https://review.typo3.org/47351
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[BUGFIX] Extension Manager: Use JsonView directly 43/47343/5
Benni Mack [Mon, 21 Mar 2016 17:38:58 +0000 (18:38 +0100)]
[BUGFIX] Extension Manager: Use JsonView directly

There are several problems due to the implementation of JsonView
that returns spaces around a JSON returned to the extension manager
that will update the latest extensions.

Resolves: #75214
Releases: master
Change-Id: Iee837da392f62cd1df72c03dca0a03bb763c5790
Reviewed-on: https://review.typo3.org/47343
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[BUGFIX] Set correct record information for SaveAndNew 53/47153/6
Nicole Cordes [Mon, 7 Mar 2016 20:02:43 +0000 (21:02 +0100)]
[BUGFIX] Set correct record information for SaveAndNew

This patch ensures the correct record information for saving and
inserting a new record even in a workspace.

Resolves: #70542
Releases: master, 7.6
Change-Id: I3b88b08a55600f8c7bc5e2c2f05444624181db83
Reviewed-on: https://review.typo3.org/47153
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Update Fluid library to version 1.0.6 79/47279/3
Claus Due [Tue, 15 Mar 2016 15:08:56 +0000 (16:08 +0100)]
[TASK] Update Fluid library to version 1.0.6

Fixes the following issues:

* https://github.com/TYPO3Fluid/Fluid/pull/76
  BUG Possibly NULL value in SpacelessViewHelper
* https://github.com/TYPO3Fluid/Fluid/pull/80
  PERFORMANCE Internal cache of resolved ViewHelpers
* https://github.com/TYPO3Fluid/Fluid/pull/82
  BUG Key used in ForViewHelper defaults to NULL
* https://github.com/TYPO3Fluid/Fluid/pull/84
  BUG Improper array accessing
* https://github.com/TYPO3Fluid/Fluid/pull/85
  BUG/TASK Prefix to avoid reserving "sections" variable name
* https://github.com/TYPO3Fluid/Fluid/pull/72
  BUG Windows paths support in TemplatePaths
* https://github.com/TYPO3Fluid/Fluid/pull/87
  BUG Avoid invalid class name in compiled code when using non-file template sources
* https://github.com/TYPO3Fluid/Fluid/pull/77
  BUG Recursive section rendering accesses incorrect RenderingContext
  (see https://forge.typo3.org/issues/74393)
* https://github.com/TYPO3Fluid/Fluid/pull/94
  BUG Avoid double HTML encoding on chained view helpers
  (see https://forge.typo3.org/issues/75133)

Change-Id: I30062eb4a7fee1c2745a8067764f18d0753db88e
Releases: master
Resolves: #75135
Resolves: #74393
Reviewed-on: https://review.typo3.org/47279
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Show button 'add image' after delete inline fails 37/47337/2
Frank Naegler [Mon, 21 Mar 2016 10:29:59 +0000 (11:29 +0100)]
[BUGFIX] Show button 'add image' after delete inline fails

Fix handling of inline records in JavaScript. Prevent wrong count of elements
by adding a trimExplode function intead of usage native split function.

Resolves: #72379
Releases: master, 7.6
Change-Id: Id6cde49eb6179ddc3d5b0ef796a0a6883dfa747e
Reviewed-on: https://review.typo3.org/47337
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[DOCS] 8.0 Part 5/5 - Move Feature Docs 39/47339/2
Mathias Schreiber [Mon, 21 Mar 2016 12:05:39 +0000 (13:05 +0100)]
[DOCS] 8.0 Part 5/5 - Move Feature Docs

Moved Feature Docs because Github Docs have been updated

Resolves: #
Releases: master
Change-Id: I2dd09a81b14334f944b0adba4412864390940d98
Reviewed-on: https://review.typo3.org/47339
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Use APCu instead of APC for Caching 24/47024/6
Benni Mack [Thu, 3 Mar 2016 20:11:24 +0000 (21:11 +0100)]
[BUGFIX] Use APCu instead of APC for Caching

PHP 5.5 does not support APC anymore, but instead uses
APCu for everything that is in the userland.

Our code should be adapted to use APCu instead, since
TYPO3 CMS 7 LTS requires PHP 5.5+.

However, there are some edge cases where APCu is available
as APC, so the existing APC code is kept.

Resolves: #63291
Releases: master, 7.6
Change-Id: Ica6bac270b54e5a645d37679e5663479ef36f394
Reviewed-on: https://review.typo3.org/47024
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[DOCS] 8.0 Part 6/5 - Move Breaking Docs 38/47338/2
Mathias Schreiber [Mon, 21 Mar 2016 10:52:42 +0000 (11:52 +0100)]
[DOCS] 8.0 Part 6/5 - Move Breaking Docs

Moved breaking Docs because Github Docs have been updated

Resolves: #
Releases: master
Change-Id: I280c4081fd9b2d52e929f7e13aa961d2cb7ad8e3
Reviewed-on: https://review.typo3.org/47338
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Ensure correct order of @-rules in CSS 51/47251/5
Andreas Fernandez [Mon, 14 Mar 2016 13:39:51 +0000 (14:39 +0100)]
[BUGFIX] Ensure correct order of @-rules in CSS

The ResourceCompressor must ensure the correct order of
@-rules, which is:
1. charset
2. namespace
3. import

If the concatenated CSS contains multiple @charset rules, only
the first one is taken into account.

Change-Id: I8c912874d486eac16505884e68a04b0bba400611
Resolves: #55690
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47251
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] EXT:filelist Deleting a folder shows "Yes, delete this folder" 30/47330/2
Michael Oehlhof [Sat, 19 Mar 2016 10:08:29 +0000 (11:08 +0100)]
[BUGFIX] EXT:filelist Deleting a folder shows "Yes, delete this folder"

The text on the OK button was changed from "Yes, delete this file" to
"Yes, delete this folder" when a folder should be deleted.

Resolves: #75190
Releases: master
Change-Id: I9568865b8f8536e4bc9993e6ab8e607fb7b13eb7
Reviewed-on: https://review.typo3.org/47330
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[DOCS] 8.0 Part 1/5 - Breaking Docs v2 35/47335/4
Mathias Schreiber [Mon, 21 Mar 2016 08:57:53 +0000 (09:57 +0100)]
[DOCS] 8.0 Part 1/5 - Breaking Docs v2

Proofread breaking Docs - one got left behind

Resolves: #
Releases: master
Change-Id: If2181495ef7ecf3f0b2159482b40a7fb8d143147
Reviewed-on: https://review.typo3.org/47335
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[FOLLOWUP][FEATURE] Update signature for newly introduced hook 26/47326/3
Benni Mack [Fri, 18 Mar 2016 20:45:28 +0000 (21:45 +0100)]
[FOLLOWUP][FEATURE] Update signature for newly introduced hook

The new hook introduced for BackendUtility::viewOnClick()
added a parameter "backPath" which was never evaluated
and was there for legacy reasons. The option has no effect
and should not be part of the hook signature.

The followup patch removes the property again.

Resolves: #54887
Releases: master
Change-Id: I6d0fec5d7639c1de00d73a4dc1196fb65268f1ce
Reviewed-on: https://review.typo3.org/47326
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FOLLOWUP][DOCS] 8.0 Part 4/5 - Feature Docs 27/47327/2
Michael Oehlhof [Fri, 18 Mar 2016 20:58:44 +0000 (21:58 +0100)]
[FOLLOWUP][DOCS] 8.0 Part 4/5 - Feature Docs

Proofread breaking Docs

Resolves: #
Releases: master
Change-Id: Ia0803361711f84ffb0637e30651d5f3bfc1a9add
Reviewed-on: https://review.typo3.org/47327
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[DOCS] 8.0 Part 4/5 - Feature Docs 22/47322/2
Mathias Schreiber [Fri, 18 Mar 2016 14:23:00 +0000 (15:23 +0100)]
[DOCS] 8.0 Part 4/5 - Feature Docs

Proofread breaking Docs

Resolves: #
Releases: master
Change-Id: I1c86c278d466d47e4bc866443f9267f00d2973e3
Reviewed-on: https://review.typo3.org/47322
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[DOCS] 8.0 Part 3/5 - Important Docs 04/47304/3
Mathias Schreiber [Thu, 17 Mar 2016 13:36:14 +0000 (14:36 +0100)]
[DOCS] 8.0 Part 3/5 - Important Docs

Proofread Deprecation Docs

Resolves: #
Releases: master
Change-Id: I9ac836f1833f7957581e83353a902ef4bdecc1ee
Reviewed-on: https://review.typo3.org/47304
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[DOCS] 8.0 Part 2/5 - Deprecation Docs 03/47303/4
Mathias Schreiber [Thu, 17 Mar 2016 13:19:15 +0000 (14:19 +0100)]
[DOCS] 8.0 Part 2/5 - Deprecation Docs

Proofread Deprecation Docs

Resolves: #
Releases: master
Change-Id: I6fb335255f8117815aa4b717bf2eca9788502c21
Reviewed-on: https://review.typo3.org/47303
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[DOCS] 8.0 Part 1/5 - Breaking Docs 01/47301/4
Mathias Schreiber [Thu, 17 Mar 2016 12:06:43 +0000 (13:06 +0100)]
[DOCS] 8.0 Part 1/5 - Breaking Docs

Proofread breaking Docs

Resolves: #
Releases: master
Change-Id: I5cba29ffb42a33d2b5807f09d7e5c4ceceafff7d
Reviewed-on: https://review.typo3.org/47301
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Stop animation if click again 10/47310/2
Markus Sommer [Fri, 18 Mar 2016 07:54:34 +0000 (08:54 +0100)]
[TASK] Stop animation if click again

Stop the toggle animation an the module headline
first before a new animation is started

Resolves: #75179
Releases: master, 7.6
Change-Id: I1dc683ba7740a0a939d699e6d3c01b154583a00a
Reviewed-on: https://review.typo3.org/47310
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Remove competing injects from WidgetRequestHandler 63/47163/8
Alexander Jahn [Wed, 9 Mar 2016 11:12:38 +0000 (12:12 +0100)]
[BUGFIX] Remove competing injects from WidgetRequestHandler

Removing @injects introduced explicit injectFunctions
into WidgetRequestHandler.
These functions were named after the object they inject.
This resulted in two methods injecting different objects into the same
property and in the end the parent class' function reverted the local
implementation.

Change-Id: I345d04f150fe6413ffc67c159c43cdda7e979e7b
Resolves: #74536
Related: #73018
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47163
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>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Highlight changes of translation diff in FormEngine again 53/47253/8
Frank Naegler [Mon, 14 Mar 2016 15:33:10 +0000 (16:33 +0100)]
[BUGFIX] Highlight changes of translation diff in FormEngine again

The difference between translation changes of records are now
highlighted again in FormEngine.

Resolves: #73501
Releases: master, 7.6
Change-Id: I88f4a67c5392cf9ddca4410ddb07d57439a26b3a
Reviewed-on: https://review.typo3.org/47253
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[!!!][TASK] Remove TypoScript option includeJSlibs 97/47297/2
Benni Mack [Thu, 17 Mar 2016 06:16:48 +0000 (07:16 +0100)]
[!!!][TASK] Remove TypoScript option includeJSlibs

The deprecated property "includeJSlibs" is removed in favor
of the introduced property "includeJSLibs".

Resolves: #75150
Releases: master
Change-Id: I120a644a55cadb1bc345b3c9af0bb08dec470508
Reviewed-on: https://review.typo3.org/47297
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Enable URLs with spaces in the RTE 96/46896/4
Marco Huber [Thu, 25 Feb 2016 15:04:54 +0000 (16:04 +0100)]
[BUGFIX] Enable URLs with spaces in the RTE

To enable links with spaces and other special chars the service class to
build the correctly escaped <link> tag is used.

Resolves: #73675
Releases: master,7.6
Change-Id: I530cb7569372d2da12d0015e820b458c8299f435
Reviewed-on: https://review.typo3.org/46896
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Make preview of translated pages possible 63/47263/4
Heiko Hardt [Mon, 14 Mar 2016 21:45:30 +0000 (22:45 +0100)]
[BUGFIX] Make preview of translated pages possible

This fix solves the problem that hidden page translations not are not
reviewable if logged in and "Show hidden pages" in admin panel is
enabled.

Treat records of "pages_language_overlay" as pages to make use of
the showHiddenPage flag.

Resolves: #75116
Releases: master, 7.6
Change-Id: I083ee3a90230b6c97eb20def93c9e96bfe31c4cb
Reviewed-on: https://review.typo3.org/47263
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Ignore root level restriction on new record 90/47290/8
Benjamin Serfhos [Wed, 16 Mar 2016 14:16:05 +0000 (15:16 +0100)]
[BUGFIX] Ignore root level restriction on new record

When TCA [ctrl][security][ignoreRootLevelRestriction] is enabled, the
root level should be ignored on creation too.

Resolves: #75147
Releases: master,7.6
Change-Id: I55414696838a256d967d410cf523edc031ebe952
Reviewed-on: https://review.typo3.org/47290
Tested-by: Benjamin Serfhos <serfhos@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] FAL relations duplicated when saving in workspaces 33/44233/5
Andreas Wolf [Thu, 22 Oct 2015 17:40:11 +0000 (19:40 +0200)]
[BUGFIX] FAL relations duplicated when saving in workspaces

In a workspace, when a record is saved which contains an IRRE-managed
relation in a flexform field, the relation is duplicated. The reason is
that the workspace information is lost along the way when processing the
flexform content.

This commit introduces an additional method parameter to the relevant
flexform processing callbacks.

Additionally, this fixes an error in the Flexform XML fixture, which
(apparently) made the test go into an endless loop.

Work time for this patch was sponsored by Matthias Krappitz (aemka.de),
the time for developing the test was sponsored by me.

Releases: master, 7.6, 6.2
Resolves: #70962
Change-Id: If6d71cf966408fcf976365fc01e6a2529bf1902d
Reviewed-on: https://review.typo3.org/44233
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[TASK] Functional tests for LocalizationController 05/47305/6
Andreas Fernandez [Thu, 17 Mar 2016 14:21:15 +0000 (15:21 +0100)]
[TASK] Functional tests for LocalizationController

The LocalizationController used by the localization wizard is
now covered by some functional tests.
For better testability, the DataHandler processing in the
controller is moved into its own method.

Resolves: #75160
Related: #73617
Releases: master, 7.6
Change-Id: I3275f51d3dfec55ace3d8dbe7130c3f18b963341
Reviewed-on: https://review.typo3.org/47305
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
3 years ago[BUGFIX] Set page title for record list 73/46273/3
Christian Weiske [Thu, 28 Jan 2016 10:39:13 +0000 (11:39 +0100)]
[BUGFIX] Set page title for record list

Resolves: #72981
Releases: master, 7.6

Change-Id: I75deb2dd8808c0dccfe30b90b2459937b40dbd7c
Reviewed-on: https://review.typo3.org/46273
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Ensure correct sorting when using the localization wizard 64/47264/7
Andreas Fernandez [Tue, 15 Mar 2016 08:08:04 +0000 (09:08 +0100)]
[BUGFIX] Ensure correct sorting when using the localization wizard

Change-Id: I920cab82f1e9304be6c718b33c1a8ce13c745e17
Resolves: #73617
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47264
Tested-by: Armin Ruediger Vieweg <armin@v.ieweg.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Ruud Silvrants <ruudsilvrants@gmail.com>
Tested-by: Ruud Silvrants <ruudsilvrants@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] EXT:form - optimize layout of inline form wizard 93/47093/13
Thorsten Griebenow [Sat, 5 Mar 2016 12:23:24 +0000 (13:23 +0100)]
[TASK] EXT:form - optimize layout of inline form wizard

Resolves: #74317
Releases: master
Change-Id: Iacbe2358fa9d62da6c2f7604c70a438e55fca0e1
Reviewed-on: https://review.typo3.org/47093
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
3 years ago[BUGFIX] EXT:form - Cannot set some f:form arguments via TS 15/47015/5
Ralf Zimmermann [Thu, 3 Mar 2016 17:19:04 +0000 (18:19 +0100)]
[BUGFIX] EXT:form - Cannot set some f:form arguments via TS

Render array viewhelper attributes as array.

Resolves: #74014
Releases: master, 7.6
Change-Id: I2abcea032a6d58c610b57a9b07d0380567473eeb
Reviewed-on: https://review.typo3.org/47015
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Ruud Silvrants <ruudsilvrants@gmail.com>
Tested-by: Ruud Silvrants <ruudsilvrants@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
3 years ago[BUGFIX] Correctly determine previously used language in localization wizard 65/47265/7
Andreas Fernandez [Tue, 15 Mar 2016 10:56:12 +0000 (11:56 +0100)]
[BUGFIX] Correctly determine previously used language in localization wizard

If a column in a certain language has already content, the origin
language of that content is used now for further translation processes.

Change-Id: Ib6e1206adc6ccfd5b1e4816b9eb6562f8fc0e0ef
Resolves: #75126
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47265
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Avoid duplicated code in parse_typoscript/tokenizetyposcript.js 07/45407/8
Alexander Opitz [Tue, 22 Dec 2015 13:47:22 +0000 (14:47 +0100)]
[BUGFIX] Avoid duplicated code in parse_typoscript/tokenizetyposcript.js

The doubled wordlists got merged|sorted|uniqed. The JS source is
taken from the lower, as it got a fix lately and should also be
the one which runs inside browsers.

Resolves: #66526
Releases: master
Change-Id: I50a420e0dddfa01ab17e8cd2217abd3e9d902a91
Reviewed-on: https://review.typo3.org/45407
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Add missing parameters to getFiles 91/47291/4
Susanne Moog [Wed, 16 Mar 2016 14:07:50 +0000 (15:07 +0100)]
[BUGFIX] Add missing parameters to getFiles

InaccessibleFolder extends Folder and the definition of its methods
should therefor be compatible to each other.

Resolves: #73712
Releases: master, 7.6

Change-Id: I3798841a7349ac7b615238328c26d540cf938d34
Reviewed-on: https://review.typo3.org/47291
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Correct output of "Rollback-Preview" 86/47286/4
Gianluigi Martino [Tue, 15 Mar 2016 21:42:09 +0000 (22:42 +0100)]
[BUGFIX] Correct output of "Rollback-Preview"

Output in "Rollback-Preview" is wrong.
Preview text float over the "Rollback single field" button.

Change-Id: I49c236b15bb62129b5c3a4c5741d0572676e00f1
Resolves: #75137
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47286
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Default setting for imageorient does not work 66/47266/4
Frank Naegler [Tue, 15 Mar 2016 11:27:28 +0000 (12:27 +0100)]
[BUGFIX] Default setting for imageorient does not work

Resolves: #16676
Releases: master
Change-Id: I6fbffda27b4eb39bfb69496cab33a06b1b09b485
Reviewed-on: https://review.typo3.org/47266
Reviewed-by: Dmitry Dulepov <dmitry.dulepov@gmail.com>
Tested-by: Dmitry Dulepov <dmitry.dulepov@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
3 years agoRevert "[TASK] Test commit and newline" 80/47280/2
Helmut Hummel [Tue, 15 Mar 2016 15:11:10 +0000 (16:11 +0100)]
Revert "[TASK] Test commit and newline"

This was a test commit only at a bootup day in Basel

Reverts: #75136

This reverts commit 0fbcf620076958a78bc71556148454ee5c89fa88.

Change-Id: I9e3a6ad521ea02d95f9ac0134c2cff349dbb21f7
Reviewed-on: https://review.typo3.org/47280
Reviewed-by: Manuel Bloch <bm@cabag.ch>
Tested-by: Manuel Bloch <bm@cabag.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: René Bigler <raziel@dunkelweiss.li>
Tested-by: René Bigler <raziel@dunkelweiss.li>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] Test commit and newline 74/47274/6
Marvin Dettinger [Tue, 15 Mar 2016 14:00:29 +0000 (15:00 +0100)]
[TASK] Test commit and newline

Releases: master
Resolves: #75136
Change-Id: I96a9a17077e3c22b5600585f8c45e10cdc986d45
Reviewed-on: https://review.typo3.org/47274
Reviewed-by: Manuel Bloch <bm@cabag.ch>
Tested-by: Manuel Bloch <bm@cabag.ch>
Reviewed-by: Christoph Kratz <ckr@rtp.ch>
Tested-by: Christoph Kratz <ckr@rtp.ch>
Reviewed-by: Wolf 123 <wolf.typo3@valencia.ch>
Tested-by: Wolf 123 <wolf.typo3@valencia.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Add reserved area for loading indicator within modules 99/45199/8
Michael Oehlhof [Wed, 9 Dec 2015 23:17:46 +0000 (00:17 +0100)]
[BUGFIX] Add reserved area for loading indicator within modules

The DocHeader has now a reserved area for the nprogress loading
indicator for use within modules. The area has a fixed position to
ensure visibility in every case.

The code of the Recycler and Extension manager have been adjusted
to use that element for the progress bar.

Resolves: #71509
Releases: master, 7.6
Change-Id: I07cacf61a1634357d4da0fe292ea22ba34a6100e
Reviewed-on: https://review.typo3.org/45199
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Don't redirect when you click on "save and view" 95/47195/2
Marco Huber [Fri, 11 Mar 2016 14:24:53 +0000 (15:24 +0100)]
[BUGFIX] Don't redirect when you click on "save and view"

Some more page types which should be opened directly and not
redirect to the rootpage if you click on "Save and view".

Resolves: #75020
Related: #66370
Releases: master, 7.6
Change-Id: I278a917c69565e8fe1e175901df01c4cccf9ef98
Reviewed-on: https://review.typo3.org/47195
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Prevent XSS in ViewHelpers 93/47193/5
Nicole Cordes [Fri, 11 Mar 2016 10:17:33 +0000 (11:17 +0100)]
[BUGFIX] Prevent XSS in ViewHelpers

This patch removes wrongly introduced missing escaping in ViewHelpers
and adds some documentation about escaping settings.

Resolves: #75016
Releases: master
Change-Id: If0dbd8a5f7506a78238e6245b1a6f568ec7b3e27
Reviewed-on: https://review.typo3.org/47193
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Suggest wizard in FlexForms for new records 23/47223/2
Nicole Cordes [Sat, 12 Mar 2016 11:47:04 +0000 (12:47 +0100)]
[BUGFIX] Suggest wizard in FlexForms for new records

Within new records the suggest wizard doesn't work in FlexForm fields.
Due to unexpected incoming data the field configuration can't be fetched.
This patch ensures sanitized data before fetching FlexForms field
configuration.

Resolves: #73864
Releases: master, 7.6
Change-Id: I7e9a72c2aa6d1efed943845aa2198ce153b75fb8
Reviewed-on: https://review.typo3.org/47223
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
3 years ago[BUGFIX] Fix invalid placeholder in exception message 32/47232/2
Markus Klein [Sun, 13 Mar 2016 16:23:36 +0000 (17:23 +0100)]
[BUGFIX] Fix invalid placeholder in exception message

The message of the ContentRenderingException must use %s
as correct placeholder.

Resolves: #75035
Releases: master, 7.6
Change-Id: Ie78997ead81fc308a4002cffca8dfa0a99b50ac2
Reviewed-on: https://review.typo3.org/47232
Reviewed-by: Dennis Römmich <dennis.roemmich@sunzinet.com>
Tested-by: Dennis Römmich <dennis.roemmich@sunzinet.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years agoRevert "[FEATURE] Info ViewHelpers for page and content information array" 09/47209/3
Nicole Cordes [Fri, 11 Mar 2016 19:37:23 +0000 (20:37 +0100)]
Revert "[FEATURE] Info ViewHelpers for page and content information array"

We do not need those ViewHelpers in the core and they don't work
properly as the getData-methods are never called and escaping is not
turned off.

This reverts commit ca0d46cb6b4bf64b53140db6f2aa70cf89310d65.

Reverts: #38942
Releases: master
Change-Id: Ief1ae8638c37feb822f836892e7444077c97bb83
Reviewed-on: https://review.typo3.org/47209
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
3 years ago[BUGFIX] Store rtehtmlarea_spellchecker in correct route configuration 04/47204/2
Andreas Fernandez [Fri, 11 Mar 2016 17:19:03 +0000 (18:19 +0100)]
[BUGFIX] Store rtehtmlarea_spellchecker in correct route configuration

The RTE route "rtehtmlarea_spellchecker" is an AJAX route, therefore it must
be stored in AjaxRoutes.php.

Change-Id: Ief55ef5e17a72187491d63915e29934e45d5a985
Resolves: #75024
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47204
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>
3 years ago[BUGFIX] Make SingleTasks toggleable from scheduler list view 73/46773/7
Andreas Fernandez [Fri, 19 Feb 2016 11:18:33 +0000 (12:18 +0100)]
[BUGFIX] Make SingleTasks toggleable from scheduler list view

The toggle button for tasks does not work for single tasks. This patch
enables the functionality and registers a single task for execution on
next scheduler run when enabled.

Additionally class constants are introduced for the two available types.

Change-Id: I91c7b24bf141ef6735b3fd38e2859d63634d507e
Resolves: #64708
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46773
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[TASK] Add unit tests for TYPO3SEARCH markers 75/47175/4
Tymoteusz Motylewski [Thu, 10 Mar 2016 13:44:22 +0000 (14:44 +0100)]
[TASK] Add unit tests for TYPO3SEARCH markers

Add two unit tests for Indexer, covering content extraction
from between TYPO3SEARCH_begin and TYPO3SEARCH_end markers.

Add note to documentation that it's possible to have multiple
TYPO3SEARCH marker pairs.

Resolves: #74815
Releases: master, 7.6, 6.2
Change-Id: I37c67dfc055dc30698831eef6d0231d929fef957
Reviewed-on: https://review.typo3.org/47175
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Initialize T3editor properly 80/46680/4
Andreas Fernandez [Mon, 15 Feb 2016 17:35:21 +0000 (18:35 +0100)]
[BUGFIX] Initialize T3editor properly

If a T3editor is instantiated on-the-fly, it is not initialized properly.
Add a callback to the ``Form/Element/T3editorElement`` class and mark
editor instances as initialized to prevent double initialization.

Change-Id: I8c6b692eb2c132180ed0d122b35515276df5acd9
Resolves: #73425
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46680
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>