Packages/TYPO3.CMS.git
3 years ago[BUGFIX] Include of flowplayer for 6.2 static template is wrong 34/40534/2
Wouter Wolters [Mon, 15 Jun 2015 18:51:43 +0000 (20:51 +0200)]
[BUGFIX] Include of flowplayer for 6.2 static template is wrong

Resolves: #67475
Releases: master
Change-Id: Ib8cfdd76f57c601f8162467168c3ec043809a3b9
Reviewed-on: http://review.typo3.org/40534
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] Add basic unit tests for ContentObjectRenderer::typoLink 33/40533/2
Nicole Cordes [Wed, 17 Jun 2015 19:43:20 +0000 (21:43 +0200)]
[TASK] Add basic unit tests for ContentObjectRenderer::typoLink

Resolves: #67586
Releases: master, 6.2
Change-Id: I0c20b13469d9bb9af844f92ee87181a55bacc906
Reviewed-on: http://review.typo3.org/40533
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] Set TYPO3 version to 7.3.1-dev 67/40267/2
TYPO3 Release Team [Mon, 15 Jun 2015 18:26:09 +0000 (20:26 +0200)]
[TASK] Set TYPO3 version to 7.3.1-dev

Change-Id: I3efcdaf57aab3f931c4db936050baed4fc244299
Reviewed-on: http://review.typo3.org/40267
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
3 years ago[RELEASE] Release of TYPO3 7.3.0 66/40266/2 7.3.0 TYPO3_7-3-0
TYPO3 Release Team [Mon, 15 Jun 2015 18:25:21 +0000 (20:25 +0200)]
[RELEASE] Release of TYPO3 7.3.0

Change-Id: Ia515c614e2f43a2c3708cbd06343f5e5dd6e9292
Reviewed-on: http://review.typo3.org/40266
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
3 years ago[BUGFIX] Palettes "more options" can not be extended if new record is added 62/40262/2
Frank Nägler [Mon, 15 Jun 2015 17:12:04 +0000 (19:12 +0200)]
[BUGFIX] Palettes "more options" can not be extended if new record is added

HTML ID attribute must not contain a dot, which happens if a new record
is created. In this case the toggle button not work.
This patch replace the dot with an underscore.

Resolves: #67472
Releases: master
Change-Id: I8aa727bb4762e62b42f4dcdbb47477013023f879
Reviewed-on: http://review.typo3.org/40262
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
3 years ago[BUGFIX] Scheduler now throws OutOfBoundsException on SQL query error 56/40256/2
Mathias Schreiber [Mon, 15 Jun 2015 15:59:48 +0000 (17:59 +0200)]
[BUGFIX] Scheduler now throws OutOfBoundsException on SQL query error

If the query for fetchTask fails for whatever reason, scheduler will
now gracefully throw an exception instead of assuming it had gotten
a valid resource pointer

Resolves: #67463
Related: #39085
Releases: master, 6.2
Change-Id: I26819df3fd173b36de6121100a6398ed4b701319
Reviewed-on: http://review.typo3.org/40256
Reviewed-by: Lienhart Woitok <lienhart.woitok@netlogix.de>
Tested-by: Lienhart Woitok <lienhart.woitok@netlogix.de>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[BUGFIX] Data merging in FormEngine 61/40261/2
Christian Kuhn [Mon, 15 Jun 2015 16:51:08 +0000 (18:51 +0200)]
[BUGFIX] Data merging in FormEngine

Data is merged in a wrong way and kills for instance
the required handling.

Resolves: #67470
Related: #67400
Releases: master
Change-Id: I0b78fb34b443be89663188b14db192b58804fc5b
Reviewed-on: http://review.typo3.org/40261
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Always use MCRYPT_DEV_URANDOM if using mcrypt 51/40251/4
Helmut Hummel [Mon, 15 Jun 2015 14:00:27 +0000 (16:00 +0200)]
[BUGFIX] Always use MCRYPT_DEV_URANDOM if using mcrypt

Using MCRYPT_RAND was introduced because of a bug in PHP versions lower
than 5.3.7 on Windows in combination with IIS.

Since we require higher PHP versions in all maintained versions we can
remove this workaround and use MCRYPT_DEV_URANDOM again. By doing so we
fix a bug on Windows caused by not enough randomness.

Releases: 6.2, master
Resolves: #53034
Change-Id: Ibe74eb0277934e9300ffd9b00cc89a5f8bb008fb
Reviewed-on: http://review.typo3.org/40251
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Update Documentation for release of TYPO3 CMS 7.3 52/40252/2
Mathias Schreiber [Mon, 15 Jun 2015 14:15:34 +0000 (16:15 +0200)]
[TASK] Update Documentation for release of TYPO3 CMS 7.3

Releases: master
Change-Id: Ib9cc9e07ada7a60cf6fc1bbc878c16ff83c5df27
Reviewed-on: http://review.typo3.org/40252
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[TASK] Deprecate AbstractDomainObject::__wakeup and document changes 45/40245/5
Christian Kuhn [Mon, 15 Jun 2015 11:31:58 +0000 (13:31 +0200)]
[TASK] Deprecate AbstractDomainObject::__wakeup and document changes

Resolves: #67402
Related: #66473
Releases: master
Change-Id: I4a493bd778b2fefdc39fbd7783f406d3fbbebabb
Reviewed-on: http://review.typo3.org/40245
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Make ToolBar in AdminPanel working again 46/40246/4
Daniel Maier [Mon, 15 Jun 2015 11:44:43 +0000 (13:44 +0200)]
[BUGFIX] Make ToolBar in AdminPanel working again

Adjust paths to respective backend-modules by removing the TYPO3_mainDir
part added directly in AdminPanelView, as this is done by
BackendUtility::getModuleUrl() as well

Resolves: #67461
Releases: master
Change-Id: I804b99c248afe4ca8bc9116ff8b73f2e28ea4f05
Reviewed-on: http://review.typo3.org/40246
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>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Follow-up for cleanup FAL exception messages 47/40247/3
Marc Bastian Heinrichs [Mon, 15 Jun 2015 11:51:43 +0000 (13:51 +0200)]
[BUGFIX] Follow-up for cleanup FAL exception messages

Fixes a fatal error introduced on cleaning up the exception
messages.

Resolves: #67462
Relates: #64613
Releases: master
Change-Id: Ia1911d56a39283a32b591bc051b0e95292ced206
Reviewed-on: http://review.typo3.org/40247
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[BUGFIX] Show icons of feedit again 58/40058/3
Georg Ringer [Sun, 7 Jun 2015 19:25:26 +0000 (21:25 +0200)]
[BUGFIX] Show icons of feedit again

Load the required CSS code to show font-awesome icons in feedit.

Change-Id: Ifb5df8119d192683a1631fd812c4ba91af24beaf
Resolves: #66358
Releases: master
Reviewed-on: http://review.typo3.org/40058
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Jonathan IROULIN <joniroutypo3@gmail.com>
Tested-by: Jonathan IROULIN <joniroutypo3@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] CONTENT cObject slide does not loop 44/40244/2
Benjamin Mack [Mon, 15 Jun 2015 10:47:01 +0000 (12:47 +0200)]
[BUGFIX] CONTENT cObject slide does not loop

The CONTENT cObject is looping over the SQL query
when sliding the rootline and/or collecting but never
repeats due to missing braces.

This happened during a cleanup merge in commit
4722b6cf5c97ab415d3d35687ed77750b97e3258.

The patch re-adds the braces.

Resolves: #67034
Related: #54091
Releases: master
Change-Id: Ifc912ea8d5d2861d6888ddc5ac7bd755e3ff6bb4
Reviewed-on: http://review.typo3.org/40244
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] Remove version number from generator tag 45/37945/7
Wouter Wolters [Thu, 19 Mar 2015 09:55:31 +0000 (10:55 +0100)]
[TASK] Remove version number from generator tag

This change will not increase the security of TYPO3 CMS.
This information can be misused by an attacker for a more targeted attack.

Resolves: #64429
Releases: master,6.2
Change-Id: I9151ed99e454e878b10ec1894cbec2ad83165e57
Reviewed-on: http://review.typo3.org/37945
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Write ClassInformation for every installed extension 31/40231/2
Helmut Hummel [Sat, 13 Jun 2015 17:42:04 +0000 (19:42 +0200)]
[BUGFIX] Write ClassInformation for every installed extension

The class information generator caches the currently active packages.
This runtime cache needs to be flushed every time the class information
is written, so that class information of newly activated extensions in one
request is taken into account.

Releases: master
Resolves: #67439
Related: #67212
Change-Id: I107bd692c5ad217dcd4d0d49e98fa294b4e470e4
Reviewed-on: http://review.typo3.org/40231
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[FOLLOWUP][TASK] Document DI happening before initializeObject() 13/40213/3
Morton Jonuschat [Fri, 12 Jun 2015 17:00:08 +0000 (19:00 +0200)]
[FOLLOWUP][TASK] Document DI happening before initializeObject()

Clarify that the changes to dependency injection only affect domain
models retrieved from the database backend.

Resolves: #67401
Related: #67274
Related: #67272
Related: #66473
Releases: master
Change-Id: I04876b77c3ae5d061bae4b6b238d820a7f875740
Reviewed-on: http://review.typo3.org/40213
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] RTE not loading while mass edit in list module 05/40205/2
Frank Nägler [Fri, 12 Jun 2015 11:51:10 +0000 (13:51 +0200)]
[BUGFIX] RTE not loading while mass edit in list module

This patch fix a regression from FormEngine: The extendables patch.

Resolves: #67429
Related: #67229
Releases: master
Change-Id: I6a900e8ce8460440eb9feb146ada54ea8995112d
Reviewed-on: http://review.typo3.org/40205
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Document DI happening before initializeObject() 95/40195/3
Morton Jonuschat [Thu, 11 Jun 2015 17:00:54 +0000 (19:00 +0200)]
[TASK] Document DI happening before initializeObject()

Changes in the execution of dependency injection and object
initialization have been documented as an important change.

Resolves: #67401
Related: #67274
Related: #67272
Related: #66473
Releases: master
Change-Id: Iab0cb89d7ed77ceaeafb1f87b19b750f73f45eda
Reviewed-on: http://review.typo3.org/40195
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] RTE not loading if multiple content elements are opened 97/40197/2
Frank Nägler [Thu, 11 Jun 2015 17:44:58 +0000 (19:44 +0200)]
[BUGFIX] RTE not loading if multiple content elements are opened

This patch fixes a bug when multiple content elements are processed
at once. This happens if the edit link in page module is used to open
all elements of one column at once.

Resolves: #67400
Releases: master
Change-Id: I605cedaff8f03947363bda002ab23235693dfc50
Reviewed-on: http://review.typo3.org/40197
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: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
3 years ago[BUGFIX] ExtJS cards do not work 87/40187/2
Bernhard Kraft [Thu, 11 Jun 2015 14:46:00 +0000 (16:46 +0200)]
[BUGFIX] ExtJS cards do not work

The commit "fd5eae7e06dd0e0ba89585fd50a9d41a766f7b98" introduced a bug
for the ExtJS cards feature. Altough this feature is not used by any
core extensions it could break third party extensions. The line:

this.loadedModule = mod;

Simply got removed from
"typo3/sysext/backend/Resources/Public/JavaScript/modulemenu.js" in
the mentioned commit while changing indenting.

Change-Id: Ic0b70489d4b14fb95487a4ddc336eb82e630d593
Resolves: #67422
Releases: master
Reviewed-on: http://review.typo3.org/40187
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
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: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
3 years ago[BUGFIX] Use late static binding for compilable viewhelpers 84/40184/5
Markus Klein [Thu, 11 Jun 2015 12:58:37 +0000 (14:58 +0200)]
[BUGFIX] Use late static binding for compilable viewhelpers

Using self::renderStatic() in the render method of the viewhelpers
forces extending viewhelpers to copy the render method, which is
useless overhead.

Adjust all viewhelpers to use static::renderStatic() instead to
allow for late static binding.

Resolves: #67420
Releases: master
Change-Id: I12ca42a16365ee2baceeca6a17193e5f6877ed27
Reviewed-on: http://review.typo3.org/40184
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Manuel Selbach <m.selbach@reply.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] Fix padding for FlashMessages 78/40178/4
Andreas Fernandez [Thu, 11 Jun 2015 10:44:57 +0000 (12:44 +0200)]
[BUGFIX] Fix padding for FlashMessages

Resolves: #67418
Releases: master
Change-Id: Icdec4c9822aac1fc2983142e34739ae55800b66f
Reviewed-on: http://review.typo3.org/40178
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] Improve extbase object creation tests 61/40161/2
Christian Kuhn [Wed, 10 Jun 2015 22:17:36 +0000 (00:17 +0200)]
[TASK] Improve extbase object creation tests

The patch is a follow-up to the "initializeObject() no longer
called after instatiation was fixed" patch with commit ec4f49f69f.
It makes the tests a bit more picky and does some minor cleanups.

Patch is for master only, 6.2 will receive different patch sets.

Resolves: #67407
Related: #67272
Releases: master
Change-Id: Iee371a6a62d66613b35623af55ac5ca4595eb947
Reviewed-on: http://review.typo3.org/40161
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Remove cache_classes from LocalConfiguration 67/40167/2
Christian Kuhn [Thu, 11 Jun 2015 08:19:58 +0000 (10:19 +0200)]
[BUGFIX] Remove cache_classes from LocalConfiguration

With class loader removal in #67212 cache_classes was removed from
the system :)
The patch adds cache_classes to the silent configuration upgrader of
the install tool to remove this configuration part from
LocalConfiguration.

Resolves: #67411
Related: #67212
Releases: master
Change-Id: Ieb39b44b74ecdeeaf8db4975bf9044a2ac6fd57a
Reviewed-on: http://review.typo3.org/40167
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: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[BUGFIX] Register runtime class loading info on ext update 60/40160/3
Helmut Hummel [Wed, 10 Jun 2015 21:56:13 +0000 (23:56 +0200)]
[BUGFIX] Register runtime class loading info on ext update

Since the runtime class loading information is
set during activation of the package, we need to ensure
that this code is called.

Releases: master
Resolves: #67410
Change-Id: I635e858b58c15d8563b4da54c009004e0a7416f9
Reviewed-on: http://review.typo3.org/40160
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] Clean up DataMapper::convertClassNameToTableName 00/39900/3
Mathias Brodala [Tue, 2 Jun 2015 15:19:31 +0000 (17:19 +0200)]
[TASK] Clean up DataMapper::convertClassNameToTableName

This removes pointless code which ends up doing strtolower(NULL).

Also make the class name argument mandatory since it does not make
sense to pass nothing or NULL and the core does not do this in any
case.

The latter change makes this mildly breaking if code relies on the
old behavior.

Resolves: #67248
Releases: master
Change-Id: I3f3339ea005831fc3d78974d8883c20ad04ec4ec
Reviewed-on: http://review.typo3.org/39900
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-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] EM: Use EXEC_TIME for extension export zip filename 59/40159/3
Christian Kuhn [Wed, 10 Jun 2015 20:55:29 +0000 (22:55 +0200)]
[BUGFIX] EM: Use EXEC_TIME for extension export zip filename

Extension export as .zip file uses date() to make file
names "unique". Instead of timestamp "now", $GLOBALS['EXEC_TIME']
is now used as base time stamp since this value
does not change during one call.
The according test is stabilized a bit and additionally sets
$GLOBALS['EXEC_TIME'] to a stable value.

Releases: master
Resolves: #67405
Change-Id: I0ccb7210711fc7ab65135dc458d0b4a8587353d5
Reviewed-on: http://review.typo3.org/40159
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] RTE: Set "magic" as default image mode 55/40155/3
Andreas Fernandez [Wed, 10 Jun 2015 18:32:51 +0000 (20:32 +0200)]
[BUGFIX] RTE: Set "magic" as default image mode

Sets the image mode to "magic" on first call, as "New Magic Image"
is the first tab being called.

Resolves: #65821
Releases: master
Change-Id: If3064b93a16c9a86a3898afa0cccb56322d5b1cf
Reviewed-on: http://review.typo3.org/40155
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] typo in class bootstrap comment 58/40158/2
Christian Kuhn [Wed, 10 Jun 2015 20:30:15 +0000 (22:30 +0200)]
[BUGFIX] typo in class bootstrap comment

everthing -> everything

Releases: master
Resolves: #67404
Change-Id: I2c48d6ead5afa19bae98a138f0288e5b07c7071f
Reviewed-on: http://review.typo3.org/40158
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 agoRevert "[TASK] Massive performance improvement for page tree" 54/40154/2
Frank Nägler [Wed, 10 Jun 2015 18:30:05 +0000 (20:30 +0200)]
Revert "[TASK] Massive performance improvement for page tree"

This patch needs to be reverted, because of a regression with
the page tree and the double click behavior.

Releases: master
Resolves: #66912
Resolves: #67322
Reverts: #63591

This reverts commit a89d3765663c0ed05c8435ad767f106fa9d60bf8.

Change-Id: I35b9d80f25fa1f2f3951bf70bbbe9e02dafdc28d
Reviewed-on: http://review.typo3.org/40154
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] Discard TYPO3 class loader 27/39827/21
Helmut Hummel [Sat, 30 May 2015 11:34:18 +0000 (13:34 +0200)]
[!!!][FEATURE] Discard TYPO3 class loader

Use composer class loader instead of the TYPO3 class loader
when TYPO3 is not installed via composer, thus building the same
class information logic during runtime (and caching it away) as
composer does with its "dump-autoload" command.

Releases: master
Resolves: #67212
Change-Id: Id032411a690d67ca690a724748c3c796d2bb5f6e
Reviewed-on: http://review.typo3.org/39827
Reviewed-by: Thomas Maroschik <tmaroschik@dfau.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
3 years ago[BUGFIX] Check $http_response_headers in GeneralUtility::getUrl() 42/40142/3
Andreas Fernandez [Wed, 10 Jun 2015 07:19:07 +0000 (09:19 +0200)]
[BUGFIX] Check $http_response_headers in GeneralUtility::getUrl()

If one queries a local, non-existing file with GeneralUtility::getUrl()
AND sets the $report parameter, implode() fails because
$http_response_headers remains NULL, as there is no HTTP request.
Check the existance of $http_response_headers and alternatively use the
URL for logging.

Resolves: #67383
Releases: master, 6.2
Change-Id: I796935fbef090061c7d12502593190f4223765b3
Reviewed-on: http://review.typo3.org/40142
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] Remove unnecessary help-block in ReadOnly select 76/40076/2
Frank Nägler [Mon, 8 Jun 2015 15:04:58 +0000 (17:04 +0200)]
[TASK] Remove unnecessary help-block in ReadOnly select

Resolves: #67352
Releases: master
Change-Id: I2b5b7f6ab0f2c804e4cba631884b73607ce249ca
Reviewed-on: http://review.typo3.org/40076
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Alexander Jahn <jahn.typo3@googlemail.com>
Tested-by: Alexander Jahn <jahn.typo3@googlemail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] SQL parser does not support string as join condition 44/40144/2
Xavier Perseguers [Wed, 10 Jun 2015 09:04:47 +0000 (11:04 +0200)]
[BUGFIX] SQL parser does not support string as join condition

The SQL parser is capable of parsing

    JOIN T1 ON T1.some_field = T2.some_other_field

and

    JOIN T1 ON T1.some_field = 4

but not

    JOIN T1 ON T1.some_field = 'some string'

Change-Id: I7806699ea44685ab717cc0e8a75f7b53a1b2b1cc
Resolves: #67385
Related: #66614
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/40144
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
3 years ago[BUGFIX] dbal: return NULL/NOT NULL information in admin_get_fields() 51/40051/4
Morton Jonuschat [Sat, 6 Jun 2015 14:03:35 +0000 (16:03 +0200)]
[BUGFIX] dbal: return NULL/NOT NULL information in admin_get_fields()

MySQL returns a YES/NO string for every field to determine if NULL values
are allowed in the field. The DBAL version of admin_get_fields always
returned an empty string although the required details are returned by
ADOdb drivers. Make this information available.

Resolves: #67298
Releases: master
Change-Id: I6892783aced1e574cb6f5702da067f4e6e867529
Reviewed-on: http://review.typo3.org/40051
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
3 years ago[BUGFIX] Avoid unnecessary generation of processed files 44/39644/14
Markus Klein [Thu, 21 May 2015 00:36:46 +0000 (02:36 +0200)]
[BUGFIX] Avoid unnecessary generation of processed files

Removing [GFX] off the checksum data used to identify a processed file
ensures that data type inconsistencies within [GFX] do not cause a
regeneration of the processed file.

A new upgrade wizard for the Install Tool is added to migrate existing
processed files without the need to regenerate those.

Resolves: #66614
Releases: master, 6.2
Change-Id: Id90ce923b26ee726d15cf3d0cfcafc4ec4d7405d
Reviewed-on: http://review.typo3.org/39644
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
3 years ago[BUGFIX] Do not log deprecation if TCA migration is only about syntax 43/40043/3
Markus Klein [Sat, 6 Jun 2015 12:42:24 +0000 (14:42 +0200)]
[BUGFIX] Do not log deprecation if TCA migration is only about syntax

Migrating a field definition like 'aField;;;' results in 'aField'.
No functionality is actually migrated, so no deprecation has to be logged.

Resolves: #67328
Releases: master
Change-Id: Ide45f78b3a4cf5dd230fc589f8d106f39723a6b5
Reviewed-on: http://review.typo3.org/40043
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] DBAL: Rename null specific 23/40123/4
Andreas Fernandez [Tue, 9 Jun 2015 09:35:29 +0000 (11:35 +0200)]
[BUGFIX] DBAL: Rename null specific

Rename the null specific for PHP 7 compliance.

Resolves: #67362
Related: #67297
Releases: master
Change-Id: I4fe56c5815f84a7e8db8abd3a4eddded4faf9044
Reviewed-on: http://review.typo3.org/40123
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Create only minimum TCA when adding new palettes 42/40042/2
Markus Klein [Sat, 6 Jun 2015 12:20:32 +0000 (14:20 +0200)]
[BUGFIX] Create only minimum TCA when adding new palettes

When adding a new palette to TCA the types::showitem part is modified.
This patch ensures that no empty values are set to the field definitions
as this would trigger the TCA Migrator.

Resolves: #67327
Releases: master
Change-Id: I30cb6a7d6f325705528d1f3c2961e2620068f057
Reviewed-on: http://review.typo3.org/40042
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Wrong usage of preg_match in Install Tool 09/40109/3
Markus Klein [Mon, 8 Jun 2015 18:46:18 +0000 (20:46 +0200)]
[BUGFIX] Wrong usage of preg_match in Install Tool

Resolves: #67358
Releases: master
Change-Id: Ia3a82f14622a7867b4a59f846c2c3c8dd54fe5ae
Reviewed-on: http://review.typo3.org/40109
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Use namespaced class name for AJAX widget response 65/40065/2
Markus Klein [Mon, 8 Jun 2015 08:47:34 +0000 (10:47 +0200)]
[BUGFIX] Use namespaced class name for AJAX widget response

Resolves: #67344
Releases: master
Change-Id: Ic78fce21dd8ff25caf8f6b9ede728bcaae124992
Reviewed-on: http://review.typo3.org/40065
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] dbal: Move MySQL / DBMS field type translation into DBMS Specifics 54/39954/6
Morton Jonuschat [Thu, 4 Jun 2015 18:32:12 +0000 (20:32 +0200)]
[TASK] dbal: Move MySQL / DBMS field type translation into DBMS Specifics

The function used by the DBAL provide a very coarse and generic translations
between the ADdb meta types and the MySQL native types. This results in
ambiguities that can't properly be resolved and leads to changes in the
install tool schema migration that can never be resolved.

The default DBMS specifics provided resemble the current output of the
functions and don't result in any changes to the DBMS schema.

Resolves: #67297
Related: #67290
Related: #67288
Releases: master
Change-Id: Id26a897c7f43520edd188e0bd2ddb158507c8049
Reviewed-on: http://review.typo3.org/39954
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] Update swiftmailer to 5.4.1 72/39972/5
Markus Klein [Fri, 5 Jun 2015 11:02:19 +0000 (13:02 +0200)]
[TASK] Update swiftmailer to 5.4.1

Resolves: #67310
Releases: master
Change-Id: I9cd52c06402d94182e7a82a91120480255a078a8
Reviewed-on: http://review.typo3.org/39972
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
3 years ago[TASK] Remove conf.php from ext:dbal 53/40053/2
Wouter Wolters [Sat, 6 Jun 2015 14:52:52 +0000 (16:52 +0200)]
[TASK] Remove conf.php from ext:dbal

Resolves: #67331
Releases: master
Change-Id: I1ffe4911f9905f3d467e8f947fe7dc8c0fdd7222
Reviewed-on: http://review.typo3.org/40053
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Save PackageStates.php after deletion 41/40041/2
Nicole Cordes [Sat, 6 Jun 2015 10:56:20 +0000 (12:56 +0200)]
[BUGFIX] Save PackageStates.php after deletion

If you delete an extension in EM, the PackageManager currently saves
a broken PackagesStates.php with invalid extension information.

This patch adds a missing save invocation for the changed
PackageStatesConfiguration. Furthermore a new path check is executed
while restoring the PackageStatesConfiguration because otherwise a
package with a wrong packagePath is registered.

Resolves: #67294
Releases: master
Change-Id: I9ad3b56a382f980e703009f8343ddb151ef4a8b1
Reviewed-on: http://review.typo3.org/40041
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-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] Reduce diff size on PackageStates changes 48/40048/2
Markus Klein [Sat, 6 Jun 2015 13:55:27 +0000 (15:55 +0200)]
[TASK] Reduce diff size on PackageStates changes

Sorting the available packages by key before running the
DependencyResolver ensures that equivalent (loading order does not matter)
packages have a fixed order in the PackageStates in the end.

Resolves: #67330
Releases: master, 6.2
Change-Id: Ibd7061aa8b1735f2bd5b7cbb9df2ba19b90bb884
Reviewed-on: http://review.typo3.org/40048
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] InstallTool: connect to DBMS before retrieving current schema 37/39937/2
Morton Jonuschat [Wed, 3 Jun 2015 20:59:40 +0000 (22:59 +0200)]
[BUGFIX] InstallTool: connect to DBMS before retrieving current schema

SqlSchemaMigrationService needs to explicitly connect to the database
before retrieving the current schema. On native MySQL connections this
happens implicitly when using sql_select_db(), on DBAL a connectDB() is
required.

Resolves: #67286
Releases: master, 6.2
Change-Id: I2c93111f1f6919f31d71b4b46fd353d9a3629dbc
Reviewed-on: http://review.typo3.org/39937
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Make JsonEncodeViewHelper compilable 03/40003/3
Wouter Wolters [Fri, 5 Jun 2015 18:11:33 +0000 (20:11 +0200)]
[TASK] Make JsonEncodeViewHelper compilable

Resolves: #67318
Releases: master
Change-Id: Ia5a32e24127bf0a3a6be5bf1c408991c5b2ba0f5
Reviewed-on: http://review.typo3.org/40003
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Fix ambiguous identifier for imagesizes cache 79/39979/5
Christian Reiter [Fri, 5 Jun 2015 12:00:14 +0000 (14:00 +0200)]
[BUGFIX] Fix ambiguous identifier for imagesizes cache

Use sha1 of filepath instead of filemtime and filesize as identifier for
cached image dimensions to enable invalidation of stale cached entries
when an image is altered.
This also fixes cache collisions when dimensions are cached for a large
number of images with equal mtimes, some of which may also have equal
filesize, but different dimensions.

Releases: master
Resolves: #67289
Related: #28484
Change-Id: I520a8292dfbf3beb8efae996d286471e641ffd07
Reviewed-on: http://review.typo3.org/39979
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[TASK] Make belog ViewHelpers compilable 02/40002/4
Wouter Wolters [Fri, 5 Jun 2015 17:40:01 +0000 (19:40 +0200)]
[TASK] Make belog ViewHelpers compilable

Resolves: #66749
Releases: master
Change-Id: I2a6e96eed3b754fe3887bfe33fe81ee5af0d7ee8
Reviewed-on: http://review.typo3.org/40002
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Respect _FILE/_STRING in versioning 56/39856/4
Alexander Opitz [Mon, 1 Jun 2015 09:32:48 +0000 (11:32 +0200)]
[BUGFIX] Respect _FILE/_STRING in versioning

References with _FILE/_STRING as ref_table have special meanings and
can't be loaded from database.

Resolves: #66572
Releases: master, 6.2
Change-Id: Ibc942c600652a005368e1eab67cbc24f4efb7dde
Reviewed-on: http://review.typo3.org/39856
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Correct dependency handling in workspaces module 58/38858/4
Dominique Kreemers [Wed, 22 Apr 2015 13:42:19 +0000 (15:42 +0200)]
[BUGFIX] Correct dependency handling in workspaces module

This patch fixes a bug where records, which have references
pointing to them, are in a table that is disabled for
workspaces throw an element not found RuntimeException.

Without this change, you will get an error in the workspace module
for tables that are not workspace-enabled, but have file references
pointing to them.

Change-Id: I16c42f0347e0c1c6d916e24f865eb2af643929da
Resolves: #66523
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/38858
Reviewed-by: Frank Nägler <typo3@naegler.net>
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>
3 years ago[FEATURE] Add field "copyright" to EXT:filemetadata 34/40034/4
Georg Ringer [Fri, 5 Jun 2015 20:21:48 +0000 (22:21 +0200)]
[FEATURE] Add field "copyright" to EXT:filemetadata

A copyright information can be very helpful. Therefore
this field should be available as well.

Change-Id: Ib237ee856f45f26d42e7e15bf94798e9348c129a
Resolves: #67319
Releases: master
Reviewed-on: http://review.typo3.org/40034
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] BE-Login: redirect if already authenticated 37/40037/3
Frank Nägler [Fri, 5 Jun 2015 22:16:45 +0000 (00:16 +0200)]
[BUGFIX] BE-Login: redirect if already authenticated

Resolves: #67321
Related: #66669
Releases: master
Change-Id: Ib8de4463194a304467b06d3d0c00f42943e6b8d5
Reviewed-on: http://review.typo3.org/40037
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Restore "copy default CE" button functionality 35/40035/2
Markus Klein [Fri, 5 Jun 2015 21:59:50 +0000 (23:59 +0200)]
[BUGFIX] Restore "copy default CE" button functionality

This solves a regression to #66707.
The "copy default content elements" button in Language view of
the Page module is working again.

Resolves: #67320
Releases: master
Change-Id: I0f7b486f7fe9c39362c17613273e2ae6611fade8
Reviewed-on: http://review.typo3.org/40035
Reviewed-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Show backend user in record info popup 39/40039/2
Markus Klein [Fri, 5 Jun 2015 23:19:05 +0000 (01:19 +0200)]
[BUGFIX] Show backend user in record info popup

This solves a regression to #55699.

Resolves: #67309
Releases: master, 6.2
Change-Id: Ia1c3f0efe871ba2742029883e7fcc919e3145ae9
Reviewed-on: http://review.typo3.org/40039
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>
3 years ago[TASK] Mention slack instead of IRC in README.md 38/40038/3
Christian Kuhn [Fri, 5 Jun 2015 22:39:45 +0000 (00:39 +0200)]
[TASK] Mention slack instead of IRC in README.md

Resolves: #67324
Releases: master
Change-Id: I8306a339b02e346a9b5548f21d4e815443101554
Reviewed-on: http://review.typo3.org/40038
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
3 years ago[CLEANUP] RTE plugin classes 36/40036/3
Christian Kuhn [Fri, 5 Jun 2015 22:07:19 +0000 (00:07 +0200)]
[CLEANUP] RTE plugin classes

* use statements
* Use default values from abstract class
* Fix tons of comments
* Some obvious code simplifications

Change-Id: I844efbf830cf2506f2b9c7caadd6826dc67718e9
Resolves: #67323
Releases: master
Reviewed-on: http://review.typo3.org/40036
Reviewed-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
3 years ago[BUGFIX] Illegal string offset ´showitem´ in ExtensionManagementUtility 29/39929/5
Wouter Wolters [Wed, 3 Jun 2015 18:57:06 +0000 (20:57 +0200)]
[BUGFIX] Illegal string offset ´showitem´ in ExtensionManagementUtility

Resolves: #67285
Releases: master,6.2
Change-Id: I1e02ef7af6b8a4ee8301fa8b2fdaaf3928316815
Reviewed-on: http://review.typo3.org/39929
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
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>
3 years ago[!!!][FOLLOWUP][TASK] Simplify PackageManagement 26/39626/4
Benjamin Mack [Wed, 20 May 2015 05:45:45 +0000 (13:45 +0800)]
[!!!][FOLLOWUP][TASK] Simplify PackageManagement

This change cleans up more unneeded functionality, and adds / fixes
some comments and streamlines some function calls within the Package
management itself.

Resolves: #67027
Releases: master
Change-Id: I26beddeeb8f014089545aa153fa38494e5bbd3d4
Reviewed-on: http://review.typo3.org/39626
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[TASK] Update to phpunit 4.7 77/39977/2
Christian Kuhn [Fri, 5 Jun 2015 11:44:03 +0000 (13:44 +0200)]
[TASK] Update to phpunit 4.7

Update to latest stable for no specific reason. Since
we are trying to keep master & 6.2 in sync on the testing
side, the patch is requested for 6.2 as well.

Resolves: #67312
Releases: master, 6.2
Change-Id: I7b42083a80a1b0ba2af9074793d9413c6008820f
Reviewed-on: http://review.typo3.org/39977
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[TASK] Adjust Log tests for changed exception format in PHP7 59/39859/3
Alexander Opitz [Mon, 1 Jun 2015 10:51:57 +0000 (12:51 +0200)]
[TASK] Adjust Log tests for changed exception format in PHP7

https://github.com/php/php-src/commit/3ae995f03c8f60c4a4c9718262545cf5a6a08da3

Resolves: #67189
Releases: master, 6.2
Change-Id: Icc94ebb403d963b6cdb367df8e7a590c581e940c
Reviewed-on: http://review.typo3.org/39859
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[BUGFIX] Do not try to resolve a path to t3lib 09/39909/2
Markus Klein [Wed, 3 Jun 2015 07:40:36 +0000 (09:40 +0200)]
[BUGFIX] Do not try to resolve a path to t3lib

Resolves: #67267
Releases: master, 6.2
Change-Id: Ic866968a02a4e41df74ae56acd160d21177537d7
Reviewed-on: http://review.typo3.org/39909
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[BUGFIX] Fix FileList ordering for upper/lowercase 50/37250/8
Alexander Opitz [Thu, 26 Feb 2015 09:44:39 +0000 (10:44 +0100)]
[BUGFIX] Fix FileList ordering for upper/lowercase

File names which only differ in upper/lowercase writing are now sorted
stable with uppercase first.

Resolves: #65319
Releases: master, 6.2
Change-Id: Ib1b907cb8aed6364aadc4f028cfc9294b5c18884
Reviewed-on: http://review.typo3.org/37250
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[TASK] DBAL: Autoloading for userdefined database-handler 49/32949/4
Stefan Neufeind [Wed, 24 Sep 2014 01:26:47 +0000 (03:26 +0200)]
[TASK] DBAL: Autoloading for userdefined database-handler

Make specifying a classFile optional. If not given,
it may simply be loaded using the autoloader.

Change-Id: Ib8168d014f814a58d1e58e641287cc64bee3e095
Resolves: #61829
Releases: master
Reviewed-on: http://review.typo3.org/32949
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[!!!][BUGFIX] Check for existing index column in exec_SELECTgetRows() 07/39807/7
Markus Klein [Fri, 29 May 2015 21:18:40 +0000 (23:18 +0200)]
[!!!][BUGFIX] Check for existing index column in exec_SELECTgetRows()

In case the specified $uidIndexField does not exist in the result,
throw an exception.

Do not call debug() again since it has already been called in
exec_SELECTquery().

Resolves: #67204
Releases: master
Change-Id: I3b0a49a24da50b8ee5390f0619bf78e2e3fe772d
Reviewed-on: http://review.typo3.org/39807
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[BUGFIX] Fix broken hook in DatabaseRecordList 13/39913/3
Tim Lochmüller [Wed, 3 Jun 2015 09:39:18 +0000 (11:39 +0200)]
[BUGFIX] Fix broken hook in DatabaseRecordList

This patch fix broken hook in DatabaseRecordList,
If there are more than one hook registered, the compatibility layer is
broken, because the restructure process of the cells was executed
multiple times.

Resolves: #67270
Releases: master
Change-Id: If9ea77c4b79076f39dc622cc3258f4e2dccceff0
Reviewed-on: http://review.typo3.org/39913
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Call initializeObject() after instantiating empty objects 14/39914/5
Morton Jonuschat [Wed, 3 Jun 2015 09:38:22 +0000 (11:38 +0200)]
[BUGFIX] Call initializeObject() after instantiating empty objects

If the object is initializable and has a callable initializeObject()
method run that so that initialization work will be done.

This affects model instances retrieved from the persistence.

Resolves: #67272
Resolves: #67274
Related: #66473
Releases: master, 6.2
Change-Id: I7b0278855270e8fa6ef75a424d339d072af29c54
Reviewed-on: http://review.typo3.org/39914
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
3 years ago[BUGFIX] Delete FAL records + relations in ResourceStorage::deleteFolder() 51/39951/2
Frans Saris [Thu, 4 Jun 2015 15:08:50 +0000 (17:08 +0200)]
[BUGFIX] Delete FAL records + relations in ResourceStorage::deleteFolder()

When deleting a folder (recursive) also delete all FAL records and
relations to keep the FAL index up-to-date.

Resolves: #67084
Releases: master, 6.2
Change-Id: Ic3ae51a568ad43e6283e3900da24796656c9347c
Reviewed-on: http://review.typo3.org/39951
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-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[!!!][FEATURE] BE Login form API 34/39234/29
Frank Nägler [Sun, 3 May 2015 11:41:53 +0000 (13:41 +0200)]
[!!!][FEATURE] BE Login form API

With the new login screen (introduced in 7.2) the possibility to
override or extend the login template was removed.
The old globals ``$GLOBALS['TBE_STYLES']['htmlTemplates']`` was
removed without replacement.

With this patch we introduce a new way to extend the login form and
add a BE login form API.

Resolves: #66669
Releases: master
Change-Id: I36ab4cdabbab55f370d1fd19b7212cf2f858db57
Reviewed-on: http://review.typo3.org/39234
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[BUGFIX] PropertyMapper now normalizes simple types 28/39628/3
Wouter Wolters [Wed, 20 May 2015 09:00:18 +0000 (11:00 +0200)]
[BUGFIX] PropertyMapper now normalizes simple types

This fixes a bug where the property mapper was unable to find a
valid typeconverter for properties annotated with int or bool.

Resolves: #67044
Releases: master,6.2
Change-Id: Ie15b6d83e70c5857a09f1d8baa21c168924d63b4
Reviewed-on: http://review.typo3.org/39628
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[!!!][FEATURE] FormEngine: The extendables 62/39662/32
Christian Kuhn [Fri, 22 May 2015 12:02:13 +0000 (14:02 +0200)]
[!!!][FEATURE] FormEngine: The extendables

For details, see the ReST files with examples for new API
and TCA changes.

* Split TCA config "type" to "type" and "renderType":
  TCA config "type" is a technical debt since it both defines the
  database storage as well as the widget that is used to render
  a certain field in FormEngine. While "type" is kept, the
  render widget is now extracted to a "renderType".

* t3editor uses this "renderType" now. type=text with
  renderType=t3editor will call the new T3editorElement provided
  by ext:t3editor, and falls back to TextElement if t3editor is
  not loaded.

* t3editor is now enabled for "setup" and "constants" of
  sys_template records if opening the whole record.

* t3editor now works when configured in a flex form.

* Introduce an API in FormEngine NodeFactory to register new
  renderType, used by t3editor.

* Introduce a resolver API in FormEngine NodeFactory to change
  the class that renders a widget or container.

* Split TextElement into TextElement that only renders a textarea
  and RichTextElement provided by ext:rtehtmlarea that renders RTE.
  ext:rtehtmlarea uses the new resolver API to route rendering to
  its own class in case RTE is enabled and configured for a field.

* In TCA section "types" a new array "columnsOverrides" is
  introduced that allows overwriting some column configurations
  of fields. Currently, this works for some View/FormEngine related
  settings like renderType and defaultExtras.

* TCA Migration is introduced to dynamically rewrite TCA before
  it is put into cache.

* TCA migration is called a second time in ext:compatibility6 in
  case TCA is still registered via ext_tables.php. This has performance
  penalty since it is done on every frontend and backend call.

* TCA migration is also called dynamically for flex form definitions.

* TCA migration moves configured t3editor wizards to type=text with
  renderType=t3editor.

* TCA migration removes the 5th parameter "style pointer" from
  types showitem

* TCA migration moves the 4th showitem parameter "extra configuration"
  to "defaultExtras" of "columnsOverrides" of given TCA type.

Change-Id: Ia2c2bc16463a01021c7a6be765b4efa872a130fd
Resolves: #67229
Releases: master
Reviewed-on: http://review.typo3.org/39662
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: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
3 years ago[TASK] Add Travis CI build status badge to README 39/39939/3
Andy Grunwald [Wed, 3 Jun 2015 20:47:48 +0000 (22:47 +0200)]
[TASK] Add Travis CI build status badge to README

According to the "Pre-Merge-Tests" for TYPO3 (Gerrit -> Travis CI)
it make sense to add the Travis CI Build badge to the README.

It is not a big feature, but a nice small addition
for the TYPO3-Syncs from git.typo3.org to github like:

* https://github.com/TYPO3/TYPO3.CMS
* https://github.com/typo3-ci/TYPO3.CMS-pre-merge-tests

Furthermore this a small task at the road to get Pre-Merge-Tests ready.

Change-Id: I2d4402a5253deef7bcfb62e3d42454ba84ccc04b
Resolves: #67287
Releases: master
Reviewed-on: http://review.typo3.org/39939
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
3 years ago[BUGFIX] Clear cache_treelist table in Install Tool 16/39916/3
Wouter Wolters [Wed, 3 Jun 2015 11:24:41 +0000 (13:24 +0200)]
[BUGFIX] Clear cache_treelist table in Install Tool

This is not implemented in the caching framework and
needs to be cleared manually.

Resolves: #67275
Releases: master,6.2
Change-Id: I05f4fb96eedff1002b843ef51b184bbd50493290
Reviewed-on: http://review.typo3.org/39916
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
3 years ago[TASK] Code cleanup EXT:backend/Classes/Controller/ContentElement/*.php 12/37512/9
Michael Oehlhof [Tue, 3 Mar 2015 22:19:19 +0000 (23:19 +0100)]
[TASK] Code cleanup EXT:backend/Classes/Controller/ContentElement/*.php

- add missing return values
- declare missing class variables
- remove unused variable assingments
- add getter for LanguageService
- add getter for BackendUser

Resolves: #65497
Releases: master
Change-Id: If6303319811e8c5c0979403c4399f8aa19459eb8
Reviewed-on: http://review.typo3.org/37512
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[!!!][FEATURE] Flash message view helper add deferred rendering 18/34818/18
Helmut Hummel [Sun, 30 Nov 2014 15:39:32 +0000 (16:39 +0100)]
[!!!][FEATURE] Flash message view helper add deferred rendering

Deprecate renderMode in favor of a flexible deferred
rendering of flash messages in the Fluid template.

This means that flash messages should no longer contain HTML tags
but only plain text, if rendered by the default rendering.

The rendered output will by default now be a <ul> list.
The usage of renderMode in the Core is removed and styles are
adapted to match the previous output.

The core is adapted to now use htmlspecialchars in a controller context
for user input. Encoding is now taken care of during rendering of
the Fluid template.

Resolves: #63453
Releases: master
Change-Id: Ie02d2e1441ca2b3c7c159ffa917f7040f50327b5
Reviewed-on: http://review.typo3.org/34818
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
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[CLEANUP] Correct case for SimpleXMLElement 96/39896/8
Stephan Großberndt [Tue, 2 Jun 2015 13:23:08 +0000 (15:23 +0200)]
[CLEANUP] Correct case for SimpleXMLElement

Use the correct case 'SimpleXMLElement' instead of 'SimpleXmlElement'
when loading locallang.xml and remove backslashes for options.

Resolves: #67242
Related: #67234
Releases: master
Change-Id: Ia1234b7887396e1b848e6e74f0453ad5c8035e0c
Reviewed-on: http://review.typo3.org/39896
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] addToAllTCAtypes() must replace fields correctly 10/39910/3
Markus Klein [Wed, 3 Jun 2015 08:40:51 +0000 (10:40 +0200)]
[BUGFIX] addToAllTCAtypes() must replace fields correctly

The changes made in #57824 cause the replace functionality to fail.

Resolves: #67259
Releases: master, 6.2
Change-Id: If0d5773f2905bdae50ab7aa607c01422d18e7f81
Reviewed-on: http://review.typo3.org/39910
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: rengaw83 <rengaw83@gmx.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>
3 years ago[TASK] Replace t3lib occurences in the core 03/39903/2
Wouter Wolters [Tue, 2 Jun 2015 17:47:18 +0000 (19:47 +0200)]
[TASK] Replace t3lib occurences in the core

Resolves: #67251
Releases: master
Change-Id: I75dcc244eb3a1abd9d33f04421523b548283b7c1
Reviewed-on: http://review.typo3.org/39903
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Make SQL Schema Parser aware of combined indexes 86/39786/4
Frank Nägler [Fri, 29 May 2015 09:32:24 +0000 (11:32 +0200)]
[TASK] Make SQL Schema Parser aware of combined indexes

The patch fix problems with multiple parenthesis. e.g.
uid_foreign,tablenames(255),fieldname(255),sorting_foreign

Resolves: #66738
Releases: master
Change-Id: I49abc597e9c325a22d49c3d76355ecadec30a35d
Reviewed-on: http://review.typo3.org/39786
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Type checking at PageRepository::getFileReferences() call 80/36480/7
Alina Fleser [Fri, 30 Jan 2015 22:17:25 +0000 (00:17 +0200)]
[BUGFIX] Type checking at PageRepository::getFileReferences() call

Verification of parent element ($element) type before
PageRepository::getFileReferences() call
in FilesContentObject::handleFileReferences
to avoid PHP error in case of null value

Resolves: #64239
Resolves: #62616
Releases: master, 6.2
Change-Id: I8b89710af97eb37eee9518392e89ddeceb5b9f57
Reviewed-on: http://review.typo3.org/36480
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[BUGFIX] Import Selection with TYPO3 Element Browser 44/39744/4
Frank Nägler [Tue, 26 May 2015 14:07:56 +0000 (16:07 +0200)]
[BUGFIX] Import Selection with TYPO3 Element Browser

This patch fixes the "Import Selection" link in the element browser.

Resolves: #47322
Releases: master, 6.2
Change-Id: Ic9b7ed37f0bd25d47e6b97036e1244b97b218f3b
Reviewed-on: http://review.typo3.org/39744
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
3 years ago[TASK] Remove references to t3lib in DefaultConfiguration 02/39902/2
Wouter Wolters [Tue, 2 Jun 2015 17:09:29 +0000 (19:09 +0200)]
[TASK] Remove references to t3lib in DefaultConfiguration

Resolves: #67250
Releases: master
Change-Id: If9868831bd4ef6bffa0e34e532769a384ea2511b
Reviewed-on: http://review.typo3.org/39902
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[TASK] Reduce duplicated paths for bowercopy 66/39866/4
Mathias Brodala [Mon, 1 Jun 2015 13:04:59 +0000 (15:04 +0200)]
[TASK] Reduce duplicated paths for bowercopy

This makes use of the destPrefix option to set the target base
path only once.

Also drop the leading slash from source path which is unnecessary.

Resolves: #67226
Releases: master
Change-Id: I9d4b19479075a36fd8a7bbab1d65a4e1ce8bcb06
Reviewed-on: http://review.typo3.org/39866
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[FEATURE] Remove ViewHelper xmlns-attributes and specified html tag 72/38472/43
Andreas Allacher [Sat, 4 Apr 2015 05:24:56 +0000 (05:24 +0000)]
[FEATURE] Remove ViewHelper xmlns-attributes and specified html tag

In order to include ViewHelper namespaces with xmlns:*-attributes
it is currently required to use e.g. a HTML tag to allow code-completion
by an IDE. The tag itself will also be rendered.
To avoid rending the tag, workarounds are necessary.
One is to use sections, but this approach is counter-intuitive and has
rendering overhead due to extra sections being used. Additionally it is
not possible to use this workaround in layouts.

This patch introduces new functionality to remove all xmlns-attributes
which match ViewHelper namespaces.
For HTML output, we introduce a new attribute, which will cause Fluid
to remove the HTML-tag as well.
The attributes is called >data-namespace-typo3-fluid="true"<

Change-Id: I709d17da86cd79b7b3ba5c83b3f2bd6df8e2bd98
Releases: master
Resolves: #66269
Reviewed-on: http://review.typo3.org/38472
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Schmidt <daniel@netz-basis.com>
Tested-by: Daniel Schmidt <daniel@netz-basis.com>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[CLEANUP] File object 29/39429/4
Sascha Egerer [Mon, 11 May 2015 10:29:56 +0000 (12:29 +0200)]
[CLEANUP] File object

In the TYPO3\CMS\Core\Resource\File object the logic to load
metaDataProperties was implemented at multiple places but there
is also a method _getMetaData() that handles this logic.
The method _getMetaData() should be used instead of duplicating
the logic at multiple places.

Additionally some code is removed, which checks the
metaDataProperties member for NULL values, which can never
be the case.

Resolves: #66878
Releases: master
Change-Id: I01939a66aa58629f2c6dc08656647375460cc4e9
Reviewed-on: http://review.typo3.org/39429
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[FOLLOWUP][BUGFIX] dont set fePreview=2 with ADMCMD_noBeUser 63/39863/3
Andreas Fernandez [Mon, 1 Jun 2015 12:51:08 +0000 (14:51 +0200)]
[FOLLOWUP][BUGFIX] dont set fePreview=2 with ADMCMD_noBeUser

Restructure the nested condition for the sake of readability.

Releases: master, 6.2
Resolves: #67224
Change-Id: I25161348509245dee56b61f3a1f15d9bc778500b
Reviewed-on: http://review.typo3.org/39863
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
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>
3 years ago[BUGFIX] dont set fePreview=2 with ADMCMD_noBeUser 34/27834/5
Peter Niederlag [Wed, 19 Feb 2014 16:17:04 +0000 (17:17 +0100)]
[BUGFIX] dont set fePreview=2 with ADMCMD_noBeUser

The workspace preview adds the GET parameter ADMCMD_noBeUser
when requesting the frame for live preview.

$GLOBALS[BE_USER] is unset in index_ts.php when seeing ADMCMD_noBeUser.

In TypoScriptFrontendController fePreview=2 must not be set when
ADMCMD_noBeUser parameter is present to prevent fatal errors on
calling methods on a non-existent $GLOBALS[BE_USER]

Releases: master, 6.2
Resolves: #30643
Change-Id: Idff7febcaaa8b87bd65a993b1860ad378e09b22f
Reviewed-on: http://review.typo3.org/27834
Reviewed-by: Lorenz Ulrich <lorenz.ulrich@visol.ch>
Tested-by: Lorenz Ulrich <lorenz.ulrich@visol.ch>
Reviewed-by: Markus Bucher <markusbucher@gmx.de>
Tested-by: Markus Bucher <markusbucher@gmx.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
3 years ago[BUGFIX] Allow removal of search term in Page / List module 43/39743/3
Andreas Fernandez [Tue, 26 May 2015 13:52:00 +0000 (15:52 +0200)]
[BUGFIX] Allow removal of search term in Page / List module

It wasn't possible to remove the search term used in the search
in the Page and List module below the docheader, because it was
checked for an empty submit button. The checks are removed now.

Resolves: #66552
Releases: master
Change-Id: I7113f5a00903326f9d12ee06b3510a376ff0f772
Reviewed-on: http://review.typo3.org/39743
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[TASK] Do not generate new processed file if it already exists 09/39709/5
Frans Saris [Mon, 25 May 2015 14:48:53 +0000 (16:48 +0200)]
[TASK] Do not generate new processed file if it already exists

When a processed file already exists but the sys_file_processedfile
record is deleted the whole processing task is executed again even
if the file already exists.

This change first checks if `targetFile` already exists and if so
uses that file and marks the task as done.

Currently this only works for `Local` file storages as the FAL API
misses proper methods get a file by folder identifier and file name.
When https://review.typo3.org/38479/ is merged a follow up is
needed for master #67126.

Resolves: #67095
Releases: master
Change-Id: I352428ddaf1d2afe4bbf031992b484ade3635e4a
Reviewed-on: http://review.typo3.org/39709
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[CLEANUP] Make use of bool/int in @param DocComments 35/39835/2
Frank Nägler [Sat, 30 May 2015 19:23:58 +0000 (21:23 +0200)]
[CLEANUP] Make use of bool/int in @param DocComments

Resolves: #67213
Releases: master
Change-Id: I8ed7802f4e4e3d95ecb946231d11b46956ea4477
Reviewed-on: http://review.typo3.org/39835
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[CLEANUP] Remove usage of self::class 25/39825/2
Frank Nägler [Sat, 30 May 2015 13:42:16 +0000 (15:42 +0200)]
[CLEANUP] Remove usage of self::class

This patch remove the usage of self::class and make use of __CLASS__
in context of methods like makeInstance. As array key, we use the
full qualified namespace followed by ::class.

Resolves: #67211
Releases: master
Change-Id: I60e5b33313a19cdef4705b04af892916923cc97c
Reviewed-on: http://review.typo3.org/39825
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] Only persist processedFile if processing was successful 96/39696/5
Frans Saris [Mon, 25 May 2015 07:19:24 +0000 (09:19 +0200)]
[BUGFIX] Only persist processedFile if processing was successful

Due to multiple reasons (for instance target folder is not writable)
the processing of a file can fail.

This change prevents wrong data being saved in sys_file_processedfile
when processing failed.

Resolves: #67094
Releases: master, 6.2
Change-Id: I6051d503ba74629dc6493b7bac9f28bf320aeb66
Reviewed-on: http://review.typo3.org/39696
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[BUGFIX] Add t3skin to class loading info in composer.json 17/39817/2
Helmut Hummel [Sat, 30 May 2015 11:56:48 +0000 (13:56 +0200)]
[BUGFIX] Add t3skin to class loading info in composer.json

With #65528 t3skin was made a protected extension, but it was forgotten
to add the extension to the class loading information array in composer.json

Do this now, so that composer class loading is active
for all protected core extensions.

Releases: master
Resolves: #67207
Change-Id: I9138d84f715c4e372763a5f17ef40f2a176cae10
Reviewed-on: http://review.typo3.org/39817
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
3 years ago[BUGFIX] FeLogin: FlexForm is misleading 71/39671/5
Daniel Goerz [Sat, 23 May 2015 08:32:47 +0000 (10:32 +0200)]
[BUGFIX] FeLogin: FlexForm is misleading

The option showLogoutFormAfterLogin in the FeLogin FlexForm actually
disables all redirect configuration on login. This patch reflects
that behavior by adjusting its label to better describe what it actually does.

Since the redirect is turned off if showLogoutFormAfterLogin is set
the FrontendLoginController is also prevented from gathering redirect
URLs in the first place.

Change-Id: I0be9d166e67dd055d6057e841d9fd5509ed1e8a7
Resolves: #67115
Releases: master
Reviewed-on: http://review.typo3.org/39671
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[BUGFIX] Pass correct parameter to linkhandler 97/39797/3
Francois Suter [Fri, 29 May 2015 13:24:23 +0000 (15:24 +0200)]
[BUGFIX] Pass correct parameter to linkhandler

Since the refactoring of typolink, one wrong parameter is passed
to registered linkhandler hooks. This patch restores the right
parameter.

Resolves: #67199
Releases: master
Change-Id: I781c00abc015cc38c0c51fbb84d5063b887c72cc
Reviewed-on: http://review.typo3.org/39797
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
3 years ago[FOLLOWUP][BUGFIX] Show full folder path in file list title 67/39767/3
Frans Saris [Thu, 28 May 2015 06:57:26 +0000 (08:57 +0200)]
[FOLLOWUP][BUGFIX] Show full folder path in file list title

In old situation the full path to of the folder was shown.
With #64759 only the accessible part is shown. The logic
to determine what the root is of the 'current' filemount
is not suitable for this and will always return the root path of
the first filemount within the storage. This could result in a wrong
root identifier.

This patch fixes the output of the readable path to the
full path by using the real storage root instead of the storage root
defined by the filemount.

Resolves: #67148
Related: #64759
Releases: master, 6.2
Change-Id: Ie00fa2dc7d3833f798c5a2913bb9674b2b15b6e7
Reviewed-on: http://review.typo3.org/39767
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[FEATURE] Add "processed files" cleanup tool to Install Tool 56/39656/10
Markus Klein [Fri, 22 May 2015 00:27:39 +0000 (02:27 +0200)]
[FEATURE] Add "processed files" cleanup tool to Install Tool

Resolves: #67071
Releases: master, 6.2
Change-Id: I1320833f0f7cfd852ca8ba458fa9367cb3b16ea0
Reviewed-on: http://review.typo3.org/39656
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
3 years ago[TASK] PHP7 is_numeric change 45/39745/3
Alexander Opitz [Tue, 26 May 2015 14:09:34 +0000 (16:09 +0200)]
[TASK] PHP7 is_numeric change

With PHP 7 the string 0x0 isn't any longer a numeric, so the test
fails. But the test itself makes no sense and is removed.

Resolves: #65320
Releases: master, 6.2
Change-Id: Id7569dfb859ecee7c85c595640515781b1423614
Reviewed-on: http://review.typo3.org/39745
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>