Packages/TYPO3.CMS.git
3 years ago[BUGFIX] Initialize database connection in ClearCacheService 36/39636/4
Morton Jonuschat [Wed, 20 May 2015 19:06:03 +0000 (21:06 +0200)]
[BUGFIX] Initialize database connection in ClearCacheService

Without calling initialize() on the DatabaseConnection object
the DBAL the resulting connection configuration will default
to the "native" driver type (MySQL) which results in an error
as there is no MySQL server to contact with the given connection
parameters.

Resolves: #67066
Releases: master, 6.2
Change-Id: Id5d70a122dcca806ee1122cecacad0c8aef27547
Reviewed-on: http://review.typo3.org/39636
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Don't add TypoScript twice to defaultContentRendering 80/39680/3
Markus Klein [Sat, 23 May 2015 17:14:02 +0000 (19:14 +0200)]
[BUGFIX] Don't add TypoScript twice to defaultContentRendering

Calling the addTypoScript() method with last parameter set to
'defaultContentRendering' must not add the TypoScript twice.

Resolves: #67116
Releases: master, 6.2
Change-Id: I3161c62ac0ab25369fabc3f8163e5d92356aa0ca
Reviewed-on: http://review.typo3.org/39680
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[CLEANUP] ExtensionManagementUtilityTest 65/39665/3
Christian Kuhn [Fri, 22 May 2015 18:33:30 +0000 (20:33 +0200)]
[CLEANUP] ExtensionManagementUtilityTest

* Extract the AccessibleProxy to an own file to get
  rid of an evil eval() and make the class smarter
  for IDE's
* Greenify as much as possible for PhpStorm

Change-Id: I851e5e9832633bf2308e50d9d8bce13f6657119d
Resolves: #67113
Releases: master
Reviewed-on: http://review.typo3.org/39665
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[!!!][TASK] Deprecate typo3conf/extTables.php functionality 35/37235/4
Christian Kuhn [Fri, 22 May 2015 16:29:55 +0000 (18:29 +0200)]
[!!!][TASK] Deprecate typo3conf/extTables.php functionality

Using typo3conf/extTables.php for TCA overrides is bad practice.
Nowadays, stuff like that should reside in an extension that
uses Configuration/TCA/Overrides.

The patch deprecates the according parameters and logs if
an instance still has an typo3conf/extTables.php file.

The functionality within lowlevel "Configuration" backend
module to write overrides to this file is removed.

Change-Id: I648b985de4636c6af2cfb50bf8e106c472cb0fee
Releases: master
Resolves: #65344
Reviewed-on: http://review.typo3.org/37235
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>
3 years ago[TASK] Modernize irre_tutorial fixture 63/39663/2
Christian Kuhn [Fri, 22 May 2015 15:03:31 +0000 (17:03 +0200)]
[TASK] Modernize irre_tutorial fixture

Use Configuration/TCA instead of TCA registration in ext_tables.php

Resolves: #67110
Releases: master
Change-Id: I86545f3adcc58c54d74c2ae15cb7a5e1fda043ce
Reviewed-on: http://review.typo3.org/39663
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[BUGFIX] FlexFormContainer: Read field name correctly from globalOptions 58/39658/2
Sebastian Michaelsen [Fri, 22 May 2015 11:00:50 +0000 (13:00 +0200)]
[BUGFIX] FlexFormContainer: Read field name correctly from globalOptions

The field name is read from the wrong array key, resulting in a broken
flexform.

Resolves: #67105
Releases: master
Change-Id: I64c7d1f2dfc6bf2338eaa1f1e4195dd5f139dbc8
Reviewed-on: http://review.typo3.org/39658
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>
3 years ago[BUGFIX] Package Management only allows TYPO3 Extensions 32/39632/6
Benjamin Mack [Wed, 20 May 2015 13:21:33 +0000 (21:21 +0800)]
[BUGFIX] Package Management only allows TYPO3 Extensions

Fix a bug in the recent Package Management refactoring resulting in
Package instances only allowed if they contain an ext_emconf.php file.
This basically disallows any third-party code installed inside
Packages/ due to checking if an ext_emconf.php is present before
checking for a composer file.

Resolves: #67060
Releases: master
Change-Id: I1bec43faafc0c073da52c3bbb1945f47f6864930
Reviewed-on: http://review.typo3.org/39632
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Generate thumbnails for files without width/height 77/39077/5
Markus Klösges [Thu, 30 Apr 2015 10:06:32 +0000 (12:06 +0200)]
[BUGFIX] Generate thumbnails for files without width/height

Thumbnails should not upscale images, therefore we check for the
original size against thumbnail size. If original size is 0 (as for
pdf-Files) this leads to not generating thumbnails for those files. Now
checking original width/height against 0 to prevent this and generate
thumbs for those files again.

Resolves: #66679
Related: #66270
Releases: master, 6.2
Change-Id: I5823142a6be19e6068fea358027dc808f5fd3185
Reviewed-on: http://review.typo3.org/39077
Tested-by: Markus Klösges <mkloesges@gmx.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Check page access only if integer in ModuleRunner 48/39648/2
Nicole Cordes [Thu, 21 May 2015 11:25:59 +0000 (13:25 +0200)]
[BUGFIX] Check page access only if integer in ModuleRunner

If you register a module in main module "file" an error is thrown
because the ModuleRunner checks page access for the variable "id".
In any file module the id is a FAL identifier which can't be converted
to an integer value and the check fails.

This patch adds a limitation to the ModuleRunner to check page access
only if the id can be interpreted as integer value.

Releases: master, 6.2
Resolves: #67079
Change-Id: Iba44499b9b13172818aee48aefb01d102f810285
Reviewed-on: http://review.typo3.org/39648
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.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>
3 years ago[FEATURE] Add Data Processing to FLUIDTEMPLATE content object 19/39519/7
Patrick Broens [Wed, 13 May 2015 07:57:26 +0000 (09:57 +0200)]
[FEATURE] Add Data Processing to FLUIDTEMPLATE content object

The content object FLUIDTEMPLATE is extended with `dataProcessing`. With this
setting you can add full namespace class references, which can manipulate
the $data variable of the current rendered content object, like tt_content or
page, before assigning this variable to the view.

Change-Id: I757db37d86e1cf907de0116c3c63effc5270a3c1
Resolves: #66907
Releases: master
Reviewed-on: http://review.typo3.org/39519
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[BUGFIX] Use strict comparison for EXT:mediace arrays 45/39645/2
Benjamin Mack [Thu, 21 May 2015 07:04:43 +0000 (15:04 +0800)]
[BUGFIX] Use strict comparison for EXT:mediace arrays

Due to strict warnings it is not possible to use media content elements
anymore and add a simple youtube video, as a fatal is thrown here.

The change modifies the array check to be stricter.

Resolves: #67074
Releases: master
Change-Id: Ib2dfe78b39e00863b3995b7412333b0260064873
Reviewed-on: http://review.typo3.org/39645
Reviewed-by: Sebastian Michaelsen <michaelsen@t3seo.de>
Tested-by: Sebastian Michaelsen <michaelsen@t3seo.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Cedric Ziel <cedric@cedric-ziel.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years agoRevert "[!!!][TASK] Merge typo3/sysext/core/Build/ to Build/ directory" 49/39649/3
Christian Kuhn [Thu, 21 May 2015 12:08:05 +0000 (14:08 +0200)]
Revert "[!!!][TASK] Merge typo3/sysext/core/Build/ to Build/ directory"

The change does not play well with a symlinked core and
is reverted for now.

This reverts commit e6474fe5176c040201eae9e6ddf9b6134a54a540.

Change-Id: I74ddc970a20d34a4d105a91cbdd5f12486c9568b
Releases: master
Reverts: #67076
Reviewed-on: http://review.typo3.org/39649
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>
4 years ago[!!!][TASK] Merge typo3/sysext/core/Build/ to Build/ directory 47/39647/4
Christian Kuhn [Wed, 20 May 2015 11:52:28 +0000 (13:52 +0200)]
[!!!][TASK] Merge typo3/sysext/core/Build/ to Build/ directory

With the grunt integration a Build/ directory on repository root
level was introduced. Out test infrastructure currently relies
on a second Build/ folder located in typo3/sysext/core/.
The patch moves all files from the core Build directory to the
new global one and adapts paths.
As benefit, paths are shorter and easier to find and remember now.

This patch is breaking for test environments and extensions that
rely on the recommended core test infrastructure for unit and
functional tests.

A typical test run now should look like:

bin/phpunit -c Build/UnitTests.xml

Change-Id: I9d87a566835f5849ce1e0e22d922d24c4b46ff31
Releases: master
Resolves: #67076
Reviewed-on: http://review.typo3.org/39647
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Deprecate uc->classicPageEditMode and editRegularContentFromId 74/39474/2
Benjamin Mack [Tue, 12 May 2015 04:28:12 +0000 (12:28 +0800)]
[TASK] Deprecate uc->classicPageEditMode and editRegularContentFromId

There is some leftover, never-called code in a regular TYPO3 instance
regarding the old uc->classicPageEditMode option and its companion
functionality in EditDocumentController->editRegularContentFromId
which has been marked for deprecation.

Resolves: #66905
Releases: master
Change-Id: I0a428e411b9d7a0a646c7356d773a369c9397dde
Reviewed-on: http://review.typo3.org/39474
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[TASK] Make fileedit hook JavaScript for ext:t3editor an AMD module 34/39634/3
Wouter Wolters [Wed, 20 May 2015 18:51:55 +0000 (20:51 +0200)]
[TASK] Make fileedit hook JavaScript for ext:t3editor an AMD module

Resolves: #67065
Releases: master
Change-Id: Iff8ece078dc612c362b3e291da466b29250c8cb1
Reviewed-on: http://review.typo3.org/39634
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[BUGFIX] Show full folder path in file list title 63/38763/8
Christian Weiske [Fri, 17 Apr 2015 15:25:29 +0000 (17:25 +0200)]
[BUGFIX] Show full folder path in file list title

We have to use the name and cannot rely on the identifier, since
they can be random UUID values.

This also fixes a wrong folder name in the paste confirm message.

Change-Id: I092efdc5b666c9010717136bc063b155479eadab
Resolves: #64759
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/38763
Reviewed-by: Christian Weiske <typo3@cweiske.de>
Tested-by: Christian Weiske <typo3@cweiske.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[BUGFIX] BE: DatabaseTreeDataProvider maxLevels incorrect 96/37196/7
Andreas Allacher [Wed, 25 Feb 2015 07:45:45 +0000 (08:45 +0100)]
[BUGFIX] BE: DatabaseTreeDataProvider maxLevels incorrect

The current behaviour for maxLevels with treeConfig is incorrect.
Currently if one uses maxLevels 0, instead of only seeing the root category,
one actually is presented of nodes up to level 2
(if one would specify the levels in nonSelectableLevels).
With maxLevels 1 it is already up to level 3.
Of course, maxLevels 0 should only display the root level, maxLevels 1 only the first child nodes.
Also increased default levelMaximum to 4, in order to ensure old non configured
trees are still behaving as intended.

Change-Id: Ic1565e39abad01599dd67bbb05b0ce9fa7161af4
Resolves: #65304
Releases: master
Reviewed-on: http://review.typo3.org/37196
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>
4 years ago[TASK] Make Content Element "Special Menus" field bigger 32/39532/5
Benjamin Mack [Wed, 13 May 2015 13:06:48 +0000 (21:06 +0800)]
[TASK] Make Content Element "Special Menus" field bigger

Increase the maxitems value to 50 to allow more values for bigger sites.

Releases: master
Resolves: #59523
Change-Id: Ie25974844bf7ce9f0b7995169964748872eb3f1a
Reviewed-on: http://review.typo3.org/39532
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>
4 years ago[TASK] Indexed_search: cleanup in SearchController 87/39587/3
Tymoteusz Motylewski [Tue, 17 Mar 2015 18:05:21 +0000 (19:05 +0100)]
[TASK] Indexed_search: cleanup in SearchController

* Add getter for databaseConnection in SearchController
* Add use statements

Releases: master
Resolves: #66998
Change-Id: I8c4e98cbf3ed0c1fb8b9d8876d6094028c2e5a49
Reviewed-on: http://review.typo3.org/39587
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>
4 years ago[TASK] Crop scheduler additional information 94/39594/2
Andreas Fernandez [Mon, 18 May 2015 08:05:14 +0000 (10:05 +0200)]
[TASK] Crop scheduler additional information

Crop additional task information based on `titleLen`.

Resolves: #67002
Releases: master
Change-Id: I16b2f7106b8485989e1df2ab4958d61308a8e3c7
Reviewed-on: http://review.typo3.org/39594
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>
4 years ago[!!!][TASK] Remove login security levels super-/challenged 76/39576/10
Markus Klein [Fri, 15 May 2015 23:19:59 +0000 (01:19 +0200)]
[!!!][TASK] Remove login security levels super-/challenged

* Remove (super)challenged login security levels
* Make loginSecurityLevel 'normal' the new default
* Change Backend login JS to use real submit event
* Refine hook usage of LoginController
* Remove unused code in ext:sv

Note:
OpenId login is broken due to hidden, but required, password field.
This will be resolved with the new Backend login API. #66669

Resolves: #66997
Releases: master
Change-Id: I280783588aabc78bc9bd9d1c7ee12e67bac9ed63
Reviewed-on: http://review.typo3.org/39576
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>
4 years ago[BUGFIX] Add missing (string) cast in dbal/DatabaseConnection 25/39625/2
Morton Jonuschat [Tue, 19 May 2015 17:25:11 +0000 (19:25 +0200)]
[BUGFIX] Add missing (string) cast in dbal/DatabaseConnection

This is a regression fix for #54091.
It has been forgotten to cast the lastQuery to a string before
checking if it's empty

Resolves: #67040
Related: #54091
Releases: master
Change-Id: I6991cad799e686066f8205749baee4aed20a9127
Reviewed-on: http://review.typo3.org/39625
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Remove backdrop of cropper modal properly 17/39617/2
Andreas Fernandez [Tue, 19 May 2015 10:31:43 +0000 (12:31 +0200)]
[BUGFIX] Remove backdrop of cropper modal properly

Remove the `remove()` call when the cropper modal gets
closed.

Resolves: #67030
Related: #66969
Releases: master
Change-Id: Ibec6f8ee803ce4b4d6528367f25608cf0b38e21f
Reviewed-on: http://review.typo3.org/39617
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[!!!][TASK] Simplify PackageManagement / Remove Flow 18/39518/11
Benjamin Mack [Wed, 13 May 2015 06:47:31 +0000 (14:47 +0800)]
[!!!][TASK] Simplify PackageManagement / Remove Flow

The PackageManager was originally backported from Flow
but includes too many classes and options that the Core does not
use or cannot use at all.

The Package code is thus merged with only the parts needed
for the TYPO3 Core, and adapted accordingly. All Flow classes
are either removed or merged into the needed Package classes
of the TYPO3 Core.

In order to speed up the bootstrap and prepare for tight composer
integration, this task needs to be sorted out first.

Next step is to further cleanup code within the Package*
classes themselves - things that are not called at all in
the TYPO3 Core.

Resolves: #67027
Releases: master
Change-Id: Ia6823374afa515902e3d5237cef596a440747e3b
Reviewed-on: http://review.typo3.org/39518
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Deprecate page.bgImg TypoScript option 14/39614/3
Wouter Wolters [Tue, 19 May 2015 09:23:36 +0000 (11:23 +0200)]
[TASK] Deprecate page.bgImg TypoScript option

Resolves: #67029
Releases: master
Change-Id: I0f92ea91875455ea0e6726b11cf07f53b468e3a6
Reviewed-on: http://review.typo3.org/39614
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Add missing comma in ViewHelper example 18/39618/2
Georg Ringer [Tue, 19 May 2015 11:03:40 +0000 (13:03 +0200)]
[BUGFIX] Add missing comma in ViewHelper example

A comma needs to be added in an example of f:uri.image

Resolves: #66851
Releases: master, 6.2
Change-Id: Ib0a8f3d97a3f51b075b1e0e6a2208ae4c659ed6d
Reviewed-on: http://review.typo3.org/39618
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Travis: Remove hhvm-nightly for now 15/39615/2
Christian Kuhn [Tue, 19 May 2015 10:05:21 +0000 (12:05 +0200)]
[TASK] Travis: Remove hhvm-nightly for now

hhvm-nightly is no longer available on travi-ci and removed
from the build for now.

Releases: master
Change-Id: I92751c17e6e2a2f55fd956ff0a9fe069edb180aa
Reviewed-on: http://review.typo3.org/39615
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>
4 years ago[BUGFIX] Prevent wrong record copies 05/39605/4
Nicole Cordes [Tue, 19 May 2015 07:28:46 +0000 (09:28 +0200)]
[BUGFIX] Prevent wrong record copies

Before starting any record copy process, we have to check if the
destination page can handle the record type. Currently if you copy a
record with IRRE references, the references are copied first but the
original record isn't copied because of missing permissions. The
copied IRRE elements stay and pollute the original record as the
references are added to it. This patch adds a check if the destination
page can handle the mother record type and starts copy process only if
allowed.

Resolves: #66920
Releases: master, 6.2
Change-Id: I274792b13170f37e3e799ff892ea877ba44d90a8
Reviewed-on: http://review.typo3.org/39605
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[!!!][TASK] Remove global configuration option GFX/png_to_gif 75/39475/6
Benjamin Mack [Tue, 12 May 2015 04:45:22 +0000 (12:45 +0800)]
[!!!][TASK] Remove global configuration option GFX/png_to_gif

The option png_to_gif was previously used to minimize
the size of generated images. In the current web development
png (with the support of all major browsers) has overtaken gif
functionality. The option, which was off by default for some
versions, has been removed. All calls to the actual "convert"
method in GraphicalFunction have been removed, the function
itself has been marked for deprecation.

Resolves: #66906
Releases: master
Change-Id: I1e134812f55ce8026e468b12ec12ec61e4d9d104
Reviewed-on: http://review.typo3.org/39475
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Focus tab on "Login expiring" notification 06/39606/2
Andreas Fernandez [Mon, 18 May 2015 21:15:24 +0000 (23:15 +0200)]
[TASK] Focus tab on "Login expiring" notification

Focus the tab that renders the "Login expiring" notification on click.

Resolves: #67022
Releases: master
Change-Id: I740d1ddaf07f58124045929f69b8b2642bc24828
Reviewed-on: http://review.typo3.org/39606
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[BUGFIX] Enable IE10+ users to enter login credentials after initial load 04/39604/2
Benjamin Kott [Mon, 18 May 2015 19:04:38 +0000 (21:04 +0200)]
[BUGFIX] Enable IE10+ users to enter login credentials after initial load

A problem with the autofocus chain and the autofocus attribute,
prevented users on IE10+ to enter their login credentials for
backend access directly after initial load.

Releases: master
Resolves: #67024
Change-Id: I21af4156345f610433d3f4f8d02aa1804dae2f2b
Reviewed-on: http://review.typo3.org/39604
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] felogin: Use correct regex in redirect evaluation 00/39600/4
Markus Klein [Mon, 18 May 2015 17:28:00 +0000 (19:28 +0200)]
[BUGFIX] felogin: Use correct regex in redirect evaluation

Resolves: #67013
Releases: master, 6.2
Change-Id: Ifaf0a3125ac6b5c0f9e13c2f5c3d4db94aa43ea9
Reviewed-on: http://review.typo3.org/39600
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Use GeneralUtility::quoteJSvalue() where needed part 2 37/39037/7
Wouter Wolters [Tue, 28 Apr 2015 17:00:33 +0000 (19:00 +0200)]
[TASK] Use GeneralUtility::quoteJSvalue() where needed part 2

This patch resolves it for all FormEngine related classes.

Resolves: #66635
Releases: master
Change-Id: I436e8990aa3c003dd5005937a429168825b56fb5
Reviewed-on: http://review.typo3.org/39037
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>
4 years ago[BUGFIX] Correctly insert session data after deleting them 97/39597/2
Markus Klein [Mon, 18 May 2015 11:07:36 +0000 (13:07 +0200)]
[BUGFIX] Correctly insert session data after deleting them

Reset session data timestamp when removing session data in order to
assure that new session data are stored via INSERT later again.

Resolves: #67007
Releases: master, 6.2
Change-Id: I181017687f9569d4e2a16ca3a970367b05cf7d52
Reviewed-on: http://review.typo3.org/39597
Reviewed-by: Johann Carstens <johann.carstens@conlabz.de>
Tested-by: Johann Carstens <johann.carstens@conlabz.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[FOLLOWUP][TASK] FormEngine: The factory 98/39598/2
Christian Kuhn [Mon, 18 May 2015 12:43:41 +0000 (14:43 +0200)]
[FOLLOWUP][TASK] FormEngine: The factory

Small follow up to fix some mostly cosmetical issues.

Resolves: #67006
Releases: master
Change-Id: Ie9ffab0e5bce9e8c97d87a6ff4c213e788cd1bf7
Reviewed-on: http://review.typo3.org/39598
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>
4 years ago[TASK] FormEngine: The factory 17/39517/6
Christian Kuhn [Tue, 12 May 2015 21:41:46 +0000 (23:41 +0200)]
[TASK] FormEngine: The factory

Creation of container and elements instances in the FormEngine is
hard coded and hard to overwrite or adapt.
The patch extends the existing NodeFactory with resolver code to
find an appropriate class for a given requested type. All FormEngine
internal container and element requests are now routed through
NodeFactory. This allows to loosen the strict dependency between
TCA config "type" to an implementing class by moving the resolving
code into the factory. This is done for SelectElement which is now
split into multiple smaller classes - one for each display type. The
NodeFactory is covered by unit tests since the resolving code will
become more complex and fine grained in the future.
As a side effect the patch resolves a hack in the FormDataTraverser
which no longer calls internal stuff of the select element.
The NodeFactory is prepared to be extended with an API for extensions
to steer and overwrite default implementations. This will be added
with a next patch.

Change-Id: I2253a0fe3240366d0d271a3cd82119ce3dc52012
Resolves: #67006
Releases: master
Reviewed-on: http://review.typo3.org/39517
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FEATURE] TypoScript condition add GPmerged 57/37157/10
Andreas Allacher [Tue, 24 Feb 2015 09:25:15 +0000 (10:25 +0100)]
[FEATURE] TypoScript condition add GPmerged

If one uses TypoScript condition with GP then the check is with
GeneralUtility::_GP() which will means that if I have GET variables
beginning with an extbase plugin-namespace and POST variables with
the same plugin-namespace, e.g.
GET: tx_demo_demo[action]=detail
POST: tx_demo_demo[name]=Foo

then GeneralUtility::_GP('tx_demo_demo'), as intended, will only
return the array of the POST variables for that namespace.

However, that results in the issue that if I check for the GET variable
the check will fail.

So for such cases there is a new TypoScript condition
GPmerged which uses GeneralUtility::_GPmerged()

Change-Id: I772c1c1d178b10e9293132bc41bfc36fabd53063
Resolves: #65250
Releases: master
Reviewed-on: http://review.typo3.org/37157
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[TASK] Streamline searchfield in language module 88/39588/2
Benjamin Kott [Sun, 17 May 2015 09:31:04 +0000 (11:31 +0200)]
[TASK] Streamline searchfield in language module

Releases: master
Resolves: #66999
Change-Id: I3f2d9ff945021ac0a6f9aac79033ff05c0f55db4
Reviewed-on: http://review.typo3.org/39588
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[FOLLOWUP][!!!][TASK] Rewrite ValueSlider to AMD module 86/39586/2
Andreas Fernandez [Sun, 17 May 2015 06:12:10 +0000 (08:12 +0200)]
[FOLLOWUP][!!!][TASK] Rewrite ValueSlider to AMD module

The slider object bound to "renderTooltipValue" does not contain
the configuration set in the DOM by data attributes. Get the
element containing these attributes and us this instead.

Resolves: #66991
Releases: master
Change-Id: Ib8df38bc84cf9848b55995619d952b300dec0540
Reviewed-on: http://review.typo3.org/39586
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[TASK] Replace GeneralUtility::inList() with isset() within loops 38/37138/3
Jo Hasenau [Mon, 23 Feb 2015 20:08:00 +0000 (21:08 +0100)]
[TASK] Replace GeneralUtility::inList() with isset() within loops

Rule of thumb should be to use GeneralUtility::inList() for
single checks of lists with unknown values only. Within loops
it will be faster to explode the list outside the loop, then flip
the array and finally use isset on the array keys within the loop.

Hardcoded lists might be replaced with arrays as well.

See the issue on forge for a description and some benchmarks.

This will not fully resolve the issue since there will be more
patches to come, since we should avoid monster patches to minimize
the risk of regressions.

Releases: master
Resolves: #55626
Change-Id: I5a0d8ea6f71a4f8fd39587c5ec3bfcb557d4c777
Reviewed-on: http://review.typo3.org/37138
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[!!!][TASK] Rewrite ValueSlider to AMD module 16/38516/16
Wouter Wolters [Tue, 7 Apr 2015 16:27:01 +0000 (18:27 +0200)]
[!!!][TASK] Rewrite ValueSlider to AMD module

Resolves: #66991
Releases: master
Change-Id: Ib78eab523fb6ecdba415bf4b07e15690794c2da1
Reviewed-on: http://review.typo3.org/38516
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[TASK] Speed and cleanup PageRepository 00/37800/8
Wouter Wolters [Thu, 12 Mar 2015 22:06:06 +0000 (23:06 +0100)]
[TASK] Speed and cleanup PageRepository

* use strict checks
* shorten namespaces
* remove count() were possible

Resolves: #65731
Releases: master
Change-Id: I297679d373669b5b75ffaae5111c400f69ac922a
Reviewed-on: http://review.typo3.org/37800
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[BUGFIX] Keep scroll position in Debug Console 79/39579/4
Andreas Fernandez [Sat, 16 May 2015 11:58:24 +0000 (13:58 +0200)]
[BUGFIX] Keep scroll position in Debug Console

If autoscroll is either disabled or content is written into
an inactive tab, stay at the scroll position of the affected tab.

Resolves: #66992
Releases: master
Change-Id: I8a3a16fe703a76ea3a66a31195b05e06e83b8987
Reviewed-on: http://review.typo3.org/39579
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Update twbs/bootstrap to 3.3.4 65/39565/3
Wouter Wolters [Fri, 15 May 2015 11:22:36 +0000 (13:22 +0200)]
[TASK] Update twbs/bootstrap to 3.3.4

Resolves: #66969
Releases: master
Change-Id: Icd0e6a2193da9868c1456061dd089ee293329afe
Reviewed-on: http://review.typo3.org/39565
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] Constant editor doesn't show new values after save 75/39575/3
Sebastian Michaelsen [Fri, 15 May 2015 20:44:17 +0000 (22:44 +0200)]
[BUGFIX] Constant editor doesn't show new values after save

Re-read the constant values to be displayed in the form after a data
update was performed.

Resolves: #65824
Releases: master
Change-Id: Ibfdd42b5fd6ce1103b6787594f9eaee60ea14223
Reviewed-on: http://review.typo3.org/39575
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Cleanup of TYPO3\CMS\Core\Localization and Charset 08/39508/4
Stephan Großberndt [Tue, 12 May 2015 20:38:28 +0000 (22:38 +0200)]
[TASK] Cleanup of TYPO3\CMS\Core\Localization and Charset

* Make use of use-statements
* fix typos
* properly align comments
* fix PHPDoc
* fix bool signatures
* remove unused variables
* rename some cryptic variables
* check for equality using === and !== where possible
* use !empty() instead of count()

Resolves: #66924
Releases: master
Change-Id: I44675b3e8c8626591feaa017e53cae1426cd1da3
Reviewed-on: http://review.typo3.org/39508
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Fix usage of moment.js in Language 23/39523/3
Andreas Fernandez [Wed, 13 May 2015 09:03:06 +0000 (11:03 +0200)]
[BUGFIX] Fix usage of moment.js in Language

Fix the import of moment.js in the RequireJS module used
in the Language backend module.

Resolves: #66931
Releases: master
Change-Id: I8cf669f05d04c36496354a1b7133cc0bda4233cc
Reviewed-on: http://review.typo3.org/39523
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[TASK] Streamline table wizard 66/39566/2
Benjamin Kott [Fri, 15 May 2015 12:31:18 +0000 (14:31 +0200)]
[TASK] Streamline table wizard

Releases: master
Resolves: #66971
Change-Id: Id0da50761c8197559a2298b321fe283a975f71a3
Reviewed-on: http://review.typo3.org/39566
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
4 years ago[BUGFIX] Valid Content-Type header for jpg thumbnails 82/39482/3
Stephan Großberndt [Tue, 12 May 2015 11:07:32 +0000 (13:07 +0200)]
[BUGFIX] Valid Content-Type header for jpg thumbnails

Use "Content-Type: image/jpeg" instead of invalid "image/jpg" derived
from the file extension. The invalid Content-Type in combination with
"X-Content-Type-Options: nosniff" leads to thumbnails not showing up in
Internet Explorer.

While at it also correct the case of "Etag" to "ETag".

Resolves: #66913
Releases: master, 6.2
Change-Id: I9a31817e32e4e8b2b99b3008f8381608c5ac06e9
Reviewed-on: http://review.typo3.org/39482
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] Render section index menu if page is not in menu 72/24872/5
Benjamin Mack [Fri, 8 May 2015 05:53:30 +0000 (13:53 +0800)]
[BUGFIX] Render section index menu if page is not in menu

This patch fixes the behaviour that a section index menu
is not rendered, if the page whose sections should be shown
has the flag "no in menu".

Resolves: #50873
Releases: master
Change-Id: Ibe1c0ac99d225ab4f9d315d576c39f477e03a3b7
Reviewed-on: http://review.typo3.org/24872
Reviewed-by: DANIEL Rémy <dogawaf@no-log.org>
Tested-by: DANIEL Rémy <dogawaf@no-log.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Remove unused module file list CSS 64/39564/2
Benjamin Kott [Fri, 15 May 2015 10:43:29 +0000 (12:43 +0200)]
[TASK] Remove unused module file list CSS

Releases: master
Resolves: #66967
Change-Id: I81d74108e4ec4e98c239616ce1e880b3e03bf1d3
Reviewed-on: http://review.typo3.org/39564
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>
4 years ago[TASK] Update moment to 2.10.3 62/39562/2
Wouter Wolters [Fri, 15 May 2015 08:09:43 +0000 (10:09 +0200)]
[TASK] Update moment to 2.10.3

Resolves: #66964
Releases: master
Change-Id: I08aa8539c1ba13cfd31a2a3902252877c4dd40ae
Reviewed-on: http://review.typo3.org/39562
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Update cropper to 0.9.3 63/39563/2
Wouter Wolters [Fri, 15 May 2015 08:12:37 +0000 (10:12 +0200)]
[TASK] Update cropper to 0.9.3

Resolves: #66965
Releases: master
Change-Id: I9ee15614e785475ea6ff1656de861bf32b6548df
Reviewed-on: http://review.typo3.org/39563
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Cleanup CSS and JS in documentation module 89/38289/4
Benjamin Kott [Fri, 27 Mar 2015 01:38:10 +0000 (02:38 +0100)]
[TASK] Cleanup CSS and JS in documentation module

Releases: master
Resolves: #66966

Change-Id: I18ee4c51727641d3b2ba8ce352c9622e65d31307
Reviewed-on: http://review.typo3.org/38289
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>
4 years ago[TASK] Cleanup DragUploader CSS 55/39555/2
Benjamin Kott [Thu, 14 May 2015 20:44:51 +0000 (22:44 +0200)]
[TASK] Cleanup DragUploader CSS

Releases: master
Resolves: #66963
Change-Id: If2c346be8c19da2585a4758a8ee5dc6f4d7266ec
Reviewed-on: http://review.typo3.org/39555
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Update DataTables to 1.10.7 47/39547/3
Wouter Wolters [Thu, 14 May 2015 15:37:09 +0000 (17:37 +0200)]
[TASK] Update DataTables to 1.10.7

Resolves: #66271
Releases: master
Change-Id: I6be3264173e69d6ebf36367ecb8947b7d699f978
Reviewed-on: http://review.typo3.org/39547
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
4 years ago[TASK] Update jQuery UI to 1.11.4 48/39548/2
Wouter Wolters [Thu, 14 May 2015 15:41:24 +0000 (17:41 +0200)]
[TASK] Update jQuery UI to 1.11.4

Resolves: #66960
Releases: master
Change-Id: Ic18dc244f0a2ea0f50de91b2a75e85c26dd082a1
Reviewed-on: http://review.typo3.org/39548
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Update autosize to 3.0.4 50/39550/2
Wouter Wolters [Thu, 14 May 2015 15:55:03 +0000 (17:55 +0200)]
[TASK] Update autosize to 3.0.4

Resolves: #66962
Releases: master
Change-Id: Iff42da671e40f12c999afabca69ea5a3be007be3
Reviewed-on: http://review.typo3.org/39550
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Update nprogress to 0.2.0 49/39549/2
Wouter Wolters [Thu, 14 May 2015 15:51:12 +0000 (17:51 +0200)]
[TASK] Update nprogress to 0.2.0

Resolves: #66961
Releases: master
Change-Id: I787fffe94cfe8ecc369019e011b8dbaf75a8446b
Reviewed-on: http://review.typo3.org/39549
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[TASK] Cleanup deprecated and unused CSS definitions 46/39546/2
Benjamin Kott [Thu, 14 May 2015 15:16:31 +0000 (17:16 +0200)]
[TASK] Cleanup deprecated and unused CSS definitions

Releases: master
Resolves: #66958
Change-Id: I9916e8445126d8197348e9cc018337bf20719abd
Reviewed-on: http://review.typo3.org/39546
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[BUGFIX] Resolve dependencies on extension update 97/37497/5
Nicole Cordes [Tue, 3 Mar 2015 13:32:07 +0000 (14:32 +0100)]
[BUGFIX] Resolve dependencies on extension update

For installed extensions the (new) dependencies have to be resolved
on extension update. If the extension isn't installed yet,
the dependencies are fetched on update anyway,
so this doesn't have to be tackled.

Releases: master, 6.2
Resolves: #65484
Change-Id: I5c1e8622b3b15b6c25d7181c6cb1fc07f271437d
Reviewed-on: http://review.typo3.org/37497
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[FOLLOWUP][BUGFIX] Add extension precedence 43/39543/2
Helmut Hummel [Thu, 14 May 2015 14:20:49 +0000 (16:20 +0200)]
[FOLLOWUP][BUGFIX] Add extension precedence

Before calling TYPO3 package methods, we must ensure
we have the correct instance.

All active composer packages are instance of the Flow package class
which does not implement the methods
isPartOfFactoryDefault or isPartOfMinimalUsableSystem

Resolves: #66955
Related: #59147
Releases: master, 6.2
Change-Id: I5f08cce5e4b0329927d6a302d643f680822e4ad6
Reviewed-on: http://review.typo3.org/39543
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Allow protocol in TCEMAIN.previewDomain 21/39521/4
Wouter Wolters [Wed, 13 May 2015 08:16:24 +0000 (10:16 +0200)]
[BUGFIX] Allow protocol in TCEMAIN.previewDomain

If a backend uses https as protocol and the installation
is a muti domain installation, the https protocol can lead
to problems with previewing, when other domains don't support https.

Fix this by allowing a protocol to be set in TCEMAIN.previewDomain

Resolves: #62129
Releases: master,6.2
Change-Id: Ifffef57ff8a535aedb2141f0e3cbf01b1d8baac6
Reviewed-on: http://review.typo3.org/39521
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Select correct module in User Settings 65/39465/4
Markus Klein [Mon, 11 May 2015 20:48:05 +0000 (22:48 +0200)]
[BUGFIX] Select correct module in User Settings

If the first entry of the select box is chosen (option has an
empty value), this selection is preserved now after saving the form.

Additionally the empty value given a proper label to describe its
functionality.

The rendering is adjusted to use optgroup-elements now.

Resolves: #66893
Releases: master
Change-Id: Ic6a77086a86d353075dc771a23df74617697f01e
Reviewed-on: http://review.typo3.org/39465
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[TASK] Add manual for moved signal "postProcessMirrorUrl" 22/39522/8
Andreas Fernandez [Wed, 13 May 2015 08:46:37 +0000 (10:46 +0200)]
[TASK] Add manual for moved signal "postProcessMirrorUrl"

The signal "postProcessMirrorUrl" was moved while refactoring the
"Language" backend module. Add a Breaking ReST manual to
describe the change and the migration path.

Resolves: #66930
Related: #62983
Releases: master
Change-Id: I751a7c8c49500dd482fabe72c3b842118eb1a7a6
Reviewed-on: http://review.typo3.org/39522
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[BUGFIX] Re-integrate missing slot "postProcessMirrorUrl" 20/39520/4
Andreas Fernandez [Wed, 13 May 2015 08:12:17 +0000 (10:12 +0200)]
[BUGFIX] Re-integrate missing slot "postProcessMirrorUrl"

The slot "postProcessMirrorUrl" got lost while refactoring the
"Language" backend module. It is re-integrated with this patch.

Resolves: #66928
Related: #50467
Releases: master
Change-Id: I7769d55434ba4724781b8e3ea01a25b1ba907089
Reviewed-on: http://review.typo3.org/39520
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years agoRevert "[TASK] Make \Be\Menus\ActionMenuItemViewHelper compilable" 99/39499/3
Frank Nägler [Tue, 12 May 2015 14:52:03 +0000 (16:52 +0200)]
Revert "[TASK] Make \Be\Menus\ActionMenuItemViewHelper compilable"

This reverts commit 9695759844f2c4981339aff77be50340f8c6b1b6.

Reason for the revert is that initialize() of the abstract is no
longer called, which takes care of "additionalAttributes" and
"data-" attributes. The introduced getTagBuilder() method is not
sufficient. So, basically the rule "no simple migration to compilable
possible if the VH keeps local state" was violated here.

Change-Id: Ie32bf34f3f230b4fa6c4dafa636ab5e18f400536
Releases: master
Resolves: #66898
Reverts: #66751
Reviewed-on: http://review.typo3.org/39499
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[BUGFIX] remove wrong code suggestion from GMENU 06/36806/2
Frederic Gaus [Tue, 10 Feb 2015 16:11:40 +0000 (17:11 +0100)]
[BUGFIX] remove wrong code suggestion from GMENU

Remove the wrong code suggestion "wrapItemAndSub" from GMENU in t3editor

Change-Id: Ibcac99c49bc0d4a68e759b4878eb1c9493355eda
Resolves: #25955
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36806
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Travis: Verify no git submodule exists 80/39480/2
Christian Kuhn [Tue, 12 May 2015 09:10:20 +0000 (11:10 +0200)]
[TASK] Travis: Verify no git submodule exists

With backport of issue #66473 a git submodule definition was
accidently commited. The patch adds an additional travis-ci
check to make the suite fail in case this happens again.

Resolves: #66911
Releases: master, 6.2
Change-Id: I88d22ceea3c82a805db4e9e61cb1fdd8aec76383
Reviewed-on: http://review.typo3.org/39480
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Remove global configuration option to disable RTE 72/39472/4
Benjamin Mack [Tue, 12 May 2015 03:35:07 +0000 (11:35 +0800)]
[TASK] Remove global configuration option to disable RTE

The option to disable the RTE configuration is in the Core
and always active. The global option is always overridden
when HTMLArea is installed.

In the process of making the TYPO3 Core easier, and simpler
the option can be removed. The option to disable the RTE
on a per-user basis or per userTSconfig is still available.

Resolves: #66903
Releases: master
Change-Id: I14063cd31b3a8fc315ca861e4e8d996978535514
Reviewed-on: http://review.typo3.org/39472
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] use include for checking update scripts 67/39467/2
Jigal van Hemert [Mon, 11 May 2015 21:18:32 +0000 (23:18 +0200)]
[TASK] use include for checking update scripts

Instead of using eval() the EM includes temporary files with the
modified contents of class.ext_update.php to check if the update
script can be called.

Resolves: #66740
Releases: 6.2, master
Change-Id: I9495d97ad78f2bb100c306ae122aacee6f32b24a
Reviewed-on: http://review.typo3.org/39467
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Matthias Toscanelli <m.toscanelli@code-source.ch>
Tested-by: Matthias Toscanelli <m.toscanelli@code-source.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Remove option to show TYPO3 version in backend login 71/39471/3
Benjamin Mack [Tue, 12 May 2015 03:23:39 +0000 (11:23 +0800)]
[TASK] Remove option to show TYPO3 version in backend login

Resolves: #66902
Releases: master
Change-Id: Icbde70171d848b97ecf2da9af4598236cfc53656
Reviewed-on: http://review.typo3.org/39471
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Move global code from backend.php to BackendController 70/39470/2
Benjamin Mack [Tue, 12 May 2015 03:07:49 +0000 (11:07 +0800)]
[TASK] Move global code from backend.php to BackendController

Resolves: #66901
Releases: master
Change-Id: I5a2540a1ee41c80ebf9e3744e26f24489d6c448f
Reviewed-on: http://review.typo3.org/39470
Reviewed-by: Thomas Schlumberger <thomas@b13.de>
Tested-by: Thomas Schlumberger <thomas@b13.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Wrong HTML in ModuleMenu main modules 77/39477/2
Benjamin Mack [Tue, 12 May 2015 07:07:10 +0000 (15:07 +0800)]
[BUGFIX] Wrong HTML in ModuleMenu main modules

There is one span too many in the module menu after the switch to sprite icons.

The change removes one span tag, but leaves it for the default span tag.

Resolves: #66908
Releases: master
Change-Id: I84f621c5fae4c6739acd1e0254da2702e58ee8b7
Reviewed-on: http://review.typo3.org/39477
Reviewed-by: Daniel Sattler <sattler@b13.de>
Tested-by: Daniel Sattler <sattler@b13.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Don't use modulemenu classes in topbar 61/39461/5
Wouter Wolters [Mon, 11 May 2015 19:30:04 +0000 (21:30 +0200)]
[BUGFIX] Don't use modulemenu classes in topbar

When the startModule setting is empty a strange behaviour
takes place. This happens because the module menu classes are
in use in the topbar too.

Fix this by adding a specific t3js-mainmodule class.

Resolves: #66893
Releases: master
Change-Id: I46768c1f81a2616bd279eacfa5b2e38c863b582e
Reviewed-on: http://review.typo3.org/39461
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] FormEngine: Simplify element name resolving 62/39462/2
Christian Kuhn [Mon, 11 May 2015 16:41:24 +0000 (18:41 +0200)]
[TASK] FormEngine: Simplify element name resolving

Data submitted by FormEngine to DataHandler is prefixed in four
different ways:
* data - Transferred data
* cmd - A dataHandler command to execute
* data_files - Contains uploaded files
* action[control] - Overwrite fields data for NULL handling

These four prefixes are given along from FormEngine to the
whole container and element structure and never change.

To simplify this stuff, the patch removes the prefixes and
hardcodes them, and introduces a new globalOptions
$elementBaseName that contains the stuff behind the prefixes.
Quite some methods can be simplified this way and become
more obvious. Usage of $elementBaseName will be extended
with the next patch.

Change-Id: I8103b1d2068382e0b01bbe5d9bd79aeba2d00b08
Resolves: #66894
Releases: master
Reviewed-on: http://review.typo3.org/39462
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Sane index length for "uid_foreign_tablefield" 43/39443/4
Markus Klein [Mon, 11 May 2015 14:20:58 +0000 (16:20 +0200)]
[TASK] Sane index length for "uid_foreign_tablefield"

The index lengths for the fields "tablenames" and "fieldname"
of table "sys_category_record_mm" are way too big.
It suffices to have only few significant characters in the index.

We only take the first 40 characters of the tablename and the first
three characters of the fieldname as those should already be
distinctive enough to have a high quality index.
Assuming most table names are below 40 characters anyway and usually
only a few fields per table will be a category.

Resolves: #66773
Releases: master
Change-Id: Ib1f077c93425992c557fbc4457699d867521a3ba
Reviewed-on: http://review.typo3.org/39443
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] Allow closures in filters methods for directory items 53/37153/6
Christoph Dörfel [Tue, 24 Feb 2015 07:23:28 +0000 (08:23 +0100)]
[BUGFIX] Allow closures in filters methods for directory items

Instead of checking if a given filter is callable a is_array check
is done. But the filter can also be a closure and a is_array would
fail then.

This patch changes the is_array check to is_callable.

Resolves: #65244
Releases: master, 6.2
Change-Id: I1a1e9ce0e789bd36a4fa36e91389e8b62c50116e
Reviewed-on: http://review.typo3.org/37153
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[TASK] Make condition ViewHelper compilable in ext:fluid 64/39264/3
Wouter Wolters [Mon, 4 May 2015 17:00:13 +0000 (19:00 +0200)]
[TASK] Make condition ViewHelper compilable in ext:fluid

Resolves: #66714
Releases: master
Change-Id: If6c2355944405db04b5a6be3972158cc4ed23e05
Reviewed-on: http://review.typo3.org/39264
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>
4 years ago[BUGFIX] Proper use of UserSettingsController in ExtdirectTreeCommands 30/39430/2
Andreas Fernandez [Mon, 11 May 2015 10:44:07 +0000 (12:44 +0200)]
[BUGFIX] Proper use of UserSettingsController in ExtdirectTreeCommands

Use the correct object and it's process() method.

Resolves: #66880
Related: #66868
Releases: master
Change-Id: Ibdfd2734b01c7e4fee89dc66cae853d275b1d4bd
Reviewed-on: http://review.typo3.org/39430
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>
4 years ago[BUGFIX] Readonly fields must not render links to allowed tables 88/39388/3
Georg Ringer [Sat, 9 May 2015 20:16:16 +0000 (22:16 +0200)]
[BUGFIX] Readonly fields must not render links to allowed tables

If a field is configured as readOnly, the allowed tables below
should not be linked to the Element Browser

Change-Id: Ibae0056cd681e0112c715488ea0ff3b13d11ab42
Resolves: #66870
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/39388
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>
4 years ago[TASK] Display info about registered Extractors in Task "Metadata Extract" 75/36675/5
Fabien Udriot [Thu, 5 Feb 2015 17:41:19 +0000 (18:41 +0100)]
[TASK] Display info about registered Extractors in Task "Metadata Extract"

In the context of the Scheduler, the task "Metadata Extract" will have no
effect if no Extractor is registered - which is the by default case.
This quite confusing for the End User since it would expect something
to happen upon running the task.

The solution is to display a message to the End User about the registered
Extractors in the Task itself. In case no Extractor is present, the
message will make it clear that the Task will have no effect.

Change-Id: Id2dff904ca90f3cc182189db57064cf2b6daa574
Resolves: #64884
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36675
Reviewed-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Tested-by: Fabien Udriot <fabien.udriot@ecodev.ch>
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>
4 years ago[TASK] Replace icon for secondary options in RecordList 94/39394/2
Andreas Fernandez [Sun, 10 May 2015 15:01:49 +0000 (17:01 +0200)]
[TASK] Replace icon for secondary options in RecordList

Replace fa-cog with fa-ellipsis-h.

Resolves: #66875
Releases: master
Change-Id: I767c2f3dc47c99a704ba4de37e53acbf6faea016
Reviewed-on: http://review.typo3.org/39394
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[!!!][TASK] Move usage of BackendUserSettingsDataProvider 11/39311/5
Wouter Wolters [Wed, 6 May 2015 17:44:16 +0000 (19:44 +0200)]
[!!!][TASK] Move usage of BackendUserSettingsDataProvider

Move usage of BackendUserSettingsDataProvider to the new Storage.js

Resolves: #66868
Releases: master
Change-Id: Ibc6d57368ca8ebc8b4e5e026cbaaa5d80d428d1c
Reviewed-on: http://review.typo3.org/39311
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[FEATURE] Allow module menu items to use sprite icons 16/39316/2
Benjamin Mack [Thu, 7 May 2015 04:49:25 +0000 (12:49 +0800)]
[FEATURE] Allow module menu items to use sprite icons

In the course of the 7.x development, the main modules (web / file etc.)
have received a hard-coded list of fontawesome sprite icons. This way
it is not (easily) possible to override the icons and to give a custom
main module its own custom sprite icon.

A new property in the module configuration "icon" allows now to
hand in a sprite icon instead of a path to png/gif file.

At the same time the property handling for the "icon" property
inside the module menu is now simplified as a string instead
of an array with all additional information as everything is already
compiled together in the BackendModuleRepository.

All main modules shipped with the core now have proper icons
mapped inside ext_tables.php in the core.

Resolves: #66822
Releases: master
Change-Id: If1a62528d9de56034a0330c0051dfcb66e59469c
Reviewed-on: http://review.typo3.org/39316
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Massive performance improvement for page tree 82/39382/2
Frank Nägler [Sat, 9 May 2015 14:03:51 +0000 (16:03 +0200)]
[TASK] Massive performance improvement for page tree

This patch improves the performance by removing delays.

A single click in the tree loads the page now significantly faster, however,
the page is now loaded also with a doubleclick.

With a tree implementation without ExtJS we can change this behavior again.

Resolves: #63591
Releases: master
Change-Id: I4e32013d2d904e1cc4f91f8c9fa9af165fc8c476
Reviewed-on: http://review.typo3.org/39382
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Fix broken link to anchor 63/39363/2
Andreas Fernandez [Fri, 8 May 2015 11:41:54 +0000 (13:41 +0200)]
[BUGFIX] Fix broken link to anchor

Due to wrong quoting, the links to anchors are broken.

Resolves: #66854
Releases: master, 6.2
Change-Id: I4a52dc6cead27fc499e93618dfaefd824ebd525c
Reviewed-on: http://review.typo3.org/39363
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Show sectionIndex from referenced page 95/27995/10
Nico de Haen [Mon, 3 Mar 2014 13:55:06 +0000 (14:55 +0100)]
[BUGFIX] Show sectionIndex from referenced page

If a page is configured to show content from another pid the menu
of type sectionIndex has to fetch the content elements from the
referenced page instead of the page itself.

Thanks to Christian Finkemeyer for the patch.

Resolves: #46448
Releases: master, 6.2
Change-Id: Ia903cdc085dd665f89df5c90dad962cbc9f09535
Reviewed-on: http://review.typo3.org/27995
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Makes sys_note/EditLinkViewHelper compilable 76/39376/3
Jan Helke [Sat, 9 May 2015 09:24:38 +0000 (11:24 +0200)]
[TASK] Makes sys_note/EditLinkViewHelper compilable

Resolves: #66867
Releases: master
Change-Id: I30ef465f92589d2fcbf379a32700959735b9a41a
Reviewed-on: http://review.typo3.org/39376
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>
4 years ago[TASK] Makes sys_note/DeleteLinkViewHelper compilable 75/39375/3
Jan Helke [Sat, 9 May 2015 09:09:23 +0000 (11:09 +0200)]
[TASK] Makes sys_note/DeleteLinkViewHelper compilable

Resolves: #66866
Releases: master
Change-Id: Ib10e6cca908321d81b3a7aa1919cee0e962fc25e
Reviewed-on: http://review.typo3.org/39375
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>
4 years ago[TASK] Show edit icon on hovering the page title 31/39331/5
Andreas Fernandez [Thu, 7 May 2015 12:27:27 +0000 (14:27 +0200)]
[TASK] Show edit icon on hovering the page title

If an user hovers the page title in "List" or in "Page" module,
show an edit icon next to the page title to indicate an action.

Resolves: #66836
Releases: master
Change-Id: I894c17d89afb30c1594dc20cac3bbdae1b0cfca5
Reviewed-on: http://review.typo3.org/39331
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Remove dependency to tab.js in FormEngine 47/39347/6
Wouter Wolters [Thu, 7 May 2015 22:08:04 +0000 (00:08 +0200)]
[TASK] Remove dependency to tab.js in FormEngine

Resolves: #66849
Releases: master
Change-Id: Iad61ca580344c9794d8ad19721c11689fc5a2e16
Reviewed-on: http://review.typo3.org/39347
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years agoRevert "[TASK] Change if conditions in LocalizationUtility" 74/39374/4
Frank Nägler [Fri, 8 May 2015 22:25:21 +0000 (00:25 +0200)]
Revert "[TASK] Change if conditions in LocalizationUtility"

This reverts commit 217954659043ff6ed48a2d5f2e1f6c3207cb9b21.

LocalizationUtility patch breaks labels, see screenshots in
forge issue #66864

Resolves: #66864
Reverts: #63026
Releases: master

Change-Id: I5e5d2209767ef53909fccf0bef2f6fae5d3edafb
Reviewed-on: http://review.typo3.org/39374
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] FormEngine: Simplify placeholder and NULL handling 65/39365/8
Christian Kuhn [Fri, 8 May 2015 13:26:26 +0000 (15:26 +0200)]
[TASK] FormEngine: Simplify placeholder and NULL handling

FormEngine / DataHandler have logic to distinguish between NULL and
empty strings as values written to the database. This is especially
used for FAL in inline relation together with the placeholder logic.
The patch moves the code around a bit, disentangles the logic and
adds comments to explain the details. The $globalOptions value
parameter "prependFormFieldNamesActive" becomes obsolete along the
way and is dropped.

Change-Id: I854a5733f9b597a28751ed31217858b223441247
Resolves: #66856
Releases: master
Reviewed-on: http://review.typo3.org/39365
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Change if conditions in LocalizationUtility 66/34266/6
Stefan Froemken [Fri, 14 Nov 2014 18:32:29 +0000 (19:32 +0100)]
[TASK] Change if conditions in LocalizationUtility

With each call to translate we call isFirstPartOfString.
This method is really fast but in case of extensionmanager
it was called over 700 times. This results in 7
milliseconds.
I have changed the if calls to improve performance

Resolves: #63026
Releases: master
Change-Id: I7beff8c49c235aa791c2d08438e5ac92bd7dc883
Reviewed-on: http://review.typo3.org/34266
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[FEATURE] Add TemplateRootPaths support to cObject FLUIDTEMPLATE 31/38331/10
Frans Saris [Sun, 29 Mar 2015 11:46:45 +0000 (13:46 +0200)]
[FEATURE] Add TemplateRootPaths support to cObject FLUIDTEMPLATE

cObject FLUIDTEMPLATE is extended with `templateRootPaths` and
`templateName`. Now you can set a template name and when rendering the
template this name is used together with the set format to find the
template in the given templateRootPaths with the same fallback logic as
layoutRootPath and partialRootPath.

Resolves: #66111
Releases: master
Change-Id: I30d7fa63f63f818b5da31194bad1dccce95929e2
Reviewed-on: http://review.typo3.org/38331
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[BUGFIX] Fix serializable object creation with PHP 5.6 65/38765/7
Mathias Brodala [Fri, 17 Apr 2015 15:47:43 +0000 (17:47 +0200)]
[BUGFIX] Fix serializable object creation with PHP 5.6

This makes use of doctrine/instantiator to catch this and many
other PHP issues when instantiating objects without constructor.

Resolves: #66473
Releases: master, 6.2
Change-Id: Iaba0de638b8b555a811dad22a140d0348c168eb5
Reviewed-on: http://review.typo3.org/38765
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[TASK] Add support for SPATIAL index type 53/38953/7
Morton Jonuschat [Mon, 27 Apr 2015 10:55:55 +0000 (12:55 +0200)]
[TASK] Add support for SPATIAL index type

Add support for "SPATIAL" keys to the SqlSchemaMigrationService.

Ignoring the subpart/key length for this type of index is required as
MySQL does not support specifying the length when creating/modifying
the index but reports this information when retrieving keys for a
table.

This change has been verified against MySQL 5.5.42 (Mac OS X) as well
as Percona Server 5.6.23 (Release 72.1, Linux).

Resolves: #65354
Releases: master
Change-Id: I2a2d0d1e7eddb6ff8fcfb50d88936669e64ea309
Reviewed-on: http://review.typo3.org/38953
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Make subheaders aware of possible default header layouts 68/38868/2
Jo Hasenau [Thu, 23 Apr 2015 10:07:43 +0000 (12:07 +0200)]
[BUGFIX] Make subheaders aware of possible default header layouts

Releases: master
Resolves: #40462
Change-Id: Iec9eb9886b3b4605054acf32d79d635cefcb0bfc
Reviewed-on: http://review.typo3.org/38868
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[BUGFIX] Avoid exception when validating FQCN 04/37804/4
Andreas Allacher [Fri, 13 Mar 2015 06:44:20 +0000 (07:44 +0100)]
[BUGFIX] Avoid exception when validating FQCN

Strip the leading backslash of the fully qualified classname to avoid the
exception "1420281366" when using @validate.

Change-Id: I80d7ec8904acfa4c309990fd397ec7a015af8d77
Resolves: #65709
Releases: master
Reviewed-on: http://review.typo3.org/37804
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>