Packages/TYPO3.CMS.git
2 years ago[TASK] Remove duplicate calls to substr in InfoPageTyposcriptConfigController 14/50514/2
Wouter Wolters [Sun, 6 Nov 2016 16:14:03 +0000 (17:14 +0100)]
[TASK] Remove duplicate calls to substr in InfoPageTyposcriptConfigController

substr is called 3 times with the same parameters, use one variable for this.

Resolves: #78583
Releases: master
Change-Id: Idc57e143c26cd190f8047d59f1e36cb745e9aaf8
Reviewed-on: https://review.typo3.org/50514
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: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[TASK] Update Fluid engine dependency to 2.0.2 15/50515/2
Claus Due [Sun, 6 Nov 2016 23:05:11 +0000 (00:05 +0100)]
[TASK] Update Fluid engine dependency to 2.0.2

Solves the following issues:

* ViewHelpers using compiling traits would call incorrect method if renderStatic was inherited
  https://github.com/TYPO3/Fluid/pull/226
* f:format.raw would not use the "value" argument if it was specified, only renderChildren used
  https://github.com/TYPO3/Fluid/pull/217
* Some ViewHelpers using content argument trait would fail to render or render unexpected
  output in compiled/not-compiled rendering respectively
  https://github.com/TYPO3/Fluid/pull/210

Change-Id: Ie7bbe6e63f3379a2df9d9cc2fea94cddcf4c1320
Resolves: #78584
Releases: master
Reviewed-on: https://review.typo3.org/50515
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] Drastically reduce TS re-parsing in TemplatePaths 10/50510/8
Claus Due [Sat, 5 Nov 2016 15:16:35 +0000 (16:16 +0100)]
[TASK] Drastically reduce TS re-parsing in TemplatePaths

This change implements a runtime cache which stores the view
configuration for extension keys. This
avoids calling removeDotsFromTS and other methods more
than one time per configuration.

Change-Id: I551fd8526d9a5576e22edaf45742ccb35c2f3aba
Fixes: #78580
Releases: master
Reviewed-on: https://review.typo3.org/50510
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: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
2 years ago[TASK] LiveSearch: Refactor use of queryBuilder to use prepared statements 07/50507/2
Manuel Selbach [Sat, 5 Nov 2016 13:23:58 +0000 (14:23 +0100)]
[TASK] LiveSearch: Refactor use of queryBuilder to use prepared statements

According to task #78437 queries should follow the prepared statement principle.
Thus the LiveSearch has to be refactored.

Change-Id: I301190314d6e2f86512d1f5c41bcf6991009258f
Resolves: #78578
Releases: master
Reviewed-on: https://review.typo3.org/50507
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: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[FOLLOWUP][TASK] Fluidification of Opendocs Toolbar (2nd try) 12/50512/2
Andreas Fernandez [Sat, 5 Nov 2016 18:07:57 +0000 (19:07 +0100)]
[FOLLOWUP][TASK] Fluidification of Opendocs Toolbar (2nd try)

`list($x, )` does not work on empty arrays, causing `$x` being null then.
The code now checks whether there are actually open docs and then does
the list() stuff.

Resolves: #78051
Releases: master
Change-Id: I73d2c3ca40bea8c3dce2ac1de0ec97e136bf228b
Reviewed-on: https://review.typo3.org/50512
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: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[FEATURE] Enumeration constants getName methods 03/50503/7
Anja Leichsenring [Fri, 4 Nov 2016 16:20:19 +0000 (17:20 +0100)]
[FEATURE] Enumeration constants getName methods

It comes in handy to use the names of enumeration objects
sometimes. Two getName() functions provide the name
once unchanged, once human readable.

Resolves: #78575
Releases: master
Change-Id: Ibb0e06c7462835097f9980a854c79c8f90a61672
Reviewed-on: https://review.typo3.org/50503
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[FOLLOWUP][TASK] Fluidification of Opendocs Toolbar 11/50511/2
Andreas Fernandez [Sat, 5 Nov 2016 17:49:02 +0000 (18:49 +0100)]
[FOLLOWUP][TASK] Fluidification of Opendocs Toolbar

The properties `$openDocs` and `$recentDocs` are described and treated
as arrays, but initialized as null values. This patch changes the
declaration to array.

Resolves: #78051
Releases: master
Change-Id: I859c13478b17ddd9fbb7ab7686099f27b3c0e7ea
Reviewed-on: https://review.typo3.org/50511
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[!!!][TASK] Migrate MissingFilesCommand to Symfony Console 88/50488/4
Benni Mack [Thu, 3 Nov 2016 07:06:39 +0000 (08:06 +0100)]
[!!!][TASK] Migrate MissingFilesCommand to Symfony Console

The EXT:lowlevel command "Missing Files" searches through
the reference index and checks for references (and soft references)
that are linked to files that are missing in the file system.

The command was previously available under
./typo3/cli_dispatch lowlevel_cleaner missing_files

and is now called via
./typo3/sysext/core/bin/typo3 cleanup:missingfiles

and allows the following options:
--dry-run - do not delete the references, but just print them
--update-refindex - update the reference index, do not ask the user

Resolves: #78577
Releases: master
Change-Id: I97776fb43f5232740521a6c994c1e72af827ff15
Reviewed-on: https://review.typo3.org/50488
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[TASK] Replace TCEmain with the new naming DataHandler 85/50485/5
Wouter Wolters [Wed, 2 Nov 2016 19:56:08 +0000 (20:56 +0100)]
[TASK] Replace TCEmain with the new naming DataHandler

The old class name is still in use in the core, replace them
with the new name DataHandler.

Resolves: #78550
Releases: master
Change-Id: I324e7b3037f8bf8df70d5c8db37d62a01ed710a4
Reviewed-on: https://review.typo3.org/50485
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: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[TASK] Fluidification of Opendocs Toolbar 29/50029/7
Michael Oehlhof [Mon, 26 Sep 2016 20:22:55 +0000 (22:22 +0200)]
[TASK] Fluidification of Opendocs Toolbar

Resolves: #78051
Releases: master
Change-Id: I579734bd47bd20cbc5d23d3bd4d8fe27426c248e
Reviewed-on: https://review.typo3.org/50029
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[DOC] Clarify phpdoc of SimpleFileBackend that lifetime is unsupported 08/50508/2
Markus Klein [Sat, 5 Nov 2016 14:11:16 +0000 (15:11 +0100)]
[DOC] Clarify phpdoc of SimpleFileBackend that lifetime is unsupported

Resolves: #78579
Releases: master, 7.6
Change-Id: I9260256630a6916bcc5b8cb8b93041f0a3bcf444
Reviewed-on: https://review.typo3.org/50508
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
2 years ago[!!!][TASK] Migrate LostFilesCommand to Symfony Console 87/50487/6
Benni Mack [Thu, 3 Nov 2016 06:13:26 +0000 (07:13 +0100)]
[!!!][TASK] Migrate LostFilesCommand to Symfony Console

The EXT:lowlevel command "LostFiles" searched through
uploads/* and checks if any files are not in use by TYPO3 by
checking against the reference index.

The command was previously available under
./typo3/cli_dispatch lowlevel_cleaner lost_files

and is now called via
./typo3/sysext/core/bin/typo3 cleanup:lostfiles

and allows the following options:
--dry-run - do not delete the files, but just print them
--exclude=uploads/pics/,uploads/downloads/ -- skip certain folders and files
--update-refindex - update the reference index, do not ask the user

Resolves: #78552
Releases: master
Change-Id: I1f20c4c2f47d1dd13f8f32433e7e0d0666518d5a
Reviewed-on: https://review.typo3.org/50487
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: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
2 years ago[!!!][TASK] Migrate OrphanRecords Command to Symfony Console 38/50438/7
Benni Mack [Sat, 29 Oct 2016 21:37:29 +0000 (23:37 +0200)]
[!!!][TASK] Migrate OrphanRecords Command to Symfony Console

The CLI cleaner command "orphan_records" in EXT:lowlevel is
migrated to a command based on Symfony Console.

Previoulsy it was called via
typo3/cli_dispatch.phpsh lowlevel_cleaner orphan_records -s -r

Now you use
typo3/sysext/core/bin/typo3 cleanup:orphanrecords
(optional via --dry-run)

Resolves: #78520
Releases: master
Change-Id: I1e1462ce45e76964d0b67bd782e5f216b3d2cf37
Reviewed-on: https://review.typo3.org/50438
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>
2 years ago[TASK] Remove unused main module language files 98/50498/2
Wouter Wolters [Thu, 3 Nov 2016 21:36:47 +0000 (22:36 +0100)]
[TASK] Remove unused main module language files

Files are unused since TYPO3 4.2

Resolves: #78565
Releases: master
Change-Id: I3cc145b056fd4479611c3f0ad8cb71da9907841a
Reviewed-on: https://review.typo3.org/50498
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Load ext_emconf information in extension installation 84/50484/3
Nicole Cordes [Wed, 2 Nov 2016 11:53:48 +0000 (12:53 +0100)]
[BUGFIX] Load ext_emconf information in extension installation

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

Resolves: #78540
Releases: master, 7.6, 6.2
Change-Id: I16bddc91cb2523488cedc2293936eeb8aa2eb577
Reviewed-on: https://review.typo3.org/50484
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[TASK] Remove unused locallang file for clearcache menu 97/50497/2
Wouter Wolters [Thu, 3 Nov 2016 20:35:48 +0000 (21:35 +0100)]
[TASK] Remove unused locallang file for clearcache menu

The locallang file is not used in the core anymore since 6.2

Resolves: #78564
Releases: master
Change-Id: I8b0cf2fd779e0a017de15c1c778518a6f7f14ed1
Reviewed-on: https://review.typo3.org/50497
Tested-by: TYPO3com <no-reply@typo3.com>
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>
2 years ago[TASK] Upgrade Fluid engine to 2.0.1 96/50496/3
Claus Due [Thu, 3 Nov 2016 19:36:58 +0000 (20:36 +0100)]
[TASK] Upgrade Fluid engine to 2.0.1

Doing so solves the following issues:

* Cached files not correctly detected (CMS not affected, uses different backend)
   https://github.com/TYPO3/Fluid/commit/cbbe195635a06d5bbe24dfe4a5db638c779ef30d
* Output of `f:spaceless` was escaped and should not be
   https://github.com/TYPO3/Fluid/commit/f337dad28dcf05fee4979228f46e21757b8019bb
* Detect keys ending with a digit in array expressions
   https://github.com/TYPO3/Fluid/commit/52bf96a63e93c11f6f17bf8b7cc5a08c07fdf55f

Change-Id: I3b41f95af147632ac5ca28c69873e182f118fec3
Resolves: #78563
Releases: master
Reviewed-on: https://review.typo3.org/50496
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[TASK] Delete unused iframepanel JavaScript code 80/50480/2
Wouter Wolters [Tue, 1 Nov 2016 22:37:05 +0000 (23:37 +0100)]
[TASK] Delete unused iframepanel JavaScript code

Since the new ViewPort setup the iframepanel JavaScript
code is unused. The new ViewPort code marked this code already
as a breaking change.

Resolves: #78536
Releases: master
Change-Id: I651dbcd99af76e20f36e8eb7d0c29cf22ddd304a
Reviewed-on: https://review.typo3.org/50480
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>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Load modulemenu as RequireJs module 82/50482/3
Wouter Wolters [Tue, 1 Nov 2016 23:16:10 +0000 (00:16 +0100)]
[TASK] Load modulemenu as RequireJs module

Rename the modulemenu JavaScript file to ModuleMenu.js
Load the module with RequireJS in the BackendController.

Resolves: #78538
Releases: master
Change-Id: I2da6a6fd2c3ecdb8cb0fa7267a079c8f6eba1a3d
Reviewed-on: https://review.typo3.org/50482
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
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>
2 years ago[BUGFIX] Use correct path to JS resources 75/50475/2
Nicole Cordes [Tue, 1 Nov 2016 15:10:07 +0000 (16:10 +0100)]
[BUGFIX] Use correct path to JS resources

This problem is related to the change https://review.typo3.org/48915/.
The patch removed usage of ExtensionManagementUtility::extRelPath and
replaced it with other calls. While trying to resolve a relative path
in BackendController::loadResourcesForRegisteredNavigationComponents,
a wrong replacement was introduced. This patch ensures the old behaviour
to retrieve the relative path.

Resolves: #78490
Releases: master
Change-Id: I2c2edf6d1b02efd95b4485da88777eec0dd515c6
Reviewed-on: https://review.typo3.org/50475
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Malte Koitka <malte@cytrus.de>
Tested-by: Malte Koitka <malte@cytrus.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
2 years ago[TASK] Update ext:styleguide to 8.0.5 83/50483/2
Christian Kuhn [Wed, 2 Nov 2016 02:28:55 +0000 (03:28 +0100)]
[TASK] Update ext:styleguide to 8.0.5

Change-Id: Ia94a213f81d45db978e7a95e857283d4d9c32848
Resolves: #78539
Releases: master
Reviewed-on: https://review.typo3.org/50483
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 not evaluated JavaScript property fsMod.currentMainLoaded 81/50481/2
Wouter Wolters [Tue, 1 Nov 2016 22:50:18 +0000 (23:50 +0100)]
[TASK] Remove not evaluated JavaScript property fsMod.currentMainLoaded

This property is unevaluated since TYPO3 6.1

Resolves: #78537
Releases: master
Change-Id: Id5decd6d06b05bfc2c13b35870a8576d4b461b52
Reviewed-on: https://review.typo3.org/50481
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>
2 years ago[TASK] Remove JavaScript setting consoleOverrideWithDebugPanel 79/50479/2
Wouter Wolters [Tue, 1 Nov 2016 22:29:32 +0000 (23:29 +0100)]
[TASK] Remove JavaScript setting consoleOverrideWithDebugPanel

No usage of the setting consoleOverrideWithDebugPanel is in the core.

Resolves: #78535
Releases: master
Change-Id: Ib02d98390794dc0d5e334127db1fb780d382b18c
Reviewed-on: https://review.typo3.org/50479
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>
2 years ago[TASK] Remove check for startInTaskCenter to set as startModule 78/50478/2
Wouter Wolters [Tue, 1 Nov 2016 22:05:41 +0000 (23:05 +0100)]
[TASK] Remove check for startInTaskCenter to set as startModule

The backend user setting has been removed already since TYPO3 4.3
We can safely drop this check.

Resolves: #78534
Releases: master
Change-Id: I45c68254c1ade2eae7aff29cb552b83d0db9a87c
Reviewed-on: https://review.typo3.org/50478
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>
2 years ago[TASK] Use new modal for not found page when using &edit as parameter 77/50477/2
Wouter Wolters [Tue, 1 Nov 2016 21:44:20 +0000 (22:44 +0100)]
[TASK] Use new modal for not found page when using &edit as parameter

When using &edit=123124312321 as extra parameter for the backend
an oldschool alert is shown.
Replace this with a nicer modal.

Resolves: #78533
Releases: master
Change-Id: I83d3c7bd358a0eced599a31ec51af6186089d723
Reviewed-on: https://review.typo3.org/50477
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.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[BUGFIX] Add page.target to external links in fluid_styled_content 49/50449/2
Michael Oehlhof [Mon, 31 Oct 2016 09:36:58 +0000 (10:36 +0100)]
[BUGFIX] Add page.target to external links in fluid_styled_content

Resolves: #78006
Releases: master
Change-Id: I1e1caf13e4b8da7ed1a6253c3004fe2b94593aa1
Reviewed-on: https://review.typo3.org/50449
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Remove leftover page/branch versioning code 62/50462/8
Benni Mack [Mon, 31 Oct 2016 20:09:01 +0000 (21:09 +0100)]
[TASK] Remove leftover page/branch versioning code

There are several places within EXT:version and DataHandler
which try to do "pageVersionizing" but it's not possible
anymore (see removed code in "new" section of DataHandlerHook)
since TYPO3 v7.

This also means that the `versioning_followPages` option is removed
completely from the Core.

Resolves: #78524
Releases: master
Change-Id: I6166e198fc74922aa34e2ae49440e4c0fe4354a6
Reviewed-on: https://review.typo3.org/50462
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>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[TASK] Allow multiple search words for file search 58/50458/2
Markus Klein [Mon, 31 Oct 2016 19:26:26 +0000 (20:26 +0100)]
[TASK] Allow multiple search words for file search

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

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

Resolves: #78519
Releases: master, 7.6
Change-Id: I95dcdf3418bfc9090a16c4f199af60799437390e
Reviewed-on: https://review.typo3.org/50458
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: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
2 years ago[BUGFIX] Always log exception data if file handling fails 55/50455/2
Markus Klein [Mon, 31 Oct 2016 15:15:33 +0000 (16:15 +0100)]
[BUGFIX] Always log exception data if file handling fails

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

Resolves: #78517
Releases: master, 7.6
Change-Id: I503f5bf17bba302326b9e9eb25faa58c00e35a36
Reviewed-on: https://review.typo3.org/50455
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] 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>