Packages/TYPO3.CMS.git
2 years ago[TASK] Hide new db settings in Configuration module 95/47995/3
Jigal van Hemert [Mon, 2 May 2016 21:12:04 +0000 (23:12 +0200)]
[TASK] Hide new db settings in Configuration module

Just like the old db settings the new settings for doctrine should
not be displayed in the Configuration module. Old settings are also
blinded as they can still exist in AdditionalConfiguration.php

Only existing settings are overwritten, previously the blinded options
were added to the settings if they didn't exist.

Resolves: #76020
Releases: master
Change-Id: I2a24b8c0841472a8415bd455c99b5ab8dd4f49f4
Reviewed-on: https://review.typo3.org/47995
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[DOCS] Proofread 8.1 docs 70/47970/5
Mathias Schreiber [Fri, 29 Apr 2016 11:55:59 +0000 (13:55 +0200)]
[DOCS] Proofread 8.1 docs

Resolves: #
Releases: master
Change-Id: I95f3737e1c78a606664f4d5e4043b6d4370a07f5
Reviewed-on: https://review.typo3.org/47970
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Clear cache inconsistency in toolbar 35/47835/6
Christian Kuhn [Thu, 21 Apr 2016 12:13:07 +0000 (14:13 +0200)]
[BUGFIX] Clear cache inconsistency in toolbar

With the simplification of the clear cache items in
toolbar the clearCacheSystem TYPO3_CONF_VARS was
rendered obsolete.
The patch removes last occurences in toolbar and
simplifies the visibility restrictions again: The
clear all toolbar item is now shown if user is admin
and the TSconfig option is not explictly disabling
the option for an admin, or a non-admin has the
TSconfig options.clearCache.all set to 1.

Change-Id: I5608baf2d4fe0c21dcc38f09fc17e550fcbfe8ff
Resolves: #75844
Releases: master
Reviewed-on: https://review.typo3.org/47835
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Add confirm dialog on delete again 79/47979/2
Frank Naegler [Sat, 30 Apr 2016 20:21:11 +0000 (22:21 +0200)]
[BUGFIX] Add confirm dialog on delete again

In the backend user module, the delete icon shows again a confirm modal to
prevent accidently deleting a backend user.

Resolves: #75994
Releases: master, 7.6
Change-Id: I066f94237301eb923ac982fdacb5566c396a5e43
Reviewed-on: https://review.typo3.org/47979
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] RTE: Determine correct context menu position 76/47976/3
Andreas Fernandez [Sat, 30 Apr 2016 12:39:43 +0000 (14:39 +0200)]
[BUGFIX] RTE: Determine correct context menu position

The context menu of the RTE is now correctly positioned with this patch.
The position is now based on the cursor's position. The `targetPosition` is
removed now as it has strange side-effects if the context menu is opened
at formatted text.

The method `constrainScroll` is overridden to circumvent a bug in ExtJS
where the menu is repositioned and the height is changed to show
as much items as possible, even if the ``maxHeight`` setting is set.

Resolves: #74332
Releases: master, 7.6
Change-Id: I9e2e42c98ca578101945f65f7c50e32a615806b7
Reviewed-on: https://review.typo3.org/47976
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Fix JavaScript error for GMENU rollover 72/47972/2
Frank Naegler [Fri, 29 Apr 2016 14:50:47 +0000 (16:50 +0200)]
[BUGFIX] Fix JavaScript error for GMENU rollover

Resolves: #75983
Releases: master, 7.6
Change-Id: I9851418d2add84daf326257fa27f91574e532923
Reviewed-on: https://review.typo3.org/47972
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Handle colspan and rowspan in backend layout wizard 97/47897/6
Frank Naegler [Mon, 25 Apr 2016 12:01:18 +0000 (14:01 +0200)]
[BUGFIX] Handle colspan and rowspan in backend layout wizard

This patch fix the handling of colspan and rowspan in backend layout wizard.

Resolves: #75910
Releases: master
Change-Id: Ib863d5a5f207c99f00d72f701579b40d255a1f70
Reviewed-on: https://review.typo3.org/47897
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
2 years ago[BUGFIX] Set semantic value to autocomplete 13/47813/6
Nicole Cordes [Wed, 20 Apr 2016 14:05:24 +0000 (16:05 +0200)]
[BUGFIX] Set semantic value to autocomplete

To enforce Chrome to respect the disabled autocompletion for fields,
the value of the autocomplete attribute is set to some semantic
value.

Resolves: #75809
Releases: master, 7.6
Change-Id: Ib30fdfe7d7a9ff3f564b8e016331a0706ff0db01
Reviewed-on: https://review.typo3.org/47813
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
2 years ago[BUGFIX] Allow maxitem=1 in TCA treeSelect again 40/47940/2
Alexander Bigga [Wed, 27 Apr 2016 13:50:31 +0000 (15:50 +0200)]
[BUGFIX] Allow maxitem=1 in TCA treeSelect again

Introduced with ec7b229 #75519, it was not possible to set maxitem=1 to
TCA treeSelect. This occures e.g. on setting the parent of a
sys_category.

The reason is the "selected" array which gets initialized with all
selected items. If there is no item selected, it is initialized with an
empty value and "selected.lenght" is 1 but should be 0. Selecting a new
value is impossible now.

The proposed path checks if items are selected or not on
initialization.

Change-Id: I0c8d21ad753dccb2d993febde404afc83a39b9b3
Resolves: #75947
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/47940
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Tested-by: Philipp Wrann <philippwrann@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
2 years ago[BUGFIX] Exception editing inline mm with deleted child child 59/47959/5
Christian Kuhn [Thu, 28 Apr 2016 17:09:04 +0000 (19:09 +0200)]
[BUGFIX] Exception editing inline mm with deleted child child

Have an inline m:m record and delete one child child that has an
intermediate record pointing to it. Opening the parent throws
a DatabaseRecordException.
The patch extends this exception to add tableName and uid, then
catches the exception in the inline data provider, creates a
nice error message as flash message and continues displaying record.

Change-Id: I1792716b4e5454b11499cb2ba684bac403b3f13d
Resolves: #71719
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47959
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Use non-deprecated name for filesPerPage option 66/47966/3
Stephan Großberndt [Fri, 29 Apr 2016 08:44:45 +0000 (10:44 +0200)]
[BUGFIX] Use non-deprecated name for filesPerPage option

Change the configuration name for the filesPerPage option in the file
list module from mod.file_list.filesPerPage to
options.file_list.filesPerPage because using "mod." in user TSconfig
is deprecated.

Resolves: #75976
Related: #72923
Releases: master
Change-Id: I13ad1a0f28b59ebe1fec7ccf4a73eaec0ddb0044
Reviewed-on: https://review.typo3.org/47966
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
2 years ago[TAKS] Document how to create custom postProcessors in FORM 51/47951/4
Tymoteusz Motylewski [Thu, 28 Apr 2016 11:12:39 +0000 (13:12 +0200)]
[TAKS] Document how to create custom postProcessors in FORM

This patch adds documentation about creating custom postProcessors.

Resolves: #75963
Releases: master, 7.6
Change-Id: Ia0bb2b5d33cf30cba931953088c402307cc7ee40
Reviewed-on: https://review.typo3.org/47951
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[TASK] Add documentation for fluid template configuration in indexed_search 29/47929/3
Christian Weiske [Wed, 27 Apr 2016 07:32:09 +0000 (09:32 +0200)]
[TASK] Add documentation for fluid template configuration in indexed_search

Describe how to use custom templates for fluid based indexed_search

Releases: master
Resolves: #75935
Change-Id: I2f55bcd359a8c604907eccf34e93016920a7def1
Reviewed-on: https://review.typo3.org/47929
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
2 years ago[BUGFIX] Harden database select step 50/47950/2
Helmut Hummel [Thu, 28 Apr 2016 10:36:54 +0000 (12:36 +0200)]
[BUGFIX] Harden database select step

Currently this step does not do precautions, when
the selected database does not exist. Additionally the step
silently skips when the chosen database already has tables.

Although the UI currently does not allow to select a non
empty database, there are situations imaginable, where the database
is empty during generation of the input form but is filled directly after that,
or a database was empty but then got deleted,
which previously ended up with a fatal error.

This change now takes care of both cases and outputs a nice error message accordingly.

Resolves: #75964
Releases: 7.6, master
Change-Id: Ibc7083aa120f420d6201e512f3f41699f55c5f7f
Reviewed-on: https://review.typo3.org/47950
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
2 years ago[FOLLOWUP][TASK] Doctrine: migrate $GLOBALS['TYPO3_DB']->exec_TRUNCATEquery 64/47964/2
Morton Jonuschat [Fri, 29 Apr 2016 08:22:29 +0000 (10:22 +0200)]
[FOLLOWUP][TASK] Doctrine: migrate $GLOBALS['TYPO3_DB']->exec_TRUNCATEquery

Fix unit test for Typo3DatabaseBackend

Resolves: #75969
Releases: master
Change-Id: I61049768b2981f7b1a93ab371fd31c0a58edc474
Reviewed-on: https://review.typo3.org/47964
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[TASK] Doctrine: migrate $GLOBALS['TYPO3_DB']->exec_TRUNCATEquery 55/47955/4
Frank Naegler [Thu, 28 Apr 2016 13:05:57 +0000 (15:05 +0200)]
[TASK] Doctrine: migrate $GLOBALS['TYPO3_DB']->exec_TRUNCATEquery

Resolves: #75969
Releases: master
Change-Id: Ie82b68c6efcbb9b4c4304de1323269decb091376
Reviewed-on: https://review.typo3.org/47955
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Cleanup JavaScript for ColorPicker 48/47848/5
Frank Naegler [Fri, 22 Apr 2016 09:57:27 +0000 (11:57 +0200)]
[BUGFIX] Cleanup JavaScript for ColorPicker

This patch introduce an AMD module for the colorpicker and make use of
t3js- prefixed class for initialize the colorpicker.
Also the initialize is not centralized in the module.

Resolves: #75861
Releases: master
Change-Id: I71aea126d91482f8d37f9fa3e0be2bce662aee07
Reviewed-on: https://review.typo3.org/47848
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>
2 years ago[BUGFIX] Use correct timezone in DataMapperTest 45/47945/3
Jigal van Hemert [Wed, 27 Apr 2016 21:07:07 +0000 (23:07 +0200)]
[BUGFIX] Use correct timezone in DataMapperTest

The date/time generated by the datamapper is in UTC, so the test
must check for a date/time in that timezone too independent of the
configured timezone of the system.

Resolves: #75954
Releases: master, 7.6
Change-Id: I64f014b0d60b805bcbffd08dc50b924b925d022a
Reviewed-on: https://review.typo3.org/47945
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>
2 years ago[BUGFIX] Fix adding fields to an existing table in a specific position 35/47935/10
Thomas Schlumberger [Wed, 27 Apr 2016 12:05:13 +0000 (14:05 +0200)]
[BUGFIX] Fix adding fields to an existing table in a specific position

When trying to add new fields at a specific position to an existing
table (e.g. "after:title") and the field referenced in the position is
part of a palette the regular expression to insert the new fields did
not work.

This happened because a regular expression part was inserted in the
pallete string to replace and being quoted afterwards. That caused the
preg_replace function to treat the regular expression as a string as it
has been escaped.

Resolves: #75946
Releases: master,7.6
Change-Id: Ib0dbcb56e530e1671470210218bd1c1205b50946
Reviewed-on: https://review.typo3.org/47935
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
2 years ago[BUGFIX] Set correct DB configuration in step installer 49/47949/2
Helmut Hummel [Thu, 28 Apr 2016 09:42:28 +0000 (11:42 +0200)]
[BUGFIX] Set correct DB configuration in step installer

After the doctrine merge, the configuration for the database name changed.
Reflect this also in the database select step, when the user chooses
to select an empty existing database.

Releases: master
Resolves: #75961
Change-Id: Ie49bf42dd2142736c4d99fe8297b688e833e1a23
Reviewed-on: https://review.typo3.org/47949
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>
2 years ago[BUGFIX] Avoid SQL error in ProcessedFileChecksumUpdate 25/47925/2
Stephan Großberndt [Tue, 26 Apr 2016 16:53:27 +0000 (18:53 +0200)]
[BUGFIX] Avoid SQL error in ProcessedFileChecksumUpdate

Avoid an 'Illegal mix of collations'-SQL error when using collation
utf8_unicode_ci and accessing the ProcessedFileChecksumUpdate wizard
by casting both comparison arguments.

Resolves: #75932
Related: #67708
Releases: master, 7.6
Change-Id: I3c7355eab35bf7d7301eaf10b87f7e5b00bd6908
Reviewed-on: https://review.typo3.org/47925
Reviewed-by: Andreas Fernandez <typo3@scripting-base.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>
2 years ago[TASK] Doctrine: migrate ext:recycler/Utility 82/47682/8
Michael Oehlhof [Fri, 15 Apr 2016 00:02:41 +0000 (02:02 +0200)]
[TASK] Doctrine: migrate ext:recycler/Utility

Resolves: #75636
Releases: master
Change-Id: I49611c3d0e6a0ec56e05871c5beb7f7de4bce949
Reviewed-on: https://review.typo3.org/47682
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>
2 years ago[TASK] Doctrine: Add support for column aliases in select() 20/47820/2
Morton Jonuschat [Wed, 20 Apr 2016 17:11:46 +0000 (19:11 +0200)]
[TASK] Doctrine: Add support for column aliases in select()

Add support for selecting a column under a different identifier (alias)
when building a SELECT query.

Releases: master
Resolves: #75823
Change-Id: I3464c9d848c4892ea57b92cc1257654ff9e14110
Reviewed-on: https://review.typo3.org/47820
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Make language module accessible without internet connection 40/47840/3
Nicole Cordes [Thu, 21 Apr 2016 14:22:48 +0000 (16:22 +0200)]
[BUGFIX] Make language module accessible without internet connection

This patch adds the possibility to access the language module without
having an internet connection. You are able to activate and deactivate
languages but trying to update files will give you an error.

Resolves: #75820
Releases: master, 7.6
Change-Id: I27be7f34c76f680a4240e6c75c4a331d96467681
Reviewed-on: https://review.typo3.org/47840
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Prevent resetting of Package Manager packages 52/47852/2
Nicole Cordes [Fri, 22 Apr 2016 11:47:45 +0000 (13:47 +0200)]
[BUGFIX] Prevent resetting of Package Manager packages

Due to Package Manager cleanup in https://review.typo3.org/46389/
the packageStatesConfiguration property only includes active packages.

This patch prevents resetting the packages property which should store
all available package objects to the active ones.

Resolves: #75864
Releases: master
Change-Id: I44d4e074a04cc294cacf9ec9a707b2367b57a2bb
Reviewed-on: https://review.typo3.org/47852
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
2 years ago[BUGFIX] TCA Suggest Wizard usable with keyboard 32/47932/5
Daniel Siepmann [Tue, 26 Apr 2016 19:01:44 +0000 (21:01 +0200)]
[BUGFIX] TCA Suggest Wizard usable with keyboard

As styling was already there, but just for mouse, and same is true for
selecting results. The keyboard events now trigger the same behaviour.

Change-Id: Ie265f3b5785efc89f7148b8303d9b62c3a5add88
Resolves: #70463
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47932
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[BUGFIX] Allow Upgrade Wizards to install extensions 33/47933/2
Jigal van Hemert [Wed, 27 Apr 2016 10:50:57 +0000 (12:50 +0200)]
[BUGFIX] Allow Upgrade Wizards to install extensions

With the patch for #73605 the ObjectManager was removed throughout
the Install Tool. ListUtility, TerUtility, FileHandlingUtility and
InstallUtility need recursive DI and constructor argument handling.
Until the EM and the Upgrade Wizards are rewritten the OM is
reintroduced to make the Upgrade Wizards work.

Releases: master
Resolves: #75883
Change-Id: I4c68853befd33bfeba71bd19cfd1979369dd4803
Reviewed-on: https://review.typo3.org/47933
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
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>
2 years ago[BUGFIX] PAGE_TSCONFIG_ID in flex form fields 24/47924/3
Christian Kuhn [Tue, 26 Apr 2016 16:10:08 +0000 (18:10 +0200)]
[BUGFIX] PAGE_TSCONFIG_ID in flex form fields

PAGE_TSCONFIG_ID, PAGE_TSCONFIG_IDLIST and PAGE_TSCONFIG_STR to
replace markers in foreign_table_where fields could only be set
for flex forms on a global level in the past:

TCEFORM.tt_content.pi_flexform.PAGE_TSCONFIG_ID = 42

This has the negative side effect that also fields from
potentially foreign plugins could have been affected by that.
With the FormEngine rewrite, this change only worked if restricted
to specific elements of a specific data structure:

TCEFORM.tt_content.pi_flexform.news.sDEF.settings\.categories.PAGE_TSCONFIG_ID = 42

The former "global" setting was broken and is fixed by the
patch with a hack. For master, this very hack is deprecated
now and only the specific version is allowed, for 7.6 both versions
work with the patch.

Note there is no setting for those foreign_table_where clauses
for section container elements anymore that is not deprecated.

Change-Id: I3f7bede86007f7ea1703f2bc569e0152e67802e6
Resolves: #73209
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47924
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
2 years ago[TASK] Doctrine: Introduce backend query context to exclude Placeholders 27/47827/3
Morton Jonuschat [Wed, 20 Apr 2016 18:37:57 +0000 (20:37 +0200)]
[TASK] Doctrine: Introduce backend query context to exclude Placeholders

This patch adds a new query context BACKEND_NO_VERSIONING_PLACEHOLDERS
that de-selects versioning placeholders from other workspaces in the
same way that BackendUtility::versioningPlaceholdersClause() does. Usage
as follows:

$queryBuilder
  ->getQueryContext()
  ->setContext(QueryContextType::BACKEND_NO_VERSIONING_PLACEHOLDERS)
  ->setCurrentWorkspace(4);

Releases: master
Resolves: #75821
Change-Id: Iaa238f3da803c6d2dd23f0240cb2c409a39eec58
Reviewed-on: https://review.typo3.org/47827
Reviewed-by: Jonathan IROULIN <joniroutypo3@gmail.com>
Tested-by: Jonathan IROULIN <joniroutypo3@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Override flex form field label with page TSConfig 19/47919/5
Christian Kuhn [Tue, 26 Apr 2016 12:42:04 +0000 (14:42 +0200)]
[BUGFIX] Override flex form field label with page TSConfig

Move the data handling to calculate a final field label
value from PaletteAndSingleFieldContainer to an own data
provider and register this provider for full database records
and for flex form processing.
This way flex form field label overrides via page TSConfig are fixed,
eg. this changes the "Order By" label of ext:news flex form:

TCEFORM.tt_content.pi_flexform.news_pi1.sDEF.settings\.orderBy.label = override

Language specific overrides in flex fields now work as well

...settings\.orderBy.label.fr = French override

Change-Id: I02474e9cca9db3e949c217f21f5704ec16641545
Resolves: #75606
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47919
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] Double encoding in image title-tag 98/47898/3
Frank Naegler [Mon, 25 Apr 2016 12:16:31 +0000 (14:16 +0200)]
[BUGFIX] Double encoding in image title-tag

With https://review.typo3.org/#/c/45284/ this bug was introduced. The change to
htmlSpecialChars = 1 was a mistake, because the output is already escaped.
This patch reverts the change for altText object.

Resolves: #75860
Releases: master, 7.6, 6.2
Change-Id: I87ea6ef4c734707933c75ab5c9ab3c4f4604251d
Reviewed-on: https://review.typo3.org/47898
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
2 years ago[BUGFIX] Respect page TSConfig pid overrides for new inline children 03/47903/3
Christian Kuhn [Mon, 25 Apr 2016 15:37:12 +0000 (17:37 +0200)]
[BUGFIX] Respect page TSConfig pid overrides for new inline children

TCAdefaults.<table>.pid = <page id> in page TSConfig can be used for
new inline children to define a pid new records should be located at,
even if the parent record is on a different page. This can be useful
when having special storage folders on a per-table-basis.

The patch fixes this feature that broke during FormEngine refactoring.

Change-Id: I8e60155612397e72f1b11a068617f88e3793384b
Resolves: #70780
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47903
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.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>
2 years ago[BUGFIX] rsaauth: remove session-cookie when no longer used 12/32212/4
Stefan Neufeind [Sun, 17 Aug 2014 23:07:47 +0000 (01:07 +0200)]
[BUGFIX] rsaauth: remove session-cookie when no longer used

When deleting the rsa key from the database we now remove the PHP cookie
as well in order to keep the system cleaned up.

Change-Id: I037deabf0a60e6ad785678b60424b3cc49af77b0
Resolves: #61016
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/32212
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
2 years ago[BUGFIX] Remember not rendered checkboxes in TCA treeSelect 12/47812/3
Frans Saris [Wed, 20 Apr 2016 13:45:10 +0000 (15:45 +0200)]
[BUGFIX] Remember not rendered checkboxes in TCA treeSelect

When you have a select field of rendertype selectTree it looses the
selected values of the not rendered checkboxes.

This changes makes sure that also the not rendered values are kept.

Change-Id: I8649e83c56a0265a7de069ef9654ed13b90b3239
Resolves: #75519
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/47812
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
2 years ago[FOLLOWUP][BUGFIX] Remove hardcoded hidden column 92/47892/2
Christian Kuhn [Sun, 24 Apr 2016 17:54:13 +0000 (19:54 +0200)]
[FOLLOWUP][BUGFIX] Remove hardcoded hidden column

Use processedTca instead of $GLOBALS access and improve
validation to avoid notice level errors.

Change-Id: I9f2f2a455875e509c16cad17e29e629e8b21fe6d
Resolves: #75647
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47892
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
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>
2 years ago[TASK] Enable travis debug mode 91/47891/2
Susanne Moog [Sun, 24 Apr 2016 17:37:23 +0000 (19:37 +0200)]
[TASK] Enable travis debug mode

As long as the tests are not totally stable
we should keep on using debug mode.

Releases: master
Resolves: #75896
Change-Id: I069cdc4d703fcda38af94b9eb24233e7f9e81162
Reviewed-on: https://review.typo3.org/47891
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
2 years ago[BUGFIX] Remove hardcoded hidden column 88/47888/6
Wouter Wolters [Sun, 24 Apr 2016 12:02:12 +0000 (14:02 +0200)]
[BUGFIX] Remove hardcoded hidden column

In InlineRecordContainer the enable column for disabled is not used
correctly but instead "hidden" is hardcoded. Use the enable column
from the foreign table.

Resolves: #75647
Releases: master, 7.6
Change-Id: I8d6dc05f368c4e358694572d0dfcbe1f996d72b8
Reviewed-on: https://review.typo3.org/47888
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>
2 years ago[BUGFIX] Set TYPO3FontAwesome only on before 66/47866/2
Markus Sommer [Fri, 22 Apr 2016 14:16:53 +0000 (16:16 +0200)]
[BUGFIX] Set TYPO3FontAwesome only on before

Resolves: #75873
Releases: master
Change-Id: Id307137d750001567a1a91ef4994b6edc67e7bbc
Reviewed-on: https://review.typo3.org/47866
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
2 years ago[BUGFIX] selicon_field does not create thumbnails 48/47648/6
Stefan Froemken [Wed, 13 Apr 2016 15:19:33 +0000 (17:19 +0200)]
[BUGFIX] selicon_field does not create thumbnails

A select field with renderType selectSingle can point to a
foreign_table. If on the foreign_table TCA the ctrl keys
selicon_field and selicon_field_path are set, a single foreign row
can have an "icon" field that is shown to represent this row.

The patch fixes a bug where selicon_field of the own table
instead of the foreign table was used.
Additionally, in master the icon path resolving changed
with #74157 leading to broken icon path in this case. This is
fixed along with a similar change in backend layout code.

Resolves: #75577
Related: #74157
Releases: master, 7.6
Change-Id: I50bac28018b17a61a334aac7d241bcdd96663656
Reviewed-on: https://review.typo3.org/47648
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] Processing folder has now nested subfolders 23/36523/9
Alina Fleser [Sat, 31 Jan 2015 15:57:55 +0000 (17:57 +0200)]
[BUGFIX] Processing folder has now nested subfolders

In case of big installations the amount of processed files in
one folder is too much and causes performance issues and other
problems.
To prevent this kind of issues, nested subfolders are now
created in the processing folder in order to split the processed
files into more than one folder.

Resolves: #56557
Releases: master, 7.6
Change-Id: Id9a4fc3b4bb4b28ca26ff96221097171c3835eb7
Reviewed-on: https://review.typo3.org/36523
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
3 years ago[TASK] Document further options for mail post processor 39/47739/5
Daniel Siepmann [Mon, 18 Apr 2016 09:33:13 +0000 (11:33 +0200)]
[TASK] Document further options for mail post processor

* As it's possible to configure the template to use for each instance of
  the post processor, this should be documented.
* Also grouped options regarding part. E.g. email or frontend
* messages.

Resolves: #75754
Releases: master
Change-Id: Ie8cd0702ced989bd4d9306ffe50506981f4c47e4
Reviewed-on: https://review.typo3.org/47739
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[!!!][TASK] Remove legacy handling of pre 6.0 imports in impexp 31/47831/3
Benni Mack [Thu, 21 Apr 2016 06:08:28 +0000 (08:08 +0200)]
[!!!][TASK] Remove legacy handling of pre 6.0 imports in impexp

The patch removes the legacy file and charset handling from
EXT:impexp when importing a t3d file.

Importing files from pre-6.0 installations within master / 8.0 will
lead to unexpected behaviour.

Resolves: #75829
Releases: master
Change-Id: Ibe904bb1a55f6aa584b58a3261f1108b61514eb8
Reviewed-on: https://review.typo3.org/47831
Reviewed-by: Frans Saris <franssaris@gmail.com>
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>
3 years ago[BUGFIX] Remove markup from FlashMessage 44/47844/2
Frank Naegler [Fri, 22 Apr 2016 09:35:21 +0000 (11:35 +0200)]
[BUGFIX] Remove markup from FlashMessage

Resolves: #75859
Releases: master, 7.6
Change-Id: I43f786c349a096e752e5fdeb50b815b19e548924
Reviewed-on: https://review.typo3.org/47844
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[BUGFIX] Extbase cannot persist to datetime fields 36/47136/6
Andreas Wolf [Sun, 6 Mar 2016 12:46:35 +0000 (13:46 +0100)]
[BUGFIX] Extbase cannot persist to datetime fields

This patch adds missing column configuration to DataMapper call.

Resolves: #74376
Releases: master, 7.6
Change-Id: I505a5e9f05338fde48fad9f49391095e47523409
Reviewed-on: https://review.typo3.org/47136
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Enhance color-picker position in constant editor 36/47836/2
Rob De Vries [Thu, 21 Apr 2016 12:39:17 +0000 (14:39 +0200)]
[BUGFIX] Enhance color-picker position in constant editor

Releases: master
Resolves: #75656
Change-Id: I0dbe89b56ffdd8f677ed5a9b5a1fa08a4d92dd9c
Reviewed-on: https://review.typo3.org/47836
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Prevent double assets folder 34/47834/2
Nicole Cordes [Thu, 21 Apr 2016 11:39:53 +0000 (13:39 +0200)]
[BUGFIX] Prevent double assets folder

With the cleanup in https://review.typo3.org/46096/ double temp folders
were introduced for temporary image files. Now temporary files are
stored in typo3temp/assets/assets/images.

This patch resets the tempPath variable of the GraphicalFunctions class
to make sure only one assets folder is used.

Resolves: #75841
Releases: master
Change-Id: I968fab0175ba54037fa82d8721aca13f81d90c83
Reviewed-on: https://review.typo3.org/47834
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years agoRevert "[BUGFIX] config.locale_all should format floating point values" 28/47828/4
Nicole Cordes [Wed, 20 Apr 2016 20:59:04 +0000 (22:59 +0200)]
Revert "[BUGFIX] config.locale_all should format floating point values"

PHP 7 still has the problem converting a float to a string is
locale-aware (https://bugs.php.net/bug.php?id=53711). This means a float
might be returned with a comma as decimal point. This is not intended
and breaks value conversions so this patch restores the old behavior.

This reverts commit 7cbef93a8698347bc55e364fb7ffa3e796b733ec.

Resolves: #75780
Resolves: #75825
Releases: master, 7.6
Change-Id: I83a443617e50a86b0297c49887e94f226104c910
Reviewed-on: https://review.typo3.org/47828
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[FEATURE] Add configuration options to FloatConverter 29/47829/3
Nicole Cordes [Wed, 20 Apr 2016 21:41:35 +0000 (23:41 +0200)]
[FEATURE] Add configuration options to FloatConverter

Converting a string to a float value needs some specific format of the
string (no thousand separator and '.' as decimal point).

So it should be possible to define some pre-sanitation for the
FloatConverter to be able to convert strings like 123,42 to float.

This patch introduces configuration options and sanitizes the string
before parsing it to float.

Resolves: #75827
Releases: master
Change-Id: I716a5a6d3b7dd4f9f8dd0f01db850a2ee82cd376
Reviewed-on: https://review.typo3.org/47829
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
3 years ago[BUGFIX] Better positionName extraction in executePositionedStringInsertion 32/47832/4
Christian Weiske [Thu, 21 Apr 2016 07:09:57 +0000 (09:09 +0200)]
[BUGFIX] Better positionName extraction in executePositionedStringInsertion

Limit string explosion so that "LLL:EXT:" notation in $position
does not get broken up.

Resolves: #75830
Releases: master, 7.6
Change-Id: I13cc15562bd790040c3e45c9eb27ff029311c78f
Reviewed-on: https://review.typo3.org/47832
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
3 years ago[TASK] travis: Acceptance tests with nginx+fpm 15/47815/6
Christian Kuhn [Wed, 20 Apr 2016 13:37:47 +0000 (15:37 +0200)]
[TASK] travis: Acceptance tests with nginx+fpm

* Start a php-fpm server on port 9000
* Install nginx, configure and start on port 8000 for acceptance tests
* Use phantomjs provided by composer directly without selenium

Change-Id: Ie25c27d765437ed0a12d1df9b0c9b1a4355b1024
Resolves: #75837
Releases: master
Reviewed-on: https://review.typo3.org/47815
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Enhance SQL query reduction in page tree in workspaces 44/42944/7
Oliver Hader [Mon, 31 Aug 2015 14:45:43 +0000 (16:45 +0200)]
[TASK] Enhance SQL query reduction in page tree in workspaces

This changeset is a follow-up to the changes for issue #50349 and
it partly reverts the changes that have been introduced back then.

The most important changes are:

* Allow early return on first found record in hasPageVersions.
  The previous implementation performed SQL queries on all tables
  that are defined in the global TCA array. Now the first version
  occurrence is enough to infer that a page has any versions.

* Integrate hooks to modify the determined results. This way, the
  meaning of having versions can be further modified by hooks.
  For instance, the default behavior of the TYPO3 core is to create
  a workspace version record on persisting the same record in the
  backend - without any actual changes to the data model.

Resolves: #69439
Releases: master
Change-Id: I119a79d8fad82b0dc5891861af45ecfdbc681820
Reviewed-on: https://review.typo3.org/42944
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Missing relations command: optimize SQL 86/47786/9
Markus Klein [Tue, 19 Apr 2016 13:36:26 +0000 (15:36 +0200)]
[BUGFIX] Missing relations command: optimize SQL

Iterate over each result row instead of fetching
the whole result into PHP memory.

Resolves: #75783
Releases: master
Change-Id: Icd77e5bae1839b66bb156beeef17e7d4bb7535d7
Reviewed-on: https://review.typo3.org/47786
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christoph Kratz <ckr@rtp.ch>
Tested-by: Christoph Kratz <ckr@rtp.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] Acceptance tests: Reset be_user uc after test 24/47824/3
Susanne Moog [Wed, 20 Apr 2016 17:34:55 +0000 (19:34 +0200)]
[TASK] Acceptance tests: Reset be_user uc after test

Since reduce possible side effects between tests the
typo3 codeception module resets be_user uc of the
admin user after each test.

Change-Id: I8ae0af84b7a10e3760737c1f5c5fd3ec5790a2be
Resolves: #75826
Releases: master
Reviewed-on: https://review.typo3.org/47824
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Only show filemount path selection when storage is selected 89/47789/4
Frans Saris [Tue, 19 Apr 2016 14:41:19 +0000 (16:41 +0200)]
[TASK] Only show filemount path selection when storage is selected

Change-Id: I2f02204f9c6169347bf0996a293345460dd3f737
Resolves: #75788
Releases: master
Reviewed-on: https://review.typo3.org/47789
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
3 years ago[TASK] Streamline escaping for ViewHelpers of all sysexts 44/47644/12
Benni Mack [Wed, 13 Apr 2016 13:52:08 +0000 (15:52 +0200)]
[TASK] Streamline escaping for ViewHelpers of all sysexts

The Core does not strictly use $escapeChildren and
$escapeOutput as properly introduced by Fluid Standalone in 8.0.

This results in some weird HTML output when using the inline syntax
currently.

Since $escapeOutput and $escapeChildren is active by default,
some ViewHelpers even do HSC on their own (= twice) even if not
needed.

Resolves: #75575
Releases: master
Change-Id: I3bbebe75c0368519d3506360c68df92d30a3b80a
Reviewed-on: https://review.typo3.org/47644
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] Check if folder is within the filemount 93/47793/6
Frans Saris [Tue, 19 Apr 2016 16:04:20 +0000 (18:04 +0200)]
[BUGFIX] Check if folder is within the filemount

Before using the filemount base folder as root for the
folder->getReadablePath() check if the folder is within the filemount.

Change-Id: I8a4436fb2a0e512c7d2d1fc50b9d08febae8b256
Resolves: #73735
Releases: master, 7.6, 6.2
Reviewed-on: https://review.typo3.org/47793
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Lorenz Ulrich <lorenz.ulrich@visol.ch>
Tested-by: Lorenz Ulrich <lorenz.ulrich@visol.ch>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
3 years ago[TASK] Only show active packages in PackageStates.php 89/46389/20
Alexander Stehlik [Sun, 31 Jan 2016 18:45:23 +0000 (19:45 +0100)]
[TASK] Only show active packages in PackageStates.php

Update the version to 5 and include a list of active packages,
everything else is stored in the core cache, and not needed
to be stored.

Note: the order of the package keys in the DependencyResolver
tests is changed intentionally. The order created by the
DependencyResolver has not changed. The tests did not
detect any difference in the order because we had an
associative array before (now it is indexed where the order
is relevant).

Resolves: #73041
Releases: master
Change-Id: I34e0c89efbef306ce49823069bd9dd4c38fa3091
Reviewed-on: https://review.typo3.org/46389
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[FOLLOWUP][BUGFIX] Do not append a "/" to the folder identifier 77/47777/3
Frans Saris [Tue, 19 Apr 2016 09:56:11 +0000 (11:56 +0200)]
[FOLLOWUP][BUGFIX] Do not append a "/" to the folder identifier

Added missing rst file.

Change-Id: Id61a1d2fdc27da4837e5d0d880f8dcaad5d6e1a4
Resolves: #66861
Releases: master
Reviewed-on: https://review.typo3.org/47777
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] Prevent OutOfBoundsException in filelist 06/47806/4
Frans Saris [Wed, 20 Apr 2016 12:00:05 +0000 (14:00 +0200)]
[BUGFIX] Prevent OutOfBoundsException in filelist

Change-Id: I1138487a2bae071d2393a38389ef918b5087d9ea
Resolves: #75370
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47806
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christoph Kratz <ckr@rtp.ch>
Tested-by: Christoph Kratz <ckr@rtp.ch>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
3 years ago[TASK] Use correct icons for TCA type select with renderType selectTree 50/47550/4
Manuel Selbach [Fri, 8 Apr 2016 14:05:30 +0000 (16:05 +0200)]
[TASK] Use correct icons for TCA type select with renderType selectTree

With the introduction of the new icon API the icons shown in the TCA
selectTree broke. This patch changes the tree js so it can handle the
new icon API.

The "old fashioned" fallback icons in tree view of e.g. categories
are replaced with current style of icons from the page tree.

Change-Id: Ibf39920b15c17b196d51e2e63c3a755c79cf3e3a
Resolves: #75463
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47550
Reviewed-by: Michiel Roos <michiel@maxserv.com>
Tested-by: Michiel Roos <michiel@maxserv.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
3 years ago[TASk] Stabilize ModuleMenuCest test 98/47798/3
Christian Kuhn [Tue, 19 Apr 2016 19:40:06 +0000 (21:40 +0200)]
[TASk] Stabilize ModuleMenuCest test

* Wait until content iframe is loaded
* Proceed only if main module elements are visible
* Check for web module only to speed up a bit

Change-Id: If324bfcfd3db80ab5f481909cd053aa2aa201299
Resolves: #75797
Releases: master
Reviewed-on: https://review.typo3.org/47798
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Disable ac tests in travis 08/47808/2
Christian Kuhn [Wed, 20 Apr 2016 12:17:51 +0000 (14:17 +0200)]
[TASK] Disable ac tests in travis

Acceptance test are currently too flaky to be of
any use. To not hide currently more important stuff
like unit and functional tests, ac tests are disabled
until a higher stability can be reached.

Change-Id: Ifd0892a85aa3c1ffaea6f469e45f2168035d9771
Resolves: #75815
Releases: master
Reviewed-on: https://review.typo3.org/47808
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Migrate all DB calls in EXT:setup to doctrine 75/47775/3
Georg Ringer [Tue, 19 Apr 2016 09:00:16 +0000 (11:00 +0200)]
[TASK] Migrate all DB calls in EXT:setup to doctrine

Use doctrine in EXT:setup

Resolves: #75772
Releases: master
Change-Id: I2c5126309d57c0c80bf9c97332d35a29b3cb742e
Reviewed-on: https://review.typo3.org/47775
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Michiel Roos <michiel@maxserv.com>
Tested-by: Michiel Roos <michiel@maxserv.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
3 years ago[TASK] Doctrine: migrate EXT:filelist 01/47801/2
Michael Oehlhof [Wed, 20 Apr 2016 00:07:53 +0000 (02:07 +0200)]
[TASK] Doctrine: migrate EXT:filelist

Resolves: #75800
Releases: master
Change-Id: I70863664d4e127759ef0c9420a8ee81f2aea5250
Reviewed-on: https://review.typo3.org/47801
Reviewed-by: Michiel Roos <michiel@maxserv.com>
Tested-by: Michiel Roos <michiel@maxserv.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
3 years ago[BUGFIX] Correct label for-parameter to the correct target id in indexed_search 02/47802/3
Christoph Kratz [Wed, 20 Apr 2016 08:02:38 +0000 (10:02 +0200)]
[BUGFIX] Correct label for-parameter to the correct target id in indexed_search

Resolves: #75587
Releases: master
Change-Id: I897c4ca3509ea62508fb05944207a4a1b8319a76
Reviewed-on: https://review.typo3.org/47802
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Catch RequestException in GeneralUtility::getUrl() 79/47779/7
Christoph Kratz [Tue, 19 Apr 2016 10:51:01 +0000 (12:51 +0200)]
[BUGFIX] Catch RequestException in GeneralUtility::getUrl()

When a request in getUrl() fails (e.g. due to exceeded time limit, host
misconfiguration) Guzzle throws an exception.

This patch restores the behaviour of getUrl() before using Guzzle by
catching the exception.

Resolves: #75757
Releases: master
Change-Id: Iedc36cce48eaee85beeb7c448b546dc3a49034d0
Reviewed-on: https://review.typo3.org/47779
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[!!!][TASK] Always store <p> tags in DB from RTE 21/47721/10
Benni Mack [Fri, 15 Apr 2016 18:57:17 +0000 (20:57 +0200)]
[!!!][TASK] Always store <p> tags in DB from RTE

Twelve years ago, when the RTE was not working in
every browser, TYPO3 always stored as little
html code in the database as possible.

Now it's time to really store HTML in the database
so the custom transformations from RTE to DB
(and vice versa) and from DB to the frontend
are getting less.

This introduces less overhead and also makes
it easier to work with the content that
is stored in the database.

An upgrade wizard (coming separately) will ensure
that all existing fields will be migrated.

Resolves: #75708
Releases: master
Change-Id: I47ffb394129e6a6e5a2916616931c050f7b9b064
Reviewed-on: https://review.typo3.org/47721
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Michiel Roos <michiel@maxserv.com>
Tested-by: Michiel Roos <michiel@maxserv.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Escaped content in RecordHistory InfoBox 92/47792/3
Stephan Großberndt [Tue, 19 Apr 2016 15:19:46 +0000 (17:19 +0200)]
[BUGFIX] Escaped content in RecordHistory InfoBox

This patch fixes the InfoBox in RecordHistory, which displayed
escaped HTML instead of colored spans.

Resolves: #75790
Releases: master
Change-Id: I3d69bb33b0a2cccd0e2f3b26b1f701168df5b2fb
Reviewed-on: https://review.typo3.org/47792
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Tests: Use existing session 00/47800/2
Christian Kuhn [Tue, 19 Apr 2016 20:14:53 +0000 (22:14 +0200)]
[TASK] Tests: Use existing session

Using Admin->useExistingSession() of Admin actor
instead of Kasper actor speeds up the tests a bit
and should make them more reliable.

Change-Id: Ibb462e87e1ce3725cdc40a7a6afa4e3c668b2b5c
Resolves: #75798
Releases: master
Reviewed-on: https://review.typo3.org/47800
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Correct SQL query for BE user filemounts 96/47796/3
Benni Mack [Tue, 19 Apr 2016 16:37:30 +0000 (18:37 +0200)]
[BUGFIX] Correct SQL query for BE user filemounts

Due to a wrong SQL statement, it is not possible
to evaluate any filemounts anymore for be users / groups.

The patch sets a correct SQL statement.

Resolves: #75792
Releases: master
Change-Id: I0f293a4ffc914e95608509e45257a00c938f291a
Reviewed-on: https://review.typo3.org/47796
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Reimplement pageTS support to selectTree 83/47083/6
Stefan Busemann [Fri, 4 Mar 2016 20:10:30 +0000 (21:10 +0100)]
[BUGFIX] Reimplement pageTS support to selectTree

With TCA type=select and renderType=selectTree certain TCA
config options can be modified via pageTS. Those that influence
the data fetching are now properly handled within the data
provider that gathers the tree items.

Example:
    TCEFORM.pages.categories.config.treeConfig.rootUid = 2

Release: master, 7.6
Resolves: #72961
Change-Id: I6a452c1439b0fd1f59c23b764b35cc8e34de7aef
Reviewed-on: https://review.typo3.org/47083
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Deprecate GeneralUtility methods 69/47669/7
Benni Mack [Thu, 14 Apr 2016 15:07:21 +0000 (17:07 +0200)]
[TASK] Deprecate GeneralUtility methods

There are some methods within GeneralUtility that are not used within
TYPO3 anymore or a now just plain stubs for PHP methods.

Additionally, there are some parameters within wrapJS() that have no
effect at all, and are removed without substitution.

Resolves: #75621
Releases: master
Change-Id: I1ad6c73b4733db172b37999b38d0a7b098d4e191
Reviewed-on: https://review.typo3.org/47669
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[BUGFIX] Make Topbar bookmark acceptance test more stable 94/47794/3
Sascha Egerer [Tue, 19 Apr 2016 16:14:42 +0000 (18:14 +0200)]
[BUGFIX] Make Topbar bookmark acceptance test more stable

Change-Id: I2260589acacab49d7120b515ba27870fee79eca7
Resolves: #75791
Releases: master
Reviewed-on: https://review.typo3.org/47794
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[BUGFIX] Create processed file object if file exists but reference doesn't 83/47783/3
Arno Schoon [Tue, 19 Apr 2016 12:26:50 +0000 (14:26 +0200)]
[BUGFIX] Create processed file object if file exists but reference doesn't

Create the target file object using the identifier of an already existing
processed file to prevent regenerating

Resolves: #75756
Releases: master, 7.6
Change-Id: I74fd770baf6690674c044288d6a61ec250b590d8
Reviewed-on: https://review.typo3.org/47783
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Restructured linkbrowser HTML 10/45210/6
Frans Saris [Fri, 11 Dec 2015 10:37:50 +0000 (11:37 +0100)]
[TASK] Restructured linkbrowser HTML

Restructured the HTML arround the form field in the element/link browser
to be more in line with the rest of the BE.

Resolves: #71840
Releases: master
Change-Id: Icbfc9b6c30e974f15e64d93cf327e05c2574525c
Reviewed-on: https://review.typo3.org/45210
Reviewed-by: Michiel Roos <michiel@maxserv.com>
Tested-by: Michiel Roos <michiel@maxserv.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Doctrine: Migrate EXT:sys_note 68/47768/3
Georg Ringer [Tue, 19 Apr 2016 05:33:39 +0000 (07:33 +0200)]
[TASK] Doctrine: Migrate EXT:sys_note

Migrate all database calls of EXT:sys_note to doctrine

Resolves: #75765
Releases: master
Change-Id: Ieb8bf69f7898de204d4f788afb0cf1f9c0945253
Reviewed-on: https://review.typo3.org/47768
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Michiel Roos <michiel@maxserv.com>
Tested-by: Michiel Roos <michiel@maxserv.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Doctrine: migrate ext:backend/Clipboard/Clipboard 74/47774/7
Jonathan IROULIN [Tue, 19 Apr 2016 08:36:24 +0000 (10:36 +0200)]
[TASK] Doctrine: migrate ext:backend/Clipboard/Clipboard

Resolves: #75770
Releases: master
Change-Id: I8b4eb42763ca30b2c099371b7a8206d8098c2f79
Reviewed-on: https://review.typo3.org/47774
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Michiel Roos <michiel@maxserv.com>
Tested-by: Michiel Roos <michiel@maxserv.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[BUGFIX] Flush l10n cache after translation update 80/47780/4
Christian Kuhn [Tue, 19 Apr 2016 11:18:13 +0000 (13:18 +0200)]
[BUGFIX] Flush l10n cache after translation update

The language module should flush l10n caches after translation
update, otherwise translation changes have no immediate effect.

Change-Id: Ibf412293139e6fc82da243ba22d7d13d187add5e
Resolves: #75778
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47780
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] Script finding duplicate exception codes for Travis 65/47765/7
Christoph Kratz [Mon, 18 Apr 2016 21:43:23 +0000 (23:43 +0200)]
[TASK] Script finding duplicate exception codes for Travis

Resolves: #75761
Relates: #75737
Releases: master
Change-Id: I7b061ac9d9ec3c071b87994168ade87c43131d6d
Reviewed-on: https://review.typo3.org/47765
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
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: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Remove duplicate exception numbers 44/47744/8
Christoph Kratz [Mon, 18 Apr 2016 11:39:35 +0000 (13:39 +0200)]
[TASK] Remove duplicate exception numbers

Resolves: #75737
Releases: master
Change-Id: Ia18d946b5e930306cd01ba1a0a275da8d2edc1f3
Reviewed-on: https://review.typo3.org/47744
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christoph Kratz <ckr@rtp.ch>
Tested-by: Christoph Kratz <ckr@rtp.ch>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Doctrine: Create named parameters for value setting operations 62/47762/3
Morton Jonuschat [Mon, 18 Apr 2016 19:13:03 +0000 (21:13 +0200)]
[TASK] Doctrine: Create named parameters for value setting operations

To reduce the risk of SQL injections methods used to set values in the
database have been modified to create named parameters by default.

To work with SQL fragments/expressions this behavior can be disabled by
setting $createNamedParameter to false.

Releases: master
Resolves: #75755
Change-Id: I03bff29b0d50c0a3e7d7dbf27538f1c3dfca51da
Reviewed-on: https://review.typo3.org/47762
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
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[BUGFIX] Felogin form with default layout is not visible 78/47778/2
Michiel Roos [Tue, 19 Apr 2016 10:38:34 +0000 (12:38 +0200)]
[BUGFIX] Felogin form with default layout is not visible

Updated felogin documentation to explain you need to manually
add a TypoScript constant for the template if you run felogin
on TYPO3 6.2 with css_styled_content v4.5.

Change-Id: I7ad6f0722e218c285055360af07f1147f9b89abf
Resolves: #67894
Releases: 6.2
Reviewed-on: https://review.typo3.org/47778
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Remove Verdana, Helvetica and Arial from default site 72/47772/4
Ingo Pfennigstorf [Tue, 19 Apr 2016 08:04:59 +0000 (10:04 +0200)]
[BUGFIX] Remove Verdana, Helvetica and Arial from default site

This removes the explicit fonts from the default site and displays
the text in the default "sans-serif" font the browser uses.

Resolves: #75769
Releases: master
Change-Id: Ib5b4c4d22ac0d55033110b8aa6740c6f837b71f2
Reviewed-on: https://review.typo3.org/47772
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: Christoph Kratz <ckr@rtp.ch>
Tested-by: Christoph Kratz <ckr@rtp.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Cleanup variables inside RteHtmlParser 29/47729/4
Benni Mack [Sat, 16 Apr 2016 10:58:20 +0000 (12:58 +0200)]
[TASK] Cleanup variables inside RteHtmlParser

Various cleanings to understand the code better.

Resolves: #75709
Releases: master
Change-Id: Id602fa64727508defc5859077fb821b773e1f922
Reviewed-on: https://review.typo3.org/47729
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[FEATURE] Number of files per page in file list configurable 61/47761/6
Stephan Großberndt [Mon, 18 Apr 2016 18:02:16 +0000 (20:02 +0200)]
[FEATURE] Number of files per page in file list configurable

It is now possible to configure the maximum number of files shown per
page in the file list module using User TSconfig.

Releases: master
Resolves: #72923
Change-Id: Ifb4e55f320c0188c69f3dac10d6b5f3cbed12da4
Reviewed-on: https://review.typo3.org/47761
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[TASK] Doctrine: Replace occurrences of exec_INSERTmultipleRows 64/47764/5
Mathias Schreiber [Mon, 18 Apr 2016 20:55:16 +0000 (22:55 +0200)]
[TASK] Doctrine: Replace occurrences of exec_INSERTmultipleRows

Resolves: #75758
Releases: master
Change-Id: I9ef426583b6c24369446c7736931ef3beb6b7b6f
Reviewed-on: https://review.typo3.org/47764
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@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>
3 years ago[TASK] Remove last part of singleton pattern in getUserObj() 71/47771/5
Benni Mack [Tue, 19 Apr 2016 06:03:41 +0000 (08:03 +0200)]
[TASK] Remove last part of singleton pattern in getUserObj()

In 8.0, the logic for having getUserObj() called with a "&" to
implement a singleton pattern has been removed, however
some code is still left and now unused.

Resolves: #75767
Releases: master
Change-Id: I76d5eb211662b60d9b34b38b3c0efb77a3b33fc4
Reviewed-on: https://review.typo3.org/47771
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[TASK] Rename QueryContextType::NONE to QueryContextType::UNRESTRICTED 59/47759/6
Morton Jonuschat [Mon, 18 Apr 2016 17:52:03 +0000 (19:52 +0200)]
[TASK] Rename QueryContextType::NONE to QueryContextType::UNRESTRICTED

This name change transports the intent of the query context better and
makes it more intuitive to use.

Instead of explicitly disabling all enable fields and the deleted flag
using the following code:

$queryBuilder->getQueryContext()
    ->setIgnoreEnableFields(true)
    ->setIncludeDeleted(true);

the more descriptive predefined context can be used:

$queryBuilder->getQueryContext()->setContext('unrestricted')

Releases: master
Resolves: #75751
Change-Id: I4d38a328c2b6707a32f26022b4abfc48e945c0ed
Reviewed-on: https://review.typo3.org/47759
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
3 years ago[TASK] Remove scriptRelPath from AuthServices 70/47770/2
Benni Mack [Tue, 19 Apr 2016 05:44:12 +0000 (07:44 +0200)]
[TASK] Remove scriptRelPath from AuthServices

Resolves: #75766
Releases: master
Change-Id: I9e1cf44ab12265f421524d3133a90dd1fd24f63e
Reviewed-on: https://review.typo3.org/47770
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christoph Kratz <ckr@rtp.ch>
Tested-by: Christoph Kratz <ckr@rtp.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Doctrine: Extend ExpressionBuilder with bitwise and support 60/47760/4
Morton Jonuschat [Mon, 18 Apr 2016 18:24:30 +0000 (20:24 +0200)]
[TASK] Doctrine: Extend ExpressionBuilder with bitwise and support

Extend the ExpressionBuilder with support for creating bitwise and
operations. Oracle needs a special SQL function to perform an &
operation and the core requires bitwise operations.

Releases: master
Resolves: #75563
Change-Id: I2ae7e20a9a4ced5b16330c94a3e9a6f156ba5f61
Reviewed-on: https://review.typo3.org/47760
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] Doctrine: migrate ext:backend/avatar 27/47727/4
Michael Oehlhof [Sat, 16 Apr 2016 09:58:52 +0000 (11:58 +0200)]
[TASK] Doctrine: migrate ext:backend/avatar

Resolves: #75707
Releases: master
Change-Id: I98ebd90c10b40ee8233ec044ac9c4f2afae802a8
Reviewed-on: https://review.typo3.org/47727
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] travis-ci: Limit number of parallel jobs 67/47767/2
Christian Kuhn [Mon, 18 Apr 2016 22:03:05 +0000 (00:03 +0200)]
[TASK] travis-ci: Limit number of parallel jobs

The docker environment of travis-ci reports no solid amount of
available CPU's, so parallel forks a massive amount of processes
in parallel.
The patch limits the maximum number of jobs in parallel for
travis to 6. This should lead to full CPU usage (there should
be 2 hardware available) even if the one or the other process
is in i/o wait for mysql or similar, and 6 should still not
hammer the VM too much.
This has a number of advantages, since the overall memory
consumption is lower, the system has to do much less context
switches, we're a nicer neighbor, single tests are quicker
and the test order is better predictable.

Change-Id: I0965afb823d1a7d23fddbed8968c2ff313aa5db9
Resolves: #75764
Releases: master
Reviewed-on: https://review.typo3.org/47767
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[CLEANUP] Fix type hints for renderChildrenArgument 66/47766/2
Helmut Hummel [Mon, 18 Apr 2016 21:55:49 +0000 (23:55 +0200)]
[CLEANUP] Fix type hints for renderChildrenArgument

Resolves: #75762
Releases: master
Change-Id: I4e409f154abe6fba299a8335b1ec9b5bd64e64d5
Reviewed-on: https://review.typo3.org/47766
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Add acceptance tests for client side validation for basic elements 32/47732/5
Sascha Egerer [Sat, 16 Apr 2016 19:46:46 +0000 (21:46 +0200)]
[TASK] Add acceptance tests for client side validation for basic elements

Change-Id: If043e3a90a5326521c335b9f0158eb59256a3767
Related: #75626
Releases: master
Reviewed-on: https://review.typo3.org/47732
Reviewed-by: Dirk Jüttner <dirk.juettner@gmail.com>
Tested-by: Dirk Jüttner <dirk.juettner@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Cursor position is changed while typing 37/47737/3
Sascha Egerer [Sun, 17 Apr 2016 20:38:48 +0000 (22:38 +0200)]
[BUGFIX] Cursor position is changed while typing

Fields in the backend are validated while typing. One validation
is the left space trim. Spaces on the left side are removed but
also the cursor position is changed. If you are a fast typer
this could end up in a mixed up input. The cursor position should
not be changed by the validation JavaScript.

Change-Id: I93e46dff763363eed193d41b1fd71fbe043fbcd8
Resolves: #75724
Related: #75626
Releases: master
Reviewed-on: https://review.typo3.org/47737
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] Cleanup GridEditor.js 42/47742/2
Frank Naegler [Mon, 18 Apr 2016 11:19:31 +0000 (13:19 +0200)]
[TASK] Cleanup GridEditor.js

- use === for comparrision instead of ==
- build markup with jQuery api instead of string concatenation
- refactor stripMarkup function

Resolves: #75733
Releases: master
Change-Id: I6b32cdd4f8a2e137bdb7e6c9c88efd831ebdf5e3
Reviewed-on: https://review.typo3.org/47742
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christoph Kratz <ckr@rtp.ch>
Tested-by: Christoph Kratz <ckr@rtp.ch>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
3 years ago[TASK] Check if clear cache module is not visible for editor 22/47722/4
Dirk Juettner [Fri, 15 Apr 2016 18:51:55 +0000 (20:51 +0200)]
[TASK] Check if clear cache module is not visible for editor

Add an acceptance test to ensure that the clear cache menu in
the topbar is not visible for non admin users.
Also check if the Bookmark section is visible.

Resolves: #75701
Releases: master
Change-Id: Ia1f23c869e6e21c95cc5b4024fa6f0209ca25df9
Reviewed-on: https://review.typo3.org/47722
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Dirk Jüttner <dirk.juettner@gmail.com>
Tested-by: Dirk Jüttner <dirk.juettner@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Doctrine: migrate ext:recycler/CleanerTask 33/47733/4
Michael Oehlhof [Sat, 16 Apr 2016 22:12:11 +0000 (00:12 +0200)]
[TASK] Doctrine: migrate ext:recycler/CleanerTask

Resolves: #75717
Releases: master
Change-Id: I210f838568c47469eb9926b7b4b6774578a28732
Reviewed-on: https://review.typo3.org/47733
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Remove unused code from RecordHistory 58/47758/3
Stephan Großberndt [Mon, 18 Apr 2016 16:26:39 +0000 (18:26 +0200)]
[TASK] Remove unused code from RecordHistory

Removed all occurrences of reading and passing the parameter sumUp,
since it is always set to -1, last usage of different values was in
TYPO3 3.8.

Releases: master
Resolves: #75752
Change-Id: I6545828a42af0687bbdf03b0761b152289d97c26
Reviewed-on: https://review.typo3.org/47758
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Richard Haeser <richardhaeser@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Doctrine: migrate ext:backend/Controller/LoginController 57/47757/5
Jonathan IROULIN [Mon, 18 Apr 2016 16:05:08 +0000 (18:05 +0200)]
[TASK] Doctrine: migrate ext:backend/Controller/LoginController

Resolves: #75749
Releases: master
Change-Id: I1de410ed558c80647a5288ecf3bef78bb4497ad0
Reviewed-on: https://review.typo3.org/47757
Reviewed-by: Christoph Kratz <ckr@rtp.ch>
Tested-by: Christoph Kratz <ckr@rtp.ch>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>