Packages/TYPO3.CMS.git
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
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