Packages/TYPO3.CMS.git
4 years ago[TASK] Replace sprite icon "actions-document-open" with IconFactory 11/42411/8
Markus Guenther [Mon, 10 Aug 2015 18:27:31 +0000 (20:27 +0200)]
[TASK] Replace sprite icon "actions-document-open" with IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-document-open with the new IconFactory.

Change-Id: I8bdff1bb752f2735d553da859cec71256ceb2d2c
Resolves: #68845
Releases: master
Reviewed-on: http://review.typo3.org/42411
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
4 years ago[TASK] Replace sprite icon "actions-document-save-close" with IconFactory 03/43003/7
Michael Oehlhof [Thu, 3 Sep 2015 21:17:11 +0000 (23:17 +0200)]
[TASK] Replace sprite icon "actions-document-save-close" with IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-document-save with the new IconFactory.

Resolves: #68867
Releases: master
Change-Id: Ie0591197ade6473af9a470b34e3f5e2e56eabb60
Reviewed-on: http://review.typo3.org/43003
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Enable page tree filter for admin with mountpoints 17/42617/5
Nicole Cordes [Fri, 14 Aug 2015 14:17:45 +0000 (16:17 +0200)]
[BUGFIX] Enable page tree filter for admin with mountpoints

The patch prevents the mountpoint processing during page tree filtering
for admin users. This is necessary because admin users aren't limited
to the mountpoints. Otherwise sites outside the mountpoints aren't
found anymore.

Resolves: #69063
Releases: master, 6.2
Change-Id: Ie55dcc3b05463deaf57ba42c91e229225176be8a
Reviewed-on: http://review.typo3.org/42617
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
4 years ago[TASK] Replace sprite icon "actions-edit-localize-status-high" with IconFactory 07/43007/3
Morton Jonuschat [Fri, 4 Sep 2015 06:57:10 +0000 (08:57 +0200)]
[TASK] Replace sprite icon "actions-edit-localize-status-high" with IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-edit-localize-status-high with the new IconFactory.

Resolves: #68928
Releases: master
Change-Id: Id0f4db30b9ef5a623e27f929e62b944841197e4a
Reviewed-on: http://review.typo3.org/43007
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
4 years ago[TASK] Replace sprite icon "actions-document-synchronize" with the new IconFactory 08/43008/2
Morton Jonuschat [Fri, 4 Sep 2015 07:07:36 +0000 (09:07 +0200)]
[TASK] Replace sprite icon "actions-document-synchronize" with the new IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-document-synchronize with the new IconFactory.

Resolves: #68874
Releases: master
Change-Id: I0ab58c6f8b1ff847c678064b3b51e0b30edb459b
Reviewed-on: http://review.typo3.org/43008
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
4 years ago[TASK] Replace sprite icon "actions-edit-localize-status-low" with IconFactory 06/43006/2
Morton Jonuschat [Fri, 4 Sep 2015 06:49:45 +0000 (08:49 +0200)]
[TASK] Replace sprite icon "actions-edit-localize-status-low" with IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-edit-localize-status-low with the new IconFactory.

Resolves: #68929
Releases: master
Change-Id: I831c4ad2105eec8bd796ae9e3d0fc4c81a676b8a
Reviewed-on: http://review.typo3.org/43006
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
4 years ago[BUGFIX] Make save icon work again 12/43012/2
Frank Nägler [Fri, 4 Sep 2015 09:24:06 +0000 (11:24 +0200)]
[BUGFIX] Make save icon work again

Resolves: #69523
Related: #68866
Releases: master
Change-Id: I3315056e2c651565e52fb4c79eef126d4a13e8d8
Reviewed-on: http://review.typo3.org/43012
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Replace sprite icon "actions-document-save" with the new IconFactory 73/42973/6
Michael Oehlhof [Tue, 1 Sep 2015 22:14:46 +0000 (00:14 +0200)]
[TASK] Replace sprite icon "actions-document-save" with the new IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-document-save with the new IconFactory.

Resolves: #68866
Releases: master
Change-Id: I29540eed175d642fae67a5b4453520c926cd2cae
Reviewed-on: http://review.typo3.org/42973
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Fix incorrect usage of nested ternary 91/42891/4
Markus Klein [Thu, 27 Aug 2015 16:09:53 +0000 (18:09 +0200)]
[BUGFIX] Fix incorrect usage of nested ternary

Ternaries are left associative in PHP, hence
$a ?: $b ?: $c  ===  ($a ?: $b) ?: $c  !==  $a ?: ($b ?: $c)

Mostly the latter case is used, hence we need parenthesis.

regex used to find occurrences:
^.+?[\s\n]+\?[^\:]*:[\s\n]+.+?[\s\n]+\?.+;$

Resolves: #69368
Releases: master, 6.2
Change-Id: I6235213cd921e7edfe0f4a3e96bde88ebdce3c99
Reviewed-on: http://review.typo3.org/42891
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[BUGFIX] PHP7 always_populate_raw_post_data is removed. 77/42977/4
Alexander Opitz [Wed, 2 Sep 2015 06:45:01 +0000 (08:45 +0200)]
[BUGFIX] PHP7 always_populate_raw_post_data is removed.

Since PHP7 always_populate_raw_post_data in php.ini is removed. This
means that the absense of this setting is like setting it to -1 for
PHP 5.6 installations. We give a OkStatus in InstallTool for PHP7.

Resolves: #69378
Releases: master
Change-Id: Iab2ca2077c508dbeec90b97bfd41dd7c992ebb74
Reviewed-on: http://review.typo3.org/42977
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>
4 years ago[FEATURE] Make the image quality definable per sourceCollection 42/42842/7
Christian Seifert [Thu, 27 Aug 2015 17:54:51 +0000 (19:54 +0200)]
[FEATURE] Make the image quality definable per sourceCollection

At the moment the image quality of generated jpegs is configured
centrally in LocalConfiguration. Due to trying to find a balance
between image size and image quality it might be useful to enable
the configuration of the image quality for each sourceCollection
entry.

The change set enables users to p.e. render normal images with 90%
and retina images with p.e. 70%. To optionally enable the "quality"
setting for a sourceCollection, TypoScript can be configured as
followed (as example):
tt_content.image.20.1.sourceCollection.smallRetina.quality = 70

If not set, TYPO3 will take the default one of LocalConfiguration.

Resolves: #59591
Releases: master
Change-Id: Ib0e0adf8c2f91471d0ad750c974ad6ed6f41cfa1
Reviewed-on: http://review.typo3.org/42842
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[TASK] Auto focus search field in content search 99/42999/4
Andreas Fernandez [Thu, 3 Sep 2015 15:29:35 +0000 (17:29 +0200)]
[TASK] Auto focus search field in content search

After enabling the content search (in Page / List module), the search field
is automatically focused.

Resolves: #69510
Releases: master
Change-Id: Ibba59db6ed0001c0fc1122b44651176a18a17e4b
Reviewed-on: http://review.typo3.org/42999
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Replace icon by IconFactory: apps-toolbar-menu-cache 87/42987/4
Frank Nägler [Wed, 2 Sep 2015 18:57:27 +0000 (20:57 +0200)]
[TASK] Replace icon by IconFactory: apps-toolbar-menu-cache

Resolves: #69488
Releases: master
Change-Id: Id95d7404175fb20d0b29a8ab5baba085762dfef6
Reviewed-on: http://review.typo3.org/42987
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[CLEANUP] Streamline toggle search toolbox 97/42997/4
Florian Peters [Thu, 3 Sep 2015 13:07:27 +0000 (15:07 +0200)]
[CLEANUP] Streamline toggle search toolbox

Remove the toggle functionality from the HTML template and use
jQuery + require.js for page and list.

Resolves: #69500
Releases: master
Change-Id: I815239acdf74e94c4f0af3a74aacab565c8f5d03
Reviewed-on: http://review.typo3.org/42997
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years agoRevert "[BUGFIX] Fix broken link to security resources page on typo3.org" 89/42989/3
Helmut Hummel [Thu, 3 Sep 2015 07:06:14 +0000 (09:06 +0200)]
Revert "[BUGFIX] Fix broken link to security resources page on typo3.org"

This URL change on typo3.org had bigger impact and was reverted.
Revert this back here as well.

This reverts commit d92f3ef2c8b297069a2edc2b265e281686363f13.

Change-Id: Ic75ed47edcca9bfff3af6595af02bc81fe6a14c0
Reviewed-on: http://review.typo3.org/42989
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Streamline Unit Tests for GeneralUtility::sanitizeLocalUrl 82/42982/3
Nicole Cordes [Wed, 2 Sep 2015 13:06:12 +0000 (15:06 +0200)]
[BUGFIX] Streamline Unit Tests for GeneralUtility::sanitizeLocalUrl

Currently the Unit Tests for the function just work by accident. As
HTTP_HOST an absolute path is set which is used to get some other values
to compare the given strings. To add further tests we should streamline
the tests and set/add expectations for host and script_name.

Resolves: #69475
Releases: master, 6.2
Change-Id: If139da7bd22c1ebf2c538cd3412fb0abf56dc668
Reviewed-on: http://review.typo3.org/42982
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Show icons of feedit again 94/42894/3
Daniel Goerz [Thu, 27 Aug 2015 19:26:57 +0000 (21:26 +0200)]
[BUGFIX] Show icons of feedit again

Change-Id: I1f024f570e829cc516aa58071908874f4f229850
Resolves: #69374
Releases: master
Reviewed-on: http://review.typo3.org/42894
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
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[TASK] Replace sprite icon for visibility with IconFactory 99/42499/7
Markus Guenther [Tue, 11 Aug 2015 08:29:55 +0000 (10:29 +0200)]
[TASK] Replace sprite icon for visibility with IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-edit-hide and actions-edit-unhide with the new IconFactory.

Change-Id: If3deb6fb4c6f867c21aaff34796515d933fa90c3
Resolves: #68925
Releases: master
Reviewed-on: http://review.typo3.org/42499
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
4 years ago[FEATURE] Introduce ImplodeViewHelper 60/41960/3
Frans Saris [Sat, 25 Jul 2015 17:28:39 +0000 (19:28 +0200)]
[FEATURE] Introduce ImplodeViewHelper

To be able to glue an array with classnames together in the FluidContent
rendering a ImplodeViewHelper is added.

Resolves: #68538
Releases: master
Change-Id: I85291cdc93374f99447a97da7f739ad8364b3644
Reviewed-on: http://review.typo3.org/41960
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
4 years ago[TASK] Use flash messages for status of branch export 67/42967/3
Daniel Goerz [Tue, 1 Sep 2015 18:45:02 +0000 (20:45 +0200)]
[TASK] Use flash messages for status of branch export

After a successful or unsuccessful attempt to export a
page branch to a file a short message about the outcome
is displayed. This patch improves the appearance of the
message by using a FlashMessage.

Additionally a call to an undefined method is removed.

Change-Id: I41940ca865211c9347707e731c3b4a90fb11b9ba
Releases: master
Resolves: #69460
Reviewed-on: http://review.typo3.org/42967
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Fix aligning of checkbox is_public in sys_file_storage 84/42984/2
Wouter Wolters [Wed, 2 Sep 2015 14:50:12 +0000 (16:50 +0200)]
[TASK] Fix aligning of checkbox is_public in sys_file_storage

Add missing div with class checkbox on it.

Resolves: #69479
Releases: master
Change-Id: I4ded4b2052f102ad14d16aac78707d95a757da6d
Reviewed-on: http://review.typo3.org/42984
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Replace all be.buttons.icon ViewHelpers that use an icon 63/42963/7
Wouter Wolters [Tue, 1 Sep 2015 18:00:15 +0000 (20:00 +0200)]
[TASK] Replace all be.buttons.icon ViewHelpers that use an icon

Resolves: #69461
Releases: master
Change-Id: I1e637c92183eba1cf21e837f7294d9d8c38d6d19
Reviewed-on: http://review.typo3.org/42963
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Introduce icon state for IconFactory 82/42482/20
Frank Nägler [Mon, 10 Aug 2015 13:52:44 +0000 (15:52 +0200)]
[TASK] Introduce icon state for IconFactory

Resolves: #69095
Releases: master
Change-Id: I4a1077a9267ed293f049f6457aef5d8012aa28d4
Reviewed-on: http://review.typo3.org/42482
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Use enumeration for handling conflicts in file names 94/42794/20
Daniel Goerz [Thu, 20 Aug 2015 22:11:11 +0000 (00:11 +0200)]
[TASK] Use enumeration for handling conflicts in file names

Conflicts in file names are handled with a list of plain
text values in the code. This patch adds a DuplicationBehavior
enumeration to improve the situation. It also streamlines the
redundant use of different strings for the same thing.

Change-Id: If07cacc77a4737bf52e6978dba79c22d72b7209c
Resolves: #55419
Releases: master
Reviewed-on: http://review.typo3.org/42794
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
4 years ago[TASK] Remove additionalClasses option from FontawesomeProvider. 45/42945/4
Frank Nägler [Mon, 31 Aug 2015 15:31:23 +0000 (17:31 +0200)]
[TASK] Remove additionalClasses option from FontawesomeProvider.

This option was introduced with the new Icon API but is not useful
and must be removed now.

Resolves: #69441
Releases: master
Change-Id: I7d02a320e9c7eaa91e877b703c78d535ee3d45cd
Reviewed-on: http://review.typo3.org/42945
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Abstract XSD generator can handle more than two namespace parts 71/42971/3
Helmut Hummel [Tue, 1 Sep 2015 20:10:56 +0000 (22:10 +0200)]
[BUGFIX] Abstract XSD generator can handle more than two namespace parts

The getTagNameForClass method in the abstract XSD generator class
could not handle class names with more than two namespace parts.

This caused e.g. TYPO3\CMS\Fluid\ViewHelpers\Be\Buttons\CshViewHelper to
not be transformed to "be.buttons.csh", but just "be.", which in turn
caused duplicate id errors in the resulting XSD document.

Make the code aware of more than two namespace parts.

Releases: master, 6.2
Resolves: #69463
Change-Id: I9a6a28b470679e7487f0d83a7ce9f267a1f3ec7f
Reviewed-on: http://review.typo3.org/42971
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[TASK] Replace sprite icon "actions-insert-reference" with the new IconFactory 61/42961/4
Morton Jonuschat [Tue, 1 Sep 2015 17:29:42 +0000 (19:29 +0200)]
[TASK] Replace sprite icon "actions-insert-reference" with the new IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-insert-reference with the new IconFactory.

Resolves: #68974
Releases: master
Change-Id: Ic85e7aebf46010859a9ef60b329cc40a353909f5
Reviewed-on: http://review.typo3.org/42961
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Replace sprite icon "actions-edit-merge-localization" with the new IconFactory 65/42965/4
Morton Jonuschat [Tue, 1 Sep 2015 18:34:30 +0000 (20:34 +0200)]
[TASK] Replace sprite icon "actions-edit-merge-localization" with the new IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-edit-merge-localization with the new IconFactory.

Resolves: #68930
Releases: master
Change-Id: I59cc9dc9dd88e22ed0d86f9ea1d149c3c4d4e4e9
Reviewed-on: http://review.typo3.org/42965
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Replace sprite icon "actions-document-localize" with the new IconFactory 68/42968/2
Morton Jonuschat [Tue, 1 Sep 2015 18:49:58 +0000 (20:49 +0200)]
[TASK] Replace sprite icon "actions-document-localize" with the new IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-document-localize with the new IconFactory.

Resolves: #68820
Releases: master
Change-Id: I888655fdf18c444d33ec52d68d84dcffa0c46aff
Reviewed-on: http://review.typo3.org/42968
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Replace sprite icon "actions-insert-record" with the new IconFactory 64/42964/2
Morton Jonuschat [Tue, 1 Sep 2015 18:05:15 +0000 (20:05 +0200)]
[TASK] Replace sprite icon "actions-insert-record" with the new IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-insert-record with the new IconFactory.

Resolves: #68972
Releases: master
Change-Id: Ic4d4657f96e712e0169da866189b6bf8b6fd82d5
Reviewed-on: http://review.typo3.org/42964
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Replace sprite icon "actions-document-duplicates-select" with the new IconFactory 66/42966/2
Morton Jonuschat [Tue, 1 Sep 2015 18:42:04 +0000 (20:42 +0200)]
[TASK] Replace sprite icon "actions-document-duplicates-select" with the new IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-document-duplicates-select with the new IconFactory.

Resolves: #68838
Releases: master
Change-Id: I1b96c82780859ffb10fd0922dae4a3ff96bfc8bb
Reviewed-on: http://review.typo3.org/42966
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Log source and target name when renaming files/directories 59/42959/2
Morton Jonuschat [Tue, 1 Sep 2015 16:25:53 +0000 (18:25 +0200)]
[BUGFIX] Log source and target name when renaming files/directories

Retrieve the name of the source before performing the actual rename
to enable logging the proper source name.

Resolves: #69231
Releases: master
Change-Id: I66769da707538ca888ace3fc80250cd52dc9c7b0
Reviewed-on: http://review.typo3.org/42959
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Replace sprite icon "actions-system-extension-*" with the new IconFactory 49/42949/4
Wouter Wolters [Mon, 31 Aug 2015 21:23:18 +0000 (23:23 +0200)]
[TASK] Replace sprite icon "actions-system-extension-*" with the new IconFactory

Resolves: #69445
Releases: master
Change-Id: I0061a8eef57f60479f0dc51b82bac3d1b5afcfca
Reviewed-on: http://review.typo3.org/42949
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Replace sprite icon "actions-edit-undo" with the new IconFactory 47/42947/4
Michael Oehlhof [Mon, 31 Aug 2015 19:38:57 +0000 (21:38 +0200)]
[TASK] Replace sprite icon "actions-edit-undo" with the new IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-edit-undo with the new IconFactory.

Resolves: #68937
Releases: master
Change-Id: I3a3d57528def039e7df42356c992bb47f15b1153
Reviewed-on: http://review.typo3.org/42947
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Fix loading of language file in indexed_search 46/42946/2
Tymoteusz Motylewski [Mon, 31 Aug 2015 16:16:59 +0000 (18:16 +0200)]
[BUGFIX] Fix loading of language file in indexed_search

As $GLOBALS['LANG'] doesn't exist in the frontend context,
language (xlf) file has to be loaded through pi_loadLL.

Resolves: #69443
Releases: master
Change-Id: I7668acc3b899fe89e5aaf1a1cdb09dc7a36053e2
Reviewed-on: http://review.typo3.org/42946
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Record List: Change toggle state with AJAX 52/42952/4
Andreas Fernandez [Tue, 1 Sep 2015 03:52:58 +0000 (05:52 +0200)]
[TASK] Record List: Change toggle state with AJAX

The tables in the Record List are now toggled by an AJAX call.

Resolves: #69446
Releases: master
Change-Id: I507e0945dc3dc8e8658ae769afedcb9d64a92d26
Reviewed-on: http://review.typo3.org/42952
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Change ID of submit button in EXT:belog 54/42954/2
Andreas Fernandez [Tue, 1 Sep 2015 08:06:31 +0000 (10:06 +0200)]
[BUGFIX] Change ID of submit button in EXT:belog

Change the ID of the submit button in the constraint filter to
fix a conflict between the "submit" id and the "submit" function
in JavaScript.

Resolves: #69447
Releases: master
Change-Id: I001bc94c88b9c51e1699167e8a4694b7cce79020
Reviewed-on: http://review.typo3.org/42954
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
4 years ago[FEATURE] Allow AbstractPlugin::pi_loadLL to load custom language file 34/42934/7
Tymoteusz Motylewski [Sun, 30 Aug 2015 20:32:30 +0000 (22:32 +0200)]
[FEATURE] Allow AbstractPlugin::pi_loadLL to load custom language file

Add optional parameter to pi_loadlLL method to allow loading
language files located somewhere else than $this->scriptRelPath folder.
This change allows to place language files in Resources/Private/Language
also in pi-based plugins.

Resolves: #69416
Releases: master
Change-Id: Ibcfef65b1606a86559f17e706f8873a2c5a3973b
Reviewed-on: http://review.typo3.org/42934
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[FEATURE] New option to disable the age display of dates per field by TCA 49/42849/6
Christian Seifert [Sun, 23 Aug 2015 18:13:46 +0000 (20:13 +0200)]
[FEATURE] New option to disable the age display of dates per field by TCA

If an input field of a table is declared as "input" and evalued with
"date", record lists show the date with an automatically
calculated age. This is not needed, when a user only wants to see the date
and no further information about the age related to now.

This change enables integrators to disable the hard coded calculation by
a new TCA option called "disableAgeDisplay". Par example, to remove age
calculation for tt_content and the field "date", integrators can add the
following lines to the TCA:
$GLOBALS['TCA']['tt_content']['columns']['date']['config']
['disableAgeDisplay'] = true;

So, disabling the age display can be configured per table and field.

Resolves: #28243
Releases: master
Change-Id: Id2ce6512764881889b4181f73db36048d5704be8
Reviewed-on: http://review.typo3.org/42849
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Mats Svensson <mats@pixelant.se>
Tested-by: Mats Svensson <mats@pixelant.se>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[TASK] Minify SVG Icons 41/42941/2
Benjamin Kott [Mon, 31 Aug 2015 13:36:53 +0000 (15:36 +0200)]
[TASK] Minify SVG Icons

Resolves: #69435
Releases: master
Change-Id: I9aa43a5bc139886b44de079bbc39502b63d34f1e
Reviewed-on: http://review.typo3.org/42941
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[TASK] Do not set application context by default in htaccess 42/42942/3
Harry Glatz [Mon, 31 Aug 2015 13:40:09 +0000 (15:40 +0200)]
[TASK] Do not set application context by default in htaccess

Since the Production context is the default if no context is set
via environment variables, we do not forcefully set
the context in template .htaccess either.

This allows to set the context via webserver configuration
without the need to touch the lines in the .htaccess file.

Resolves: #69434
Releases: master, 6.2
Change-Id: I70915c51479c91c0db22c7637e46cb1c0fae2db4
Reviewed-on: http://review.typo3.org/42942
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
4 years ago[TASK] Replace sprite icon "actions-system-cache-clear-impact-*" 38/42938/5
Frank Nägler [Mon, 31 Aug 2015 09:45:40 +0000 (11:45 +0200)]
[TASK] Replace sprite icon "actions-system-cache-clear-impact-*"

Resolves: #69427
Releases: master
Change-Id: Ia5e288b95a73c3c66416603fb59a913bfc34146a
Reviewed-on: http://review.typo3.org/42938
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
4 years ago[BUGIFX] Remove access checks for top level modules 36/42936/6
Helmut Hummel [Mon, 31 Aug 2015 07:28:18 +0000 (09:28 +0200)]
[BUGIFX] Remove access checks for top level modules

The access checks are obsolete as the top level modules to not have
any functionality. Access checks should be implemented on sub module
level instead.

Resolves: #69421
Releases: master
Change-Id: I530bcccaaa0427e068f945f6fd90d41d8319c9d6
Reviewed-on: http://review.typo3.org/42936
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[FEATURE] Add spinning feature for icons 05/42905/7
Frank Nägler [Fri, 28 Aug 2015 10:20:58 +0000 (12:20 +0200)]
[FEATURE] Add spinning feature for icons

Resolves: #69389
Releases: master
Change-Id: Ife062222cf5fc57aa65d5873e4dbf625df10f6d1
Reviewed-on: http://review.typo3.org/42905
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Correct visual nesting of tables in collapsible panels 37/42937/2
Benjamin Kott [Mon, 31 Aug 2015 08:04:38 +0000 (10:04 +0200)]
[BUGFIX] Correct visual nesting of tables in collapsible panels

Resolves: #69422
Releases: master
Change-Id: Ied0c5a21cfbd473dfb524b70c12d3f20c653b21f
Reviewed-on: http://review.typo3.org/42937
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[FEATURE] Index docx, xlsx, ... from MS Office 2007 and above 63/42863/6
Xavier Perseguers [Tue, 25 Aug 2015 09:28:55 +0000 (11:28 +0200)]
[FEATURE] Index docx, xlsx, ... from MS Office 2007 and above

* Add Microsoft office new formats to indexed_search
* Use unzip to get the xml content

Change-Id: I6d4481e09c34701ef846bb48f16b2a10d3fac38a
Resolves: #23669
Releases: master
Reviewed-on: http://review.typo3.org/42863
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
4 years ago[BUGFIX] Use single postProcessor layout, otherwise the global layout 19/35219/11
Ralf Zimmermann [Sat, 29 Aug 2015 14:57:47 +0000 (16:57 +0200)]
[BUGFIX] Use single postProcessor layout, otherwise the global layout

Change-Id: Ifcd3dfd9986684f95ab5574a190c4c8b215d0908
Resolves: #60995
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35219
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[FOLLOWUP][BUGFIX] Extbase: Use fully populated records in insertObject() 21/42821/3
Morton Jonuschat [Fri, 21 Aug 2015 16:02:49 +0000 (18:02 +0200)]
[FOLLOWUP][BUGFIX] Extbase: Use fully populated records in insertObject()

As it is common practice to define object properties in Extbase models
without default values (resulting in a NULL value) while defining the
database columns as `DEFAULT '' NOT NULL` these columns need to be
skipped when preparing a new record for insertion into the database.
This allows the database to use the configured defaults for columns
not included in the insert statement.

To properly support strict databases in an Extbase extension/model it is
required to configure identical/compatible default values in the
database schema and the model. This problem cannot be solved completely
programmatically.

Resolves: #69247
Related: #69084
Releases: master
Change-Id: I9de6a68a9eac25e171e3bfde6314366dad1ae346
Reviewed-on: http://review.typo3.org/42821
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Add icon for the form wizard number spinner elements 12/42912/8
Björn Jacob [Fri, 28 Aug 2015 16:22:45 +0000 (18:22 +0200)]
[BUGFIX] Add icon for the form wizard number spinner elements

Instead of using images/form/trigger.gif as background image for
the form wizard number spinner elements, this patch introduces a new icon
which shows the real functionality of the spinner element (up/down).

Resolves: #69398
Releases: master, 6.2
Change-Id: I608a8e4fee92978a23cedabd1c51800c8a22dfc0
Reviewed-on: http://review.typo3.org/42912
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[BUGFIX] Fatal Error due to class object inconsistencies in ext:form 13/42913/2
Oliver Hader [Fri, 28 Aug 2015 16:41:37 +0000 (18:41 +0200)]
[BUGFIX] Fatal Error due to class object inconsistencies in ext:form

Elements in the form wizard can either be defined by TypoScript or
by using the accordant wizard. Some of these elements don't have a
counterparts in the ExtJS form wizard and thus only work in the
TypoScript mode. In these cases, the missing JSON conversion
objects lead to fatal errors.

Resolves: #69399
Releases: master, 6.2
Change-Id: Ide39afcbdc483dc01d9cdc9165c89c34785f847d
Reviewed-on: http://review.typo3.org/42913
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Sebastian Wagner <sebastian.wagner@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[TASK] Refactor PostProcessorTest to use Prophecy 21/42921/3
Anja Leichsenring [Sat, 29 Aug 2015 14:15:05 +0000 (16:15 +0200)]
[TASK] Refactor PostProcessorTest to use Prophecy

In order to get rid of the mocking of the system under test, the
tests of ext:form PostProcessorTest are refactored to use
Prophecy. This step precedes the addition of other tests for
the class.

Change-Id: I1a2e9c5305c070f291b549965360abcfb8a695d0
Resolves: #69407
Releases: master
Reviewed-on: http://review.typo3.org/42921
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[FOLLOWUP][TASK] Add missing documentation for feature #31100 20/42920/4
Björn Jacob [Sat, 29 Aug 2015 14:01:31 +0000 (16:01 +0200)]
[FOLLOWUP][TASK] Add missing documentation for feature #31100

This patch adds the missing documentation.

Resolves: #69406
Related: #31100
Releases: master
Change-Id: Ifff18e4e9ec9750fe1d686decd88857cc4b13c57
Reviewed-on: http://review.typo3.org/42920
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>
4 years ago[TASK] Add unit test for fatal error on null object method call 18/42918/2
Anja Leichsenring [Sat, 29 Aug 2015 12:27:20 +0000 (14:27 +0200)]
[TASK] Add unit test for fatal error on null object method call

With #45685 a bugfix was merged. Now the corresponding
unit test is added as well.

Change-Id: Id62c4c7a29d2e28847381c18e963cb834e35fa01
Resolves: #69405
Relates: #45685
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/42918
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[FEATURE] Integrate Forms Wizard TEXTBLOCK multiline support 90/42890/5
Ralf Zimmermann [Fri, 28 Aug 2015 09:42:46 +0000 (11:42 +0200)]
[FEATURE] Integrate Forms Wizard TEXTBLOCK multiline support

The content element TEXTBLOCK is only rendered as single
line input field in the wizard. It will be difficult to add more than just a
one-liner there.
This change adds the possibility to define a multiline element in
the backend wizard. Line breaks are automatically converted to <br>
tags in the frontend.

Resolves: #31100
Releases: master
Change-Id: Ie5357d2cc308eff151f71fdaa9ffdb83796be58d
Reviewed-on: http://review.typo3.org/42890
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Fix broken link to security resources page on typo3.org 15/42915/2
Wouter Wolters [Fri, 28 Aug 2015 18:44:10 +0000 (20:44 +0200)]
[BUGFIX] Fix broken link to security resources page on typo3.org

Resolves: #69400
Releases: master,6.2
Change-Id: I277aee582c4b9158ded7a2227abd170ad81c96b9
Reviewed-on: http://review.typo3.org/42915
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] avoid Call to a member function getValue() on a non-object 74/42774/2
Ralf Zimmermann [Thu, 20 Aug 2015 13:30:18 +0000 (15:30 +0200)]
[BUGFIX] avoid Call to a member function getValue() on a non-object

Prevents calling a method of a non-existent object.

If an attribute is not set via Typoscript no object for the attribute
is instantiated. It must be checked if the attribute exists before
calling it.

Resolves: #45685
Releases: 6.2, master
Change-Id: Ia36052060b82d543b22fb9c0da61623f9d09bd07
Reviewed-on: http://review.typo3.org/42774
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
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] Add unit tests for HtmlParser->getFirstTag() and getFirstTagName() 43/42843/4
Michael Oehlhof [Sat, 22 Aug 2015 22:48:07 +0000 (00:48 +0200)]
[TASK] Add unit tests for HtmlParser->getFirstTag() and getFirstTagName()

Resolves: #69265
Releases: master
Change-Id: Ic4c221fc5d541ed42109ac9666b272e9f52c80c5
Reviewed-on: http://review.typo3.org/42843
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Add validation for name option in FontAwesomeProvider 03/42903/9
Frank Nägler [Fri, 28 Aug 2015 09:13:36 +0000 (11:13 +0200)]
[TASK] Add validation for name option in FontAwesomeProvider

Resolves: #69384
Releases: master
Change-Id: I87703486b5233dd91eb7a40dd93633af114ea5ff
Reviewed-on: http://review.typo3.org/42903
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Properly nest added FlexFormSectionContainer 89/42889/3
Andreas Fernandez [Thu, 27 Aug 2015 13:10:28 +0000 (15:10 +0200)]
[BUGFIX] Properly nest added FlexFormSectionContainer

Attach new created FlexFormSectionContainer to the right element.
Additionally, event stacking has been resolved.

Resolves: #69361
Releases: master
Change-Id: Iac09051b4dca2cf4393b18892359e14c43dfe8a3
Reviewed-on: http://review.typo3.org/42889
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Form NumberFields ignore typed values in wizard 95/42895/4
Sebastian Wagner [Thu, 27 Aug 2015 19:37:29 +0000 (21:37 +0200)]
[BUGFIX] Form NumberFields ignore typed values in wizard

"Spinner fields" in EXT:form are an old remake of the HTML5
number in ExtJS. Directly typing a value into that spinner
field is not stored - only by clicking the accordant buttons
to "spinup" or "spindown" the value.

A listener for the blur event handles this task and now allows
to store typed numbers as well. The event handler utilizes the
blur event to update the value - thus, the disabled onBlur
handling has to be disabled as well.
Using the change event did not work out due to ExtJS constraints.

Resolves: #69024
Releases: master, 6.2
Change-Id: I13264019c3edbfb8aa7051a4ae2e3ce91dd5c7f6
Reviewed-on: http://review.typo3.org/42895
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[TASK] Deprecate form element IMAGEBUTTON 96/42896/6
Ralf Zimmermann [Thu, 27 Aug 2015 19:46:01 +0000 (21:46 +0200)]
[TASK] Deprecate form element IMAGEBUTTON

Resolves: #69371
Releases: master
Change-Id: I39c2b0a3660ca861e70603181f19782033dd770d
Reviewed-on: http://review.typo3.org/42896
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[BUGFIX] IMAGEBUTTON src attribute not working 92/42892/3
Ralf Zimmermann [Thu, 27 Aug 2015 16:58:27 +0000 (18:58 +0200)]
[BUGFIX] IMAGEBUTTON src attribute not working

Render the IMAGEBUTTON "src" attribute as IMG_RESOURCE
but only the IMG_RESOURCE.file property for security reason.

Resolves: #69372
Releases: master, 6.2
Change-Id: Ic7f3eea9a5c43dc5c7254ce0fd7d6f21db445d4f
Reviewed-on: http://review.typo3.org/42892
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[BUGFIX] Tests: Fix Tag model config in extbase blog_example test extension 52/42652/4
Morton Jonuschat [Sat, 15 Aug 2015 20:27:07 +0000 (22:27 +0200)]
[BUGFIX] Tests: Fix Tag model config in extbase blog_example test extension

The Tag model in the extbase definition included a partial configuration
for translatable records. This includes NOT NULL fields in the SQL
schema definition that aren't declared in the TCA as well as fields that
are not being used by TYPO3 at all. This patch removes the partial
configuration as it caused errors when used with MySQL strict mode.

Resolves: #69089
Releases: master
Change-Id: Ib2c01ddfbbf4c7e4f9c0e53c324a3140ce3fa70f
Reviewed-on: http://review.typo3.org/42652
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
4 years ago[BUGFIX] Image Content elements result in exception 97/42897/4
Daniel Maier [Thu, 27 Aug 2015 22:16:05 +0000 (00:16 +0200)]
[BUGFIX] Image Content elements result in exception

With the change introduced in #66204, the fileObject-uid only was
determined if fileObject is instace of AbstractFile. As the uid
needs also be determined correctly for FileReferences, a more
general approach is needed to check if the getUid method exists
for the given fileObject type.

Resolves: #69377
Related: #66204
Releases: master
Change-Id: Ia837b4706ae4c7f38446751eb8c800d4fad8c8e4
Reviewed-on: http://review.typo3.org/42897
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
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: Sebastian Michaelsen <michaelsen@t3seo.de>
Tested-by: Sebastian Michaelsen <michaelsen@t3seo.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Extbase: Make transOrigDiffSourceField available in DataMap 54/42654/4
Anja Leichsenring [Wed, 26 Aug 2015 15:20:23 +0000 (17:20 +0200)]
[BUGFIX] Extbase: Make transOrigDiffSourceField available in DataMap

The transOrigDiffSourceField needs to be available in the DataMap so
that the persistence layer can properly initialize that field when
inserting new objects into the database. This field is often set to
NOT NULL in the schema which leads to SQL errors when it's not included
in the records, for example with MySQL in strict mode.

Resolves: #69085
Releases: master
Change-Id: I021ac695ab495d3d7257dfae27bd596d49551ccf
Reviewed-on: http://review.typo3.org/42654
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Overwriting form language keys via _LOCAL_LANG 05/42805/6
Ralf Zimmermann [Sun, 23 Aug 2015 15:26:21 +0000 (17:26 +0200)]
[BUGFIX] Overwriting form language keys via _LOCAL_LANG

With this patch it is possible to overwrite language keys from a XLIFF
file by TypoScript with the regular _LOCAL_LANG property.

Example:
plugin.tx_form._LOCAL_LANG.en.tx_form_view_mail\.success = Yay, that worked!

Resolves: #39280
Releases: master
Change-Id: Ic1ce1d3c065751f66d713878324e4bcb52e25330
Reviewed-on: http://review.typo3.org/42805
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Replace static MarkerUtility with object 82/42882/7
Anja Leichsenring [Wed, 26 Aug 2015 11:16:49 +0000 (13:16 +0200)]
[TASK] Replace static MarkerUtility with object

The static MarkerUtility introduced by #69262 can easily replaced with
an object. This makes mocking for tests easier. Deprecation will be
easier as soon the marker support is dropped, too.

Change-Id: I14c2a8402888dfaaa48b0fb9e6c9b40475fd800d
Resolves: #69329
Relates: #69262
Releases: master
Reviewed-on: http://review.typo3.org/42882
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Form Wizard does not respect backend debug mode 86/42886/2
Oliver Hader [Thu, 27 Aug 2015 11:23:12 +0000 (13:23 +0200)]
[BUGFIX] Form Wizard does not respect backend debug mode

Form Wizard does not respect backend debug mode in
$GLOBALS['TYPO3_CONF_VARS']['BE']['debug']. The hardcoded
compression and concatenation is removed by this change.

Resolves: #69353
Releases: master, 6.2
Change-Id: I78aa7f67a8c813fd0208e77b432829fceeb7aa6b
Reviewed-on: http://review.typo3.org/42886
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Sebastian Wagner <sebastian.wagner@tritum.de>
Tested-by: Sebastian Wagner <sebastian.wagner@tritum.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[TASK] Cleanup EXT:frontend 56/38456/21
Michael Oehlhof [Fri, 3 Apr 2015 11:01:31 +0000 (13:01 +0200)]
[TASK] Cleanup EXT:frontend

To get it "green" in PhpStorm, several changes are made:

- add getter for DatabaseConnection
- add getter for TypoScriptFrontendController
- add getter for TimeTracker
- add getter for BackendUser
- add use statements
- add missing return statements
- add missing variable declaration
- set correct PhpDoc comments
- initialize used variables
- remove unused variables

Resolves: #66204
Releases: master
Change-Id: Ifd77e96d46fd3df2c2f0a646deb24ef44814037e
Reviewed-on: http://review.typo3.org/38456
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[!!!][TASK] Remove flash and chart from ExtJS 78/42878/5
Alexander Opitz [Wed, 26 Aug 2015 07:48:19 +0000 (09:48 +0200)]
[!!!][TASK] Remove flash and chart from ExtJS

As we don't use the flash and chart module from ExtJS we remove it to
reduce loading time of backend which is needed to initialize flash on
every module page.

Resolves: #66190
Releases: master
Change-Id: I822887d5d56225abf0498965dd7cbf64220077a2
Reviewed-on: http://review.typo3.org/42878
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Josef Glatz <jousch@gmail.com>
Tested-by: Josef Glatz <jousch@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Add missing back reference for file trees 83/42883/4
Markus Klein [Wed, 26 Aug 2015 19:07:33 +0000 (21:07 +0200)]
[BUGFIX] Add missing back reference for file trees

The ElementBrowserFolderTreeView class needs a back reference
to the ElementBrowser as well.
This was forgotten in #69276.

Resolves: #69322
Releases: master
Change-Id: I9722b2cc39e927aa32e318551f47ad4abc5a18a6
Reviewed-on: http://review.typo3.org/42883
Reviewed-by: Sebastian Michaelsen <michaelsen@t3seo.de>
Tested-by: Sebastian Michaelsen <michaelsen@t3seo.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Correctly treat relative date specification in date-VH 85/42885/3
Markus Klein [Wed, 26 Aug 2015 21:47:18 +0000 (23:47 +0200)]
[BUGFIX] Correctly treat relative date specification in date-VH

If now base time is given, a relative date must be based on the current time.
A wrong check is fixed to make this working again.

Resolves: #69335
Related: #68022
Releases: master
Change-Id: I9a4133cc570939533576ec8b2fbe8fffe1103825
Reviewed-on: http://review.typo3.org/42885
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Josef Glatz <jousch@gmail.com>
Tested-by: Josef Glatz <jousch@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Update to phpunit 4.8 80/42880/2
Anja Leichsenring [Wed, 26 Aug 2015 09:35:10 +0000 (11:35 +0200)]
[TASK] Update to phpunit 4.8

Change-Id: I73b083192ec92bc709796cdafd84884747298c70
Releases: master
Resolves: #69325
Reviewed-on: http://review.typo3.org/42880
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>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[CLEANUP] Fix namespace in SplitProcessor example 81/42881/2
Sascha Egerer [Wed, 26 Aug 2015 09:44:15 +0000 (11:44 +0200)]
[CLEANUP] Fix namespace in SplitProcessor example

Change-Id: I97d6f501b775834a6cdd77f3c4f25b47d63b2065
Resolves: #69324
Releases: master
Reviewed-on: http://review.typo3.org/42881
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
4 years ago[CLEANUP] Remove invalid leading slash in SplitProcessor example 79/42879/3
Sascha Egerer [Wed, 26 Aug 2015 09:17:56 +0000 (11:17 +0200)]
[CLEANUP] Remove invalid leading slash in SplitProcessor example

Change-Id: Ia2e3a1b26455a42e814f4a579d61d83c7f5a8f63
Resolves: #69324
Releases: master
Reviewed-on: http://review.typo3.org/42879
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@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>
4 years ago[TASK] Moved marker substitution functionality to own class 81/41381/7
Benjamin Mack [Wed, 15 Jul 2015 22:37:05 +0000 (00:37 +0200)]
[TASK] Moved marker substitution functionality to own class

The marker substitution functionality has been moved from
core/Classes/Html/HtmlParser.php to own class
core/Classes/Utility/MarkerUtility.php

The following methods within HtmlParser have been marked as deprecated.

* HtmlParser::getSubpart()
* HtmlParser::substituteSubpart()
* HtmlParser::substituteSubpartArray()
* HtmlParser::substituteMarker()
* HtmlParser::substituteMarkerArray()
* HtmlParser::substituteMarkerAndSubpartArrayRecursive()

Resolves: #69262
Releases: master
Change-Id: Ia0ffb3715b3ecef9739db4f6aad53bae9c224b90
Reviewed-on: http://review.typo3.org/41381
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
4 years ago[BUGFIX] Indexed Search: Escape search strings for LIKE queries 06/42806/4
Morton Jonuschat [Fri, 21 Aug 2015 09:49:22 +0000 (11:49 +0200)]
[BUGFIX] Indexed Search: Escape search strings for LIKE queries

LIKE queries support special placeholders (_ and %). These characters
need proper escaping before being used in database queries. Use the
escapeStrForLike() method to provide properly escaped strings to the
query.

Resolves: #69227
Releases: master
Change-Id: I29c41bfecdbc13e8156ab9257b906696bc7a5e4f
Reviewed-on: http://review.typo3.org/42806
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[TASK] Add unit tests for HtmlParser->splitIntoBlock() 40/42840/5
Michael Oehlhof [Sat, 22 Aug 2015 18:03:04 +0000 (20:03 +0200)]
[TASK] Add unit tests for HtmlParser->splitIntoBlock()

Resolves: #69264
Releases: master
Change-Id: I73e1bd8894180658fd6911dbca0104518ceaf585
Reviewed-on: http://review.typo3.org/42840
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[!!!][TASK] Streamline ElementBrowser mode handling 75/42875/4
Markus Klein [Tue, 25 Aug 2015 16:37:23 +0000 (18:37 +0200)]
[!!!][TASK] Streamline ElementBrowser mode handling

The ElementBrowser now has a main entry point which takes
care of dispatching to the the various modes.
The main_*() methods of ElementBrowser are therefore made protected.

The $mode member of ElementBrowserController is not needed
by outside code and is therefore protected as well.

Additionally, the $content member of ElementBrowserController and
the printContent() method are removed.

Resolves: #69315
Releases: master
Change-Id: Ib9790915e72d3a5a460211a93ceeda24ee165c3e
Reviewed-on: http://review.typo3.org/42875
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
4 years ago[TASK] Add unit tests for HtmlParser->removeFirstAndLastTag() 44/42844/4
Michael Oehlhof [Sun, 23 Aug 2015 08:15:42 +0000 (10:15 +0200)]
[TASK] Add unit tests for HtmlParser->removeFirstAndLastTag()

Resolves: #69266
Releases: master
Change-Id: I8c35c1c175e632d2cba9fb6a495daf09486dc290
Reviewed-on: http://review.typo3.org/42844
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Add missing breaking changes documentation 14/42814/9
Alexander Schnitzler [Fri, 21 Aug 2015 14:04:19 +0000 (16:04 +0200)]
[TASK] Add missing breaking changes documentation

This patch adds missing documentation for the breaking changes
introduced in https://review.typo3.org/42644.

It also adds an early return for the FileListIsStartModuleUpdate
to prevent unnecessary database operations.

Releases: master
Resolves: #69237
Change-Id: Iaa113741919013b8a0a9513c1dcca2e5db094b04
Reviewed-on: http://review.typo3.org/42814
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[FOLLOWUP][!!!][TASK] Trees do not use global SOBE anymore 69/42869/2
Markus Klein [Tue, 25 Aug 2015 12:07:10 +0000 (14:07 +0200)]
[FOLLOWUP][!!!][TASK] Trees do not use global SOBE anymore

Fix wrong instanceof check.

Resolves: #69276
Releases: master
Change-Id: I9beb681c595cfa3e63cfe4ffdbf33557041511b4
Reviewed-on: http://review.typo3.org/42869
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[!!!][TASK] Trees do not use global SOBE anymore 53/42853/4
Markus Klein [Mon, 24 Aug 2015 07:19:42 +0000 (09:19 +0200)]
[!!!][TASK] Trees do not use global SOBE anymore

The back-reference to the underlying instance of ElementBrowser is now
stored as member of the tree.

Resolves: #69276
Releases: master
Change-Id: Ie48a77cd01269ea7e13905d651663424dbb616a1
Reviewed-on: http://review.typo3.org/42853
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
4 years ago[BUGFIX] Correctly assign workspace for rootline retrieval 65/42865/3
Markus Klein [Tue, 25 Aug 2015 10:55:26 +0000 (12:55 +0200)]
[BUGFIX] Correctly assign workspace for rootline retrieval

Resolves: #69306
Releases: master, 6.2
Change-Id: If59ec36222c1124c2918b39fc014e4c8a2d7bf2f
Reviewed-on: http://review.typo3.org/42865
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[TASK] Use routing for folder navigation tree 47/42847/7
Helmut Hummel [Sun, 23 Aug 2015 06:59:22 +0000 (08:59 +0200)]
[TASK] Use routing for folder navigation tree

Resolves: #69293
Releases: master
Change-Id: I069f3758fc96148043890c6448fda8bc964fd91b
Reviewed-on: http://review.typo3.org/42847
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Password in form is transferred as asterisks 58/42858/2
Xavier Perseguers [Mon, 24 Aug 2015 14:27:22 +0000 (16:27 +0200)]
[BUGFIX] Password in form is transferred as asterisks

Due to a wrong usage of $.inArray() which possibly returns
"0" if element is found at the first position within an array,
TCA fields with a single eval statement "password" are not
properly transferred to TYPO3.

Change-Id: Ic2647fbefc0ea7c9fef88288946af91343fcc55c
Resolves: #69153
Releases: master
Reviewed-on: http://review.typo3.org/42858
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[TASK] Prettify Extbase Debugger Utility 90/42790/4
Benjamin Kott [Thu, 20 Aug 2015 21:58:22 +0000 (23:58 +0200)]
[TASK] Prettify Extbase Debugger Utility

Releases: master
Resolves: #69299
Change-Id: Ibee145703e1689ca804384b20b9af1b0b586b8d8
Reviewed-on: http://review.typo3.org/42790
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[!!!][TASK] Fix configuration for backend module icons 54/42854/6
Helmut Hummel [Mon, 24 Aug 2015 13:45:23 +0000 (15:45 +0200)]
[!!!][TASK] Fix configuration for backend module icons

http://review.typo3.org/38004 removed the typo3/mod directory
with the main modules and their configuration and added the configuration
to `$GLOBALS['TBE_MODULES']`directly.
However for that a sub array key `configuration` was used, which is
inconsistent with all our current API and its usages across other
modules, leading to the situation that this configuration was basically
ignored.

On top of that, http://review.typo3.org/39316 introduced the possibility
to use sprite icons as module icons, which used the configuration key
`icon` in the above mentioned sub array key `configuration`,
making this key the only option evaluated in the sub array.

This change removes this sub array and moves the sprite icon
configuration on top for consistency. For that the key must be changed
to 'iconIdentifier' as 'icon' was already taken for Extbase module
icon configuration.

Resolves: #69291
Releases: master
Change-Id: I282841fdb09c9c2773ca6e5518fdda863f9f8ef5
Reviewed-on: http://review.typo3.org/42854
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Introduce runtime cache for getIndpEnv() 32/42732/5
Markus Klein [Tue, 18 Aug 2015 20:54:48 +0000 (22:54 +0200)]
[TASK] Introduce runtime cache for getIndpEnv()

This method is independent of runtime state, but just reflects
environment state, which does not change during a request.

Caching the result of the method gives a performance boost for common
BE request as documented in the ticket. (85% fewer calls to the method.)

Resolves: #69173
Releases: master
Change-Id: Icb3fd5fb56434c6db2323a9038b7d486426cab7e
Reviewed-on: http://review.typo3.org/42732
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Cleanup navigation frame module registration 56/42856/5
Helmut Hummel [Mon, 24 Aug 2015 14:06:47 +0000 (16:06 +0200)]
[TASK] Cleanup navigation frame module registration

http://review.typo3.org/37611 made the navigation frame dispatched.
For this it leveraged the addNavigationComponent API,
which was introduced only for ExtJS tree components.

Since we want to get rid of ExtJS (and this API specifically),
we need to introduce a different way to make modules or routes
navigation components.

This change reverts the above changes to the API and instead uses
the `navigationFrameModule` option which was introduced in
https://review.typo3.org/#/c/30593

To make this option work with top level modules and inheritance of
the navigation frame,
the evaluation of the option is moved to the module loader, which
has the benefit to have the code only in one place while it needed
to be in two places before.

Resolves: #69270
Releases: master
Change-Id: I7cb2ca2ee6d04001af424c88a1db828d1712caa1
Reviewed-on: http://review.typo3.org/42856
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] Deprecate BackendUtility::getPathType_web_nonweb 46/42846/2
Wouter Wolters [Sun, 23 Aug 2015 12:58:20 +0000 (14:58 +0200)]
[TASK] Deprecate BackendUtility::getPathType_web_nonweb

Resolves: #69269
Releases: master
Change-Id: I99f2a486a6bdd5cfb813c5068d226167e4b3ad7f
Reviewed-on: http://review.typo3.org/42846
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[BUGFIX] Copy transOrigDiffSourceField into workspace placeholder 31/42631/4
Morton Jonuschat [Fri, 14 Aug 2015 18:34:18 +0000 (20:34 +0200)]
[BUGFIX] Copy transOrigDiffSourceField into workspace placeholder

The transOrigDiffSourceField field needs to be copied into
workspace move placeholders when it exists as it can be defined
as NOT NULL in the database schema. Not copying it into the
placeholder leads to errors when MySQL is running in strict mode.

Resolves: #69073
Releases: master
Change-Id: Ifcf524675b1d6709d0d77012fdaff35017c00c90
Reviewed-on: http://review.typo3.org/42631
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[TASK] Remove unused CSH file locallang_csh_sysws.xlf 83/42783/2
Wouter Wolters [Thu, 20 Aug 2015 20:59:26 +0000 (22:59 +0200)]
[TASK] Remove unused CSH file locallang_csh_sysws.xlf

Resolves: #69217
Releases: master
Change-Id: I0b76541fff254a1b242a105e4104ea00a523f2a7
Reviewed-on: http://review.typo3.org/42783
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
4 years ago[BUGFIX] Assure a backend domain is set in workspace preview 94/42394/5
Daniel Goerz [Fri, 7 Aug 2015 19:27:44 +0000 (21:27 +0200)]
[BUGFIX] Assure a backend domain is set in workspace preview

Change-Id: Idc17243f8741057ee6ea1746ec6c344aec28d57a
Resolves: #45519
Resolves: #31718
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/42394
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Don't cut off icons in New Record wizard 12/42812/3
Andreas Fernandez [Fri, 21 Aug 2015 13:05:00 +0000 (15:05 +0200)]
[BUGFIX] Don't cut off icons in New Record wizard

If an icon larger than 16x16 pixels is used for the record icon in TCA,
it gets cutted and only the top left part is displayed. Apply proper
CSS rules to fix this behaviour.

Resolves: #69236
Releases: master, 6.2
Change-Id: I9f7643817f05fd6fba73b7884e70dbed2db84999
Reviewed-on: http://review.typo3.org/42812
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Replace ###ID### in openCustomUrlInContentFrame correctly 33/42733/3
Christian Seifert [Tue, 18 Aug 2015 20:31:19 +0000 (20:31 +0000)]
[BUGFIX] Replace ###ID### in openCustomUrlInContentFrame correctly

Adding an URL by getModuleUrl including an array having an ID
parameter id=###ID### results in an escaped string.
Instead of "###ID###" the value "%23%23%23ID%23%23%23" is
submitted to the JavaScript function.

This patch fixes the old replacement function.
Now, you can again add click menu items linking to modules and
passing the selected page uid.

Resolves: #69170
Releases: master, 6.2
Change-Id: Ib4c0a1556dd1ed583e8faefe431e2d4eaaf864ad
Reviewed-on: http://review.typo3.org/42733
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Seifert <christian-f-seifert@gmx.de>
Tested-by: Christian Seifert <christian-f-seifert@gmx.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[FEATURE] Add MediaViewHelper 24/38624/11
Frans Saris [Fri, 10 Apr 2015 19:19:23 +0000 (21:19 +0200)]
[FEATURE] Add MediaViewHelper

In order to comfortably render video, audio and all other file types
with a registered Renderer class (RenderingRegistry introduced with
#61800) in FE, we add a new ViewHelper.

The new MediaViewHelper first checks if there is a Renderer present for
the given file. If not, it will as fallback render a image tag.
This way it is a replacement for the ImageViewHelper in most cases.

Releases: master
Resolves: #66366
Change-Id: I4f92b5f1030238aacb544e45a35189f4e3d0732e
Reviewed-on: http://review.typo3.org/38624
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[TASK] Remove unused TCA description file for EM 81/42781/3
Wouter Wolters [Thu, 20 Aug 2015 20:57:33 +0000 (22:57 +0200)]
[TASK] Remove unused TCA description file for EM

Resolves: #69216
Releases: master
Change-Id: I5ed4b8f05da06328699fff86eacddc816d7ad145
Reviewed-on: http://review.typo3.org/42781
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
4 years ago[CLEANUP] Removed unused CSC constant 10/42810/2
Markus Klein [Fri, 21 Aug 2015 12:23:49 +0000 (14:23 +0200)]
[CLEANUP] Removed unused CSC constant

The constant "addIntextClearer" is not evaluated, remove it.

Resolves: #69235
Releases: master
Change-Id: I22d273ff12edc377f7f5661fa813de7cb4438573
Reviewed-on: http://review.typo3.org/42810
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[FOLLOWUP][TASK] Combine several calls to allowTableOnStandardPages 02/42802/2
Georg Ringer [Fri, 21 Aug 2015 08:12:54 +0000 (10:12 +0200)]
[FOLLOWUP][TASK] Combine several calls to allowTableOnStandardPages

The function accepts a comma separated string to add multiple tables.

Change-Id: I51fb442969bb569cf6936c3272551daa861fdbd8
Resolves: #69218
Releases: master
Reviewed-on: http://review.typo3.org/42802
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>