Packages/TYPO3.CMS.git
3 years ago[BUGFIX] Fix composer.json warning and update lock file 96/43396/8
Markus Klein [Thu, 17 Sep 2015 13:02:47 +0000 (15:02 +0200)]
[BUGFIX] Fix composer.json warning and update lock file

We update all dependencies here as only bugfix releases
are incorporated.

Resolves: #69923
Releases: master
Change-Id: I3ea9a545e3bb83237804d8cf77d9e0843f120a55
Reviewed-on: http://review.typo3.org/43396
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] Reduce PageLayoutController and PageLayoutView dependencies 38/42838/2
Oliver Hader [Sat, 22 Aug 2015 11:48:15 +0000 (13:48 +0200)]
[TASK] Reduce PageLayoutController and PageLayoutView dependencies

This is a follow-up to #68395 to reduce complexity and exposed
public API of that change.

Even if class components have the names "controller" and "view",
which implies an underlying MVC-stack, the PageLayout components
are far from using the pattern. That's why it's quite fine to put
processing logic to the place where it makes most sense and where
dependencies and cross-calls to other objects are kept low.

This change is only about refactoring and reducing the public API
in terms of information hiding and encapsulation. Besides that
the $languagesInColumnCache class variable was defined but never
use - which is changed now as well. Further flaws concerning
proper record selection are part of another change.

Related: #68395
Resolves: #69261
Releases: master
Change-Id: I8bb7737d154a5d2c7a584dbe11fd0a5abfabafba
Reviewed-on: http://review.typo3.org/42838
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Cleanup EXT:felogin directory structure 99/43399/4
Benjamin Mack [Thu, 17 Sep 2015 13:54:52 +0000 (15:54 +0200)]
[TASK] Cleanup EXT:felogin directory structure

Move template, language file (easy one) and flexform
in the right place, also make sure to use closures() for the
php files that reside in Configuration/TCA/Overrides/

Resolves: #68293
Resolves: #69921
Releases: master
Change-Id: I704e644eb90be6af0859c7154b4c22ac92d014ca
Reviewed-on: http://review.typo3.org/43399
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] LocalCropScaleMaskHelper consumes too much memory when cropping 89/43389/3
Thomas Maroschik [Thu, 17 Sep 2015 09:35:39 +0000 (11:35 +0200)]
[BUGFIX] LocalCropScaleMaskHelper consumes too much memory when cropping

When using the new image crop functionality in the backend the
LocalCropScaleMaskHelper crops the image using gdlib functions. Those
functions load the whole image into memory and can lead to fatal
errors because of memory limits in case of large images.

This fix replaces the gdlib functions with according ImageMagick/
GraphicsMagick functions which crop the image outside of PHP's
memory.

Resolves: #68484
Releases: master
Change-Id: I390264838ebfd89701f860302a07b3f5895d46ac
Reviewed-on: http://review.typo3.org/43389
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Bouche <andreas.bouche@flagbit.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[FEATURE] Content elements based on Fluid 58/38258/79
Patrick Broens [Mon, 20 Jul 2015 18:25:39 +0000 (20:25 +0200)]
[FEATURE] Content elements based on Fluid

This patch adds the new reworked content elements based on Fluid
templating instead of css_styled_content.

It also introduces a new CType "textmedia" which allows images,
but also media elements (videos etc) directly.

The content elements are added to the extension "fluid_styled_content".

Do not forget to include the static templates.

Change-Id: Ia0d0a9f9f2699d6bbff761c4896f9daa876f3b86
Resolves: #38732
Related: #65922
Releases: master
Reviewed-on: http://review.typo3.org/38258
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
3 years ago[BUGFIX] Make getCategoryFieldsForTable() compatible with new FormEngine 06/43406/2
Frans Saris [Thu, 17 Sep 2015 19:34:38 +0000 (21:34 +0200)]
[BUGFIX] Make getCategoryFieldsForTable() compatible with new FormEngine

Resolves: #69925
Releases: master
Change-Id: Iaa7323c0b685fae4b27d224075905f2e9a68b145
Reviewed-on: http://review.typo3.org/43406
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[FOLLOWUP][TASK] FAL-based database fields moved to integer 05/43405/3
Christian Kuhn [Thu, 17 Sep 2015 18:54:31 +0000 (20:54 +0200)]
[FOLLOWUP][TASK] FAL-based database fields moved to integer

Fix a bunch of functional test data sets to reflect the
changed tt_content image database field.

Resolves: #69909
Releases: master
Change-Id: Ie9535d6f20c6b1c94403a50e68292de0704702ee
Reviewed-on: http://review.typo3.org/43405
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Split TcaFlex provider 81/43281/12
Michael Oehlhof [Sun, 13 Sep 2015 13:16:19 +0000 (15:16 +0200)]
[TASK] Split TcaFlex provider

Split the provider into three parts, with the first one fetching
DataStructure and DataValues, the second doing global preparation
and migration and the last provider doing the main data handling.

Resolves: #69714
Releases: master
Change-Id: I068cb8946953a5533d02fad77f9776ae6a7b123a
Reviewed-on: http://review.typo3.org/43281
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>
3 years ago[!!!][TASK] FAL-based database fields moved to integer 87/43387/3
Benjamin Mack [Thu, 17 Sep 2015 08:43:52 +0000 (10:43 +0200)]
[!!!][TASK] FAL-based database fields moved to integer

Since all fields are now IRRE-based fields and migrated from the
comma-separated list of files used, the database fields can now be
changed as well.

Resolves: #69909
Releases: master
Change-Id: I45cf1f882e3124242ac30f0c27c0ec9ffe2e9cb1
Reviewed-on: http://review.typo3.org/43387
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Uppercase partial templates in ext:workspaces 91/43391/3
Wouter Wolters [Thu, 17 Sep 2015 10:30:29 +0000 (12:30 +0200)]
[TASK] Uppercase partial templates in ext:workspaces

Resolves: #69913
Releases: master
Change-Id: I6619fd0334d7c5b850e4d573a56348c5b72a9b07
Reviewed-on: http://review.typo3.org/43391
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[CLEANUP] End brace in excess in PageTSconfig 04/43404/2
Andreas Bouche [Thu, 17 Sep 2015 15:56:27 +0000 (17:56 +0200)]
[CLEANUP] End brace in excess in PageTSconfig

Resolves: #69924
Releases: master
Change-Id: I5b67b0138d5ace2693948757c54d66b05dfc0f9a
Reviewed-on: http://review.typo3.org/43404
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>
3 years ago[BUGFIX] Show language diffs below FormEngine fields 80/43380/3
Georg Ringer [Wed, 16 Sep 2015 18:35:01 +0000 (20:35 +0200)]
[BUGFIX] Show language diffs below FormEngine fields

Fix display of language diffs below fields of FormEngine.

Change-Id: Ie41995ffc38413a060e456ffda1712ed7722c2df
Resolves: #69896
Releases: master
Reviewed-on: http://review.typo3.org/43380
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
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>
3 years ago[TASK] Move login-related constants to EXT:felogin 92/43392/4
Benjamin Mack [Thu, 17 Sep 2015 10:38:19 +0000 (12:38 +0200)]
[TASK] Move login-related constants to EXT:felogin

Due to historic reasons EXT:css_styled_content has defined
constants that were used before EXT:felogin was there.

The constants were set correctly, but haven't been handed over
to EXT:felogin, thus they were useless since the old loginform was
removed.

The patch adds the constants to EXT:felogin so they are also added
when using e.g. EXT:fluid_styled_content as the
"defaultContentRendering" feature is used.

Resolves: #69914
Releases: master
Change-Id: Ib13372158352d25112caef77ec6d1c9e80a6027e
Reviewed-on: http://review.typo3.org/43392
Reviewed-by: Oliver Thiele <mail@oliver-thiele.de>
Tested-by: Oliver Thiele <mail@oliver-thiele.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years agoRevert "[FEATURE] Introduce ImplodeViewHelper" 94/43394/2
Benni Mack [Thu, 17 Sep 2015 11:53:31 +0000 (13:53 +0200)]
Revert "[FEATURE] Introduce ImplodeViewHelper"

The ViewHelper is not needed anymore, as the new content elements
based on Fluid are simplified.

This reverts commit 3194169a767294d7ce1a187e2dfe508bb1713b47.

Change-Id: I301383d17a49972e949dcc662dfecd39580bcaeb
Reviewed-on: http://review.typo3.org/43394
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Adjust contrast colors in diff view 86/43386/2
Andreas Fernandez [Thu, 17 Sep 2015 08:06:56 +0000 (10:06 +0200)]
[TASK] Adjust contrast colors in diff view

Resolves: #69908
Related: #69904
Releases: master
Change-Id: Ibd4267c8b2255c55aed441482e2647209515464f
Reviewed-on: http://review.typo3.org/43386
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>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Allow media elements to be previewed in backend 90/43390/3
Benjamin Mack [Thu, 17 Sep 2015 10:23:06 +0000 (12:23 +0200)]
[TASK] Allow media elements to be previewed in backend

Resolves: #69912
Releases: master
Change-Id: I9d0f92dbfb2ca1f419b563ea2ee2356eed107dcb
Reviewed-on: http://review.typo3.org/43390
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Speed-up update of translations 88/43388/2
Xavier Perseguers [Thu, 17 Sep 2015 09:31:18 +0000 (11:31 +0200)]
[TASK] Speed-up update of translations

Instead of updating a single extension and language per AJAX call, update
up to 10 extensions for a single language. This typically reduces the
number of AJAX calls and time to complete by a factor 5.

Change-Id: Ib3ae12b06ab0c4ce154c9a879aa435b9aebdccc1
Releases: master
Resolves: #69910
Reviewed-on: http://review.typo3.org/43388
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Loek Hilgersom <loek@netcoop.nl>
Tested-by: Loek Hilgersom <loek@netcoop.nl>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
3 years ago[BUGFIX] Avoid empty form-section divs 85/43385/2
Georg Ringer [Thu, 17 Sep 2015 06:38:56 +0000 (08:38 +0200)]
[BUGFIX] Avoid empty form-section divs

If flexform conditions are used it might be that the form-section is
empty. Render the div only if there is something to show.

Change-Id: I5942b8ee4f7b8cde4bc0f557cf3a4939d740b7aa
Resolves: #69907
Releases: master
Reviewed-on: http://review.typo3.org/43385
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.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>
3 years ago[TASK] Replace DiffUtility with PHP library to save disk I/O 82/43382/10
Mathias Schreiber [Wed, 16 Sep 2015 19:42:16 +0000 (21:42 +0200)]
[TASK] Replace DiffUtility with PHP library to save disk I/O

In order to make diff displays work cross platform and save A LOT of
disk I/O we replace the questionable approach with a slick PHP library

Resolves: #69904
Releases: master
Change-Id: Ifd76f32d2102f895d61de085142195dc1dbbc2ed
Reviewed-on: http://review.typo3.org/43382
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[FOLLOWUP][FEATURE] Improve handling of online media 83/43383/3
Benjamin Mack [Wed, 16 Sep 2015 20:18:21 +0000 (22:18 +0200)]
[FOLLOWUP][FEATURE] Improve handling of online media

The newly introduced feature allowed to upload media files
for tt_content.image which does not work in Frontend at all,
so this configuration setting is changed back now.

Fixes: #61799
Releases: master
Change-Id: Ibd4ca80a40b7d50ee6b33828d7a2daa8c44258b6
Reviewed-on: http://review.typo3.org/43383
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: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Fix icon size in access list 84/43384/2
Frank Nägler [Wed, 16 Sep 2015 20:26:40 +0000 (22:26 +0200)]
[BUGFIX] Fix icon size in access list

Resolves: #69905
Releases: master
Change-Id: If35137e3a786493bf168c18e8ef952d1d83c63de
Reviewed-on: http://review.typo3.org/43384
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Merge FormEngineUtility icon methods 70/43370/2
Mathias Brodala [Wed, 16 Sep 2015 09:18:14 +0000 (11:18 +0200)]
[TASK] Merge FormEngineUtility icon methods

Resolves: #69869
Releases: master
Change-Id: I93520350a69e145d5d5d6e77cc387d45ef4e9885
Reviewed-on: http://review.typo3.org/43370
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Do not drop selection from "singlebox" select 43/43343/3
Mathias Brodala [Tue, 15 Sep 2015 15:09:05 +0000 (17:09 +0200)]
[BUGFIX] Do not drop selection from "singlebox" select

By setting the new value after validation via attribute, we avoid
triggering a new "change" event which in turn causes a validation
again.

Resolves: #69490
Releases: master
Change-Id: I679da7ad7b71048a10a07de1f2d290bfde0dde8b
Reviewed-on: http://review.typo3.org/43343
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Thorsten Bringewatt <t.bringewatt@mittwald.de>
Tested-by: Thorsten Bringewatt <t.bringewatt@mittwald.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[FOLLOWUP][TASK] Have eIDs with PSR-7 without ControllerInterface 81/43381/2
Nicole Cordes [Wed, 16 Sep 2015 19:29:37 +0000 (21:29 +0200)]
[FOLLOWUP][TASK] Have eIDs with PSR-7 without ControllerInterface

The patch throws an exception for invalid classes without
an implemented __invoke() method.

Related: #69846
Releases: master
Change-Id: I73bede961ec9d314b86849d0a6d031201c8bbe92
Reviewed-on: http://review.typo3.org/43381
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Replace editOnClick() with getModuleUrl 28/43328/4
Benjamin Mack [Tue, 15 Sep 2015 12:29:24 +0000 (14:29 +0200)]
[TASK] Replace editOnClick() with getModuleUrl

The editOnClick produces JS which is not needed in most cases.

Using BackendUtility::getModuleUrl() allows to avoid inline JS code.

Resolves: #69825
Releases: master
Change-Id: I95b69db93d5553eb2998bcbca463f58faec7b18e
Reviewed-on: http://review.typo3.org/43328
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Have eIDs with PSR-7 without ControllerInterface 52/43352/7
Benjamin Mack [Tue, 15 Sep 2015 16:01:36 +0000 (18:01 +0200)]
[TASK] Have eIDs with PSR-7 without ControllerInterface

In order to allow the same logic as with the Routing and the
direct information which method to call, the ControllerInterface
is removed again.

Additionally, the previously introduced Dispatcher is now renamed
to RouteDispatcher (based on routing), and a simple dispatcher
is now added to EXT:core, which the RouteDispatcher derives from.

Resolves: #69846
Releases: master
Change-Id: Ica028f81aa377fd60e5159907c8c226fe0ebd34a
Reviewed-on: http://review.typo3.org/43352
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
3 years ago[TASK] indexed_search: cleanup SearchFormController 77/43377/3
Tymoteusz Motylewski [Wed, 16 Sep 2015 13:50:26 +0000 (15:50 +0200)]
[TASK] indexed_search: cleanup SearchFormController

SearchFormController cleanup
- doc comments
- typos
- missing returns
- uninitialized variables

Resolves: #69894
Releases: master
Change-Id: Ibfd20e18ad8910238bfd22dc3c5752cab69723cb
Reviewed-on: http://review.typo3.org/43377
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
3 years ago[FOLLOWUP][BUGFIX] Notify user about insufficient language configuration 79/43379/2
Nicole Cordes [Wed, 16 Sep 2015 16:50:27 +0000 (18:50 +0200)]
[FOLLOWUP][BUGFIX] Notify user about insufficient language configuration

Patch fixes unit tests.

Related: #69757
Releases: master
Change-Id: I0cd85610bd0e41b10bfc6b97d91c0b69624b9a49
Reviewed-on: http://review.typo3.org/43379
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] indexed_search: remove "experimental" from Extbase plugin name 78/43378/3
Tymoteusz Motylewski [Wed, 16 Sep 2015 13:58:35 +0000 (15:58 +0200)]
[TASK] indexed_search: remove "experimental" from Extbase plugin name

Resolves: #69895
Releases: master
Change-Id: I0ddb9f991c4ca04a7f3b36ca673dec457da5e78b
Reviewed-on: http://review.typo3.org/43378
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Notify user about insufficient language configuration 70/43270/6
Nicole Cordes [Sun, 13 Sep 2015 11:43:18 +0000 (13:43 +0200)]
[BUGFIX] Notify user about insufficient language configuration

The language records are necessary within FormEngine and FlexForm
handling. If a language has a missing language_isocode, the output of
RTE elements might break because of missing identifier information.
This patch adds a notification to the user to check the language
record configuration and set a proper language_isocode.

Resolves: #69757
Releases: master
Change-Id: Ic969217ee6f7b4ca46b55d0d274d53391b080c5b
Reviewed-on: http://review.typo3.org/43270
Reviewed-by: Thorsten Bringewatt <t.bringewatt@mittwald.de>
Tested-by: Thorsten Bringewatt <t.bringewatt@mittwald.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Show FlashMessage if desired storage is not available 82/43282/6
Michael Oehlhof [Sun, 13 Sep 2015 17:41:42 +0000 (19:41 +0200)]
[BUGFIX] Show FlashMessage if desired storage is not available

This exception occured when a file reference from a storage was used
on a page and the extension which provides the storage was disabled
in the extension manager.

Now a FlashMessage is shown with the uid of the file reference.

Resolves: #69765
Releases: master
Change-Id: Ie6b30948af42a9f5cccab678601a21da4af8b35e
Reviewed-on: http://review.typo3.org/43282
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Organize TSconfig structure 73/43373/4
Benjamin Mack [Wed, 16 Sep 2015 10:07:17 +0000 (12:07 +0200)]
[TASK] Organize TSconfig structure

EXT:backend ships a proper ordered TSconfig for the wizards now
which is places inside EXT:backend/Configuration/PageTSconfig/.

This ensures proper order of new content element wizard elements
when having CSS Styled Content not installed.

All other occurences of the folder structure have been adapted as well.

Resolves: #69872
Releases: master
Change-Id: I871da6ad4dd40d216e46cb2bd6afc6ff3d15538b
Reviewed-on: http://review.typo3.org/43373
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Support URLs in image tag generation 63/43363/2
Nicole Cordes [Tue, 15 Sep 2015 23:29:37 +0000 (01:29 +0200)]
[BUGFIX] Support URLs in image tag generation

FAL files may return an absolute URL depending on the driver the
storage uses. Currently the absRefPrefix is prepended automatically
to the image source without analyzing the file path. This patch ensures
the prefix is only added for local files.

Resolves: #69861
Releases: master, 6.2
Change-Id: Ida5568372817ac6e840bcc366090fe3e8a925eec
Reviewed-on: http://review.typo3.org/43363
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[FEATURE] Allow value attribute for OPTION object in wizard 36/43336/4
Christian Fischer [Tue, 15 Sep 2015 14:37:15 +0000 (16:37 +0200)]
[FEATURE] Allow value attribute for OPTION object in wizard

Now it is possible to add a value to the OPTION object using the
wizard. Furthermore the table within the field options of the
SELECT configuration has been improved. There were no labels shown
which has been fixed now.

Resolves: #69409
Releases: master
Change-Id: I29d6a7b98e7d3cd8c46ab44a7e47a230150cfcbe
Reviewed-on: http://review.typo3.org/43336
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Loek Hilgersom <loek@netcoop.nl>
Tested-by: Loek Hilgersom <loek@netcoop.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] SelectCheckboxElement merge methods 49/43249/4
Nicole Cordes [Sat, 12 Sep 2015 17:36:34 +0000 (19:36 +0200)]
[TASK] SelectCheckboxElement merge methods

This patch removes the private property resultArray and merges the
function getSingleField_typeSelect_checkbox into the render() method.

Resolves: #69723
Releases: master
Change-Id: Ia0c9d4cdbc3d17e69714bb99c4596e48383d2696
Reviewed-on: http://review.typo3.org/43249
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Fix rendering with empty date 67/43367/6
Oliver Thiele [Tue, 15 Sep 2015 11:57:36 +0000 (13:57 +0200)]
[BUGFIX] Fix rendering with empty date

Resolves: #69858
Releases: master
Change-Id: I02ffe4fcd53f1a956e73bc39f043bdcb6e0a9d9e
Reviewed-on: http://review.typo3.org/43367
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Oliver Thiele <mail@oliver-thiele.de>
Tested-by: Oliver Thiele <mail@oliver-thiele.de>
3 years ago[FEATURE] Add placeholder attribute to some textfields in wizard 33/43333/7
Andreas Häfner [Tue, 15 Sep 2015 13:17:47 +0000 (15:17 +0200)]
[FEATURE] Add placeholder attribute to some textfields in wizard

The form wizard is now able to add a placeholder attribute to the
following elements: TEXTLINE, TEXTAREA, PASSWORD and the preset
"email". TypoScript config is properly read and written.

Resolves: #53406
Releases: master
Change-Id: I65a8cf24f5632cc792fbd2ccf4ea73e501113715
Reviewed-on: http://review.typo3.org/43333
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FEATURE] Add Dispatcher for Backend Routing 37/43337/13
Benjamin Mack [Tue, 15 Sep 2015 14:45:25 +0000 (16:45 +0200)]
[FEATURE] Add Dispatcher for Backend Routing

The newly introduced Backend Routing is updated so that Routes
must define not just the controller but also the action which should
be called. It is now also possible to use a Closure / callable directly
to be called as a Route.

The RequestHandler now creates the Response object, which is
handed to the Dispatcher and to the respective action. This way
each action can already use the existing Response object.

The Dispatcher resolves the action and hands over the request and
response object.

All existing routes have been adapted to use controller and actions.

The fixed ControllerInterface is not needed anymore.

Resolves: #69855
Releases: master
Change-Id: I6edcf8e0f6b49580052f24ca9fd7ad352b6d6f34
Reviewed-on: http://review.typo3.org/43337
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>
3 years ago[TASK] Add unit tests for TemplateService->splitConfArray() 58/43358/2
Tymoteusz Motylewski [Tue, 15 Sep 2015 19:55:26 +0000 (21:55 +0200)]
[TASK] Add unit tests for TemplateService->splitConfArray()

splitConfArray is a implementation of TypoScript optionSplit function.
This change adds some unit tests for the basic usage outlined
in the documentation.
see https://docs.typo3.org/typo3cms/TyposcriptReference/ObjectsAndProperties/Index.html#objects-optionsplit

Resolves: #69854
Releases: master
Change-Id: I1312039479b8c685af240224906d897d6c1d00d7
Reviewed-on: http://review.typo3.org/43358
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Display validation tab in form wizard by default 57/43357/2
Björn Jacob [Tue, 15 Sep 2015 19:57:09 +0000 (21:57 +0200)]
[TASK] Display validation tab in form wizard by default

Resolves: #33952
Releases: master
Change-Id: Ibe972574ff163df9f2ea03eb43a9a28e51edeb7d
Reviewed-on: http://review.typo3.org/43357
Reviewed-by: Christian Fischer <cf@tritum.de>
Tested-by: Christian Fischer <cf@tritum.de>
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[TASK] Add sane defaults for tracking tools to prevent 404s on cash errors 71/43371/3
Mathias Schreiber [Wed, 16 Sep 2015 09:24:58 +0000 (11:24 +0200)]
[TASK] Add sane defaults for tracking tools to prevent 404s on cash errors

The usual suspects google, Facebook and twitter add get parameters to
links once shared.
If you are running a well configured TYPO3 site, cHash mismatches will
return an error 404 which we want to prevent by supplying default settings

Resolves: #69864
Releases: master
Change-Id: Iccbfd35f7f7beca15705cc47de1c5fbe594dd815
Reviewed-on: http://review.typo3.org/43371
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>
3 years ago[TASK] Replace icon with SVG: actions-edit-rename 59/43359/2
Benjamin Kott [Tue, 15 Sep 2015 20:05:58 +0000 (22:05 +0200)]
[TASK] Replace icon with SVG: actions-edit-rename

Resolves: #69856
Releases: master
Change-Id: I0829160eb0dad0d20a7f6d6a507d890720989de4
Reviewed-on: http://review.typo3.org/43359
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Automatic code cleanup 62/43362/2
Wouter Wolters [Tue, 15 Sep 2015 22:06:56 +0000 (00:06 +0200)]
[TASK] Automatic code cleanup

Resolves: #69860
Releases: master
Change-Id: I1bd264d3a5ccde63fd810af9037e39275ee973b0
Reviewed-on: http://review.typo3.org/43362
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Replace icon with SVG: actions-document-duplicates-select 61/43361/2
Benjamin Kott [Tue, 15 Sep 2015 20:35:41 +0000 (22:35 +0200)]
[TASK] Replace icon with SVG: actions-document-duplicates-select

Resolves: #69859
Releases: master
Change-Id: I3acd7adb5664151b4d104911b96e5c9057acb4f6
Reviewed-on: http://review.typo3.org/43361
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FEATURE] Allow re-initialization of tt_content categories 34/40834/12
Alexander Stehlik [Mon, 14 Sep 2015 14:36:20 +0000 (16:36 +0200)]
[FEATURE] Allow re-initialization of tt_content categories

The categories field for the tt_content table is re-initialized in
the TCA overrides file of css_styled_content.

For this to work a new method is added to the category registry
that allows overriding an existing registry entry.

Resolves: #67875
Releases: master
Change-Id: I1a9ba30982216402d3fe8e2d3e48ed27a8807df2
Reviewed-on: http://review.typo3.org/40834
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Optimizing ElementHistoryController 27/43327/2
Michael Oehlhof [Tue, 15 Sep 2015 12:23:01 +0000 (14:23 +0200)]
[TASK] Optimizing ElementHistoryController

The function getButtons() has instantiated the class RecordHistory only
for getting the returnUrl parameter.
This is replaced by GeneralUtility::_GP() and
GeneralUtility::sanitizeLocalUrl()

Resolves: #69823
Releases: master
Change-Id: I43668728c8cbb46cac7e0d2f4ebf7892af17ef3f
Reviewed-on: http://review.typo3.org/43327
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[CLEANUP] Properly name "typoLink" and "typoLink_URL" 44/43344/2
Mathias Brodala [Tue, 15 Sep 2015 15:23:55 +0000 (17:23 +0200)]
[CLEANUP] Properly name "typoLink" and "typoLink_URL"

Resolves: #69839
Releases: master
Change-Id: Icce81f54c96cee5968bf31855e40b84557d3d6ad
Reviewed-on: http://review.typo3.org/43344
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: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] Fixed broken filters on SelectMultipleSideBySideElement 47/43347/2
Mathias Schreiber [Tue, 15 Sep 2015 15:52:54 +0000 (17:52 +0200)]
[BUGFIX] Fixed broken filters on SelectMultipleSideBySideElement

Due to correct concatenation of incompatible datatypes the select element
now shows filter boxes again.

Resolves: #69830
Releases: master
Change-Id: I4a4040b61fac9e6ab6f2784e4ec7ac2b2cc5450a
Reviewed-on: http://review.typo3.org/43347
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>
3 years ago[BUGFIX] Fix selected node count in select tree 42/43342/2
Alexander Stehlik [Tue, 15 Sep 2015 15:07:47 +0000 (17:07 +0200)]
[BUGFIX] Fix selected node count in select tree

If only one item can be selected in a select tree field (maxitems=1)
and the first selected value is empty is will be cleared from the
selected node array.

Resolves: #69836
Releases: master
Change-Id: Ic3b71a39f73638a7d8c46c7939d17260356437dd
Reviewed-on: http://review.typo3.org/43342
Reviewed-by: Oliver Thiele <mail@oliver-thiele.de>
Tested-by: Oliver Thiele <mail@oliver-thiele.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Disallow empty values for multi select fields 39/43339/3
Alexander Stehlik [Tue, 15 Sep 2015 15:22:06 +0000 (17:22 +0200)]
[TASK] Disallow empty values for multi select fields

The TcaSelectItems provider strips out empty values from the
value array if more than one item can be selected.

Resolves: #69834
Releases: master
Change-Id: I31fba0180d3ec9be66058fa65dbdcb8a17d904da
Reviewed-on: http://review.typo3.org/43339
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[FEATURE] Improve handling of online media 00/41800/27
Frans Saris [Sat, 5 Sep 2015 20:12:50 +0000 (22:12 +0200)]
[FEATURE] Improve handling of online media

This patch introduces a new way of handling "online media", like
YouTube and Vimeo videos in TYPO3.
The media can be added by url and after that it can be used
like any other file.

To test with tt_content change
   $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])
to
   $GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext'])
in typo3/sysext/frontend/Configuration/TCA/tt_content.php

To render a video in FE use <f:media file="{file}" />

File icon support based on mimetype will be added in a separate
patch #69764.

Releases: master
Resolves: #61799
Change-Id: I4b262e6fef80ba30fe627ef0ea3c55c2390c97ab
Reviewed-on: http://review.typo3.org/41800
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Refactor SelectSingleBoxElement rendering 46/43246/9
Mathias Brodala [Sat, 12 Sep 2015 16:14:20 +0000 (18:14 +0200)]
[TASK] Refactor SelectSingleBoxElement rendering

Resolves: #69725
Releases: master
Change-Id: I6167c6e72c6f67cda03f89780be5596f6decc6ca
Reviewed-on: http://review.typo3.org/43246
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Handle langChildren correctly in flex form 00/43300/11
Thorsten Bringewatt [Mon, 14 Sep 2015 13:43:08 +0000 (15:43 +0200)]
[BUGFIX] Handle langChildren correctly in flex form

This commit repairs the handling of localization method 2
for flex form (langChildren=1).

For more information about the feature:
https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Flex/Index.html#handling-languages-in-flexforms

Resolves: #69717
Releases: master
Change-Id: I237e8289a03b691d3dac1ace99564bf4bcfb66d8
Reviewed-on: http://review.typo3.org/43300
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] FormEngine: Remove "TCEforms" from sheet level data structure 22/43322/5
Morton Jonuschat [Tue, 15 Sep 2015 10:23:49 +0000 (12:23 +0200)]
[TASK] FormEngine: Remove "TCEforms" from sheet level data structure

Remove the TCEforms array subkey from the sheet level FlexForm data
structure. This affects the title, descriptions and display conditions
for FlexForm sheets.

Resolves: #69720
Releases: master
Change-Id: I912e513844be9ce034bb878e92c7b17004c0112f
Reviewed-on: http://review.typo3.org/43322
Reviewed-by: Loek Hilgersom <loek@netcoop.nl>
Tested-by: Loek Hilgersom <loek@netcoop.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Declare mimetype property in FAL as string 86/43286/2
Stephan Großberndt [Mon, 14 Sep 2015 08:29:50 +0000 (10:29 +0200)]
[BUGFIX] Declare mimetype property in FAL as string

This patch properly declares the mimetype property in all FAL classes
as string instead of array.

Resolves: #69772
Releases: master
Change-Id: Ie9af4411122ecd8d915e7c98da5c573931e12392
Reviewed-on: http://review.typo3.org/43286
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[TASK] Cleanup RecordHistory 85/43285/5
Daniel Goerz [Mon, 14 Sep 2015 08:24:55 +0000 (10:24 +0200)]
[TASK] Cleanup RecordHistory

Additionally to the code cleanup the link to show the
history of the full page is transformed into a button.

Change-Id: Ia00052b1463cee39de0096c917734d775d98757d
Resolves: #69771
Releases: master
Reviewed-on: http://review.typo3.org/43285
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][TASK] Replace jumpurl functionality with hooks 11/36211/20
Alexander Stehlik [Tue, 15 Sep 2015 09:22:13 +0000 (11:22 +0200)]
[!!!][TASK] Replace jumpurl functionality with hooks

The jumpurl feature is moved from the core to a new extension "jumpurl".

This patch removes all jumpurl functionality and replaces it with
hooks that can be used to modify the link generation and to handle
any submitted jumpurl.

Resolves: #52156
Releases: master
Change-Id: I7ec2b8d2da0ce42b227a5150d9c84bce340b16a7
Reviewed-on: http://review.typo3.org/36211
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Add prepended icon to SelectSingleElement 06/43306/7
Mathias Brodala [Mon, 14 Sep 2015 16:16:37 +0000 (18:16 +0200)]
[TASK] Add prepended icon to SelectSingleElement

This brings back the select prepend icon and moves all event
handling for updating it to a RequireJS module.

Also moves all remaining event handling to the module including
FormEngine "fieldChangeFunc" and "onFocus".

Resolves: #69792
Releases: master
Change-Id: I9943412bb61639759aeba05746facdce60cfd12e
Reviewed-on: http://review.typo3.org/43306
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FEATURE] Add new TS option getData->pagelayout 23/42723/7
Benjamin Mack [Tue, 18 Aug 2015 17:12:09 +0000 (19:12 +0200)]
[FEATURE] Add new TS option getData->pagelayout

Add a new TypoScript getData option to fetch the backend layout
of the current page, and if empty, use backend_layout_next_level.

Releases: master
Resolves: #69602
Change-Id: I82e01b1655c683c65f378f97558489cfeca36bf9
Reviewed-on: http://review.typo3.org/42723
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Storage doesn't save is_public anymore 25/43325/2
Nicole Cordes [Tue, 15 Sep 2015 11:20:49 +0000 (13:20 +0200)]
[BUGFIX] Storage doesn't save is_public anymore

With the style changes in https://review.typo3.org/42984/ the order of
the input fields were change and the value of the checkbox isn't sent
currently. This patch corrects the order to be able to submit the
checkbox value.

Resolves: #69819
Releases: master
Change-Id: I35ddf550fc0f4cd3c79995e6cfa7a5539a19cd1c
Reviewed-on: http://review.typo3.org/43325
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Adjust itemsProcFunc for sys_filemounts 21/43321/3
Nicole Cordes [Tue, 15 Sep 2015 11:15:48 +0000 (13:15 +0200)]
[BUGFIX] Adjust itemsProcFunc for sys_filemounts

Due to the changes of FormEngine the folder selection of filemount
records always show the folders from fileadmin. This patch adjust the
script to handle the incoming (already resolved) database information.

Resolves: #69815
Releases: master
Change-Id: I395920088a32d39b4ffc46d768ef581c9ca42a8e
Reviewed-on: http://review.typo3.org/43321
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Respect absRefPrefix in admin panel 35/29535/12
Alexander Stehlik [Mon, 14 Sep 2015 07:52:57 +0000 (09:52 +0200)]
[BUGFIX] Respect absRefPrefix in admin panel

Use $GLOBALS['TSFE']->absRefPrefix for loading the
jsfunc.evalfield.js file in the admin panel.

Resolves: #52211
Releases: master
Change-Id: I81cf6603887bb981e0c9398a724d3fb56de240f8
Reviewed-on: http://review.typo3.org/29535
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] IDNA encode domains in email addresses for MailMessage 94/43294/5
Morton Jonuschat [Mon, 14 Sep 2015 11:40:41 +0000 (13:40 +0200)]
[TASK] IDNA encode domains in email addresses for MailMessage

SwiftMailer does not support email addresses with UTF8 characters in the
domain name. UTF8 characters in the domain name are valid as long as
they are IDNA/punycode encoded.

To work around the SwiftMailer issue MailMessage has been extended with
custom setters that encode the email addresses before passing them to
SwiftMailer.

Resolves: #69208
Releases: master
Change-Id: I9835340c8d216f37dc94dfb65dc70822c2a47702
Reviewed-on: http://review.typo3.org/43294
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Loek Hilgersom <loek@netcoop.nl>
Tested-by: Loek Hilgersom <loek@netcoop.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FEATURE] Add SELECT_mm_query to DatabaseConnection 11/42811/4
Morton Jonuschat [Fri, 21 Aug 2015 12:40:52 +0000 (14:40 +0200)]
[FEATURE] Add SELECT_mm_query to DatabaseConnection

Query building and execution has been separated to facilitate inspection
of the generated statements as well as enabling the usage of the
statement building in EXT:dbal.

Resolves: #19494
Resolves: #20892
Releases: master
Change-Id: Ibd5accbf2c2caa9cb9db42dbcf49051d4e113003
Reviewed-on: http://review.typo3.org/42811
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] SelectTreeElement merge methods 57/43257/4
Jan Helke [Sun, 13 Sep 2015 08:43:41 +0000 (10:43 +0200)]
[TASK] SelectTreeElement merge methods

This patch removes the private property resultArray and merges the
function renderField into the render() method. Also it removes two
functions that are also defined in the parent class.

IMPORTANT: This patch relies on the merge of
https://review.typo3.org/43260

Releases: master
Resolves: #69727
Change-Id: If872a05f012f1fe76bab6abcfe25dd4d98dcff54
Reviewed-on: http://review.typo3.org/43257
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Remove codeception for no usage 20/43320/3
Anja Leichsenring [Tue, 15 Sep 2015 09:00:47 +0000 (11:00 +0200)]
[TASK] Remove codeception for no usage

Codeception is not used for testing currently, so we remove the
dependency for the time being.

Change-Id: Ieb9057985deaaa19d34c17c6c04304fb46e5485e
Resolves: #69810
Releases: master
Reviewed-on: http://review.typo3.org/43320
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[CLEANUP] Minor code improvements in DatabaseRowInitializeNew 93/43293/3
Loek Hilgersom [Mon, 14 Sep 2015 11:41:19 +0000 (13:41 +0200)]
[CLEANUP] Minor code improvements in DatabaseRowInitializeNew

Removes a condition checking if values are set before overwriting:
just changing the order will do.
Removes a non-functional isset check.

Resolves: #69781
Releases: master
Change-Id: I3cdf7a1f54d2e237df3fa90d7733160d3cda4d42
Reviewed-on: http://review.typo3.org/43293
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>
3 years ago[TASK] Improve session timeout dialog 88/43288/5
Mathias Brodala [Mon, 14 Sep 2015 09:13:58 +0000 (11:13 +0200)]
[TASK] Improve session timeout dialog

This renames the "Abort" action to "Stay logged in" and makes it
the default in the session timeout dialog. Thus one can simply
press the Space/Return key to stay logged in which is the most
likely action in this situation.

This drops the translation label "mess.refresh_login_abort_button"
from locallang_core.xlf which is now unused. Also the label
"mess.refresh_login_confirm_button" is changed to
"mess.refresh_login_logout_button".

Resolves: #69774
Releases: master
Change-Id: I71b797fb61750a293718e144bc76e28199874c38
Reviewed-on: http://review.typo3.org/43288
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Functional tests: Enable MySQL strict mode / data validation 86/42986/2
Morton Jonuschat [Wed, 2 Sep 2015 18:07:14 +0000 (20:07 +0200)]
[TASK] Functional tests: Enable MySQL strict mode / data validation

Enable SQL mode options that force MySQL to be more strict and not
allow legacy defaults which truncate data, accept invalidate dates
or silently change values on INSERT/UPDATE.

STRICT_ALL_TABLES: Strict SQL mode for all tables, reject invalid data
ERROR_FOR_DIVISION_BY_ZERO: Division by zero produces an error
NO_AUTO_VALUE_ON_ZERO: Only NULL generates the next auto_incroment number
NO_ENGINE_SUBSTITUTION: No automatic substitution of unavailable engines
NO_ZERO_DATE: Don't treat '0000-00-00' as a valid date
NO_ZERO_IN_DATE: Dates with zero parts are not permitted
ONLY_FULL_GROUP_BY: Deny invalid use of aggregation functions

Resolves: #69484
Releases: master
Change-Id: Ife3755b56339a479d86c5535a301ebef1563ace8
Reviewed-on: http://review.typo3.org/42986
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[FOLLOWUP][TASK] Streamline select field value handling 19/43319/2
Alexander Stehlik [Tue, 15 Sep 2015 08:19:50 +0000 (10:19 +0200)]
[FOLLOWUP][TASK] Streamline select field value handling

Remove the deleted TcaSelectValues form data provider from the
configuration.

Resolves: #69742
Relates: #69755
Relates: #69761
Releases: master
Change-Id: Ib67aa6df851cb3c9973a7070322bd8a64d313662
Reviewed-on: http://review.typo3.org/43319
Reviewed-by: Thorsten Bringewatt <t.bringewatt@mittwald.de>
Tested-by: Thorsten Bringewatt <t.bringewatt@mittwald.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Remove unnecessary class attribute of TEXTBLOCK element in form wizard 18/43318/2
Christian Fischer [Mon, 14 Sep 2015 14:21:38 +0000 (16:21 +0200)]
[TASK] Remove unnecessary class attribute of TEXTBLOCK element in form wizard

Resolves: #69387
Releases: master
Change-Id: I88d836b91d4dea20f461c48e35296edae3103cf0
Reviewed-on: http://review.typo3.org/43318
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] MultipleSideBySideElement merge methods 60/43260/6
Jan Helke [Sun, 13 Sep 2015 09:16:35 +0000 (11:16 +0200)]
[TASK] MultipleSideBySideElement merge methods

This patch removes the private property resultArray and merges the
function getSingleField_typeSelect_multiple into render.

Releases: master
Resolves: #69724
Change-Id: Ia0211e004cf0397902c36864e6732ea16d08774f
Reviewed-on: http://review.typo3.org/43260
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>
3 years ago[TASK] Flex: Prepare language handling "meta" in provider 40/43240/8
Morton Jonuschat [Sat, 12 Sep 2015 13:11:55 +0000 (15:11 +0200)]
[TASK] Flex: Prepare language handling "meta" in provider

Add the language handling information to the meta information of the
data structure:

 * langDisable (bool)
 * langChildren (bool)
 * languagesOnSheetLevel (array)
 * languagesOnElementLevel (array)

Default values for langDisabled / langChildren are set according to
https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Flex/Index.html

Resolves: #69716
Releases: master
Change-Id: I068afb2f45efe64ca30d15d184540a49fb339ad1
Reviewed-on: http://review.typo3.org/43240
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Thorsten Bringewatt <t.bringewatt@mittwald.de>
Tested-by: Thorsten Bringewatt <t.bringewatt@mittwald.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[FEATURE] support condition in INCLUDE_TYPOSCRIPT tag 31/42431/10
Jigal van Hemert [Sat, 8 Aug 2015 23:32:15 +0000 (01:32 +0200)]
[FEATURE] support condition in INCLUDE_TYPOSCRIPT tag

An optional property 'condition' will only include the file or directory
if the condition is met.

Resolves: #16525
Releases: master
Change-Id: I4be8b93d733ef40601a2943ebad357c095f997ad
Reviewed-on: http://review.typo3.org/42431
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Oliver Thiele <mail@oliver-thiele.de>
Tested-by: Oliver Thiele <mail@oliver-thiele.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Cleanup unused icons and rebuild third-party code 17/43317/2
Benjamin Mack [Tue, 15 Sep 2015 06:59:44 +0000 (08:59 +0200)]
[TASK] Cleanup unused icons and rebuild third-party code

Resolves: #69805
Releases: master
Change-Id: I311aaca035635a6675eef92104bbbcd5ce6ca9c4
Reviewed-on: http://review.typo3.org/43317
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Streamline select field value handling 78/43278/12
Alexander Stehlik [Mon, 14 Sep 2015 16:26:56 +0000 (18:26 +0200)]
[TASK] Streamline select field value handling

The TcaSelectValues form data provider is merged in the
TcaSelectItems provider.

The possible select items are classified in dynamic items that
come from a foreign_table and static items that come from TCA,
PageTS etc.

The value for single item select fields (the default) will not
be processed because the handling of invalid values will currently
be done by the select field element renderer.

If the values from a multi value select field come from statically
defined items (e.g. items directly added in the TCA) the value will
always be added to the list of selected values.

If the values comes from dynamic select items from a database
relation the select values will only be added when they were
validated by the RelationHandler.

Finally the selected values are parsed by array_unique to prevent
duplicate entries.

Resolves: #69742
Relates: #69755
Relates: #69761
Releases: master
Change-Id: I4dca24b26c36ae91dc527edcd900b352f705f5c4
Reviewed-on: http://review.typo3.org/43278
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
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>
3 years ago[TASK] Cleanup and streamline TCA for tt_content 16/43316/2
Benjamin Mack [Tue, 15 Sep 2015 05:19:54 +0000 (07:19 +0200)]
[TASK] Cleanup and streamline TCA for tt_content

Minor cleanups to the TCA definition.

Resolves: #69804
Releases: master
Change-Id: I54d316f25e0c4cb5883a56f90f58f9fa9cadc520
Reviewed-on: http://review.typo3.org/43316
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FOLLOWUP][!!!][TASK] Remove unused tabmenu JavaScript and CSS 10/43310/2
Wouter Wolters [Mon, 14 Sep 2015 21:22:24 +0000 (23:22 +0200)]
[FOLLOWUP][!!!][TASK] Remove unused tabmenu JavaScript and CSS

Add new compiled CSS file for the backend.

Releases: master
Resolves: #69795
Change-Id: I7f32d30fe02d18c0b1b7142b5233627d6301b9a1
Reviewed-on: http://review.typo3.org/43310
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Drop eval() from BackendUtility test 96/43296/3
Mathias Brodala [Mon, 14 Sep 2015 13:08:24 +0000 (15:08 +0200)]
[TASK] Drop eval() from BackendUtility test

Resolves: #69786
Releases: master
Change-Id: I211a3564830fa2ae2005807e9d2b81959965cbb7
Reviewed-on: http://review.typo3.org/43296
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Render Resources using SVG in IconFactory 58/43258/25
Frank Nägler [Sun, 13 Sep 2015 08:56:40 +0000 (10:56 +0200)]
[TASK] Render Resources using SVG in IconFactory

Add SVG icons for MimeTypes to the IconRegistry, add
IconFactory->getIconForResource() as improved version of
IconUtility->getSpriteIconForResource().

Also add IconFactory->getIconForFileExtension() similar to
IconUtility->getSpriteIconForFile() but without the possibility to pass
a path but only a file extension.

Replace all core calls of getSpriteIconForFile() and
getSpriteIconForResource() with calls to IconFactory.

Resolves: #69744
Resolves: #69759
Releases: master
Change-Id: I26b221fbba87c7f3e09ec10b61c13c8e74b8ecb3
Reviewed-on: http://review.typo3.org/43258
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[!!!][TASK] Remove unused tabmenu JavaScript and CSS 01/43301/2
Benjamin Mack [Mon, 14 Sep 2015 14:30:16 +0000 (16:30 +0200)]
[!!!][TASK] Remove unused tabmenu JavaScript and CSS

Due to the shift to the new tabmenu logic, all leftover code
that is unused is now removed.

Releases: master
Resolves: #69795
Change-Id: Ia875c2938dc852b478e49be82bf2922ce67ab165
Reviewed-on: http://review.typo3.org/43301
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[FEATURE] Extract title from PDF when indexing 00/43200/3
Xavier Perseguers [Fri, 11 Sep 2015 13:32:43 +0000 (15:32 +0200)]
[FEATURE] Extract title from PDF when indexing

Change-Id: I0b73a6c77502e1635f73734181b6af9f9757b6dc
Releases: master
Resolves: #69496
Reviewed-on: http://review.typo3.org/43200
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Localization file not loaded in backend form wizard 07/43307/2
Andreas Häfner [Mon, 14 Sep 2015 16:58:20 +0000 (18:58 +0200)]
[BUGFIX] Localization file not loaded in backend form wizard

The changes for issue #39280 did not consider that the localization file
for the frontend controller is used in the backend controller as well and
thus, this tiny regression got in, leading to not loading the language
labels anymore in the backend form wizard.

Resolves: #69433
Releases: master
Change-Id: Ia27b5e321f2308cf4c3d3cecdfcb3419b4d4397b
Reviewed-on: http://review.typo3.org/43307
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
3 years ago[TASK] FormEngine: Move flex form TCA migration to data provider 76/43276/7
Morton Jonuschat [Sun, 13 Sep 2015 13:52:00 +0000 (15:52 +0200)]
[TASK] FormEngine: Move flex form TCA migration to data provider

Move the TCA flex form migration from the FlexFormElementContainer
to the TcaFlex data provider to separate parsing and rendering.

Resolves: #69718
Releases: master
Change-Id: Id9e132483394ff8efac0f21441798ff469ae3091
Reviewed-on: http://review.typo3.org/43276
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>
3 years ago[TASK] FormEngine: Remove name="foo[bar]_hr" from input fields 54/43254/7
Morton Jonuschat [Sat, 12 Sep 2015 16:34:20 +0000 (18:34 +0200)]
[TASK] FormEngine: Remove name="foo[bar]_hr" from input fields

Update the handling of human readable fields so that the values are not
being set and only the hidden field with the actual value is submitted.

This patch also updates the handling for the _list and _mul appendixes
as these use the same methods and needed to be changed as well.

Resolves: #69672
Releases: master
Change-Id: I7a92c924a567621c2f79c736f878af288595c657
Reviewed-on: http://review.typo3.org/43254
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>
3 years ago[BUGFIX] Starttime and endtime no longer accessible in content edit form 02/43302/2
Loek Hilgersom [Mon, 14 Sep 2015 14:33:18 +0000 (16:33 +0200)]
[BUGFIX] Starttime and endtime no longer accessible in content edit form

This fixes that l10n_display also affects the original not-translated
record. Problem was caused by the type-change of $row[$languageField]
from int to array.
Added a few comments for making the code more understandable.

Resolves: #69779
Releases: master
Change-Id: I29b0ad47332f34a292624fad3938554fb1e55353
Reviewed-on: http://review.typo3.org/43302
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
3 years ago[TASK] Remove old and unused icons status/version-*.png 05/43305/2
Frank Nägler [Mon, 14 Sep 2015 15:45:51 +0000 (17:45 +0200)]
[TASK] Remove old and unused icons status/version-*.png

Resolves: #69797
Releases: master
Change-Id: I8bf1740315b302b2b4be43c0be5e94628986622a
Reviewed-on: http://review.typo3.org/43305
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Repair overrideVals for FormEngine 04/43304/5
Anja Leichsenring [Mon, 14 Sep 2015 15:17:19 +0000 (17:17 +0200)]
[BUGFIX] Repair overrideVals for FormEngine

While passing values via GET or POST, those values have been lost
to the form. The handling has passed to a dedicated element class,
that handles them correctly.

Change-Id: If41ae361e8e4fd4012a13bf888dc62d94d5e079c
Resolves: #69784
Resolves: #69661
Resolves: #69664
Releases: master
Reviewed-on: http://review.typo3.org/43304
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Rename InputElement class to InputTextElement 97/43297/2
Anja Leichsenring [Mon, 14 Sep 2015 13:25:30 +0000 (15:25 +0200)]
[TASK] Rename InputElement class to InputTextElement

Change-Id: I0db183c873b16607a55683f195da5cf25ff6fff5
Resolves: #69787
Releases: master
Reviewed-on: http://review.typo3.org/43297
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Thorsten Bringewatt <t.bringewatt@mittwald.de>
Tested-by: Thorsten Bringewatt <t.bringewatt@mittwald.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[TASK] Replace icon by IconFactory: status-status-edit-read-only 48/43248/7
Jan Helke [Sat, 12 Sep 2015 17:33:57 +0000 (19:33 +0200)]
[TASK] Replace icon by IconFactory: status-status-edit-read-only

Releases: master
Resolves: #69739
Change-Id: Idb8a51532935d683e3cbfc2190bf41cea528ea69
Reviewed-on: http://review.typo3.org/43248
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Replace getSpriteIcon in compatibility6 98/43298/3
Michael Oehlhof [Mon, 14 Sep 2015 13:48:11 +0000 (15:48 +0200)]
[TASK] Replace getSpriteIcon in compatibility6

The last 2 calls are replaced with this patch.

Resolves: #69785
Releases: master
Change-Id: Ie869ef7d6a3c97fba587b6dd6d3f80f1390de8cf
Reviewed-on: http://review.typo3.org/43298
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] SelectSingleElement merge methods 55/43255/4
Jan Helke [Sat, 12 Sep 2015 21:56:21 +0000 (23:56 +0200)]
[TASK] SelectSingleElement merge methods

This patch removes the private property resultArray and merges
the function getSingleField_typeSelect_single into the render()
method.

Releases: master
Resolves: #69726
Change-Id: I3a8a230d3a61046652684f7ae68568e72d892e8f
Reviewed-on: http://review.typo3.org/43255
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>
3 years ago[BUGFIX] InstallTool: Optimize ALTER TABLE for auto_increment columns 02/42902/3
Morton Jonuschat [Fri, 28 Aug 2015 07:58:31 +0000 (09:58 +0200)]
[BUGFIX] InstallTool: Optimize ALTER TABLE for auto_increment columns

To successfully add a new column with auto_increment enabled to a table
the column needs to be included in a (primary) key. The install tool
handled this in a two step process by ignoring the auto_increment
attribute and separating adding the field and the key into two
statements. This fails on existing tables with data as the column will
include non-uniqued/non-incrementing values after the first statement
leading to failures adding the key.

The proper way to add a columns with the auto_increment attribute is to
combine the ALTER TABLE statement to perform both alterations at the
same time, this patch changes the behavior of the Install Tool to
generate statements accordingly on MySQL.

When running with DBAL enabled the statement will not be altered in any
way to allow the SqlParser to take into account database specific
handling of this case, an example test case is included for PostgreSQL
which handles this case transparently using the SERIAL column type.

Resolves: #69304
Releases: master, 6.2
Change-Id: I211b25b22e122e47d289b9d7f927b5c713cdd138
Reviewed-on: http://review.typo3.org/42902
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[FEATURE] Add annotation for CLI only commands 68/43268/5
Mathias Brodala [Sun, 13 Sep 2015 11:30:05 +0000 (13:30 +0200)]
[FEATURE] Add annotation for CLI only commands

This adds the annotation "@cli" to declare Extbase CommandController
commands to be usable on CLI only and is used to remove these commands
from the Scheduler task list.

Also annotate the following commands as CLI only:

- help:help
- extension:install
- extension:uninstall
- extension:dumpclassloadinginformation

Resolves: #68746
Releases: master
Change-Id: Ifb55def33c11e4a10510433f03ddc9279ee56898
Reviewed-on: http://review.typo3.org/43268
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Add apps-filetree-mount to IconRegistry 65/43265/2
Stephan Großberndt [Sun, 13 Sep 2015 10:51:24 +0000 (12:51 +0200)]
[TASK] Add apps-filetree-mount to IconRegistry

Resolves: #69752
Releases: master
Change-Id: Ie0dfe4e09178b7a7f014a0bb7f67f0d153e28597
Reviewed-on: http://review.typo3.org/43265
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Heal exception in install tool if config value is missing 90/43290/2
Anja Leichsenring [Mon, 14 Sep 2015 10:02:13 +0000 (12:02 +0200)]
[BUGFIX] Heal exception in install tool if config value is missing

Upon missing SYS/isInitialDatabaseImportDone configuration value, the
install tool throws an exception.
Merging the LocalConfiguration array with the DefaultConfiguration
solves the problem.

Change-Id: Ic11e7ae4d4b38e50bf8b1cbd6f4ba649ec2edffa
Resolves: #69777
Relates: #51930
Releases: master
Reviewed-on: http://review.typo3.org/43290
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] Adjust FormEngine Default Configuration 91/43291/3
Anja Leichsenring [Mon, 14 Sep 2015 10:35:52 +0000 (12:35 +0200)]
[BUGFIX] Adjust FormEngine Default Configuration

Streamlines the configuration for FormEngine FormDataProvider.

Resolves: #69778
Releases: master
Change-Id: I1ee0f0942c209a57ccd817f8ec693fc1a9df6863
Reviewed-on: http://review.typo3.org/43291
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Install Tool: Show database errors on initial import 28/43028/9
Morton Jonuschat [Fri, 4 Sep 2015 13:52:05 +0000 (15:52 +0200)]
[TASK] Install Tool: Show database errors on initial import

Database error that occur during the initial install will not be
silently suppressed anymore. The user will be shown the statement and
the error reported by the database.

To halt the installation at this step the state of the initial data
import needs to be tracked and persisted. After all statements have been
processed successfully a key will be added to the system registry
marking the import as done.

Resolves: #51930
Releases: master
Change-Id: I21f9f85524344f2744ac70a54610775ae86c8ea2
Reviewed-on: http://review.typo3.org/43028
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Make tt_content.rowDescription an exclude field 64/43264/4
Mathias Brodala [Sun, 13 Sep 2015 10:49:09 +0000 (12:49 +0200)]
[TASK] Make tt_content.rowDescription an exclude field

Resolves: #69009
Releases: master
Change-Id: I5907a39933a7498da68ac89a192223a5e60e2c48
Reviewed-on: http://review.typo3.org/43264
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Do not create folder in wrong directory 83/43283/3
Helmut Hummel [Sun, 13 Sep 2015 21:50:51 +0000 (23:50 +0200)]
[BUGFIX] Do not create folder in wrong directory

The testing bootstrap creates several folder so that
the tests can run properly. However this is also done
if the tests are executed from a wrong directory
which makes the tests fail. The folders are created anyways.

To fix this we check for an essential file right after the
directory path is determined.

Resolves: #69767
Releases: master
Change-Id: Ic85a12bd1f682b4e45e39031a1b3bda69f0afcdc
Reviewed-on: http://review.typo3.org/43283
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>