Packages/TYPO3.CMS.git
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
6 years ago[TASK] Raise submodule pointer 39/18539/2
Christian Kuhn [Thu, 28 Feb 2013 18:48:08 +0000 (19:48 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ibc67361e233f314788d2e278f2d515cdef94f3b9
Reviewed-on: https://review.typo3.org/18539
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Increase Web>List title column width 63/18463/2
Felix Kopp [Sun, 24 Feb 2013 22:04:37 +0000 (23:04 +0100)]
[TASK] Increase Web>List title column width

The column width for the title column in list view is hard-coded.

Increase the width for current screen sized.
Without this patch many titles are wrapped in new lines.

Change-Id: I09cf35cd954edc7909ec05f7bb6ad6ccd4fdee95
Fixes: #45805
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18463
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Refactor TCA handling 52/18452/5
Christian Kuhn [Thu, 14 Feb 2013 12:50:45 +0000 (13:50 +0100)]
[FEATURE] Refactor TCA handling

This patch refactors TCA handling especially in the frontend to
a new codebase, making it more easy to work with, removing
developer headaches, without significant performance impact:

* In FE, full TCA is always loaded and cached after first call
to a core cache disk. ext_tables are not executed on every call.
* In BE, intermediate TCA is cached, rendering the dynamicConfigFile
setting useless. The destinction between 'ctrl' and 'columns' is
gone.
* TCA files should now be located at
ext:extensionname/Configuration/TCA/tablename.php' and should return
an array with the TCA for the table specified by the filename. On
first access, those files are read and cached. 'ctrl' sections from
ext_tables.php can be removed completly.
* TSFE->includeTCA(), TSFE->getCompressedTCarray() and
GeneralUtility:loadTca() are obsolete and deprecated.
* Extensions not using the new TCA load scheme have a compatibility
layer in ext_tables.php to resolve 'dynamicConfigFile' directly after
a specific extensions ext_tables.php file was loaded, so the next one
can already manipulate it with ExtensionManagementUtility methods.
* t3lib/stddb is gone, all files are merged to core.

Resolves: #45767
Releases: 6.1
Change-Id: I50ebe00c80b9b58ded0586637c85e0f495a63dad
Reviewed-on: https://review.typo3.org/18452
Tested-by: Soren Malling
Tested-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Felix Kopp
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove not necessary require_once in LiveSearchDataProvider 86/18486/2
Wouter Wolters [Tue, 26 Feb 2013 17:40:30 +0000 (18:40 +0100)]
[TASK] Remove not necessary require_once in LiveSearchDataProvider

Change-Id: I2027184626850ff7dc13221b30db9077406ce9ca
Resolves: #45865
Releases: 6.1
Reviewed-on: https://review.typo3.org/18486
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Make backend user global available early 20/18420/2
Helmut Hummel [Thu, 21 Feb 2013 14:01:02 +0000 (15:01 +0100)]
[BUGFIX] Make backend user global available early

The global must be available very early, because methods below
might trigger code which relies on it. In particular the workspace
overlay of the rootline which is done in certain cases.

Fixes: #45625
Releases: 6.0, 6.1
Change-Id: I035f27e11cd56fc284442b66ad8357060f76e52c
Reviewed-on: https://review.typo3.org/18420
Reviewed-by: Mattias Nilsson
Reviewed-by: Oliver Klee
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Remove default files (DirectoryIndex) 56/18456/2
Felix Kopp [Sun, 24 Feb 2013 02:53:39 +0000 (03:53 +0100)]
[TASK] Remove default files (DirectoryIndex)

Few default files are included in the directories typo3 and install
in case the server does not have the necessary DirectoryIndex.

Those can be removed since php is needed and DirectoryIndex
will include index.php in standard setup.

Change-Id: I5b5660b8f74242bd0924c89e105dee6dbb278fb8
Fixes: #45786
Releases: 6.1
Reviewed-on: https://review.typo3.org/18456
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Klee
Reviewed-by: Soren Malling
Tested-by: Soren Malling
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
6 years ago[FEATURE] Show contentelement "header" in wizard 37/18337/2
Georg Ringer [Sun, 17 Feb 2013 15:03:56 +0000 (16:03 +0100)]
[FEATURE] Show contentelement "header" in wizard

It makes sense to show this content element in the
wizard as every other type is shown there too.

Change-Id: I983583b9c2dc519906f881a0a40c4e2af520b0c8
Resolves: #45548
Releases: 6.1
Reviewed-on: https://review.typo3.org/18337
Reviewed-by: Thomas Loeffler
Tested-by: Thomas Loeffler
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
6 years ago[BUGFIX] Fix errors in sys_note annotation 46/18346/2
Georg Ringer [Sun, 17 Feb 2013 16:37:13 +0000 (17:37 +0100)]
[BUGFIX] Fix errors in sys_note annotation

An exception is thrown because the pidlist is annotated with
"mixed" which can't be resolved by extbase. Therefore it must
be changed to "string".

Change-Id: Ic8d77945169bbbd8a084232ab3ee9fceb30b794c
Fixes: #45552
Releases: 6.1
Reviewed-on: https://review.typo3.org/18346
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Klee
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Fix of .zip exports of extension 91/18291/7
Jost Baron [Sat, 16 Feb 2013 13:43:22 +0000 (14:43 +0100)]
[BUGFIX] Fix of .zip exports of extension

Before this, all files of an extension where included into its
.zip export. Now $TYPO3_CONF_VARS['EXT']['excludeForPackaging']
is respected.

Also the function responsible for the export is cleaned up and uses
more core API than before.

Fixes: #45404
Releases: 6.0, 6.1
Change-Id: I4445daeaaee54bb111c87ffeb4401ce3b7d3e97e
Reviewed-on: https://review.typo3.org/18291
Reviewed-by: Marcus Krause
Reviewed-by: Stefano Cecere
Tested-by: Stefano Cecere
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Fix the display of references in filelist 33/18333/2
Helmut Hummel [Sat, 16 Feb 2013 20:53:31 +0000 (21:53 +0100)]
[BUGFIX] Fix the display of references in filelist

Currently references are not displayed
in the filelist module when trying to delete a file
which has been referenced.

Fixes: #45538
Releases: 6.0, 6.1
Change-Id: Id88bc954ab0002585ec6bb75dabba901784ddab5
Reviewed-on: https://review.typo3.org/18333
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Install Tool: Error message gives wrong info 26/18326/3
Thomas Löffler [Sun, 17 Feb 2013 11:06:00 +0000 (12:06 +0100)]
[BUGFIX] Install Tool: Error message gives wrong info

Based on issue #45135 the change not only includes the
check for the variable length for typo_db_password, but
for typo_db, typo_db_host and typo_db_username as well.

Resolves: #45135
Releases: 4.5,4.7,6.0,6.1
Change-Id: Idf8998cb1d648e89d59ba9641222e608df332300
Reviewed-on: https://review.typo3.org/18326
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[FEATURE] Click the whole row to de-/select a task 82/18082/6
Thomas Löffler [Wed, 6 Feb 2013 21:16:16 +0000 (22:16 +0100)]
[FEATURE] Click the whole row to de-/select a task

To select or deselect a task you only need
to click in the row.

Releases: 6.1
Resolves: #45156
Change-Id: I32708cad248314e582d9314a560b7812ba1bdfc2
Reviewed-on: https://review.typo3.org/18082
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
6 years ago[FEATURE] Add a "Run task" button to task overview 81/18081/3
Thomas Löffler [Wed, 6 Feb 2013 20:48:30 +0000 (21:48 +0100)]
[FEATURE] Add a "Run task" button to task overview

Run a task directly with one click in task list

Releases: 6.1
Resolves: #45154
Change-Id: I42035d0ca0a5c51d092bec27ded1bddd16d1e9bb
Reviewed-on: https://review.typo3.org/18081
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
6 years ago[TASK] Cleanup "beuser" sysext 90/18190/4
Wouter Wolters [Sun, 10 Feb 2013 14:53:14 +0000 (15:53 +0100)]
[TASK] Cleanup "beuser" sysext

This is a non-functional change that reformats the code, removes
unnecessary empty lines and fixes namespaces in phpDoc. In addition
the following to changes are made:
- add $GLOBALS['TYPO3_DB']->sql_free_result() calls to free some memory
- change bu:SpriteIconForRecord to bu:spriteIconForRecord in templates

Change-Id: I6e832921c46f828c9db0c796d662bd8390b5ac5f
Resolves: #45343
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18190
Reviewed-by: Oliver Klee
Reviewed-by: Markus Günther
Tested-by: Markus Günther
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Cleanup "belog" sysext 07/18207/4
Wouter Wolters [Mon, 11 Feb 2013 21:08:49 +0000 (22:08 +0100)]
[TASK] Cleanup "belog" sysext

Reformats the code, fixes indents and removes extra empty lines. This is
not a functional change but a visual clean up.

Change-Id: I0d11dd7c43eee5d181c4bc0565c85d651c5c29e1
Resolves: #45392
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18207
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Invalid RSA key when submitting form twice 41/17541/3
Benjamin Mack [Tue, 15 Jan 2013 12:05:27 +0000 (13:05 +0100)]
[BUGFIX] Invalid RSA key when submitting form twice

When submitting a RSA-supported form twice, the JS error
"Invalid RSA public key" is thrown. In order to suppress
this double RSA decryption, an additional JS check is needed.
The change also modifies the minified version of the JS
done with http://refresh-sf.com/yui/

Change-Id: I7133e320c76e14a6f6855f477ba5a34e50eecf58
Resolves: #40085
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/17541
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] LocalDriver needs to respect "is_writeable" 01/17501/5
Georg Ringer [Thu, 10 Jan 2013 09:37:21 +0000 (10:37 +0100)]
[BUGFIX] LocalDriver needs to respect "is_writeable"

The LocalDriver needs also to respect the flag "is_writeable".
This means: if the flag is not set, no folder/file can be edited/moved...

Fixes: #44370
Releases: 6.0,6.1

Change-Id: I404ed51c62ab96d9b5eaaf6c0b7b255bdea3538b
Reviewed-on: https://review.typo3.org/17501
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] L10n fallback does not work for TS labels 47/17247/4
Xavier Perseguers [Thu, 20 Dec 2012 06:59:15 +0000 (07:59 +0100)]
[BUGFIX] L10n fallback does not work for TS labels

When retrieving a label in TypoScript in a locale that is not
available locally, the English label is returned instead of
using the locale fallback mechanism introduced in TYPO3 4.6.

Change-Id: I29f4b25e3fc23497d6afe74659810ca8995a39df
Fixes: #44099
Relates: #41996
Releases: 4.6, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/17247
Reviewed-by: Mattias Nilsson
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
6 years ago[BUGFIX] L10n fallback does not work for ExtJS in BE 13/17313/3
Xavier Perseguers [Wed, 2 Jan 2013 17:56:09 +0000 (18:56 +0100)]
[BUGFIX] L10n fallback does not work for ExtJS in BE

PageRenderer does not take language dependency into account when reading
localization files to be included as JavaScript labels.

Change-Id: I23d12dd06a99e72968a26d5930decb87901e8af6
Fixes: #44273
Releases: 4.6, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/17313
Reviewed-by: Mattias Nilsson
Reviewed-by: Begoña Garea Garcia
Tested-by: Begoña Garea Garcia
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
6 years ago[BUGFIX] Allow "en" as language key 14/17414/4
Daniel Alder [Tue, 8 Jan 2013 10:21:25 +0000 (11:21 +0100)]
[BUGFIX] Allow "en" as language key

Fix a bug which was introduced by #25397 (commit:cb390c79).
If the selected language key is "en", do not override it to "default".
This allows custom updates to translations even for the English language.

Change-Id: I3fcbd35f0144a0cc152acd45d0861d153cc8b495
Resolves: #42084
Related: #25397
Releases: 4.6, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/17414
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
6 years ago[BUGFIX] Fix wrong string formatting 53/18253/2
Fabien Udriot [Wed, 13 Feb 2013 17:18:19 +0000 (18:18 +0100)]
[BUGFIX] Fix wrong string formatting

Fix wrong string formatting Resource Abstract Repository

Change-Id: I96a5c26d07410e8123ed8175183babaa019bf366
Resolves: #45467
Releases: 6.0
Releases: 6.1
Reviewed-on: https://review.typo3.org/18253
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years agoRevert "[!!!][TASK] Get rid of loadTCA and simplify FE cache behavior" 52/18252/3
Christian Kuhn [Wed, 13 Feb 2013 16:39:32 +0000 (17:39 +0100)]
Revert "[!!!][TASK] Get rid of loadTCA and simplify FE cache behavior"

This reverts commit d7b5d829e7d9a3a6699803e5c7ea308e6b2f55ca

Change-Id: Ifdde18979c8ca0b617132daf84d283e9fc257a3d
Related: #45107
Reviewed-on: https://review.typo3.org/18252
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years agoRevert "[TASK] Move t3lib/stddb/tables.sql to ext:core/ext_tables.sql" 49/18249/3
Christian Kuhn [Wed, 13 Feb 2013 16:28:10 +0000 (17:28 +0100)]
Revert "[TASK] Move t3lib/stddb/tables.sql to ext:core/ext_tables.sql"

This reverts commit 21e6d9f8d37b9c2877b428539b82587c50df44bc

Change-Id: I86705f4fd33a1f7c7c4c9d120cf132a61f5b6c42
Related: #45187
Related: #45107
Reviewed-on: https://review.typo3.org/18249
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 51/18251/2
Christian Kuhn [Wed, 13 Feb 2013 16:32:47 +0000 (17:32 +0100)]
[TASK] Raise submodule pointer

Change-Id: I708dbf666debc1994e586bf61b232f0d731e5462
Reviewed-on: https://review.typo3.org/18251
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years agoRevert "[TASK] Move t3lib/stddb/DefaultConfiguration.php to EXT:core" 48/18248/3
Christian Kuhn [Wed, 13 Feb 2013 16:20:59 +0000 (17:20 +0100)]
Revert "[TASK] Move t3lib/stddb/DefaultConfiguration.php to EXT:core"

This reverts commit cf59e1fddac01541ec78df0e646f8dd23b94630c

Change-Id: I11adda17c2ae9cebd16ca14403205f7e38e1b6cb
Related: #45107
Related: #45188
Reviewed-on: https://review.typo3.org/18248
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years agoRevert "[TASK] Move t3lib/stddb files to ext:core" 47/18247/3
Christian Kuhn [Wed, 13 Feb 2013 16:13:58 +0000 (17:13 +0100)]
Revert "[TASK] Move t3lib/stddb files to ext:core"

This reverts commit ef90adcee123ebc2d47c94380cc75e26c176668a

Change-Id: I96ed7987e90addfeb44afe9577ee58ff5dab3344
Related: #45107
Related: #45220
Reviewed-on: https://review.typo3.org/18247
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 46/18246/2
Christian Kuhn [Wed, 13 Feb 2013 16:12:07 +0000 (17:12 +0100)]
[TASK] Raise submodule pointer

Change-Id: I1aef0f174d1390ddae29f7c0387ce5a767fbfef9
Reviewed-on: https://review.typo3.org/18246
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 88/18188/2
Christian Kuhn [Sun, 10 Feb 2013 14:07:26 +0000 (15:07 +0100)]
[TASK] Raise submodule pointer

Change-Id: I4ce715620a9981e285cd800c049242d7a88d1fb6
Reviewed-on: https://review.typo3.org/18188
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Introduce ClassNamingUtility 18/16518/4
Anja Leichsenring [Sat, 17 Nov 2012 11:51:50 +0000 (12:51 +0100)]
[FEATURE] Introduce ClassNamingUtility

Introduce a utility class for several naming issues like
converting class names from Model to Repository and
vice versa and exploding controllerObjectNames into used parts.

Thanks to Alexander Schnitzler for the initial patch.

Releases: 6.1
Fixes: #43052
Change-Id: I2e056498cb7ce4e193f71d7c3fea908418f5de7c
Reviewed-on: https://review.typo3.org/16518
Reviewed-by: Markus Günther
Tested-by: Markus Günther
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
6 years ago[TASK] Raise submodule pointer 84/18184/2
Christian Kuhn [Sun, 10 Feb 2013 12:09:07 +0000 (13:09 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ia6bd5bcafad3ea3fe47a02b6bd4ed90ff7857f97
Reviewed-on: https://review.typo3.org/18184
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove not used viewhelper in beuser 78/18178/3
Markus Günther [Sun, 10 Feb 2013 11:11:16 +0000 (12:11 +0100)]
[TASK] Remove not used viewhelper in beuser

The SelectDefaultValueViewHelper in beuser is
not used at the moment and since TYPO3 fluid
6.1 it is possible to add a prependOption
with the default selectViewHelper.

Fixes: #45338
Releases: 6.1, 6.0

Change-Id: Ie47021c2d74441243d116cc6cfcbfbb8fd5fdb1e
Reviewed-on: https://review.typo3.org/18178
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Raise submodule pointer 81/18181/2
Christian Kuhn [Sun, 10 Feb 2013 11:27:02 +0000 (12:27 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ia1e46b622c3375ec722bb013cfcc59e4378b2afe
Reviewed-on: https://review.typo3.org/18181
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Replace ObjectManager create with get 74/18174/3
Marc Bastian Heinrichs [Sun, 10 Feb 2013 10:13:11 +0000 (11:13 +0100)]
[TASK] Replace ObjectManager create with get

Since Extbase ObjectManager::create is deprecated replace all
usages of the create method with get.

Change-Id: If6658a7620303ccdb88394f31a1b5685a18ecbca
Resolves: #45333
Releases: 6.1
Reviewed-on: https://review.typo3.org/18174
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
6 years ago[BUGFIX] Exception when scheduling "at" execution time 06/18106/4
Andreas Wolf [Sun, 10 Feb 2013 00:00:25 +0000 (01:00 +0100)]
[BUGFIX] Exception when scheduling "at" execution time

If a recurring task is converted to a single task and the endtime is set
before now, then the exception "Task is past end date" is thrown as the
next execution time for the "at" daemon is calculated.

The fix is to catch the exceptions and ignore them, as we don't care
about tasks that will never run again when calculating the next
execution date.

Fixes: #45265
Releases: 6.1, 6.0
Change-Id: If6fd368e6c11c0b9058eb8a82a736220ef538b70
Reviewed-on: https://review.typo3.org/18106
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Enable "pageNotFoundOnCHashError" by default 21/18121/3
Georg Ringer [Fri, 8 Feb 2013 15:36:27 +0000 (16:36 +0100)]
[TASK] Enable "pageNotFoundOnCHashError" by default

The setting pageNotFoundOnCHashError should be true by default for
perfomance reasons: If it is true, a 404 error is thrown when an invalid
cHash is found. This is way faster than re-rendering an otherwise cached
page (and then not caching it because of the invalid cHash).

Change-Id: I384e5ba5c2954a9c25d2124e728b2bbb06802340
Resolves: #45287
Releases: 6.1
Reviewed-on: https://review.typo3.org/18121
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
6 years ago[BUGFIX] Numeric translation keys aren't translated right in XML files 15/17615/6
Reinhard Führicht [Mon, 21 Jan 2013 08:52:35 +0000 (09:52 +0100)]
[BUGFIX] Numeric translation keys aren't translated right in XML files

When working with the "old" XML based translation files,
numeric keys aren't translated properly.
The reason is, that LocallangXmlParser uses array_merge to combine the
translation arrays of the default language and the current language.
array_merge renumbers numeric keys. Therefore, numeric key in
translation files result in wrong translations in Frontend.

Fixes: #44626
Releases: 6.0, 6.1
Change-Id: I8fdff385f681428b4cb5a3e994828a4a29305c98
Reviewed-on: https://review.typo3.org/17615
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
6 years ago[TASK] Raise submodule pointer 68/18168/2
Christian Kuhn [Sat, 9 Feb 2013 20:34:45 +0000 (21:34 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ib2df1587f1914ccaa9b70f3b1cb09bb22de2e36a
Reviewed-on: https://review.typo3.org/18168
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Processed files get corrupted when regenerated 45/18145/3
Andreas Wolf [Sat, 9 Feb 2013 10:02:05 +0000 (11:02 +0100)]
[BUGFIX] Processed files get corrupted when regenerated

After a file is being (re)processed, the information about it is updated
in the database by the ProcessedFileRepository. The repository gathers
information for the update from the processed file.

For unprocessed files (i.e. those where the original file should be
used), the ProcessedFile class does a fallback to the original file
object. Unfortunately, this fallback is also applied for the uid
property, which makes the repository overwrite a random record in
sys_file_processedfile. This leads to wrong images being displayed in
the frontend.

This patch makes the processed file only return its own uid.

IMPORTANT: To make sure your sys_file_processedfile data is not
corrupted, empty the table and your processed files folder (usually
fileadmin/_processed_/). This will slow down your site as all processed
files are regenerated, but afterwards all data will be correct.

Change-Id: I40685d5748a5a0fcf015c7d876a374f42154831d
Resolves: #45308
Related: #44616 #45168
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18145
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Raise submodule pointer 51/18151/2
Christian Kuhn [Sat, 9 Feb 2013 10:59:58 +0000 (11:59 +0100)]
[TASK] Raise submodule pointer

Change-Id: I6fa896f7a5a923eabd61a79286ef3a2441488c11
Reviewed-on: https://review.typo3.org/18151
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] FAL: file properties are not updated 69/17569/3
Stefan Froemken [Wed, 16 Jan 2013 22:43:06 +0000 (23:43 +0100)]
[BUGFIX] FAL: file properties are not updated

The fileproperties are not updated correctly. In
case of this issue it is the filesize which was not
updated in filelist-module

Resolves: #44585
Releases: 6.0, 6.1
Change-Id: I539b6ab94c4f5aa90933302687f0c666953270fa
Reviewed-on: https://review.typo3.org/17569
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Dan Untenzu
Tested-by: Dan Untenzu
Reviewed-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[TASK] Raise submodule pointer 35/18135/2
Christian Kuhn [Fri, 8 Feb 2013 18:15:38 +0000 (19:15 +0100)]
[TASK] Raise submodule pointer

Change-Id: I2c060f47ceadce0caefa89165338e1df8c268f8e
Reviewed-on: https://review.typo3.org/18135
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 20/18120/2
Christian Kuhn [Fri, 8 Feb 2013 15:25:38 +0000 (16:25 +0100)]
[TASK] Raise submodule pointer

Change-Id: I2c3e8a2d6f77748011eaf9fe879d2442a09ed03a
Reviewed-on: https://review.typo3.org/18120
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Move t3lib/stddb files to ext:core 80/18080/2
Christian Kuhn [Wed, 6 Feb 2013 20:10:24 +0000 (21:10 +0100)]
[TASK] Move t3lib/stddb files to ext:core

* Create one file per TCA table in ext:core/Configuration/TCA
* A single TCA file returns the full array definition of a table
* Merge TCA 'columns' and 'ctrl' definition in one file
* Move t3lib/stddb/tables.php to ext:core/ext_tables.php
* For now, let ext:core/ext_tables.php require TCA files
* The T3LIB: prefix of dynamicConfigFile definitions is obsolete

Change-Id: Ie074daa86cd7c2b2c0eb2acc25eb18836d2e6a4b
Resolves: #45220
Releases: 6.1
Reviewed-on: https://review.typo3.org/18080
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
6 years ago[TASK] Raise submodule pointer 12/18112/2
Christian Kuhn [Fri, 8 Feb 2013 11:36:24 +0000 (12:36 +0100)]
[TASK] Raise submodule pointer

Change-Id: I74915a4d522ef86b9575eae7b37401821acaf748
Reviewed-on: https://review.typo3.org/18112
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] No title tags for new enable/disable icons 04/18104/2
Thomas Löffler [Thu, 7 Feb 2013 22:50:15 +0000 (23:50 +0100)]
[BUGFIX] No title tags for new enable/disable icons

Follow-up bug after merged feature #25631

Releases: 6.1
Resolves: #45262
Change-Id: I4f7402bc54f71bd1a90586d46e3e6782319efb7e
Reviewed-on: https://review.typo3.org/18104
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Follow-up clean up to #24389 00/18100/2
Wouter Wolters [Thu, 7 Feb 2013 21:34:05 +0000 (22:34 +0100)]
[BUGFIX] Follow-up clean up to #24389

Change-Id: I2b5438edd23650fd63b1771c9d6a825ae1aaa210
Related: #24389
Releases: 6.1
Reviewed-on: https://review.typo3.org/18100
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX][Cache][PDO] Duplicate cache entry possible 44/9144/6
Leon Dietsch [Tue, 27 Nov 2012 01:12:52 +0000 (02:12 +0100)]
[BUGFIX][Cache][PDO] Duplicate cache entry possible

An identifier must be unique in the database. If some entry is set(),
the PdoBackend removes any entry with a given identifier if the cache
entry exists already. The remove() call is encapsulated with has(),
but has() returns FALSE if a cache entry is expired, so entries with
expired lifetime are not removed properly.
This leads to a \PDOException because of duplicate identifier.

The patch removes the check to has(), so set() will also remove
expired cache entries with this identifier before creating a new one.

Change-Id: Ife4e35223394805fc6d9e0b820a5d42789133f7b
Fixes: #34129
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/9144
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Enable multiple emails in reports task 19/18019/7
Thomas Löffler [Tue, 5 Feb 2013 00:05:38 +0000 (01:05 +0100)]
[FEATURE] Enable multiple emails in reports task

Possibility to insert multiple emails in
reports task to notify multiple people.

Resolves: #41002
Releases: 6.1
Change-Id: I931cd5af64d21bffb34bd024c1f362f06dcaf37c
Reviewed-on: https://review.typo3.org/18019
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Tomita Militaru
Tested-by: Tomita Militaru
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX][Cache] Method parameter CGL fixes 92/18092/2
Christian Kuhn [Thu, 7 Feb 2013 20:13:15 +0000 (21:13 +0100)]
[BUGFIX][Cache] Method parameter CGL fixes

Change-Id: Ie237c62fcd25d0f4ac2430983183756c7aebc633
Resolves: #45257
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18092
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Speed up typoLink function by caching domain records 23/9023/14
Steffen Gebert [Tue, 14 Feb 2012 18:56:02 +0000 (19:56 +0100)]
[FEATURE] Speed up typoLink function by caching domain records

Cache the domain records in a runtime cache for improved rendering
of links generated with typolink function.

This change takes only effect, when
  config.typolinkCheckRootline = 1
is set, which otherwise costs immense performance in terms of huge
number of SQL queries.

Resolves: #24389
Releases: 6.1
Change-Id: I7c6bee1cd6ee1cb0901d926dd6ce9a22c00501ab
Reviewed-on: https://review.typo3.org/9023
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Simon Schaufelberger
Tested-by: Simon Schaufelberger
6 years agoRevert "[BUGFIX] TS is fetched from cache incorrectly sometimes" 70/18070/2
Oliver Hader [Wed, 6 Feb 2013 18:37:44 +0000 (19:37 +0100)]
Revert "[BUGFIX] TS is fetched from cache incorrectly sometimes"

This reverts commit 4fbb2b5852a98b1eb3e935d79d612468896291f1

Change-Id: I2f936cabac3392f0c7eeb85cda9caad68b59553d
Reviewed-on: https://review.typo3.org/18070
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] TS is fetched from cache incorrectly sometimes 39/16939/3
Dmitry Dulepov [Mon, 3 Dec 2012 09:40:25 +0000 (13:40 +0400)]
[BUGFIX] TS is fetched from cache incorrectly sometimes

If $TYPO3_CONF_VARS['FE']['defaultTypoScript_constants'] or
$TYPO3_CONF_VARS['FE']['defaultTypoScript_setup'] are set in the Install
tool, cached TS will not be found in cache. This would result in TS
parsing every time when there are USER_INT objects on the page.
Generally it will slow down the page with USER_INT objects by at least
300% comparing to the cached version.

Change-Id: Ia0fd65a35897c71d60c48c0b03098ce67ad16c70
Resolves: #43540
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/16939
Reviewed-by: Adrian Dymorz
Tested-by: Adrian Dymorz
Reviewed-by: Stefan Neufeind
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Sebastian Michaelsen
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[BUGFIX] Crash after file upload on Windows without finfo 66/17466/4
Christian Weiske [Fri, 11 Jan 2013 15:52:54 +0000 (16:52 +0100)]
[BUGFIX] Crash after file upload on Windows without finfo

This patch checks if the finfo extension is available before using it
to determine the MIME type of a file.
If it is not available, the old function mime_content_type is used as
fallback.
When none of them are available, we give up.

This fixes a crash on Windows after uploading a file, since finfo
is by default not installed on PHP windows distributions.

Change-Id: I53a0eef3ee839c17ddaaeb303b9a0b9bae3ee485
Fixes: #37440
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17466
Reviewed-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Wrong SQL statements in TCA for sys_category 40/18040/3
Thomas Löffler [Tue, 5 Feb 2013 21:46:01 +0000 (22:46 +0100)]
[BUGFIX] Wrong SQL statements in TCA for sys_category

Copy and Paste problem. Table name
'tx_taxonomy_domain_model_concept' instead of
'sys_category'

Resolves: #44911
Releases: 6.0, 6.1
Change-Id: I92130a8dc5416b822edc71be148e35f193b5ea3b
Reviewed-on: https://review.typo3.org/18040
Reviewed-by: Wouter Wolters
Reviewed-by: Thomas Loeffler
Tested-by: Thomas Loeffler
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Move t3lib/stddb/DefaultConfiguration.php to EXT:core 42/18042/2
Christian Kuhn [Tue, 5 Feb 2013 21:57:47 +0000 (22:57 +0100)]
[TASK] Move t3lib/stddb/DefaultConfiguration.php to EXT:core

Moves t3lib/stddb/DefaultConfiguration.php to
EXT:core/Configuration/DefaultConfiguration.php

Change-Id: I8a4e00247e1ab27c566f8868744aa87ca615ad38
Resolves: #45188
Releases: 6.1
Reviewed-on: https://review.typo3.org/18042
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 39/18039/2
Christian Kuhn [Tue, 5 Feb 2013 21:42:41 +0000 (22:42 +0100)]
[TASK] Raise submodule pointer

Change-Id: I4db842e5e8b295395cec13a9feae35e51ab2d61d
Reviewed-on: https://review.typo3.org/18039
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Move t3lib/stddb/tables.sql to ext:core/ext_tables.sql 37/18037/2
Christian Kuhn [Tue, 5 Feb 2013 20:46:08 +0000 (21:46 +0100)]
[TASK] Move t3lib/stddb/tables.sql to ext:core/ext_tables.sql

After ext:core was put in place with 6.0, files like
stddbb/tables.sql can be located at this places.

Change-Id: I8a859b5c0b1d29b94a40d75f24e96873d4b63010
Resolves: #45187
Releases: 6.1
Reviewed-on: https://review.typo3.org/18037
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Add a disable/enable button to tasks overview 18/18018/4
Thomas Löffler [Mon, 4 Feb 2013 23:09:59 +0000 (00:09 +0100)]
[FEATURE] Add a disable/enable button to tasks overview

Adds an option in the task list to enable or disable
a scheduler task.

Releases: 6.1
Resolves: #25631
Change-Id: I6bd38be3207c9ccc59baf653a2da16bdf824ceab
Reviewed-on: https://review.typo3.org/18018
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Thomas Loeffler
Tested-by: Thomas Loeffler
Reviewed-by: Stefan Neufeind
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
6 years ago[TASK] ext:cms Remove some obsolete files 33/18033/2
Christian Kuhn [Tue, 5 Feb 2013 19:46:09 +0000 (20:46 +0100)]
[TASK] ext:cms Remove some obsolete files

* readme.txt: Old information, nobody overloads cms anyway
* tslib/GPL.txt: GPL.txt from root directory catches this
* tslib/README.txt: Only obsolete information
* tslib/index.html: Leftover when tslib was linked from root

Change-Id: Ibfb2ac039b7d48621d2a6e2050b42a127c3c4662
Resolves: #45185
Releases: 6.1
Reviewed-on: https://review.typo3.org/18033
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 32/18032/2
Christian Kuhn [Tue, 5 Feb 2013 19:08:59 +0000 (20:08 +0100)]
[TASK] Raise submodule pointer

Change-Id: If896fcf2e047fa8195fde284e85fe668474eea48
Reviewed-on: https://review.typo3.org/18032
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[!!!][TASK] Get rid of loadTCA and simplify FE cache behavior 78/17978/5
Christian Kuhn [Sun, 3 Feb 2013 11:13:25 +0000 (12:13 +0100)]
[!!!][TASK] Get rid of loadTCA and simplify FE cache behavior

The frontend rendering aims to not load the full TCA including
columns settings to reduce rendering time for full cache pages.

This approach is ridiculous complex and using it is so hard to get
right for developers that even core patches in this area are
usually broken. The current situation is neither simple
nor transparent.

Currently, if no page cache entry exists during rendering, the whole
ext_tables.php are executed, the page is rendered and stuffed to
cache. While the full TCA is available at this point, it is reduced
to the 'ctrl' sections for the next run, without 'columns', and
stuffed to cache. On next access, the cache entry is used,
ext_tables.php and TCA is not fully loaded. This leads to all sort of
problems, if for example those pages contain USER_INT plugins that
rely on some TCA settings. Furthermore, it might happen, that
different plugins or the core then requires the ext_tables files more
than once, which leads to funny problems if some developer does not
know this and uses require_once instead of require inside
ext_tables.php. Issues like that are very hard to track down.

The current implementation relies on the methods TSFE->includeTCA(),
TSFE->getCompressedTCarray() and GeneralUtility->loadTCA(), where
especially includeTCA() with its parameter is so hard to understand
that it is impossible to use in a correct way without digging through
the content rendering for hours.

The patch obsoletes all three of the above methods. Instead, from now
on, the bootstrap in the frontend is configured to always load the
full TCA including columns sections, even in full cached context.
The only exception are eID scripts, but the existing API to load
additional TCA in the eID controller is modified to also load all.

On the downside, this patch costs around 30% of additional
performance for the rendering of full cached pages. As soon as there
is some USER_INT on a page, or if a page is not cached, the overhead
is around zero. So, this patch costs performance for 'simple' pages,
while it is of no effect for anything more complex.

The goal is to reduce developer headaches at this point and to
make the frontend rendering better predictable and more easy
to maintain. It is furthermore one step to implement a better
configuration handling in the long run.

Change-Id: I5aecd542abe92f2de4ee0d40b5db44c493d304a3
Resolves: #45107
Releases: 6.1
Reviewed-on: https://review.typo3.org/17978
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
6 years ago[BUGFIX] Additional extTables script might not exist 94/17994/3
Philipp Gampe [Sun, 3 Feb 2013 21:59:25 +0000 (22:59 +0100)]
[BUGFIX] Additional extTables script might not exist

During https://review.typo3.org/17381, the constant
TYPO3_extTableDef_script is now always defined.

Change the bootstrap to only include the file if it really
exists.

Related: #44331
Fixes: #45122
Releases: 6.0, 6.1
Change-Id: I547c5e141b2395eb8b684ce245bb0440096f14df
Reviewed-on: https://review.typo3.org/17994
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup feedit 85/17985/2
Wouter Wolters [Sun, 3 Feb 2013 18:53:04 +0000 (19:53 +0100)]
[TASK] Cleanup feedit

Change-Id: I8eca6524c69ee71973411b4b791ee7b33bdcda82
Resolves: #45116
Releases: 6.1
Reviewed-on: https://review.typo3.org/17985
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup css_styled_content 84/17984/2
Wouter Wolters [Sun, 3 Feb 2013 18:24:11 +0000 (19:24 +0100)]
[TASK] Cleanup css_styled_content

Change-Id: Id229452ab6eac65d028555c5b42300be25da7e1a
Resolves: #45115
Releases: 6.1
Reviewed-on: https://review.typo3.org/17984
Reviewed-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup felogin 95/17995/2
Wouter Wolters [Sun, 3 Feb 2013 22:51:45 +0000 (23:51 +0100)]
[TASK] Cleanup felogin

Change-Id: I9ceeb1e7c142a3daaf20886f94c8a1d3295df99a
Resolves: #45123
Releases: 6.1
Reviewed-on: https://review.typo3.org/17995
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 93/17993/2
Christian Kuhn [Sun, 3 Feb 2013 20:11:33 +0000 (21:11 +0100)]
[TASK] Raise submodule pointer

Change-Id: I64cbba613ce7e0ab85a365330d52446964627f0f
Reviewed-on: https://review.typo3.org/17993
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 88/17988/2
Christian Kuhn [Sun, 3 Feb 2013 19:39:21 +0000 (20:39 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ie321c95f78ca21a5f5e7c821a716376066f58087
Reviewed-on: https://review.typo3.org/17988
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Deprecate 'path' of extra click menu option registration 65/17965/5
Wouter Wolters [Sat, 2 Feb 2013 19:46:51 +0000 (20:46 +0100)]
[TASK] Deprecate 'path' of extra click menu option registration

Deprecate option 'path' aption of the extendCMclasses registration
array, the autoloader should take care of finding and loading those.

Change-Id: Ibb3edcf3e87a0384f566be8dcdfa016b3731f943
Resolves: #45098
Releases: 6.1
Reviewed-on: https://review.typo3.org/17965
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup extra_page_cm_options 52/17952/3
Wouter Wolters [Sat, 2 Feb 2013 15:24:02 +0000 (16:24 +0100)]
[TASK] Cleanup extra_page_cm_options

Cleanup the code in extra_page_cm_options

Change-Id: I324115dae3514cc7b6f4ea350d244d13a3f6d818
Resolves: #45096
Releases: 6.1
Reviewed-on: https://review.typo3.org/17952
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Misspelling in scheduler documentation 50/17950/3
Tomita Militaru [Sat, 2 Feb 2013 13:38:11 +0000 (15:38 +0200)]
[BUGFIX] Misspelling in scheduler documentation

Corrects certain words / phrases from the documentation manual.

Fixes: #33936
Releases: 6.1, 6.0
Change-Id: I89ad923280cd1df6d126884e88987abaa9d5f7df
Reviewed-on: https://review.typo3.org/17950
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup cshmanual 81/17981/2
Wouter Wolters [Sun, 3 Feb 2013 17:09:49 +0000 (18:09 +0100)]
[TASK] Cleanup cshmanual

Change-Id: I6dfa4b07731c1a72d8893a20db3b355731ec0167
Resolves: #45113
Releases: 6.1
Reviewed-on: https://review.typo3.org/17981
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] tools_dbint needs to be called via mod.php 80/17980/2
Philipp Gampe [Sun, 3 Feb 2013 16:34:39 +0000 (17:34 +0100)]
[BUGFIX] tools_dbint needs to be called via mod.php

Fixes: #45112
Releases: 6.0, 6.1
Change-Id: I69b22d8d5fcb94e9b3cefcce600fd6b154de6c9d
Reviewed-on: https://review.typo3.org/17980
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup context_help 79/17979/2
Wouter Wolters [Sun, 3 Feb 2013 16:36:47 +0000 (17:36 +0100)]
[TASK] Cleanup context_help

Change-Id: I2ce8ebffab55d0f590f832e307a614f7a2581226
Resolves: #45111
Releases: 6.1
Reviewed-on: https://review.typo3.org/17979
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup sys_action 53/17953/5
Wouter Wolters [Sat, 2 Feb 2013 16:22:18 +0000 (17:22 +0100)]
[TASK] Cleanup sys_action

Change-Id: I873239c054069de8b9231f8efa8df9f292fed559
Resolves: #45097
Releases: 6.1
Reviewed-on: https://review.typo3.org/17953
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] IE9 compatibility clear cache menu 66/17966/3
Andreas Kiessling [Sun, 3 Feb 2013 09:54:02 +0000 (10:54 +0100)]
[BUGFIX] IE9 compatibility clear cache menu

The prototype library shipped with TYPO3 is not compatible with IE9
anymore. Since prototype will be replaced in the near future the easiest
solution is to use plain JavaScript.

Change-Id: I1dc732a61531fa585ed8e0ba6ce8df1b23f3b8bd
Resolves: #36364
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/17966
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] OpenId needs library after removing classFile 54/17954/4
Jigal van Hemert [Sat, 2 Feb 2013 16:50:17 +0000 (17:50 +0100)]
[BUGFIX] OpenId needs library after removing classFile

After removing the classFile setting for services the OpenID
authentication service needs to have its library loaded
explicitly. Unlike the rest of the core this external
library doesn't use namespaces and can't rely on the autoloader.
Furthermore, the library might not have a unique name if
for example a second extensions delivers the same library,
therefor the problem is for now not solved with an ext_autoload
entry, but is required directly at where needed.

Change-Id: Ibb364ebbf3a16f63f61bef3b1987963b6c7f881a
Fixes: #45095
Related: #37115
Releases: 6.1
Reviewed-on: https://review.typo3.org/17954
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Hook call modifyDBRow in ContentContentObject 61/17961/2
Alina Fleser [Sat, 2 Feb 2013 11:11:28 +0000 (13:11 +0200)]
[BUGFIX] Hook call modifyDBRow in ContentContentObject

Replace $this->TYPO3_CONF_VARS with $GLOBALS['TYPO3_CONF_VARS']

Fixes: #44416
Releases: 6.0, 6.1, 4.7, 4.6, 4.5
Change-Id: I1f2b6a2479cc879c2a9144d03e176b74d895d52f
Reviewed-on: https://review.typo3.org/17961
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Install tool documentation default installTollPassword 60/17960/2
Tomita Militaru [Sat, 2 Feb 2013 10:55:40 +0000 (12:55 +0200)]
[BUGFIX] Install tool documentation default installTollPassword

The fatal error message instructs to use array position EXT instead
of position BE for installToolPassword.
Replaces EXT with BE in the error message.

Fixes: #44682
Releases: 6.0, 6.1
Change-Id: Ic262e9c9838dc07dc523e9a85cf92e8f1f79e634
Reviewed-on: https://review.typo3.org/17960
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Labels for grouping bookmarks are missing 55/17955/2
Bindea Silviu [Sat, 2 Feb 2013 13:55:25 +0000 (15:55 +0200)]
[BUGFIX] Labels for grouping bookmarks are missing

Using function sL to load locallang with labels for bookmarks

Fixes: #44691
Releases: 6.1, 6.0
Change-Id: I509aa06e379e1397fea50c6a2c137db3994eff2a
Reviewed-on: https://review.typo3.org/17955
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix misspelling in RTE meta menu 45/17945/2
Tomita Militaru [Sat, 2 Feb 2013 09:55:26 +0000 (11:55 +0200)]
[BUGFIX] Fix misspelling in RTE meta menu

Corrects the label for inserting unordered bullet lists.

Fixes: #43886
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Change-Id: I4190dbcc8cadc90ae00d1ec1aa405a5a75863594
Reviewed-on: https://review.typo3.org/17945
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Impossible to save the TCA configuration 81/17381/4
Philipp Gampe [Sat, 5 Jan 2013 22:59:39 +0000 (23:59 +0100)]
[BUGFIX] Impossible to save the TCA configuration

The configuration module allows to save changes to the TCA array.

If no extTablesDefinitionScript is defined, constant
TYPO3_extTableDef_script is defined as empty. This results in an
attempt to write to a directory (because the filename is empty).
This is not obvious as the constant is not needed much and the
error message is misleading.

Solution is to fall back to the default value during bootstrap if
extTablesDefinitionScript is not set in LocalConfiguration.php.

Change-Id: Id759aa73146669cccae9a83d8452340f9f78927b
Fixes: #44331
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17381
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] load TCA before manipulation 71/17171/5
Jigal van Hemert [Sat, 15 Dec 2012 08:58:54 +0000 (09:58 +0100)]
[BUGFIX] load TCA before manipulation

Load the TCA before manipulating the contents in form and
css_styled_content, otherwise the checks for later calls to
loadTCA will fail while the TCA is not fully loaded.

Change-Id: Id2d96d8dab0fc53661689f778871ebb078272062
Resolves: #38505
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/17171
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Restore support for Update script 80/16780/8
Francois Suter [Tue, 29 Jan 2013 19:31:52 +0000 (20:31 +0100)]
[BUGFIX] Restore support for Update script

The new EM is missing support for the class.ext_update.php script.
This patch restores it, giving it its own icon in the extension
list view.

Change-Id: Id5ea243bb689882959aa85cdbe700e784d83b2c0
Resolves: #43244
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/16780
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[TASK] Cleanups for CSS Styled Content 34/17834/3
Sebastian Michaelsen [Wed, 30 Jan 2013 12:06:00 +0000 (13:06 +0100)]
[TASK] Cleanups for CSS Styled Content

* Remove "@todo Define visibility" annotations from the render_*
methods. They are called from TS, they need to be public.
* Remove unused variables from the CssStyledContentController
* Don't pass the constants borderColor and rowSpace to
tt_content.image any more, they are not used there

Resolves: #44965
Releases: 6.1
Change-Id: Ia6ee55754c9af976952274e22c01565f15ec2038
Reviewed-on: https://review.typo3.org/17834
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Misspelled class name FrontendUserAuthtenication 25/17925/3
Christian Kuhn [Fri, 1 Feb 2013 15:21:54 +0000 (16:21 +0100)]
[BUGFIX] Misspelled class name FrontendUserAuthtenication

Fix class name, rename file, fix usage
FrontendUserAuth*ten*ication
FrontendUserAuth*ent*ication

Change-Id: Id851db64a50a5938496dd4411caaec0bf7ba85af
Fixes: #43464
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17925
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn