Packages/TYPO3.CMS.git
4 years ago[FEATURE] Support maximum length in TextElement 06/35506/4
Georg Ringer [Tue, 16 Dec 2014 06:47:32 +0000 (07:47 +0100)]
[FEATURE] Support maximum length in TextElement

Like the InputElement, also the TextElement should support the
"max" option for specifying a maximum length attribute.

Resolves: #24906
Releases: master
Change-Id: I21435150ed61bd0b0b3b1f6e8bcbb1c50fb0f6e2
Reviewed-on: http://review.typo3.org/35506
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[TASK] Remove support for older opcode caches 42/34942/2
Alexander Opitz [Tue, 2 Dec 2014 17:36:36 +0000 (18:36 +0100)]
[TASK] Remove support for older opcode caches

Removing opcode cache support for APC, eAccelerator, ZendOptimizerPlus,
and XCache < 3.1 as they all won't support PHP 5.5 and aren't
recommended to be used any more.

Resolves: #63516
Releases: master
Change-Id: I11c7c40965beba2503ad8ab88e4bf77373f3668d
Reviewed-on: http://review.typo3.org/34942
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[FEATURE] Access module "leave unchanged" 91/35491/3
Benjamin Mack [Mon, 15 Dec 2014 18:17:46 +0000 (19:17 +0100)]
[FEATURE] Access module "leave unchanged"

Allow the access module to leave a selector
as "unchanged" in order to only overwrite
permissions and not the owner/group.

Resolves: #15619
Releases: master
Change-Id: If343565f34f9909d968c54b142a0c7d12108ac18
Reviewed-on: http://review.typo3.org/35491
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FEATURE] Add stdWrap functionality to page.headTag 81/35481/4
Benjamin Mack [Mon, 15 Dec 2014 14:41:16 +0000 (15:41 +0100)]
[FEATURE] Add stdWrap functionality to page.headTag

The option page.headTag has stdWrap properties
added.

Resolves: #22086
Releases: master
Change-Id: I397bb0c82b350b31ab85fbcb7d83070036db20b8
Reviewed-on: http://review.typo3.org/35481
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>
4 years ago[TASK] Add suggest wizard for "include static" in template record 69/29769/3
Georg Ringer [Mon, 15 Dec 2014 20:03:25 +0000 (21:03 +0100)]
[TASK] Add suggest wizard for "include static" in template record

Resolves: #58407
Releases: master
Change-Id: Ia6de994c4f59a36d79b1d5cfe0101caddedb1773
Reviewed-on: http://review.typo3.org/29769
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
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>
4 years ago[BUGFIX] TCA: Move plugin-specific fields to Plugin tab 95/35495/2
Benjamin Mack [Mon, 15 Dec 2014 19:07:57 +0000 (20:07 +0100)]
[BUGFIX] TCA: Move plugin-specific fields to Plugin tab

The options "select_key", "pages" and "recursive"
belong to the plugin field, and should go under the same
tab as the list_type field.

See forge issue for more discussions.

Resolves: #28910
Releases: master
Change-Id: Icb6f188b2d7e20c4433b22b15d8e1058f9626471
Reviewed-on: http://review.typo3.org/35495
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>
4 years ago[!!!][TASK] Deprecate FormEngine::getTSCpid() 97/35497/4
Frank Nägler [Mon, 15 Dec 2014 19:37:34 +0000 (20:37 +0100)]
[!!!][TASK] Deprecate FormEngine::getTSCpid()

Move the caching getTSCpid() method from FormEngine to
BackendUtility as getTSCpidCached, creating a general
purpose method for this case to save some db queries
if that is OK with calling code. Adapt usages and
deprecate old method within FormEngine.

Resolves: #63889
Releases: master
Change-Id: I4037a9635c8814a3db869d532ebc9f2826128157
Reviewed-on: http://review.typo3.org/35497
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[BUGFIX] Show correct default value of field type 'select' and MM relation 74/33474/3
Georg Ringer [Wed, 22 Oct 2014 14:00:45 +0000 (16:00 +0200)]
[BUGFIX] Show correct default value of field type 'select' and MM relation

Given a field with TCA type "select" and a mm relation,
the selected categories of the default record are not shown
in the translated record.

Reason is because the uid is not transferred to the
BackendUtility::getProcessedValue method.

Resolves: #62397
Releases: master, 6.2
Change-Id: I4c98267e9d246c9b7efeaba2cdcecd7873e9feeb
Reviewed-on: http://review.typo3.org/33474
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[!!!][TASK] Deprecate stdWrap options textStyle, tableStyle 42/35442/4
Georg Ringer [Sun, 14 Dec 2014 19:43:03 +0000 (20:43 +0100)]
[!!!][TASK] Deprecate stdWrap options textStyle, tableStyle

The following stdWrap options are not needed anymore as this can
and should be done with CSS or just normal wraps:
 * textStyle
 * tableStyle

Resolves: #49247
Releases: master
Change-Id: I5c2469220ac93fbc0584c04363d91747ae3ee2a5
Reviewed-on: http://review.typo3.org/35442
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Followup to deprecate FormEngine methods 94/35494/2
Benjamin Mack [Mon, 15 Dec 2014 19:03:20 +0000 (20:03 +0100)]
[BUGFIX] Followup to deprecate FormEngine methods

see "Deprecate unused methods from FormEngine"
from issue #63912 which uses a wrong "use" statement.
thus a fatal for all input fields with selects happens.

Releases: master
Resolves: #63914
Change-Id: Ib8916e2f8c0ad98e70c3ee0fcc4a8cd5b85ca5c4
Reviewed-on: http://review.typo3.org/35494
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[!!!][TASK] Deprecate FormEngine::getAvailableLanguages() 92/35492/2
Frank Nägler [Mon, 15 Dec 2014 18:25:31 +0000 (19:25 +0100)]
[!!!][TASK] Deprecate FormEngine::getAvailableLanguages()

This patch deprecates FormEngine::getAvailableLanguages()
and removes the dependency from all form element classes.

Resolves: #63852
Releases: master
Change-Id: I3173ea36d741d06ad8b0d6df226193079395d106
Reviewed-on: http://review.typo3.org/35492
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>
4 years ago[!!!][TASK] Deprecate FormEngine::renderVDEFDiff() 90/35490/5
Frank Nägler [Mon, 15 Dec 2014 18:04:39 +0000 (19:04 +0100)]
[!!!][TASK] Deprecate FormEngine::renderVDEFDiff()

This patch deprecates FormEngine::renderVDEFDiff() and removes
the dependency from all form element classes.

Resolves: #63864
Releases: master
Change-Id: Ib4dbdddde76554147b1328645e2e90107e2ddbca
Reviewed-on: http://review.typo3.org/35490
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[!!!][TASK] Deprecate unused methods from FormEngine 89/35489/3
Frank Nägler [Mon, 15 Dec 2014 17:54:22 +0000 (18:54 +0100)]
[!!!][TASK] Deprecate unused methods from FormEngine

This patch deprecates the following methods of FormEngine:
* FormEngine::getSingleField_typeFlex_langMenu()
* FormEngine::getSingleField_typeFlex_sheetMenu()
* FormEngine::getSpecConfFromString()
and removes the dependency from all form element classes.

Resolves: #63912
Releases: master
Change-Id: I3c1722785418d384a05028f8ab66b6212a085895
Reviewed-on: http://review.typo3.org/35489
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[!!!][TASK] Deprecate FormEngine::sL() 66/35466/11
Frank Nägler [Mon, 15 Dec 2014 08:54:08 +0000 (09:54 +0100)]
[!!!][TASK] Deprecate FormEngine::sL()

This patch deprecates FormEngine::sL() and removes
the dependency from all form element classes.

Resolves: #63855
Releases: master
Change-Id: I58a596c9c8c09f18f5129cd64dd1e76296d37f3f
Reviewed-on: http://review.typo3.org/35466
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>
4 years ago[TASK] Followup: Migrate FormEngine Checkboxes HTML to twbs 78/35478/2
Frans Saris [Mon, 15 Dec 2014 12:30:44 +0000 (13:30 +0100)]
[TASK] Followup: Migrate FormEngine Checkboxes HTML to twbs

The disabled class on the wrapping div was missing.

Resolves: #62975
Related: #62973
Releases: master
Change-Id: I79e54a8c245a1e6a88ff5aefd99adccc52d561cc
Reviewed-on: http://review.typo3.org/35478
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] FormEngine: "field has changed" icon via CSS 08/12708/14
Benjamin Mack [Tue, 25 Feb 2014 10:29:02 +0000 (11:29 +0100)]
[TASK] FormEngine: "field has changed" icon via CSS

When editing a record in FormEngine, each field that is
modified gets an arrow symbol in front of the
input/select field.

There are certain downsides to this implementation:
- Having images and hard-coded srcs in each field
clutters the HTML and has ugly JS to change the field
- it's hard to style / exchange the icon

The new solution does the replacement via CSS classes.
The CSS class just adds a blue background to the
changed form field or does a color change
to the checkbox label currently.

Releases: master
Resolves: #38752
Change-Id: I94b6cc8550f7539961aa7ee97a8081e7d0ae5931
Reviewed-on: http://review.typo3.org/12708
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>
4 years ago[!!!][TASK] Remove old BE implementation of indexed_search 38/35338/6
Georg Ringer [Sat, 13 Dec 2014 23:56:36 +0000 (00:56 +0100)]
[!!!][TASK] Remove old BE implementation of indexed_search

The old code can be removed as the new module has been merged.

The breaking change is already documented in the file
'Breaking-61510-IndexedSearch.rst'

Change-Id: Ief1867cbaa2f0768e3e8c08c490e64963b91a06c
Resolves: #61638
Releases: master
Reviewed-on: http://review.typo3.org/35338
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
4 years ago[BUGFIX] Followup: Deprecate FormEngine::getLL() 77/35477/2
Christian Kuhn [Mon, 15 Dec 2014 12:11:10 +0000 (13:11 +0100)]
[BUGFIX] Followup: Deprecate FormEngine::getLL()

A missing dash slipped through triggering a fatal.

Change-Id: If1445cb3205e748bb4b5c1dae08948acea1178b9
Resolves: #63878
Releases: master
Reviewed-on: http://review.typo3.org/35477
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[!!!][TASK] Deprecate FormEngine::getLL() 68/35468/5
Frank Nägler [Mon, 15 Dec 2014 09:40:57 +0000 (10:40 +0100)]
[!!!][TASK] Deprecate FormEngine::getLL()

This patch deprecates FormEngine::getLL() and removes
the dependency from all form element classes.

Resolves: #63878
Releases: master
Change-Id: I3f247a7241fb587d0a3c5a0a36b62968140f84c8
Reviewed-on: http://review.typo3.org/35468
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] linkvalidator: Fatal error: Call to a member function getUrl() 33/33333/3
Philipp Gampe [Thu, 16 Oct 2014 10:25:26 +0000 (12:25 +0200)]
[BUGFIX] linkvalidator: Fatal error: Call to a member function getUrl()

The external link checker tries to provide detailed information in case
an URL is not accessible. To do this, it analyses the strack trace
provided by the exception.

Replace the stracktrace parsing with a more reliable method by checking
the last event. In case of a loop, the last event contains the response
object in the 'data' key.

Resolves: #62266
Releases: master,6.2
Change-Id: I51aaf3d6af85877541e920afaee76e6cac368e7b
Reviewed-on: http://review.typo3.org/33333
Reviewed-by: Jesper Paardekooper <jesper.paardekooper@gmail.com>
Tested-by: Jesper Paardekooper <jesper.paardekooper@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[CLEANUP] Cleanup ConditionMatcher 10/29810/5
Roland Waldner [Sat, 3 May 2014 13:14:29 +0000 (15:14 +0200)]
[CLEANUP] Cleanup ConditionMatcher

Resolves: #56426
Releases: 6.2
Change-Id: I5653fab16fde695d8f8cd658c1f0d39c4db35025
Reviewed-on: http://review.typo3.org/29810
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[!!!][TASK] Remove dependency to FormEngine::insertDefStyle 63/35463/6
Frank Nägler [Sun, 14 Dec 2014 22:05:40 +0000 (23:05 +0100)]
[!!!][TASK] Remove dependency to FormEngine::insertDefStyle

This patch deprecate FormEngine::insertDefStyle and remove
the dependency from form element classes.

Resolves: #63850
Releases: master
Change-Id: I24f00599068d095a7c810f13e03af3eff7dff939
Reviewed-on: http://review.typo3.org/35463
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[TASK] Migrate FormEngine Checkboxes HTML to twbs 99/34199/6
Jan Helke [Sat, 15 Nov 2014 12:32:44 +0000 (13:32 +0100)]
[TASK] Migrate FormEngine Checkboxes HTML to twbs

Change CheckboxElement HTML towards twitter bootstrap
and refactor the class a bit for better readability
along the way.

Resolves: #62975
Related: #62973
Releases: master
Change-Id: Iacc7bb77fb604178a647e3d3e79eaa1677738c20
Reviewed-on: http://review.typo3.org/34199
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Change fields of TCA type none to Twitter Bootstrap 13/34213/6
griebie [Sat, 15 Nov 2014 17:07:13 +0000 (18:07 +0100)]
[TASK] Change fields of TCA type none to Twitter Bootstrap

The fields for textarea/input are now based on Twitter
Bootstrap by adding "disabled" and "form-control" class.

Additionally, disabled textareas are now used for type=text,
and some doubled calculations are moved to the
TextElement class.

Resolves: #62978
Related: #62973
Releases: master
Change-Id: I0dab4130dc81cc9071283354e9472c3dc5ea40b5
Reviewed-on: http://review.typo3.org/34213
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Fix new content element wizard links click area 78/35178/5
Mathias Brodala [Tue, 9 Dec 2014 07:59:54 +0000 (08:59 +0100)]
[BUGFIX] Fix new content element wizard links click area

This formats the links within the new content element wizard as
inline-block, thus ensuring the whole link area is clickable.

Resolves: #56063
Releases: master, 6.2
Change-Id: Id5d7e080787d434a89220ce361fb3cf3d911029e
Reviewed-on: http://review.typo3.org/35178
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Add case insensitive flag to trustedHostsPattern 75/30475/7
Dietrich Heise [Wed, 28 May 2014 13:59:01 +0000 (15:59 +0200)]
[BUGFIX] Add case insensitive flag to trustedHostsPattern

Releases: master, 6.2, 4.5
Resolves: #59186
Change-Id: Iaa973faf5b3f287320fb187c3db2d8e30a486735
Reviewed-on: http://review.typo3.org/30475
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.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>
4 years ago[BUGFIX] Allow attribute value "0" in EXT:form elements 21/9021/6
Stefan Neufeind [Tue, 14 Feb 2012 12:17:20 +0000 (13:17 +0100)]
[BUGFIX] Allow attribute value "0" in EXT:form elements

If an attribute value of "0" is set in an EXT:form element (e.g.
TEXTLINE) currently the input element in the frontend is rendered with
an empty value "".

Do not check attribute values with empty() to allow "0" values.

Resolves: #31920
Releases: master, 6.2
Change-Id: I624c7da38c23429f68000e085dbd82c23fb7e834
Reviewed-on: http://review.typo3.org/9021
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Improve sorting of usergroups in adminpanel 04/35404/3
Georg Ringer [Sat, 13 Dec 2014 23:32:58 +0000 (00:32 +0100)]
[TASK] Improve sorting of usergroups in adminpanel

To improve the usability, the usergroups are ordered by title and
the uid is added at the end to allow working with the keyboard.

Resolves: #17290
Releases: master, 6.2
Change-Id: Ie855a73e81a8b66265d4b94567db088f0991fd5d
Reviewed-on: http://review.typo3.org/35404
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>
4 years agoRevert "[BUGFIX] Serialize expression in switch viewhelper" 37/35437/2
Anja Leichsenring [Sun, 14 Dec 2014 18:14:34 +0000 (19:14 +0100)]
Revert "[BUGFIX] Serialize expression in switch viewhelper"

This reverts commit 197a810b6a7db41717f30c0d8101c3e0181690fc.

The proposed solution of serialzing the expression was post merge rejected by the strategy team.
The issue will be set to new and a more elegant solution
is wanted for this. Sorry guys and thanks for all the effort

Change-Id: Ie9c97546934c995183552143bca29934a9611f93
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35437
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Serialize expression in switch viewhelper 04/30804/4
Björn Fromme [Wed, 18 Jun 2014 08:25:46 +0000 (10:25 +0200)]
[BUGFIX] Serialize expression in switch viewhelper

The f:switch ViewHelper breaks with Fluid error "No value found for key
"TYPO3\CMS\Fluid\ViewHelpers\SwitchViewHelper->switchExpression", thus
the key cannot be removed." for a NULL expression. This patch serializes
the expression before storing it in the ViewHelper variable container.

Resolves: #59255
Releases: master, 6.2
Change-Id: I6eb646bbe4c9975edff0128479e8c057395df5a1
Reviewed-on: http://review.typo3.org/30804
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Fix "Enable tab" for textareas inside inline elements 99/35399/2
Georg Ringer [Sat, 13 Dec 2014 19:07:03 +0000 (20:07 +0100)]
[BUGFIX] Fix "Enable tab" for textareas inside inline elements

If a field is configured in the TCA by using
"'defaultExtras' => 'fixed-font : enable-tab'", the textarea
behaves different (pressing the tab produces a tab).

Since inline elements use AJAX, the js method which changes the behaviour
of the textarea needs to be reapplied.

Resolves: #33731
Releases: master, 6.2
Change-Id: Idbab5092f20675c9b912b80299059a8a0d05c3cb
Reviewed-on: http://review.typo3.org/35399
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Adopt IRRE class toggle for hide/unhide 96/35396/2
Georg Ringer [Sat, 13 Dec 2014 18:23:14 +0000 (19:23 +0100)]
[BUGFIX] Adopt IRRE class toggle for hide/unhide

Clicking hide/unhide in IRRE elements doesn't change the UI anymore
because the icon class changed but not the JS.

Resolves: #63833
Releases: master
Change-Id: I2775708158d03d0fa931a89ee60d269a001692a8
Reviewed-on: http://review.typo3.org/35396
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Set Ext.SSL_SECURE_URL to prevent https issues in IE 83/32083/4
Marco Huber [Mon, 11 Aug 2014 11:17:25 +0000 (13:17 +0200)]
[BUGFIX] Set Ext.SSL_SECURE_URL to prevent https issues in IE

Ext.SSL_SECURE_URL is javascript:false by default. But this throws the error
"SEC7111: HTTPS security is compromised by res://ieframe.dll/dnserrordiagoff.htm"
in IE. To prevent this we can use the clear.gif URL which is a valid
URL and doesn't create too much traffic

Resolves: #60886
Releases: master, 6.2
Change-Id: I618815318aab3f39aaca54e92ebec4f3d79827c4
Reviewed-on: http://review.typo3.org/32083
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>
4 years ago[BUGFIX] Better performance of DatabaseConnection->getDateTimeFormats 97/35197/3
Stephan Großberndt [Tue, 9 Dec 2014 14:42:19 +0000 (15:42 +0100)]
[BUGFIX] Better performance of DatabaseConnection->getDateTimeFormats

Currently each call to DatabaseConnection->getDateTimeFormats creates a
new array with default dateTimeFormats. Put this information into a
static class member and return this instead.

Resolves: #63669
Releases: master, 6.2
Change-Id: I457ad6b68fb6919782f349550e9efd07143d0de7
Reviewed-on: http://review.typo3.org/35197
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Add htmlspecialchars to element id 26/35426/2
Frank Nägler [Sun, 14 Dec 2014 16:17:44 +0000 (17:17 +0100)]
[TASK] Add htmlspecialchars to element id

Resolves: #63842
Related: #62973
Releases: master
Change-Id: I9089585103263788fcc937b3d1ac623095373427
Reviewed-on: http://review.typo3.org/35426
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>
4 years ago[!!!][TASK] Remove deprecated disable_autocreate feature of workspaces 11/35411/4
Wouter Wolters [Sun, 14 Dec 2014 13:38:24 +0000 (14:38 +0100)]
[!!!][TASK] Remove deprecated disable_autocreate feature of workspaces

Resolves: #62415
Releases: master
Change-Id: I2c51f66c13f10ed4b442f52b20899820f92a5248
Reviewed-on: http://review.typo3.org/35411
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[TASK] Remember search filter in PageModule 20/35420/2
Frank Nägler [Sun, 14 Dec 2014 15:18:49 +0000 (16:18 +0100)]
[TASK] Remember search filter in PageModule

Bring session handling for search field also to the
PageModule. Now it works like in the ListModule.

Resolves: #63841
Related: #33627
Releases: master
Change-Id: I8ad351b73259345f406d29747a250cd3acd7f3d4
Reviewed-on: http://review.typo3.org/35420
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>
4 years ago[TASK] Radio buttons to Bootstrap 01/34201/5
Jan Helke [Sat, 15 Nov 2014 12:45:02 +0000 (13:45 +0100)]
[TASK] Radio buttons to Bootstrap

Resolves: #62974
Related: #62973
Releases: master
Change-Id: I9eaa6bb98c88d58fb98bf7b20aa1ce64e7042840
Reviewed-on: http://review.typo3.org/34201
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: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Fix layout of searchbar in RecordList 10/35410/3
Frank Nägler [Sun, 14 Dec 2014 13:16:57 +0000 (14:16 +0100)]
[BUGFIX] Fix layout of searchbar in RecordList

This patch fix the layout of the searchbar in RecordList.
Follow-Up for #33627

Resolves: #63837
Related: #33627
Releases: master
Change-Id: Ifced2066a18f5e23e536d50e49763ae7aa08609e
Reviewed-on: http://review.typo3.org/35410
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>
4 years ago[BUGFIX] Name of extension is not complete in rst documentation file 19/35419/2
Wouter Wolters [Sun, 14 Dec 2014 15:12:33 +0000 (16:12 +0100)]
[BUGFIX] Name of extension is not complete in rst documentation file

Resolves: #63840
Releases: master
Change-Id: I08c7106c88cdc02f6f54f92ba41bbd103f621f4a
Reviewed-on: http://review.typo3.org/35419
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Remember search filter in RecordList 08/35408/6
Frank Nägler [Sun, 14 Dec 2014 12:10:37 +0000 (13:10 +0100)]
[TASK] Remember search filter in RecordList

In some cases the searchfilter get lost. The patch
enable storing the search term in BE user session.

Resolves: #33627
Releases: master
Change-Id: I2fcf38174c62874252cf76a4c3251da59bd0048a
Reviewed-on: http://review.typo3.org/35408
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>
4 years ago[!!!][TASK] Deprecate "device" TypoScript condition 02/35402/3
Georg Ringer [Sat, 13 Dec 2014 22:57:15 +0000 (23:57 +0100)]
[!!!][TASK] Deprecate "device" TypoScript condition

The TS condition for the device has been forgotten in
issue #60574 and is deprecated now.

Resolves: #63522
Related: #60574
Releases: master
Change-Id: I466125afe1f1398fa892d28cc8f7515181e82ca0
Reviewed-on: http://review.typo3.org/35402
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
4 years ago[TASK] Add note about AdditionalConfiguration.php to Install Tool 09/35409/5
Markus Klein [Sun, 14 Dec 2014 12:21:36 +0000 (13:21 +0100)]
[TASK] Add note about AdditionalConfiguration.php to Install Tool

Add a note to clarify that AdditionalConfiguration.php is always
overruling any setting made within the Install Tool.

Furthermore we add a note to the ConfigurationManager that it is limited
to Core internal usage only.

Resolves: #60650
Releases: master, 6.2
Change-Id: Icaf7d4b1ce5b14ad0618e38e92a49a33405997f7
Reviewed-on: http://review.typo3.org/35409
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[BUGFIX] Bad index for determineSiteRoot 82/31082/5
Stefan Froemken [Mon, 23 Jun 2014 16:07:24 +0000 (18:07 +0200)]
[BUGFIX] Bad index for determineSiteRoot

Extbase in the backend fires a query to the pages table where
deleted=0 AND hidden=0 AND is_siteroot=1 ORDER BY sorting LIMIT 1

The patch changes an index that was added for this query to
reduce the result more quickly, with the assumption there is only a
very small number of is_siteroot=1 pages in comparison to deleted
and hidden pages. Also hidden and deleted are not any longer part
of the index, since order by sorting with limit 1 will break the
rest of the result set very early.

Target of the patch is master only since the 6.2 variant is not
that bad, so there is no urgend need to force people changing
indexes in 6.2 production systems.

Resolves: #59824
Releases: master
Change-Id: I597516efb7704d929ee869cdaa39cd069421ed4f
Reviewed-on: http://review.typo3.org/31082
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Fatal Error in filelist when editing 85/35385/2
Mathias Schreiber [Sat, 13 Dec 2014 12:50:04 +0000 (13:50 +0100)]
[BUGFIX] Fatal Error in filelist when editing

Regression fix for #61958

Fixes: #63825
Releases: master
Relates: #61958
Change-Id: I06818243c296ac20b5b5f251e5ab57c6a6008632
Reviewed-on: http://review.typo3.org/35385
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Form localization depending on old class names 15/20415/5
Patrick Broens [Thu, 2 May 2013 12:50:34 +0000 (14:50 +0200)]
[BUGFIX] Form localization depending on old class names

Since the introduction of the PHP namespaces some of the localisation of
FORM is not working anymore. The localisation label is depending on the
class name by using get_class(). The localisation is depending on the
old class names which has not been adapted afterwards.

This patch solves this issue by removing the get_class() calls by
using a constant.

Change-Id: I7ba846620732b61e05e210f227c02b63c1198284
Resolves: #47817
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/20415
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Don't override the class on the Form elementWrap 39/20939/5
Marc Neuhaus [Tue, 21 May 2013 07:49:37 +0000 (09:49 +0200)]
[BUGFIX] Don't override the class on the Form elementWrap

This Changeset fixes an issue, which made it impossible
to give the layout.elementWrap a class attribute, because it
is was simple overridden.
Now it checks if a class is set and appends the default csc-form-*
classes instead of overriding it.

Resolves: #48404
Releases: master, 6.2
Change-Id: I20fec83d28b2e727f268ee00dab830c39c5f15a1
Reviewed-on: http://review.typo3.org/20939
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>
4 years ago[CLEANUP] Add missing empty lines after copyright comments II 91/35391/4
Roland Waldner [Sat, 13 Dec 2014 16:10:41 +0000 (17:10 +0100)]
[CLEANUP] Add missing empty lines after copyright comments II

At the moment in some classes you can find an empty line between the
copyright comment and the first use statement. In some (far less) other
classes there is no such empty line.

This commit adds an empty line between those comments if there is no
empty line.

This is not part of the TYPO3 CMS CGL but increases consistency in this
area.

This regular expression was used to add the empty lines:

Search:
( \* The TYPO3 project - inspiring people to share!\n \*/\n)(use )

Replace:
$1\n$2

Resolves: #63829
Releases: master
Change-Id: I4b28a1cfcfc727016ac5d89b3988d236270f37e2
Reviewed-on: http://review.typo3.org/35391
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[CLEANUP] Add missing empty lines after copyright comments I 90/35390/6
Roland Waldner [Sat, 13 Dec 2014 15:53:11 +0000 (16:53 +0100)]
[CLEANUP] Add missing empty lines after copyright comments I

At the moment in some classes you can find an empty line between the
copyright comment and the first PHPdoc bock comment. In some other
classes there is no such empty line.

This commit adds an empty line between those comments if there is no
empty line.

This is not part of the TYPO3 CMS CGL but increases consistency in this
area.

This regular expression was used to add the empty lines:

Search:
( \* The TYPO3 project - inspiring people to share!\n \*/\n)(/\*\*\n \*)

Replace:
$1\n$2

Resolves: #63828
Releases: master
Change-Id: I1d921921a3f60a62c29de3300b25b5df36a43b0a
Reviewed-on: http://review.typo3.org/35390
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[CLEANUP] Add missing empty lines after namespace statements 92/35392/2
Roland Waldner [Sat, 13 Dec 2014 16:27:47 +0000 (17:27 +0100)]
[CLEANUP] Add missing empty lines after namespace statements

At the moment in some classes you can find an empty line between the
copyright comment and the namespace statement. In some other classes
there is no such empty line.

This commit adds an empty line after the namespace statement if there
is no empty line.

This is not part of the TYPO3 CMS CGL but increases consistency in this
area.

This regular expression was used to add the empty lines:

Search:
(namespace .*\n)(/\*)

Replace:
$1\n$2

Resolves: #63831
Releases: master
Change-Id: I14c08c64ccbdb39001a5c303c629b1dfaa3a6c0f
Reviewed-on: http://review.typo3.org/35392
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Use better implementation for array check 88/35388/3
Anja Leichsenring [Sat, 13 Dec 2014 14:47:17 +0000 (15:47 +0100)]
[TASK] Use better implementation for array check

To suppress PHP warnings the input parameter must always be an array.
If there is nothing to merge, the array_merge_overrule function
must not be called at all.

Change-Id: Ice369449da22ff62c09efa919272195bd141e836
Resolves: #63827
Relates: #63701
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35388
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Fix failing unit test 95/35395/4
Anja Leichsenring [Sat, 13 Dec 2014 18:07:40 +0000 (19:07 +0100)]
[BUGFIX] Fix failing unit test

A unit test causes a fatal error due to newly introduced dependency
to SignalSlotDispatcher. The fix extends the mocking to prevent
the FATAL error.

Change-Id: I02c6cf2cda07bd965a3cbbd1512d7e80fac8f908
Resolves: #63882
Relates: #62960
Releases: master
Reviewed-on: http://review.typo3.org/35395
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[BUGFIX] Add autocomplete for t3editor FILES 53/25053/3
Stefan Froemken [Tue, 29 Oct 2013 15:50:18 +0000 (16:50 +0100)]
[BUGFIX] Add autocomplete for t3editor FILES

Add autocomplete values for t3editor
because there was no implementation for new cObj FILES

Resolves: #53129
Releases: master, 6.2
Change-Id: Id4c5d7e51850546cb07ae289c96107834b8e7921
Reviewed-on: http://review.typo3.org/25053
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years agoRevert "[TASK] Remove usage of property $new_unique_uid" 93/35393/2
Christian Kuhn [Sat, 13 Dec 2014 17:42:45 +0000 (18:42 +0100)]
Revert "[TASK] Remove usage of property $new_unique_uid"

This reverts commit cf2eb86c799b652d64ea6858dd2715444e232c0b.

The removed code is not dead and should not be removed
without detailed investigation.

Change-Id: I4291a6ff4b06b74fb9fb5e757fc738f8bd413ca5
Reviewed-on: http://review.typo3.org/35393
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FEATURE] Add signal for mailer initialization 76/34176/8
Mathias Brodala [Fri, 14 Nov 2014 16:11:52 +0000 (17:11 +0100)]
[FEATURE] Add signal for mailer initialization

This signal allows for additional processing upon initialization
of a mailer object, e.g. registering a Swift mailer plugin.

Resolves: #62960
Releases: master
Change-Id: I048de8ef422911d5863ab2a05312dc7f8c7d195f
Reviewed-on: http://review.typo3.org/34176
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[FEATURE] Implement endInsertObject signal after object is registered 95/34395/9
Jacob Rasmussen [Thu, 20 Nov 2014 14:26:24 +0000 (15:26 +0100)]
[FEATURE] Implement endInsertObject signal after object is registered

By implementing a new signal when a newly persisted object is
registered in the persistence session, it is possible to manipulate
and persist the object using the repository update method.

Change-Id: Icd4da1b55ce0ea3546ec8aa46240da54afefa960
Resolves: #63100
Releases: master
Reviewed-on: http://review.typo3.org/34395
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Extbase: Traverse validation results until first error 20/35220/3
Sebastian Michaelsen [Wed, 10 Dec 2014 09:24:59 +0000 (10:24 +0100)]
[TASK] Extbase: Traverse validation results until first error

When deciding whether to call the action method or error method it's
sufficient to traverse results until the first error.
To improve performance break the foreach on first
found (not ignored) error.

Resolves: #63726
Releases: master, 6.2
Change-Id: I988cb5c8ac20518c359db75bb46fe6702c549cf6
Reviewed-on: http://review.typo3.org/35220
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
4 years ago[BUGFIX] Ensure argument is an array in ContentObjectRenderer 81/35181/2
Stefan Froemken [Tue, 9 Dec 2014 09:55:31 +0000 (10:55 +0100)]
[BUGFIX] Ensure argument is an array in ContentObjectRenderer

This patch ensures that at least an empty array is passed to the
array_replace_recursive function to avoid warnings during rendering.

Resolves: #63701
Releases: master, 6.2
Change-Id: I047f45bd5199216aec6f37a0c9b0526c455cad92
Reviewed-on: http://review.typo3.org/35181
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Remove usage of property $new_unique_uid 18/21818/3
Georg Ringer [Tue, 2 Jul 2013 17:52:10 +0000 (19:52 +0200)]
[TASK] Remove usage of property $new_unique_uid

The property $this->new_unique_uid in PageLayoutController
is never used. Some very strange and dead code can be
just removed.

Resolves: #49608
Releases: master
Change-Id: If4857d412baf21942d5c5a650922dfc8668689ee
Reviewed-on: http://review.typo3.org/21818
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[CLEANUP] Clarify configuration preset description 90/35090/3
Helmut Hummel [Fri, 5 Dec 2014 23:51:44 +0000 (00:51 +0100)]
[CLEANUP] Clarify configuration preset description

The description of the configuration preset in
install tool is a bit misleading which causes people
to confuse this with the Application Context feature.

Remove the mentioning of application context from context preset
and move it to the top.

Releases: 6.2, master
Resolves: #63622
Change-Id: I8acc9032333f0ead6a35c2c7202a07d2668e7c51
Reviewed-on: http://review.typo3.org/35090
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[CLEANUP] Use comments not PHPDoc style comments in copyright block 03/35103/5
Roland Waldner [Sat, 6 Dec 2014 12:32:43 +0000 (13:32 +0100)]
[CLEANUP] Use comments not PHPDoc style comments in copyright block

This regular expression was used to replace PHPDoc style comments
with ordinary comments:

Search:
/\*\*(\n \* This file is part of the TYPO3 CMS project.)

Replace with:
/*$1

Resolves: #63328
Releases: master
Change-Id: Ic8f11dbfefee94a19657c8fe8426c81d1cb435d8
Reviewed-on: http://review.typo3.org/35103
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] IndexedSearch: Fix various issues in extbase plugin 23/30023/5
Robert Vock [Mon, 12 May 2014 11:52:37 +0000 (13:52 +0200)]
[BUGFIX] IndexedSearch: Fix various issues in extbase plugin

Fix these bug in the experimental extbase plugin of IndexedSearch:
 * TypoScript does not appear in include_static_file
 * Fatal error because views use variable named differently in
   Controller
 * Pagination does not work because the form is not present on
   resultpage which breaks JavaScript

Change-Id: I55962d07c543a10358298d7e9c8096c18bc0a615
Resolves: #58003
Releases: master
Reviewed-on: http://review.typo3.org/30023
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Cedric Ziel <cedric@cedric-ziel.com>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Sebastian Schawohl <s.schawohl@magnetic.coop>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Restore test files for impexp functional tests 76/35376/2
Anja Leichsenring [Sat, 13 Dec 2014 10:22:45 +0000 (11:22 +0100)]
[BUGFIX] Restore test files for impexp functional tests

With #63544 some test files were changed, what caused the
functional tests of impexp to fail. This images are reset.

Change-Id: I18cb2867f89dbbafae317f9d0a06f914eb3f700b
Releases: master
Resolves: #63823
Relates: #63544
Reviewed-on: http://review.typo3.org/35376
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.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>
4 years ago[BUGFIX] noTrimWrap = | || won't work inside a menu 55/7255/8
Jochen Rau [Tue, 27 Nov 2012 01:07:01 +0000 (02:07 +0100)]
[BUGFIX] noTrimWrap = | || won't work inside a menu

The issue is caused by the implementation of optionSplit. This patch
solves this issue by checking for noTrimWrap.

Change-Id: I1d2a6705b679c2d11433902ca992bc907e520228
Fixes: #20793
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/7255
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[CLEANUP] Shrink images 78/34978/2
Andreas Fernandez [Wed, 3 Dec 2014 14:00:21 +0000 (15:00 +0100)]
[CLEANUP] Shrink images

Image files (jpeg and png) shipped in the core are optimized.
Images within ./contrib are ignored.

Resolves: #63544
Releases: master
Change-Id: Id42fdf8f6d44880b4008eecb2a85015655837836
Reviewed-on: http://review.typo3.org/34978
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Replace BrowseLinks.js with jQuery/RequireJS Module 73/35173/5
Benjamin Mack [Mon, 8 Dec 2014 22:56:06 +0000 (23:56 +0100)]
[TASK] Replace BrowseLinks.js with jQuery/RequireJS Module

In the main approach to drop prototype/scriptaculous
usage, the BrowseLinks functionality
is rewritten to be used as a RequireJS module.

As BrowseLinks is still a lot of really old code
this needs to be refactored more at a later stage.

To test: FAL / IRRE usage, wizard
functionality, RTE functionality.

Resolves: #63690
Releases: master
Change-Id: I58514fa83a627fe34d13dd77ece0c44f495ee45d
Reviewed-on: http://review.typo3.org/35173
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[CLEANUP] Remove old .xml and .php locallang references 49/33949/5
Benjamin Mack [Mon, 10 Nov 2014 14:22:38 +0000 (15:22 +0100)]
[CLEANUP] Remove old .xml and .php locallang references

There are still places in the CMS Core that reference locallang.php
and locallang.xml although the default is the XLIFF file format.

The old data from CSS Styled Content 6.1 and below are not respected
as they will be removed in a later patch anyway.

Resolves: #62828
Releases: master
Change-Id: Iff48c614627ad99a3c5c76e38dc595ac6d80063e
Reviewed-on: http://review.typo3.org/33949
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: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[!!!][TASK] Remove static file edit magic 69/35369/5
Christian Kuhn [Fri, 12 Dec 2014 18:59:07 +0000 (19:59 +0100)]
[!!!][TASK] Remove static file edit magic

Configuring RTE fields TCA in defaultExtras section with static_write
enabled the DataHandler to write content to specific sections of files
in a specific directory.

This feature is documented and existed for a long time, but is not used
in the wild. Searching for keywords just revealed a very outdated
demo page, the according core source and documentation. No extension
or real live use case was found and even a call for feedback on this
by Benni half a year ago got no answers.

The patch removes this feature without substitution and improves
DataHandler performance as a nice side effect.

Resolves: #63818
Resolves: #63668
Releases: master
Change-Id: I5532ba1565370baeb03ce074c8ab8036a0936d5b
Reviewed-on: http://review.typo3.org/35369
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Remove conf.php from ext:setup 62/35062/5
Wouter Wolters [Thu, 4 Dec 2014 22:52:55 +0000 (23:52 +0100)]
[TASK] Remove conf.php from ext:setup

Resolves: #63585
Releases: master
Change-Id: Id2f94cc304841a9fbe2e9422ca6519b4a7d9afab
Reviewed-on: http://review.typo3.org/35062
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>
4 years ago[TASK] Turn todos into @todo to find them easier, Part 2 30/35130/5
Stefan Neufeind [Mon, 8 Dec 2014 23:11:22 +0000 (00:11 +0100)]
[TASK] Turn todos into @todo to find them easier, Part 2

Change-Id: Iedee934b91eb22f9263de60e0f26c34af61222ec
Resolves: #63619
Releases: master
Reviewed-on: http://review.typo3.org/35130
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Always disable jumpurl for external media 42/35342/2
Markus Klein [Fri, 12 Dec 2014 10:12:46 +0000 (11:12 +0100)]
[BUGFIX] Always disable jumpurl for external media

We always disable the global jumpurl feature when retrieving the URL for
an external media element like a video.

Resolves: #63807
Releases: master, 6.2
Change-Id: I3c108f4366869e39423bf1121ee7dfa125148a2a
Reviewed-on: http://review.typo3.org/35342
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>
4 years ago[BUGFIX] Fix gifbuilder imagesize calculation when condition is used 30/13530/5
Kjeld Schumacher [Wed, 8 Aug 2012 18:53:19 +0000 (20:53 +0200)]
[BUGFIX] Fix gifbuilder imagesize calculation when condition is used

Change-Id: Ia3adede080a9d405dad17b670a7033bc6715a847
Fixes: #39625
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/13530
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
4 years ago[BUGFIX] Make filter respect hidden directories 90/31890/10
Andreas Lappe [Mon, 28 Jul 2014 22:06:48 +0000 (00:06 +0200)]
[BUGFIX] Make filter respect hidden directories

Make the filename filter respect files in hidden directories,
so that files inside those are not indexed by default.

Resolves: #60649
Releases: master, 6.2
Change-Id: Ia0306cb8996964c4998d9d69b526c3d6a8da2ace
Reviewed-on: http://review.typo3.org/31890
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[FEATURE] Show pid field in sys_action task 80/20980/5
Philipp Kitzberger [Wed, 22 May 2013 16:46:13 +0000 (18:46 +0200)]
[FEATURE] Show pid field in sys_action task

All explicitly defined fields of a sql task are now being rendered.

Resolves: #44287
Releases: master
Change-Id: Ie1e57e55ec440aecbe5a526cefc489adef606fec
Reviewed-on: http://review.typo3.org/20980
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>
4 years ago[BUGFIX] Click-enlarge problem when an image is inside ul li OR ol li 13/33613/5
Stanislas Rolland [Thu, 30 Oct 2014 02:04:52 +0000 (22:04 -0400)]
[BUGFIX] Click-enlarge problem when an image is inside ul li OR ol li

lib.parseFunc_RTE is not correctly configured by css_styled_content.
ul and ol elements must be recursively parsed through lib.parseFunc_RTE
(not lib.parseFunc). li element must be included in
nonTypoTagStdWrap.encapsLines.encapsTagList so that unwrapped content
of li elements is not wrapped in paragraphs.

Releases: master, 6.2
Resolves: #61954
Change-Id: I916b385d32a11909f7c0b9b9458d86237da1be1b
Reviewed-on: http://review.typo3.org/33613
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Followup: Remove conf.php from ext:tstemplate 41/35141/4
Stefan Neufeind [Sun, 7 Dec 2014 22:45:02 +0000 (23:45 +0100)]
[TASK] Followup: Remove conf.php from ext:tstemplate

Get rid of the $moduleName again, use $MCONF['name'] for now.

Change-Id: I1ccabc2dddd5814902138f0889c294e662d052a5
Resolves: #63583
Releases: master
Reviewed-on: http://review.typo3.org/35141
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Removed undefined variable in createExceptionHandler 48/35348/2
Markus Klein [Fri, 12 Dec 2014 11:30:34 +0000 (12:30 +0100)]
[BUGFIX] Removed undefined variable in createExceptionHandler

Remove the undefined $exception variable in
ContentObjectRenderer::createExceptionHandler

Resolves: #63811
Releases: master
Change-Id: I1517f74f381534fdc264f39c8e4d425c3711e635
Reviewed-on: http://review.typo3.org/35348
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[!!!][TASK] Remove words and words_strings from ReferenceIndex 10/35310/6
Stephan Großberndt [Thu, 11 Dec 2014 15:13:14 +0000 (16:13 +0100)]
[!!!][TASK] Remove words and words_strings from ReferenceIndex

In ReferenceIndex->generateRefIndexData the strings from all input and
text fields were collected in $this->word_strings. But the array was
never accessed. Remove ReferenceIndex->words (unused) and
ReferenceIndex->word_strings and the collection of word_strings. This
greatly reduces memory usage when bulk inserting or editing records as
well as updating the reference index.

Resolves: #63780
Releases: master, 6.2
Change-Id: I56d6a3e615cab44cbecff5a7d4dec42a1da29fc6
Reviewed-on: http://review.typo3.org/35310
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Use alerts for new indexed_search BE module 37/35337/2
Georg Ringer [Fri, 12 Dec 2014 08:02:33 +0000 (09:02 +0100)]
[BUGFIX] Use alerts for new indexed_search BE module

The flash messages needs to be changed to the new classes
which are alerts.

Change-Id: I1520477d10f80191dcf74777522f06757ed6f011
Resolves: #63795
Releases: master
Reviewed-on: http://review.typo3.org/35337
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[TASK] RTE: Migrate editor textarea container to plain JavaScript 33/35333/2
Stanislas Rolland [Fri, 12 Dec 2014 04:44:15 +0000 (23:44 -0500)]
[TASK] RTE: Migrate editor textarea container to plain JavaScript

Releases: master
Resolves: #63793
Change-Id: I936ac320e375ac7e1a5827221ee528f463785d08
Reviewed-on: http://review.typo3.org/35333
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[TASK] RTE: Migrate editor iframe to plain JavaScript 32/35332/3
Stanislas Rolland [Fri, 12 Dec 2014 00:38:34 +0000 (19:38 -0500)]
[TASK] RTE: Migrate editor iframe to plain JavaScript

Releases: master
Resolves: #63786
Change-Id: I3a01400a4790e173ed8e1d5410a708eedb23f63e
Reviewed-on: http://review.typo3.org/35332
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] Do not execute getDateTimeFormats for each input 53/35253/7
Stephan Großberndt [Wed, 10 Dec 2014 16:58:29 +0000 (17:58 +0100)]
[BUGFIX] Do not execute getDateTimeFormats for each input

Fetches the dateTimeFormats only for date- and datetime-fields instead
of unconditionally for each input.

Resolves: #63745
Releases: master, 6.2
Change-Id: I18fcdb8a991ebb82891d9da06a4ef2b01fbc104f
Reviewed-on: http://review.typo3.org/35253
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Do not fetch TSconfig in process_datamap for non-page-records 04/35304/3
Stephan Großberndt [Thu, 11 Dec 2014 14:32:07 +0000 (15:32 +0100)]
[BUGFIX] Do not fetch TSconfig in process_datamap for non-page-records

In DataHandler->process_datamap for each record getTCEMAIN_TSconfig()
is executed, but the returned TSconfig is used only if table is "pages"
and status is "new".

Fetches the TSconfig only if table is "pages" and status is "new".

Resolves: #63778
Releases: master, 6.2
Change-Id: Ifded6daf2b5b6b61a9c95ba3962566450a07d72e
Reviewed-on: http://review.typo3.org/35304
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Lukas Krieger <lukas.krieger@me.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Allow recursive folder deletion 60/35060/9
Helmut Hummel [Thu, 4 Dec 2014 22:44:40 +0000 (23:44 +0100)]
[BUGFIX] Allow recursive folder deletion

Remove the useless check for the number of existing
files in the ExtendedFileUtility.
We now let FAL try to delete recursively by default.
It will tell us, if the permissions do not suffice
for the current user.

Resolves: #63580
Releases: master, 6.2
Change-Id: Iec7ab95d493ce3594a4131b45e5bcb77de9e21b6
Reviewed-on: http://review.typo3.org/35060
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[BUGFIX] RTE: Broken context menu 16/35316/2
Stanislas Rolland [Thu, 11 Dec 2014 18:16:11 +0000 (13:16 -0500)]
[BUGFIX] RTE: Broken context menu

RTE is not using the ExtJS registry anymore.

Releases: master
Resolves: #63785
Change-Id: I9d701062834d20c858c1043743f55e813f16dc37
Reviewed-on: http://review.typo3.org/35316
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[CLEANUP] Clean up configuration handling in module loader 08/35208/5
Helmut Hummel [Tue, 9 Dec 2014 21:45:21 +0000 (22:45 +0100)]
[CLEANUP] Clean up configuration handling in module loader

* Merge label configuration like module configuration
* Correct the merging to be replace instead of merge
* Remove possible notices by checking with empty()

Releases: master
Resolves: #63717
Change-Id: I325e2f35cfe643a54e7f77a76cd8ce2901b950b6
Reviewed-on: http://review.typo3.org/35208
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years agoRevert "[BUGFIX] Fix broken form wizard with MSIE" 11/35311/2
Markus Klein [Thu, 11 Dec 2014 16:16:11 +0000 (17:16 +0100)]
Revert "[BUGFIX] Fix broken form wizard with MSIE"

This reverts commit f74d3d0e439520cd1a69f06abeef34830c5fd27f.

The D&D functionality for fieldsets is broken.

Change-Id: I68306d71c8efcd055482a1da6f95005dfea6cb0e
Reverts: #59305
Resolves: #63767
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35311
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[!!!][TASK] Rewrite backend modules of indexed_search 08/32708/27
Georg Ringer [Wed, 10 Sep 2014 14:07:10 +0000 (16:07 +0200)]
[!!!][TASK] Rewrite backend modules of indexed_search

 * Move info modules and admin module to a central place
 * Use extbase & fluid
 * Add translations

The old modules are removed with a different commit to make it possible
to compare the output of old and new!

Releases: master
Resolves: #61511
Change-Id: Id750b0ad78e8ab115b917d4772281d3aceca6eee
Reviewed-on: http://review.typo3.org/32708
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
4 years ago[TASK] RTE: Migrate status bar to plain JavaScript 82/35282/3
Stanislas Rolland [Thu, 11 Dec 2014 05:57:30 +0000 (00:57 -0500)]
[TASK] RTE: Migrate status bar to plain JavaScript

The status bar is plain JavaScript but still uses Ext.QuickTips markup.

Releases: master
Resolves: #63760
Change-Id: I1aafc0d0b87db198132c26a214950470368cb69f
Reviewed-on: http://review.typo3.org/35282
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[TASK] RTE: Add to skin css and image required by jQuery UI Resizable 80/35280/3
Stanislas Rolland [Thu, 11 Dec 2014 03:03:47 +0000 (22:03 -0500)]
[TASK] RTE: Add to skin css and image required by jQuery UI Resizable

Releases: master
Resolves: #63758
Change-Id: I880002fcc6c2b9e5f44f67e6ab838486d4e4726a
Reviewed-on: http://review.typo3.org/35280
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[TASK] RTE: Migrate outer editor framework to plain JavaScript 77/35277/3
Stanislas Rolland [Wed, 10 Dec 2014 23:20:10 +0000 (18:20 -0500)]
[TASK] RTE: Migrate outer editor framework to plain JavaScript

Replace the extended Ext.Container with plain JavaScript.
Use jQuery UI Resizable in replacement of Ext.Resizable.

Releases: master
Resolves: #63757
Change-Id: I86625b28228c30cdb7524f49014101a40351d17e
Reviewed-on: http://review.typo3.org/35277
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] Show RTE tool tips in Internet Explorer 39/35239/2
Nicole Cordes [Wed, 10 Dec 2014 13:37:45 +0000 (14:37 +0100)]
[BUGFIX] Show RTE tool tips in Internet Explorer

This patch adds a font size to the tool tip header class to show tool
tips in Internet Explorer 8 and 9 again.

Resolves: #63739
Releases: master, 6.2
Change-Id: Ib82190cbfc11dc9b51f7c0bb447b3ae9ae45a8c9
Reviewed-on: http://review.typo3.org/35239
Reviewed-by: Jo Hasenau <info@cybercraft.de>
Tested-by: Jo Hasenau <info@cybercraft.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[FEATURE] FormEngine: Possibility to add icons via pageTSconfig 67/22067/6
Benjamin Mack [Sat, 6 Jul 2013 20:48:01 +0000 (22:48 +0200)]
[FEATURE] FormEngine: Possibility to add icons via pageTSconfig

If someone adds a new value/label pair for a select field in
TCEforms/FormEngine, it is not possible to also add an icon to
the new option.
Alternatively, existing values can be changed through the new
"altIcons" property that acts like the "altLabels" property.

The patch adds another subelement for TSconfig to also add an
icon, as well as a new property.

TCEFORM.pages.doktype.addItems {
13 = My Label
13.icon = sysext/t3skin/icons/gfx/i/pages.gif
}
TCEFORM.pages.doktype.altIcons {
123 = EXT:myext/icon.gif
}

The icon path must be relative to the typo3/ directory.

Resolves: #35891
Releases: master
Documentation: #49752
Change-Id: Ic835b1fe350144bc3498eab9a19857e3f558088d
Reviewed-on: http://review.typo3.org/22067
Reviewed-by: Alessandro Bellafronte <alessandro@4eyes.ch>
Reviewed-by: Christoph Dörfel <christoph.doerfel@gmail.com>
Reviewed-by: Michel Georgy <michel@4eyes.ch>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[TASK] Add functional test for imports with forced uids 41/30141/6
Marc Bastian Heinrichs [Thu, 15 May 2014 13:05:52 +0000 (15:05 +0200)]
[TASK] Add functional test for imports with forced uids

Adds a functional test to verify imports with forced uids.
The regarding error message for uncompatible forcing sys_file
uids is also shown now after the import is done.

Resolves: #58824
Releases: master, 6.2
Change-Id: If6062866903277ff32eae24354b6fd264fb65600
Reviewed-on: http://review.typo3.org/30141
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Remove conf.php from ext:info 74/35074/4
Wouter Wolters [Fri, 5 Dec 2014 16:25:30 +0000 (17:25 +0100)]
[TASK] Remove conf.php from ext:info

Resolves: #63610
Releases: master
Change-Id: I5eb82346151cb45efd38c870421141f58552308b
Reviewed-on: http://review.typo3.org/35074
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
4 years ago[!!!][SECURITY] Fix link spoofing in prefixLocalAnchors 24/35224/2
Helmut Hummel [Wed, 10 Dec 2014 10:08:02 +0000 (11:08 +0100)]
[!!!][SECURITY] Fix link spoofing in prefixLocalAnchors

Specially crafted request could lead to anchors prefixed
with URLs to domains controlled by the attacker on the
domain root page (home page). No other pages are affected!

Fix this by prefixing the anchors with a canonical URL
to the current request. This could lead to the situation
that the prefix does not match the current REQUEST_URI
which leads to a page reload instead of just "jumping" to the page section.

Additionally this change assures that REQUEST_URI always starts
with a slash, which mitigates similar attack vectors when using
getIndpEnv('REQUEST_URI')

To mitigate the impact of this breaking change, the REQUEST_URI
is used for anchor prefix if a backend user is logged in,
to not disturb the preview functionality of the home page.

In case prefixLocalAnchors is used in the HTML parser configuration
with prefixLocalAnchors = 2, always the canonical URL is used as prefix.

This change does *not* fix, that arbitrary (non functional) GET parameters
will be included in the generated prefix URL. To fix this it is recommended
to use absRefPrefix instead of baseUrl and prefixLocalAnchors.

Resolves: #62723
Releases: 4.5, 6.2, master
Security-Commit: 2c5092fe3f2a4fc9a97a17a3ed9dcc5314bf64e2
Security-Bulletin: TYPO3-CORE-SA-2014-003
Change-Id: Icf989abdbab8720be13b2fda0a6d088f100e3aa7
Reviewed-on: http://review.typo3.org/35224
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
4 years ago[TASK] RTE: Simplify editor framework 12/35212/3
Stanislas Rolland [Wed, 10 Dec 2014 03:05:22 +0000 (22:05 -0500)]
[TASK] RTE: Simplify editor framework

Simplify RTE framework from Ext.panel to Ext.Container.
Reduce dependency on Ext.ComponentMgr.registerType

Releases: master
Resolves: #63723
Change-Id: I466fa37897e3db97350a7116ce1c3c0be17a6941
Reviewed-on: http://review.typo3.org/35212
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue 85/35085/6
Stephan Großberndt [Tue, 9 Dec 2014 11:17:15 +0000 (12:17 +0100)]
[BUGFIX] Memory consumption in DataHandler->processClearCacheQueue

Reduce memory consumption in DataHandler->processClearCacheQueue() for
bulk inserts by filling $tagsToClear as an associative array instead of
a normal array with array_unique()-call after each added record.

Resolves: #63615
Releases: master, 6.2
Change-Id: I1f557f435088cab3aa928ec3f44b0ded9265d7a7
Reviewed-on: http://review.typo3.org/35085
Reviewed-by: Lukas Krieger <lukas.krieger@me.com>
Tested-by: Lukas Krieger <lukas.krieger@me.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] RTE: Quick Tag plugin may raise JS exception in Google Chrome 04/35204/2
Stanislas Rolland [Tue, 9 Dec 2014 20:05:18 +0000 (15:05 -0500)]
[BUGFIX] RTE: Quick Tag plugin may raise JS exception in Google Chrome

A JavaScript exception may be raised in Google Chrome on attempt to
access a style sheet on a different domain.

Releases: master
Resolves: #63716
Change-Id: I16b5eb5630e0d4855023bb3ec7e5344574460cad
Reviewed-on: http://review.typo3.org/35204
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[!!!][TASK] Move EXT:func_wizard to legacy extension 71/35171/2
Benjamin Mack [Mon, 8 Dec 2014 21:03:19 +0000 (22:03 +0100)]
[!!!][TASK] Move EXT:func_wizard to legacy extension

Web=>Functions=>Wizard is not needed
anymore, as both wizard extensions hook
into Web=>Functions directly since TYPO3 CMS 7.

For compatibility reasons the
WizardControllerModuleFunction is kept
(e.g. for templavoila) but moved to EXT:compatibility6.

The whole "func_wizard" Extension is not
needed anymore and is removed.

Resolves: #63687
Releases: master
Change-Id: I58e93652859bbdb816335322a9b964ec14cb84ee
Reviewed-on: http://review.typo3.org/35171
Reviewed-by: Cedric Ziel <cedric@cedric-ziel.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
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>