Packages/TYPO3.CMS.git
4 years ago[BUGFIX] Set correct workspace ID when updating referenceIndex for files 81/36481/3
Markus Klösges [Fri, 16 Jan 2015 13:00:35 +0000 (14:00 +0100)]
[BUGFIX] Set correct workspace ID when updating referenceIndex for files

When publishing a workspace the referenceIndex entries of the affected
sys_file_reference rows were not updated with the new workspace. That's
because the user is always in the affected workspace and therefore
the workspace is not set to live as expected.
Now updating referenceIndex for both workspaces when swapping.

Resolves: #64253
Releases: master, 6.2
Change-Id: Icfb4fcd1ae92da4ea881105b387c3d6db20ece95
Reviewed-on: http://review.typo3.org/36481
Tested-by: Michael Schams <typo3@2014.trash.schams.net>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Set TYPO3 version to 6.2.11-dev 88/37288/2
TYPO3 Release Team [Thu, 26 Feb 2015 18:24:07 +0000 (19:24 +0100)]
[TASK] Set TYPO3 version to 6.2.11-dev

Change-Id: I6d8de31ab0d180f239cb017b2475ee068e45479a
Reviewed-on: http://review.typo3.org/37288
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[RELEASE] Release of TYPO3 6.2.10 87/37287/2 6.2.10 TYPO3_6-2-10
TYPO3 Release Team [Thu, 26 Feb 2015 18:23:23 +0000 (19:23 +0100)]
[RELEASE] Release of TYPO3 6.2.10

Change-Id: I0dc5879b38dffd53ecb16c816ce50fa4f428de76
Reviewed-on: http://review.typo3.org/37287
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[BUGFIX] Prevent duplicate '/' in filepath when uploading file 04/37204/2
Sascha Egerer [Mon, 23 Feb 2015 11:02:46 +0000 (12:02 +0100)]
[BUGFIX] Prevent duplicate '/' in filepath when uploading file

To prevent a duplicate '/' in a filepath the function
LocalDriver::getAbsolutePath should be used instead of
concatenating strings by hand.
This fixes also an issue that file uploads are not
possible on windows machines due to a incorrect filepath.

Resolves: #65230
Releases: master, 6.2
Change-Id: Ibe6ff9c8c1d6579c8da24f14cfd6e528f57a8e4f
Reviewed-on: http://review.typo3.org/37204
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[TASK] Harmonize allowed characters of backend usernames 11/37111/2
Sascha Egerer [Mon, 23 Feb 2015 11:44:19 +0000 (12:44 +0100)]
[TASK] Harmonize allowed characters of backend usernames

When creating new backend users from the intall tool, any
character is now accepted for the username. Whitespaces get
trimmed and uppercase is converted to lowercase.
This is already the case for TCA of be_users.username

Resolves: #65224
Releases: master, 6.2
Change-Id: I0edabd2cb82dc59bdc52dd385c1e198f04be6017
Reviewed-on: http://review.typo3.org/37111
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
4 years ago[BUGFIX] Prevent double slash in canonicalizeAndCheckFolderIdentifier 09/37109/4
Sascha Egerer [Sat, 31 Jan 2015 20:45:39 +0000 (21:45 +0100)]
[BUGFIX] Prevent double slash in canonicalizeAndCheckFolderIdentifier

If the value given to AbstractHierarchicalFilesystemDriver->
canonicalizeAndCheckFolderIdentifier()
is '.' the return was '//' but should be '/'.

Resolves: #64706
Releases: master, 6.2
Change-Id: I63900c44be3180b0a9b8e31d89c6c896382db6b7
Reviewed-on: http://review.typo3.org/37109
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
4 years ago[BUGFIX] Show "Add task" after stopping a running task 85/37185/2
Andreas Fernandez [Mon, 23 Feb 2015 14:01:23 +0000 (15:01 +0100)]
[BUGFIX] Show "Add task" after stopping a running task

Check if CMD is "stop" to make "Add task" visible.

Resolves: #65235
Releases: master, 6.2
Change-Id: Ia5b87f6105e14e224e8db0541d6fe36a021d8ba3
Reviewed-on: http://review.typo3.org/37185
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years agoRevert "[BUGFIX] Prevent wrong ref_index for fields with soft references" 83/37083/2
Nicole Cordes [Sat, 21 Feb 2015 20:26:36 +0000 (21:26 +0100)]
Revert "[BUGFIX] Prevent wrong ref_index for fields with soft references"

This reverts commit 91732f299bfa625f3e9e54873efbad2fda96d11a.

Change-Id: Ic25804fb0ef1b96a78d83285d9c425dc5d37f02d
Reviewed-on: http://review.typo3.org/37083
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Prevent wrong ref_index for fields with soft references 77/37077/3
Nicole Cordes [Thu, 19 Feb 2015 09:55:13 +0000 (10:55 +0100)]
[BUGFIX] Prevent wrong ref_index for fields with soft references

If you add a page link to a field which is defined as softrefs, the
ReferenceIndex creates an index to a FAL record if there exists a file
record with the page id. As file links are always prefixed with 'file:'
this patch adds a proper check before generating a file ref_index.

Furthermore if you add a file or folder link, the field is referenced
twice for the FAL record. So we have to suppress the softreference for
those records.

Releases: master, 6.2
Resolves: #60226
Change-Id: Ieb9179d393e23eda4fdb1bb47ba4693bd92e75d9
Reviewed-on: http://review.typo3.org/37077
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Use current domain if found in domain record 69/37069/4
Helmut Hummel [Fri, 20 Feb 2015 15:46:55 +0000 (16:46 +0100)]
[BUGFIX] Use current domain if found in domain record

The introduction of domain record cache with #24389 introduced a regression.
Previously if multiple domain names were found for one subtree,
the domain name which matched the current host name was preferred.
After the introduction of the cache, only the first domain record was
considered.

This patch properly checks the domain records against the current domain
in use and selects the most appropriate one.

Releases: master, 6.2
Resolves: #62556
Change-Id: I9cae580af9c9de0c1f6ed02d5ac8ad6a90a0fa2b
Reviewed-on: http://review.typo3.org/37069
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Keep image order during upgrade 42/37042/4
Nicole Cordes [Fri, 20 Feb 2015 11:29:25 +0000 (12:29 +0100)]
[BUGFIX] Keep image order during upgrade

After upgrading from 4.5 to 6.2 the image sorting is messed. This patch
adds sorting rows to file references to keep the correct order. The sort
interval matches the default value of DataHandler.

Releases: 6.2
Resolves: #65193
Change-Id: I0e340d0fe422447ce6b8616be0297d6a7204b4fe
Reviewed-on: http://review.typo3.org/37042
Tested-by: Philipp Mueller <philipp.mueller@lavitto.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Install tool error message if session file not writeable 28/37028/2
Christian Kuhn [Thu, 19 Feb 2015 16:32:21 +0000 (17:32 +0100)]
[BUGFIX] Install tool error message if session file not writeable

In a rare case it may happen that the install tool created a session
file in typo3temp/InstallToolSessions and later those files can not
be written or updated due to permission problems.
The install tool then fails silently without error message.
Since write out of session data happens in __destruct() a proper
error message can not be created at this point anymore. Solution
is to "test write" the session file after opening it and throw
an exception if that fails.

Resolves: #65014
Releases: master, 6.2
Change-Id: I9478f0cfb58a047842d48350b7005e64f50f52ff
Reviewed-on: http://review.typo3.org/37028
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Display error message for "Check for broken extensions" 59/37059/2
Nicole Cordes [Thu, 19 Feb 2015 16:24:08 +0000 (17:24 +0100)]
[BUGFIX] Display error message for "Check for broken extensions"

If you try to uninstall an extension, which is needed by another one,
the process triggers an error without any information for the user. This
patch catches the exception and shows it in frontend.

Releases: master, 6.2
Resolves: #63672
Change-Id: I339b3cb533e7ec22cbdd27a2661e1b775ac665c0
Reviewed-on: http://review.typo3.org/37059
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Prevent warning in FAL "Update storage index" scheduler task 51/37051/2
Nicole Cordes [Fri, 20 Feb 2015 08:47:24 +0000 (09:47 +0100)]
[BUGFIX] Prevent warning in FAL "Update storage index" scheduler task

Due to the use of intval within array_walk a warning is triggered,
because array_walk calls the function with two parameters where intval
only expects one. This patch replaces the array_walk function with
DatabaseConnection::cleanIntArray.

Releases: master, 6.2
Resolves: #65189
Change-Id: Ic487f2da589e1610bd9ac7ec721d48a2735ef980
Reviewed-on: http://review.typo3.org/37051
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Fix static access to enumeration constants 27/37027/2
Mathias Brodala [Tue, 10 Feb 2015 14:27:59 +0000 (15:27 +0100)]
[BUGFIX] Fix static access to enumeration constants

Enumeration constants need to be loaded on static access
without requiring a instance before.

Resolves: #64971
Releases: master,6.2
Change-Id: Iaaefe5648ab70743cfc2efc73c81f870833b730d
Reviewed-on: http://review.typo3.org/37027
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Prevent warning in Upgrade Wizard 12/37012/5
Nicole Cordes [Thu, 19 Feb 2015 08:16:05 +0000 (09:16 +0100)]
[BUGFIX] Prevent warning in Upgrade Wizard

The ReferenceIntegrityUpdateWizard looks for existing FAL file references.
If you start the Upgrade Wizard without any database update before, FAL
tables don't exists yet and the database request returns a non array
value. As the Wizard expects an array to be returned without proper
casting, a warning is thrown.

Releases: 6.2
Resolves: #65159
Change-Id: Ib4e6c308d1e2de8e7f7e2523d62a4ff97ef47bb5
Reviewed-on: http://review.typo3.org/37012
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Install tool fatal with options for cache_classes 00/37000/2
Christian Kuhn [Wed, 18 Feb 2015 18:17:58 +0000 (19:17 +0100)]
[BUGFIX] Install tool fatal with options for cache_classes

Setting an option like cacheDirectory for cache_classes or
cache_core triggers a fatal if calling the install tool.
This happens because the install tool calls the bootstrap
loadConfigurationAndInitialize() with $allowCaching = FALSE
which then calls disableCoreAndClassesCache() and sets the
backend of both caches to NullBackend. The cacheDirectory
option however is not supported by this backend.
Solution is to unset any options configured for these caches
within disableCoreAndClassesCache().

Resolves: #65153
Releases: master, 6.2
Change-Id: I3200d6752794c1769fe4e049c301ee8fa185ecf9
Reviewed-on: http://review.typo3.org/37000
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix regression in GeneralUtility::rmFromList() 90/36990/3
Markus Klein [Tue, 17 Feb 2015 12:55:20 +0000 (13:55 +0100)]
[BUGFIX] Fix regression in GeneralUtility::rmFromList()

Removing multiple occurrences of the same element now works again.

Resolves: #65123
Releases: master, 6.2
Change-Id: I3e973f019b68ebe19cee0e01f20b9e51e6a7ae28
Reviewed-on: http://review.typo3.org/36990
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] ElementBrowser: Show triggered flash messages 58/36958/3
Nicole Cordes [Sat, 14 Feb 2015 20:57:01 +0000 (21:57 +0100)]
[BUGFIX] ElementBrowser: Show triggered flash messages

If you try to add a new folder with empty name or an error during the
file upload happens, a FlashMessage is generated and added to the
FlashMessageQueue but not display within the ElementBrowser. The patch
adds output of the FlashMessageQueue above the navigation.

Releases: master, 6.2
Resolves: #65075
Change-Id: I9196fce917893ff04aad55a7f96c57a0b09f4fc3
Reviewed-on: http://review.typo3.org/36958
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Fix core update if core location exists 64/36664/3
Frederic Gaus [Thu, 5 Feb 2015 01:18:46 +0000 (02:18 +0100)]
[BUGFIX] Fix core update if core location exists

If multiple installations are symlinked to the same core location,
the core updater fails on the second update because the new version
already exists.

Check for this situation and skip unneeded tasks during the update
process.

Change-Id: I4c3c11f0e45c240e15913d5de5a3156ef5ad0aa6
Resolves: #58009
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36664
Reviewed-by: Frederic Gaus <gaus@flagbit.de>
Tested-by: Frederic Gaus <gaus@flagbit.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] ElementBrowser: Fix JS error after folder creation 16/36916/2
Nicole Cordes [Sat, 14 Feb 2015 19:45:42 +0000 (20:45 +0100)]
[BUGFIX] ElementBrowser: Fix JS error after folder creation

Add missing parameters in returnUrl to prevent a Javascript error
blocking all further Javascript execution.

Releases: master, 6.2
Resolves: #65074
Change-Id: I34cb27eaf9678b6bab1297b579fec3a6d5385149
Reviewed-on: http://review.typo3.org/36916
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUFGIX] Add modification time to processedfile checksum 98/36898/2
ruud [Sat, 31 Jan 2015 16:59:10 +0000 (17:59 +0100)]
[BUFGIX] Add modification time to processedfile checksum

Added modification time to processed file checksum so the filename of
the processed files changes when the original is replaced.

Resolves: #44645
Releases: master, 6.2
Change-Id: I12bf445ee2a75a9a69b3d8e9603ae5035028a195
Reviewed-on: http://review.typo3.org/36898
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Make sure orig file is not removed when deleting processed files 11/36911/2
Frans Saris [Thu, 12 Feb 2015 10:04:36 +0000 (11:04 +0100)]
[BUGFIX] Make sure orig file is not removed when deleting processed files

A processed file only needs to be deleted from storage if it has its
own identifier.

Releases: master, 6.2
Resolves: #65021
Change-Id: I76c3f1afa6ba7fa5d8898f7281bef78f1ccb4a35
Reviewed-on: http://review.typo3.org/36911
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] ElementBrowser: After file upload no file can be selected 05/36905/2
Wouter Wolters [Sat, 14 Feb 2015 13:19:06 +0000 (14:19 +0100)]
[BUGFIX] ElementBrowser: After file upload no file can be selected

Resolves: #65027
Releases: master, 6.2
Change-Id: I6df1361be3572497fadcea321b6d8d7f000062e0
Reviewed-on: http://review.typo3.org/36905
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Do not call bidir_htmlspecialchars as static function 93/36893/2
Markus Klein [Sat, 14 Feb 2015 10:52:49 +0000 (11:52 +0100)]
[BUGFIX] Do not call bidir_htmlspecialchars as static function

The static call of bidir_htmlspecialchars throws a notice.
Just refactored the code to use the class instance instead.

Resolves: #64827
Releases: master, 6.2
Change-Id: I384646ccb07c05e5db76100228f3bb61c2a07d93
Reviewed-on: http://review.typo3.org/36893
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Scheduler: Show exception when invalid CommandController present 18/36718/2
Armin Ruediger Vieweg [Tue, 3 Feb 2015 19:43:44 +0000 (20:43 +0100)]
[BUGFIX] Scheduler: Show exception when invalid CommandController present

When a CommandController in an extbase extension has been registered,
but the class does not contain the string "CommandController"
an exception will be thrown. Before this patch, this exception
will never show up.

This patch adds the output of exception's message in Scheduler module,
which gives the developer a hint why the "add new task" form is not
displayed properly.

Also it extends the exception with description why the class name is invalid.

Resolves: #64836
Releases: master, 6.2
Change-Id: I309ed02c7fd4597b99388518abf842e600b27a9a
Reviewed-on: http://review.typo3.org/36718
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] RTE: Selected table style name not displayed correctly 51/36851/2
Stanislas Rolland [Wed, 11 Feb 2015 22:28:56 +0000 (17:28 -0500)]
[BUGFIX] RTE: Selected table style name not displayed correctly

The name of the selected table style is not displayed correctly
in table properties dialogue.

Releases: 6.2
Resolves: #49257
Change-Id: I69efeb05e4c51ec54b2f271d408af9e78d0b4e57
Reviewed-on: http://review.typo3.org/36851
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] RTE: Mixed up configuration options of the Acronym button 25/36725/2
Stanislas Rolland [Sat, 7 Feb 2015 03:46:00 +0000 (22:46 -0500)]
[BUGFIX] RTE: Mixed up configuration options of the Acronym button

The Acronym button will be enabled even when no acronym record exists.
The Abbreviation tab will be shown even if no acronym record of this
type exists; in such case, the predefined abbreviation fieldset will not be shown.
However, the Acronym tab will not be shown if no acronym record of this
type exists. If the current selection is empty and not within an abbr
tag, the Abbreviation fieldset will not be show. If the current
selection is empty and not within an acronym tag, the Acronym fieldset
will not be show.

Releases: 6.2
Resolves: #64165
Change-Id: I590acd8d2ee10f2e9509ecb15c9b65876a363eda
Reviewed-on: http://review.typo3.org/36725
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] Use saltedpasswords for scheduler user creation 24/36824/2
Markus Klein [Mon, 9 Feb 2015 09:54:08 +0000 (10:54 +0100)]
[BUGFIX] Use saltedpasswords for scheduler user creation

Remove the hardcoded md5-hashing and let saltedpasswords do that for us.

Resolves: #64936
Releases: master, 6.2
Change-Id: I608a2106690d64b3ac64a5657d6b4ffa4be721a1
Reviewed-on: http://review.typo3.org/36824
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Correct typoscript log message in USER cObj 19/36819/2
Frederic Gaus [Wed, 11 Feb 2015 07:46:17 +0000 (08:46 +0100)]
[BUGFIX] Correct typoscript log message in USER cObj

Correct typoscript log message in UserContentObject

Change-Id: I5a36e4d67278f96fa6cfd269fc7efbbb0df0b7bf
Resolves: #64979
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36819
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Catch possible NULL values to avoid exception 88/36788/2
Andreas Fernandez [Tue, 10 Feb 2015 08:16:34 +0000 (09:16 +0100)]
[BUGFIX] Catch possible NULL values to avoid exception

If references are not maintained properly, all reference information
may be NULL or empty string (depending on it's type). Catch NULL values
and return early.

Resolves: #64955
Releases: master, 6.2
Change-Id: Id525e011f7b70190bc8f1f0c27e8c4b091325304
Reviewed-on: http://review.typo3.org/36788
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[BUGFIX] Set version to 6.2.10-dev 66/36766/2
Francois Suter [Mon, 9 Feb 2015 11:01:36 +0000 (12:01 +0100)]
[BUGFIX] Set version to 6.2.10-dev

After the released of 6.2.10rc1, the TYPO3 version was reset
to 6.2-dev. It should be 6.2.10-dev instead.

Using 6.2-dev breaks extensions using version_compare().

Releases: 6.2
Change-Id: Id8301b872b0b3f07ef5d64b5bd74e9558d76f416
Reviewed-on: http://review.typo3.org/36766
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years agoRevert "[BUGFIX] CSS3 function calc must retain whitespace" 83/36783/3
Christian Kuhn [Mon, 9 Feb 2015 19:09:53 +0000 (20:09 +0100)]
Revert "[BUGFIX] CSS3 function calc must retain whitespace"

This reverts commit 5cfb009da9b36fc022aec19a57dc6965ff80a9ff.

The change introduced a huge regex that leads to PHP segfaults
with old PCRE versions that are usually bundled with PHP versions
5.3 and 5.4. A test script link was added to the forge issue.

The patch reverts the patch for issue #62463 for 6.2 while
master will receive an install tool check for recent PCRE versions.

Change-Id: I63b4ff282ecac34730eef52c4127ad7acfb8dbba
Resolves: #64950
Reverts: #62463
Releases: 6.2
Reviewed-on: http://review.typo3.org/36783
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] RTE: WebKit may insert line-height style attribute on paste 50/36750/2
Stanislas Rolland [Sun, 8 Feb 2015 18:39:10 +0000 (13:39 -0500)]
[BUGFIX] RTE: WebKit may insert line-height style attribute on paste

Problem: When pasting content that contains (un)ordered lists, WebKit
browsers may insert line-height style attributes on the ul/ol elements.
Solution: Remove the added attributes if enableWordClean is set.

Releases: master, 6.2
Resolves: #63982
Change-Id: I64fe918aa1f0edcc52466736e390ae60b09e7ef8
Reviewed-on: http://review.typo3.org/36750
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] RTE: Incorrect dialog window height when browser zoom is used 36/36736/2
Stanislas Rolland [Sun, 8 Feb 2015 00:07:00 +0000 (19:07 -0500)]
[BUGFIX] RTE: Incorrect dialog window height when browser zoom is used

Problem: When browser zoom is used, ExtJS does not calculate correctly the
height of tabpanels that contain fieldsets.
Solution: Calculate the correct height and set the tabpanel height.

Releases: master, 6.2
Resolves: #45616

Change-Id: I0bc6d95b6699378b19fe81df8aaab7915e933c4d
Reviewed-on: http://review.typo3.org/36736
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] Cleaner scripts crashes due to incomplete flexform content 22/36722/3
Jose Antonio Guerra [Fri, 6 Feb 2015 18:32:29 +0000 (19:32 +0100)]
[BUGFIX] Cleaner scripts crashes due to incomplete flexform content

Failure to check arguments used on recursive function call
causes PHP runtime error.

Resolves: #64914
Releases: master, 6.2
Change-Id: Id61ae9961415ab5d9d4294b224c90f2e02df6f14
Reviewed-on: http://review.typo3.org/36722
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Memcached backend identifierPrefix only based on PATH_site 21/36721/2
Arjen Hoekema [Fri, 30 Jan 2015 14:15:20 +0000 (15:15 +0100)]
[BUGFIX] Memcached backend identifierPrefix only based on PATH_site

Change the 'identifierPrefix' in the MemcachedBackend so it is
caculated based on:
* PATH_site
* Context (production/developement)
* Cache identifier (cache_pages, cache_hash)

This avoids cache collisions when using a single Memcached backend
for multiple caching configurations when using the same
'entryIdentifier' in set()

Resolves: #64588
Releases: master, 6.2
Change-Id: Ib1702caa06dc29937cdc4bf574a0f05d89a8d10c
Reviewed-on: http://review.typo3.org/36721
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Properly check type of POST vars on clipboard action 14/36714/2
Markus Klein [Thu, 5 Feb 2015 23:47:03 +0000 (00:47 +0100)]
[BUGFIX] Properly check type of POST vars on clipboard action

Avoid a PHP warning by checking the type of data retrieved via POST.

"CBC" is an array of checkboxes, which can be null if nothing is selected.
"CBH" is an array of hidden fields. If this is not an array, something
is messed up in HTML generation and an Exception should be thrown then
(because of a PHP warning).

Also adapt the list module code accordingly.

Resolves: #64897
Releases: master, 6.2
Change-Id: Ife7d079a6d666e8bdbbce7b7eef34dbf5636c425
Reviewed-on: http://review.typo3.org/36714
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Set TYPO3 version to 6.2-dev 09/36709/2
TYPO3 Release Team [Fri, 6 Feb 2015 08:15:43 +0000 (09:15 +0100)]
[TASK] Set TYPO3 version to 6.2-dev

Change-Id: I9e37ea1649d58788d6dd653a0c4c87f124fe4529
Reviewed-on: http://review.typo3.org/36709
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[RELEASE] Release of TYPO3 6.2.10rc1 08/36708/2 6.2.10-rc1 TYPO3_6-2-10rc1
TYPO3 Release Team [Fri, 6 Feb 2015 08:15:06 +0000 (09:15 +0100)]
[RELEASE] Release of TYPO3 6.2.10rc1

Change-Id: I91e5f610b5ef6b8d6a4556822ce3c0fe6497239f
Reviewed-on: http://review.typo3.org/36708
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[BUGFIX] Ensure variable imageSizes is an array before accessing its values 98/36698/2
Fabien Udriot [Thu, 5 Feb 2015 14:01:04 +0000 (15:01 +0100)]
[BUGFIX] Ensure variable imageSizes is an array before accessing its values

It could be the PHP function "getimagesize" will fail to get the width and
the height of an image if the format is not supported by PHP. The patch
prevent accessing the value of an array which may be not an array.

Resolves: #64875
Releases: master, 6.2
Change-Id: Ibcbeb6edc7e23a2468cbcce40c2ecb0c2ba21142
Reviewed-on: http://review.typo3.org/36698
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Make composer class loading case insensitive 70/36670/5
Helmut Hummel [Thu, 5 Feb 2015 14:05:37 +0000 (15:05 +0100)]
[BUGFIX] Make composer class loading case insensitive

To fix an edge case where wrong casing of a class name
in third party code did not produce a fatal error in TYPO3 6.2,
we change the composer class loader which is shipped by default
to allow case insensitive class loading of core classes.

This behavior can be switched on and off for fully composer based projects.
It is off by default (which will be the case in master)
and on in TYPO3 6.2 for full backwards compatibility.

Releases: 6.2
Resolves: #64873
Change-Id: I9b4de69fdd2b56616cc7ca249395a22f242b0c33
Reviewed-on: http://review.typo3.org/36670
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
4 years ago[BUGFIX] Keep linktype on core update 16/36616/2
Frederic Gaus [Mon, 2 Feb 2015 20:59:33 +0000 (21:59 +0100)]
[BUGFIX] Keep linktype on core update

Keep the linktype of the symlink pointing to the TYPO3 core. Currently
the CoreUpdateService always creates an absolute link even if the
link was relative before. This patch checks for the correct link type
during a core update. This could be important in some environments,
e.g. in a chrooted environemnt.

Change-Id: I47bbe0d54a88853adc4160937a21d641b756f20f
Resolves: #58000
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36616
Reviewed-by: Frederic Gaus <gaus@flagbit.de>
Tested-by: Frederic Gaus <gaus@flagbit.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
4 years ago[BUGFIX] Remove superfluous getInstance calls in Bootstrap 11/36611/3
Helmut Hummel [Mon, 2 Feb 2015 19:21:29 +0000 (20:21 +0100)]
[BUGFIX] Remove superfluous getInstance calls in Bootstrap

Releases: 6.2, master
Resolves: #64770
Change-Id: I9ae4cd9476b45a17c0246edf65fb01a54b7dd24f
Reviewed-on: http://review.typo3.org/36611
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[CLEANUP] Add missing signature to DatabaseConnection phpDoc updateQuery 69/36569/2
Ruud Silvrants [Thu, 29 Jan 2015 11:26:15 +0000 (12:26 +0100)]
[CLEANUP] Add missing signature to DatabaseConnection phpDoc updateQuery

Fix the bug of the missing code documentation at the PHPDoc of
execUpdateQuery and updateQuery to expect also an array or string
necessary for fullQuoteArray().

Resolves: #64511
Releases: master, 6.2
Change-Id: I310291f3686cca8ac17bad3aedf7f94cfbe6370c
Reviewed-on: http://review.typo3.org/36569
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[CLEANUP] Comments, usages and phpdoc of InlineElement 91/36591/2
Stephan Großberndt [Sat, 31 Jan 2015 21:25:53 +0000 (22:25 +0100)]
[CLEANUP] Comments, usages and phpdoc of InlineElement

Clean up formatting, comments, typos, unused variables, uses and
phpdoc of TYPO3\CMS\Backend\Form\Element\InlineElement.

Resolves: #64705
Releases: master, 6.2
Change-Id: I9d9b2ea61350359c21f1b05a357027b5e6c7aa4b
Reviewed-on: http://review.typo3.org/36591
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Prevent folder deletion with referenced files 77/36577/2
Armin Ruediger Vieweg [Fri, 30 Jan 2015 11:57:34 +0000 (12:57 +0100)]
[BUGFIX] Prevent folder deletion with referenced files

Currently a folder can be deleted without any check if included files
are still in use anywhere within the website. This can lead to lost
files and can be harmful for the user. The patch adds a test if files
within a folder, which should be deleted, are still referenced and
prevents deleting it if files where found. The user is notified with a
warning shown above the file list.

Resolves: #48893
Releases: master, 6.2
Change-Id: If1c79d86e1f6c7a32a6a3e94e639951f882302d7
Reviewed-on: http://review.typo3.org/36577
Reviewed-by: Armin Ruediger Vieweg <armin@v.ieweg.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years agoRevert "[CLEANUP] Rework/simplify copyright header and remove @package" 00/36600/2
Anja Leichsenring [Mon, 2 Feb 2015 11:58:17 +0000 (12:58 +0100)]
Revert "[CLEANUP] Rework/simplify copyright header and remove @package"

This reverts commit 32060091876342826de9e99550ab04951891552c.
Releases: master, 6.2

Change-Id: I5522232323c7cfbe420744b6aed0083a412c6507
Reviewed-on: http://review.typo3.org/36600
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUFGIX] Remove all existing processed files on file replace 97/36597/3
ruud [Sat, 31 Jan 2015 16:59:10 +0000 (17:59 +0100)]
[BUFGIX] Remove all existing processed files on file replace

When a file gets replaced by calling replaceFile() or by overriding
on uploading all processed files of the original file get removed.

Resolves: #63976
Releases: master, 6.2
Change-Id: I865503e46ac9044b22f976e0db5b163ac7e2e4c9
Reviewed-on: http://review.typo3.org/36597
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[TASK] Do not create uploads/tf directory 82/36582/2
Stephan Großberndt [Sun, 1 Feb 2015 15:12:27 +0000 (16:12 +0100)]
[TASK] Do not create uploads/tf directory

No longer create the directory uploads/tf in the default folder
structure in install tool. This directory was used until TYPO3 CMS 4.7
to store resources related to sys_template-records. The definition of
the "resources"-field was removed in TYPO3 CMS 6.0, but the default
folder creation was overlooked.

Resolves: #64721
Releases: master, 6.2
Change-Id: I96f14183d82d39945399b4554eb6216395cd852d
Reviewed-on: http://review.typo3.org/36582
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Avoid to call recordInfo for new records 95/36595/2
Stephan Großberndt [Wed, 10 Dec 2014 11:15:53 +0000 (12:15 +0100)]
[BUGFIX] Avoid to call recordInfo for new records

Avoid to call recordInfo for new records in DataHandler->checkValue by
checking the id. This improves performance for bulk inserts.

Resolves: #63733
Releases: master, 6.2
Change-Id: I02c2d282f487defe3c74d89e7041ecb8b0eae7b8
Reviewed-on: http://review.typo3.org/36595
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Create typo3temp/_processed_/ by default 60/36560/3
Sebastian Fischer [Sun, 1 Feb 2015 09:33:02 +0000 (10:33 +0100)]
[BUGFIX] Create typo3temp/_processed_/ by default

By this the needed folder for files from default storage
is created.

Resolves: #55833
Releases: master, 6.2
Change-Id: I5f31203a58d2a093362305aebf1f264f175980c3
Reviewed-on: http://review.typo3.org/36560
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Ingo Schmitt <is@marketing-factory.de>
Tested-by: Ingo Schmitt <is@marketing-factory.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[FOLLOWUP][BUGFIX] FAL: Do not paste a folder into itself 79/36579/2
Wouter Wolters [Sun, 1 Feb 2015 12:31:10 +0000 (13:31 +0100)]
[FOLLOWUP][BUGFIX] FAL: Do not paste a folder into itself

Add missing @throws annotation for the added function.

Also the correct exception is thrown in ResourceStorage
if it occurs anyway.

Resolves: #51670
Releases: master, 6.2
Change-Id: I52551012c88326cc3fd58d2e72e53f58fedb334b
Reviewed-on: http://review.typo3.org/36579
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[BUGFIX] Enhancing StripNewLinesFilter for Windows line breaks 78/36578/2
Ronny Vorpahl [Sun, 1 Feb 2015 11:20:58 +0000 (12:20 +0100)]
[BUGFIX] Enhancing StripNewLinesFilter for Windows line breaks

Currently the filter does not handle Windows line breaks.
This results in unfiltered Windows line breaks.
This patch adds Windows line break support to the filter function.
Furthermore the unit tests for the filter are extended to check
Windows line breaks as well.

Resolves: #64710
Releases: master, 6.2
Change-Id: I503657daaf693f1a28589bc7d8a9321ebae54e61
Reviewed-on: http://review.typo3.org/36578
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[BUGFIX] FAL: Do not paste a folder into itself 48/36548/2
Helmut Hummel [Thu, 29 Jan 2015 21:03:57 +0000 (22:03 +0100)]
[BUGFIX] FAL: Do not paste a folder into itself

If a folder is selected in fileadmin, which is already in
the clipboard, the paste icon is not shown to prevent
a endlessly nested folder structure.

Also the correct exception is thrown in ResourceStorage
if it occurs anyway.

Resolves: #51670
Releases: master, 6.2
Change-Id: I996cb8eede1371e479f756f18e1ede03f65950cb
Reviewed-on: http://review.typo3.org/36548
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[BUGFIX] ExtractorRegistry can not handle Extractors with same priority 55/36555/2
Fabien Udriot [Sat, 31 Jan 2015 13:24:11 +0000 (14:24 +0100)]
[BUGFIX] ExtractorRegistry can not handle Extractors with same priority

The ExtractorRegistry::getExtractors() overrides existing
instances with the same execution priority. There is no check
or notification about this. As instance, it could be that you
have a extractor for Local driver and an extractor for a remote
driver with the same execution priority, that is currently not possible.

The change set also keep in sync some part of the code with
the FileRenderRegistry which is very close to the Extractor Registry.

Change-Id: I42fdd3916410536a0b097d96cf833129f5359d72
Releases: master, 6.2
Resolves: #56727
Reviewed-on: http://review.typo3.org/36555
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[BUGFIX] Felogin: Ignore scheme in isInCurrentDomain 54/36554/2
Jigal van Hemert [Fri, 14 Dec 2012 21:30:18 +0000 (22:30 +0100)]
[BUGFIX] Felogin: Ignore scheme in isInCurrentDomain

While determining if the referrer is in the current domain the
scheme part should be ignored. This makes it possible to have the
login page using https and the rest http.

Resolves: #32618
Releases: master, 6.2
Change-Id: Ic411e3b18d22b96ae5e5a955d88d6270a05116a7
Reviewed-on: http://review.typo3.org/36554
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Add test for NULL fields when comparing SQL field definitions 38/36538/2
Stephan Großberndt [Sat, 31 Jan 2015 16:43:33 +0000 (17:43 +0100)]
[TASK] Add test for NULL fields when comparing SQL field definitions

Resolves: #64697
Releases: master, 6.2
Change-Id: I6d08445633af54d64f9176fc7b691e318d08d897
Reviewed-on: http://review.typo3.org/36538
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[CLEANUP] Rework/simplify copyright header and remove @package 37/36537/2
Stephan Großberndt [Sat, 31 Jan 2015 15:29:14 +0000 (16:29 +0100)]
[CLEANUP] Rework/simplify copyright header and remove @package

Align some files with old copyright headers, mostly in extbase and
fluid sysext which were missed in Task #59535. Also remove some left
@package statements missed in Task #43019.

Resolves: #64689
Releases: master, 6.2
Change-Id: I9838c9be73cb3a310ef2572fcc3843ff53dbf724
Reviewed-on: http://review.typo3.org/36537
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Deactivate output buffer for FileDumpEID.php 33/36533/2
Roman Schuermann [Sat, 31 Jan 2015 09:33:29 +0000 (10:33 +0100)]
[BUGFIX] Deactivate output buffer for FileDumpEID.php

If you try to download large file via FileDumpEID.php you may
get an out of memory error.

Resolves: #64273
Releases: master, 6.2
Change-Id: Ie1fcf9eac5d8e7466bbfe6eb8357ed9ce62fa649
Reviewed-on: http://review.typo3.org/36533
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[BUGFIX] Improve functional test execution on Windows system 17/36517/3
Nicole Cordes [Sat, 31 Jan 2015 15:18:52 +0000 (16:18 +0100)]
[BUGFIX] Improve functional test execution on Windows system

On Windows systems you can execute several commands using '&' like
set typo3DatabaseUsername=root & set typo3DatabasePassword=root.
Unfortunately Windows sets those parameter with a trailing space. This
causes database connections not to work. Therefore the patch adds a trim
on getting system environment variables for database credentials for
functional tests.

Furthermore the PHP versions on Windows throw a warning on setting the
database name when the connection is closed. The warning is caught by
PHPUnit but the database tables aren't initialized correctly. This patch
adds an '@' to mute the warning.

Releases: master, 6.2
Resolves: #64680
Change-Id: If649b5bd440a3bd504f028a3c9c96c9d294d380c
Reviewed-on: http://review.typo3.org/36517
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Respect (NOT) NULL when comparing SQL field definitions 25/36525/2
Stephan Großberndt [Fri, 30 Jan 2015 10:23:17 +0000 (11:23 +0100)]
[BUGFIX] Respect (NOT) NULL when comparing SQL field definitions

When comparing the database or updating extensions the definitions for
NULL / NOT NULL in fields are now respected and updated.

Resolves: #64616
Releases: master, 6.2
Change-Id: I70c63339505b373023f24973313a2e673e8eaf86
Reviewed-on: http://review.typo3.org/36525
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Add only required classes and class aliases 60/36460/6
Helmut Hummel [Fri, 30 Jan 2015 17:47:56 +0000 (18:47 +0100)]
[BUGFIX] Add only required classes and class aliases

The static class and alias map now only contains a class map
and an alias map for required extensions.

This means that the traditional class loader will kick in for other
activated extensions.

Optionally it is possible to provide additional class and alias maps
in a distribution composer.json, this will however only work
if the TYPO3_COMPOSER_AUTOLOAD environment variable is set.

The latter is a precaution to not break backwards compatibility.

Releases: master, 6.2
Resolves: #64376
Change-Id: I4fd2202abad345c29bcb2b05d3702bdeef9e4474
Reviewed-on: http://review.typo3.org/36460
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Ensure unix like paths for temp files 07/36507/2
Nicole Cordes [Sat, 31 Jan 2015 11:18:32 +0000 (12:18 +0100)]
[BUGFIX] Ensure unix like paths for temp files

Using tempnam() on Windows systems returns paths containing backslashes.
As other paths inside the core are already transformed to paths using
forward slashes some string comparisons fail. This patch ensures correct
transforming of slashes after the usage of tempnam().

Releases: master, 6.2
Resolves: #64682
Change-Id: Ic85e06d9ed32c9f668efd5bb74b9bc14df367e1b
Reviewed-on: http://review.typo3.org/36507
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] FAL: Remove old publishing leftovers 95/36495/2
Benjamin Mack [Sat, 31 Jan 2015 11:23:19 +0000 (12:23 +0100)]
[TASK] FAL: Remove old publishing leftovers

The initial concept of having publishers
in the File Abstraction Layer was never
implemented.

The leftover code is removed.
No dependencies to the protected
method are found and can safely be
removed.

Resolves: #64683
Releases: master, 6.2
Change-Id: I4eca172bc9fd618ce80bd7c0158da73b01745a77
Reviewed-on: http://review.typo3.org/36495
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Gracefully show missing files in IRRE relations 89/36489/3
Jan Helke [Thu, 17 Apr 2014 13:24:58 +0000 (15:24 +0200)]
[BUGFIX] Gracefully show missing files in IRRE relations

When the database is inconsistent and a sys_file entry linked
from sys_file_reference does not exist anymore, an exception
is shown in the "page" module in the backend:

> No file found for given UID.

We will now gracefully show the reference as "broken" and let
the action up to the editor. Works for temporarily unavailable
storages too.

Releases: master, 6.2
Resolves: #58013
Change-Id: Ibce9bb3b60e9294aa1902b95c1b99337d3a8e2e6
Reviewed-on: http://review.typo3.org/36489
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Inform user about possibly missing Ghostscript tools 90/36490/2
Markus Klein [Sat, 31 Jan 2015 10:33:36 +0000 (11:33 +0100)]
[TASK] Inform user about possibly missing Ghostscript tools

Extend the error message for failing image tests to include a note
about possibly missing Ghostscript tools on the server.

Releases: master, 6.2
Resolves: #64677
Change-Id: I9dbc9e3b4afb8280c54d4ac87456f9272bdb0874
Reviewed-on: http://review.typo3.org/36490
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Use resource API to deleted files from uploads in DataHandler 88/36488/2
Marc Bastian Heinrichs [Sat, 21 Jun 2014 13:49:34 +0000 (15:49 +0200)]
[TASK] Use resource API to deleted files from uploads in DataHandler

The DataHandler deletes files from the uploads folder. Since also a
sys_file record could exist for such file, the resource API should be
used to delete it.

Resolves: #58967
Releases: master, 6.2
Change-Id: I6c0b3683657e1c4da5f9ab0a2016e33b1e472f62
Reviewed-on: http://review.typo3.org/36488
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Files to FileStorage relations are now recorded in sys_refindex 86/36486/3
alinafleser [Fri, 30 Jan 2015 11:59:48 +0000 (13:59 +0200)]
[BUGFIX] Files to FileStorage relations are now recorded in sys_refindex

When a file (sys_file) is added/modified/deleted,
the relation to the file storage (sys_file_storage)
is recorded and updated in sys_refindex

Resolves: #64631
Related: #50871
Releases: master, 6.2
Change-Id: If95fac13c5530041948b3f9c896ebb390c31956a
Reviewed-on: http://review.typo3.org/36486
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Path of a storage must be required 83/36483/2
Altan Tosun [Fri, 30 Jan 2015 22:12:08 +0000 (23:12 +0100)]
[BUGFIX] Path of a storage must be required

Remove the default 'fileadmin/' and introduce a placeholder
instead.
The field is required now.

Resolves: #64650
Releases: master
Change-Id: I517fc816f4c84be8592199f3341f11a3395b8079
Reviewed-on: http://review.typo3.org/36483
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[BUGFIX] Return InaccessibleFolder for non existing processed folder 97/36397/3
Frans Saris [Fri, 30 Jan 2015 08:50:03 +0000 (09:50 +0100)]
[BUGFIX] Return InaccessibleFolder for non existing processed folder

When the processed folder of a folder isn't present the ResourceStorage
tries to create it. When storage is offline or write-only this will fail
and as a result you run into exceptions on several places in BE.

This change makes sure there is a InaccessibleFolder object returned
in these cases.

Resolves: #61688
Releases: master, 6.2
Change-Id: Ie32c09f8d322914234860903c18ca44ff5cbf5db
Reviewed-on: http://review.typo3.org/36397
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[BUGFIX] Scheduler: Fix task group issues 59/35759/3
Mathias Schreiber [Sat, 3 Jan 2015 13:49:34 +0000 (14:49 +0100)]
[BUGFIX] Scheduler: Fix task group issues

Do not list deleted task groups as option when creating new tasks.
Display tasks assigned to a deleted group in the un-grouped block.

Resolves: #63973
Releases: master, 6.2
Change-Id: I0f9b4a01f03f49881883d9dafad2354bb7526fb2
Reviewed-on: http://review.typo3.org/35759
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] DateValidator fails to validate incorrect dates 69/36469/2
Nicole Cordes [Fri, 30 Jan 2015 18:35:11 +0000 (19:35 +0100)]
[BUGFIX] DateValidator fails to validate incorrect dates

If the function "strptime" is not present in the environment (mostly on
Windows systems) the fallback to check a given date in the dateValidator
fails to detect invalid dates. The conversion from the given string to
a date object respects invalid dates and just converts them to valid
ones (by moving in next month/year). Therefore the function returns an
object instead of false. This patch adds a value comparison between old
and new value to be sure still the same date string is returned.

Releases: master, 6.2
Resolves: #64661
Change-Id: I739d309278143bb5fc24c48ca7bb884a1e25a442
Reviewed-on: http://review.typo3.org/36469
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
4 years ago[BUGFIX] FAL Indexer follow symlinks now 70/36470/2
Roman Schuermann [Fri, 30 Jan 2015 14:14:37 +0000 (15:14 +0100)]
[BUGFIX] FAL Indexer follow symlinks now

Currently the indexing scheduler task from FAL ignores symlinks and all files behind symlinks are not indexed.

Resolves: #60511
Releases: master
Change-Id: If4eb503e96eccebaf39a9f3ba48ffc469e038f4b
Reviewed-on: http://review.typo3.org/36470
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Distributions: Import files before database 66/36466/2
Sascha Egerer [Fri, 21 Nov 2014 08:27:39 +0000 (09:27 +0100)]
[BUGFIX] Distributions: Import files before database

The distribution import does sometimes not import the Assets
(Resources/Files/) of the distribution. This is because the
t3d-file is imported before the files are imported.
That means that the t3d import will create FAL file relations
to files that do not exists. This will end up in an FAL exception.
Files should be imported before the t3d-file is imported.

Resolves: #63121
Releases: master,6.2
Change-Id: Ibb3695b0b92ed2a257380c8684e4451851a2248f
Reviewed-on: http://review.typo3.org/36466
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Always display errors when running the tests 65/36465/2
Oliver Klee [Fri, 30 Jan 2015 18:01:50 +0000 (19:01 +0100)]
[TASK] Always display errors when running the tests

With some default php.ini files (e.g., the file shipped with MAMP PRO),
display_errors is set to "off", and the memory limit is rather low.

As the bootstraps for the unit and functional tests do not read the
current installation's settings, the default values from the php.ini
are used. This can cause the tests to fail at some point due to
insufficient memory, but without any visible messages.

This change makes sure that PHP errors always are output when running
the unit or functional tests using the Core bootstrap files.

Resolves: #64659
Releases: master, 6.2
Change-Id: I28773515b354811a42f0ce262e950603218927b6
Reviewed-on: http://review.typo3.org/36465
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Failing unit test in SqlSchemaMigrationServiceTest 63/36463/2
Nicole Cordes [Fri, 30 Jan 2015 17:46:55 +0000 (18:46 +0100)]
[BUGFIX] Failing unit test in SqlSchemaMigrationServiceTest

Currently the test for handling multiple white spaces within the sql
field definitions fails on Windows systems because of a different key
for the table name within the expected and actual array. This is caused
by a strict lowercase converting in the code for Windows systems. As the
table name is irrelevant for the test itself, this patch simply converts
table name to lower case.

Releases: master, 6.2
Resolves: #64657
Change-Id: I8d083e988b9a7403f0ff514af1ebe54adf065383
Reviewed-on: http://review.typo3.org/36463
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Failing unit tests due to wrong path handling 58/36458/2
Nicole Cordes [Fri, 30 Jan 2015 17:07:21 +0000 (18:07 +0100)]
[BUGFIX] Failing unit tests due to wrong path handling

In some tests of the StandaloneViewTest case the configured expections
aren't met which results in failing tests on Windows systems. The mock
is configured to return values when calling with giving parameter. The
parameter contains the path to a layout root. During runtime the used
paths are converted to unix like paths but the tests are configured to
expect Windows paths (forward slashes vs. backward slashes). This patch
converts paths to unix like paths before the expectations are configured
to not fail on Windows systems.

Releases: master, 6.2
Resolves: #64656
Change-Id: Ie362cc4e2efa41b6cee068e60313c1bfb22340b2
Reviewed-on: http://review.typo3.org/36458
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Followup to remove PHP5.5 only syntax 57/36457/3
Anja Leichsenring [Fri, 30 Jan 2015 17:25:15 +0000 (18:25 +0100)]
[BUGFIX] Followup to remove PHP5.5 only syntax

Patch #36454 introduced by accident a ::class call, which will
break in PHP versions < 5.5

Change-Id: I0ce3b813fc8a176a9ce9e993474f2668bf2cab01
Resolves: #62829
Releases: 6.2
Reviewed-on: http://review.typo3.org/36457
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[BUGFIX] Proper error handling of ResourceDoesNotExistException 20/36420/2
ruud [Thu, 29 Jan 2015 17:44:19 +0000 (18:44 +0100)]
[BUGFIX] Proper error handling of ResourceDoesNotExistException

Handles and displaying a proper error message when
ResourceDoesNotExistException is thrown.

Resolves: #56997
Releases: master, 6.2
Change-Id: I193f9eac929f856d2d195307110d2c18122c8bb9
Reviewed-on: http://review.typo3.org/36420
Reviewed-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Tested-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[BUGFIX] Wrong generation of metadata in FAL 54/36454/2
Frederic Gaus [Tue, 11 Nov 2014 18:35:36 +0000 (19:35 +0100)]
[BUGFIX] Wrong generation of metadata in FAL

This patch fixes the generation of metadata if the metadata
of a file is missing in sys_file_metadata. Without this patch
the metadata is generated without taking care of images and their
width and height. As a result, images are generated with
width=0 height=0. See bugreport for details.

The change also introduces the basic structure to fetch
general info of files via the SplFileInfo objects API.

Resolves: #62829
Releases: master, 6.2
Change-Id: Ie99fc74f3439cef5dbd3702e57596b37390da679
Reviewed-on: http://review.typo3.org/36454
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[TASK] Change visibility of suhosin specific checks in SystemEnvironment 53/36453/2
Göran Bodenschatz [Fri, 30 Jan 2015 15:52:52 +0000 (16:52 +0100)]
[TASK] Change visibility of suhosin specific checks in SystemEnvironment

As the PHP extension suhosin is currently not distributed in a larger
manner (e. g. Debian dropped support), the checks for load status and
suhosin specific parameters in Install Tool are only displayed if the
extension is available and loaded.

Resolves: #64647
Releases: master, 6.2
Change-Id: Iac2e984031c84f28f2d41fb6cf69ffbe1d5f6045
Reviewed-on: http://review.typo3.org/36453
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Failing unit test in Dbal\DatabaseConnectionTest 52/36452/2
Nicole Cordes [Fri, 30 Jan 2015 16:15:15 +0000 (17:15 +0100)]
[BUGFIX] Failing unit test in Dbal\DatabaseConnectionTest

There is one test to be sure 64bit integer values are stored correctly
in the database. This test obviously has to fail on 32bit systems as
they can't handle 64bit values. The patch disables the test for
unsupported systems.

Releases: master, 6.2
Resolves: #64651
Change-Id: I4f1047c19f4ba79df79ffdc92e38fb4f151d0add
Reviewed-on: http://review.typo3.org/36452
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Display correct list of file ids in BE module list 45/36445/2
alinafleser [Thu, 29 Jan 2015 19:42:23 +0000 (21:42 +0200)]
[BUGFIX] Display correct list of file ids in BE module list

TYPO3\CMS\Backend\Utility\BackendUtility::getProcessedValue is now
considering foreign_match_fields when processing IRRE fields

Resolves: #62755
Releases: master, 6.2
Change-Id: I45c742bca0b3a2822411f5693d8b9129bb101b24
Reviewed-on: http://review.typo3.org/36445
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[BUGFIX] Failling unit test in GeneralUtilityTest for Windows system 42/36442/2
Nicole Cordes [Fri, 30 Jan 2015 15:13:20 +0000 (16:13 +0100)]
[BUGFIX] Failling unit test in GeneralUtilityTest for Windows system

In GeneralUtilityTest a test for the TYPO3_SITE_PATH parses the result
for a starting slash. This test fails on Windows system as the don't
provide slashes but drive letters. This patch skips the test on Windows
systems and provides a new test to check for absolute paths with drive
letters.

Releases: master, 6.2
Resolves: #64644
Change-Id: I87bb9c7df7debd6e5d44602330587eff3c1cf4fd
Reviewed-on: http://review.typo3.org/36442
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Fix handling of TCA allowed flag in ElementBrowser 39/36439/2
Sascha Egerer [Thu, 29 Jan 2015 23:23:19 +0000 (00:23 +0100)]
[BUGFIX] Fix handling of TCA allowed flag in ElementBrowser

If the 'allowed' flag in the element browser contains a '*', which
means any type of file, no file is displayed. This is because a filter
is added that only files are displayed that have a '*' as file ext.

The filter should not be added if the allowed value is '*' or empty.

Change-Id: I63016050a80c4f9d9bc0a4cd7c0dc7523ad9f58f
Resolves: #54504
Documentation: #64609
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36439
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[BUGFIX] Pid property not set after insert 23/36423/2
Mathias Brodala [Mon, 15 Dec 2014 11:13:25 +0000 (12:13 +0100)]
[BUGFIX] Pid property not set after insert

After adding and persisting a new object, its uid property is set,
the same should happen for its pid property. This way the caller
can get to know where the object ended up being stored.

Resolves: #60544
Releases: master, 6.2
Change-Id: Ibd11918c06b52deac69a8c3b83c454e3f24462a8
Reviewed-on: http://review.typo3.org/36423
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Remove only 'CType' keys from wizard 21/36421/3
Göran Bodenschatz [Fri, 30 Jan 2015 13:00:58 +0000 (14:00 +0100)]
[BUGFIX] Remove only 'CType' keys from wizard

Check for key name of 'CType' before removing the content
element from new content wizard.

This is a regression from #23864 where a hardcoded
CType column check was removed that is actually required
in this case.

Resolves: #61114
Related: #23864
Releases: master, 6.2
Change-Id: Ib65410dee4f7328a3b8bbceaa21c8367843905f3
Reviewed-on: http://review.typo3.org/36421
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Ensure salted passwords are written to DB 09/36409/2
Markus Klein [Sun, 21 Dec 2014 13:43:45 +0000 (14:43 +0100)]
[BUGFIX] Ensure salted passwords are written to DB

Ensure that salted passwords are written to DB also when importing
data from t3d files.

Resolves: #61506
Releases: master, 6.2
Change-Id: Ia3ec443def54dcc98d12784da17e7abb6243c8f9
Reviewed-on: http://review.typo3.org/36409
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Fix import for fields of type input with link wizard 84/36384/2
Marc Bastian Heinrichs [Fri, 16 May 2014 10:41:06 +0000 (12:41 +0200)]
[BUGFIX] Fix import for fields of type input with link wizard

Fields of type import and link wizard could also contain a path to
a local file in addition to a direct file reference (file:42). The
refindex correctly analyse this relation and saves a db relation to
the uid of the sys_file records.

On imports this is not correct resolved back, but a value
"sys_file_{uid}" is saved.

In addition this patch fixes also a redundant inclusion of files
stored in fileadmin for such a field type, because of having a
sys_file db relation and a softreference.

Change-Id: I1399006b44f6a9365a92e42911cc3daaa8a81d89
Resolves: #58843
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36384
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[FEATURE] Increase Install Tool font-size to 75% 83/36383/2
Mathias Schreiber [Mon, 19 Jan 2015 23:13:39 +0000 (00:13 +0100)]
[FEATURE] Increase Install Tool font-size to 75%

Since the font-size of the backend is bigger, the Install Tools font-
size is now bigger too.

Resolves: #64366
Releases: master, 6.2
Change-Id: If659e61a51a22d9a1ee64ea06c149958e15ef952
Reviewed-on: http://review.typo3.org/36129
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
(cherry picked from commit fd8d149c064c1bfae3c77e40a77d8fbd06f96d78)
Reviewed-on: http://review.typo3.org/36383

4 years ago[BUGFIX] Change highlight color on folder change 74/36374/2
Benjamin Mack [Thu, 29 Jan 2015 09:46:44 +0000 (10:46 +0100)]
[BUGFIX] Change highlight color on folder change

Clicking on folder in filelist results in JS error.

When using the filelist main frame
for navigation through the folder structure
there is still some leftover from the old
code, which changes the highlighted
item when clicking on a folder.

The patch solves the issue by properly
addressing the navigation frame and
the JS method.

This part is actually a leftover from pre-4.2
code which was not changed by me in 4.2
with the introduction of the AJAX-based
folder tree with prototype.js.

Resolves: #64572
Releases: master, 6.2
Change-Id: Iff7c7aff07454e428fe78194532ba95df2bd25d0
Reviewed-on: http://review.typo3.org/36342
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
(cherry picked from commit 68e1fdc7c54c7ba426e04b4f19a28c9b89196a93)
Reviewed-on: http://review.typo3.org/36374

4 years ago[BUGFIX] Improve file handling on Windows systems 72/36372/2
Nicole Cordes [Thu, 29 Jan 2015 14:26:43 +0000 (15:26 +0100)]
[BUGFIX] Improve file handling on Windows systems

Calling unlink() on a symlink that points to a directory
fails on Windows. Solution is to use rmdir() instead to
remove the symlink.
Furthermore it fixes a wrong usage of DIRECTORY_SEPARATOR
within the FileHandlingUtility.

Releases: master, 6.2
Resolves: #64409
Change-Id: Idc6ff3eb1214ed8f5cb0f69f15a2d5a6a3dcfafe
Reviewed-on: http://review.typo3.org/36372
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Update TYPO3 copyright in all branches 66/36366/2
Benjamin Mack [Thu, 29 Jan 2015 15:41:23 +0000 (16:41 +0100)]
[TASK] Update TYPO3 copyright in all branches

The copyright notice (e.g. shown in the footer
of Backend Login) should be updated to 2015.

Resolves: #64597
Releases: master, 6.2, 4.5
Change-Id: I84bfe7eb53acb8896c45fc0788f53da4edadbdf8
Reviewed-on: http://review.typo3.org/36366
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] RTE: itemscope, itemtype, itemprop not working in span tag 57/36357/2
Stanislas Rolland [Thu, 6 Nov 2014 23:14:06 +0000 (18:14 -0500)]
[BUGFIX] RTE: itemscope, itemtype, itemprop not working in span tag

Default PageTsConfig is incorrect when features using the style
attribute are enabled. Hardcoded list of attributes allowed on span tag
in RTE parser misses those attributes.

Releases: master, 6.2
Resolves: #61805
Change-Id: I0fb57aaaa76e595b2f9bf24df3942d826acd3c27
Reviewed-on: http://review.typo3.org/33207
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-on: http://review.typo3.org/36357
Reviewed-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] TYPO3 and RTE Link wizard with white space above tabs 52/36352/2
Benjamin Mack [Thu, 29 Jan 2015 13:34:20 +0000 (14:34 +0100)]
[BUGFIX] TYPO3 and RTE Link wizard with white space above tabs

Problem: In Internet Explorer and Google Chrome, white space appears
above tabs in the TYPO3 Link wizard and in the RTE Link and Image
dialogues.
Solution: Replace top margin of tab menu with padding in container.

Resolves: #55782
Releases: master, 6.2
Change-Id: I6817b83999115f2037b42bf398fdaa53af96c4dc
Reviewed-on: http://review.typo3.org/36352
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Use getForLocalProcessing() for FAL images in GIFBUILDER 40/36340/2
Torben Hansen [Thu, 22 Jan 2015 19:03:01 +0000 (20:03 +0100)]
[BUGFIX] Use getForLocalProcessing() for FAL images in GIFBUILDER

GIFBUILDER must use getForLocalProcessing() for FAL images, so
image processing is possible for files containing special
chars (e.g. umlauts) when using an UTF-8 filesystem.

Resolves: #64224
Releases: master, 6.2
Change-Id: Ib3b372ceea1afa839787c61a3f118b3f62f05dcc
Reviewed-on: http://review.typo3.org/36180
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
(cherry picked from commit fd232edeab2c72a7bac582b454b8db6b788f017c)
Reviewed-on: http://review.typo3.org/36340

4 years ago[BUGFIX] Fix class cache corruption in chroot environment 01/36301/2
Martin Helmich [Mon, 26 Jan 2015 13:30:29 +0000 (14:30 +0100)]
[BUGFIX] Fix class cache corruption in chroot environment

This commit fixes an issue that occurs in the rare edge case when the
TYPO3 cli dispatcher is called in a chroot environment and the site
is delivered via a non-chrooted web server.

In this case, all classes in the class cache will be stored with
`PATH_typo3` as base path, except the `TYPO3\Flow` classes in the
"core" extension. These are based on the __DIR__ constant, which
according to [1] resolves symlinks that generate directory paths that
are invalid outside of the chroot environment.

[1] http://php.net/manual/en/language.constants.predefined.php

Change-Id: I34a15c7a9913afc11cdd1d179a14331b157cbd29
Releases: 6.2
Fixes: #64508
Reviewed-on: http://review.typo3.org/36301
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Call LOCALISATION_OBJECT_NAME 'static'ally 15/36315/2
Andreas Fernandez [Mon, 26 Jan 2015 15:00:21 +0000 (16:00 +0100)]
[BUGFIX] Call LOCALISATION_OBJECT_NAME 'static'ally

Use static:: instead of self:: to call the constant
LOCALISATION_OBJECT_NAME.

Resolves: #64506
Releases: master, 6.2
Change-Id: I855dd65c2ca9ca47003d5dc0816f96a89512bc62
Reviewed-on: http://review.typo3.org/36315
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Restore SelectElement.php 73/36273/2
Mathias Schreiber [Mon, 26 Jan 2015 14:00:40 +0000 (15:00 +0100)]
[BUGFIX] Restore SelectElement.php

While backporting https://review.typo3.org/#/c/33328/ SelectElement.php
got deleted by error.

Resolves: #64507
Releases: 6.2
Change-Id: I8c5040fd6d935dc0086b39475dc746394a00c09e
Reviewed-on: http://review.typo3.org/36273
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>