Packages/TYPO3.CMS.git
2 years ago[BUGFIX] Catch exception in Upgrade Wizard 69/50469/5
Frank Naegler [Tue, 1 Nov 2016 10:09:46 +0000 (11:09 +0100)]
[BUGFIX] Catch exception in Upgrade Wizard

Catch any StatementException and create an ErrorStatus
message containing the exception message.

Resolves: #78529
Related: #78235
Releases: master
Change-Id: I404976856a02f974fd7348dbaf019d21398a0a72
Reviewed-on: https://review.typo3.org/50469
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
2 years ago[!!!][TASK] Drop unused JavaScript from backend.js 24/50424/6
Wouter Wolters [Fri, 28 Oct 2016 19:10:58 +0000 (21:10 +0200)]
[!!!][TASK] Drop unused JavaScript from backend.js

Remove the following unused JavaScript methods from the core.

TYPO3._instances
TYPO3.addInstance
TYPO3.getInstance
TYPO3.helpers.split

Resolves: #78521
Releases: master
Change-Id: I244c80c9cb3081e43360d0d1b3a70346590a603f
Reviewed-on: https://review.typo3.org/50424
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
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] Remove backend user option debugInWindow 64/50464/4
Wouter Wolters [Mon, 31 Oct 2016 20:17:41 +0000 (21:17 +0100)]
[!!!][TASK] Remove backend user option debugInWindow

The option is unused in the core and no usages are found in TER.

Resolves: #78522
Releases: master
Change-Id: Id3cb7fe790b9cf84d2e85595d784edb482f9a32d
Reviewed-on: https://review.typo3.org/50464
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
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] Remove unused configuration options for JavaScript 63/50463/4
Wouter Wolters [Mon, 31 Oct 2016 20:09:04 +0000 (21:09 +0100)]
[!!!][TASK] Remove unused configuration options for JavaScript

Remove all options that are not used anymore from TYPO3.configuration
in JavaScript context.

Resolves: #78525
Releases: master
Change-Id: I69ee333e01d75ab4dc14b35f91a172df1ab20d62
Reviewed-on: https://review.typo3.org/50463
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Make checks in localize compatible with new Localization Wizard 22/50022/10
Tymoteusz Motylewski [Sat, 29 Oct 2016 20:51:05 +0000 (22:51 +0200)]
[BUGFIX] Make checks in localize compatible with new Localization Wizard

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

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

Resolves: #78059
Releases: master, 7.6
Change-Id: I01647d759a745abbbf0fa34a16b20f3085ef91ea
Reviewed-on: https://review.typo3.org/50022
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Allow RTE transformations in palettes 01/49201/13
Johannes Schlier [Mon, 31 Oct 2016 09:33:47 +0000 (10:33 +0100)]
[BUGFIX] Allow RTE transformations in palettes

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

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

Resolves: #60399
Resolves: #76745
Releases: master, 7.6
Change-Id: I0c4efc0a03682cd766a2a164cf7b2fa14cd7c1b9
Reviewed-on: https://review.typo3.org/49201
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix path resolving for Default.css in EXT:rtehtmlarea 40/50440/3
Wouter Wolters [Sun, 30 Oct 2016 16:49:10 +0000 (17:49 +0100)]
[BUGFIX] Fix path resolving for Default.css in EXT:rtehtmlarea

Path calculation is missing the resolving of EXT: syntax.
Fix this by adding GeneralUtility::getFileAbsFileName.

Resolves: #78501
Releases: master
Change-Id: Ib377bdd13e002988c35515ad571df2b4a2262e17
Reviewed-on: https://review.typo3.org/50440
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Prevent adding a backend user without password 39/50439/3
Michael Oehlhof [Sat, 29 Oct 2016 22:12:24 +0000 (00:12 +0200)]
[BUGFIX] Prevent adding a backend user without password

Resolves: #78411
Releases: master, 7.6
Change-Id: I47273726595639621c988910a537b205f49be13c
Reviewed-on: https://review.typo3.org/50439
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Create missing directory in UnitTestsBootstrap 53/50453/2
Christian Kuhn [Mon, 31 Oct 2016 13:37:00 +0000 (14:37 +0100)]
[BUGFIX] Create missing directory in UnitTestsBootstrap

typo3temp/assets is needed by ExtensionCompatibilityTesterTest

Change-Id: Ia346f74fc36e402af4a06e28fa2b2961122a3f5a
Resolves: #78514
Releases: master
Reviewed-on: https://review.typo3.org/50453
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[BUGFIX] Add icon rendering for custom permissions options 67/48967/11
Benjamin Serfhos [Wed, 13 Jul 2016 21:06:14 +0000 (23:06 +0200)]
[BUGFIX] Add icon rendering for custom permissions options

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

Resolves: #77075
Releases: master, 7.6
Change-Id: Iae6415525d94fc56c48332de9e5bc3980344fbc2
Reviewed-on: https://review.typo3.org/48967
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[TASK] README.md Contribution Workflow Link 48/50448/3
Christian Kuhn [Mon, 31 Oct 2016 09:07:51 +0000 (10:07 +0100)]
[TASK] README.md Contribution Workflow Link

Link to docs.typo3.org instead of wiki.

Change-Id: Ib76f1fb11b9cc0e8069407528ab058f7ae2e984e
Resolves: #78510
Releases: master
Reviewed-on: https://review.typo3.org/50448
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[FOLLOWUP][BUGFIX] Fetching configuration-comments should require no comma 45/50445/2
Markus Klein [Mon, 31 Oct 2016 02:29:39 +0000 (03:29 +0100)]
[FOLLOWUP][BUGFIX] Fetching configuration-comments should require no comma

Fix regex to capture description correctly.

Resolves: #78333
Releases: master, 7.6
Change-Id: I8b731c2e1c2a4e9e3d1fdf01823bbefadee367fb
Reviewed-on: https://review.typo3.org/50445
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Cleanup .travis.yml 42/50442/3
Christian Kuhn [Sun, 30 Oct 2016 19:01:07 +0000 (20:01 +0100)]
[TASK] Cleanup .travis.yml

* Remove some acceptance test setup left overs
* Increase number of functional tests jobs again, sync with 7.6 setting

Change-Id: Ia894f19f89ccb027bdca0163a9e8bafc579ab6e3
Resolves: #78503
Releases: master
Reviewed-on: https://review.typo3.org/50442
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Enable curl on AppVeyor CI 41/50441/4
Wouter Wolters [Sun, 30 Oct 2016 18:19:19 +0000 (19:19 +0100)]
[BUGFIX] Enable curl on AppVeyor CI

Facebook Webdriver dependency needs curl enabled.

Resolves: #78502
Releases: master
Change-Id: I216b4c82fb4f648d1bc48ccaed0b2c365691544b
Reviewed-on: https://review.typo3.org/50441
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Dependencies between unit tests 35/50435/5
Christian Kuhn [Sat, 29 Oct 2016 20:42:44 +0000 (22:42 +0200)]
[BUGFIX] Dependencies between unit tests

Our unit tests have an annoying history of dependencies between
each other: There are tests that rely on global state changes from
other tests. Those are hard and time consuming to track down and
lead to erratic test results if not fixed.

The patch resolves the hopefully last occurences of those cross
dependencies, all of these issues were recently introduced:

* A bug in extbase DebuggerUtility lets a test in core DebugUtilityTest fail
* SchemaColumnDefinitionListenerTest is changed to cope with a possible
  global change by a different test that we can not prevent otherwise
* felogin FrontendLoginControllerTest properly handles registered
  global objects to prevent side effects on TemplateServiceTest

To prevent such issues in the future, the new require-dev dependency
"phpunit-randomizer" is added. It allows running tests in random order
to reveal cross dependencies:

./bin/phpunit-randomizer -c typo3/sysext/core/Build/UnitTests.xml --order rand

Each run echos out a specific seed that can be used to replay this specific
order of tests:

./bin/phpunit-randomizer -c typo3/sysext/core/Build/UnitTests.xml --order rand:1234

The randomizer will be added to the pre-merge tests with a couple of
runs to find those cross dependencies more quickly.

Change-Id: Id08eda19df98f1a8adf25259f852928020acd810
Resolves: #78499
Releases: master
Reviewed-on: https://review.typo3.org/50435
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Tested-by: Daniel Lorenz <daniel.lorenz@extco.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Remove Firefox CSS loading hack in RTE editor 28/50428/2
Markus Klein [Fri, 28 Oct 2016 22:17:31 +0000 (00:17 +0200)]
[BUGFIX] Remove Firefox CSS loading hack in RTE editor

Remove a totally outdated Firefox hack for loading CSS files.

Resolves: #78492
Releases: master
Change-Id: I5dad91d01e212927d906b0548471d23137d58c29
Reviewed-on: https://review.typo3.org/50428
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] Remove an erratic unit test 33/50433/3
Christian Kuhn [Sat, 29 Oct 2016 13:02:37 +0000 (15:02 +0200)]
[BUGFIX] Remove an erratic unit test

The permission tests tend to be erratic depending on the
environment. We can't control every detail and some of them
are skipped in various scenarios already.
They also don't provide *that* much value.

The patch removes one test that tends to fail depending on
access rights of parent directories.

Change-Id: I2406ea16f7f88867a9be21d6d561516bddcc2dec
Resolves: #78498
Releases: master
Reviewed-on: https://review.typo3.org/50433
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Prevent installation of incompatible extensions 27/50427/3
Nicole Cordes [Fri, 28 Oct 2016 22:16:58 +0000 (00:16 +0200)]
[BUGFIX] Prevent installation of incompatible extensions

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

Resolves: #78494
Resolves: #76542
Releases: master, 7.6, 6.2
Change-Id: I0fb2b4632bef05912a329553b70f26d614a1ba9c
Reviewed-on: https://review.typo3.org/50427
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Make clickarea of cache clearing bigger 23/50423/2
Manuel Glauser [Fri, 28 Oct 2016 13:50:16 +0000 (15:50 +0200)]
[TASK] Make clickarea of cache clearing bigger

Make clear cache icons part of the clickable area.

Resolves: #78377
Releases: master
Change-Id: I058386c230ad59160afd7a1d55f9517f1824067c
Reviewed-on: https://review.typo3.org/50423
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Gianluigi Martino <gmartino27@gmail.com>
Tested-by: Gianluigi Martino <gmartino27@gmail.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Update composer dependencies 79/50279/4
Markus Klein [Thu, 27 Oct 2016 21:59:46 +0000 (23:59 +0200)]
[TASK] Update composer dependencies

Resolves: #78483
Releases: master
Change-Id: I10b4fc4c8205291eee7570e57985a7a2fcbf3b28
Reviewed-on: https://review.typo3.org/50279
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Fluidification of installed services report 61/50061/5
Michael Oehlhof [Wed, 28 Sep 2016 22:09:07 +0000 (00:09 +0200)]
[TASK] Fluidification of installed services report

Resolves: #78088
Releases: master
Change-Id: I975361c525c22c5fbc2b6e7ced4f0a4e5ac8d514
Reviewed-on: https://review.typo3.org/50061
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Optimize usability of new category tree toolbar 21/50421/4
Frank Naegler [Fri, 28 Oct 2016 13:26:14 +0000 (15:26 +0200)]
[TASK] Optimize usability of new category tree toolbar

This patch improves the usability of the category tree toolbar.

- Add a better icon for the toggle button
- Add a title for the toggle button
- Add tooltip for all buttons
- Group all filter button into one button group

Resolves: #78489
Releases: master
Change-Id: I5a6b30447dbb6b313a3ad00673267208236814be
Reviewed-on: https://review.typo3.org/50421
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.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>
2 years ago[BUGFIX] Allow "0" as path segment in ArrayUtility 30/50430/8
Helmut Hummel [Fri, 28 Oct 2016 23:17:53 +0000 (01:17 +0200)]
[BUGFIX] Allow "0" as path segment in ArrayUtility

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

Also add a missing string check in getValueByPath.

Resolves: #78495
Releases: master, 7.6
Change-Id: I6b2a0c286c345aa94595a4a74da077bc8adea292
Reviewed-on: https://review.typo3.org/50430
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[FOLLOWUP][TASK] Refactor use of queryBuilder to use prepared statements 25/50425/2
Markus Klein [Fri, 28 Oct 2016 21:30:56 +0000 (23:30 +0200)]
[FOLLOWUP][TASK] Refactor use of queryBuilder to use prepared statements

Fix mistakes.

Resolves: #78437
Releases: master
Change-Id: Iefe82b5c2ef0f3643c3c69cda82de0992a10dd00
Reviewed-on: https://review.typo3.org/50425
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Use correct content type for BE ajax requests 26/50426/2
Markus Klein [Fri, 28 Oct 2016 22:14:38 +0000 (00:14 +0200)]
[BUGFIX] Use correct content type for BE ajax requests

Fix invalid content type in toolbar items.

Resolves: #78493
Releases: master, 7.6
Change-Id: Ie4341136a9978e1c446f3871ba44602dd7d7f53d
Reviewed-on: https://review.typo3.org/50426
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[TASK] Update bower components to latest versions 10/50410/4
Frank Naegler [Fri, 28 Oct 2016 11:39:32 +0000 (13:39 +0200)]
[TASK] Update bower components to latest versions

This patch updates the bower components to the latest version.
Also the version contraints in bower.json are updated to get the
latest and non breaking versions.

Only for jquery-ui we pinned the version to 1.11.4 for legacy reasons.

Resolves: #78484
Releases: master
Change-Id: Ic7b49449fac6d8e616fed969bdc770b34827edea
Reviewed-on: https://review.typo3.org/50410
Tested-by: TYPO3com <no-reply@typo3.com>
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] Merge all changes done by grunt build 09/50409/2
Wouter Wolters [Fri, 28 Oct 2016 11:06:41 +0000 (13:06 +0200)]
[TASK] Merge all changes done by grunt build

Make compiling with grunt clean again when executing.

Resolves: #78482
Releases: master
Change-Id: I716783c338d7247a64c9d37cc1f066f47ac3c40e
Reviewed-on: https://review.typo3.org/50409
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Robert van Kammen <rvkammen@hotmail.com>
Tested-by: Robert van Kammen <rvkammen@hotmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Fix not working DatePicker 06/50406/3
Wouter Wolters [Thu, 27 Oct 2016 20:37:56 +0000 (22:37 +0200)]
[BUGFIX] Fix not working DatePicker

The upgrade to jQuery 3.1.1 broke the DatePicker.
Update to the newest release to fix the problem.

Resolves: #78474
Releases: master
Change-Id: I32343889cd1e0262549775217b5be97b908e1647
Reviewed-on: https://review.typo3.org/50406
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Daniel Lorenz <info@extco.de>
Tested-by: Daniel Lorenz <info@extco.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Remove broken types defintion 08/50408/6
Frank Naegler [Fri, 28 Oct 2016 09:07:33 +0000 (11:07 +0200)]
[BUGFIX] Remove broken types defintion

The type defintions of d3.js are broken and removed until we need it and
it is fixed by the authors.
Also the path mapping changed to work setup indepenent.

Resolves: #78480
Related: #78430
Releases: master
Change-Id: I0fad812538cb1e028b8267963f4fd04dec7b4d5a
Reviewed-on: https://review.typo3.org/50408
Reviewed-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Tested-by: Stefan Bürk <stefan.buerk@impactmedia.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] Remove ExtDirect from Workspaces 94/50294/15
Frank Naegler [Thu, 20 Oct 2016 17:18:35 +0000 (19:18 +0200)]
[!!!][TASK] Remove ExtDirect from Workspaces

This patch removes ExtDirect from EXT:workspaces and add a new AJAX disptacher.
The ExtDirect classes are renamend and moved into a new location.

Resolves: #78468
Releases: master
Change-Id: I7a60bfd1a790174d6013e16a0903b2ae2c244cc0
Reviewed-on: https://review.typo3.org/50294
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Daniel Lorenz <info@extco.de>
Tested-by: Daniel Lorenz <info@extco.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Switches TcaMigrationsCheck to Ajax 80/50380/9
Patricia Tiedemann [Wed, 26 Oct 2016 09:45:50 +0000 (11:45 +0200)]
[TASK] Switches TcaMigrationsCheck to Ajax

Similar to the "TCA in ext_tables.php check" the "TCA Migrations"
check now uses Ajax to show its results.

Most of this check's code logic itself hasn't been modified, only
moved to a different class.

Resolves: #78443
Releases: master
Change-Id: I99249e806e6fb1945c994e8ca58f17c488948240
Reviewed-on: https://review.typo3.org/50380
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
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] Fluidification of HelpToolbarItem 04/50404/3
Marc Willmann [Thu, 27 Oct 2016 12:14:53 +0000 (14:14 +0200)]
[TASK] Fluidification of HelpToolbarItem

Resolves: #78466
Releases: master
Change-Id: I7ec8ed209f057733f0607f68b9645df7f634a4bb
Reviewed-on: https://review.typo3.org/50404
Reviewed-by: Kevin Appelt <kevin.appelt@icloud.com>
Tested-by: Kevin Appelt <kevin.appelt@icloud.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Daniel Lorenz <info@extco.de>
Tested-by: Daniel Lorenz <info@extco.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Update to TypeScript 2.0 70/50370/5
Frank Naegler [Tue, 25 Oct 2016 13:18:12 +0000 (15:18 +0200)]
[TASK] Update to TypeScript 2.0

Resolves: #78430
Releases: master
Change-Id: Iba0303ebde90be0008f73f88bf9338389274d38a
Reviewed-on: https://review.typo3.org/50370
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Tested-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Deprecate frameset and frame 57/50157/5
Daniel Windloff [Mon, 10 Oct 2016 10:33:40 +0000 (12:33 +0200)]
[TASK] Deprecate frameset and frame

HTML5 does not support frame and frameset anymore.
Deprecate TypoScript that can be used to create a
markup based on frameset.

Resolves: #78217
Releases: master
Change-Id: Iddf987c839ae0db335260878f89e1b2dc754c575
Reviewed-on: https://review.typo3.org/50157
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>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Admin Panel clear cache icon position is wrong 06/50306/3
Gianluigi Martino [Fri, 21 Oct 2016 09:13:40 +0000 (11:13 +0200)]
[TASK] Admin Panel clear cache icon position is wrong

Correct lightning icon position in admin panel

Resolves: #78370
Releases: master
Change-Id: I71653139e46babd8f45431f6938aac1a568e49c7
Reviewed-on: https://review.typo3.org/50306
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>
2 years ago[BUGFIX] Wrong query generation in extbase QueryParser 68/50368/4
Gerrit Mohrmann [Tue, 25 Oct 2016 12:08:55 +0000 (14:08 +0200)]
[BUGFIX] Wrong query generation in extbase QueryParser

Fixes wrong constraint building in
convertQueryToDoctrineQueryBuilder()

Resolves: #78428
Related: #77379
Releases: master
Change-Id: Ie309b0da61e2129916eafd35860ff38efb6e8191
Reviewed-on: https://review.typo3.org/50368
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[TASK] Decode body for alternative request methods 61/47161/4
Andreas Wolf [Wed, 9 Mar 2016 09:15:34 +0000 (10:15 +0100)]
[TASK] Decode body for alternative request methods

PHP only decodes data for POST requests. This commit adds a similar
support (using the same mechanisms, according to the PHP docs) for other
request methods. Currently, it is limited to PUT, PATCH and DELETE, the
request methods that may have a body according to the HTTP spec.

Change-Id: Icdf14f48bf84258958dbca704dfa94474f6894bb
Resolves: #74532
Releases: master
Reviewed-on: https://review.typo3.org/47161
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
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] Replace topbar TYPO3 logo png file with svg file 03/50403/2
Jan Helke [Thu, 27 Oct 2016 11:44:06 +0000 (13:44 +0200)]
[TASK] Replace topbar TYPO3 logo png file with svg file

Releases: master
Resolves: #78463
Change-Id: I59aad51a22d1ae0af5e7d99e92f06be850e84e14
Reviewed-on: https://review.typo3.org/50403
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Steiger <typo3@andreassteiger.de>
Tested-by: Andreas Steiger <typo3@andreassteiger.de>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Acceptance test for Elements Group 01/50401/5
Gordon Brüggemann [Thu, 27 Oct 2016 10:05:37 +0000 (12:05 +0200)]
[TASK] Acceptance test for Elements Group

Resolves: #78462
Releases: master
Change-Id: Ia05d57def8f842beb22e3b9a17f392c39071993c
Reviewed-on: https://review.typo3.org/50401
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Marco Bresch <marco.bresch@starfinanz.de>
Tested-by: Marco Bresch <marco.bresch@starfinanz.de>
Reviewed-by: Daniel Lorenz <info@extco.de>
Tested-by: Daniel Lorenz <info@extco.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Fix backend logo acceptance test 02/50402/3
Daniel Lorenz [Thu, 27 Oct 2016 11:05:50 +0000 (13:05 +0200)]
[BUGFIX] Fix backend logo acceptance test

The TYPO3 logo in the backend now links to the backend itself, thus
update the test accordingly.

Resolves: #78465
Related: #78393
Releases: master
Change-Id: I1664fbd789eb4a1f7d1f84dca15fd90c1187df06
Reviewed-on: https://review.typo3.org/50402
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Marco Bresch <marco.bresch@starfinanz.de>
Tested-by: Marco Bresch <marco.bresch@starfinanz.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Legacy class name usage 83/50383/4
Markus Klein [Wed, 26 Oct 2016 13:02:19 +0000 (15:02 +0200)]
[BUGFIX] Legacy class name usage

Use
\TYPO3Fluid\...\ViewHelperNode
instead of legacy
\TYPO3\CMS\...\ViewHelperNode

Resolves: #78448
Releases: master
Change-Id: Idda16b601bec9535f46612476dde5cb01adc009b
Reviewed-on: https://review.typo3.org/50383
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>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Extbase RequestBuilder: provide plugin name in exception 98/50398/3
Josef Glatz [Thu, 27 Oct 2016 09:42:25 +0000 (11:42 +0200)]
[TASK] Extbase RequestBuilder: provide plugin name in exception

Add plugin name as it is already provided in above exception.

Resolves: #78438
Releases: master
Change-Id: Idd1498bbcb8d070c4240e0285aec06d414208e83
Reviewed-on: https://review.typo3.org/50398
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Add Acceptance test for Install Tool 92/50392/6
Daniel Lorenz [Wed, 26 Oct 2016 16:41:55 +0000 (18:41 +0200)]
[TASK] Add Acceptance test for Install Tool

You have to set the env typo3InstallToolPassword with
plaintext password to run these acceptance tests.

Resolves: #78446
Releases: master
Change-Id: Ib966d0493aae4d33a9d5e0bdb033179643412711
Reviewed-on: https://review.typo3.org/50392
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Lorenz <info@extco.de>
Tested-by: Daniel Lorenz <info@extco.de>
Reviewed-by: Gordon Brüggemann <gordon.brueggemann@di-unternehmer.com>
Tested-by: Gordon Brüggemann <gordon.brueggemann@di-unternehmer.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Optimize topbar logo link 95/50395/5
Andreas Steiger [Wed, 26 Oct 2016 19:47:58 +0000 (21:47 +0200)]
[TASK] Optimize topbar logo link

This patch fixes the clickable area of the topbar logo link.

Furthermore, the logo link of topbar header leads to the user's startup
module instead of typo3.org.

Resolves: #78393
Releases: master
Change-Id: I5bfaf72f497a0b7b09a69114bde115e90f243de1
Reviewed-on: https://review.typo3.org/50395
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Daniel Lorenz <info@extco.de>
Reviewed-by: Daniel Lorenz <info@extco.de>
Reviewed-by: Marc Willmann <mw@f7.de>
Tested-by: Marc Willmann <mw@f7.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Acceptance test for TER search in ExtensionManager 99/50399/3
Marco Bresch [Thu, 27 Oct 2016 09:41:07 +0000 (11:41 +0200)]
[TASK] Acceptance test for TER search in ExtensionManager

Add some tests for Get Extensions in ExtensionManager.

Resolves: #78453
Relates: #78437
Releases: master
Change-Id: I089c261636c50b589464673505c4e244abed1652
Reviewed-on: https://review.typo3.org/50399
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] Fix negative pid when doing a positioned insert 81/47381/4
Marco Huber [Thu, 24 Mar 2016 11:16:42 +0000 (12:16 +0100)]
[BUGFIX] Fix negative pid when doing a positioned insert

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

Resolves: #75254
Related: #72751
Releases: master, 7.6
Change-Id: Ia2c7a34bf6c825709ca51aa32b84a5fc660817c3
Reviewed-on: https://review.typo3.org/47381
Reviewed-by: Markus Gehrig <markus.gehrig96@gmail.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
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] Fix unclear position for the new page using the wizard 22/50322/6
Michael Oehlhof [Sat, 22 Oct 2016 09:31:19 +0000 (11:31 +0200)]
[BUGFIX] Fix unclear position for the new page using the wizard

Resolves: #72957
Releases: master, 7.6
Change-Id: I06cee55c78365ff83a239fff71ef02a180009f30
Reviewed-on: https://review.typo3.org/50322
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[TASK] Streamline checkbox styling in TranslationStatusController 66/50366/2
Daniel Windloff [Tue, 25 Oct 2016 12:28:46 +0000 (14:28 +0200)]
[TASK] Streamline checkbox styling in TranslationStatusController

In order to be consistent (e.g. list module), change the checkbox
styling in TranslationStatusController.

Resolves: #78424
Releases: master
Change-Id: Ia3fe20b08ae2b8be80b251c32548dbe03d8f1611
Reviewed-on: https://review.typo3.org/50366
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: Kevin Appelt <kevin.appelt@icloud.com>
Tested-by: Kevin Appelt <kevin.appelt@icloud.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
2 years ago[TASK] Fluidification of UserToolbarItem 93/50393/3
Marc Willmann [Wed, 26 Oct 2016 15:41:16 +0000 (17:41 +0200)]
[TASK] Fluidification of UserToolbarItem

Resolves: #78451
Releases: master
Change-Id: If4d40e41abc604b430168293446ab5dfd579ca3e
Reviewed-on: https://review.typo3.org/50393
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Gianluigi Martino <gmartino27@gmail.com>
Tested-by: Gianluigi Martino <gmartino27@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Move workspaces preview hook to EXT:workspaces 30/50330/8
Benni Mack [Mon, 24 Oct 2016 05:23:37 +0000 (07:23 +0200)]
[TASK] Move workspaces preview hook to EXT:workspaces

Move the preview functionality (of sys_preview) from EXT:version to
EXT:workspaces as it resolves solely functionality to preview
a page within a workspace with the link.

A class map alias ensures that all functionality is still given
and non-breaking, however the SQL information was moved to
EXT:workspaces, so it breaks if only EXT:version is installed and
e.g. sys_preview was used for something unrelated to
the preview functionality.

Resolves: #78434
Releases: master
Change-Id: If5ca8cf7c3a983b84274778913860764d4c3a803
Reviewed-on: https://review.typo3.org/50330
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Fluidification of SuggestWizard 61/50361/6
Marc Willmann [Tue, 25 Oct 2016 10:11:03 +0000 (12:11 +0200)]
[TASK] Fluidification of SuggestWizard

Resolves: #78420
Releases: master
Change-Id: I2d3ea1c0f3bda176f68da62f5d379e4af0647494
Reviewed-on: https://review.typo3.org/50361
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[TASK] Improve acceptance test for extensionmanager 81/50381/3
Marco Bresch [Wed, 26 Oct 2016 09:55:52 +0000 (11:55 +0200)]
[TASK] Improve acceptance test for extensionmanager

Summarize two tests in one test to uninstall and install the belog extension.

Resolves: #78441
Relates: #78185, #77820
Releases: master
Change-Id: I617916480686561114db0d4cc39f9f707adefe22
Reviewed-on: https://review.typo3.org/50381
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Add acceptance test for ModuleMenuButton on resize 82/50382/5
Gordon Brüggemann [Wed, 26 Oct 2016 11:38:24 +0000 (13:38 +0200)]
[TASK] Add acceptance test for ModuleMenuButton on resize

Resolves: #78447
Releases: master
Change-Id: Ie4c28c8163369677dfd40707d8bc008a83254cae
Reviewed-on: https://review.typo3.org/50382
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Acceptance test for NavigationComponent Tree 90/50390/2
Gordon Brüggemann [Wed, 26 Oct 2016 15:46:21 +0000 (17:46 +0200)]
[TASK] Acceptance test for NavigationComponent Tree

Resolves: #78452
Releases: master
Change-Id: I097a9572662e7a4f36f1e0899b92fd2c41b89afe
Reviewed-on: https://review.typo3.org/50390
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Pass correct query parameter to image manipulation view 86/50386/3
pille72 [Wed, 26 Oct 2016 14:17:19 +0000 (16:17 +0200)]
[BUGFIX] Pass correct query parameter to image manipulation view

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

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

Releases: master, 7.6
Resolves: #78444
Change-Id: I7580927d4edeec246d71ade32497d34ba107589d
Reviewed-on: https://review.typo3.org/50386
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Acceptance test for Inline 1n from styleguide 75/50375/7
Gordon Brüggemann [Tue, 25 Oct 2016 19:36:09 +0000 (21:36 +0200)]
[TASK] Acceptance test for Inline 1n from styleguide

Resolves: #78435
Releases: master
Change-Id: Ib0877a56834045e8c9ec2244e5f603ec940376a5
Reviewed-on: https://review.typo3.org/50375
Reviewed-by: Daniel Lorenz <info@extco.de>
Tested-by: Daniel Lorenz <info@extco.de>
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] Additional type checks and minor code improvements. 41/50341/3
Marc Willmann [Mon, 24 Oct 2016 14:23:04 +0000 (16:23 +0200)]
[BUGFIX] Additional type checks and minor code improvements.

Resolves: #78402
Releases: master
Change-Id: I35b8555511a9560904048697c58e4f7a63b2023d
Reviewed-on: https://review.typo3.org/50341
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: Daniel Lorenz <info@extco.de>
Tested-by: Daniel Lorenz <info@extco.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[!!!][TASK] Migrate FlexForm cleaning command to Symfony Console 78/50378/4
Benni Mack [Tue, 25 Oct 2016 22:44:49 +0000 (00:44 +0200)]
[!!!][TASK] Migrate FlexForm cleaning command to Symfony Console

The lowlevel cleaner command for cleaning FlexForm XMLs
in the database (e.g. when a flexform has changed) is migrated to
a Symfony Console command, reducing the complexity and
enhancing the readability of the logic.

Call it like this:
typo3/sysext/core/bin/typo3 cleanup:flexforms --dry-run -vv --pid=49 --depth=4

You can also use "-p" instead of "--pid", or "-d" instead of "--depth".

Resolves: #78439
Releases: master
Change-Id: Idd46a5e71e7c7d0094f242e791b81ae2d1d691ad
Reviewed-on: https://review.typo3.org/50378
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[FOLLOWUP][TASK] Refactor queryBuilder usage 91/50391/2
Anja Leichsenring [Wed, 26 Oct 2016 15:59:22 +0000 (17:59 +0200)]
[FOLLOWUP][TASK] Refactor queryBuilder usage

Double usage of ->createNamedParameter() on searchWord results
in always empty result list for EM TER search action.

Resolves: #78437
Releases: master
Change-Id: I5a6f1376e538b63fc5bde43daba2e75d582fde90
Reviewed-on: https://review.typo3.org/50391
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Claus Due <claus@phpmind.net>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Marco Bresch <marco.bresch@starfinanz.de>
Reviewed-by: Marco Bresch <marco.bresch@starfinanz.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Typos and wording issues in master documentation 79/50379/2
Stephan Großberndt [Wed, 26 Oct 2016 09:31:32 +0000 (11:31 +0200)]
[BUGFIX] Typos and wording issues in master documentation

Resolves: #78442
Releases: master
Change-Id: Ic081062296aad1353b80633b8f5a074ea0586d7f
Reviewed-on: https://review.typo3.org/50379
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Improve problem reporting of validateRstFiles.sh 85/50385/2
Anja Leichsenring [Wed, 26 Oct 2016 14:12:45 +0000 (16:12 +0200)]
[TASK] Improve problem reporting of validateRstFiles.sh

Script gives now detailed advice of how to solve any
detected problem.

Resolves: #78449
Releases: master
Change-Id: I7e5cf9e74fca09bd978fdfa620cabaab2a817bcc
Reviewed-on: https://review.typo3.org/50385
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[FEATURE] Overwrite maximum number of Indexed Search results. 10/50110/7
Karol Lamparski [Fri, 7 Oct 2016 15:46:52 +0000 (17:46 +0200)]
[FEATURE] Overwrite maximum number of Indexed Search results.

TypoScript setting
`plugin.tx_indexedsearch.settings.blind.numberOfResults`
receives a comma separated list of integer values. If number of results
sent in request does not match any value from this list,
default (first) value will be used to keep DoS attack protection.

Values from `plugin.tx_indexedsearch.settings.blind.numberOfResults`
are used as options in the select box in advanced search mode.
To keep backward compatibility default values are 10, 25, 50 and 100.

Releases: master
Resolves: #73626
Change-Id: Id85951450e6b8192d8c36e43a468f8db82d7a9f8
Reviewed-on: https://review.typo3.org/50110
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Group mount points that have the same parent 49/49749/7
Michael Stucki [Thu, 1 Sep 2016 13:28:34 +0000 (15:28 +0200)]
[BUGFIX] Group mount points that have the same parent

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

Resolves: #77734
Releases: master, 7.6
Change-Id: I799f20b94725f64deb4bcd025b87b978c6751976
Reviewed-on: https://review.typo3.org/49749
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
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] Show mountpoint path in record + link browsers if enabled in UserTS 50/49750/3
Michael Stucki [Thu, 1 Sep 2016 13:31:59 +0000 (15:31 +0200)]
[BUGFIX] Show mountpoint path in record + link browsers if enabled in UserTS

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

Resolves: #77734
Releases: master, 7.6
Change-Id: I492d8a7eb3a8c557c231be7aaf58dfa8dd90cc7d
Reviewed-on: https://review.typo3.org/49750
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Fluidification of ClearCacheToolbarItem 77/50377/4
Marc Willmann [Tue, 25 Oct 2016 21:02:29 +0000 (23:02 +0200)]
[TASK] Fluidification of ClearCacheToolbarItem

Resolves: #78436
Releases: master
Change-Id: I31e1d290f58ac01749091a05002025ee4598a49c
Reviewed-on: https://review.typo3.org/50377
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Gianluigi Martino <gmartino27@gmail.com>
Tested-by: Gianluigi Martino <gmartino27@gmail.com>
Reviewed-by: Daniel Lorenz <info@extco.de>
Tested-by: Daniel Lorenz <info@extco.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Fix page tree mountpoint path 48/49748/3
Michael Stucki [Thu, 1 Sep 2016 13:27:32 +0000 (15:27 +0200)]
[BUGFIX] Fix page tree mountpoint path

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

Resolves: #77734
Releases: master, 7.6
Change-Id: I68da82778921ac37e6b827ab8b6ca21993cf6491
Reviewed-on: https://review.typo3.org/49748
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
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] Refactor use of queryBuilder to use prepared statements 90/50090/17
Manuel Selbach [Thu, 6 Oct 2016 07:24:58 +0000 (09:24 +0200)]
[TASK] Refactor use of queryBuilder to use prepared statements

To remove the susceptiblity to errors of SQL injections within the core
the principle of prepared statements should be followed for all queries.
Even variables which will be casted to e.g. an integer should use
setParameter(), setParameters() or createNamedParameter().

Change-Id: I7d6d256a199ba05f75791eb01f38b3b89b421989
Resolves: #78437
Releases: master
Reviewed-on: https://review.typo3.org/50090
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Move code from PageLayoutView to proper class 20/50220/5
Georg Ringer [Thu, 13 Oct 2016 18:04:37 +0000 (20:04 +0200)]
[TASK] Move code from PageLayoutView to proper class

The code is only used in PageInformationController and should
therefore reside in this class instead of PageLayoutView.

Resolves: #78289
Releases: master
Change-Id: I049782082a4cea9df2d777093c387b3b45756957
Reviewed-on: https://review.typo3.org/50220
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: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Use ViewHelper compiling Traits 87/50187/14
Claus Due [Tue, 11 Oct 2016 14:18:21 +0000 (16:18 +0200)]
[TASK] Use ViewHelper compiling Traits

This change implements ViewHelper compiling traits
from the new Fluid 1.1.0 ViewHelperCompiler feature.

The Traits allow removing duplicated render methods
and makes the TemplateCompiler compile the call to
the ViewHelper as a direct call to `renderStatic` for
improved performance in compiled templates.

Change-Id: Ic421f6a5d94ced02944745c4f6c4bf7636f63ca7
Resolves: #78245
Releases: master
Reviewed-on: https://review.typo3.org/50187
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Adding back access to parentMenuArr and menuitem in subMenu 60/49260/11
Stefan Bürk [Fri, 29 Jul 2016 07:52:00 +0000 (09:52 +0200)]
[BUGFIX] Adding back access to parentMenuArr and menuitem in subMenu

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

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

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

Resolves: #77296
Releases: master, 7.6
Change-Id: I3cfce3c67e840e6e97fa9c55ffaf997a509ee0e8
Reviewed-on: https://review.typo3.org/49260
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
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] Migrate lowlevel deleted records command to SymfonyConsole 58/50358/13
Benni Mack [Tue, 25 Oct 2016 07:30:03 +0000 (09:30 +0200)]
[!!!][TASK] Migrate lowlevel deleted records command to SymfonyConsole

The lowlevel cleaner command for permanently delete records
in the database that have been previously marked as "deleted=1"
in the database is migrated to a Symfony Console command,
reducing the complexity and enhances the readability of the function.

Call it like this:
typo3/sysext/core/bin/typo3 cleanup:deletedrecords --dry-run -vv --pid=49 --depth=4

You can also use "-p" instead of "--pid", or "-d" instead of "--depth".

Resolves: #78417
Releases: master
Change-Id: I79fb2292d96c38c1406896cbe9d0bac6494d1fa9
Reviewed-on: https://review.typo3.org/50358
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: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Report module should not alert when all db tables are utf8 51/50351/4
Benni Mack [Mon, 24 Oct 2016 21:01:30 +0000 (23:01 +0200)]
[BUGFIX] Report module should not alert when all db tables are utf8

In case a database default character set is latin1 but all tables
created in the database are utf8, the reports module warns that
the db is configured wrong, which might be the case, but on certain
hosters this is not an excuse. Instead, all TYPO3 tables
are created with a utf8 collation (equiv. to utf8 character set) and
stored correctly, so there is no need to throw a big red box.

The patch extends the utf-8 check to see if all database tables
are utf8 and everything is fine.

Resolves: #78413
Releases: master
Change-Id: I78cc65e4fec58e40f41f36ec6dbf6d46e867246f
Reviewed-on: https://review.typo3.org/50351
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
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] Split huge Formhandler test into smaller tests 73/50373/3
Daniel Lorenz [Tue, 25 Oct 2016 16:26:49 +0000 (18:26 +0200)]
[TASK] Split huge Formhandler test into smaller tests

This patch could stabilize the execution of acceptance tests.

Resolves: #78433
Releases: master
Change-Id: If2598f9f431dce57814a9bf42e384f6222196e2e
Reviewed-on: https://review.typo3.org/50373
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Make extbase subclasses work with numeric types 57/50357/2
Sascha Egerer [Tue, 25 Oct 2016 05:52:44 +0000 (07:52 +0200)]
[BUGFIX] Make extbase subclasses work with numeric types

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

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

Resolves: #78416
Releases: master, 7.6
Change-Id: Iea4cf41301892a6788facd3befe5533e263cc3f6
Reviewed-on: https://review.typo3.org/50357
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
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>
2 years ago[TASK] Add acceptance test for language module 45/50345/3
Daniel Lorenz [Mon, 24 Oct 2016 16:07:01 +0000 (18:07 +0200)]
[TASK] Add acceptance test for language module

Resolves: #78405
Releases: master
Change-Id: Ia821ec39f98a0fadefd7b44a59b2467f478ff9bc
Reviewed-on: https://review.typo3.org/50345
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: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Gordon Brüggemann <gordon.brueggemann@di-unternehmer.com>
Tested-by: Gordon Brüggemann <gordon.brueggemann@di-unternehmer.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Acceptance test for Scheduler task 44/50344/5
Gordon Brüggemann [Mon, 24 Oct 2016 15:31:03 +0000 (17:31 +0200)]
[TASK] Acceptance test for Scheduler task

Resolves: #78404
Releases: master
Change-Id: I80c1155631702b4632018624d42362e648cb42a8
Reviewed-on: https://review.typo3.org/50344
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Lorenz <info@extco.de>
Tested-by: Daniel Lorenz <info@extco.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Change default resolution for acceptance tests 67/50367/5
Daniel Lorenz [Tue, 25 Oct 2016 14:09:17 +0000 (16:09 +0200)]
[TASK] Change default resolution for acceptance tests

Change the resolution to have a proper overview when running
acceptance tests in head-mode and when screenshots are taken.

Resolves: #78427
Releases: master
Change-Id: I587e91b72a25fdc4acb1e803528c8dbf3766d43f
Reviewed-on: https://review.typo3.org/50367
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[FEATURE] Place global Fluid ViewHelper namespaces in TYPO3 configuration 54/50354/5
Claus Due [Mon, 24 Oct 2016 22:58:49 +0000 (00:58 +0200)]
[FEATURE] Place global Fluid ViewHelper namespaces in TYPO3 configuration

This change moves the default/global namespaces from being stored
directly on the ViewHelperResolver to being stored in the global
TYPO3 configuration array.

This then allows the namespaces to be manipulated as part of the site
configuration, including from within third party ViewHelper packages
which follow TYPO3 extension rules.

Change-Id: Ic324c023b4fbff6ab3e73e651dfca8dfd78453d9
Releases: master
Resolves: #78415
Reviewed-on: https://review.typo3.org/50354
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[BUGFIX] Wrong doctrine migration in indexed_search 69/50369/4
Gerrit Mohrmann [Tue, 25 Oct 2016 12:11:58 +0000 (14:11 +0200)]
[BUGFIX] Wrong doctrine migration in indexed_search

Insert column 'phash' in the select statement
in checkContentHash()

Resolves: #78429
Related: #77390
Releases: master
Change-Id: I51395ec0a367fa54fba21d7b632ff37c77205dca
Reviewed-on: https://review.typo3.org/50369
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
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[TASK] Replace setLocale() in tests with phpunit backup functionality 34/50334/7
Anja Leichsenring [Mon, 24 Oct 2016 11:14:10 +0000 (13:14 +0200)]
[TASK] Replace setLocale() in tests with phpunit backup functionality

There is a phpunit shipped functionality to reliably fiddle with locale
settings and have the valid settings back afterwards.
This funcionality was not used in core unit tests yet, so it is
introduced now.

In this process, some sanitizing to prevent tests from fail due to
non existent locales on a certain system is added.

Resolves: #78387
Releases: master
Change-Id: Iebd9b9251590283e6d2889db09a62a31a595fdb3
Reviewed-on: https://review.typo3.org/50334
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
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] Implement CMS setRenderingContext for AbstractConditionViewHelper 52/50352/3
Claus Due [Mon, 24 Oct 2016 22:18:01 +0000 (00:18 +0200)]
[BUGFIX] Implement CMS setRenderingContext for AbstractConditionViewHelper

This fixes an issue where the CMS specific overridden
setRenderingContext method on CMS AbstractConditionViewHelper is
not present because the class does not subclass the CMS
AbstractViewHelper (due to coupling concerns). Subsequently the
ControllerContext is not assigned in $this->controllerContext.

This inconsistency is fixed by adding the method just like it
appears in the AbstractViewHelper class, along with declaring
the property containing the ControllerContext.

Change-Id: I74779c47e8077d727a8a18c0e00696ba265f3c7a
Resolves: #78414
Releases: 8.4, master
Reviewed-on: https://review.typo3.org/50352
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
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>
2 years ago[BUGFIX] Authentication service respects deleted-flag 33/50333/13
Marc Willmann [Mon, 24 Oct 2016 11:00:58 +0000 (13:00 +0200)]
[BUGFIX] Authentication service respects deleted-flag

Avoids impossible logins due to wrong mappings to old
(deleted) users with the same username as a valid one.

Resolves: #78378
Releases: master

Change-Id: I74b09b036fdd264861509e236f62683b81ba7075
Reviewed-on: https://review.typo3.org/50333
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
2 years ago[TASK] Add Acceptance test for Template module 65/50365/5
Daniel Lorenz [Tue, 25 Oct 2016 11:43:40 +0000 (13:43 +0200)]
[TASK] Add Acceptance test for Template module

Resolves: #78423
Releases: master
Change-Id: Ieba60cceb7eac17543783fb9a4d220ca58fe5bb5
Reviewed-on: https://review.typo3.org/50365
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: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Add missing implementation of refresh methods 62/50362/3
Frank Naegler [Tue, 25 Oct 2016 10:44:41 +0000 (12:44 +0200)]
[BUGFIX] Add missing implementation of refresh methods

This patch implements the missing refresh methods in the Viewport.js.
Workspaces need this method to refresh the content frame on switching
the workspace in the top menu.
Both methods now reload the according frames.

Resolves: #78421
Releases: master
Change-Id: I1266c873d00e7a811e23c36bc4be5c36b7899797
Reviewed-on: https://review.typo3.org/50362
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Marco Bresch <marco.bresch@starfinanz.de>
Tested-by: Marco Bresch <marco.bresch@starfinanz.de>
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] Hide page tree toggle button (if no page tree is needed) 23/50323/2
Daniel Windloff [Sat, 22 Oct 2016 10:28:54 +0000 (12:28 +0200)]
[BUGFIX] Hide page tree toggle button (if no page tree is needed)

Do not show the page tree toggle button for modules
that don't use the page tree to select a current page or folder.

In order to prevent a jumping logo, set the visibility to hidden
or visible.

Resolves: #78311
Releases: master
Change-Id: I13ab164e1d1dd2a21e0dce94c709ac589970a69f
Reviewed-on: https://review.typo3.org/50323
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[FOLLOWUP][TASK] Remove *.js.map from repository 49/50349/5
Frank Naegler [Mon, 24 Oct 2016 18:48:54 +0000 (20:48 +0200)]
[FOLLOWUP][TASK] Remove *.js.map from repository

The generated JS files contain references to its source maps.
Per default these maps should not be generated.
To prevent side effects the target folder is removed before compiling
the JavaScript files.

Resolves: #78407
Releases: master
Change-Id: I1cc25ef71165d3533e29777d585ae170bdc7f8ae
Reviewed-on: https://review.typo3.org/50349
Reviewed-by: Patricia Tiedemann <pixelaeffchen@googlemail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Tested-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Add type check to prevent error if backend user is null 37/50337/4
Marc Willmann [Mon, 24 Oct 2016 12:19:56 +0000 (14:19 +0200)]
[BUGFIX] Add type check to prevent error if backend user is null

$backendUser may be null, this would cause an error. Add an
additional type check to prevent this.

Resolves: #78392
Releases: master
Change-Id: Ifa2b2f30283f5740a60edddb5670be9291706f90
Reviewed-on: https://review.typo3.org/50337
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[!!!][FEATURE] Check TCA changes in ext_tables.php 28/50328/7
Christian Kuhn [Sun, 23 Oct 2016 11:20:50 +0000 (13:20 +0200)]
[!!!][FEATURE] Check TCA changes in ext_tables.php

TCA changes within ext_tables.php can be moved to
Configuration/TCA since core 6.2. Still having them in
ext_tables.php is highly discouraged since version 7 and
now breaks with version 8.

The patch adds a feature to the Install Tool to find
loaded extensions that still manipulate TCA within
ext_tables.php files.

Additionally, the frontend is changed to no longer load
ext_tables.php files for normal requests and thus actively
ignores TCA changes from those files. This way a frontend
specific cache file is removed and the patch is a preparation
of a possible core cache warmup phase.

Change-Id: Ib639462ec92f4faf788fd20596aa4e7ce311701a
Resolves: #78384
Releases: master
Reviewed-on: https://review.typo3.org/50328
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
2 years ago[TASK] Remove *.js.map from repository 48/50348/3
Frank Naegler [Mon, 24 Oct 2016 17:59:07 +0000 (19:59 +0200)]
[TASK] Remove *.js.map from repository

This patch removes *.js.map files from the repository and adds a new
rule to the .gitignore file.

Resolves: #78407
Releases: master
Change-Id: I227dc1748a0b53910d7fc2050ccf92bfd555d4ec
Reviewed-on: https://review.typo3.org/50348
Reviewed-by: Patricia Tiedemann <pixelaeffchen@googlemail.com>
Tested-by: Patricia Tiedemann <pixelaeffchen@googlemail.com>
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[FEATURE] Add fluid debug information to admin panel 95/50095/8
Frank Naegler [Mon, 9 May 2016 18:36:59 +0000 (20:36 +0200)]
[FEATURE] Add fluid debug information to admin panel

This patch adds a new option to the admin panel to show debug information
about partials and sections in frontend.

Resolves: #76085
Releases: master
Change-Id: I3d37118280ef713db6d92a734f30c0f8bd4ae8eb
Reviewed-on: https://review.typo3.org/50095
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] Custom select renderTypes use TcaSelectItems 25/50325/2
Christian Kuhn [Sat, 22 Oct 2016 15:46:09 +0000 (17:46 +0200)]
[BUGFIX] Custom select renderTypes use TcaSelectItems

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

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

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

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

Change-Id: Ic71177e22b191a5abee90a7cfb9871167fe4611e
Resolves: #78381
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50325
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Mamadou Mbow <mmbow@dfau.de>
Tested-by: Mamadou Mbow <mmbow@dfau.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Fluidification of Avatar.php 65/49865/4
Marc Willmann [Mon, 5 Sep 2016 12:30:21 +0000 (14:30 +0200)]
[TASK] Fluidification of Avatar.php

Resolves: #77852
Change-Id: I60aae1b35219ac91e74d62cc57e1a48ec630a831
Reviewed-on: https://review.typo3.org/49865
Reviewed-by: Marco Bresch <marco.bresch@starfinanz.de>
Tested-by: Marco Bresch <marco.bresch@starfinanz.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
2 years ago[TASK] Add role typescript to Includes.txt 46/50346/2
Frank Naegler [Mon, 24 Oct 2016 16:49:04 +0000 (18:49 +0200)]
[TASK] Add role typescript to Includes.txt

This patch add the role „typescript“ to the Includes.txt.
With this patch code  in a rst file can be declared as TypeScript.

Resolves: #78406
Releases: master
Change-Id: I0351089bda104562ea191a05d0c188b732ba7f08
Reviewed-on: https://review.typo3.org/50346
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
2 years ago[BUGFIX] Remove old grunt-copy dependency 42/50342/2
Frank Naegler [Mon, 24 Oct 2016 14:51:16 +0000 (16:51 +0200)]
[BUGFIX] Remove old grunt-copy dependency

Resolves: #78403
Releases: master
Change-Id: I55ec9f662cd7ddd827f1f46ab9c1664aac22a5b6
Reviewed-on: https://review.typo3.org/50342
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Tested-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Reviewed-by: Patricia Tiedemann <pixelaeffchen@googlemail.com>
Tested-by: Patricia Tiedemann <pixelaeffchen@googlemail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Add jasmine typings as dev dependency 40/50340/2
Frank Naegler [Mon, 24 Oct 2016 14:06:04 +0000 (16:06 +0200)]
[TASK] Add jasmine typings as dev dependency

This patch add jasmine typings as dev dependency which brings IDE
support / code completion for the testing framework.

Resolves: #78397
Releases: master
Change-Id: I174cc178ded87670dcd8baba6d08a42e633cec34
Reviewed-on: https://review.typo3.org/50340
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Tested-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Reviewed-by: Patricia Tiedemann <pixelaeffchen@googlemail.com>
Tested-by: Patricia Tiedemann <pixelaeffchen@googlemail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Fix bug in Popover.setOptions and add JSUnit tests 39/50339/3
Frank Naegler [Mon, 24 Oct 2016 14:01:28 +0000 (16:01 +0200)]
[BUGFIX] Fix bug in Popover.setOptions and add JSUnit tests

Resolves: #78396
Releases: master
Change-Id: I9a132a547b3be04417094b3ce5a2e1eed6dd843c
Reviewed-on: https://review.typo3.org/50339
Reviewed-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Tested-by: Stefan Bürk <stefan.buerk@impactmedia.de>
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] Prevent duplicate pastes in rtehtmlarea 71/49871/5
Stefan Froemken [Tue, 6 Sep 2016 12:09:01 +0000 (14:09 +0200)]
[BUGFIX] Prevent duplicate pastes in rtehtmlarea

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

Resolves: #67661
Releases: master,7.6
Change-Id: I62418ed2d1ce72bb1fb2839e23eaeaa76f42a4c8
Reviewed-on: https://review.typo3.org/49871
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
2 years ago[TASK] Add js files in TypeScript folder to .gitignore 35/50335/3
Frank Naegler [Mon, 24 Oct 2016 11:31:13 +0000 (13:31 +0200)]
[TASK] Add js files in TypeScript folder to .gitignore

Resolves: #78389
Releases: master
Change-Id: Ic022f1a19859cf48d92a1e50d45327c42ea7be21
Reviewed-on: https://review.typo3.org/50335
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Patricia Tiedemann <pixelaeffchen@googlemail.com>
Tested-by: Patricia Tiedemann <pixelaeffchen@googlemail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[BUGFIX] Fetching configuration-comments should require no comma 65/50265/5
Stefan Neufeind [Tue, 18 Oct 2016 13:55:07 +0000 (15:55 +0200)]
[BUGFIX] Fetching configuration-comments should require no comma

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

Change-Id: Ia8149624e1b5bb1d4a685b70f3c197344733e22f
Resolves: #78333
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/50265
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
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] Load typings of no-def folder 32/50332/2
Frank Naegler [Mon, 24 Oct 2016 10:59:21 +0000 (12:59 +0200)]
[BUGFIX] Load typings of no-def folder

Resolves: #78388
Releases: master
Change-Id: Id73c21676ebb0225429bb81334be23fd5f01ed66
Reviewed-on: https://review.typo3.org/50332
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Tested-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>