Packages/TYPO3.CMS.git
6 years ago[TASK] Raise submodule pointer 19/19119/2
Christian Kuhn [Wed, 20 Mar 2013 20:37:30 +0000 (21:37 +0100)]
[TASK] Raise submodule pointer

Change-Id: I03299ac7408140a6a0a3652bef62187b9073c317
Reviewed-on: https://review.typo3.org/19119
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix .zip-export on windows and add unit test 61/18961/5
Jost Baron [Fri, 15 Mar 2013 20:06:21 +0000 (21:06 +0100)]
[BUGFIX] Fix .zip-export on windows and add unit test

On Windows servers (xampp), the .zip-export of extensions did not
work because \ZipArchive::addFile can't add directories on Windows.

Added a unit test for the export function.

Fixes: #45140
Releases: 6.0, 6.1
Change-Id: If248bf031d3d7b621971de609b86eedc0ee05a64
Reviewed-on: https://review.typo3.org/18961
Reviewed-by: Jost Baron
Tested-by: Jost Baron
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] ExtDirectApi uses an undefined variable 60/18760/2
Dmitry Dulepov [Wed, 6 Mar 2013 18:24:44 +0000 (22:24 +0400)]
[BUGFIX] ExtDirectApi uses an undefined variable

Method generateAPI() sets $className inside the condition but later uses
it without checking if it is empty or not. The result is a PHP warning
"Invalid argument supplied for foreach()".

Change-Id: I7fd2bf88374661a8b54023aee9fe2af5619471b0
Resolves: #46075
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18760
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX][EM] Get extension show spinner icon in upper right table 97/19097/4
Christian Kuhn [Wed, 20 Mar 2013 15:45:01 +0000 (16:45 +0100)]
[BUGFIX][EM] Get extension show spinner icon in upper right table

The load mask logic in extension manager stumbles upon the fluid change
of issue #40826 and now always shows a spinner in the "Get extensions"
tab.
This is solved with a small cleanup of the classes and markup added to
this HTML section which anyway are obsolete since #46029.

Change-Id: I0a2e5b26c890ba7ba93bf4abb1f6485084ebf808
Resolves: #46455
Related: #46029
Related: #40826
Releases: 6.1
Reviewed-on: https://review.typo3.org/19097
Reviewed-by: Jost Baron
Tested-by: Jost Baron
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 14/19114/2
Christian Kuhn [Wed, 20 Mar 2013 19:18:07 +0000 (20:18 +0100)]
[TASK] Raise submodule pointer

Change-Id: I9676dd5027e3788ae7e1e224316c94e530857716
Reviewed-on: https://review.typo3.org/19114
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] NEWS.txt entry about removed f:form inline styling 78/19078/3
Christian Kuhn [Wed, 20 Mar 2013 11:17:25 +0000 (12:17 +0100)]
[TASK] NEWS.txt entry about removed f:form inline styling

Change-Id: Ia646ea2b54b8d7803309e0722662085eb8fe40c3
Resolves: #46451
Releases: 6.1
Reviewed-on: https://review.typo3.org/19078
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Separate ext:statictemplates code from core 74/18974/5
Christian Kuhn [Sat, 16 Mar 2013 10:41:01 +0000 (11:41 +0100)]
[TASK] Separate ext:statictemplates code from core

The three menu types GMENU_LAYERS GMENU_FOLDOUT and TMENU_LAYERS use
javascript files of statictemplates and belongs to the extension.
Using the new factory of issue #46292, those three menu objects are
now transferred to statictemplates extension.

For upgrade to TYPO3 CMS 4.5 an ugrade wizard was created to install
statictemplates system extension if the database tables was in use.
Everything before 4.5 is out of support for a long time, so we can
expect the extension to be already loaded if it is used. The old
upgrade wizard is removed now.

Some statictemplates specific code in ext:tstemplate is substituted
with hooks, used by statictemplates.

Change-Id: Id14dca12f09051c3003fedaeb971fef457f7a17e
Resolves: #46358
Related: #46292
Releases: 6.1
Reviewed-on: https://review.typo3.org/18974
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[BUGFIX] Usage of deprecated returnFilemounts() 13/18513/2
Markus Klein [Wed, 27 Feb 2013 12:06:46 +0000 (13:06 +0100)]
[BUGFIX] Usage of deprecated returnFilemounts()

Some places in Core still use $GLOBALS['BE_USER']->returnFilemounts()

Resolves: #36405
Releases: 6.0, 6.1
Change-Id: I6252ed1191811a9813e590aa570741d31522895c
Reviewed-on: https://review.typo3.org/18513
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Wouter Wolters
Reviewed-by: Sebastian Fischer
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] BELog module error: "vsprintf(): Too few arguments" 62/18762/2
Dmitry Dulepov [Wed, 6 Mar 2013 19:05:01 +0000 (23:05 +0400)]
[BUGFIX] BELog module error: "vsprintf(): Too few arguments"

AbstractExceptionHandler contains a function named writeLog. That
function adds an entry to the system log. System log expects not
just a string but a string format with % characters. Callers of
this methods may supply a URL ("Request URL:" in the log message)
that contains % characters. vsprintf() in the BELog view helper
will complain about missing arguments to such string.

Change-Id: Ie080c0af1d93c28f8521b670a8ae8e63f8c4cfda
Resolves: #46077
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18762
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Hardcoded CLI arguments from $_SERVER vars 29/18929/5
Benjamin Mack [Thu, 14 Mar 2013 23:15:48 +0000 (00:15 +0100)]
[FEATURE] Hardcoded CLI arguments from $_SERVER vars

Currently there is no way to overwrite the used CLI
arguments from the class who extends from the
\TYPO3\CMS\Core\Controller\CommandLineController

This occurs because the
\TYPO3\CMS\Core\Controller\CommandLineController connects
hardcoded to the $_SERVER['argv'] array. This is in
some situations very unhandy - e.g. trigger lowlevel
cleaner during a scheduler task.

Kudos to AOE, Michael Klapper and Tolleiv Nietsch!

Resolves: #21389
Releases: 6.1
Change-Id: I42c14d37e8e7f977b3c7e73b0009e6c8495c3258
Reviewed-on: https://review.typo3.org/18929
Reviewed-by: Dmitry Dulepov
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Deprecate class FE_loadDBGroup 49/18549/5
Thorsten Kahler [Fri, 1 Mar 2013 11:17:04 +0000 (12:17 +0100)]
[TASK] Deprecate class FE_loadDBGroup

Class FE_loadDBGroup's only purpose is to set an attribute of its parent
class. This should better be done when instantiating an object.

This patch additionaly renames the mentioned attribute to make its
purpose clearer. A setter method for that attribute is added and a
compatibility layer as well.

Change-Id: I44b3e331dcb86d75f266d9e36cf0829998f1fb5b
Resolves: #45937
Related: #23977
Releases: 6.1
Reviewed-on: https://review.typo3.org/18549
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Update copyright year to 2013 84/18984/4
Wouter Wolters [Sat, 16 Mar 2013 19:43:11 +0000 (20:43 +0100)]
[TASK] Update copyright year to 2013

In this patch are also some fixes for files containing
a interface. Due the namespace change all interfaces
have the curly bracket not on the same line as the
interface name.

Change-Id: I64ba45de73693452d681ce7f018965968b11d2af
Resolves: #46370
Releases: 6.1
Reviewed-on: https://review.typo3.org/18984
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Use minimised version of jquery.dataTables-1.9.4 52/16652/3
Stefan Neufeind [Wed, 21 Nov 2012 00:29:56 +0000 (01:29 +0100)]
[TASK] Use minimised version of jquery.dataTables-1.9.4

Change-Id: Ic8f2f046b6df70c885158f4c1f08cbad1c943cf1
Resolves: #43186
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/16652
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 18/19018/2
Christian Kuhn [Mon, 18 Mar 2013 20:45:07 +0000 (21:45 +0100)]
[TASK] Raise submodule pointer

Change-Id: I8b49be31e8f22a661dbb9c38f2e6a11d370541d3
Reviewed-on: https://review.typo3.org/19018
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Declare non static methods as static 01/18301/4
Georg Ringer [Fri, 15 Feb 2013 13:32:00 +0000 (14:32 +0100)]
[TASK] Declare non static methods as static

Change-Id: Ifa199fd6b500f4f161b49a406aa2678abdaa785b
Resolves: #45509
Releases: 6.1
Reviewed-on: https://review.typo3.org/18301
Reviewed-by: Dmitry Dulepov
Reviewed-by: Oliver Klee
Reviewed-by: Simon Schaufelberger
Tested-by: Simon Schaufelberger
Reviewed-by: Soren Malling
Tested-by: Soren Malling
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Media element not working with FAL 28/18228/3
Andreas Schütte [Wed, 13 Feb 2013 08:45:44 +0000 (09:45 +0100)]
[BUGFIX] Media element not working with FAL

With FAL the path to a file is no longer used,
instead the UID to the specific file is used,
prefixed with "file:"

This patch just adds a check if the filename
starts with "file:" and if so load the specific FileObject
to retrive the url. This check is done before all others,
because FAL should be the default file handler.
Additionally use explode() first to get the filename
if an editor adds (non used)
link parameters: file:740 _blank media-title

This fixes also the problem with audio files mentioned in #39416,
using the same patch.

Resolves: #41280
Related: #39416
Releases: 6.0, 6.1
Change-Id: Ibec6cefda54b6e136c0d5ae43c67ef2eea3b1bb8
Reviewed-on: https://review.typo3.org/18228
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Marco Huber
Tested-by: Marco Huber
Reviewed-by: Stefan Neufeind
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix PHP warning in BackendUtility::lockRecords 78/18978/5
Helmut Hummel [Sat, 16 Mar 2013 15:29:20 +0000 (16:29 +0100)]
[BUGFIX] Fix PHP warning in BackendUtility::lockRecords

This methods triggers a warning "Illegal String offset"
with PHP 5.4, because $GLOBALS['BE_USER']->user['uid'] is accessed
even if a user is not logged in.

Additionally a delete query is executed in this case which
does not make sense at all.

Properly check if a user is logged in before executing any
functionality in this method.

Fixes: #46361
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: I370e0a8610a55b3d684bef95d7c6905eaaaacbab
Reviewed-on: https://review.typo3.org/18978
Reviewed-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 91/18991/2
Christian Kuhn [Sun, 17 Mar 2013 21:07:51 +0000 (22:07 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ib66dcd1ca3ea25d55e9ff8a8dee281aa99687489
Reviewed-on: https://review.typo3.org/18991
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove old JS in page header 13/18313/4
Georg Ringer [Sat, 16 Feb 2013 12:05:09 +0000 (13:05 +0100)]
[TASK] Remove old JS in page header

Change-Id: I509ffe2cc3dc37cc08de3633c79127c1f50145a7
Resolves: #45528
Releases: 6.1
Reviewed-on: https://review.typo3.org/18313
Reviewed-by: Oliver Klee
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Markus Klein
Reviewed-by: Henrik Ziegenhain
Reviewed-by: Thomas Loeffler
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[FEATURE] Add stdWrap to config.pageTitleSeperator 23/18123/3
Georg Ringer [Fri, 8 Feb 2013 15:55:53 +0000 (16:55 +0100)]
[FEATURE] Add stdWrap to config.pageTitleSeperator

Add stdWrap to config.pageTitleSeperator

Change-Id: I88c2141167414b184f158d09f40df3aa36390b4a
Resolves: #35223
Releases: 6.1
Reviewed-on: https://review.typo3.org/18123
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[TASK] Use central jQuery 50/16650/2
Stefan Neufeind [Wed, 21 Nov 2012 00:17:46 +0000 (01:17 +0100)]
[TASK] Use central jQuery

Change-Id: I80ebeaff81fbcb8d4d479d977f7aa23390692d28
Resolves: #43184
Releases: 6.0
Reviewed-on: https://review.typo3.org/16650
Reviewed-by: Oliver Klee
Reviewed-by: Mattias Nilsson
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Sebastian Michaelsen
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] respect rootLevel=-1 in exec_foreign_table_where_query 17/18417/3
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
6 years ago[BUGFIX] HMENU rendering uses old tslib_ class names 13/18913/7
Christian Kuhn [Thu, 14 Mar 2013 16:39:14 +0000 (17:39 +0100)]
[BUGFIX] HMENU rendering uses old tslib_ class names

The menu rendering in frontend still instantiates menu classes with
its old tslib_ prefixed names. This is unflexible and a potential
performance issue.

The patch introduces a simple factory instead with a mapping for
existing TypoScript menu types to the implementing classes.
The current variable $menuclasses is obsolete.
Additionally, the naming of three existing classes is adapted to
the correct class names to be in sync with the others.

A method in the factory to register additional menu types will
be added with a second patch.

Change-Id: I3d65258ffe4d30a918705b23349d3facb563c80e
Resolves: #46292
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18913
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Make sure XML parser is created everytime when needed 66/18966/2
Christian Kuhn [Sat, 16 Mar 2013 00:25:29 +0000 (01:25 +0100)]
[BUGFIX] Make sure XML parser is created everytime when needed

Currently, EM's MirrorXmlPushParser, which is based on ext/xml,
is not properly working. The constructor creates the parser and
within parseXML() method the parser resource is freed.
However, when clicking on retrieve/update button method
parseXML() is invoked multiple times which makes subsequent calls
fail.

Creating the parser is now done within parseXML() method.

Change-Id: I7c6c15f65d08fb0264d7d66cc584cbe7ff423b45
Resolves: #25292
Releases: 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/18966
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 63/18963/2
Christian Kuhn [Fri, 15 Mar 2013 22:59:46 +0000 (23:59 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ifc59f15abf43026007737c1051bb0f79bfacc55d
Reviewed-on: https://review.typo3.org/18963
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Importing extensions from repository fails 05/18805/8
Christian Kuhn [Fri, 15 Mar 2013 21:54:00 +0000 (22:54 +0100)]
[BUGFIX] Importing extensions from repository fails

If importing the extension list from TER, an incoming XML extension
row has a field 'category' that contains either a string like
'plugin' or a category number.
The list is persisted to the 'extension' repository. In the
database, the category is stored as integer. There is a mapping
function in the extension model to get the integer category
index from given XML input. The method is faulty and returns
strings instead of an index if the given category is a string
itself. This results in database errors during insert.

The patch fixes the method, renames it along the way and adds
unit tests to document desired behavior.

Change-Id: I601b84d0829f3d20a4cdd25a3f7f37e8128dbce1
Fixes: #46115
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18805
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years agoRevert "[BUGFIX] Fix wrong column title in web>list for field colpos" 41/18941/4
Christian Kuhn [Fri, 15 Mar 2013 15:02:03 +0000 (16:02 +0100)]
Revert "[BUGFIX] Fix wrong column title in web>list for field colpos"

This reverts commit 50eba0a8eee20f9ecc2b2c0b5856677d256e3cfd

The patch triggers warnings and errors in multiple extensions. Digging
into the details shows the implementation is neither finished nor
stable. See issue #25113 for a detailed analysis.

Change-Id: I739c72887617b026d80063fe1fab57f95124d508
Related: #25113
Fixes: #45833
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/18941
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGIFX] Extra output block backend thumbnails 20/18220/2
Francois Suter [Tue, 12 Feb 2013 16:09:14 +0000 (17:09 +0100)]
[BUGIFX] Extra output block backend thumbnails

If some inclusion causes output when viewing image thumbnails
in the backend, the output will be broken. Adding a call to
ob_clean() ensures that this does not happen.

Resolves: #31953
Releases: 6.1, 6.0
Change-Id: I1d33bc3c5e8bbd1851f087c76564f8924f8dfe26
Reviewed-on: https://review.typo3.org/18220
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Reviewed-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Raise submodule pointer 31/18931/2
Christian Kuhn [Fri, 15 Mar 2013 00:37:25 +0000 (01:37 +0100)]
[TASK] Raise submodule pointer

Change-Id: I5eff310e62fc43d9d2f9b52631da8ce3b085d474
Reviewed-on: https://review.typo3.org/18931
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup form 09/18009/9
Wouter Wolters [Mon, 4 Feb 2013 21:31:07 +0000 (22:31 +0100)]
[TASK] Cleanup form

* Fix old classnames in comments
* Add missing function documentation
* Add \ to DOM* classes

Change-Id: Iec474715af103e0d158e5539b46a31c81ba678ac
Resolves: #45149
Releases: 6.1
Reviewed-on: https://review.typo3.org/18009
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 27/18927/2
Christian Kuhn [Thu, 14 Mar 2013 21:03:14 +0000 (22:03 +0100)]
[TASK] Raise submodule pointer

Change-Id: I1c7c78225043cd5b0edd5a1ee0ce3ea236ed5c0f
Reviewed-on: https://review.typo3.org/18927
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup func and func_wizards 25/18025/5
Wouter Wolters [Tue, 5 Feb 2013 18:34:05 +0000 (19:34 +0100)]
[TASK] Cleanup func and func_wizards

Change-Id: Ia23ed69335b6728c198b84b830104f11994e4663
Resolves: #45180
Releases: 6.1
Reviewed-on: https://review.typo3.org/18025
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Missing labels in backend modules 25/18925/4
Christian Kuhn [Thu, 14 Mar 2013 20:11:14 +0000 (21:11 +0100)]
[BUGFIX] Missing labels in backend modules

There seems to be some magic in SOBE that automatically includes
language files if they are located parallel to the module that is
loaded. The task from #46143 and #46144 registered new wizard classes
at a different location, so the magic doesn't hit anymore. As a
result, no labels are show in above extensions in the backend.
Fix is to include the locallang file in main() of the modules. The
direct access to $LANG is removed along the way by accessing
$GLOBALS['LANG'] directly.

Change-Id: Iecddb181141f5317b87e405ada925c61cfd9261c
Fixes: #46296
Related: #46143
Related: #46144
Releases: 6.1
Reviewed-on: https://review.typo3.org/18925
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] NEWS.txt entry about enabled new extbase property mapper 23/18923/3
Christian Kuhn [Thu, 14 Mar 2013 19:25:17 +0000 (20:25 +0100)]
[TASK] NEWS.txt entry about enabled new extbase property mapper

Change-Id: I13442a04ae0e0dc2c4907b72b9b5381177870b4e
Reviewed-on: https://review.typo3.org/18923
Reviewed-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] LanguageController has "mixed" type annotations 75/17975/4
Wouter Wolters [Sun, 3 Feb 2013 13:11:07 +0000 (14:11 +0100)]
[BUGFIX] LanguageController has "mixed" type annotations

The LanguageController of the lang sysext throws
exceptions if the rewritten property mapper is enabled.
The type annotation 'mixed' is unknown. The patch fixed
the annotation to the correct string value to make the
property mapper happy.

Change-Id: I57ebd268d2fe82c095ccf20b581e721703fb2868
Fixes: #44672
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17975
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Remove rewrittenPropertyMapper setting in sysext 19/18919/2
Anja Leichsenring [Thu, 14 Mar 2013 18:44:57 +0000 (19:44 +0100)]
[TASK] Remove rewrittenPropertyMapper setting in sysext

After enabling the rewrittenPropertyMapper per default, the
explicit enabling in sysexts is no longer needed.

Resolves: #46294
Releases: 6.1
Change-Id: I7f5760ae85999495606a3d56098cf7b38682b452
Reviewed-on: https://review.typo3.org/18919
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 18/18918/2
Christian Kuhn [Thu, 14 Mar 2013 18:31:39 +0000 (19:31 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ie182842c25a5dcb49989cd8478497c63a1fe1938
Reviewed-on: https://review.typo3.org/18918
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Integrate latest version of jquery (1.9.1) 09/18909/2
Benjamin Mack [Thu, 14 Mar 2013 15:53:11 +0000 (16:53 +0100)]
[TASK] Integrate latest version of jquery (1.9.1)

With the new jQuery API introduced in TYPO3 CMS 6.0,
it is possible to ship and include multiple jQuery versions.

For 6.1 the latest version of jQuery should be used,
so the latest release is added to the local jQuery repository.

Releases: 6.1
Resolves: #46286
Change-Id: I5745df65b463db4973df346afe963a35d68d5bab
Reviewed-on: https://review.typo3.org/18909
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Release typo3/ajax.php from early t3lib_div usage 03/18903/2
Christian Kuhn [Fri, 15 Feb 2013 21:59:25 +0000 (22:59 +0100)]
[TASK] Release typo3/ajax.php from early t3lib_div usage

ajax.php entry script requires t3lib_div very early to use a single
method from it. This is ugly, so the needed code is now implemented
in ajax.php directly, removing the requirement to include t3lib_div
so early.

Change-Id: I974c39c185872ab68bdc7732434c4bc52d77f75f
Resolves: #46269
Release: 6.1
Reviewed-on: https://review.typo3.org/18903
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Skip unreliable APC test on PHP versions below 5.3.4 01/18901/2
Christian Kuhn [Thu, 14 Feb 2013 00:13:43 +0000 (01:13 +0100)]
[BUGFIX] Skip unreliable APC test on PHP versions below 5.3.4

APC has some slam protection that tries to prevent hammering of cache
entries. This can be disabled, but the option does not work at least
in native PHP 5.3.3 on debian squeeze. While it is no problem with
higher PHP version like the current one on travis-ci.org,
some tests are now just skipped on PHP environments knows for issues.

Change-Id: Ibbef201805b58041bb0b3e8aa16f0c1a2e366020
Resolves: #46267
Release: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18901
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Add .htaccess file to ext:extensionmanager/Resources/Private 97/18897/2
Christian Kuhn [Wed, 13 Feb 2013 23:59:20 +0000 (00:59 +0100)]
[BUGFIX] Add .htaccess file to ext:extensionmanager/Resources/Private

Change-Id: I7ada1e5e40067cf1faed8b2b5d338a690e921cad
Fixes: #46264
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18897
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Relocate cache backend sql resource files 95/18895/2
Christian Kuhn [Wed, 13 Feb 2013 23:50:12 +0000 (00:50 +0100)]
[TASK] Relocate cache backend sql resource files

Some cache backends have specific sql resource files located at
t3lib/cache/backend/resources.
After namespace switch, the class files are located at ext:core.
According to the extbase scheme, the resource files are now moved
to ext:core/Resources/Private/Sql/Cache/Backend and renamed.

Change-Id: Ib693e0dfed8636b9898ef9bbff73dab21df5c2b0
Resolves: #46263
Releases: 6.1
Reviewed-on: https://review.typo3.org/18895
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Move CF last_synched_revision file to ext:core/Classes/Cache 94/18894/2
Christian Kuhn [Wed, 13 Feb 2013 23:18:30 +0000 (00:18 +0100)]
[TASK] Move CF last_synched_revision file to ext:core/Classes/Cache

Change-Id: I32887386c6a5b4162a12b419c5f34e1ddc061a35
Resolves: #46262
Releases: 6.1
Reviewed-on: https://review.typo3.org/18894
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Toolbar items with separator: fix white-space 58/18458/2
Felix Kopp [Sun, 24 Feb 2013 16:14:05 +0000 (17:14 +0100)]
[BUGFIX] Toolbar items with separator: fix white-space

The toolbar function could output erroneous html is case
additional toolbar items do not bring additionalAttributes.

Additional attributes are defined based on ToolbarItemHookInterface.
But additionalAttributes can be an empty string:

Fix output <liclass="separator"> to <li class="separator">
by adding an extra white-space.

Change-Id: I09338d17848c8fc74b25e7c532d6ee329956321b
Fixes: #45795
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18458
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup sysext "wizard_crpages" and "wizard_sortpages" 20/18820/2
Wouter Wolters [Mon, 18 Feb 2013 20:47:09 +0000 (21:47 +0100)]
[TASK] Cleanup sysext "wizard_crpages" and "wizard_sortpages"

This is a non-functional change that reformats the code, removes
unnecessary empty lines and fixes reference to old classnames.

Furthermore change "0" to FALSE where a boolean is needed.

Change-Id: Ida0c80ce0c54c6054e248b29c716b740f5e65194
Resolves: #46143
Releases: 6.1
Reviewed-on: https://review.typo3.org/18820
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup sysext "tstemplate" and module functions 21/18821/2
Wouter Wolters [Tue, 19 Feb 2013 18:24:34 +0000 (19:24 +0100)]
[TASK] Cleanup sysext "tstemplate" and module functions

Change-Id: Icd9ad7fadbd6910eba87a77908e15568be800dc2
Resolves: #46144
Releases: 6.1
Reviewed-on: https://review.typo3.org/18821
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 89/18889/2
Christian Kuhn [Wed, 13 Mar 2013 22:50:55 +0000 (23:50 +0100)]
[TASK] Raise submodule pointer

Change-Id: I04d40a3796937182603c7b85e16227f18f51c002
Reviewed-on: https://review.typo3.org/18889
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Central system environment check 70/18870/11
Christian Kuhn [Mon, 25 Feb 2013 20:50:02 +0000 (21:50 +0100)]
[FEATURE] Central system environment check

This patch adds a new structure to the install tool to centralize
all system and especially PHP related system checks cluttered in
various modules and parts of the core at the moment.

The idea is to have a basic, standalone script to test for all
requirements TYPO3 CMS has in order to run smoothly. The script does
not use any TYPO3 core code and has no further dependencies. With
a later patch, the check will be integrated as the very first
step during install, to give a good indicator if the final
installed system will work well or if any system constraints are
not met.

Currently, the script is included as a new section in the install
tool, called "System environment", where all checks are performed
and each gives a status back. This will already help to support
questions on mailing lists and should be the first step every user
is guided to: "Do you have warnings or errors in the system
environment?". The install tool implementation should also help
already if moving an instance to a different server.

Furthermore, there is a simple integration in the reports module
that points to the install tool if issues are found.

The class structure is as simple as possible, it is very easy to
adapt single checks later on, the API is a single getStatus() method
that returns all check object of the specific tests. Due to the
nature of the script and the later usage in the installation
process, things like localization and so on are not done and
should also not be implemented later on.

Most current check code is fetched from existing install tool,
reports module and bootstrap code. This also make the main
Installer.php class of the install tool already a bit better
maintainable since 600 lines of code are removed from it.

Change-Id: I64387ca9aaa4b429ee4a909cdab4386180af0d45
Resolves: #46219
Releases: 6.1
Reviewed-on: https://review.typo3.org/18870
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Translation of a form makes the form wizard unusable 96/12996/9
Mario Rimann [Tue, 15 Jan 2013 09:20:27 +0000 (10:20 +0100)]
[BUGFIX] Translation of a form makes the form wizard unusable

As soon as the form-configuration for the form wizard gets
loaded, the leading "[Translate to XYZ:] " is stripped off to get the
wizard working (with the leading text, the form config could not
be serialized as needed and the wizard didn't show a single field).

The stripping is only done on localized records.

Change-Id: I0cab1d371abf5ae01b524c39acedcd1a3a5db9c4
Fixes: #39127
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/12996
Tested-by: Mario Rimann
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Improve FAL performance 16/18316/4
Dmitry Dulepov [Sat, 16 Feb 2013 17:57:33 +0000 (19:57 +0200)]
[TASK] Improve FAL performance

FAL performance in BE and FE can be improved by using certain database
indexes. One set of indexes improves performance in BE by adding a
"deleted" column, which is used by List module. Without this column
in the 'pid' index, List module will do a full scan, which is much
slower. Another set of indexes improves performance when getting files
from storage.

Change-Id: I1f8577453ed917db95d680ca74fefc4691ba53b0
Resolves: #45532
Releases: 6.1
Reviewed-on: https://review.typo3.org/18316
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Improve rootline cache handling 14/18314/2
Georg Ringer [Sat, 16 Feb 2013 13:18:43 +0000 (14:18 +0100)]
[TASK] Improve rootline cache handling

The method get() checks if there is an entry by using
has() and does then an additional get(). This can
be simplified which saves a query for every hit

Change-Id: I0ebfd8c7622a5e673d3f34aa685f18a9878116ef
Resolves: #45530
Releases: 6.1
Reviewed-on: https://review.typo3.org/18314
Reviewed-by: Oliver Hader
Reviewed-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Exception when deleted file is in clipboard 91/18191/2
Andreas Wolf [Sun, 10 Feb 2013 17:10:54 +0000 (18:10 +0100)]
[BUGFIX] Exception when deleted file is in clipboard

When a file is deleted while it is part of a clipboard, an exception is
thrown when the clipboard is reconstituted. This exception has to be
catched, otherwise the file module will be unusable.

Change-Id: I8849644ffa7b78559c1797d85ce3cc6e01d03a74
Resolves: #43906
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18191
Reviewed-by: Thomas Scheibitz
Tested-by: Thomas Scheibitz
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] inject* methods in FAL inhibit use of Extbase object manager 59/18159/3
Andreas Wolf [Sat, 9 Feb 2013 14:49:32 +0000 (15:49 +0100)]
[BUGFIX] inject* methods in FAL inhibit use of Extbase object manager

The ResourceStorage class of FAL has two inject* methods which are seen
as dependency injectors by the Extbase object manager. Thus an exception
is thrown when a ResourceStorage object is created via Extbase.

This commit changes the two method's names and adjust all usages within
the core. These methods are internal and I don't expect them to be used
anywhere else, so we don't need a backwards compatibility layer.

Change-Id: I4b73445708cf8041b505b5ea8923dc595ddaadb0
Resolves: #45319
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18159
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Add context-menu for template-icon in the "Template"-view 46/18846/2
Stefan Neufeind [Mon, 11 Mar 2013 22:29:06 +0000 (23:29 +0100)]
[FEATURE] Add context-menu for template-icon in the "Template"-view

Allows to easily copy, delete, (de)activate etc. the template.

Resolves: #46058
Releases: 6.1
Change-Id: I2dfc96da13fdec9807a05ef3764d40db76aa1c4e
Reviewed-on: https://review.typo3.org/18846
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Set TYPO3 version to 6.1-dev 66/18866/2
TYPO3 Release Team [Tue, 12 Mar 2013 16:07:31 +0000 (17:07 +0100)]
[TASK] Set TYPO3 version to 6.1-dev

Change-Id: Ic7f565cb3188194e47a13b284a9d5f79e90d8616
Reviewed-on: https://review.typo3.org/18866
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[RELEASE] Release of TYPO3 6.1.0alpha1 65/18865/2
TYPO3 Release Team [Tue, 12 Mar 2013 16:07:15 +0000 (17:07 +0100)]
[RELEASE] Release of TYPO3 6.1.0alpha1

Change-Id: If1bbb1fab9f79ddfab6c848c6549d9244cfc6f98
Reviewed-on: https://review.typo3.org/18865
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[BUGFIX] Prevent encoding of HTML entities in backend previews 94/10494/8
Helmut Hummel [Tue, 27 Nov 2012 00:38:41 +0000 (01:38 +0100)]
[BUGFIX] Prevent encoding of HTML entities in backend previews

HTML entities that are used in HTML enabled fields should
be preserved for the preview instead of being encoded (twice).

Change-Id: I4f7b0b7214906f404a1cd1efba009a8cf577a18b
Fixes: #36067
Releases: 6.1
Reviewed-on: https://review.typo3.org/10494
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Cleanup filelist 05/18005/2
Wouter Wolters [Mon, 4 Feb 2013 17:44:54 +0000 (18:44 +0100)]
[TASK] Cleanup filelist

Change-Id: If107bd20db15d1881c12097adecd342b8e1979aa
Resolves: #45143
Releases: 6.1
Reviewed-on: https://review.typo3.org/18005
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Oliver Klee
Reviewed-by: Felix Kopp
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup sysext "taskcenter" and "tsconfig_help" 22/18822/3
Wouter Wolters [Tue, 19 Feb 2013 19:24:38 +0000 (20:24 +0100)]
[TASK] Cleanup sysext "taskcenter" and "tsconfig_help"

Change-Id: I2658e5d0a7ae979f93b60713294adcbe8e41db09
Resolves: #46145
Releases: 6.1
Reviewed-on: https://review.typo3.org/18822
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Show better error messages on failed TER update 88/18688/4
Jost Baron [Mon, 4 Mar 2013 21:38:01 +0000 (22:38 +0100)]
[TASK] Show better error messages on failed TER update

This patch shows error messages in a flash message if the ajax request
for a TER-update fails, and resets the extension manager into a sane
state, instead of showing an ever spinning wheel.

Resolves: #46030
Releases: 6.1
Change-Id: I1cc67460a11feb206c53c12a38ad0f6db482e04a
Reviewed-on: https://review.typo3.org/18688
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] sys_note: Display/functionality for hover/context menu 11/16911/8
Stefan Neufeind [Sat, 1 Dec 2012 01:02:52 +0000 (02:02 +0100)]
[FEATURE] sys_note: Display/functionality for hover/context menu

In page-module content-elements only show icons when hovered
and they have a contextmenu on the icon.

Add same functionality for sys_note

Change-Id: I170309ac5ffe8b9cfa25ba1c9933d69ddcbcbca8
Resolves: #43496
Releases: 6.1
Reviewed-on: https://review.typo3.org/16911
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Make the update-from-TER link more visible 87/18687/3
Jost Baron [Mon, 4 Mar 2013 20:41:21 +0000 (21:41 +0100)]
[TASK] Make the update-from-TER link more visible

Make the "update from TER"-action in the extension manager more
visible by showing a button for it, instead of a text link.

Also moved the rendering functionality of the update link from
a viewhelper to a partial, as partials tend to be more readable
and bug free.

Resolves: #46029
Releases: 6.1
Change-Id: If447bba28bc0dee3e7de286e1a93e062ef59843c
Reviewed-on: https://review.typo3.org/18687
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Handle symlink on extension update 26/18826/4
Philipp Gampe [Sun, 10 Mar 2013 16:15:27 +0000 (17:15 +0100)]
[BUGFIX] Handle symlink on extension update

If an extension is updated and the extension in the file
system is a symlink to a different directory, all
target directory contents is removed and the update fails.

Introduce a check for symlink and just remove the
symlink in this case.

Resolves: #46158
Releases: 6.1, 6.0
Change-Id: I112ae7192fb0edf77ebd703a61804dc09ca506a4
Reviewed-on: https://review.typo3.org/18826
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] More descriptive error message on file upload failure 27/18827/2
Philipp Gampe [Thu, 27 Dec 2012 12:34:12 +0000 (13:34 +0100)]
[TASK] More descriptive error message on file upload failure

Provide the user with more accurate information about what might have
gone wrong.

Resolves: #46160
Releases: 6.0,6.1
Change-Id: I86123b904f36ff7f6db77f2dd13f97c0a01957c3
Reviewed-on: https://review.typo3.org/18827
Reviewed-by: Alexander Opitz
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Correct check for extTables script 28/18828/2
Francois Suter [Sun, 10 Mar 2013 19:42:19 +0000 (20:42 +0100)]
[BUGFIX] Correct check for extTables script

Existence of the script defined in TYPO3_extTableDef_script is
currently achieved by using file_exists(). This is insufficient
if TYPO3_extTableDef_script is defined, but empty, as
file_exists() will match "typo3conf/" and try to include it.

Resolves: #46161
Releases: 6.0, 6.1
Change-Id: I2e72e86bc583bf4a1ca7e570e679d8297963383d
Reviewed-on: https://review.typo3.org/18828
Reviewed-by: Francois Suter
Tested-by: Francois Suter
6 years ago[BUGFIX] Typo in sys_log TCA 11/18811/2
Christian Kuhn [Fri, 8 Mar 2013 10:32:13 +0000 (11:32 +0100)]
[BUGFIX] Typo in sys_log TCA

Wrong table field name in sys_log TCA "detail_nr" instead of
"details_nr" triggers SQL errors in DB check -> Full search module.

Change-Id: I02298019ef29f38def0b6c204236fd6987b92bce
Releases: 6.1, 6.0
Fixes: #45887
Reviewed-on: https://review.typo3.org/18811
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 10/18810/2
Christian Kuhn [Fri, 8 Mar 2013 10:09:01 +0000 (11:09 +0100)]
[TASK] Raise submodule pointer

Change-Id: I886c3e9cb3212d958b405e0ac9264c2ef9860171
Reviewed-on: https://review.typo3.org/18810
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Don't render table header if no files given 62/18362/2
Georg Ringer [Mon, 18 Feb 2013 16:19:35 +0000 (17:19 +0100)]
[TASK] Don't render table header if no files given

It doesn't make sense to render the table header in
the filelist module if no files are given.

Change-Id: I81870bca94e63643e3f27c90efa370b0a9964337
Resolves: #45579
Releases: 6.1
Reviewed-on: https://review.typo3.org/18362
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Soren Malling
Tested-by: Soren Malling
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Wrong cmd example in INSTALL.txt 06/18806/2
Markus Klein [Fri, 8 Mar 2013 09:45:52 +0000 (10:45 +0100)]
[BUGFIX] Wrong cmd example in INSTALL.txt

The INSTALL.txt file has an example on how to create a link
in Windows using the MKLINK command.

Unfortunately the parameters in the example have the wrong order.

Resolves: #46119
Releases: 6.1, 6.0, 4.7, 4.5
Change-Id: Ida960d79e0144c15afdd7c21a9cd35466ec24545
Reviewed-on: https://review.typo3.org/18806
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix SQL syntax 75/18475/3
Michael Stucki [Tue, 26 Feb 2013 00:19:02 +0000 (01:19 +0100)]
[BUGFIX] Fix SQL syntax

Use single quotes to retain compatibility with PostgreSQL.

Change-Id: If3b900d08330bb96ce37fcbefcd110ccfd9b24b5
Resolves: #45826
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18475
Reviewed-by: Felix Kopp
Reviewed-by: Rico Sonntag
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Allow Setting colorspace in the Install Tool. 74/17474/12
Anja Leichsenring [Sat, 12 Jan 2013 10:50:37 +0000 (11:50 +0100)]
[BUGFIX] Allow Setting colorspace in the Install Tool.

Some versions of Imagemagick (6.7.0 and above) use the sRGB colorspace
instead RGB as before. This results in darker images after processing,
because TYPO3 hardcoded the RGB colorspace in graphical functions.

This patch introduces a setting in the GFX part of the Install Tool,
lets the user choose the sufficient colorspace.
This selection is used in graphical functions.

Additionaly a hint on the setting was added to the Image Processing Test
'Read Images' in the Install Tool.

Fixes: #36597
Releases: 6.1, 6.0, 4.7, 4.5
Change-Id: I50a26c414705afa3177a2f12fc3bb4532c2d0f7f
Reviewed-on: https://review.typo3.org/17474
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Deactivating "install" extension leads to exceptions 24/16824/3
Wouter Wolters [Tue, 27 Nov 2012 21:48:44 +0000 (22:48 +0100)]
[BUGFIX] Deactivating "install" extension leads to exceptions

Uninstalling the "install" extension leads to exceptions in
required system extensions like extensionmanager or lang.

The solution is to make "install" a required extension too.

Change-Id: Id5a0ebd9400648cd7c453d98b58e8cad1d155bd8
Fixes: #43361
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/16824
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Sebastian Michaelsen
Tested-by: Sebastian Michaelsen
Reviewed-by: Oliver Klee
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Fix deprecated things in sysnote 94/18194/3
Markus Günther [Mon, 11 Feb 2013 06:43:36 +0000 (07:43 +0100)]
[TASK] Fix deprecated things in sysnote

The extension sysnote uses deprecated methods in the repository and
the controller. This patch will adjust that.

Fixes: #45349
Releases: 6.1

Change-Id: I7270efb264b80eb852ad972e8a492c0941e83be2
Reviewed-on: https://review.typo3.org/18194
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] RTE: Empty paragraphs are not correctly transformed 21/11621/5
Stanislas Rolland [Tue, 11 Dec 2012 16:00:36 +0000 (11:00 -0500)]
[BUGFIX] RTE: Empty paragraphs are not correctly transformed

Problem: Empty paragraphs entered in the RTE may get lost on way to
database if no block is found in content, as well as on way to the RTE
if followed by a block.
Solution: Fix both transformations and add multiple unit test
cases.

Releases: 4.5, 4.7, 6.0, 6.1
Resolves: #36904
Resolves: #26141

Change-Id: I6c5495fb668f29267bcdeb7b44814a4bb9dc0f96
Reviewed-on: https://review.typo3.org/11621
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Tested-by: Mario Rimann
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Flatten row-headers 15/18715/3
Felix Kopp [Tue, 5 Mar 2013 22:52:01 +0000 (23:52 +0100)]
[TASK] Flatten row-headers

Flattens the 3d gradient row-headers as discussed in UX team.
Following the new page module column style.

Change-Id: I4dea32d0e4ed021baa402559eeda91f9293b5abf
Fixes: #43282
Releases: 6.1
Reviewed-on: https://review.typo3.org/18715
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Clearing cache from toolbar fails in IE8 53/18453/2
Andreas Kießling [Sat, 23 Feb 2013 12:49:47 +0000 (13:49 +0100)]
[BUGFIX] Clearing cache from toolbar fails in IE8

Fix for regression in #45595 that was introduced with #36364
IE8 does not pass the click event to the handler function and thus
raises a JavaScript error. The event can be fetched from the window
object in this case.

Fixes: #45595
Releases: 6.1, 6.0, 4.7, 4.6, 4.5

Change-Id: I9ccd5c8ae660a34e404122d9dd1c816909688b3e
Reviewed-on: https://review.typo3.org/18453
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Mario Rimann
Tested-by: Mario Rimann
Tested-by: Pascal Maechler
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] pageNotFound_handling never happens 58/18558/4
Thorben Kapp [Sat, 2 Mar 2013 11:57:08 +0000 (12:57 +0100)]
[BUGFIX] pageNotFound_handling never happens

The function \TYPO3\CMS\Core\Utility\RootlineUtility::getRecordArray
throws a \RuntimeException that should be caught in
\TYPO3\CMS\Frontend\Page\PageRepository::getRootline. If the exception
is not caught, the page-not-found-handling is never triggered.

Fixes: #44454
Releases: 6.0, 6.1
Change-Id: I3988b46ebaa8e479ed3c70017a5dda6bc5eaceac
Reviewed-on: https://review.typo3.org/18558
Reviewed-by: Thorben Kapp
Reviewed-by: Tilo Baller
Tested-by: Tilo Baller
Tested-by: Thorben Kapp
Tested-by: Vincent Mans
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Christian Futterlieb
Reviewed-by: Tomasz Krawczyk
Tested-by: Tomasz Krawczyk
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove unused files: images & templates 55/18455/2
Felix Kopp [Sun, 24 Feb 2013 02:38:19 +0000 (03:38 +0100)]
[TASK] Remove unused files: images & templates

Most images in typo3/gfx are not used anymore.
Also several html templates are not in use any more.
Removes few image and template files.

Change-Id: Icb609e20a188e19df49aee9173f599af0f087d9a
Fixes: #45785
Releases: 6.1
Reviewed-on: https://review.typo3.org/18455
Reviewed-by: Soren Malling
Tested-by: Soren Malling
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] ExtensionManagementUtility tries to include non-existing files 57/18757/4
Dmitry Dulepov [Wed, 6 Mar 2013 17:51:13 +0000 (21:51 +0400)]
[BUGFIX] ExtensionManagementUtility tries to include non-existing files

Methods createExtLocalconfCacheEntry() and createExtTablesCacheEntry()
attempt to include files without checking if they exist. This causes
PHP warnings about non-existing files and looses time in a call to
GeneralUtility::getUrl().

Change-Id: Icbee0c8e6e9e0ada1dc48ac471006b6dc59adc6d
Resolves: #46074
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18757
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Update copyright year to 2013 70/18770/3
Ernesto Baschny [Thu, 7 Mar 2013 08:32:30 +0000 (09:32 +0100)]
[TASK] Update copyright year to 2013

Resolves: #46085
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Change-Id: I970078281d129be8ffef0bef128b23354ce59ddd
Reviewed-on: https://review.typo3.org/18770
Reviewed-by: Thomas Loeffler
Tested-by: Thomas Loeffler
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Oliver Klee
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUFIX] External URL regression by jumpurl security fix 53/18753/5
Helmut Hummel [Wed, 6 Mar 2013 14:47:57 +0000 (15:47 +0100)]
[BUFIX] External URL regression by jumpurl security fix

With the jumpurl security fix, pages of type
'Link to external URL' throw a jumpurl
hash exception if called in the frontend. This typically
happens if a HMENU renders such page links.

The patch adapts the TSFE logic to write the required
hash dynamically to _GET to make the jumpurl check happy
that is called later on within the same process if
calling such a 'external url' link.

Change-Id: Ie73cd9710929c72aad4e75543f90c8618797997b
Fixes: #46071
Related: #28587
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/18753
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Gregor Hermens
Tested-by: Gregor Hermens
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Raise submodule pointer 40/18740/2
TYPO3 Release Team [Wed, 6 Mar 2013 11:04:12 +0000 (12:04 +0100)]
[TASK] Raise submodule pointer

Change-Id: I40dc056b209f1105ea18b78a4700c62e14018b6f
Reviewed-on: https://review.typo3.org/18740
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[SECURITY] Open redirection with jumpurl 34/18734/2
Franz G. Jahn [Wed, 6 Mar 2013 10:49:25 +0000 (11:49 +0100)]
[SECURITY] Open redirection with jumpurl

jumpurl allows redirect to any given URL. A hash on the url
is now required to know if the jumpurl has been created
by the system or by the outside.

The hook "jumpurlRedirectHandler" can be used to allow
redirects without hash or to custom redirects.

Fixes: #28587
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Change-Id: I63da18b1963ec50cd95dd49d1669c9873b7bab54
Security-Commit: ad62088840f78ed3947cfb9b66ef20d6d9760b69
Security-Bulletin: TYPO3-CORE-SA-2013-001
Reviewed-on: https://review.typo3.org/18734
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Fix warning in adapter service 01/18701/2
Helmut Hummel [Tue, 5 Mar 2013 16:39:26 +0000 (17:39 +0100)]
[BUGFIX] Fix warning in adapter service

The merge of #45415 introduced a warning
because the new meta column name was
used as array key.

Skip this step when the meta column
is found to fix this issue.

Fixes: #45415
Releases: 6.1, 6.0

Change-Id: I5446104359816d0ccacf6c239b86b9b073783174
Reviewed-on: https://review.typo3.org/18700
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-on: https://review.typo3.org/18701

6 years ago[BUGFIX] Do not overwrite imagecaption in content adapter 22/18222/5
Helmut Hummel [Tue, 12 Feb 2013 16:57:19 +0000 (17:57 +0100)]
[BUGFIX] Do not overwrite imagecaption in content adapter

Problem:
Create a new content element of type file links,
add a file relation and a description to this file.
Switch this element to be an image element,
add an image and a description of the image

Expected result:
An image with the image description is shown

Actual result:
An image with the description of the file is shown.

Solution:
Check if the field actually is shown in the selected
content element type.

Fixes: #45415
Releases: 6.0, 6.1

Change-Id: I3aa0e47b336cfa881c637b7f5a9e68476ded88ae
Reviewed-on: https://review.typo3.org/18222
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Fix inconsitency of file reference property getters 23/18223/2
Helmut Hummel [Tue, 12 Feb 2013 17:32:23 +0000 (18:32 +0100)]
[BUGFIX] Fix inconsitency of file reference property getters

The FileReference object has the following getters
for getting properties:

getProperties()
getReferenceProperties()
getProperty($key)
getReferenceProperty($key)

The result from these getters is inconsistent:

getReferenceProperty($key)
Returns the value of a property which is only
in the reference properties

getReferenceProperties()
Returns merged properties form the original
file and the reference properties without
respecting overriding of reference properties
if they are not set to NULL

getProperty($key)
Returns the merged value from original file
and reference, respecting the NULL override
handling. But if a property is only available
in the original file an Exception is thrown.

getProperties()
Returns merged properties form the original
file and the reference properties
respecting overriding of reference properties
if they are not set to NULL
Properties only available in the original file
will be available in the resulting array.

Streamline the behaviour so that all getters
starting with "getReference" will only return
the properties of the reference record and all
other will return the merged properties but
respecting the NULL override handling.

Resolves: #45416
Releases: 6.0, 6.1

Change-Id: I35a84da83be765991b357c5cee89ce018a1f1e24
Reviewed-on: https://review.typo3.org/18223
Reviewed-by: Steffen Ritter
Tested-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Wrong usage of array_unique() 91/18691/4
Andreas Lingott [Tue, 5 Mar 2013 07:31:16 +0000 (08:31 +0100)]
[BUGFIX] Wrong usage of array_unique()

RootlineUtility.php does not use return value of array_unique() call,
which makes the call ineffective.

This causes some huge SQL queries and increases page load time heavily.

Resolves: #46000
Releases: 6.1, 6.0
Change-Id: Ic614a22a97927cc433eab9e5bf1b6125d53b5882
Reviewed-on: https://review.typo3.org/18691
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[TASK] Raise submodule pointer 86/18686/2
Christian Kuhn [Mon, 4 Mar 2013 19:53:43 +0000 (20:53 +0100)]
[TASK] Raise submodule pointer

Change-Id: I2b377c75171b3e30655841fad8ca20f354c998d6
Reviewed-on: https://review.typo3.org/18686
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Invalid replacement hints in t3lib/ 82/18582/2
Xavier Perseguers [Mon, 4 Mar 2013 07:38:56 +0000 (08:38 +0100)]
[BUGFIX] Invalid replacement hints in t3lib/

The comment and require_once call in deprecated classes are wrong.

Change-Id: I1d3e49bc977eef1c69551809596a5917a7ccf1f0
Fixes: #45998
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18582
Reviewed-by: Wouter Wolters
Reviewed-by: Mattias Nilsson
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
6 years ago[BUGFIX] Invalid SQL result after four login failures 79/18579/2
Philipp Gampe [Sun, 3 Mar 2013 20:07:32 +0000 (21:07 +0100)]
[BUGFIX] Invalid SQL result after four login failures

sql_free_result is called too early.
Move the call after the error handling at the end of the method.

Fixes: #45996
Releases: 6.0, 6.1
Change-Id: I54f1edb48e4c3b70629b46cbba365416c01c0917
Reviewed-on: https://review.typo3.org/18579
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
6 years ago[TASK] Raise submodule pointer 67/18567/2
TYPO3 Release Team [Sun, 3 Mar 2013 08:43:00 +0000 (09:43 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ic0bc3709b24516c7b426065f0ea42fd5f38ba2dc
Reviewed-on: https://review.typo3.org/18567
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[TASK] Cleanup impexp 34/18034/2
Wouter Wolters [Tue, 5 Feb 2013 19:58:27 +0000 (20:58 +0100)]
[TASK] Cleanup impexp

Change-Id: I8e542e3ce836cd45daa0cfd42b22da61ef721fab
Resolves: #45186
Releases: 6.1
Reviewed-on: https://review.typo3.org/18034
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] CGL ResourceStorage double quote 61/18561/2
Felix Kopp [Sat, 2 Mar 2013 13:45:33 +0000 (14:45 +0100)]
[TASK] CGL ResourceStorage double quote

Brings a single CGL "DoubleQuoteUsageNotRequired" improvement.

Change-Id: I7ca24279953e9d1566c6733cdcf29462e6bc5c2e
Fixes: #45965
Releases: 6.1
Reviewed-on: https://review.typo3.org/18561
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Extbase Plugin for Indexed Search not working 20/18020/6
Matthias Nitsch [Tue, 5 Feb 2013 09:09:36 +0000 (10:09 +0100)]
[BUGFIX] Extbase Plugin for Indexed Search not working

The plugin uses wrong classes in several places, which leads to fatal
errors because of missing functions.

Replace all occurences with the right classes.

Resolves: #45162
Releases: 6.1, 6.0
Change-Id: I446be223e48dc7fc6de78a6d17eb0b1923108409
Reviewed-on: https://review.typo3.org/18020
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Matthias Nitsch
Tested-by: Matthias Nitsch
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Marc Hirdes
Tested-by: Marc Hirdes
Tested-by: André Haehnel
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] Numeric check for upper/lower bound of flexform-values 22/9022/6
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/9022
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[FEATURE] Add option removePageCss to remove styles set in _CSS_PAGE_STYLE 08/17708/4
Dan Untenzu [Fri, 25 Jan 2013 16:30:58 +0000 (17:30 +0100)]
[FEATURE] Add option removePageCss to remove styles set in _CSS_PAGE_STYLE

Add the option »removePageCss«, equivalent to »removeDefaultCss«.
This option prevents the output of specific page CSS generated
by extensions like css_styled_content.
Create according entry for t3editor.

Resolves: #37818
Releases: 6.1
Change-Id: Ie1d68bd593b6895ea1fe5328b707f7ba9463ab8c
Reviewed-on: https://review.typo3.org/17708
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Dan Untenzu
Tested-by: Dan Untenzu
Reviewed-by: Matthias Nitsch
Reviewed-by: Christoph Dörfel
Tested-by: Christoph Dörfel
Reviewed-by: Alessandro Bellafronte
Tested-by: Alessandro Bellafronte
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Update NEWS.txt with TCA refactoring information 46/18546/2
Christian Kuhn [Fri, 1 Mar 2013 04:53:14 +0000 (05:53 +0100)]
[TASK] Update NEWS.txt with TCA refactoring information

Change-Id: Idbb46a0c32f1dad09ec80540c574526038473c4e
Related: #45767
Releases: 6.1
Reviewed-on: https://review.typo3.org/18546
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Clean up NEWS.txt for 6.1 45/18545/3
Christian Kuhn [Fri, 1 Mar 2013 04:33:03 +0000 (05:33 +0100)]
[TASK] Clean up NEWS.txt for 6.1

Change-Id: I9ea1816a4f02fe4c53d2bc345435a215c0313a04
Releases: 6.1
Reviewed-on: https://review.typo3.org/18545
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Follow-up to TCA refactoring 43/18543/2
Christian Kuhn [Thu, 28 Feb 2013 20:56:49 +0000 (21:56 +0100)]
[TASK] Follow-up to TCA refactoring

The patch adapts some minor nitpicks raised during review
of the main TCA patch. Most changes are comments together
with a small restriction to Configuration/TCA/*.php files
for the first cache layer and an according test adaption.

Change-Id: Idc9daead910b4ab0cbf60e7f031450efa1f68928
Resolves: #45927
Related: #45767
Releases: 6.1
Reviewed-on: https://review.typo3.org/18543
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 40/18540/3
Christian Kuhn [Thu, 28 Feb 2013 19:13:47 +0000 (20:13 +0100)]
[TASK] Raise submodule pointer

Change-Id: I43753cf538d3c71bc8b552355d59f2d7a3448974
Reviewed-on: https://review.typo3.org/18540
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn