Packages/TYPO3.CMS.git
5 years ago[BUGFIX] Follow-up to: Use an extension as repository 29/24129/3
Susanne Moog [Sun, 8 Sep 2013 12:04:50 +0000 (14:04 +0200)]
[BUGFIX] Follow-up to: Use an extension as repository

Add missing files that got lost during conflict resolving

Change-Id: If9fc0e23aba97659222bee0c5b2205c5030411fc
Resolves: #51835
Releases: 6.2
Reviewed-on: https://review.typo3.org/24129
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[FEATURE] Add possibility to use an extension as repository 72/23672/8
Susanne Moog [Sat, 28 Sep 2013 16:40:51 +0000 (18:40 +0200)]
[FEATURE] Add possibility to use an extension as repository

Sometimes extensions depend on customized versions of other
extensions or on extensions that aren't released to the TER.

This feature allows an extension to deliver it's own dependencies
by having the unpacked extensions inside the folder
Initialisation/Extensions. The extensions are then copied to
typo3conf/ext when resolving the dependencies.

Resolves: #51835
Releases: 6.2
Change-Id: I66f6e5d5d40e11471f9766ac2ed9d0eb5386eb49
Reviewed-on: https://review.typo3.org/23672
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Fix wrong handling of php and TYPO3 dependencies 73/23673/4
Susanne Moog [Sun, 8 Sep 2013 13:26:22 +0000 (15:26 +0200)]
[BUGFIX] Fix wrong handling of php and TYPO3 dependencies

Due to a superfluos try-catch block dependencies for TYPO3 and
PHP version were not checked correctly.

Additionally the TER version comparison was wrong as it did not
include the given version (only less or greater was checked, not
...OrEqual).

Resolves: #48809
Resolves: #51730
Resolves: #51182
Releases: 6.2, 6.1, 6.0
Change-Id: I773e1af014cd3e8525794c2fcdc615ea8a5f36a1
Reviewed-on: https://review.typo3.org/23673
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] ext:install Protect some methods in FolderStructure 23/24123/4
Christian Kuhn [Sat, 28 Sep 2013 12:55:07 +0000 (14:55 +0200)]
[TASK] ext:install Protect some methods in FolderStructure

Some methods within FolderStructure class hierachy are public
but should be used internally only. The patch protects them.

Change-Id: I273f829f29ca4f5a6da1d03f028be7a8500e222b
Resolves: #52354
Releases: 6.2
Reviewed-on: https://review.typo3.org/24123
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
5 years ago[FEATURE] ext:install Implement template files in FolderStructure 22/24122/5
Christian Kuhn [Sat, 28 Sep 2013 10:57:22 +0000 (12:57 +0200)]
[FEATURE] ext:install Implement template files in FolderStructure

The folder structure definition can be simplified a bit if target
content of files is not stored in the structure definition array
but moved to template files. This also enables handling of binary
files.
The patch implements an option 'targetContentFile' to FileNode and
adapts the current FolderStructure definition to use it.

Change-Id: I097e87a1f7a16e325b398468286fe661abec3553
Resolves: #52351
Releases: 6.2
Reviewed-on: https://review.typo3.org/24122
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
5 years ago[BUGFIX] Initialize extension name in command requests 83/23883/8
Alexander Stehlik [Wed, 25 Sep 2013 06:40:37 +0000 (08:40 +0200)]
[BUGFIX] Initialize extension name in command requests

This patch initializes the extension name in the configuration manager
as soon as it is available during an Extbase command line request.

Resolves: #51329
Releases: 6.2, 6.1, 6.0
Change-Id: I73b0f0e7a0b20e1773c9eb92f0d2175416ce2bb1
Reviewed-on: https://review.typo3.org/23883
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[FEATURE] Add tstamp column to recycler record table 15/24115/4
Philipp Kitzberger [Fri, 27 Sep 2013 15:47:01 +0000 (17:47 +0200)]
[FEATURE] Add tstamp column to recycler record table

This adds an extra column to the record table in
the recycler module so users can sort by that
value and come quicker to the decision whether
to recover that record or not.

Resolves: #52324
Releases: 6.2
Change-Id: Ife1d985f517f7ae5e9be419783e1132b532cabef
Reviewed-on: https://review.typo3.org/24115
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[BUGFIX] EmConfUtility accesses non-arrays 57/23857/5
Markus Klein [Mon, 16 Sep 2013 19:20:12 +0000 (21:20 +0200)]
[BUGFIX] EmConfUtility accesses non-arrays

Properly check for array-type before accessing
or counting the variable.

Resolves: #52045
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Id161fddadbbcadd462de36e8227278107f2e7a3a
Reviewed-on: https://review.typo3.org/23857
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Clear cached menu by tag 24/23624/2
Zbigniew Jacko [Tue, 3 Sep 2013 22:10:48 +0000 (00:10 +0200)]
[BUGFIX] Clear cached menu by tag

This change adds a table cf_cache_hash for clear cache by tag
for example for cached menu.

Resolves: #51588
Releases: 6.2, 6.1, 6.0
Change-Id: I18b8aad3ac82737bbc52d4aae49be9028b6df944
Reviewed-on: https://review.typo3.org/23624
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Piotr Molewski
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Fix jumpToUrl()-Usage in Element Browser 89/23889/3
Benjamin Pick [Wed, 18 Sep 2013 14:53:44 +0000 (16:53 +0200)]
[BUGFIX] Fix jumpToUrl()-Usage in Element Browser

The Javascript functions jumpToUrl(URL,anchor) and jumpToUrl(URL,formEl)
cannot be used interchangeably. This leads to a javascript error,
because the formElement is rendered as string
("[object HTMLInputElement]").

Resolves: #50437
Releases: 6.0, 6.1, 6.2
Change-Id: I53e1be3c157a2ef6c646f02af15e8c746b6e6375
Reviewed-on: https://review.typo3.org/23889
Reviewed-by: Eric Chavaillaz
Tested-by: Eric Chavaillaz
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Henrik Ziegenhain
Tested-by: Henrik Ziegenhain
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Remove "Clear language cache" menu item 77/24077/4
Christian Kuhn [Thu, 26 Sep 2013 16:46:29 +0000 (18:46 +0200)]
[TASK] Remove "Clear language cache" menu item

* To show the item, SYS/lang/cache/clear_menu has to be manually
enabled, and a (not documented) userTSconfig option must be set.
* The item *never* worked since the underlying LanguageCacheClearer
class expects an array with cacheCmd set to either "all" or
"temp_cached", that is not set in the according AJAX call of the
menu action.
* Class LanguageCacheClearer hooks into DataHandler and is only
triggered on clear "all" cache.
* Clearing "all" cache flushes all caches anyway, so the hook
currently triggers flushing the language cache a second time.
* SYS/lang/cache/lifetime is unused and can be removed.

Since the functionality is broken, not documented, obsolete and
"internal" code of ext:lang, the whole thing is removed without
further deprecation.

Change-Id: Ic0d19bf31109832c9ed88d81d883516c109cf47e
Resolves: #52312
Releases: 6.2
Reviewed-on: https://review.typo3.org/24077
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Move configuration code from bootstrap to ext:install 60/24060/2
Christian Kuhn [Fri, 13 Sep 2013 15:39:54 +0000 (17:39 +0200)]
[TASK] Move configuration code from bootstrap to ext:install

Some methods in boostrap silently change TYPO3_CONF_VARS to adapt
some settings. Those methods are moved to the install tool as
"silent upgrade" to write out configuration options.
The silent upgrade code within StepController is extracted to
an own class for better encapsulation.

Change-Id: Id68bfdce7ffb661fb341e21eb8a26a03fe76ac07
Resolves: #52287
Releases: 6.2
Reviewed-on: https://review.typo3.org/24060
Reviewed-by: Thomas Maroschik
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Check for string before using strlen 18/24018/5
Kilian Hann [Tue, 24 Sep 2013 13:34:15 +0000 (15:34 +0200)]
[BUGFIX] Check for string before using strlen

If pi_flexform is converted to an array already, checking via strlen
produces a warning. An additional check via is_string suppresses the
warning.

Resolves: #52091
Resolves: #51684
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I97c41cdedb1afb28e2a9ca39e1d9cfb3921d9f47
Reviewed-on: https://review.typo3.org/24018
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] groupFor-VH does not work with @lazy 50/24050/2
Stefan Froemken [Wed, 25 Sep 2013 13:50:41 +0000 (15:50 +0200)]
[BUGFIX] groupFor-VH does not work with @lazy

If you group an property with annotated @lazy option
f:groupedFor-ViewHelper can't group by this property.

Resolves: #52266
Releases: 6.2, 6.1, 6.0
Change-Id: Ie208b67eec8500fee87ee1c62b1bd348c0ed5598
Reviewed-on: https://review.typo3.org/24050
Reviewed-by: Xavier Perseguers
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Install tool uses empty database settings 66/23866/4
Nicole Cordes [Tue, 17 Sep 2013 21:23:30 +0000 (23:23 +0200)]
[BUGFIX] Install tool uses empty database settings

Some systems allow to connect with empty username / password
configuration to the database. Although this is not wrong the install
tool should always ask for database credentials for new installations.
This patch prevents the install tool from setting an empty username and
password as default values without manually submitting the form.

Resolves: #51540
Resolves: #51956
Releases: 6.2
Change-Id: Ic245635bf649f4ad477d793eda658096ed659aa0
Reviewed-on: https://review.typo3.org/23866
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Fatal in DefaultConfiguration 84/24084/2
Christian Kuhn [Thu, 26 Sep 2013 20:00:46 +0000 (22:00 +0200)]
[BUGFIX] Fatal in DefaultConfiguration

Change-Id: I6f6c8a2ddc26a6c7584e6a067c887768cf3ae5b1
Resolves: #52316
Related: #52305
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/24084
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Configure main extbase caches for unlimited entry lifetime 69/24069/3
Christian Kuhn [Thu, 26 Sep 2013 14:12:25 +0000 (16:12 +0200)]
[BUGFIX] Configure main extbase caches for unlimited entry lifetime

The extbase reflection and object caches are "stable" cache entries
and only need to be deleted if extensions change or are updates. The
extension manager takes care of flushing in this case.
Currently, the default lifetime of those cache entries is only one
hour, so they are recalculated pretty often. This is especially a
problem if the site was not accessed for more than an hour, since
tons of cache entries exceeded their lifetime and require
recalculation.
The patch moves the cache configuration of the required extbase
extension to DefaultConfiguration and sets unlimited default
lifetime for object and reflection cache.

Change-Id: I671692645aeb104f7fa73595cc79b25ed5984b85
Resolves: #52305
Related: #51116
Related: #52304
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/24069
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Use SimpleFileBackend for t3lib_l10n cache 64/24064/3
Christian Kuhn [Thu, 26 Sep 2013 13:00:08 +0000 (15:00 +0200)]
[TASK] Use SimpleFileBackend for t3lib_l10n cache

The language cache by default uses the FileBackend to store its data.
Language cache entries need to be deleted only if new extensions are
loaded and if new language overlays are fetched. They do not need
tagging and can have an unlimited lifetime.
Switching to SimpleFileBackend removes the tagging and sets unlimited
lifetime by to reduce read and write load on this cache.

Change-Id: I5c4778f4c38ae369b6873574e961fa65208d77a1
Resolves: #52295
Related: #52125
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/24064
Reviewed-by: Wouter Wolters
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] ext:install Improve wording in empty database select 78/24078/2
Christian Kuhn [Thu, 26 Sep 2013 18:51:13 +0000 (20:51 +0200)]
[TASK] ext:install Improve wording in empty database select

On first installation only existing empty databases can be selected.
The hint for "Existing tables will be removed" is obsolete.

Change-Id: I05c0fb460672b8b4bbffe321945c46d2c7be2b2f
Resolves: #52314
Releases: 6.2
Reviewed-on: https://review.typo3.org/24078
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Re-add dbal extension manager message class 49/23949/2
Alexander Stehlik [Sat, 21 Sep 2013 13:09:04 +0000 (15:09 +0200)]
[BUGFIX] Re-add dbal extension manager message class

The MessageDisplay class that is used to display a hint in the extension
settings of the dbal extension was removed with commit
2e3c9d5e25e5beadafebca949de3e05eeb6f120a.

This commit re-adds the class to prevent a PHP error.

Resolves: #52167
Releases: 6.2
Change-Id: I1fa8749ffb93eab45646948ff336bf3d331aa92c
Reviewed-on: https://review.typo3.org/23949
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Use @inject in ext:about 56/24056/2
Christian Kuhn [Wed, 25 Sep 2013 15:08:02 +0000 (17:08 +0200)]
[TASK] Use @inject in ext:about

Change-Id: I856db58b5843615ddae80e5f978de79981027711
Resolves: #52270
Releases: 6.2
Reviewed-on: https://review.typo3.org/24056
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] EM does not link to docs.typo3.org 17/24017/2
Xavier Perseguers [Tue, 24 Sep 2013 12:57:27 +0000 (14:57 +0200)]
[BUGFIX] EM does not link to docs.typo3.org

docs.typo3.org is new official documentation platform supporting both
OpenOffice and Sphinx manuals.

Fixes: #52226
Releases: 6.2, 6.1, 6.0
Change-Id: Ie5f27bf15f5174a6e1bb53bedd575ceeb362add8
Reviewed-on: https://review.typo3.org/24017
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[BUGFIX] Increase performance of exports for caches 69/23969/5
Markus Klein [Mon, 23 Sep 2013 10:20:01 +0000 (12:20 +0200)]
[BUGFIX] Increase performance of exports for caches

Exporting arrays for caches is now done with var_export().

Resolves: #51116
Releases: 6.2, 6.1, 6.0
Change-Id: I7519fd9c2ab21cc22a3f4e092b611c6bca58c30f
Reviewed-on: https://review.typo3.org/23969
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Remove duplicate exception code 38/24038/5
Fabien Udriot [Wed, 25 Sep 2013 07:59:08 +0000 (09:59 +0200)]
[BUGFIX] Remove duplicate exception code

Exception code "1314354065" is used twice: once in the abstract
Resource repository and the other one in the File Collection repository.
Since exception code must be unique, the patch simply renames one
occurrence.

Change-Id: I41474db5de7e8f575275d57e9585252857334ee2
Releases: 6.0, 6.1, 6.2
Resolves: #52243
Reviewed-on: https://review.typo3.org/24038
Reviewed-by: Kilian Hann
Tested-by: Kilian Hann
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[TASK] Remove GFX im_imvMaskState and im_negate_mask settings 80/23880/6
Christian Kuhn [Tue, 17 Sep 2013 19:23:05 +0000 (21:23 +0200)]
[TASK] Remove GFX im_imvMaskState and im_negate_mask settings

There are two very weird settings is GFX array that previously
decided on how "masks" are applied to images if combining
multiple images. GFX/im_negate_mask and GFX/im_imvMaskState are
also manipulated during boostrap and depend on each other.

Fiddling with those settings in ImageMagick 6 and GraphicsMagick
with its supported versions, it turns out that they are obsolete
and can be removed completly. The patch does this.

Change-Id: Ic24c877287382f9e718974a0df3577dad2eeaac9
Resolves: #52088
Releases: 6.2
Reviewed-on: https://review.typo3.org/23880
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Fix misleading hint in Mvc/Dispatcher 99/23999/2
Wouter Wolters [Mon, 23 Sep 2013 20:21:02 +0000 (22:21 +0200)]
[BUGFIX] Fix misleading hint in Mvc/Dispatcher

The new property mapper is enabled by default now.
Due to this the hint inside the exception is misleading.
It hints now to the new @ignorevalidation annotation.

The old one annotation will stay.

Change-Id: I6a7f213f38a72a3b7676af5b1bf07f879fb99253
Resolves: #52198
Releases: 6.2
Reviewed-on: https://review.typo3.org/23999
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Fix broken Unit-test for #44825 98/23998/3
Wouter Wolters [Mon, 23 Sep 2013 20:16:32 +0000 (22:16 +0200)]
[BUGFIX] Fix broken Unit-test for #44825

Change-Id: Id1ecce2b4fe789b655f63cd8b5f78ab20eadfbd5
Resolves: #52201
Related: #44825
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/23998
Reviewed-by: Andy Grunwald
Reviewed-by: Oliver Hader
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Using ext:sys_action gives a warning about not valid HTML 01/24001/2
Wouter Wolters [Mon, 23 Sep 2013 21:07:38 +0000 (23:07 +0200)]
[BUGFIX] Using ext:sys_action gives a warning about not valid HTML

When ext:sys_action is installed it will give a warning about
not valid HTML. This is because the id="" and class="" are glued
to each other. Fix this by moving the space from the front to the
back.

Change-Id: Ia916a9e084cb9f3595164215cf22a100d64dc7a9
Resolves: #52202
Releases: 6.2
Reviewed-on: https://review.typo3.org/24001
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Label user function for sys_file_reference uses HTML 28/23528/6
Philipp Gampe [Sun, 1 Sep 2013 11:32:02 +0000 (13:32 +0200)]
[BUGFIX] Label user function for sys_file_reference uses HTML

The change I7770044c11a6c1a1bcb51a3bfc11b85923653196 added meta
information for the FAL IRRE headers.
It uses a definition list to show certain fields of the related record
inside the title (thus visible if collapsed).
The HTML markup leads to problems in other places of the backend, most
noteable in the workspace module.

Introduce a separate user function only for inline labels,
using the same signature as the normal label_userFunc.

Resolves: #51411
Releases: 6.2
Change-Id: I070a9db3d009c743cb927be90a0aa3903a1bae45
Reviewed-on: https://review.typo3.org/23528
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Don't show duplicates in workspace preview 27/11127/12
Timo Webler [Mon, 3 Dec 2012 08:51:02 +0000 (09:51 +0100)]
[BUGFIX] Don't show duplicates in workspace preview

Fixed workspace filters in case of workspace preview
in TYPO3\CMS\Frontend\Page\PageRepository::enableFields().

Additionally cleared up the corresponding comments.

Change-Id: I088928a88cb673f18f218ef691a6c528019317c0
Fixes: #37065
Releases: 6.2, 6.1, 6.0, 4.5
Reviewed-on: https://review.typo3.org/11127
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Move beuser property mappings to global scope 67/23967/4
Philipp Gampe [Mon, 23 Sep 2013 10:00:55 +0000 (12:00 +0200)]
[BUGFIX] Move beuser property mappings to global scope

Currently the persistence settings for all tx_beuser models are defined
in module.tx_beuser.persistence.classes.
If any other module tries to access the corresponding backend user
repository from tx_beuser, then no mappings will be loaded by extbase,
resulting in a wrong cache entry for the model and the attempt to
access a nonexisting table.

Move the class mapping part of the TS template into
  config.tx_extbase.persistence.classes
to make them available for all extensions and modules.

Resolves: #51234
Releases: 6.2, 6.1, 6.0
Change-Id: I0b39c96c9db89c379e5613231a215f27b2dfbcde
Reviewed-on: https://review.typo3.org/23967
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Prevent leading space for empty ATagParams 54/23954/3
Alexander Stehlik [Sun, 22 Sep 2013 09:08:57 +0000 (11:08 +0200)]
[BUGFIX] Prevent leading space for empty ATagParams

Currently a leading space will be returned by the ATagParams handler when
the $addGlobal parameter is TRUE.

This patch trims any space if no ATagParams have been configured.

Resolves: #52171
Releases: 6.2
Change-Id: I53b3723e530beb96ff0dc9606963c6d9928d4478
Reviewed-on: https://review.typo3.org/23954
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Fix PHP warning trigged in getAuthInfoArray() 56/22956/9
Christian Finkemeier [Thu, 8 Aug 2013 13:18:55 +0000 (15:18 +0200)]
[BUGFIX] Fix PHP warning trigged in getAuthInfoArray()

AbstractUserAuthentication::getAuthInfoArray() calls
$GLOBALS['TYPO3_DB']->cleanIntList() with a possible NULL argument.
This leads to a PHP warning in GeneralUtility::trimExplode().

Resolves: #50913
Relates: #42921
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I42ddf8fed715c5f8ce060e6ca5826ef3ed8f223e
Reviewed-on: https://review.typo3.org/22956
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Reset singletons in Extbase command 85/23885/2
Alexander Stehlik [Wed, 18 Sep 2013 06:42:22 +0000 (08:42 +0200)]
[BUGFIX] Reset singletons in Extbase command

This patch fixes the handleRequest() method signature of
the Cli request handler by returning the response object
like it is expected by the RequestHandlerInterface.

When the request is returned the Bootstrap process will
reset the singletons which includes persisting of any
changed objects.

Resolves: #52092
Releases: 6.2
Change-Id: I78a507ab5b68ad67a85bf4a914494b39ea1407e1
Reviewed-on: https://review.typo3.org/23885
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Correct storage selection (common prefixes) 66/23966/5
Ernesto Baschny [Mon, 23 Sep 2013 08:29:56 +0000 (10:29 +0200)]
[BUGFIX] Correct storage selection (common prefixes)

If there is a local storage "uploads/test/" and a requested file
is in "uploads/other/file.txt", the storage matching will not
consider this storage for this file anymore, although they share a
common prefix, but will use a correct matching storage (e.g. 0).

Releases: 6.2, 6.1, 6.0
Resolves: #52173
Change-Id: Id14ffd6620554c086b6e77dca285ade8dee39ab2
Reviewed-on: https://review.typo3.org/23966
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Fix page.headerData + USER_INT 88/23788/7
Helmut Hummel [Thu, 12 Sep 2013 13:25:58 +0000 (15:25 +0200)]
[BUGFIX] Fix page.headerData + USER_INT

INT scripts placed in page.headerData.XX were
not replaced any more after introducing USER_INT
capabilities of the pageRenderer in #22273

This change reprocesses _INT placeholders after
the pageRenderer replacements have been done.

Resolves: #44825
Releases: 6.0, 6.1, 6.2
Change-Id: If11b692ed75120dbf122d95ca497b5e382fdf349
Reviewed-on: https://review.typo3.org/23788
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Wouter Wolters
Reviewed-by: Jens Jacobsen
Tested-by: Jens Jacobsen
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[FEATURE] Viewpage module usablity optimization 71/23771/10
Johannes Feustel [Wed, 11 Sep 2013 23:31:25 +0000 (01:31 +0200)]
[FEATURE] Viewpage module usablity optimization

Improve usability of viewpage module with:

* Added a default option with width and height set to auto
* Selection is saved in $GLOBALS['BE_USER']->uc using ExtDirect
StateProvider and restored after reload or page switch
* Frame is resizeable and this custom value is also stored in the user
settings as a new option of the selector
* iframe is visually separated from outer module body

Change-Id: I0f956b3b3b76ef5fea25c239acd8f95d4f93b765
Fixes: #51933
Releases: 6.2
Reviewed-on: https://review.typo3.org/23771
Tested-by: Philipp Gampe
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Tested-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[FEATURE] add sorting on sys_category 15/23615/3
Peter Niederlag [Wed, 4 Sep 2013 15:11:06 +0000 (17:11 +0200)]
[FEATURE] add sorting on sys_category

sys_category until now misses a specific sort order
and is sorted by title. Adding a sorting property
gives more flexibility in sorting by custom
needs.

tca treeConfig of sys_category as well as categoryRegistry
are adapted accordingly

Change-Id: I663fb24dcd5486f911e256fe1a42c445a63543be
Resolves: #51590
Releases: 6.2
Reviewed-on: https://review.typo3.org/23615
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Increase length of identifier field in sys_file 82/23882/3
Nicole Cordes [Tue, 17 Sep 2013 21:36:53 +0000 (23:36 +0200)]
[BUGFIX] Increase length of identifier field in sys_file

Sometimes the identifier is longer than 200 chars. This patch increases
the maximum length to 512 characters.

Resolves: #48912
Releases: 6.2, 6.1, 6.0
Change-Id: I67edc1facf972d2ffef09a3204edc556464afda5
Reviewed-on: https://review.typo3.org/23882
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Aske Ertmann
Tested-by: Aske Ertmann
Reviewed-by: Jon Langeland
Tested-by: Jon Langeland
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Wrong exception on renaming folder 62/23862/2
Francois Suter [Tue, 17 Sep 2013 07:04:05 +0000 (09:04 +0200)]
[BUGFIX] Wrong exception on renaming folder

When a user tries to rename a folder without the permissions
to do so, the ResourceStorage throws a
"InsufficientFileAccessPermissionsException" instead of a
"InsufficientUserPermissionsException".

Resolves: #52056
Releases: 6.0, 6.1, 6.2
Change-Id: I83e75038bd6763f201ef03ebf37018368e990e1a
Reviewed-on: https://review.typo3.org/23862
Reviewed-by: Helmut Hummel
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Fabien Udriot
Reviewed-by: Francois Suter
Tested-by: Francois Suter
5 years ago[TASK] Update felogin doc with showForgotPassword change 18/23918/4
Markus Klein [Fri, 20 Sep 2013 06:47:16 +0000 (08:47 +0200)]
[TASK] Update felogin doc with showForgotPassword change

Related: #50138
Releases: 6.2
Change-Id: I98bf8a4eadfae7183d8904956b3adcfdface1e5b
Reviewed-on: https://review.typo3.org/23918
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[FEATURE] Show forgot password only if conf showForgotPassword = 1 41/22541/4
Nicolas Forgeot [Wed, 24 Jul 2013 13:59:24 +0000 (15:59 +0200)]
[FEATURE] Show forgot password only if conf showForgotPassword = 1

Do not show forgot password form in felogin, if the forgot
password link for the login form has been disabled.

Resolves: #50138
Resolves: #34597
Releases: 6.2
Change-Id: I40b490cb09dc339067ff4ff0bc0d0afe0464a456
Reviewed-on: https://review.typo3.org/22541
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marco Huber
Tested-by: Marco Huber
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Fix PHP warning when writing to Backend user log 16/23116/4
Alexander Stehlik [Thu, 15 Aug 2013 16:05:10 +0000 (18:05 +0200)]
[BUGFIX] Fix PHP warning when writing to Backend user log

The writelog method for the BackendUserAuthentication object is now
checking if there is actually an uid available in the user array
before it tries to access it.

This prevents a PHP warning about an illegal string offset when writing
log messages in an authentication service.

Releases: 6.0, 6.1, 6.2
Resolves: #49328
Change-Id: I006c6b0ccd8f03292715a7d7ab8e457914637d93
Reviewed-on: https://review.typo3.org/23116
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Display relations' titles when TCA label field is type inline 02/23902/4
Claus Due [Thu, 19 Sep 2013 11:34:09 +0000 (13:34 +0200)]
[BUGFIX] Display relations' titles when TCA label field is type inline

This change adds a case to treat "inline" TCA types the same way
"select" is treated when building the record's label value.

Before, if record used field of type "inline" as TCA label field, TYPO3
would display fx "3" (number of related records as stored in field
on parent record).

After, TYPO3 will display fx "Record1, Record2, Record2" if "inline"
field contains three related records named thusly.

Fixes: #52133
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Ie06f09368e81505cb1e5989b61ae98add54b05ba
Reviewed-on: https://review.typo3.org/23902
Reviewed-by: Benjamin Rau
Tested-by: Benjamin Rau
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Cedric Ziel
Tested-by: Cedric Ziel
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGIFX] Missing rendering for newer menus 74/23674/2
Francois Suter [Sun, 8 Sep 2013 14:22:14 +0000 (16:22 +0200)]
[BUGIFX] Missing rendering for newer menus

Rendering is missing in css_styled_content for menu types
8 and 9 (introduced in 6.0 and 6.2 respectively) for older
versions of the static templates (i.e. below 6.0).

Add them down to 4.5.

Resolves: #51837
Releases: 6.2
Change-Id: I5f6f9068ceb89851c67b3c1ee2bd580936498c70
Reviewed-on: https://review.typo3.org/23674
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Faulty expand/collapse behavior in Element Browser 34/22934/3
Oliver Hader [Wed, 7 Aug 2013 17:01:53 +0000 (19:01 +0200)]
[BUGFIX] Faulty expand/collapse behavior in Element Browser

On using the element browser in combination with files, the
expand/collapse behavior is wrong. On opening a collapsed folder,
an AJAX call fetches the sub-nodes that will be added to the DOM
tree. However, the calling scope of the original rendering
process and the AJAX call differ a lot.
The only possibility to get this working is to transfer the
scope and rebuild it in the AJAX context.

Change-Id: I1bf7b56ae2d82d15e0246bd651f77793adde705b
Fixes: #45859
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/22934
Reviewed-by: Henrik Ziegenhain
Tested-by: Henrik Ziegenhain
Reviewed-by: Markus Schubath
Tested-by: Markus Schubath
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Form Wizard: Adds mouse pointer to docheader icons 74/23874/2
Ernesto Baschny [Tue, 17 Sep 2013 16:03:03 +0000 (18:03 +0200)]
[BUGFIX] Form Wizard: Adds mouse pointer to docheader icons

Resolves: #50907
Releases: 6.2, 6.1, 6.0
Change-Id: I232498fea18b270e9436aeaf710f728a62365a4b
Reviewed-on: https://review.typo3.org/23874
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Fix cropping of transparent gifs with im6. 96/13996/8
Stefan Neufeind [Thu, 25 Apr 2013 12:06:49 +0000 (14:06 +0200)]
[BUGFIX] Fix cropping of transparent gifs with im6.

The usage of the ! operator to force cropping empty image
canvas is inverted between ImageMagick v4 and v6 while
GraphicsMagick accepts both syntaxes. Because im4 is
deprecated, we can always use im6 syntax.

Fixes: #19045
Releases: 6.2, 6.1, 6.0
Change-Id: Iee1260a94f2686a512ce1b1df65c384319a4c4de
Reviewed-on: https://review.typo3.org/13996
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Felix Buenemann
Tested-by: Felix Buenemann
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[FEATURE] Allow multiple category fields per table 72/23772/20
Sebastian Michaelsen [Wed, 11 Sep 2013 15:07:13 +0000 (17:07 +0200)]
[FEATURE] Allow multiple category fields per table

It is only possible to do one makeCategorizable() call per
table, because if you do more the later calls would overwrite the
previous category field declaration. That's because of the way
the registry stores the category fields - it can only store one
field per table. This change improves that and allow multiple
fields pers table.

Additionally, a custom label can be set in the options array
for each category field.

Resolves: #51921
Releases: 6.2
Change-Id: I96d1235176109395339e9841564edadc0c71147d
Reviewed-on: https://review.typo3.org/23772
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[TASK] Remove GFX/im_mask_temp_ext_noloss setting 37/23837/3
Christian Kuhn [Sat, 14 Sep 2013 23:38:54 +0000 (01:38 +0200)]
[TASK] Remove GFX/im_mask_temp_ext_noloss setting

im_mask_temp_ext_noloss setting is a bugfix for a no longer supported
Image Magick 5 version. It can be removed.

Change-Id: I1001c3fc8fa924ec16e24a9e790a0decf2771bcc
Resolves: #52012
Releases: 6.2
Reviewed-on: https://review.typo3.org/23837
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Remove GFX/im_combine_filename setting 36/23836/3
Christian Kuhn [Sat, 14 Sep 2013 23:31:07 +0000 (01:31 +0200)]
[TASK] Remove GFX/im_combine_filename setting

Image Magick support for versions 4 and 5 was dropped. The setting
to differentiate combine from composite is obsolete now and composite
is used always.

Change-Id: I0fbc847167d340fd83315285745c63d53225891a
Resolves: #52011
Releases: 6.2
Reviewed-on: https://review.typo3.org/23836
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove BE/TSconfigConditions setting 38/23838/2
Christian Kuhn [Sat, 14 Sep 2013 23:58:07 +0000 (01:58 +0200)]
[TASK] Remove BE/TSconfigConditions setting

Did you know there is an option to disable condition parsing in
TS config? It is removed with the patch.

Change-Id: If6ce720a4416af80b7deb293160e8b712c04ff0d
Resolves: #52013
Releases: 6.2
Reviewed-on: https://review.typo3.org/23838
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove GFX/im_no_effects setting 35/23835/2
Christian Kuhn [Sat, 14 Sep 2013 23:08:24 +0000 (01:08 +0200)]
[TASK] Remove GFX/im_no_effects setting

Support for Image Magick version 4 and 5 was dropped, allowed
settings for im_version_5 are "im6" and "gm". As soon as one
of this is set for im_version_5, bootstrap automatically sets
"im_no_effects" to 1. In effect, this value is *always* one, so
it is obsolete and can be removed from the system.

Change-Id: Ieb798352aebaae4943018a225518591a952a8bcb
Resolves: #52010
Releases: 6.2
Reviewed-on: https://review.typo3.org/23835
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Install tool: Use sRGB colorspace in presets 40/23840/6
Christian Kuhn [Sun, 15 Sep 2013 13:50:08 +0000 (15:50 +0200)]
[BUGFIX] Install tool: Use sRGB colorspace in presets

Image Magick versions 6.7 and above need sRGB as colorspace,
otherwise images are too dark. This also works for older versions
like 6.6. Use sRGB as default is image configuration presets.

Change-Id: I7c50ee932b1335892eb228b10fc00136cfc54527
Resolves: #52017
Releases: 6.2
Reviewed-on: https://review.typo3.org/23840
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] SQL error in install tool if no root page available 33/23833/2
Steffen Müller [Sat, 14 Sep 2013 15:53:11 +0000 (17:53 +0200)]
[BUGFIX] SQL error in install tool if no root page available

Resolves: #52008
Releases: 6.2
Change-Id: I8fd7546ca6a293c6e9d11dd46d37a8cc89cf9620
Reviewed-on: https://review.typo3.org/23833
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Install tool sanitizes image generation output 97/23797/7
Wouter Wolters [Thu, 12 Sep 2013 20:04:28 +0000 (22:04 +0200)]
[BUGFIX] Install tool sanitizes image generation output

If execute path to ImageMagick or GraphicsMagick is not configured
correctly, the "Test setup" image tests in the install tool may show
false positives and do not render an error message that the image
generation faild.
The patch adds checks and displays an error message if for example
['GFX']['im_path'] is set to an invalid path.
There are other issues in this area, for example existing test
image files may be re-used with a broken configuration. These
are also fixed with this patch.

Change-Id: Id3cf116b80371379eae9c9dc348d9daee9d5b074
Resolves: #35070
Releases: 6.2
Reviewed-on: https://review.typo3.org/23797
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Don't set extensions checked by default in InstallSysExtsUpdate 27/23827/2
Wouter Wolters [Sat, 14 Sep 2013 11:59:57 +0000 (13:59 +0200)]
[TASK] Don't set extensions checked by default in InstallSysExtsUpdate

In the InstallSysExtsUpdate update wizard the extensions are checked
by default. This gives the indication that the extensions need
to be installed. In fact they are optional and therefore should
not be checked by default.

Change-Id: Ic61ad081b08d1906d224a29c79702db3fe1597e1
Resolves: #47733
Releas: 6.2
Reviewed-on: https://review.typo3.org/23827
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[FEATURE] Show string value for PHP error codes in install tool 94/23794/9
Wouter Wolters [Thu, 12 Sep 2013 17:29:56 +0000 (19:29 +0200)]
[FEATURE] Show string value for PHP error codes in install tool

"All configuration" in install tool shows the integer representation
of the bit mask of the PHP error codes in settings like
['SYS']['errorHandlerErrors']. This change adds a view helper to
show the current setting in an E_* constants representation.

Resolves: #51376
Releases: 6.2
Change-Id: Ia69251d97c07b1180f8e7ad99b687b5639396892
Reviewed-on: https://review.typo3.org/23794
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Improve description of config preset in install tool 32/23832/4
Steffen Müller [Sat, 14 Sep 2013 14:39:23 +0000 (16:39 +0200)]
[TASK] Improve description of config preset in install tool

Resolves: #52007
Releases: 6.2
Change-Id: I4c8bb6930040a9f3a5c5bc92c9638a98a2668daf
Reviewed-on: https://review.typo3.org/23832
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[FEATURE] Conditions support in backend layouts 97/23697/2
Alexey Gafiulov [Thu, 5 Sep 2013 15:58:11 +0000 (21:58 +0600)]
[FEATURE] Conditions support in backend layouts

Resolves: #47588
Releases: 6.2
Change-Id: I266f28472ffd78443b107d7ad6577603aecbc584
Reviewed-on: https://review.typo3.org/23697
Reviewed-by: Jo Hasenau
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[BUGFIX] Configuration controller fatals with local-only extension 38/23738/4
Sebastian Fischer [Wed, 11 Sep 2013 08:01:14 +0000 (10:01 +0200)]
[BUGFIX] Configuration controller fatals with local-only extension

If the settings of a local-only extension get saved the configuration
controller fatals. This is because the result of the extension model
repository does not get checked, if it really is a model.

With this fix the instance is first checked and afterwards the category
is read from the model.

Resolves: #51902
Releases: 6.2
Change-Id: I543aa0960f3c2ba1877189b44e47aa7f86c81928
Reviewed-on: https://review.typo3.org/23738
Reviewed-by: Sebastian Michaelsen
Tested-by: Sebastian Michaelsen
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Improve status messages of install tool 22/23822/4
Steffen Müller [Fri, 13 Sep 2013 20:49:59 +0000 (22:49 +0200)]
[TASK] Improve status messages of install tool

Resolves: #51995
Releases: 6.2
Change-Id: Ic1f2459b58f5376a306a6e8c910398ce6e4a9efe
Reviewed-on: https://review.typo3.org/23822
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Install Tool System environment warning badges look ugly 24/23824/3
Ernesto Baschny [Fri, 13 Sep 2013 21:25:27 +0000 (23:25 +0200)]
[BUGFIX] Install Tool System environment warning badges look ugly

The badges are now aligned and don't jump around when
the menu entry is selected. The left menu gets more room.

Releases: 6.2
Resolves: #51997
Change-Id: Ia9eb44467243781677df6a8046d6c2c864e70ad8
Reviewed-on: https://review.typo3.org/23824
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Clean up install tool module 23/23823/3
Helmut Hummel [Fri, 13 Sep 2013 21:21:00 +0000 (23:21 +0200)]
[TASK] Clean up install tool module

Resolves: #51996
Releases: 6.2
Change-Id: I5afca17c80931f3f9946fa5f33dc29fd1f572644
Reviewed-on: https://review.typo3.org/23823
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[FEATURE] Install tool: Left menu at fixed position 98/23798/10
Ernesto Baschny [Fri, 13 Sep 2013 17:26:09 +0000 (19:26 +0200)]
[FEATURE] Install tool: Left menu at fixed position

* Streamlines install tool main template.
* Adds a ContextService and use that in the templates.
  No more huge if/then/else constructs to differentiate
  standalone and backend modes.
* Fixes the left menu (and TYPO3 logo), letting the
  rest scroll up and down.
* In backend mode the menu and content starts right on top
  (no further headers to make scrolling look good)

Releases: 6.2
Resolves: #50910
Change-Id: Ie2ec277026a82332b533af51a37e7f308dd24e8c
Reviewed-on: https://review.typo3.org/23798
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
6 years ago[TASK] Add new icon for ext:reports 18/23818/3
Wouter Wolters [Fri, 13 Sep 2013 17:22:14 +0000 (19:22 +0200)]
[TASK] Add new icon for ext:reports

Add a new icon for ext:reports-module and adjust the
IconViewHelper. Removes 2 old icons.

Change-Id: Iff731cc27ad8e6323aea8c6c01c036f3a776b3e2
Related: #41631
Resolves: #51993
Releases: 6.2
Reviewed-on: https://review.typo3.org/23818
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Install tool: Fixed document header 12/23812/2
Christian Kuhn [Fri, 13 Sep 2013 16:02:19 +0000 (18:02 +0200)]
[BUGFIX] Install tool: Fixed document header

The document header is not at a fixed position but "scrolls away".
Fix this by adding a missing t3skin structure .css that defines this.

Change-Id: Ia1b3209db1b5fa08157002bca950110830e2403e
Resolves: #51989
Related: #50910
Releases: 6.2
Reviewed-on: https://review.typo3.org/23812
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Also consider JPEG files for IM/GM 10/23810/2
Markus Klein [Fri, 13 Sep 2013 14:37:32 +0000 (16:37 +0200)]
[BUGFIX] Also consider JPEG files for IM/GM

The Core does not check for the JPEG file extension
when converting images with IM/GM.

Resolves: #51981
Releases: 6.2, 6.1, 6.0
Change-Id: I148ecb0d3c71fdee563476c33865cd18420b2384
Reviewed-on: https://review.typo3.org/23810
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Use a 401 header if login is not successful 49/23649/5
Georg Ringer [Fri, 6 Sep 2013 08:00:04 +0000 (10:00 +0200)]
[TASK] Use a 401 header if login is not successful

If login is not correct, a 401 should be used instead of a 200.

Change-Id: Ia2fa139e89fe19df77bb0530b4fbce502506f524
Resolves: #51803
Releases: 6.2,6.1,6.0,4.5
Reviewed-on: https://review.typo3.org/23649
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[BUGFIX] Replace SHOW DATABASE by query to schema 37/23637/6
Alexander Opitz [Thu, 5 Sep 2013 12:55:47 +0000 (14:55 +0200)]
[BUGFIX] Replace SHOW DATABASE by query to schema

The SQL query "SHOW DATABASE" may be restricted on the SQL Server.
Since MySQL 5.0 (which is minimum since TYPO3 CMS 4.7) we can also query
the information_schema table to gather the information to which table
we have access.

Resolves: #47744
Releases: 6.2, 6.1
Change-Id: Ie65abadeed54cbc54bee401bdc1aab18ffc8eea6
Reviewed-on: https://review.typo3.org/23637
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Call to undefined method setTemplateFile 34/23734/2
Wouter Wolters [Tue, 10 Sep 2013 17:13:11 +0000 (19:13 +0200)]
[BUGFIX] Call to undefined method setTemplateFile

Call to undefined method when setting
'pageHeaderFooterTemplateFile' in TypoScriptFrontendController.
This needs to be called on the page renderer object.

Change-Id: Ic4407addb5d22f09fc4cd6482cc79ad5af724582
Resolves: #51891
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/23734
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Use lambda functions instead of create_function 82/23782/4
Christoph Dörfel [Thu, 12 Sep 2013 09:57:47 +0000 (11:57 +0200)]
[TASK] Use lambda functions instead of create_function

Make use of the possibilities of PHP 5.3+ and replace all
instances of create_function with an inlined function call.

Change-Id: I3ebabd56efe5d7e3ee07cffbf1f3bb6b5c85e7ff
Resolves: #51937
Releases: 6.2
Reviewed-on: https://review.typo3.org/23782
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Christoph Dörfel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[TASK] Install tool: Sort "All configuration" sections 91/23791/4
Christian Kuhn [Thu, 12 Sep 2013 15:12:18 +0000 (17:12 +0200)]
[TASK] Install tool: Sort "All configuration" sections

Order the sections in all configuration alphabetically.

Change-Id: I2096d2b0d8892e93a5740d0ad2b7dee1ddceb93e
Resolves: #47740
Releases: 6.2
Reviewed-on: https://review.typo3.org/23791
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Improve Installer database selection step 70/23770/4
Markus Klein [Wed, 11 Sep 2013 22:53:01 +0000 (00:53 +0200)]
[TASK] Improve Installer database selection step

Make the following adaption:
 * Change the order of the two options.
 * Preselect the first, empty, existing database.
 * Add a hint, that the user must have sufficient privileges
   to create a new database.

Resolves: #51931
Releases: 6.2
Change-Id: I823a194ddd1dc3aad2d560354bce20855c5c372c
Reviewed-on: https://review.typo3.org/23770
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Install tool shows docheader in backend 89/23789/2
Christian Kuhn [Thu, 12 Sep 2013 12:56:15 +0000 (14:56 +0200)]
[BUGFIX] Install tool shows docheader in backend

Install tool should show a document header if called in backend.
It includes some .css files from t3skin to do that. Those files
were moved around in issue #51134, not adapted in install tool,
resulting in 404 and missing document header. The patch adapts
templates to include files at new locations.

Change-Id: I9df6950ec3e218c175b012d9ef4233c5b5f6c925
Resolves: #51952
Related: #51134
Releases: 6.2
Reviewed-on: https://review.typo3.org/23789
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Installing TYPO3 -> Installing TYPO3 CMS 84/23784/2
Christian Kuhn [Thu, 12 Sep 2013 12:15:24 +0000 (14:15 +0200)]
[BUGFIX] Installing TYPO3 -> Installing TYPO3 CMS

Use correct product name in title tag and box during installation.

Change-Id: I21141aa06c12c1abf7fff83e1e33148be6c6373f
Resolves: #51946
Releases: 6.2
Reviewed-on: https://review.typo3.org/23784
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Install tool: Refactor db connect configuration settings 94/23394/12
Christian Kuhn [Wed, 28 Aug 2013 09:35:42 +0000 (11:35 +0200)]
[TASK] Install tool: Refactor db connect configuration settings

Refactor needsExecution() logic to make sure the mandatory settings
(username, password, host, port) are present in LocalConfiguration.php
before trying to establish a database connection using these settings.

This fixes a possible redirect loop if some of the mandatory settings
were not present, but the database connection check still succeeded.

Change-Id: Ifbf98a4bdcb62d9d29b7fbc1f3a03d3a7d621492
Resolves: #51433
Releases: 6.2
Reviewed-on: https://review.typo3.org/23394
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix phpDoc comment for addStaticFile() 81/23781/3
Alexander Stehlik [Thu, 12 Sep 2013 09:57:51 +0000 (11:57 +0200)]
[BUGFIX] Fix phpDoc comment for addStaticFile()

The method
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile()
should be called in ext_tables.php files since it manipulates the
TCA.

Resolves: #51939
Releases: 6.2
Change-Id: I75f099fb5d64ee1e11867c41728b2747a666ebfd
Reviewed-on: https://review.typo3.org/23781
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix SQL error for sys_file 67/23767/3
Markus Klein [Wed, 11 Sep 2013 22:06:15 +0000 (00:06 +0200)]
[BUGFIX] Fix SQL error for sys_file

Regression for SQL error introduced with #51562.

Resolves: #51929
Releases: 6.2, 6.1
Change-Id: Ib9756234fed6284c5c7547284dff9f3308360c35
Reviewed-on: https://review.typo3.org/23767
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Install Tool: Improve UX for foldout sections 55/23755/2
Markus Klein [Wed, 11 Sep 2013 15:44:48 +0000 (17:44 +0200)]
[BUGFIX] Install Tool: Improve UX for foldout sections

Change the cursor and add an arrow for foldout sections
in the Install Tool.

Resolves: #49188
Releases: 6.2
Change-Id: Iaf8f17b420f0716a23b5a6d8d4ebbbaa815a9143
Reviewed-on: https://review.typo3.org/23755
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[TASK] Move StorageRepositoryTest tests to AbstractRepositoryTest 62/23762/4
Anja Leichsenring [Wed, 11 Sep 2013 16:59:28 +0000 (18:59 +0200)]
[TASK] Move StorageRepositoryTest tests to AbstractRepositoryTest

All tests in the class belong to AbstractRepository, so the tests move.

Change-Id: I5e78e0d61a2d8f8bcfd06d871a909b749417e616
Resolves: #51923
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/23762
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Empty __call() function hides implementation errors 63/23763/2
Anja Leichsenring [Wed, 11 Sep 2013 17:06:53 +0000 (19:06 +0200)]
[BUGFIX] Empty __call() function hides implementation errors

Throw an Exception if this method hits.

Change-Id: Ide94043bb008e1dfaf19b452570ce70d5f2aa432
Resolves: #51924
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/23763
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Move forgotten getEnvironmentMode() 59/23759/3
Anja Leichsenring [Wed, 11 Sep 2013 16:47:30 +0000 (18:47 +0200)]
[BUGFIX] Move forgotten getEnvironmentMode()

getWhereClauseForEnabledFields() moved from StorageRepository
to AbstractRepository, but getEnvironmentMode() stayed
in StorageRepository although getWhereClauseForEnabledFields()
relies on it. Move getEnvironmentMode() as well.

Change-Id: Id252c8bd3b9e09a2c38d5ea1ebe6497dd76c12ae
Resolves: #51562
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/23759
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] FAL ResourceStorage must not access sys_file table directly 70/23470/4
Steffen Ritter [Wed, 11 Sep 2013 15:45:47 +0000 (17:45 +0200)]
[TASK] FAL ResourceStorage must not access sys_file table directly

The ResourceStorage accesses the index table sys_file directly via
a call to the $GLOBALS[TYPO3_DB]. The interaction with the sys_file
index table should be managed only by an according repository to
allow changes within that mechanism.

This patch rearranges the factory method to use the according
call within the FileRepository and adapts it, as the FileRepository
will return a file Object instead of an array.

This serves as a preparation for further indexing optimisations,
which need IndexRecords to be handled centrally.

Releases: 6.2, 6.1, 6.0
Resolves: #51519
Change-Id: I5aa2d212b936b218db1808ea3d0384b8292287a9
Reviewed-on: https://review.typo3.org/23470
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Follow-Up: Missing signals on adding file 52/23752/2
Stefan Neufeind [Wed, 11 Sep 2013 15:04:37 +0000 (17:04 +0200)]
[BUGFIX] Follow-Up: Missing signals on adding file

Mocked driver needs to return a proper "file" on calls to addFile().

Change-Id: Iddfc2f9b7e71101ad229a513727f65f64d654d45
Releases: 6.2, 6.1, 6.0
Resolves: #50795
Reviewed-on: https://review.typo3.org/23752
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[FEATURE] Enable allWrap.splitChar on all includeJS/includeCSS properties 69/23669/5
Christoph Dörfel [Thu, 5 Sep 2013 16:06:47 +0000 (18:06 +0200)]
[FEATURE] Enable allWrap.splitChar on all includeJS/includeCSS properties

The includeJS/includeCSS properties of the PAGE object feature an
allWrap property which replaces all pipe symbols with the generated
tag. This behaviour differs from how wraps are handled in TYPO3.
A splitChar can now be defined for the allWrap property and the wrap
works like the standard wrap method from the ContentObject class.

Resolves: #51782
Releases: 6.2
Change-Id: Ic2687394c209b0f58185f37a64b14dff30efd2a1
Reviewed-on: https://review.typo3.org/23669
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[BUGFIX] Missing signals on adding file 23/22823/6
Andreas Wolf [Mon, 5 Aug 2013 13:28:01 +0000 (15:28 +0200)]
[BUGFIX] Missing signals on adding file

There are signals for most operations performed in the file storage, but
not for adding a file. Especially this operation is interesting for
things like file indexing, automatic generation of variants (renditions)
etc., therefore this patch adds the two missing signals.

Change-Id: I0def7b44ff8977a42916e01388604fcbf2d6d299
Resolves: #50795
Release: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/22823
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[TASK] Remove sys_file.deleted flag and it's usage 67/23567/4
Ernesto Baschny [Tue, 3 Sep 2013 19:39:50 +0000 (21:39 +0200)]
[TASK] Remove sys_file.deleted flag and it's usage

This also fixes the 'Uncaught TYPO3 Exception #1317178604
No file found for given UID.' that appears when some sys_file
entries have a deleted flag set by mistake.

Resolves: #51562
Releases: 6.2, 6.1, 6.0
Change-Id: Id23636d2732f3562b8a155025656b26041c9a4e2
Reviewed-on: https://review.typo3.org/23567
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[TASK] Install tool configuration system 21/23321/15
Christian Kuhn [Mon, 12 Aug 2013 15:57:03 +0000 (17:57 +0200)]
[TASK] Install tool configuration system

The patch implements a "configuration system" to the install tool
that bundles several settings to enable them on click
depending on system capabilities.

A "feature" is represented by a set of configuration options that
are filled by different presets. Presets have a priority, the
best preset is the first one. Presets can be available or
not available and active or not. For example the "image handling"
feature has the presets "GraphicsMagick" and "ImageMagick 6" and
a "Custom" preset if the others do not fit.

This first patch implements "Charset conversion", "Image handling",
"Development / Production" and "Extbase object cache" settings.

During installation the available preset with highest priority
are configured.

Change-Id: I7304ef001717989720924e7ae03951eb3874adfd
Resolves: #51454
Releases: 6.2
Reviewed-on: https://review.typo3.org/23321
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Follow-up: Fix fileinfo property mapping in ResourceStorage 16/23716/4
Stefan Neufeind [Mon, 9 Sep 2013 22:11:50 +0000 (00:11 +0200)]
[BUGFIX] Follow-up: Fix fileinfo property mapping in ResourceStorage

Adjust unittest to changed conditions.

Change-Id: Ia885ba544a159cb1666464cece30c3e6ea3558b6
Fixes: #49386
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/23716
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
6 years ago[FEATURE] Enable/disable cascading deletion of child elements 51/22551/5
Christoph Niewerth [Thu, 25 Jul 2013 08:06:36 +0000 (10:06 +0200)]
[FEATURE] Enable/disable cascading deletion of child elements

Deleting a record will also delete all child records,
which are configured as type inline (field, list) within.
This patch adds a behaviour configuration option "enableCascadingDelete"
which is by default treated as true. If set to FALSE or '' or 0
deletion of inline child records will be disabled.

Resolves: #50391
Releases: 6.2
Change-Id: I7462e7721cd140880edeea82664ce4721aea63a7
Reviewed-on: https://review.typo3.org/22551
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Exception using cObject FORM in TypoScript 37/6537/5
Andreas Bouche [Fri, 4 Nov 2011 09:32:09 +0000 (10:32 +0100)]
[BUGFIX] Exception using cObject FORM in TypoScript

Through a bug introduced by #31120, an Exception is thrown when a
TypoScript FORM object should be rendered.

Change-Id: Ie67484fd014620ea229a7bee8bfebd063a3b57ae
Fixes: #31572
Releases: 6.2, 6.1, 6.0, 4.7
Reviewed-on: https://review.typo3.org/6537
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Fix fileinfo property mapping in ResourceStorage::setFileContents 34/21634/3
Thomas Maroschik [Mon, 24 Jun 2013 14:33:02 +0000 (16:33 +0200)]
[BUGFIX] Fix fileinfo property mapping in ResourceStorage::setFileContents

Fixes the handling of the mismatch between the file info property
"mimetype" and the file object property "mime_type" by using the
exposed API methods.

Fixes: #49386
Releases: 6.2, 6.1, 6.0
Change-Id: If948de2a8bead340ae97097b3e4e391a27296362
Reviewed-on: https://review.typo3.org/21634
Reviewed-by: Steffen Ritter
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[FEATURE] FAL missing files report 43/23143/8
Frans Saris [Fri, 16 Aug 2013 20:11:59 +0000 (22:11 +0200)]
[FEATURE] FAL missing files report

Adds a report about files flagged as missing.

Resolves: #51097
Releases: 6.2
Change-Id: I95f55fe9f0da9247e6960663dd315e82e18cc2b6
Reviewed-on: https://review.typo3.org/23143
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Fix missing translation in ext:reports 11/23711/2
Wouter Wolters [Mon, 9 Sep 2013 20:16:44 +0000 (22:16 +0200)]
[BUGFIX] Fix missing translation in ext:reports

Fix missing translation for ext:sv in ext:reports.
This was not trasfered to the new location for
the locallang.xlf file.

Change-Id: I594d9c89afbc42c5b6447fc2306a88d3c027b40e
Resolves: #51873
Releases: 6.2
Reviewed-on: https://review.typo3.org/23711
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Extbase scheduler task serialization 34/23634/3
arjenhoekema [Thu, 5 Sep 2013 07:49:11 +0000 (09:49 +0200)]
[BUGFIX] Extbase scheduler task serialization

When using Command Controllers as scheduled tasks the Extbase
Scheduled Task is serialized. Some singleton properties like
'objectManager', 'commandManager' and 'taskExecutor' are serialized
leading to duplicates of this objects.

Added magic "__sleep" and "__wakeup" methods destructing and
re-constructing the above objects.

Resolves: #50723
Releases: 6.2, 6.1, 6.0
Change-Id: I0a84487a1d8885f75dd4b4eaf004bb0dc93645c2
Reviewed-on: https://review.typo3.org/23634
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[TASK] Cleanup 20/23620/4
Wouter Wolters [Wed, 4 Sep 2013 17:45:48 +0000 (19:45 +0200)]
[TASK] Cleanup

Replace \' with " in exceptions

Add missing PHP closing tag in StoragePermissionsAspect

Eestructure a select query in the
BackendUserAuthentication class.

Change-Id: Id161c761288be93b8f43a2f855254ac954c32d5b
Resolves: #51744
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/23620
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Replace double quotes in exceptions 19/23619/2
Wouter Wolters [Wed, 4 Sep 2013 17:34:48 +0000 (19:34 +0200)]
[TASK] Replace double quotes in exceptions

Replace double quotes in exceptions to single quotes

Change-Id: I1a98d783d34eaf4f131b14ab27098c6a4759c9a0
Resolves: #51743
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/23619
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Ignore userTSConfig if not set in getModTSconfig() 01/23701/2
Helmut Hummel [Mon, 9 Sep 2013 18:06:17 +0000 (20:06 +0200)]
[BUGFIX] Ignore userTSConfig if not set in getModTSconfig()

It can happen that settings that are not defined in
userTSConfig can overwrite pageTSConfig settings
with a null value because of the change in #51007

This case is now checked so that in this case
the original pageTSConfig value is preserved.

Resolves: #51871
Releases: 6.0, 6.1, 6.2
Change-Id: I3fa356a1e5aa20716a6bc83f7c76b8b755fc0bbf
Reviewed-on: https://review.typo3.org/23701
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Do not add trailing slashes to files 96/23696/2
Helmut Hummel [Mon, 9 Sep 2013 15:13:09 +0000 (17:13 +0200)]
[BUGFIX] Do not add trailing slashes to files

In the security fix #50883 a canonicalize method
for folders has been used where items could
either be files or folders.

This added a trailing slash to files which triggered
a basedir PHP warning if basedir is configured
in PHP.

Use the canonicalize method for file paths instead
to fix this issue.

Resolves: #51761
Releases: 6.0, 6.1, 6.2
Change-Id: I9ef4b6a90ca257ad0104115bd7d48c4de68f135f
Reviewed-on: https://review.typo3.org/23696
Reviewed-by: Simon Schick
Tested-by: Simon Schick
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel