Packages/TYPO3.CMS.git
3 years ago[TASK] Do no load page after title change if it's not the active one 91/45391/8
Gianluigi Martino [Mon, 21 Dec 2015 14:17:31 +0000 (15:17 +0100)]
[TASK] Do no load page after title change if it's not the active one

Do not load the page in the page tree after renaming, if it isn't the
currently active one.

Change-Id: Idf6b789f07fbd28ef0c5ec1e630e3dca2dc73119
Resolves: #72238
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/45391
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wolfgang Klinger <wolfgang@wazum.com>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] Remove addQueryStringMethod parameter from widget links 32/46332/2
Nicole Cordes [Fri, 29 Jan 2016 09:35:48 +0000 (10:35 +0100)]
[BUGFIX] Remove addQueryStringMethod parameter from widget links

Resolves: #58752
Releases: master, 7.6, 6.2
Change-Id: I1d03d62cf0028089bdd0c5a6e7ef555be36349fb
Reviewed-on: https://review.typo3.org/46332
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Show folder icons in ElementBrowser file tree 12/46212/2
Daniel Maier [Sun, 24 Jan 2016 14:08:58 +0000 (15:08 +0100)]
[BUGFIX] Show folder icons in ElementBrowser file tree

The folder icons are now also shown in the ElementBrowser file tree,
but without context-menu. As the icon link handling provided by the
general FolderTree wrapIcon function does not match in ElementBrowser
mode, an own implementation of this function is introduced in
ElementBrowserFolderTreeView.

Resolves: #69802
Releases: master, 7.6
Change-Id: I4854a69ac5b5459d3e284472ccad5c602a277883
Reviewed-on: https://review.typo3.org/46212
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
3 years ago[BUGFIX] CONTENT cObj: Set 'select.' to array if empty 99/46099/4
Stefan Froemken [Wed, 20 Jan 2016 06:55:38 +0000 (07:55 +0100)]
[BUGFIX] CONTENT cObj: Set 'select.' to array if empty

Ensure that the 'select.' configuration is an array
to avoid PHP errors.

Resolves: #72817
Releases: master, 7.6
Change-Id: I749fec996759883d78a2566c9d6b668ed4c7955e
Reviewed-on: https://review.typo3.org/46099
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[!!!][TASK] EXT:form - outsource labels and legends to own partials 50/45350/8
Ralf Zimmermann [Fri, 22 Jan 2016 10:52:08 +0000 (11:52 +0100)]
[!!!][TASK] EXT:form - outsource labels and legends to own partials

Move labels and legends to their own partials. This step is slightly
(but thankfully) breaking. The patch allows to avoid duplicate/
redundant code and helps the integrator to override the labels/ legends
with just one small override.

Resolves: #72310
Releases: master
Change-Id: I21781728ac8f35075d05c3cd9df23465d2347abf
Reviewed-on: https://review.typo3.org/45350
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Clear cache system icon is shown for non admin in dev context 64/46264/4
Eric Chavaillaz [Wed, 27 Jan 2016 12:54:22 +0000 (13:54 +0100)]
[BUGFIX] Clear cache system icon is shown for non admin in dev context

If the context is in development mode, the clear cache system icon
is always shown in the toolbar, even if the user is not an admin.

Resolves: #72964
Releases: master, 7.6, 6.2
Change-Id: I674df49fee14ded4b2190cca098ddf146047e5f0
Reviewed-on: https://review.typo3.org/46264
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Possible division by zero in PaginateController 35/46235/3
Xavier Perseguers [Tue, 26 Jan 2016 08:48:15 +0000 (09:48 +0100)]
[BUGFIX] Possible division by zero in PaginateController

Change-Id: Iefec45baa5492b516bc041a08cdd322687fff297
Releases: master, 7.6
Resolves: #72940
Reviewed-on: https://review.typo3.org/46235
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Eric Chavaillaz <eric@hemmer.ch>
Tested-by: Eric Chavaillaz <eric@hemmer.ch>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
3 years ago[BUGFIX] Remove obsolete CSH labels 94/46294/2
Benni Mack [Thu, 28 Jan 2016 18:27:06 +0000 (19:27 +0100)]
[BUGFIX] Remove obsolete CSH labels

The new labels that were replaced for 4.5 can now be migrated
to the location of the "old" CSH language files.

The hooks can be removed therefore.

Resolves: #72997
Releases: master, 7.6
Change-Id: Ief763b1e362ff616f8e4a87f2643882d9bd9b96a
Reviewed-on: https://review.typo3.org/46294
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
3 years ago[BUGFIX] Method is not compatible with its parent's counterpart 28/46228/3
Xavier Perseguers [Mon, 25 Jan 2016 14:17:00 +0000 (15:17 +0100)]
[BUGFIX] Method is not compatible with its parent's counterpart

Change-Id: I03903572eb718d3b6e5054fbe6bca62dfe0f50ac
Releases: master, 7.6
Resolves: #72932
Reviewed-on: https://review.typo3.org/46228
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Eric Chavaillaz <eric@hemmer.ch>
Tested-by: Eric Chavaillaz <eric@hemmer.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[FOLLOWUP][BUGFIX] Allow empty values for js language labels 10/46310/2
Frank Naegler [Thu, 28 Jan 2016 23:12:56 +0000 (00:12 +0100)]
[FOLLOWUP][BUGFIX] Allow empty values for js language labels

This patch is a followup patch to fix broken labels in
BackendLayoutWizard.

Resolves: #72806
Releases: master, 7.6
Change-Id: I10be021ad578c21821f088323be5cf05aa74928b
Reviewed-on: https://review.typo3.org/46310
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Refactor the initialize process of IconRegistry 26/46226/6
Frank Naegler [Mon, 25 Jan 2016 12:45:17 +0000 (13:45 +0100)]
[BUGFIX] Refactor the initialize process of IconRegistry

Fix a problem in case of IconFactory not being fully initialized.

Resolves: #72926
Releases: master, 7.6
Change-Id: Iaeb511e4a2c681a135b2ec993a4b2f91e5bd53e8
Reviewed-on: https://review.typo3.org/46226
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Andreas Allacher <andreas.allacher@gmx.at>
Tested-by: Andreas Allacher <andreas.allacher@gmx.at>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years agoRevert "[TASK] Introduce DeprecationUtility and move methods" 50/46250/5
Frank Naegler [Tue, 26 Jan 2016 21:01:35 +0000 (22:01 +0100)]
Revert "[TASK] Introduce DeprecationUtility and move methods"

The patch contains one problem with logDeprecatedFunction call.
Also we decided to not move this methods because it will be incredible
hard or at least annoying for ext devs to deprecate own functionality
with this API change.

This reverts commit a155401a6fab5b90ca3f8a41a4edb4b5ea4ad5e6.

Change-Id: I2ce0e967a070b5c41d09870399fabe8e8d341fe9
Releases: master
Resolves: #72952
Reverts: #67269
Reviewed-on: https://review.typo3.org/46250
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
3 years ago[BUGFIX] remove unnecessary htmlspecialchars 45/46245/2
Marco Huber [Tue, 26 Jan 2016 12:52:28 +0000 (13:52 +0100)]
[BUGFIX] remove unnecessary htmlspecialchars

The message is sent through htmlspecialchars in
TYPO3\CMS\Core\Messaging\FlashMessageQueue::renderFlashMessages(),
so we don't need it here.

Fixes: #72948
Releases: master,7.6
Change-Id: I90854bcf1d38ef9c2eaa4898b448ca8c9458f14e
Reviewed-on: https://review.typo3.org/46245
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[BUGFIX] Render file icon in File list -> Search 74/46274/2
Frans Saris [Thu, 28 Jan 2016 10:46:32 +0000 (11:46 +0100)]
[BUGFIX] Render file icon in File list -> Search

Resolves: #72985
Releases: master, 7.6
Change-Id: I23fa216638bd204e73611729b0181e204428db04
Reviewed-on: https://review.typo3.org/46274
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Remove suggestion extensions from indexed_search 93/46293/3
Wouter Wolters [Thu, 28 Jan 2016 17:57:04 +0000 (18:57 +0100)]
[BUGFIX] Remove suggestion extensions from indexed_search

Extbase and fluid are installed by default since a while now.

Resolves: #72996
Releases: master, 7.6
Change-Id: If1927f260aa18d06b7140373cd94dbdb8eae685b
Reviewed-on: https://review.typo3.org/46293
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Remove suggestions info from PackageStates.php 92/46292/3
Benni Mack [Thu, 28 Jan 2016 17:48:12 +0000 (18:48 +0100)]
[TASK] Remove suggestions info from PackageStates.php

Suggestions just like dependencies are only needed
when re-ordering the PackageStates.php file, and thus don't
need to be loaded on each request.

Resolves: #72995
Releases: master
Change-Id: I9c81b3e249edbd1269a8b714b598b83ec3958546
Reviewed-on: https://review.typo3.org/46292
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Use TYPO3-compliant Array syntax for PackageStates.php 91/46291/5
Benni Mack [Thu, 28 Jan 2016 17:26:23 +0000 (18:26 +0100)]
[BUGFIX] Use TYPO3-compliant Array syntax for PackageStates.php

Resolves: #72993
Releases: master, 7.6
Change-Id: Icd03506191aac85c6edcf618bc4c7c5de377a877
Reviewed-on: https://review.typo3.org/46291
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Move all typo3temp files below typo3temp/var or assets 96/46096/14
Helmut Hummel [Tue, 19 Jan 2016 22:34:41 +0000 (23:34 +0100)]
[BUGFIX] Move all typo3temp files below typo3temp/var or assets

The introduction of typo3temp/var and typo3temp/assets missed
essential changes.

* Files generated by tests
* Install Tool cleared wrong directory
* Some paths were only changed partially
* Some paths were changed to the public dir, but should in fact be private
* Some paths have been completely forgotten to be changed

Besides that, the introduction of new subfolder in typo3temp, we need
to allow arbitrary number of subfolders and remove the limitation of two
in GeneralUtility::writeFileToTypo3tempDir

Resolves: #72822
Related: #72479
Releases: master
Change-Id: Iedcfeb15376b041531e6f414e84e6445ad12c222
Reviewed-on: https://review.typo3.org/46096
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Allow empty values for js language labels 41/46241/2
Thomas Schlumberger [Tue, 26 Jan 2016 11:52:07 +0000 (12:52 +0100)]
[BUGFIX] Allow empty values for js language labels

When a user has a translated backend where not all
labels are translated, Lang.js throws an js exception
for accessing empty values.

The check for empty values therefor must be hardened.

Resolves: #72806
Releases: master, 7.6
Change-Id: I2801076945f6a291fb3b05c0438f18c0d737e8de
Reviewed-on: https://review.typo3.org/46241
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Switch mirror links to https 38/46238/2
Nicole Cordes [Tue, 26 Jan 2016 10:13:30 +0000 (11:13 +0100)]
[TASK] Switch mirror links to https

As the typo3.org (and other mirror) structure switched to ssl protocol
by default, we have to adjust the url generation.

Resolves: #72943
Releases: master, 7.6, 6.2
Change-Id: I2fc79f300584fdb1392c9c1fe920f029703dce25
Reviewed-on: https://review.typo3.org/46238
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] PHP Warning DBAL 13/46213/2
Frank Naegler [Sun, 24 Jan 2016 21:54:57 +0000 (22:54 +0100)]
[BUGFIX] PHP Warning DBAL

This patch fix the declaration of
TYPO3\CMS\Dbal\RecordList\DatabaseRecordList::makeSearchString
to be compatible with the parent method:
TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList::makeSearchString

Resolves: #72912
Releases: master
Change-Id: I313a35d9b2cc365b2d6012996551fb2ecb1ebbb0
Reviewed-on: https://review.typo3.org/46213
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[FOLLOWUP][TASK] Merge EXT:aboutmodules in EXT:about 17/46217/4
Andreas Fernandez [Mon, 25 Jan 2016 09:05:09 +0000 (10:05 +0100)]
[FOLLOWUP][TASK] Merge EXT:aboutmodules in EXT:about

The original patch changed the composer.json file without updating the
lock file. The command ``composer update nothing`` updates the lock file
without updating any package.

Change-Id: I4cca44a521d9347aeb023344a5733aa9f5f05237
Resolves: #72671
Releases: master
Reviewed-on: https://review.typo3.org/46217
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Prevent PHP error in DatabaseTreeDataProvider 17/46117/2
Wouter Wolters [Wed, 20 Jan 2016 20:12:09 +0000 (21:12 +0100)]
[BUGFIX] Prevent PHP error in DatabaseTreeDataProvider

Check if $records is not empty before using in the foreach loop.

Resolves: #72850
Releases: master,7.6
Change-Id: I015087777117a2a355532ecf8204c0e08338e77c
Reviewed-on: https://review.typo3.org/46117
Reviewed-by: Richard Haeser <richardhaeser@gmail.com>
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>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Unify references for backend modules icons 00/46100/5
Benni Mack [Wed, 20 Jan 2016 08:15:59 +0000 (09:15 +0100)]
[TASK] Unify references for backend modules icons

Somehow on earth, regular (non-extbase) modules
register their module icons via [labels][tabs_images][tab]
when using addModule(). The icon is not related to the
labels at all, and can be simplified.

All icons registered are available via the module
configuration option "icon" and old formats are migrated
automatically (with a deprecation warning), and always
stored in an absolute format.

Using "icon" now in the available places makes it easier
and is unified in ModuleLoader, FormEngine, EXT:about and the
Module Menu.

Resolves: #72827
Releases: master
Change-Id: Ie5770539bcb94921a9319a1d8d53d981c49fbcd8
Reviewed-on: https://review.typo3.org/46100
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[FEATURE] Keep tags when stripping empty tags in HtmlParser 07/45107/5
Alexander Stehlik [Sun, 20 Dec 2015 08:31:27 +0000 (09:31 +0100)]
[FEATURE] Keep tags when stripping empty tags in HtmlParser

A new option for the HTMLparser.stripEmptyTags configuration
is added:

HTMLparser.stripEmptyTags.keepTags = tr,td

This will make the HTMLparser remove all empty tags except the
configured ones. If this setting is used the .tags configuration
will have no effect any more.

Resolves: #72045
Releases: master
Change-Id: I7137db597e442460aa7add9d99bdf73db0d5cbd5
Reviewed-on: https://review.typo3.org/45107
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] ImpExp: Streamline checks for data 77/46077/4
Markus Klein [Tue, 19 Jan 2016 13:32:24 +0000 (14:32 +0100)]
[TASK] ImpExp: Streamline checks for data

Remove checks where not necessary, add them where necessary.

Resolves: #72816
Releases: master, 7.6
Change-Id: I6aa9a90782a26d2665a38e78187052882a26ca90
Reviewed-on: https://review.typo3.org/46077
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Introduce DeprecationUtility and move methods 59/46159/3
Frank Nägler [Fri, 22 Jan 2016 16:00:55 +0000 (17:00 +0100)]
[TASK] Introduce DeprecationUtility and move methods

Resolves: #67269
Releases: master
Change-Id: I7e3279e0718d0f631f53c89e5a500e880bfb6ef9
Reviewed-on: https://review.typo3.org/46159
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Fluidification of RecordHistory 43/44843/12
Jan Helke [Fri, 20 Nov 2015 21:08:18 +0000 (22:08 +0100)]
[TASK] Fluidification of RecordHistory

Resolves: #71744
Releases: master
Change-Id: Iacbce4bf0557f1ac0cfbe75a57bdcfaf772d391a
Reviewed-on: https://review.typo3.org/44843
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] EXT:form - Bring back missing default CSS styles 49/46149/3
Ralf Zimmermann [Fri, 22 Jan 2016 10:06:21 +0000 (11:06 +0100)]
[BUGFIX] EXT:form - Bring back missing default CSS styles

Re-add the default CSS styles for EXT:form.
The default CSS styles have been removed by accident during the rewrite.

Resolves: #72863
Releases: master, 7.6
Change-Id: Id03771f37674f3cb5e678a9a2d5585880501cd35
Reviewed-on: https://review.typo3.org/46149
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][TASK] RteHtmlParser: Drop ts_reglinks transformation 53/46153/4
Benni Mack [Fri, 22 Jan 2016 12:35:35 +0000 (13:35 +0100)]
[!!!][TASK] RteHtmlParser: Drop ts_reglinks transformation

Converted <a> tag href attributes to absolute URLs when coming
from the DB towards the RTE and vice versa.

Transformation was never used, and can be removed.

Resolves: #72897
Releases: master
Change-Id: I2275a67d7ac78a3049f0e35c32ef51eed4e15e34
Reviewed-on: https://review.typo3.org/46153
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[!!!][TASK] Remove RTE "modes" option in TCA 22/46122/9
Benni Mack [Wed, 20 Jan 2016 22:03:46 +0000 (23:03 +0100)]
[!!!][TASK] Remove RTE "modes" option in TCA

It's ts_css anyways all the time through the overruleMode
option, which should be used anyway for the time being (as this option
still exists).

Resolves: #72856
Releases: master
Change-Id: If96f1c0faddf9b258fa3a60f4904cd48eb3ca854
Reviewed-on: https://review.typo3.org/46122
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][TASK] Merge EXT:aboutmodules in EXT:about 60/45860/6
Benni Mack [Wed, 13 Jan 2016 08:14:22 +0000 (09:14 +0100)]
[!!!][TASK] Merge EXT:aboutmodules in EXT:about

Resolves: #72671
Releases: master
Change-Id: I57b4b6b74e8d4b6839755f064b46084b8ae114be
Reviewed-on: https://review.typo3.org/45860
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Cosmetic cleanup in RteHtmlParser 52/46152/4
Benni Mack [Fri, 22 Jan 2016 12:31:10 +0000 (13:31 +0100)]
[TASK] Cosmetic cleanup in RteHtmlParser

Resolves: #72891
Releases: master
Change-Id: Ibdce616a78a770f874c9a1dc5831c53c1e03f44b
Reviewed-on: https://review.typo3.org/46152
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] SimpleFileBackend::setCacheDirectory returns valid path name 48/46148/6
Jan Helke [Fri, 22 Jan 2016 09:58:24 +0000 (10:58 +0100)]
[BUGFIX] SimpleFileBackend::setCacheDirectory returns valid path name

The comment for the method
\TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend::setCacheDirectory()
states clearly, that it is possible to provide an absolute path as
cache directory. However, in the lower part of the function, it is
stated, that if ($cacheDirectory0 == '/') the documentRoot should be
set to '/'. That results in a returned path like '//...'.
This causes problems within
\TYPO3\CMS\Core\Utility\GeneralUtility::validPathStr(), because pathes
with '//' in it are always invalid.

Resolves: #72635
Releases: master, 7.6, 6.2
Change-Id: I30e7743ba9835c99382b7c04153f91e688ead5fc
Reviewed-on: https://review.typo3.org/46148
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Adjust copyright year in README.md 55/46155/2
Wouter Wolters [Fri, 22 Jan 2016 13:41:33 +0000 (14:41 +0100)]
[TASK] Adjust copyright year in README.md

Resolves: #72893
Releases: master,7.6
Change-Id: I19a61cba6478a1e8012c559f7b857b02d769f7c7
Reviewed-on: https://review.typo3.org/46155
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[!!!][TASK] RTE transformations: Remove hsc options 45/46145/3
Benni Mack [Fri, 22 Jan 2016 07:31:14 +0000 (08:31 +0100)]
[!!!][TASK] RTE transformations: Remove hsc options

The option to re-convert htmlspecialchars() between transformations
RTE and DB is always on, in order to clean HTML is always turned
on, meaning that the HTMLcleaner() method will not do htmlspecialchars() at all by default.

As these additional options is now obsolete with the current rtehtmlarea
extension (thus, always "enabled"), the options are removed.

Resolves: #72889
Releases: master
Change-Id: I6092054c65a031615546ceff9ee70a94f3033ec7
Reviewed-on: https://review.typo3.org/46145
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[!!!][TASK] RTE Transformations: Remove manual tag mapping functionality 44/46144/4
Benni Mack [Fri, 22 Jan 2016 07:23:10 +0000 (08:23 +0100)]
[!!!][TASK] RTE Transformations: Remove manual tag mapping functionality

More methods were removed that were only used for the old "ts"
transformations and have been tackled differently since the
introduction of "ts_css" transformations.

Resolves: #72888
Releases: master
Change-Id: I5315e57e1654af66f48fe5df807b9b57ca0382d9
Reviewed-on: https://review.typo3.org/46144
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[FOLLOWUP][TASK] Deprecate some functions not in use anymore in the core 47/46147/2
Frank Nägler [Fri, 22 Jan 2016 09:08:30 +0000 (10:08 +0100)]
[FOLLOWUP][TASK] Deprecate some functions not in use anymore in the core

Update the RST file

Resolves: #72851
Releases: master
Change-Id: I4258be69fd69a698f323854bd9caaa633c5e4807
Reviewed-on: https://review.typo3.org/46147
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Replace colored icons with action icons 40/46140/2
Frank Nägler [Thu, 21 Jan 2016 22:00:56 +0000 (23:00 +0100)]
[TASK] Replace colored icons with action icons

Resolves: #72883
Releases: master, 7.6
Change-Id: I5847784d0fe088f776030c5c3cb098773a2bd7c6
Reviewed-on: https://review.typo3.org/46140
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[FOLLOWUP][TASK] Deprecate some functions not in use anymore in the core 46/46146/3
Michael Oehlhof [Fri, 22 Jan 2016 08:39:20 +0000 (09:39 +0100)]
[FOLLOWUP][TASK] Deprecate some functions not in use anymore in the core

Update the RST file

Resolves: #72851
Releases: master
Change-Id: I86e6490ed8299c9e5fb817decb430a2017105214
Reviewed-on: https://review.typo3.org/46146
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Remove TYPO3/CMS/Backend/LegacyCssClasses module 37/46137/2
Frank Nägler [Thu, 21 Jan 2016 17:42:02 +0000 (18:42 +0100)]
[TASK] Remove TYPO3/CMS/Backend/LegacyCssClasses module

The module TYPO3/CMS/Backend/LegacyCssClasses was used in the beginning of
CMS 7, to prevent breaking tables. The last t3-table classes and the module self,
are removed with this patch now.

Resolves: #72879
Releases: master
Change-Id: I9116aa62c5ca302c5a0ee21acd989e8645c8ce8d
Reviewed-on: https://review.typo3.org/46137
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] Replace and remove move old images 24/46124/10
Frank Nägler [Wed, 20 Jan 2016 22:36:36 +0000 (23:36 +0100)]
[TASK] Replace and remove move old images

Resolves: #72853
Releases: master
Change-Id: If9dd3c7ad96054b19bdf1411d0252de06c0cd63f
Reviewed-on: https://review.typo3.org/46124
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] Deprecate some functions not in use anymore in the core 18/46118/3
Michael Oehlhof [Wed, 20 Jan 2016 20:35:22 +0000 (21:35 +0100)]
[TASK] Deprecate some functions not in use anymore in the core

Resolves: #72851
Releases: master
Change-Id: I585344f02c92466454e7bb0986a7fd380e4ed303
Reviewed-on: https://review.typo3.org/46118
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Optimize layout in cshmanuel help popup 38/46138/2
Frank Nägler [Thu, 21 Jan 2016 18:02:51 +0000 (19:02 +0100)]
[TASK] Optimize layout in cshmanuel help popup

Add class img-responsive to images in help popup.

Resolves: #72880
Releases: master, 7.6
Change-Id: Ifc83bbce7401ef8d822259ab14ff66315b40e273
Reviewed-on: https://review.typo3.org/46138
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Increase size of config field for backend_layout 39/46139/2
Wouter Wolters [Thu, 21 Jan 2016 21:16:35 +0000 (22:16 +0100)]
[TASK] Increase size of config field for backend_layout

Make textarea size of config field in backend_layout the same as
sys_template config field.

The config field is too small now, which results in a horizontal scrollbar.

Resolves: #72882
Releases: master
Change-Id: I95e35c24b8cf5f57e59bd14bf22e25c9984ad6d2
Reviewed-on: https://review.typo3.org/46139
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[!!!][TASK] Remove RTE transformation ts_preserve and preserveTags option 34/46134/3
Benni Mack [Thu, 21 Jan 2016 13:41:16 +0000 (14:41 +0100)]
[!!!][TASK] Remove RTE transformation ts_preserve and preserveTags option

The functionality can be completely built with allowTags and is
more flexible.

ts_preserve was only used in the "old" "content (default)" ts_transform
functionality, which was removed already.

Resolves: #72870
Releases: master
Change-Id: Ic4b8b9ce02c0f7672664c909be3e24955b17f873
Reviewed-on: https://review.typo3.org/46134
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[!!!][TASK] EXT:form - Remove deprecated code 84/45384/8
Ralf Zimmermann [Thu, 21 Jan 2016 10:08:18 +0000 (11:08 +0100)]
[!!!][TASK] EXT:form - Remove deprecated code

This patchset removes the compatibility layer of EXT:form. The layer
made sure that EXT:form acts almost like in TYPO3 6.2. This mainly
applies to the layout configuration and rendering.
In the former days integrators could use .layout settings on different
levels to change the output of the form elements in the frontend. The
whole process is not intuitive and not well documented.
Nowadyas integrators should use fluid templates to customize their
forms. With this patchset this is the only way to go.

Furthermore the SELECT, TEXTAREA and TEXTBLOCK elements are adjusted.
The automatic transformation of the .data and .content attribute is
removed. That way .text is the only valid attribute for adding a human
readable text to the above mentioned elements.
Using the old attribute causes no harm.
There will be neither an output nor an error message.

Resolves: #72861
Releases: master
Change-Id: Ibe35e68637b904c7db705d3c8fcf70b77dc8a1b1
Reviewed-on: https://review.typo3.org/45384
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[!!!][TASK] Remove obsolete RteHtmlParser logic and methods 70/45870/12
Benni Mack [Thu, 14 Jan 2016 07:03:16 +0000 (08:03 +0100)]
[!!!][TASK] Remove obsolete RteHtmlParser logic and methods

Removed:
- RteHtmlParser->siteUrl()
- RteHtmlParser->getUrl()
- RteHtmlParser->HTMLcleaner_db() second parameter unused
- RteHtmlParser->getKeepTags() second parameter unused

Resolves: #72686
Releases: master
Change-Id: I0c4b4b6d17e3310218f9affc6d46418c1722ab68
Reviewed-on: https://review.typo3.org/45870
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[!!!][TASK] RTE: Always wrap RTE lines in <p> not <div> tags 30/46130/5
Benni Mack [Thu, 21 Jan 2016 07:21:50 +0000 (08:21 +0100)]
[!!!][TASK] RTE: Always wrap RTE lines in <p> not <div> tags

The rtehtmlarea RTE shipped with the TYPO3 Core does not
work with the RTE options "useDIVasParagraphTagForRTE"
and "remapParagraphTag" which allowed the content sent to the
RTE to use <div> tags or no tags instead of the regular <p>
tags.

Using these options before resulted in having multiple <div>
tags added every time the contents of the RTE were saved
to the database.

Since the RTE does not support this functionality, nor does
it make any sense, it is removed.

Resolves: #72866
Releases: master
Change-Id: I684594dc5eea98e9f88ef69cb2edf592c3a67516
Reviewed-on: https://review.typo3.org/46130
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Thomas Schlumberger <thomas@b13.de>
Tested-by: Thomas Schlumberger <thomas@b13.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[TASK] RTE: Store special TCA type configuration in local variable 23/46123/3
Benni Mack [Wed, 20 Jan 2016 22:05:04 +0000 (23:05 +0100)]
[TASK] RTE: Store special TCA type configuration in local variable

$this->rte_p is not used at all anymore, and can safely
be removed.

Resolves: #72855
Releases: master
Change-Id: I369296553313c0f21ca5d2e5448ea8d3d8fbf879
Reviewed-on: https://review.typo3.org/46123
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>
3 years ago[TASK] RTE Parser - store allowed tag list in class property 21/46121/2
Benni Mack [Wed, 20 Jan 2016 21:43:25 +0000 (22:43 +0100)]
[TASK] RTE Parser - store allowed tag list in class property

Instead of having a local variable list, the code is cleaned
up by moving the allowed tags list into the class property.

No change in functionality is made.

Resolves: #72852
Releases: master
Change-Id: I58e26f02a58e5feb2096caa44c6a8538d59ea9b3
Reviewed-on: https://review.typo3.org/46121
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>
3 years ago[TASK] Apply CGL compatibility (PSR-1 and PSR-2) 31/46131/2
Wouter Wolters [Thu, 21 Jan 2016 08:49:13 +0000 (09:49 +0100)]
[TASK] Apply CGL compatibility (PSR-1 and PSR-2)

Regular code cleanup about CGL standards.

Executed via php-cs-fixer fix --config-file Build/.php_cs typo3

Resolves: #72860
Releases: master
Change-Id: I5f9382a5ab9ad7ce1ab92da06c272e587ec78010
Reviewed-on: https://review.typo3.org/46131
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Fix call to formWidth in template module 27/46127/3
Georg Ringer [Thu, 21 Jan 2016 05:30:29 +0000 (06:30 +0100)]
[BUGFIX] Fix call to formWidth in template module

DocumentTemplate::formWidth() is not available and should be removed
anyway.
Replace the calls by direct usage of style attribute.

Change-Id: I141a4b74424c2ecd0a1341228856e23c8c42f20e
Resolves: #72854
Releases: master
Reviewed-on: https://review.typo3.org/46127
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Refactoring of BackendLayoutWizard 61/46061/9
Frank Nägler [Mon, 18 Jan 2016 15:01:04 +0000 (16:01 +0100)]
[TASK] Refactoring of BackendLayoutWizard

This patch remove the usage of ExtJS and move the JavaScript
logic into the new AMD module: TYPO3/CMS/Backend/GridEditor

Old images has been removed and CSS moved into backend.css.

Resolves: #72793
Releases: master
Change-Id: I13bf37d46941c7cdd094153036cd00e20f89c8e0
Reviewed-on: https://review.typo3.org/46061
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[FOLLOWUP][TASK] Remove charset functionality for locales 28/46128/3
Benni Mack [Thu, 21 Jan 2016 06:43:02 +0000 (07:43 +0100)]
[FOLLOWUP][TASK] Remove charset functionality for locales

Textual changes

Resolves: #72826
Releases: master
Change-Id: I57bf559adff612a783176463365e1e8c36da6714
Reviewed-on: https://review.typo3.org/46128
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[!!!][TASK] RTE transformations: Allow div sections by default 03/46103/4
Benni Mack [Wed, 20 Jan 2016 08:59:47 +0000 (09:59 +0100)]
[!!!][TASK] RTE transformations: Allow div sections by default

Treat DIV as block elements by default (= remove "preserveDIVSections"). The info is now stored
within "blockElementList".

KeepTags "font" and "allowedFontColors" is now
treated like any other tag and attribute values.

Thus, the TSconfig options within RTE.default.proc

 - allowedFontColors
 - preserveDIVSections

have no effect anymore.

Resolves: #72837
Releases: master
Change-Id: I81daf95737058076fbf6bda763a39a7c02f7b732
Reviewed-on: https://review.typo3.org/46103
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Remove test files created by GeneralUtilityTest 15/46115/3
Wouter Wolters [Wed, 20 Jan 2016 18:31:49 +0000 (19:31 +0100)]
[TASK] Remove test files created by GeneralUtilityTest

Resolves: #72847
Releases: master, 7.6
Change-Id: Iaf39687d014d32fa3c385a3747d8ea69076d70d3
Reviewed-on: https://review.typo3.org/46115
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[!!!][TASK] Remove charset functionality for locales 11/46011/3
Benni Mack [Sat, 16 Jan 2016 13:33:34 +0000 (14:33 +0100)]
[!!!][TASK] Remove charset functionality for locales

The TYPO3 frontend resolves
config.locale_all (e.g. set to de_AT.UTF-8) and stores
it in $TSFE->localeCharset by using a "best guess" based
on decade-old mappings.

$TSFE->localeCharset is only used in stdWrap.strftime
to convert the result from the localeCharset to the ->renderCharset.

However, as it is obvious that a misconfiguration of the system, which happens only when
config.set_locale = de_AT@iso-8859-15
config.renderCharset = utf-8
is set, this exception needs to be configured manually
when using stdWrap.strftime.charset = iso-8859-15

Resolves: #72826
Releases: master
Change-Id: I1bba231879ebaf8e8700099bb87a03aba5d1b562
Reviewed-on: https://review.typo3.org/46011
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Move CSS Styled Content FlexForm to correct location 01/46101/2
Benni Mack [Wed, 20 Jan 2016 08:20:36 +0000 (09:20 +0100)]
[TASK] Move CSS Styled Content FlexForm to correct location

Resolves: #72823
Releases: master
Change-Id: Id636e30eda177265c62031459f256f2a2203b47e
Reviewed-on: https://review.typo3.org/46101
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] OnlineMedia: Check correctly if image processing is enabled 10/46110/3
Markus Klein [Wed, 20 Jan 2016 14:21:13 +0000 (15:21 +0100)]
[BUGFIX] OnlineMedia: Check correctly if image processing is enabled

This is a regression fix after #43085, which missed on place to adjust.

Resolves: #72839
Releases: master
Change-Id: Icc71db034245ebba1732d539f746e481031de312
Reviewed-on: https://review.typo3.org/46110
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Remove unused variables in FormEngine InputTextElement 02/46102/3
Benni Mack [Wed, 20 Jan 2016 08:38:43 +0000 (09:38 +0100)]
[TASK] Remove unused variables in FormEngine InputTextElement

There are several datetime related configuration
settings which are not in use.

Resolves: #72824
Releases: master
Change-Id: I68d3c9725ca74ebe79a627d1fa59f6c60283d266
Reviewed-on: https://review.typo3.org/46102
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[!!!][TASK] RTE: Remove deprecated ts & ts_transform 04/46104/2
Benni Mack [Wed, 20 Jan 2016 10:53:06 +0000 (11:53 +0100)]
[!!!][TASK] RTE: Remove deprecated ts & ts_transform

As stated in the official documentation since TYPO3 4.0
the transformation option "ts" and "ts_transform" are
outdated and only for very old transformations (before
there was CSS Styled Content).

The option is marked as obsolete and outdated in the
documentation already, so it is removed in the code as well.

Resolves: #72830
Releases: master
Change-Id: Ibd8e34071e784d41db0f8a76059c150308820dbb
Reviewed-on: https://review.typo3.org/46104
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years agoRevert "[TASK] Make a resource storage driver accessible" 05/46105/2
Nicole Cordes [Wed, 20 Jan 2016 11:22:05 +0000 (12:22 +0100)]
Revert "[TASK] Make a resource storage driver accessible"

As discussed in the coredev channel on slack, this patch gets
reverted to stick to a solid FAL api.

This reverts commit f9c77f0df282c7be38821184c8ed90a5d45ab6ee.

Change-Id: I7700860a4a8fbcea3f1ee85d914b3a012d498daf
Reverts: #72728
Releases: master
Reviewed-on: https://review.typo3.org/46105
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>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Correctly determine link type 82/46082/8
Markus Klein [Tue, 19 Jan 2016 19:56:43 +0000 (20:56 +0100)]
[BUGFIX] Correctly determine link type

Due to a wrong condition transformation the detection of external links
without schema is broken.
Revert the condition to the correct logic again as it was in 6.2.

Related: #55626
Resolves: #72818
Releases: master, 7.6
Change-Id: I1cd716c4a689db1309d28d750e30987eeee3efff
Reviewed-on: https://review.typo3.org/46082
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Convert slashes in Windows paths for blacklist generation 39/46039/2
Nicole Cordes [Sun, 17 Jan 2016 22:11:37 +0000 (23:11 +0100)]
[BUGFIX] Convert slashes in Windows paths for blacklist generation

The composer ClassMapGenerator expects the blacklist regular expression
to contain forward slashes. As the realpath of a given file is used it
has to be converted before using it in the expression.

Resolves: #72782
Releases: master, 7.6
Change-Id: Ia61a490be4cee4c8b7c492b4514bff2d720343ae
Reviewed-on: https://review.typo3.org/46039
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[!!!][TASK] Remove RTE transformation option preserveTables 41/46041/2
Benni Mack [Mon, 18 Jan 2016 07:00:20 +0000 (08:00 +0100)]
[!!!][TASK] Remove RTE transformation option preserveTables

The RTE transformation option "preserveTables" that
allows to keep HTML table elements and their contents
when not in transformation mode "ts_css" (but just in"ts")
is removed.

Use ts_css instead which keeps the tables as they are completely.

If the RTE should be configured to remove HTML tables
completely this can be done via denyTags := addToList(table).

Resolves: #72783
Releases: master
Change-Id: I008e809a51ce38938adfff64cadc2686d7304f9a
Reviewed-on: https://review.typo3.org/46041
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
3 years ago[BUGFIX] Use Import class in ImportExportUtility::importT3DFile() 80/46080/2
Morton Jonuschat [Tue, 19 Jan 2016 18:17:53 +0000 (19:17 +0100)]
[BUGFIX] Use Import class in ImportExportUtility::importT3DFile()

Update the method importT3DFile() to use the dedicated Import class
instead of the abstract parent class ImportExport.

Resolves: #72820
Related: #72710
Releases: master, 7.6
Change-Id: Iac88eae129433b154779178a4d59b9c0f639a62a
Reviewed-on: https://review.typo3.org/46080
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Workspaces: Exception with PHP 7 01/46001/4
Michael Oehlhof [Sat, 16 Jan 2016 11:51:36 +0000 (12:51 +0100)]
[BUGFIX] Workspaces: Exception with PHP 7

Make the Declaration of
TYPO3\CMS\Workspaces\Controller\ReviewController::initializeView()
compatible with
TYPO3\CMS\Extbase\Mvc\Controller\ActionController::initializeView()

Resolves: #72766
Releases: master, 7.6
Change-Id: I1b7723e61ba7386e95690926b8e30dbd25c0fdb4
Reviewed-on: https://review.typo3.org/46001
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[FOLLOWUP][TASK] Show folder modification date in file list 74/46074/2
Daniel Goerz [Tue, 19 Jan 2016 11:35:02 +0000 (12:35 +0100)]
[FOLLOWUP][TASK] Show folder modification date in file list

Fixes a copy and paste accident.

Change-Id: I967dc8117fd716b2c9ca0bb003c459e08f3d4163
Resolves: #65165
Releases: master
Reviewed-on: https://review.typo3.org/46074
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[FOLLOWUP] Rename GFX settings referring to IM in their name 73/46073/2
Andreas Fernandez [Tue, 19 Jan 2016 11:14:35 +0000 (12:14 +0100)]
[FOLLOWUP] Rename GFX settings referring to IM in their name

Replace wrong "ß" character with backslash for escaping.

Change-Id: I36188f5c1eb1a6c99b040b3e8783fb83807d5aae
Resolves: #43085
Releases: master
Reviewed-on: https://review.typo3.org/46073
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] Clean up DatabaseConnection::fullQuoteArray 38/46038/2
Nicole Cordes [Sun, 17 Jan 2016 21:21:09 +0000 (22:21 +0100)]
[TASK] Clean up DatabaseConnection::fullQuoteArray

If the parameter $noQuote equals true, the given array can be returned
directly as there isn't anything to do.

Furthermore the AccessibleMock object from the test method can be
converted into a normal mock.

Resolves: #72781
Releases: master
Change-Id: Id58e5809b0f7d7d1c3c2c5908c70891f9e90a811
Reviewed-on: https://review.typo3.org/46038
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
3 years ago[BUGFIX] Fix broken background image in ImageManipulation wizard 62/46062/2
Frank Nägler [Mon, 18 Jan 2016 15:11:22 +0000 (16:11 +0100)]
[BUGFIX] Fix broken background image in ImageManipulation wizard

Followup patch, the first patch was missing the change in the less file.

Resolves: #72742
Releases: master, 7.6
Change-Id: I4b7ff2669f7867523afe58fb0ceb9e1e428ef4ca
Reviewed-on: https://review.typo3.org/46062
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Indexed Search mysql takes section settings into account 76/45976/2
Tymoteusz Motylewski [Fri, 15 Jan 2016 20:51:39 +0000 (21:51 +0100)]
[BUGFIX] Indexed Search mysql takes section settings into account

Add section where clause to Indexed Search MySQL hook.
Before this patch, when using MySQL fulltext search, Indexed Search
returned results from all pages.
Now they are filtered taking correct section into account.

Releases: 7.6, master
Resolves: #45575
Change-Id: Ia5c2d2cbb2e866a4c4d56cc05ac97a85f491e6eb
Reviewed-on: https://review.typo3.org/45976
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[TASK] Replace last occurrence of DocumentTemplate::getHeader 20/46020/2
Georg Ringer [Sat, 16 Jan 2016 16:25:50 +0000 (17:25 +0100)]
[TASK] Replace last occurrence of DocumentTemplate::getHeader

Replace the last occurrence with direct calls to the current API.

This place is well hidden in: Info module > Page TSConfig >
View TSConfig fields content.

Resolves: #72772
Releases: master
Change-Id: I0dee0099b5be50fe5182aa4852478854abd26afa
Reviewed-on: https://review.typo3.org/46020
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] FormEngine: Restore select wizard for textarea elements 32/46032/2
Morton Jonuschat [Sun, 17 Jan 2016 09:19:23 +0000 (10:19 +0100)]
[BUGFIX] FormEngine: Restore select wizard for textarea elements

Add the data-formengine-input-name attribute to FormEngine TextElements
so that the wizards can locate it. As the textareas don't differentiate
between human readable and hidden fields add a check to the tbe change
handler if the form field and the human readable field are identical and
skip triggering the change event again.

Resolves: #71679
Releases: master, 7.6
Change-Id: I69e6a4f3e9f19c68bd02a0029322d52323286194
Reviewed-on: https://review.typo3.org/46032
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[FOLLOWUP][TASK] Import/Export Reformat Fluid templates 33/46033/2
Reinhard Führicht [Sun, 17 Jan 2016 12:00:53 +0000 (13:00 +0100)]
[FOLLOWUP][TASK] Import/Export Reformat Fluid templates

Reformats Fluid templates to use Bootstrap markup.

Resolves: #72764
Releases: master
Change-Id: Id5a5731aa30d24674d427a4801a0273e349c08f7
Reviewed-on: https://review.typo3.org/46033
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[FEATURE] Allow exclusion of hidden records on export 60/45960/9
Ludwig Rafelsberger [Fri, 15 Jan 2016 17:37:31 +0000 (18:37 +0100)]
[FEATURE] Allow exclusion of hidden records on export

Allow editors to exclude all disabled records during export
preparation (EXT:impexp).

When preparing to export a page tree, users can now:
- choose to exclude all disabled records recursively. This is the new
  default behaviour
- toggle all disabled records which are scheduled to be exported
  (convenience method, this was already possible by manually checking
  all these records.

Resolves: #19157
Releases: master
Change-Id: Ibb3534151a9d08cf4a60b54430678563d6feb5be
Reviewed-on: https://review.typo3.org/45960
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Reinhard Führicht <rf@typoheads.at>
Tested-by: Reinhard Führicht <rf@typoheads.at>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] Impexp Don't display error messages using DebugUtility::viewArray() 22/46022/4
Reinhard Führicht [Sat, 16 Jan 2016 17:19:03 +0000 (18:19 +0100)]
[TASK] Impexp Don't display error messages using DebugUtility::viewArray()

Change impexp to just pass an array with the error messages
to the Fluid templates and take care of the output there.

Resolves: #72774
Releases: master
Change-Id: If5b995f998de4b5f2b69c3edd0b7c963bf8ac7fa
Reviewed-on: https://review.typo3.org/46022
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[TASK] Replace last occurrences of DocumentTemplate::header 18/46018/2
Georg Ringer [Sat, 16 Jan 2016 16:03:35 +0000 (17:03 +0100)]
[TASK] Replace last occurrences of DocumentTemplate::header

As the classes using the mentioned method don't use any templating,
replace the occurrences of the method with inline HTML.

Resolves: #72771
Releases: master
Change-Id: Ife88cd5ff942044037bb0d06678121b9e1490fff
Reviewed-on: https://review.typo3.org/46018
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>
3 years ago[BUGFIX] Cast pageId to integer before storing a preset in EXT:impexp 21/46021/2
Morton Jonuschat [Sat, 16 Jan 2016 17:07:30 +0000 (18:07 +0100)]
[BUGFIX] Cast pageId to integer before storing a preset in EXT:impexp

When storing a export preset in EXT:impexp no pageId is being set when
exporting a single table or record instead of a pagetree branch. Cast
the value for the pageId to integer to avoid MySQL strict mode errors.

Resolves: #72773
Releases: master, 7.6
Change-Id: Id8af258f96680201adaebeb82f488818a3013720
Reviewed-on: https://review.typo3.org/46021
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[FOLLOWUP][TASK] Import/Export Reformat Fluid templates 25/46025/2
Reinhard Führicht [Sat, 16 Jan 2016 18:10:07 +0000 (19:10 +0100)]
[FOLLOWUP][TASK] Import/Export Reformat Fluid templates

Reformats Fluid templates to use Bootstrap markup.

Resolves: #72764
Releases: master
Change-Id: I73b6ed1b6819aecb9cbfff8d04ea74f738a50a8d
Reviewed-on: https://review.typo3.org/46025
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Recycler doesn't show deleted pages for editors 92/45292/9
Bernhard Kraft [Tue, 15 Dec 2015 13:57:55 +0000 (14:57 +0100)]
[BUGFIX] Recycler doesn't show deleted pages for editors

When using the recycler as normal user (non admin) it isn't possible
to restore any pages as the underlying BE API methods by default only
allow to check for access to non-deleted pages. This situation is
circumvented by disabling the "delete" flag in TCA while checking for
access to deleted pages.

Resolves: #70863
Releases: 7.6, master
Change-Id: Ibf6ff305a6dbcf3eaf99fdca89b7bf7c78677319
Reviewed-on: https://review.typo3.org/45292
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Import/Export Reformat Fluid templates 95/45995/16
Reinhard Führicht [Sat, 16 Jan 2016 10:32:26 +0000 (11:32 +0100)]
[TASK] Import/Export Reformat Fluid templates

Reformats Fluid templates to use Bootstrap markup.

Resolves: #72764
Releases: master
Change-Id: I4fea730c2c790e23574bfb8476d430e6c689becb
Reviewed-on: https://review.typo3.org/45995
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Ludwig Rafelsberger <ludwig.rafelsberger@gmx.at>
Tested-by: Ludwig Rafelsberger <ludwig.rafelsberger@gmx.at>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Fix negativ pid when doing a positioned insert 69/45969/2
Marco Huber [Fri, 15 Jan 2016 20:20:20 +0000 (21:20 +0100)]
[BUGFIX] Fix negativ pid when doing a positioned insert

If you insert a content element (or a page) at a concrete position f.e.
after content element 15 the value in $row['pid'] is -15.
But in $this->data we already have the real pid, so we can just use it.

Resolves: #72751
Releases: master,7.6
Change-Id: Ib441dacf68eebd377f48589b7aeff6af1159263d
Reviewed-on: https://review.typo3.org/45969
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>
3 years ago[!!!][BUGFIX] Fix boolean noQuote option in DatabaseConnection::fullQuoteArray 17/46017/3
Morton Jonuschat [Sat, 16 Jan 2016 15:15:52 +0000 (16:15 +0100)]
[!!!][BUGFIX] Fix boolean noQuote option in DatabaseConnection::fullQuoteArray

The api for fullQuoteArray allows the parameter $noQuote to be boolean.
This patch corrects the handling of the case when true is being passed
as value for $noQuote.

Resolves: #71458
Releases: master
Change-Id: I332934a471b1e8d7310272bcc2164a375104cb07
Reviewed-on: https://review.typo3.org/46017
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Use fixed font for config of backend_layout 16/46016/2
Georg Ringer [Sat, 16 Jan 2016 15:25:57 +0000 (16:25 +0100)]
[TASK] Use fixed font for config of backend_layout

Use a fixed font + the possibility for using the the tab character in
the config field of backend_layouts.

Resolves: #72769
Releases: master
Change-Id: If535aff04ab1685f4b70dbf241ce6cbf70356e5c
Reviewed-on: https://review.typo3.org/46016
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Import/Export Various Exceptions happening 98/45998/3
Reinhard Führicht [Sat, 16 Jan 2016 11:10:02 +0000 (12:10 +0100)]
[BUGFIX] Import/Export Various Exceptions happening

Fixed exception shown when

1) uploading an existing file without "Overwrite" setting activated
2) opening export module as a non-admin
3) opening import module as a non-admin without permission
   to access an available file storage

Also improved error message for missing default file upload folder.

Resolves: #72765
Releases: master
Change-Id: Id1133d1a8adc6c28088ef85730fe01145b4fa3a2
Reviewed-on: https://review.typo3.org/45998
Reviewed-by: Martin Kutschker <martin.kutschker@ymail.com>
Tested-by: Martin Kutschker <martin.kutschker@ymail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Provide default config for git-review 14/46014/2
Morton Jonuschat [Sat, 16 Jan 2016 14:00:08 +0000 (15:00 +0100)]
[TASK] Provide default config for git-review

git-review is a tool that helps submitting git branches to gerrit for
review. Provide a default configuration for the TYPO3 gerrit to ease
setup.

Resolves: #72768
Releases: master
Change-Id: I37ba4fe7f5723f7f4d3a7b6b9a3961016ac37f25
Reviewed-on: https://review.typo3.org/46014
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[FOLLOWUP][BUGFIX] Clean up inconsistent data from import 12/46012/3
Bernhard Kraft [Sat, 16 Jan 2016 13:37:57 +0000 (13:37 +0000)]
[FOLLOWUP][BUGFIX] Clean up inconsistent data from import

When importing a T3D or XML file the loaded data has to get cleansed
first. The "extensionDependencies" array for example may contain an
empty string which will cause a non-correct warning message in the
importers warning tab.

A new method "cleanupImportData" takes care to bring import data into
an acceptable format.

Resolves: #72761
Releases: master, 7.6
Change-Id: I314d5702bf07bb57e723d3b11f5e848cba1c7808
Reviewed-on: https://review.typo3.org/46012
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Use correct setting to display search rules 02/46002/4
Ludwig Rafelsberger [Sat, 16 Jan 2016 11:02:37 +0000 (12:02 +0100)]
[BUGFIX] Use correct setting to display search rules

The extbase plugin (pi2) of EXT:indexed_search previously used a
different TypoScript setting to control the display of search rules
than the setting that is shipped as default TypoScript. This changes
the template to use the correct setting.

Resolves: #51099
Releases: master, 7.6
Change-Id: I893ff0c85a3bc9fde885cbb5103d9ebf54e488a2
Reviewed-on: https://review.typo3.org/46002
Reviewed-by: Bernhard Kraft <kraftb@think-open.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Bernhard Kraft <kraftb@think-open.at>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[FEATURE] Support pecl-memcached in MemcachedBackend 03/43303/7
Andreas Fernandez [Mon, 14 Sep 2015 14:44:35 +0000 (16:44 +0200)]
[FEATURE] Support pecl-memcached in MemcachedBackend

The MemcachedBackend now also supports the pecl-memcached
module. The caching backend detects which modules are installed
and uses "memcache" over "memcached" to avoid being a breaking
change. If both modules are installed, an integrator can choose the
PECL module by setting the new ``peclModule`` option.

Resolves: #69794
Releases: master
Change-Id: Idd4e85cf8ec71d47217b63dfe55b1231107c7b82
Reviewed-on: https://review.typo3.org/43303
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: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Reformat rtehtmlarea documentation 48/45948/2
Markus Sommer [Fri, 15 Jan 2016 15:36:33 +0000 (16:36 +0100)]
[TASK] Reformat rtehtmlarea documentation

Resolves: #71597
Releases: master
Change-Id: Ife130169a9b7908b58a761505dd3da948fd25e97
Reviewed-on: https://review.typo3.org/45948
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
3 years ago[BUGFIX] Make levelAs of DirectoryViewHelper work 57/45957/3
Georg Ringer [Fri, 15 Jan 2016 16:34:07 +0000 (17:34 +0100)]
[BUGFIX] Make levelAs of DirectoryViewHelper work

To calculate the level, the correct variable needs to be used.

Change-Id: Ic53b4475412d4b29c408af95371ef2416603d1f1
Resolves: #72543
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/45957
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[FOLLOWUP][BUGFIX] Backend users: Exception in element browser with PHP 7 06/46006/2
Morton Jonuschat [Sat, 16 Jan 2016 12:49:50 +0000 (13:49 +0100)]
[FOLLOWUP][BUGFIX] Backend users: Exception in element browser with PHP 7

Resolves: #72767
Releases: master, 7.6
Change-Id: I0c585c0c50674aabf40aeec0af176bb34ad0edfd
Reviewed-on: https://review.typo3.org/46006
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[TASK] Move Images to Resources 63/45963/2
Markus Sommer [Fri, 15 Jan 2016 19:14:33 +0000 (20:14 +0100)]
[TASK] Move Images to Resources

Resolves: #72748
Releases: master
Change-Id: I53d7eb784c15d2adddc8574a77eb340e0d97cd7a
Reviewed-on: https://review.typo3.org/45963
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
3 years ago[BUGFIX] Backend users: Exception in element browser with PHP 7 00/46000/4
Michael Oehlhof [Sat, 16 Jan 2016 11:43:38 +0000 (12:43 +0100)]
[BUGFIX] Backend users: Exception in element browser with PHP 7

Make the Declaration of
TYPO3\CMS\Recordlist\Tree\View\ElementBrowserPageTreeView::wrapTitle()
compatible with
TYPO3\CMS\Backend\Tree\View\ElementBrowserPageTreeView::wrapTitle()

Resolves: #72767
Releases: master, 7.6
Change-Id: Ic855be1b3e8020a28a7c44c21709d75a3a04e3b5
Reviewed-on: https://review.typo3.org/46000
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] Improve colPos behaviour of SectionViewHelper 99/45999/5
Georg Ringer [Sat, 16 Jan 2016 11:29:18 +0000 (12:29 +0100)]
[BUGFIX] Improve colPos behaviour of SectionViewHelper

Make it possible to render a section menu of content elements
with ignoring the colPos field.

Additionally, a comma separated list of columns can be used
and not only a single colPos.

Resolves: #71733
Releases, master, 7.6
Change-Id: I5f1284ee860c926afd81141d8459efd71cff409d
Reviewed-on: https://review.typo3.org/45999
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Use ModuleTemplate in ElementInformationController 92/45992/3
Georg Ringer [Sat, 16 Jan 2016 09:43:54 +0000 (10:43 +0100)]
[TASK] Use ModuleTemplate in ElementInformationController

Use the ModuleTemplate instead of the DocTemplate

Change-Id: I25098edbe60013298b182749051f5a9a510b04e1
Resolves: #72760
Releases: master
Reviewed-on: https://review.typo3.org/45992
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Clean up inconsistent data from import 93/45993/4
Bernhard Kraft [Sat, 16 Jan 2016 09:45:59 +0000 (09:45 +0000)]
[BUGFIX] Clean up inconsistent data from import

When importing a T3D or XML file the loaded data has to get cleansed
first. The "extensionDependencies" array for example may contain an
empty string which will cause a non-correct warning message in the
importers warning tab.

A new method "cleanupImportData" takes care to bring import data into
an acceptable format.

Resolves: #72761
Releases: master, 7.6
Change-Id: I79dcccb92f453902b4b83be243d2f89af711246c
Reviewed-on: https://review.typo3.org/45993
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
3 years ago[BUGFIX] Use ProcessedFile::CONTEXT_IMAGEPREVIEW for inline preview images 96/45996/2
Georg Ringer [Sat, 16 Jan 2016 10:47:49 +0000 (11:47 +0100)]
[BUGFIX] Use ProcessedFile::CONTEXT_IMAGEPREVIEW for inline preview images

Using ProcessedFile::CONTEXT_IMAGEPREVIEW respects the ratio and produces
nicer thumbnails.

Change-Id: I8d98dc8ff0a6883c7e03c4dddbdb6d085608904a
Resolves: #71670
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/45996
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>