Packages/TYPO3.CMS.git
6 years ago[BUGFIX] TypoScript stripProfile not forwarded to ProcessedFile 57/19957/2
Oliver Hader [Thu, 11 Apr 2013 22:02:49 +0000 (00:02 +0200)]
[BUGFIX] TypoScript stripProfile not forwarded to ProcessedFile

The TypoScript stripProfile feature not forwarded to
ProcessedFile anymore. Example of the feature that has
been available in TYPO3 CMS 4.x:

10 = IMAGE
10.file = fileadmin/images/image1.jpg
10.file.stripProfile = 1

The protected method modifyImageMagickStripProfileParameters()
does not make any sense anymore since the actual ImageMagick
processing has been moved around in TYPO3 CMS 6.0.

Fixes: #47145
Releases: 6.0, 6.1
Change-Id: If9a36def32327d3fc610b5f4ebc998bee2babf49
Reviewed-on: https://review.typo3.org/19814
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/19957
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Catch correct exception if file has been removed 46/19946/2
Georg Ringer [Sat, 13 Apr 2013 20:53:45 +0000 (22:53 +0200)]
[BUGFIX] Catch correct exception if file has been removed

If having a file in the clipboard and the file gets removed,
the wrong exception is caught.

Change-Id: I8561465c3ec2577ebfb2b77e481e3c9dd3821958
Fixes: #47189
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19945
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/19946

6 years ago[TASK] Raise submodule pointer 27/19927/2
Christian Kuhn [Sat, 13 Apr 2013 15:59:34 +0000 (17:59 +0200)]
[TASK] Raise submodule pointer

Change-Id: Id55bb3924471bb98497c7c99e047ffd8c09d757d
Reviewed-on: https://review.typo3.org/19927
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Add/drop usage of preg_quote() where needed 25/19925/2
Stefan Neufeind [Wed, 2 May 2012 23:20:14 +0000 (01:20 +0200)]
[TASK] Add/drop usage of preg_quote() where needed

In some places preg_quote() is not used or is used incorrectly.
In other places there are preg_quote() calls which had no
real function.

Change-Id: If201394036d17a68cea41903f849c6c5ea11b069
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Resolves: #36793
Reviewed-on: https://review.typo3.org/19925
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Inefficient cache handling in LocalizationFactory 21/19921/2
Christian Kuhn [Sat, 13 Apr 2013 12:13:56 +0000 (14:13 +0200)]
[BUGFIX] Inefficient cache handling in LocalizationFactory

Calling has() in front of get() is inefficient and can be optimized.

Change-Id: Id8048023cc2305534a494664b402d47911087db6
Fixes: #47184
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19921
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 19/19919/2
Christian Kuhn [Sat, 13 Apr 2013 13:17:12 +0000 (15:17 +0200)]
[TASK] Raise submodule pointer

Change-Id: I0d015e18dc179432169fe82593e40fc89a92cf34
Reviewed-on: https://review.typo3.org/19919
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Language cache is not cleared anymore 09/19909/2
Oliver Hader [Sat, 13 Apr 2013 11:53:54 +0000 (13:53 +0200)]
[BUGFIX] Language cache is not cleared anymore

The language cache is not cleared anymore due to
wrong condition in the hook method.

Change-Id: If549d57580d05a547f8c879eed31a1f72667c661
Related: #46205
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19909
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Empty clear cache command logged 05/19905/2
Oliver Hader [Sat, 13 Apr 2013 11:07:21 +0000 (13:07 +0200)]
[BUGFIX] Empty clear cache command logged

If e.g. enabling/disabling a record in the backend, an
additional empty clear cache command is logged, like
"User admin has cleared the cache (cacheCmd=)".

Change-Id: Ie7b6ee47c9e53c7ba399aada1f738fe700574e89
Fixes: #47181
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19905
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Cache file could not be written on concurrent actions 03/19903/2
Oliver Hader [Sat, 13 Apr 2013 10:54:12 +0000 (12:54 +0200)]
[BUGFIX] Cache file could not be written on concurrent actions

The hook to clear the language (l10n) caches is currently called
every time any element in the backend is modified. If concurrent
actions take place, flushing and regenerating this cache results
in an accordant exception like

The cache file ".../t3lib_l10n/3e2cbbda0301cf592e5831ef26c56b7b"
could not be written.

The solution is to only execute this hook if all or the temp.
caches shall be cleared

Change-Id: Iaf68f50e2f9bfcc3ffce64a0f5267673afd332ad
Fixes: #46205
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/19898
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/19903
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Raise submodule pointer 94/19894/2
Christian Kuhn [Sat, 13 Apr 2013 10:04:38 +0000 (12:04 +0200)]
[TASK] Raise submodule pointer

Change-Id: I334afaba9fea4bb7e8213e96051430b96ce3b088
Reviewed-on: https://review.typo3.org/19894
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix Non-static method tslib_cObj::calc() 64/19864/2
Wouter Wolters [Mon, 26 Nov 2012 20:40:56 +0000 (21:40 +0100)]
[BUGFIX] Fix Non-static method tslib_cObj::calc()

Non-static method tslib_cObj::calc() should
not be called statically

Change-Id: I9d6b5ac1c4e97164af8a3ce0eaaa0fe95c4a6860
Resolves: #38600
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/16754
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/19864

6 years ago[BUGFIX] Fix Non-static method tslib_cObj::getKey() 68/19868/2
Wouter Wolters [Mon, 26 Nov 2012 20:38:23 +0000 (21:38 +0100)]
[BUGFIX] Fix Non-static method tslib_cObj::getKey()

Non-static method tslib_cObj::getKey() should
not be called statically

Change-Id: Ic5a8b54db751661a421385bcbccc264e01e958d3
Resolves: #38601
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/16753
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/19868
Reviewed-by: Stefan Neufeind
6 years ago[BUGFIX] Fix Non-static method tslib_cObj::enableFields() 69/19869/2
Wouter Wolters [Mon, 26 Nov 2012 20:17:49 +0000 (21:17 +0100)]
[BUGFIX] Fix Non-static method tslib_cObj::enableFields()

Non-static method tslib_cObj::enableFields() should
not be called statically

Change-Id: I93497b24618d29534331ac42d87ec2baec91cad6
Resolves: #38602
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/16751
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/19869

6 years ago[TASK] Raise submodule pointer 84/19884/2
Christian Kuhn [Sat, 13 Apr 2013 08:16:52 +0000 (10:16 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ib9b721e02dee42ee20bcc47579c403947897baa6
Reviewed-on: https://review.typo3.org/19884
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Don't set empty from-name when sending email 75/19875/2
Stefan Neufeind [Sun, 13 Jan 2013 13:49:45 +0000 (14:49 +0100)]
[BUGFIX] Don't set empty from-name when sending email

If no name is specified, only an email-address, for a sender
avoid setting an empty "from"-parameter.

Change-Id: I4274fd6d227d56d81b42be549e3780a2a29e06cc
Fixes: #44484
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/19875
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 74/19874/2
Christian Kuhn [Fri, 12 Apr 2013 20:54:46 +0000 (22:54 +0200)]
[TASK] Raise submodule pointer

Change-Id: I87fc15509dc97e2c83ccf54f09a8255d8e9411fd
Reviewed-on: https://review.typo3.org/19874
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Flash uploader doesn't work in Filelist clickmenus 11/19211/2
Lorenz Ulrich [Tue, 26 Feb 2013 13:27:08 +0000 (14:27 +0100)]
[BUGFIX] Flash uploader doesn't work in Filelist clickmenus

The Flash uploader only works in the click menu of the folder tree in
the Filelist module. It doesn't work in
- the click menu of a folder in the "right frame"
- the click menu in a folder (in the right top)
This is because the Flash uploader JS is only observing a click event
to a button but cannot be called directly.

Change-Id: I6da96f76a12d305e198b2db53c6009b6c9c1d13b
Resolves: #21288
Releases: 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/19211
Reviewed-by: Henrik Ziegenhain
Tested-by: Henrik Ziegenhain
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 59/19859/2
Christian Kuhn [Fri, 12 Apr 2013 16:27:16 +0000 (18:27 +0200)]
[TASK] Raise submodule pointer

Change-Id: I4dcc845917772764b39a2aedb84de6855369ace2
Reviewed-on: https://review.typo3.org/19859
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove last mentions of t3lib_formmail 36/19836/3
Christian Kuhn [Fri, 12 Apr 2013 12:42:42 +0000 (14:42 +0200)]
[TASK] Remove last mentions of t3lib_formmail

Change-Id: I7774323581f97bd3562eaa1fa67a5faae748446a
Resolves: #47160
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19834
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-on: https://review.typo3.org/19836

6 years ago[BUGFIX] Deprecate forgotten t3lib classes 31/19831/2
Christian Kuhn [Thu, 14 Mar 2013 14:01:50 +0000 (15:01 +0100)]
[BUGFIX] Deprecate forgotten t3lib classes

Nearly all classes in t3lib were namespaced with 6.0 except some
old deprecated functionality. Some of the files miss a proper
deprecation. This is fixed with the patch:

* Deprecate t3lib_readmail, t3lib_syntaxhl, t3lib_xml
* Move some forgotten constants from t3lib_svbase to bootstrap

Change-Id: I15a7c99e4ca254e22aa4037aed0e76e9495ef0e3
Fixes: #46278
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19831
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Namespace forgotten t3lib_formmail 28/19828/2
Christian Kuhn [Fri, 12 Apr 2013 11:27:21 +0000 (13:27 +0200)]
[BUGFIX] Namespace forgotten t3lib_formmail

Class t3lib_formmail was deprecated with 6.0 and not namespaced,
but it is still used by the default mail content object and
handles submitted data.
The patch post-namespaces the class for now and removes the
deprecation.

Fixes: #47157
Releases: 6.1, 6.0

Change-Id: I904020fbf269ea77d1cd45bd02cd7ce459e92eb0
Reviewed-on: https://review.typo3.org/19828
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 23/19823/2
Christian Kuhn [Fri, 12 Apr 2013 11:04:56 +0000 (13:04 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ie7c0d50bb631bbf78fcdd95f629dc6156f96cb4b
Reviewed-on: https://review.typo3.org/19823
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Make fetchUserRecord callable without username 74/19774/2
Robert Heel [Tue, 27 Nov 2012 00:24:28 +0000 (01:24 +0100)]
[BUGFIX] Make fetchUserRecord callable without username

t3lib_userAuth::fetchUserRecord is not callable without a username.
Fix the $usernameClause to generate a correct SQL query.

Change-Id: I56b5f8bf8b326e880f157c3b4a5a15409305c3d9
Fixes: #39248
Releases: 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/13041
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Mattias Nilsson
Reviewed-by: Nicole Cordes
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-on: https://review.typo3.org/19774

6 years ago[BUGFIX] Correct naming of TYPO3 database backend test 65/19765/2
Christian Kuhn [Tue, 9 Apr 2013 17:36:35 +0000 (19:36 +0200)]
[BUGFIX] Correct naming of TYPO3 database backend test

Class and filename are called DbBackendTest, but should be
Typo3DatabaseBackendTest.

Change-Id: I1ae8fca733151e05ae4aedf8a5a479f568e3e998
Fixes: #47082
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19765
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 61/19761/2
Christian Kuhn [Tue, 9 Apr 2013 14:48:20 +0000 (16:48 +0200)]
[TASK] Raise submodule pointer

Change-Id: I61b6347ecdb0787dd1f381f69ba0eb7afda8c681
Reviewed-on: https://review.typo3.org/19761
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Numeric check for upper/lower bound of flexform-values 02/19702/2
Anja Leichsenring [Mon, 10 Dec 2012 11:23:31 +0000 (12:23 +0100)]
[BUGFIX] Numeric check for upper/lower bound of flexform-values

The range-check in Flexforms uses the same code as for normal
tables. Normally an integer field would be of type integer.
But in Flexforms the value is a string as is the value in DS.

Change-Id: I3512a961780a4bef91e04f61b8b9547f43f28f3e
Fixes: #15771
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/19702
Reviewed-by: Nicole Cordes
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] File collection should request update after changing the storage 31/19731/2
Philipp Gampe [Sat, 6 Apr 2013 22:33:03 +0000 (00:33 +0200)]
[BUGFIX] File collection should request update after changing the storage

Currently the form is not reloaded if you change the storage inside a
file collection record.
You need to save the form before you can select a folder.

Automatically reload the form after changing the storage.

Fixes: #47007
Releases: 6.1,6.0
Change-Id: Ide6dddca64707f7f353aecc98943c79afd9eec78
Reviewed-on: https://review.typo3.org/19718
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-on: https://review.typo3.org/19731

6 years ago[BUGFIX] Images from non-local storages are not displayed 30/19730/2
Steffen Ritter [Sun, 21 Oct 2012 14:46:27 +0000 (16:46 +0200)]
[BUGFIX] Images from non-local storages are not displayed

The content object renderer adds absRefPrefix to all
generated image URLs, leading to incorrect URLs for
storages not relative to the siteroot. Additionally,
the URLs generated by the driver are also escaped in
ContentObjectRenderer::cImage(), leading to broken
absolute URLs.

Change-Id: I40c0a7ea55ff3a1155e7a05b1fc37da7d0cf44e4
Resolves: #42223
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/15837
Reviewed-by: Alexander Opitz
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-on: https://review.typo3.org/19730

6 years ago[BUGFIX] EM: add visual feedback for download+install 29/19729/3
Felix Kopp [Sun, 7 Apr 2013 09:18:08 +0000 (11:18 +0200)]
[BUGFIX] EM: add visual feedback for download+install

Process of downloading and installing remote extensions takes
some time - this patch brings visual feedback to inform users
that something complex is happening in the background.

Change-Id: Iae6c8ca90f163b49b0d6a63740eb773f29127d91
Fixes: #46274
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19729
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Function buildUrl does not handle port setting 26/19726/3
Nicole Cordes [Sun, 7 Apr 2013 09:04:04 +0000 (11:04 +0200)]
[BUGFIX] Function buildUrl does not handle port setting

The function buildUrl in the TYPO3\CMS\Core\Utility\HttpUtility class
does not handle any port setting. This has to be added after the host
setting separated by a colon.

Change-Id: Ie2b24dd076b8abc79ababbd19d6699d6a9fb47a3
Fixes: #47012
Releases: 6.1, 6.0, 4.7
Reviewed-on: https://review.typo3.org/19726
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Adjust category exception message to namespaces 27/19727/2
Benjamin Mack [Sun, 7 Apr 2013 09:33:40 +0000 (11:33 +0200)]
[BUGFIX] Adjust category exception message to namespaces

The exception message in ExtensionManagementUtility::makeCategorizable
now refers to namespaces instead of t3lib.

Fixes: #42996
Releases: 6.1, 6.0

Change-Id: Ifd52a2fb96335fa9bde6ec98b6ddcf8dd4c6bf74
Reviewed-on: https://review.typo3.org/16451
Reviewed-by: Steffen Ritter
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/19727

6 years ago[BUGFIX] IndexerService does not set creating user 96/19696/2
Steffen Ritter [Sat, 23 Mar 2013 14:11:11 +0000 (15:11 +0100)]
[BUGFIX] IndexerService does not set creating user

When a backenduser uploads a file an index record is
created. The sys_file table ships with the column cruser_id
 which is never been filled because all sys_file records
are created by the IndexerService which does not take care
of that field.

Add this knowledge to the indexer service.

Releases: 6.0, 6.1
Fixes: #46596
Change-Id: I2a82ea5375b892604fc1a27376487bc4efe3a16e
Reviewed-on: https://review.typo3.org/19696
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] Illegal string offset in EditDocumentController 15/19715/2
Philipp Gampe [Fri, 5 Apr 2013 22:22:34 +0000 (00:22 +0200)]
[BUGFIX] Illegal string offset in EditDocumentController

If a content element is opened from the opendocs module, a warning is
shown because overrideVals is used without checking if it is an array.

Fixes: #46965
Releases: 6.1, 6.0, 4.7, 4.5
Change-Id: If25b21121708226594cfac6436278c297f32ddb9
Reviewed-on: https://review.typo3.org/19715
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Hide move placeholder in WS preview 11/19711/2
Benjamin Mack [Sat, 6 Apr 2013 21:12:00 +0000 (23:12 +0200)]
[BUGFIX]  Hide move placeholder in WS preview

Move placeholder are visible in the navigation
during WS preview if they are moved for example
from the first to the second level.

Change-Id: I7e3339488d9d64cdf04154fb0334880f76576f8d
Fixes: #38705
Releases: 6.0,4.7,4.6,4.5
Reviewed-on: https://review.typo3.org/12666
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/19711

6 years ago[TASK] Small clean up in the page tree code 01/19701/2
Dmitry Dulepov [Tue, 19 Mar 2013 14:35:21 +0000 (18:35 +0400)]
[TASK] Small clean up in the page tree code

There are minor issues in the page tree code, which should be
cleaned up. This is a non-functionality change.

Change-Id: Ia4a27797293cb94d58927036ec33dd28a02d0961
Resolves: #46435
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19701
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] Write config to extTables destroys HTML output 07/19707/2
Philipp Gampe [Sat, 6 Apr 2013 18:47:43 +0000 (20:47 +0200)]
[BUGFIX] Write config to extTables destroys HTML output

If you enter HTML to update a field in e.g. TCA to write the value into
extTables.php, then the HTML will be printed into the configuration
module.
htmlspecialchar the output.

Fixes: #46999
Releases: 6.1,6.0,4.7,4.5
Change-Id: I390b4252316b8bdf01e5bbcc5a8b33833bdf73e8
Reviewed-on: https://review.typo3.org/19707
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Warning in getCompressedTCarray due to missing extTables.php 06/19706/4
Philipp Gampe [Sat, 6 Apr 2013 20:17:52 +0000 (22:17 +0200)]
[BUGFIX] Warning in getCompressedTCarray due to missing extTables.php

Since 6.0, constant TYPO3_extTableDef_script falls back to string
'extTables.php' if it is not defined otherwise. This might trigger
warnings for unclean code that used this constant before if the file
does not exist.

Fixes: #47002
Related: #44331
Related: #45122
Releases: 6.0
Change-Id: Id4e7f492f262735e965c70df0b770c62a6923773
Reviewed-on: https://review.typo3.org/19706
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Move code for clearing text fields to jquery plugin 92/19692/2
Jost Baron [Mon, 1 Apr 2013 20:59:53 +0000 (22:59 +0200)]
[TASK] Move code for clearing text fields to jquery plugin

The code for clearing text fields in the extension manager is now
encapsulated in a jquery plugin, and the form for searching the TER
is automatically submitted if it is cleared and a search result was
shown.

Resolves: #46853
Related: #43410
Releases: 6.1
Change-Id: I36ec6b3614cf18551018eba1d0dee15bdaf63b5e
Reviewed-on: https://review.typo3.org/19692
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix wrong string formatting 03/19703/2
Fabien Udriot [Wed, 13 Feb 2013 17:18:19 +0000 (18:18 +0100)]
[BUGFIX] Fix wrong string formatting

Fix wrong string formatting Resource Abstract Repository

Change-Id: I96a5c26d07410e8123ed8175183babaa019bf366
Resolves: #45467
Releases: 6.0
Releases: 6.1
Reviewed-on: https://review.typo3.org/19703
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM ConstantsView crashs with dep/faulty types. 98/19698/2
Alexander Opitz [Sat, 6 Apr 2013 18:56:55 +0000 (20:56 +0200)]
[BUGFIX] EM ConstantsView crashs with dep/faulty types.

The types default and input are deprecated. Removing of this let
the ConstantsView crash, as there is no function configuration for them.

We now readd the config in 6.1 as we have no problems with this lines
in the core and we don't know how much extensions exists which fail.

So removing deprecation in 6.1 message.

Resolves: #46996
Related: #44763
Releases: 6.1, 6.0
Change-Id: Ic9696bb61ac9cbe1618381f42c1c9d8a282cd14c
Reviewed-on: https://review.typo3.org/19698
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] BE login form gives warnings in RteHtmlParser 99/19699/2
Jigal van Hemert [Sun, 25 Nov 2012 16:04:40 +0000 (17:04 +0100)]
[BUGFIX] BE login form gives warnings in RteHtmlParser

Intialize configuration as array to prevent PHP warnings for
Illegal string offset.

Change-Id: Ic7398ba2c041c3278a1bd5562968ac5183643d3d
Fixes: #43291
Releases: 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/19699
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Sort version column enabled as default 95/19695/2
Anja Leichsenring [Sat, 6 Apr 2013 18:07:20 +0000 (20:07 +0200)]
[TASK] Sort version column enabled as default

On calling upon AllVersionsView in Extension Manager the sorting of
version column should be enabled as default.

Resolves: #46997
Releases: 6.1, 6.0
Change-Id: Id8ce5388f892686cdba0137804e9e093860dfbf5
Reviewed-on: https://review.typo3.org/19695
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: sorting in dataTable incorrect 90/19690/2
Wouter Wolters [Sat, 6 Apr 2013 13:22:53 +0000 (15:22 +0200)]
[BUGFIX] EM: sorting in dataTable incorrect

The dataTable sortes version string incorrectly:

1.12.1
1.1.1

Intended:
1, 2, 3, ., 9, 10, 11, ., 99, 100, 101, ...

Also disable sorting on column "Actions"
Fixes: #46977
Releases: 6.1, 6.0

Change-Id: Ie6211edee52bf712f4463a57d800f0c1e705f1da
Reviewed-on: https://review.typo3.org/19674
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-on: https://review.typo3.org/19690

6 years ago[BUGFIX] swiftmaileradapter should ignore empty headers 85/19685/2
Stefan Neufeind [Wed, 17 Oct 2012 22:32:34 +0000 (00:32 +0200)]
[BUGFIX] swiftmaileradapter should ignore empty headers

Further processing empty header-values with
functions like parseAddress() can lead to
unexpected problems.

Change-Id: Ida436f384a6a6a86d7fbd119083a9037157f48df
Fixes: #42106
Releases: 4.5, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/19685
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix processed files if original has special chars 82/19682/2
Helmut Hummel [Thu, 21 Mar 2013 23:09:15 +0000 (00:09 +0100)]
[BUGFIX] Fix processed files if original has special chars

Filenames of files uploaded in TYPO3 CMS before 6.0.1
can contain problematic characters, because filename
sanitizing of added files was introduced with 6.0.1.

The same happens if files are not uploaded through
the TYPO3 backend and then indexed.

The filenames of processed files are sanitized when
adding them to the storage but the not sanitized
original filename identifier is kept in the database
record of the processed files, which causes wrong
generated paths.

Update the identifier of the processed file along
with all other properties after adding them
to the storage.

Change-Id: I53e4eb42def291ba88ce18209a348b1e2f592185
Resolves: #45221
Related: #42925
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18529
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/19682

6 years ago[BUGFIX] EM manual links open in the same window 81/19681/2
Philipp Gampe [Sat, 6 Apr 2013 12:47:04 +0000 (14:47 +0200)]
[BUGFIX] EM manual links open in the same window

If you open an extension in the get menu (show all versions), a link to
the manual is rendered.
It currently opens with target _top.

Change it to _blank to force opening the link in a new window.

Fixes: #46983
Releases: 6.0,6.1
Change-Id: Ie4f8bd09e94addc453b13a4fcc9745c39f14fe2c
Reviewed-on: https://review.typo3.org/19681
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] BackendUtility::calcAge returns negative value for 0 80/19680/2
Nicole Cordes [Sat, 6 Apr 2013 13:05:21 +0000 (15:05 +0200)]
[BUGFIX] BackendUtility::calcAge returns negative value for 0

Currently the function calcAge returns the value -0 min for zero seconds.
This should be changed as zero is unsigned. Besides some UnitTests are
added to verify the functionality of that function.

Change-Id: Ie0c7572e63bf8d3a6f074f2ccf0db63ac6f5c801
Fixes: #46984
Releated: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19680
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: remove nested pagination in showAllVersions 79/19679/2
Felix Kopp [Sat, 6 Apr 2013 11:21:00 +0000 (13:21 +0200)]
[TASK] EM: remove nested pagination in showAllVersions

The dataTable was encapsulated within a pagination.
Now there is only the dataTable which displays all versions at once.

Change-Id: I3c82beea56bc225f9197b25b214e10c5c41efe4b
Fixes: #46976
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19662
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/19679

6 years ago[BUGFIX] Get folder object if a path is given 75/19675/3
Ivan Kartolo [Tue, 5 Mar 2013 04:50:07 +0000 (11:50 +0700)]
[BUGFIX] Get folder object if a path is given

Get folder instead file object if a path is given to FAL.

Change-Id: I6d183d319eacbab403079b126685a13eb3ae7d5c
Resolves: #45748
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19675
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: increased visual significance of Upload .t3x 73/19673/2
Felix Kopp [Sat, 6 Apr 2013 12:36:23 +0000 (14:36 +0200)]
[BUGFIX] EM: increased visual significance of Upload .t3x

Increase the visibility of upload form in "Manage extensions".

Change-Id: I6b3b563aac28d834023dc39d7d79e963f62eb23f
Fixes: #46979
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19673
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX][EM] Fix failing unit tests 64/19664/3
Christian Kuhn [Sat, 23 Mar 2013 11:00:16 +0000 (12:00 +0100)]
[BUGFIX][EM] Fix failing unit tests

Change-Id: I2a100ba46e4b3c3177848ed554ea74f2d2b8dc52
Fixes: #46588
Related: #46573
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19664
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: show versions link to read manual 68/19668/2
Felix Kopp [Sat, 6 Apr 2013 11:28:48 +0000 (13:28 +0200)]
[BUGFIX] EM: show versions link to read manual

Fixes the "read online" link in extension detail view.

Change-Id: I54cb1c90cb1f11b101a06160a67d2bac34185985
Fixes: #46978
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19668
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: configuration view CSS corrections 61/19661/2
Felix Kopp [Sat, 6 Apr 2013 10:50:57 +0000 (12:50 +0200)]
[BUGFIX] EM: configuration view CSS corrections

Corrects padding+margins for text, group, container in
configureExtension view.

Change-Id: If6ea1f596e13ae1179e01ad3798e900f64ce8dd2
Fixes: #46958
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19661
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] saltedpasswords not installed by default 59/19659/2
Nicole Cordes [Sat, 6 Apr 2013 09:07:54 +0000 (11:07 +0200)]
[BUGFIX] saltedpasswords not installed by default

Because of folder renaming the autoloader of saltedpasswords is not
executed anymore so rsa and saltedpasswords are not installed by default.

Change-Id: Ib4c950e77048f2fcbca20d0f7bf2a0b7f9f11a0e
Fixes: #43241
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19659
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix phpdoc after namespacing 58/19658/2
Philipp Gampe [Sat, 6 Apr 2013 09:35:34 +0000 (11:35 +0200)]
[BUGFIX] Fix phpdoc after namespacing

Fix three occurences of old class names in phpdoc.

Fixes: #46972
Releases: 6.0,6.1
Change-Id: Ia9b37cecf92dd21b8bea83ef351e1006c420b83f
Reviewed-on: https://review.typo3.org/19658
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: reduce prominence of state column 57/19657/2
Felix Kopp [Sat, 6 Apr 2013 08:55:56 +0000 (10:55 +0200)]
[BUGFIX] EM: reduce prominence of state column

Decrease the width of state column and invert the coloring.
The prominence of the state column is reduced to minimum.

Change-Id: I979b93b0bd1924fac856087a2b00e9ad30eb12ee
Fixes: #46967
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19657
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: easy access to showAllVersions 56/19656/2
Felix Kopp [Sat, 6 Apr 2013 09:17:04 +0000 (11:17 +0200)]
[TASK] EM: easy access to showAllVersions

The showAllVersions view is not easily accessible since only
tiny links point there. This patch adds further links.

Change-Id: I75b7a51a902a43d0ea584d037ee023a695c943ec
Fixes: #46971
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19656
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years agoRevert "[BUGFIX] Throw Exception if typo3 extension repository is not defined" 54/19654/2
Christian Kuhn [Sat, 6 Apr 2013 10:07:38 +0000 (12:07 +0200)]
Revert "[BUGFIX] Throw Exception if typo3 extension repository is not defined"

This reverts commit c24f31bb6aa426ffaab6861bc44c0e3c440c8b19

Change-Id: Iab42d03d47ae0d8478414bec4d546a91f9d31ffc
Reviewed-on: https://review.typo3.org/19654
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Sorting of file links CE is broken 49/19649/2
Nicole Cordes [Sat, 6 Apr 2013 01:17:18 +0000 (03:17 +0200)]
[BUGFIX] Sorting of file links CE is broken

On editing a content element of CType "uploads" ("File Links") you can
define fields for sorting and target of the files. Those fields are not
evaluated during the frontend rendering process.

Change-Id: I3d59f3088e7600b5c4c57c5187f288b600adaf16
Fixes: #46444
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19649
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Automatic creation of processed files folder fails 38/19638/2
Andreas Wolf [Fri, 22 Mar 2013 21:54:24 +0000 (22:54 +0100)]
[BUGFIX] Automatic creation of processed files folder fails

The ResourceStorage tries to automatically create the processed files
folder if it does not exist. The identifier of the folder is taken from
the storage's configuration.

The automatic creation however fails, because when splitting the
identifier (e.g. /someFolder/_processed_/) by '/', the resulting array
always contains empty elements. Creating a folder with an empty name
fails however; therefore, empty elements should be skipped.

Change-Id: Ia9d0fe5314f67cb01da20682dfb684b711bc3cf7
Resolves: #46586
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19638
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Extension Manager does not use calcAge 34/19634/2
Benjamin Mack [Fri, 5 Apr 2013 21:22:21 +0000 (23:22 +0200)]
[BUGFIX] Extension Manager does not use calcAge

The extension manager does his own magic with calculating the age
of the last TER update. This can be done automatically with
BackendUtility::calcAge.

Resolves: #46962
Relates: #46524
Releases: 6.1, 6.0
Change-Id: I1917da7fa97e8692ee5bac799377e2a62ad14864
Reviewed-on: https://review.typo3.org/19634
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX][EM] Fix of last update time after update 33/19633/3
Jost Baron [Fri, 22 Mar 2013 21:23:20 +0000 (22:23 +0100)]
[BUGFIX][EM] Fix of last update time after update

The time of the last update in the extension manager was not displayed
correctly immediately after an update, an additional refresh was needed.

Fixes: #46573
Releases: 6.1, 6.0
Change-Id: I51b0c966ddb3dda522cc68573d440e24273e96bc
Reviewed-on: https://review.typo3.org/19633
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK][EM] More readable "time since last update"-strings 17/19617/2
Jost Baron [Wed, 20 Mar 2013 18:00:53 +0000 (19:00 +0100)]
[TASK][EM] More readable "time since last update"-strings

The extensionmanager now shows the time elapsed since the last update,
not the time of the last update. The time of the last update is still
shown in a tooltip. Some english localizations have changed.

Resolves: #46524
Related: #39921
Releases: 6.1, 6.0
Change-Id: I2d5c6e8099e6973826debfcf2cbb597c35bb499c
Reviewed-on: https://review.typo3.org/19617
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] EM: Update button -> display version 31/19631/2
Thomas Löffler [Thu, 7 Feb 2013 19:23:10 +0000 (20:23 +0100)]
[BUGFIX] EM: Update button -> display version

Adds the target version of the extension which
needs an update into the title tag of the update
button.

Releases: 6.0, 6.1
Resolves: #45245
Change-Id: Icd5f98407300abf5759554002c1d42b9214a106c
Reviewed-on: https://review.typo3.org/19631
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Throw Exception if typo3 extension repository is not defined 29/19629/2
Sascha Egerer [Fri, 5 Apr 2013 20:20:17 +0000 (22:20 +0200)]
[BUGFIX] Throw Exception if typo3 extension repository is not defined

When there is no repository with id 1 is defined
in tx_extensionmanager_domain_model_extension you get an exception if
you try to update the extension list

Resolves: #42849
Releases: 6.1, 6.0
Change-Id: Ia60aa2227ab3a801c9002d821295c6eb01043e3f
Reviewed-on: https://review.typo3.org/19629
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: Colorpicker in extension configuration is broken 27/19627/2
Wouter Wolters [Fri, 5 Apr 2013 18:25:21 +0000 (20:25 +0200)]
[BUGFIX] EM: Colorpicker in extension configuration is broken

The colorpicker in extension configruation is broken. This is
because of missing images.

Also this fixes an issue with duplicate ID tags on a page. Which
causes some problem when CSS is defined on the same name.

Change-Id: I5c3b7005cd0f1df9399c0e1506bd8d408d661743
Fixes: #46021
Fixes: #46953
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19627
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: fix state columns' CSS 24/19624/3
Felix Kopp [Fri, 5 Apr 2013 19:31:45 +0000 (21:31 +0200)]
[BUGFIX] EM: fix state columns' CSS

Brings official typo3.org state colors. Also fixes several
errors for IE and hovering in general.

Change-Id: Ib24edbe60ac0fb4aad259be3e603d836bed27ab0
Fixes: #46955
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19624
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Read permission check for folders is broken 25/19625/2
Nicole Cordes [Sat, 23 Mar 2013 09:31:15 +0000 (10:31 +0100)]
[BUGFIX] Read permission check for folders is broken

The read permission check for folders is broken because there are some
inconsistencies in naming. For files the action to check is called "read",
for folders this check is called "browse". This should be adjusted for
folders to be equal to file check and renamed to "read".

Change-Id: I80862b60ea7d674df75dee0063764fed95570c6b
Fixes: #46582
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19205
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Tom Ruether
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-on: https://review.typo3.org/19625

6 years ago[BUGFIX] RTE: Magic Images are put in root folder 23/19623/2
Benjamin Mack [Sat, 23 Mar 2013 15:28:59 +0000 (16:28 +0100)]
[BUGFIX] RTE: Magic Images are put in root folder

Due to some problems when find the magic folder, currently
all files from the RTE are put in the root directory of the TYPO3
installation.

However, RTE should use the default upload folder of the user
by default.

Resolves: #46605
Releases: 6.1, 6.0
Change-Id: I4f9f6606bccdeefde563d243a2ad1c9311c6ae81
Reviewed-on: https://review.typo3.org/19623
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Respect line breaks in stdWrap.cropHTML 99/19499/2
Alexander Stehlik [Tue, 12 Feb 2013 11:35:00 +0000 (12:35 +0100)]
[BUGFIX] Respect line breaks in stdWrap.cropHTML

By using the PCRE_DOTALL (/s) pattern modifier in the cropHTML
regular expression for preserving HTML entities the dot in the
pattern will include line breaks.

Resolves: #28741
Releases: 6.1, 6.0, 4.5
Change-Id: I8ce6b3e3472fc6d117474f8b8c3dfda6b26ab0a1
Reviewed-on: https://review.typo3.org/19499
Reviewed-by: Mario Rimann
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[FEATURE] Add delete button in file list 40/19240/2
Benjamin Mack [Thu, 21 Mar 2013 21:13:56 +0000 (22:13 +0100)]
[FEATURE] Add delete button in file list

Currently it is not possible to delete a file or folder
in the file list. Additionally, there is translation and
error handling missing. The patch adds the trash
icon to the file list (if the user has the right) and
adds error and success messages.

Releases: 6.1, 6.0
Resolves: #44288
Change-Id: I3a68da487afc4b4718500c198963f05057dc6435
Reviewed-on: https://review.typo3.org/19240
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] respect rootLevel=-1 in exec_foreign_table_where_query 76/18976/2
Stefan Froemken [Thu, 21 Feb 2013 12:34:22 +0000 (13:34 +0100)]
[BUGFIX] respect rootLevel=-1 in exec_foreign_table_where_query

exec_foreign_table_where_query does not interpret the
rootLevel directive correctly.

Resolves: #45703
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Change-Id: I2a4dd0335ac5373562f287427d5592cfd406e2f9
Reviewed-on: https://review.typo3.org/18417
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/18976
Reviewed-by: Stefan Neufeind
6 years ago[TASK] EM: Remove contentWrap container 22/19622/2
Felix Kopp [Fri, 5 Apr 2013 17:56:15 +0000 (19:56 +0200)]
[TASK] EM: Remove contentWrap container

The content wrap container "contentWrap" is removed
as the last memory of tabbed content.

Change-Id: I3d7b54c92a74217917fade99d1edaa4bc640c337
Fixes: #46948
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19614
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-on: https://review.typo3.org/19622

6 years ago[TASK] EM: Add title to "Show all versions" icon 20/19620/2
Wouter Wolters [Fri, 5 Apr 2013 17:50:15 +0000 (19:50 +0200)]
[TASK] EM: Add title to "Show all versions" icon

* Add a title to the icon to show all extension versions
* Add the link for "Show all versions" to the extension title

Change-Id: Iea15bcaf8cda25662a76245e85ecd128cc3f8b6b
Resolves: #46951
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19613
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/19620

6 years ago[BUGFIX] Error in filelist for Storage context menu 46/19246/2
Nicole Cordes [Fri, 22 Mar 2013 22:40:35 +0000 (23:40 +0100)]
[BUGFIX] Error in filelist for Storage context menu

The click menu for storage roots or mount points in filelist contains
functions which are not supported (e.g. cut/copy). This patch improves the
menu and only displays options which are allowed for storages/mount points
and for the current user.

Change-Id: I8e729eb3ea2d3977551ec689230ac9accfa76c4c
Resolves: #46575
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19246
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Add version title in showAllVersion view 11/19611/2
Anja Leichsenring [Fri, 5 Apr 2013 17:39:39 +0000 (19:39 +0200)]
[BUGFIX] Add version title in showAllVersion view

Fixes: #46949
Releases: 6.1, 6.0
Change-Id: I2634bc186baec2a0298596c6fb9982a8c32edd7c
Reviewed-on: https://review.typo3.org/19611
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: extension info within "Get Extensions" 09/19609/2
Felix Kopp [Fri, 5 Apr 2013 17:05:28 +0000 (19:05 +0200)]
[TASK] EM: extension info within "Get Extensions"

Improves the single view / showAllVersions with further details.
Brings detail view as a base for further improvements.

Change-Id: Ia774a064508d6e98438f6480d929e39cbe7e5534
Fixes: #39919
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19609
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Move EM extension configuration save button to DocHeader 06/19606/2
Anja Leichsenring [Fri, 5 Apr 2013 15:12:41 +0000 (17:12 +0200)]
[BUGFIX] Move EM extension configuration save button to DocHeader

The configuration action brings a Save button.
Save button should be in DocHeader.

Fixes: #46941
Releases: 6.0, 6.1
Change-Id: I05b1c2bf5f6406462ee0a1fcaaa2f5eefbee88f8
Reviewed-on: https://review.typo3.org/19606
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: Add return link to showAllVersions 96/19596/2
Felix Kopp [Fri, 5 Apr 2013 14:39:09 +0000 (16:39 +0200)]
[BUGFIX] EM: Add return link to showAllVersions

Extension manager ShowAllVersions view does not deliver
link to return to the TER list. The return link is added.

Change-Id: Iaf266203222416d4c5656d5d52927c0b750b8860
Fixes: #46938
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19596
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: Modules deserve headlines 90/19590/2
Felix Kopp [Fri, 5 Apr 2013 14:00:36 +0000 (16:00 +0200)]
[TASK] EM: Modules deserve headlines

Users should know which context is active.
Display context as module headline.

Change-Id: I7e572c019f3d6a290ee699a695c98a5d4ccc6e4e
Fixes: #46934
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19590
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Move EM tabs to function menu 81/19581/2
Felix Kopp [Fri, 5 Apr 2013 08:44:11 +0000 (10:44 +0200)]
[BUGFIX] Move EM tabs to function menu

Changes the tabs in extension manager to a function menu.
The views to manage+get extensions are different from a
user perspective.

Change-Id: I2612667cdb2656fa8954b09ada858581318b3c1d
Fixes: #46931
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19581
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: Remove search form in showAllVersions 92/19592/2
Felix Kopp [Fri, 5 Apr 2013 14:51:03 +0000 (16:51 +0200)]
[TASK] EM: Remove search form in showAllVersions

The search form is necessary on TER list but displayed in
showAllVerions. The search form is removed with this patch.

Change-Id: Ic9a6fcd33418209ba0d5def357c5b722051b31c4
Fixes: #46942
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19592
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix breaking t3editor by using hsc() 82/19582/2
Georg Ringer [Tue, 2 Apr 2013 06:08:41 +0000 (08:08 +0200)]
[BUGFIX] Fix breaking t3editor by using hsc()

t3editor misses a htmlspecialchars() when displaying content of
the CE "HTML".

Change-Id: I84b65cd42bee971adc6fb77149f6789e76fc6567
Fixes: #33651
Releases: 6.1,6.0,4.7,4.6,4.5
Reviewed-on: https://review.typo3.org/19582
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Caching framework tables depends on ext_tables.sql 76/19576/2
Nicole Cordes [Sat, 23 Mar 2013 13:17:51 +0000 (14:17 +0100)]
[BUGFIX] Caching framework tables depends on ext_tables.sql

Since TYPO3 version 4.6 the caching framework should be responsible to
create needed tables for itself. But this is only executed when the
extension contains ext_tables.sql file in its extension folder. If you do
not need any other tables/fields no caching framework tables are created.
This should be independent from ext_tables.sql

Change-Id: Ifba3cb7bcc94d09627b38d5b5962cfdb2282306b
Fixes: #46591
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19576
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Extension manager styling 69/19569/2
Felix Kopp [Fri, 1 Mar 2013 00:09:05 +0000 (01:09 +0100)]
[BUGFIX] Extension manager styling

The extension manager never got all defined styles.
Bring several visual improvements:

— placeholder in search field
— show action icons on hover
— style extension state column
— float table header cols left and right

Change-Id: Id6eafa2b28b1d054929a84400bf1648b6e1e6d75
Fixes: #45928
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19569
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] List module shows thumbs on CEs of type text 73/19573/2
Mario Rimann [Wed, 20 Mar 2013 22:29:31 +0000 (23:29 +0100)]
[BUGFIX] List module shows thumbs on CEs of type text

The list module renders a thumbnail for content elements as soon
as they have an image attached - independent of the current type
of the content element.

This patch changes the behavior, so that the thumbnail for
records in the list view are only shown, if the thumbnail-
column is visible for the current type.

Change-Id: Id59d7816f91bd37f49f794827826fca1929f7d0a
Resolves: #26753
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19573
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Let Upgrade wizard recognize $GLOBALS['TYPO3_CONF_VARS'] 46/19546/2
Anja Leichsenring [Mon, 1 Apr 2013 11:15:33 +0000 (13:15 +0200)]
[BUGFIX] Let Upgrade wizard recognize $GLOBALS['TYPO3_CONF_VARS']

The LocalConfiguration wizard rewrites the existing localconf.php to the
new LocalConfiguration.php. To do so, the lines are read and analyzed to
retrieve the value and translate it to the new structure.

Until now, only lines containing the keyword $TYPO3_CONF_VARS are taken
into account. This patch extends the analysis to the keyword
$GLOBALS['TYPO3_CONF_VARS'].

Fixes: #39135
Releases: 6.0, 6.1
Change-Id: I880076d75a312926c8e968ad3ba883c41f364a62
Reviewed-on: https://review.typo3.org/19546
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 20/19520/2
TYPO3 Release Team [Tue, 2 Apr 2013 17:05:57 +0000 (19:05 +0200)]
[TASK] Raise submodule pointer

Change-Id: I2bd3f5433d072e581f1bb9404d8e5f7e92262648
Reviewed-on: https://review.typo3.org/19520
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[TASK] Optimize clearing file backend caches 12/19512/2
Oliver Hader [Wed, 28 Nov 2012 10:49:36 +0000 (11:49 +0100)]
[TASK] Optimize clearing file backend caches

During concurrent requests it might happen that one request
flushes a cache that is stored in the filesystem and another
different request tries to recreate the data. This will lead
to race conditions if the cached contents are large.

The idea is to move the current cache to a temporary location
and then remove it.

Change-Id: I242fdbc6ab28008363747a8076d021ebce127e17
Resolves: #43382
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19512
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Remove explicit strict test from TypoScriptParserTest 03/19503/2
Oliver Hader [Mon, 1 Apr 2013 20:51:10 +0000 (22:51 +0200)]
[TASK] Remove explicit strict test from TypoScriptParserTest

The TypoScriptParser is executed in strict mode by default.

Change-Id: I95a206e184cbafaebe28f1db592bd0f6a6dda4db
Related: #46839
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19503
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[!!!][BUGFIX] Scope of ProcessedFile cannot be modified 02/19502/2
Oliver Hader [Sat, 30 Mar 2013 08:55:26 +0000 (09:55 +0100)]
[!!!][BUGFIX] Scope of ProcessedFile cannot be modified

A ProcessedFile is used to generate a preview or crop-scaled
version of a File. Actually a Task implementing the
TaskInterface defines the basics and an accordant Helper
object takes care of the modifications to that file.
There are pre-process and post-process signals that seem to
be useless in modifying the scope of a particular task, however.

Imagine a file shall be pre-processed (e.g. color profile
transformation) and that result shall be used for resizing.
The current task implementation is using the original file
directly, however the task actually shall define which is the
source (the original file) the modifications shall be based on.

This change modifies the TaskInterface with a getSourceFile()
method to overcome this limitation.

Change-Id: I280ea9a0bf056f9eee0a06995ab809fdafb8a11a
Fixes: #46795
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19502
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Integrate basic TypoScript parsing test 92/19492/2
Oliver Hader [Mon, 1 Apr 2013 14:04:23 +0000 (16:04 +0200)]
[TASK] Integrate basic TypoScript parsing test

Resolves: #46839
Releases: 6.0, 6.1
Change-Id: I3dd007908bbd127386b86dd0f31e927c1034bb97
Reviewed-on: https://review.typo3.org/19492
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Adapt ArrayConstraints in IndexerTest 89/19489/2
Steffen Ritter [Mon, 1 Apr 2013 13:04:19 +0000 (15:04 +0200)]
[TASK] Adapt ArrayConstraints in IndexerTest

The tests for a parameter array check for equality of
the parameter array and the according value.
Instead we only wanna know if two keys are present and
set correctly and we do not care about other array values.

This refactors the Test to be more polite and is a follow-up
for #46596.

Change-Id: Ia7b4a0521b1d11b9494de2ff766f11b3c8bd1f60
Releases: 6.0, 6.1
Related: #46596
Reviewed-on: https://review.typo3.org/19487
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-on: https://review.typo3.org/19489

6 years ago[BUGFIX] PHP filesystem functions are locale dependent 77/18577/3
Steffen Ritter [Sun, 3 Mar 2013 18:46:38 +0000 (19:46 +0100)]
[BUGFIX] PHP filesystem functions are locale dependent

PHP filesystem functions like pathinfo, dirname and
basename are dependent on the locale set in PHP.
If one enables UTF8filesystem in the install tool, he may
use non-ascii characters in filenames and directory names.
For this to work properly you need to configure
SystemLocale, too.

The file abstraction layer classes need to take care of
the SystemLocale; to avoid code duplication new static
wrapper functions have been introduced.

Change-Id: I635e18d7ed08d928c6c4e427c0348dd46d9c5900
Releases: 6.0, 6.1
Resolves: #45982
Reviewed-on: https://review.typo3.org/18577
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Accept alternative notations for setDBinit 35/19035/4
Michael Stucki [Tue, 19 Mar 2013 10:37:06 +0000 (11:37 +0100)]
[BUGFIX] Accept alternative notations for setDBinit

Allow quotes and upper-case notation when checking if
$TYPO3_CONF_VARS['SYS']['setDBinit'] is configured properly.

Resolves: #24582
Releases: 6.1, 6.0
Change-Id: I51a5f6cf363077c738656c207648f21d726de72b
Reviewed-on: https://review.typo3.org/19035
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Markus Klein
Reviewed-by: Oliver Hader
6 years ago[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing 62/19262/4
Michael Stucki [Mon, 25 Mar 2013 12:53:17 +0000 (13:53 +0100)]
[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing

If using GMENU_LAYERS/TMENU_LAYERS and (for example) indexed_search on
the same page, the JavaScript header tags are missing if the page is
loaded from the cache.

Resolves: #36719
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Change-Id: Icd52f68d2b9462360f0b9efd912d93d4b0c1048c
Reviewed-on: https://review.typo3.org/19262
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Detect APC and APCu correctly 69/19469/2
Stefan Neufeind [Sun, 31 Mar 2013 17:54:41 +0000 (19:54 +0200)]
[TASK] Detect APC and APCu correctly

APCu is just the user-data part of APC,
providing the same API.

If installed it currently identifies itself
as both "apcu" and "apc" (for compatibility).
Thus if "apcu" shows up, we actually have an APC
without opcache-support.

Resolves: #46821
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: Id61bcf9277295915a6e204eabab7c65159e98764
Reviewed-on: https://review.typo3.org/19469
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Sending fails on multiple email-addresses 63/19463/2
Stefan Neufeind [Sun, 13 Jan 2013 13:57:44 +0000 (14:57 +0100)]
[BUGFIX] Sending fails on multiple email-addresses

Specifying multiple recipients (To or CC) for emails
leads to an error upon form-submit without further explanation.
This patch implements validation for multiple email addresses of
which only the valid ones are then returned.
The sending-API can already handle multiple recipients.

Change-Id: Ia0a947e1ee7b4d9b352a297840b68ff489f71375
Fixes: #44485
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/19463
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Fix of Close-button in flash messages 64/19464/2
Jost Baron [Sun, 24 Mar 2013 22:12:13 +0000 (23:12 +0100)]
[BUGFIX] Fix of Close-button in flash messages

The close button did not work because hide() was called on
a HTMLElement instead of an Ext.Element.

Fixes: #46373
Related: #31368
Releases: 6.1, 6.0, 4.7
Change-Id: I70c65a82683ece39de4ed043a916b0521aabafa1
Reviewed-on: https://review.typo3.org/19464
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] WincacheBackend: Add a "Testing"-context to the tests 59/19459/3
Stefan Neufeind [Sun, 31 Mar 2013 13:20:47 +0000 (15:20 +0200)]
[TASK] WincacheBackend: Add a "Testing"-context to the tests

Resolves: #46817
Related: #46768
Releases: 6.0
Change-Id: I5ebc5f026d92ae8070c2dbfd4679e2889bad6c07
Reviewed-on: https://review.typo3.org/19459
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn