Packages/TYPO3.CMS.git
5 years ago[TASK] Remove legacy script alt_shortcut.php 25/27225/2
Helmut Hummel [Sat, 1 Feb 2014 10:47:52 +0000 (11:47 +0100)]
[TASK] Remove legacy script alt_shortcut.php

Since the backend restructuring for TYPO3 4.2
the alt_shortcut.php file is not used any more.

We can now safely remove it.

Resolves: #55546
Releases: 6.2
Change-Id: I0ee0108c6238a28ad7b2ad0597f421a30eaf118c
Reviewed-on: https://review.typo3.org/27225
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] IRRE drag and drop sorting now solved using jQuery UI 64/27164/10
Daniel Siepmann [Thu, 30 Jan 2014 16:59:50 +0000 (17:59 +0100)]
[TASK] IRRE drag and drop sorting now solved using jQuery UI

This also fixes “IRRE - drag and drop sorting of items
not possible in Internet Explorer”.

* Added jQuery-ui and jQuery to requirejs.
* Reworked the IRRE-Header HTML and CSS.
* Sortable is done by jQuery-Ui.

Resolves: #51768
Releases: 6.2
Change-Id: Idd121617f2cd5215604747cd0f18285a73dfed49
Reviewed-on: https://review.typo3.org/27164
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Remove fallback for not-indexed files 93/27193/4
Steffen Ritter [Fri, 31 Jan 2014 14:00:30 +0000 (15:00 +0100)]
[TASK] Remove fallback for not-indexed files

Due to all the refactorings all file-objects are created centralized.
In addition it is not possible anymore to create a file object without
an existing index record. Therefore all the fallback-logic for lazy
loading the index record can be removed from the file object.

In addition the unit tests for these parts of the file object have been
removed, too.

Releases: 6.2
Resolves: #53691
Change-Id: I0a01c12e2caaf8554a5b606b7a85d50b44e0e97c
Reviewed-on: https://review.typo3.org/27193
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Add simple functional tests for import/export 07/26907/8
Marc Bastian Heinrichs [Fri, 17 Jan 2014 17:39:42 +0000 (18:39 +0100)]
[TASK] Add simple functional tests for import/export

This patch adds some tests for a simple import and export
scenario for pages and a tt_content element.

Resolves: #55100
Releases: 6.2
Change-Id: Ia4b9a8990c7b757d25f18500def6ddd060426c2f
Reviewed-on: https://review.typo3.org/26907
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Locker throws exception if semaphore can not be acquired 54/23854/6
Markus Klein [Mon, 16 Sep 2013 15:59:10 +0000 (17:59 +0200)]
[BUGFIX] Locker throws exception if semaphore can not be acquired

Locker has wrong LockState in semaphore mode, if the lock
could not be acquired.

Resolves: #52048
Releases: 6.2, 6.1, 6.0
Change-Id: Ifdc2f5d9b2a3c35a0ebef54817a56344f27ab15d
Reviewed-on: https://review.typo3.org/23854
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Remove relation to old em in impexp 00/27100/2
Marc Bastian Heinrichs [Tue, 28 Jan 2014 17:07:47 +0000 (18:07 +0100)]
[BUGFIX] Remove relation to old em in impexp

If a import file has extension dependencies the user was
redirected to the old em with CMD requestInstallExtensions.
Since the new extensionmanager hasn't this functionality,
remove this magic and show the message only.

Resolves: #43709
Releases: 6.2, 6.1, 6.0
Change-Id: I161d4a24135f0d011177f2d4006e4713c71a8fcb
Reviewed-on: https://review.typo3.org/27100
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Multiple file upload in ElementBrowser doesn't work 82/27182/4
Frans Saris [Fri, 31 Jan 2014 09:51:54 +0000 (10:51 +0100)]
[BUGFIX] Multiple file upload in ElementBrowser doesn't work

The file input fields in the ElementBrowser have the attribute
multiple so you can select multiple files. But as the name
is no array it only uploads 1 file.

This patch changes the name attribute of the file input fields
to an array and shows the flashmessages when an error occurred
during upload.

Resolves: #55497
Releases: 6.2
Change-Id: I1315e35e2ef4cfa8175f962c42f32a5a33ffc16e
Reviewed-on: https://review.typo3.org/27182
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Fix test loadValuesSetsStaticEnumConstants 20/27020/3
Markus Klein [Thu, 23 Jan 2014 10:49:38 +0000 (11:49 +0100)]
[BUGFIX] Fix test loadValuesSetsStaticEnumConstants

If you run the test from the BE module of PHPUnit together with
all/other tests it fails. This is due to the fact that the
tests checks more than it actually should.

In particular the static $enumConstants array may already contain
information from other classes, therefore the test only has to
check for existane of information for the tested class.

The patch also corrects the missing \ in the namespace part
between Type and Fixture.

Releases: 6.2
Resolves: #55270
Change-Id: I1ea6546af8013f6c9075525c5bc6f3df579ccfcc
Reviewed-on: https://review.typo3.org/27020
Reviewed-by: Stefano Kowalke
Tested-by: Stefano Kowalke
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] ClassLoader not working with NullBackend for legacy classes 18/27218/2
Daniel Siepmann [Fri, 31 Jan 2014 20:14:54 +0000 (21:14 +0100)]
[BUGFIX] ClassLoader not working with NullBackend for legacy classes

Removed unused line that creates a fatal error.
Implemented eval in case NullBackend is set for “cache_core”
and no alias mapping is included.

Resolves: #55517
Releases: 6.2
Change-Id: Ie1d58985496c4561d8b20fedbd030ad98760becd
Reviewed-on: https://review.typo3.org/27218
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Extbase container injection test triggers PHP bug 19/27219/2
Christian Kuhn [Fri, 31 Jan 2014 20:27:08 +0000 (21:27 +0100)]
[BUGFIX] Extbase container injection test triggers PHP bug

PHP's reflection behaves differently in an edge case used in
extbase constructor injection.
The patch removes the specific check from tests and adds
documentation of this case.

Change-Id: I8ff5ce0d87a28f93ae6be0fd5778289cc9cab7aa
Resolves: #55538
Related: #52349
Releases: 6.2
Reviewed-on: https://review.typo3.org/27219
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Followup to #54131 16/27216/2
Frans Saris [Fri, 31 Jan 2014 19:43:48 +0000 (20:43 +0100)]
[BUGFIX] Followup to #54131

added unit tests.

This change adds the mocking to the new tests.

Resolves: #54131
Releases: 6.1, 6.2
Change-Id: I09abbcea6a2c6310b7a04774808aa92ab8ad1c86
Reviewed-on: https://review.typo3.org/27216
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Followup to #51528 15/27215/3
Frans Saris [Fri, 31 Jan 2014 19:30:18 +0000 (20:30 +0100)]
[BUGFIX] Followup to #51528

Because of some missing mocking there are
several DB error messages when running the FileTest

This adds the missing mocking of the MetaDataRepository.

Releases: 6.2
Resolves: #51528
Change-Id: I02ccb45d315b3eee045efda96c947fb67fd71d20
Reviewed-on: https://review.typo3.org/27215
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Improve usability of Filelist "Drag-Upload" 64/27064/7
Frans Saris [Sun, 26 Jan 2014 21:00:39 +0000 (22:00 +0100)]
[TASK] Improve usability of Filelist "Drag-Upload"

We now can drag & drop files in the file list to upload.
But it looks ugly and has some issues.

This change adds a progress overview as provided by the
UX team and improves the usability.
The progress is shown for files added by drag & drop but
also when you use the file picker.

We switched to the jQuery ajax function as this has
a generic event and response handler.

Resolves: #51361, #53829
Release: 6.2
Change-Id: Ifd7b189f84594149b9590bbd4058ad68e4439344
Reviewed-on: https://review.typo3.org/27064
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Remove padding for selects 90/27190/4
Stephan Großberndt [Fri, 31 Jan 2014 13:05:11 +0000 (14:05 +0100)]
[BUGFIX] Remove padding for selects

Task #55319 introduced a padding for selects,
which looks ugly in Internet Explorer and Firefox.

Resolves: #55510
Related: #55319
Releases: 6.2
Change-Id: I324c5feae256e4b8329b69493dd4f8b9215cab13
Reviewed-on: https://review.typo3.org/27190
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Marcel Wieser
Tested-by: Marcel Wieser
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] FAL: Followup to New dump file to browser 17/27217/2
Benjamin Mack [Fri, 31 Jan 2014 20:05:40 +0000 (21:05 +0100)]
[BUGFIX] FAL: Followup to New dump file to browser

Cache control headers need to be sent for IE8 and
HTTPS combination. See #16491 for more details.

Resolves: #52589
Releases: 6.2
Change-Id: I746820dbbb8ca40a9db7e474ac9aaa7ee3d2fb33
Reviewed-on: https://review.typo3.org/27217
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] tt_content.shortcut depends on layout 11/27211/2
Tom Ruether [Fri, 31 Jan 2014 17:14:41 +0000 (18:14 +0100)]
[TASK] tt_content.shortcut depends on layout

CSS Styled Content delivers its TypoScript
and got a cleanup in 4.6 due to removal
of old plugins.
However, the replacement (in the default
TS from 4.6 to 6.2) has superfluous code
and is not backwards-compatible if the
layout field is used differently or not used
at all (e.g. NULL value instead of 0) for
installations that have been upgraded
since 4.0.

The patch simplifies and unifies
the default TypoScript for
tt_content.shortcut.

Releases: 6.2
Change-Id: I3ed49e265329155af683a993476ffbb13226462c
Reviewed-on: https://review.typo3.org/27211
Reviewed-by: Sebastian Dudda
Tested-by: Sebastian Dudda
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Fix typo in typo3/sysext/core/ext_tables.sql 13/27213/3
Anja Leichsenring [Fri, 31 Jan 2014 18:42:37 +0000 (19:42 +0100)]
[BUGFIX] Fix typo in typo3/sysext/core/ext_tables.sql

The key should be named determineSiteRoot instead of determainSiteRoot.

Change-Id: Ia78832920ad73b76d712041e7546c578a6c4d50f
Resolves: #55534
Relates: #55180
Releases: 6.2
Reviewed-on: https://review.typo3.org/27213
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] getLabelsFromItemsList() retuns no value when no item found 66/25866/6
Frans Saris [Mon, 2 Dec 2013 09:43:30 +0000 (10:43 +0100)]
[BUGFIX] getLabelsFromItemsList() retuns no value when no item found

BackendUtility::getLabelsFromItemsList() does not take
itemsProcFunc into account. This means no value is
returned when there is no matching item found.

With this change the plain db value is returned
when no matching item is found.

Resolves: #54131
Releases: 6.2, 6.1
Change-Id: Ieb04394fa104627b765f6bc05d0d5886f29099c9
Reviewed-on: https://review.typo3.org/25866
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
5 years ago[BUGFIX] Add index to table pages 54/27154/4
Ingo Schmitt [Thu, 30 Jan 2014 14:47:12 +0000 (15:47 +0100)]
[BUGFIX] Add index to table pages

To detects the siteroot by querying the pages table with the
columns deleted, hidden, is_siteroot. This patch introduces
a combined index on those colums

Resolves: #55180
Releases: 6.2
Change-Id: Icae63670419cf9bc0029e2aa570cdf0108b9d62a
Reviewed-on: https://review.typo3.org/27154
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Marcin Sągol
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Make use of .t3-table in ShowItem (i) window 71/27171/2
Felix Kopp [Thu, 30 Jan 2014 21:13:26 +0000 (22:13 +0100)]
[TASK] Make use of .t3-table in ShowItem (i) window

Also remove one unused css style.

Change-Id: I4a8ccf3861d3e49b4fdab7d542fe2024c5f02f93
Resolves: #55482
Releases: 6.2
Reviewed-on: https://review.typo3.org/27171
Reviewed-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Skip GeneralUtility::resolveBackPath() if its not necessary 97/27197/3
Andreas Wolf [Fri, 31 Jan 2014 14:33:11 +0000 (15:33 +0100)]
[TASK] Skip GeneralUtility::resolveBackPath() if its not necessary

resolveBackPath() is run a couple hundred times per script run,
especially in the backend. As this method is only really necessary in a
few special cases (when a path really contains "../"), we can skip it
for all other paths with an early return.

The check is really weak (it will not skip the call for things like
"/some/dir..with..dots..inbetween/"), but this is ok because we just use
it to skip all *really* obvious cases while at best not missing *any*
legitimate use-case, which should be achieved with this commit.

Change-Id: I4e7fbd2076323e682fcf66bc57605f817cd3e03c
Resolves: #55519
Releases: 6.2
Reviewed-on: https://review.typo3.org/27197
Reviewed-by: Jan Helke
Tested-by: Jan Helke
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] quoteJSvalue double encodes forward slash 83/27183/5
Michiel Roos [Fri, 31 Jan 2014 09:56:16 +0000 (10:56 +0100)]
[BUGFIX] quoteJSvalue double encodes forward slash

The new JavaScript encoder using json_encode also encodes the forward
slash to unicode: \u00F2.

This creates problems, since json_encode already 'escapes' the forward
slash with a backslash.

This patch removes the ecoding of the forward slash from quoteJSvalue

Unit tests have been adjusted to match the output of json_encode:
* forward slash is escaped with a backslash

Change-Id: Ibc19f69c0b68f5bbfa67a39750884dcc030f38cb
Resolves: #55499
Releases: 6.2
Reviewed-on: https://review.typo3.org/27183
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Tested-by: Daniel Siepmann
Reviewed-by: Frans Saris
Tested-by: Frans Saris
5 years ago[BUGFIX] Make text of extjs buttons and IE<10 pagetree labels visible 66/27166/2
Stephan Großberndt [Thu, 30 Jan 2014 18:59:55 +0000 (19:59 +0100)]
[BUGFIX] Make text of extjs buttons and IE<10 pagetree labels visible

The task #52497 introduced a regression. The font-size set in body is
overridden in ext-all-notheme.css with font-size: 0px and thus needs to
be reset again in xtheme-t3skin.css.

Resolves: #55263
Related: #52497
Releases: 6.2
Change-Id: Id17d2ac9d6482c8cc54f4f5a92b3b3ef01f39d2b
Reviewed-on: https://review.typo3.org/27166
Reviewed-by: Wouter Wolters
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Do not show exeption when folder is not accesible 89/27189/6
Ingo Schmitt [Fri, 31 Jan 2014 12:55:45 +0000 (13:55 +0100)]
[BUGFIX] Do not show exeption when folder is not accesible

When a storage folder is not accessible for the user a exception
is displayed. Same if the folder is missing.

This patch changes the exception to
\TYPO3\CMS\Core\Resource\Exception.

The user will get a flash message and FAL tries to display the
parent folder of the restricted folder. If the folder is
missing the parent folder is displayed.

Resolves: #51762, #51319
Releases: 6.2
Change-Id: I1fb930f8c13049eeddb27521326f1d0fc8707933
Reviewed-on: https://review.typo3.org/27189
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Ajax handler TYPO3_tcefile::process is broken 80/27080/7
Frans Saris [Mon, 27 Jan 2014 20:47:41 +0000 (21:47 +0100)]
[BUGFIX] Ajax handler TYPO3_tcefile::process is broken

Several changes in core broke the ajax upload handler response.
There is no error response and it tries to json_encode complete
File objects.

This changes reverts some of the "cleanup" changes fixes the
response and makes sure only the error message from current
request are used.

Resolves: #55371
Releases: 6.2, 6.1
Change-Id: Ia09f5ffd5e002b1ba50d4fafa747340462d15148
Reviewed-on: https://review.typo3.org/27080
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Optimize retrieval of Storages 25/27025/6
Steffen Ritter [Thu, 23 Jan 2014 14:59:10 +0000 (15:59 +0100)]
[TASK] Optimize retrieval of Storages

Analysing the SQL logs shows that there are very much queries to the
sys_file_storage even though the information is quite static. Since
there in general there are not much storages - in most cases it only
will be fileadmin/.

This change will get all storage records from database with one call
and cache this in a runtime cache. Afterwards all requests are resolved
by the static member variable of the StorageRepository. If no storage
is present the default storage is created

Resolves: #55186
Releases: 6.2
Change-Id: I066b57215ba39f7cad608cfe5e83a0f3508b2c62
Reviewed-on: https://review.typo3.org/27025
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Sebastian Fischer
Tested-by: Sebastian Fischer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Prevent permission Exception in ElementBrowser 45/27145/3
Alexander Stehlik [Thu, 30 Jan 2014 12:02:38 +0000 (13:02 +0100)]
[BUGFIX] Prevent permission Exception in ElementBrowser

To prevent Exceptions in the ElementBrowser resource Exceptions are
catched in two places:

The Exception is catched in the ElementBrowser itsself when the
previously selected folder is not accessible.

Additionally the Exception is cached in the getDefaultUploadFolder()
method in BackendUserAuthentication when the default folder of a
storage is not accessible.

Resolves: #55439
Releases: 6.2
Change-Id: I64848c3a88cc2cc571c0bf692101647b95666972
Reviewed-on: https://review.typo3.org/27145
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Frans Saris
Tested-by: Frans Saris
5 years ago[BUGFIX] Allow access to filemount directories 20/27120/8
Alexander Stehlik [Thu, 30 Jan 2014 15:08:38 +0000 (16:08 +0100)]
[BUGFIX] Allow access to filemount directories

Currently a backend user can only access files within filemounts
but not the filemount directory itself.

After that fix LocalDriver::isWithin returns true, if the folder
itself is requested.

Resolves: #55416
Releases: 6.2
Change-Id: I455664359ec620c413bfc01787bda8766462fbab
Reviewed-on: https://review.typo3.org/27120
Reviewed-by: Ingo Schmitt
Tested-by: Ingo Schmitt
Reviewed-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Filelist translations does not consider BE user access rights 31/26831/6
Benjamin Mack [Wed, 15 Jan 2014 11:21:14 +0000 (12:21 +0100)]
[BUGFIX] Filelist translations does not consider BE user access rights

If a BE editor has only access to sys_language uid 2 and 3
but not 1, it is not respected in the file list module,
as the BE user can see all flags.

The attached patch filters all inaccessible translation records.

Resolves: #55012
Releases: 6.2
Change-Id: Ib5f5be40fdd09504dd08f005eb73b2fa926703cd
Reviewed-on: https://review.typo3.org/26831
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[CLEANUP] Remove old tt_content DB fields 68/27168/2
Benjamin Mack [Thu, 30 Jan 2014 19:06:29 +0000 (20:06 +0100)]
[CLEANUP] Remove old tt_content DB fields

With TYPO3 4.0 and the new CSS styled content
and the new RTE HTMLArea, some fields were still
included in the core, but disabled by default as
soon as CSS Styled Content was installed. If not
specifically activated, the fields were disabled
in the last 10 versions and are never rendered
anymore by default via CSS Styled Content.

The DB fields are:
  * text_align
  * text_face
  * text_size
  * text_color
  * text_properties

As they are not in use at all (since a long time)
the patch removes any info about these fields
without further notice or any upgrade wizard.

If somebody needs the fields, he/she needs
to create an own extension with the fields.

Releases: 6.2
Resolves: #55479
Change-Id: I77655cec0a27903a0a1df017808f9603564ef739
Reviewed-on: https://review.typo3.org/27168
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Reviewed-by: Marcin Sągol
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] HR - single horizontal rule (CSS) 75/27175/2
Felix Kopp [Thu, 30 Jan 2014 23:06:22 +0000 (00:06 +0100)]
[TASK] HR - single horizontal rule (CSS)

Make HR a single line instead of two lines.

Change-Id: I433d025eb91afc2fd35e794089f330e77d42a966
Resolves: #55486
Releases: 6.2
Reviewed-on: https://review.typo3.org/27175
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Use short version ?: in ternary operator (PHP 5.3+) 07/19007/10
Stefan Neufeind [Thu, 19 Dec 2013 23:47:35 +0000 (00:47 +0100)]
[TASK] Use short version ?: in ternary operator (PHP 5.3+)

Shorten some constructs, make them easier to read
and less error-prone.

Resolves: #46400
Releases: 6.2
Change-Id: I7b0126ccfeaefdfdb89321d7287c6347d8aee050
Reviewed-on: https://review.typo3.org/19007
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Create history record only with valid log uid 62/27162/3
Marc Bastian Heinrichs [Thu, 30 Jan 2014 17:33:51 +0000 (18:33 +0100)]
[BUGFIX] Create history record only with valid log uid

To prevent a sql error the insert query for creating sys_history
records in Datahandler must only be executed, if argument
$logId is a valid uid. This could happen, if logging in
Datahandler is disabled.

Resolves: #55472
Releases: 6.2
Change-Id: Idacced5cb0af24a6c9f34165a8d0598ae9c91998
Reviewed-on: https://review.typo3.org/27162
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Followup to #54226 70/27170/2
Benjamin Mack [Thu, 30 Jan 2014 20:35:41 +0000 (21:35 +0100)]
[BUGFIX] Followup to #54226

The fix for issue #54226 introduced a bug
with FileReferences as it did not implement the
change of the interface.

Resolves: #54226
Releases: 6.2
Change-Id: I9f67f3f23b96569cdfadba1505e4881103a86ccb
Reviewed-on: https://review.typo3.org/27170
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[Bugfix] Add Index on sys_domain 67/27167/2
Ingo Schmitt [Thu, 30 Jan 2014 18:59:54 +0000 (19:59 +0100)]
[Bugfix] Add Index on sys_domain

TYPO3 checks if a redirect is needed for a domain by issuing a
select on sys_domain. In the where clause the columns redirectTo
and hidden are used. These columns have no index, thus the
select is slow.

This patch adds the combined key to the sql definition.

Resolves: #55181
Releases: 6.2
Change-Id: I7d7463e0d3e6abb53c4b0fccf205e4b1eb867878
Reviewed-on: https://review.typo3.org/27167
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] TemplateService: Remove old paths from allowedPaths-list 25/27125/2
Stefan Neufeind [Wed, 29 Jan 2014 13:20:04 +0000 (14:20 +0100)]
[TASK] TemplateService: Remove old paths from allowedPaths-list

We don't have the t3lib-directory anymore.

Change-Id: Icef845e0ae1fc25a51cd01fa2452751d14b362c5
Resolves: #55433
Releases: 6.2
Reviewed-on: https://review.typo3.org/27125
Tested-by: Georg Ringer
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Exception if directories are not readable 05/26905/6
Steffen Ritter [Tue, 21 Jan 2014 09:49:23 +0000 (10:49 +0100)]
[BUGFIX] Exception if directories are not readable

If a user has listing rights on a folder which contains
folders he does not have access to the user currently
will end up with Exceptions in folder trees, file lists
as well as element browsers.

Before FAL these folders just have been shown "locked".

This change introduces an "InaccessibleFolder" object
which will be created by the storage if a Folder is
requested which exists but there is no read access while
the user is allowed to list the contents of the parent
folder.

In addition the components have been adapted to use this
new information for a graceful behaviour.

WIP: Did not adapt the tests yet, since I need to do some
urgent customer work. Feel free to go on with that.

Resolves: #51512, #53854
Releases: 6.2
Change-Id: If5c234fe66d1930e4cc0cb16279d2f77874d82db
Reviewed-on: https://review.typo3.org/26905
Tested-by: Ingo Schmitt
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Ingo Schmitt
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Deleting currently opened folder in filelist results in error 30/27030/3
Steffen Ritter [Thu, 23 Jan 2014 16:24:23 +0000 (17:24 +0100)]
[TASK] Deleting currently opened folder in filelist results in error

When you have a folder opened in the filelist and then delete it
via the folder-tree the file-module shows an error after its reload.

This patch checks for existence of the folder before it is created.
If it is not existent it checks wether the parent folder exists and
is accessible. If, so the parent folder will be shown instead.

If the parent folder is not accessible the usual exception is thrown.

Releases: 6.2
Resolves: #54554
Change-Id: I7a21c76fd476ebce439489040f3b4c6786afd10a
Reviewed-on: https://review.typo3.org/27030
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Marcel Wieser
Tested-by: Marcel Wieser
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Fix fatal when processing folder does not exist 37/27137/4
Helmut Hummel [Wed, 29 Jan 2014 22:19:35 +0000 (23:19 +0100)]
[BUGFIX] Fix fatal when processing folder does not exist

When the processing folder does not exist,
it is created on the fly in ResourceStorage.

However the returned object is at a later point
as string, leading to a fatal error in the end.

Solution is to just store the retuned object directly.

Resolves: #55471
Releases: 6.2
Change-Id: I97b4b5c7992db942812ae033fb963908a4abffde
Reviewed-on: https://review.typo3.org/27137
Reviewed-by: Steffen Ritter
Reviewed-by: Marcin Sągol
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Add API to retrieve the parent folder of a resource 24/26724/7
Steffen Ritter [Thu, 9 Jan 2014 15:52:47 +0000 (16:52 +0100)]
[TASK] Add API to retrieve the parent folder of a resource

Currently if some code needs the parent directory or folder
object of some files or folders it either needs to query the
storage object for the identifier of the parent folder and then
create the folder object manually or needs to fiddle around with
the identifier manually, assuming that all identifiers are a
representation of a hierarchical path as it is for the local
driver.

The latter not only will fail for all storages having non-path
identifiers it is more overhead to create the folder objects
manually anyhow.

This patch adds "getParentFolder" to the ResourceInterface and
implements the method in AbstractFile and Folder as well as it
replaces the manual resolval in the file list module.

Releases: 6.2
Resolves: #54226
Change-Id: I651d62340186dd9ac57277b498f8f98ee160dfd2
Reviewed-on: https://review.typo3.org/26724
Reviewed-by: Alexander Opitz
Reviewed-by: Marcin Sągol
Reviewed-by: Sebastian Fischer
Tested-by: Sebastian Fischer
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[TASK] Add possibility to dump file to browser 35/26835/2
Steffen Ritter [Wed, 15 Jan 2014 13:49:42 +0000 (14:49 +0100)]
[TASK] Add possibility to dump file to browser

The FileAbstractionLayer currently only provides the possibility to
retrieve the contents of a file as a string. If you want to output
a file this would lead to a massive memory overhead for large files
when building some kind of download/jumpurl/access-restricted download
script.

This change adds a method "dumpFileContents" to the ResourceStorage
allowing to directly output the contents of the file including setting
correct headers.

In addition it introduces a new method (same name) in the DriverInterface
and implements it in the LocalDriver.

Resolves: #52589
Releases: 6.2
Change-Id: I050da59b136fafbf3f05ac814bd3f11f20ae2396
Reviewed-on: https://review.typo3.org/26835
Reviewed-by: Frans Saris
Reviewed-by: Philipp Gampe
Reviewed-by: Ingo Schmitt
Reviewed-by: Sebastian Fischer
Tested-by: Sebastian Fischer
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Delete file with missing processed file raises alert 23/27123/4
Fabien Udriot [Wed, 29 Jan 2014 12:00:26 +0000 (16:00 +0400)]
[BUGFIX] Delete file with missing processed file raises alert

When a BE User deletes a file in the file module all file references
as well as processed files are removed, too. If then aprocessed files
is missing for some reason an alert is displayed in the backend module:

Could not delete file "foo.jpg". Write-permission problem?

The patch fixes the situation by adding a check whether before deleting.

Change-Id: I228624a3470340382950d3f54d8b428bfe831715
Releases: 6.2
Resolves: #55428
Reviewed-on: https://review.typo3.org/27123
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years agoRevert "[BUGFIX] Improve confirmation dialog in drag'n'drop fileupload" 58/27158/4
Frans Saris [Thu, 30 Jan 2014 16:05:04 +0000 (17:05 +0100)]
Revert "[BUGFIX] Improve confirmation dialog in drag'n'drop fileupload"

This reverts commit 495afb59adf47818215bb702a71ec5f79dfd4359

The patch is reverted because it does not work when there is paging in
the filelist or a file has no thumb shown.
Further the filename canonicalization done by the storage driver is
not respected when checking the new file name.

Change-Id: I6f4b91bbf28e7b6f0cb8d7bcfb42f0cfb5eeacc6
Reviewed-on: https://review.typo3.org/27158
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Fix remaining calls to FileRepository for retrieving Files 50/26850/3
Steffen Ritter [Wed, 15 Jan 2014 15:31:07 +0000 (16:31 +0100)]
[TASK] Fix remaining calls to FileRepository for retrieving Files

In previous efforts the calls to the FileRepository, when retrieving
File objects have been relocated to the ResourceFactory, since the
coexistence causes problems when it comes to metadata and multiple
instances of the same entity.

As findByUid is defined in the AbstractRepository it was overlooked
until now. This patch overrides the base method, deprecated it and
calls the ResourceFactory, too.
In addition all calls in core are replaced with the direct call.

Resolves: #53690
Releases: 6.2
Change-Id: I89a665211bd7d400f339e27bd2b155958fe5daf1
Reviewed-on: https://review.typo3.org/26850
Reviewed-by: Ingo Schmitt
Tested-by: Ingo Schmitt
Reviewed-by: Frans Saris
Tested-by: Frans Saris
5 years ago[TASK] Priority is not execution order in for Extractors 96/26696/2
Steffen Ritter [Wed, 8 Jan 2014 18:08:02 +0000 (19:08 +0100)]
[TASK] Priority is not execution order in for Extractors

When the meta-data extraction services have been introduced it
silently has been assumed that the defined priority can be
used as execution order. In fact the priority just defines which
data takes precedence of another. In fact you might have an
extraction service which has highest priority for the fields it
serves but on the opposite should run as first, so other
extraction services already can use the data.

This change adds a second "priority" for that purpose and adapts
the indexing process accordingly.

Resolves: #54228
Releases: 6.2
Change-Id: I649fc8b91103ab518e5a692bf73c54851e8b70b1
Reviewed-on: https://review.typo3.org/26696
Reviewed-by: Frans Saris
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Ingo Schmitt
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Adjust css in new content element wizard 55/25655/3
Nicole Cordes [Sat, 23 Nov 2013 02:14:25 +0000 (03:14 +0100)]
[BUGFIX] Adjust css in new content element wizard

The rendering of the plugin menu gets messed up if a plugin hasn't any
description. This patch clears floating for every list item to ensure
it is displayed on the left side.

Resolves: #53895
Releases: 6.2
Change-Id: Ib64b99865fda1359ade4b7c22d160fbfe28350c9
Reviewed-on: https://review.typo3.org/25655
Reviewed-by: Wouter Wolters
Reviewed-by: Marcin Sągol
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Styling fix for Install Tool Lock Screen in Backend Mode 56/27156/3
Stephan Großberndt [Thu, 30 Jan 2014 15:03:27 +0000 (16:03 +0100)]
[BUGFIX] Styling fix for Install Tool Lock Screen in Backend Mode

Resolves: #55464
Releases: 6.2
Change-Id: I1891763db8a8edc5ddb8077a1cc32c8184a7e0c1
Reviewed-on: https://review.typo3.org/27156
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[TASK] Install Tool > All Configuration "Expand All" functionality 47/27147/5
Marcel Wieser [Thu, 30 Jan 2014 12:21:58 +0000 (13:21 +0100)]
[TASK] Install Tool > All Configuration "Expand All" functionality

Adds toggle all functionality.

Resolves: #55453
Releases: 6.2
Change-Id: Ie798e229a8a8751f82ffc6c14d1b1ca0caf949e1
Reviewed-on: https://review.typo3.org/27147
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Remove tca ctrl settings crdate and cruser_id for sys_file 51/27151/2
Marc Bastian Heinrichs [Thu, 30 Jan 2014 14:09:42 +0000 (15:09 +0100)]
[BUGFIX] Remove tca ctrl settings crdate and cruser_id for sys_file

On splitting sys_file table to extract metadata tca ctrl settings
crdate and cruser_id have been left out, but the columns were
removed. This results in a SQL error on creating sys_file records
with the datahandler.

Resolves: #55462
Related: #52726
Releases: 6.2
Change-Id: I9e856f607868c545ee4e1398a5031e47fc8c39fc
Reviewed-on: https://review.typo3.org/27151
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] DocumentTemplate class inserts inDocStyles twice 48/27148/3
Stefan Neufeind [Thu, 30 Jan 2014 13:09:26 +0000 (14:09 +0100)]
[BUGFIX] DocumentTemplate class inserts inDocStyles twice

Change-Id: I252da74973c3dc4157717139c95ad0605e16fce1
Releases: 6.2, 6.1, 4.5
Resolves: #55458
Reviewed-on: https://review.typo3.org/27148
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[TASK] ClickMenu: Set background via CSS instead of JS 92/26092/6
Stefan Neufeind [Sun, 8 Dec 2013 23:47:25 +0000 (00:47 +0100)]
[TASK] ClickMenu: Set background via CSS instead of JS

Move background-style from JS to CSS. Since other skinning-
extensions might override color-settings in TBE_STYLES we need
to generate CSS dynamically and late in the process inside t3skin.

Since backend-CSS is concatenated/compressed this will be included
in the generated merged CSS-file.

Change-Id: Ib04bdf0be172081eb463bdeb9dbd846f7c32cea3
Resolves: #54286
Releases: 6.2
Reviewed-on: https://review.typo3.org/26092
Reviewed-by: Stefan Neufeind
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Make files visible by default 11/27111/3
Fabien Udriot [Wed, 29 Jan 2014 06:09:38 +0000 (10:09 +0400)]
[TASK] Make files visible by default

For FAL, the concept of "hidden" files was introduced with the sysext
"metadata". The field is called "visible", its usage is to be
implemented by the plugin.

The default value for visible is FALSE, making it error-prone for users
uploading new files: They are hidden by default, requiring additional
work by the end-user (or the plugin/backend module doing the work) to
un-hide the files.

This commit changes the default of ``sys_file_metadata:visible`` to
``1``, making *new* files visible by default.

Change-Id: Id760ac92042e3235259ae78509187d3535cc25ca
Releases: 6.2
Resolves: #55410
Reviewed-on: https://review.typo3.org/27111
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
5 years ago[BUGFIX] Content Element Wizard Hook labeled wrongly 46/27146/2
Benjamin Mack [Thu, 30 Jan 2014 12:23:42 +0000 (13:23 +0100)]
[BUGFIX] Content Element Wizard Hook labeled wrongly

The message when having a hook for the wizard items
is still the same, although the interface has been
renamed. So the check is valid, but if the check
fails then the message is misleading.

Releases: 6.2
Resolves: #55455
Change-Id: If1b9e4285c02e8a3ab92eee562b6516f24bae9a8
Reviewed-on: https://review.typo3.org/27146
Reviewed-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Tom Ruether
Tested-by: Tom Ruether
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[TASK] Obsolete code in saltedpasswords 38/27138/2
Christian Kuhn [Wed, 29 Jan 2014 22:15:30 +0000 (23:15 +0100)]
[TASK] Obsolete code in saltedpasswords

tx_saltedpasswords_autoloader was used in old install tool only
and is obsolete now.

Change-Id: If398a197a18bfda20789afd0aa0104fcd8ba5993
Resolves: #55446
Releases: 6.2
Reviewed-on: https://review.typo3.org/27138
Reviewed-by: Thomas Maroschik
Reviewed-by: Marcin Sągol
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[CLEANUP] Cleanup code in ElementBrowser 60/25360/11
Markus Klein [Wed, 13 Nov 2013 02:49:51 +0000 (03:49 +0100)]
[CLEANUP] Cleanup code in ElementBrowser

This patch does not change functionality.
It just fixes formatting issues of the code and
corrects phpdoc.

Resolves: #53580
Releases: 6.2
Change-Id: I39a7ec757e6dfce8282053c3259a84edc2ba5588
Reviewed-on: https://review.typo3.org/25360
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Clean up category references when a file is deleted 24/27124/5
Fabien Udriot [Wed, 29 Jan 2014 12:28:16 +0000 (16:28 +0400)]
[BUGFIX] Clean up category references when a file is deleted

File are categorizable by default as of TYPO3 6.2
When a BE User deletes a file, associated categories
must be removed as well.

Change-Id: I82175bbd207e68590c20de8fd536bab0de001fe3
Releases: 6.2
Resolves: #55430
Reviewed-on: https://review.typo3.org/27124
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
5 years ago[TASK] Missing signals on adding folder 63/26863/2
Frans Saris [Wed, 15 Jan 2014 21:28:58 +0000 (22:28 +0100)]
[TASK] Missing signals on adding folder

There are signals for most filestorage operations performed
in the ResourceStorage, but not for adding a folder.

This patch adds the two missing signals.

Resolves: #54964
Releases: 6.2
Change-Id: Ia7e3970ea278bf5e74856008afe53083e91f0649
Reviewed-on: https://review.typo3.org/26863
Reviewed-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
5 years ago[BUGFIX] No double slash during folder canonicalization 22/27122/4
Alexander Stehlik [Wed, 29 Jan 2014 11:40:28 +0000 (12:40 +0100)]
[BUGFIX] No double slash during folder canonicalization

The canonicalizeAndCheckFolderIdentifier does now check if the given
folder path is just a simple slash (/) and return it before really
canonicalizing the identifier.

This prevents the method returning a double slash (//) which will result
in an error in the isWithin() checkin the local driver.

Resolves: #55420
Releases: 6.2
Change-Id: Ibe189180a459377d042731931066a410e1e5ac51
Reviewed-on: https://review.typo3.org/27122
Reviewed-by: Frans Saris
Tested-by: Frans Saris
5 years ago[BUGFIX] Wrong typehint in TypoScriptFrontendController 41/27141/2
Simon Schaufelberger [Thu, 30 Jan 2014 00:20:33 +0000 (01:20 +0100)]
[BUGFIX] Wrong typehint in TypoScriptFrontendController

The variable $pageCache in TypoScriptFrontendController misses "Core" in
the namespace.

Change-Id: I5f9ee3bf36951194c74627e4e2bc9d17f5c639e5
Fixes: #55448
Reviewed-on: https://review.typo3.org/27141
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Update enableDeprecationLog default value and help text 17/25417/2
Michael Schams [Fri, 15 Nov 2013 02:48:04 +0000 (13:48 +1100)]
[BUGFIX] Update enableDeprecationLog default value and help text

TYPO3's deprecation_log is disabled by default. The Install Tool
shows an incorrect help text for the configuration
$GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'], claiming
that the default value is "file". In addition, enableDeprecationLog
is set to "file", which should be empty.

The patch removes the value of enableDeprecationLog and removes the
statement about the default value: other values in this area do not
state the default value either and since TYPO3 CMS 6.2 LTS, the
default value depends on the Application Context.

Resolves: #53653
Releases: 6.2
Change-Id: I2061a66b03e1c194f86d346e4183e95d3e959922
Reviewed-on: https://review.typo3.org/25417
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Wrong phpdoc in TableGarbageCollectionTask 07/26507/2
Frans Saris [Fri, 20 Dec 2013 07:45:50 +0000 (08:45 +0100)]
[TASK] Wrong phpdoc in TableGarbageCollectionTask

The phpdoc notation of TableGarbageCollectionTask has some
pre namespaces config example.

This patch changes the phpdoc notiation.

Change-Id: Iaa0a70635893091c0ba99ce17404194c47e9a16c
Resolves: #54529
Releases: 6.2
Reviewed-on: https://review.typo3.org/26507
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Installer: Show correct value for boolean options 81/25681/9
Markus Klein [Mon, 13 Jan 2014 20:45:14 +0000 (21:45 +0100)]
[BUGFIX] Installer: Show correct value for boolean options

Resolves: #53963
Releases: 6.2
Change-Id: I0dd51f2d256c153d6b6a1e247d86c69c5cfd7a7b
Reviewed-on: https://review.typo3.org/25681
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] TSFE->altPageTitle can not be set in extensions 85/26785/7
Markus Klein [Mon, 13 Jan 2014 10:03:42 +0000 (11:03 +0100)]
[BUGFIX] TSFE->altPageTitle can not be set in extensions

It is not possible to set $GLOBALS['TSFE']->altPageTitle
in USER_INT extensions anymore to modify the page title.

This has been possible before in the 4.x branches.

Fix this by implementing the title generation like all
other header data.

Resolves: #54467
Releases: 6.2, 6.1
Change-Id: I3d5be34b95cb295b92732d2f2f9bd1f123812365
Reviewed-on: https://review.typo3.org/26785
Reviewed-by: Stefan Neufeind
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Xavier Perseguers
Reviewed-by: Bill Dagou
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Increase title column width in Web List module 07/27107/4
Marcin Sągol [Tue, 28 Jan 2014 21:57:08 +0000 (22:57 +0100)]
[TASK] Increase title column width in Web List module

Each database table has configured title column through
TCA configuration. This values are used by List Module
to render first (title) column on records list table.

Long values are truncated to some predefined number of
characters but since we now use larger font size (12px
instead of 11px), long titles can break to two lines due
to a fixed 300px column size.

This change increases title column width to 350px to
cope with the increased font size.

Resolves: #55406
Releases: 6.2
Change-Id: Ib8277a88bd831a0f0efea40d9500df7df06dc40e
Reviewed-on: https://review.typo3.org/27107
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Set missing markers to empty string 02/27102/2
Bernhard Kraft [Tue, 28 Jan 2014 17:47:13 +0000 (18:47 +0100)]
[BUGFIX] Set missing markers to empty string

Change-Id: I3892f88bdd094b390a22fe94d9b089bd9b8aef71
Resolves: #54112
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/27102
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] ClickMenu does not show destination-foldername 06/27106/2
Stefan Neufeind [Tue, 28 Jan 2014 20:16:36 +0000 (21:16 +0100)]
[BUGFIX] ClickMenu does not show destination-foldername

Change-Id: I623d243ea504b0e646bd969e55ed7686ad3e9caf
Releases: 6.2, 6.1, 6.0
Resolves: #55407
Reviewed-on: https://review.typo3.org/27106
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Display detected fatal in extension check 81/26781/4
Thomas Maroschik [Mon, 13 Jan 2014 11:16:39 +0000 (12:16 +0100)]
[BUGFIX] Display detected fatal in extension check

In the installer fatals can happen during updates of
very outdated extensions. Many updates can lead to a
redirect to the extension check where the user gets
displayed a message that a fatal has been detected.
But the detected fatal error itself is not displayed.

This patch passes the error as url parameter to the
extension check and displays it there.

Fixes: #54943
Releases: 6.2
Change-Id: I111df5d5411015b21c4b2b5e9be3b83b311c8bc5
Reviewed-on: https://review.typo3.org/26781
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Thomas Maroschik
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Markus Klein
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Tame PackageStates.php in functional tests 08/27108/3
Christian Kuhn [Tue, 28 Jan 2014 22:39:06 +0000 (23:39 +0100)]
[BUGFIX] Tame PackageStates.php in functional tests

Functional test bootstrap creates a full new instance
within typo3temp together with an own database. Goal is
a controlled environment without dependencies to the
parent instance.

The patch introduces separation of PackageStates.php. The file
is now compiled based on a static list of active core extensions
and optional additional extensions for specific functional tests.

Change-Id: I39e37a16b5cef5b6b1dab2ce3c4e8efc42cecbe7
Resolves: #55409
Releases: 6.2
Reviewed-on: https://review.typo3.org/27108
Reviewed-by: Thomas Maroschik
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Remove useless count function calls in stdWrap 78/27078/7
Tim Lochmueller [Mon, 27 Jan 2014 19:18:04 +0000 (20:18 +0100)]
[TASK] Remove useless count function calls in stdWrap

Remove two count calls in the often called stdWrap function
to increase the performance. Furthermore remove the
is_callable calls, because the hook interface take care
that the methods exist and are callable.

Resolves: #55372
Releases: 6.2
Change-Id: Ifc8f831a7b101c5c56f717c23024fae7b71b71a9
Reviewed-on: https://review.typo3.org/27078
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Xavier Perseguers
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] Be more expressive in error condition 18/26718/2
Helmut Hummel [Thu, 9 Jan 2014 11:16:46 +0000 (12:16 +0100)]
[TASK] Be more expressive in error condition

If lockSSL is set to 1 and the backend is not
accessed via SSL currently a 404 header is sent
with no message body. The same happens when the
client IP address does not mach the configured
list of allowed addresses.

Give a more useful hint for users in these cases
by throwing an Exception.

Resolves: #51378
Releases: 6.2
Change-Id: Ic76d8415c482e78bdea7e57e1cb5dab21a49969f
Reviewed-on: https://review.typo3.org/26718
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Tested-by: Georg Ringer
Reviewed-by: Oliver Klee
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marcin Sągol
Reviewed-by: Felix Kopp
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Prevent strings from being autoloaded 79/27079/7
Helmut Hummel [Mon, 27 Jan 2014 20:47:14 +0000 (21:47 +0100)]
[BUGFIX] Prevent strings from being autoloaded

The introduction of a TypeConverter for Enumaration
types in #52762 added is_subclass() calls to
getPlainValue() in the DatabaseBackends. These methods
are meant to convert objects to simply types but are
regularly called with simple types, in particular strings.

Since is_subclass() also works with strings,
The class loader is triggered when these methods
are called with a table name like "tx_ext_domain_model_foo".

This triggers an issue #55418 in the class loader especially
on case insensitive filesystems.

Instead of is_subclass we now use instanceof to make sure
we only check for conversion if the value is an object.

Additionally this change fixes a wrong case statement which
also was introduced in #52762

Resolves: #54275
Change-Id: If1b2a28a2623e49dfb47720641935c6f24447c19
Reviewed-on: https://review.typo3.org/27079
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Replace JavaScriptEncoder with json_encode() 45/26545/12
Michiel Roos [Sun, 22 Dec 2013 18:51:21 +0000 (19:51 +0100)]
[TASK] Replace JavaScriptEncoder with json_encode()

The JavaScriptEncoder class is used a lot in the TYPO3 backend. It does
expensive character conversions, character by character.

It would improve performance a lot if we use PHP native json_encode to do
the encoding for us.

Change-Id: I3cb3bd6d887d49565fda496f9b13852cbeb9dfa1
Resolves: #54560
Releases: 6.2
Reviewed-on: https://review.typo3.org/26545
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Unify button styles 48/27048/3
Felix Kopp [Fri, 24 Jan 2014 23:21:17 +0000 (00:21 +0100)]
[TASK] Unify button styles

Unifies buttons over the backend:

+ <button>
+ <input type="submit">
+ <input type="reset">
+ <a class="t3-button">

Extensions do not need to bring own styling for buttons.
Also adds padding and margin to input, buttons.

Change-Id: Ie1ab255354a222acfbac9b3260297ff345b6feed
Resolves: #55319
Releases: 6.2
Reviewed-on: https://review.typo3.org/27048
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Marcin Sągol
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Invalid constant in the domain redirect function 66/27066/3
Tim Lochmueller [Mon, 27 Jan 2014 08:44:14 +0000 (09:44 +0100)]
[BUGFIX] Invalid constant in the domain redirect function

There is a "copy-and-paste" mistake in the domain redirect mechanism.
The function HttpUtility::redirect should call with a valid HTTP
status code (the const value) and not with the name of the constant.

Resolves: #55350
Releases: 6.2, 6.1, 6.0, 4.5
Change-Id: I97f55ac8df1688011198666da1fd322a5c3bd323
Reviewed-on: https://review.typo3.org/27066
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Remove find file in EXT: lowlevel 28/26928/2
Felix Kopp [Sat, 18 Jan 2014 17:41:46 +0000 (18:41 +0100)]
[TASK] Remove find file in EXT: lowlevel

Removes the find file function from EXT: lowlevel.
Find file was only available for admins.

Change-Id: I79cedeeef8e8cea9266c893a2c9bd2ab462be482
Resolves: #55134
Releases: 6.2
Reviewed-on: https://review.typo3.org/26928
Reviewed-by: Oliver Klee
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] TS Parser: Fix regression when having tabs in TS names 69/27069/3
Benjamin Mack [Mon, 27 Jan 2014 12:51:13 +0000 (13:51 +0100)]
[BUGFIX] TS Parser: Fix regression when having tabs in TS names

With the optimization of the TS parser (see #54856), it is not
possible to write TypoScript like this anymore:

config {
    baseUrl            = www.mywebsite.com
    tx_realurl_enable    = 1
}
The problem is that the TS parser is not allowing tabs
after the TS object name (baseUrl). The fix strips away
tabs after the TS object name.

Resolves: #55357
Releases: 6.2
Change-Id: I880267c2b512e50d6b9e47f469157ea5fd814180
Reviewed-on: https://review.typo3.org/27069
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Upgrade jQuery to 1.11.0 76/27076/2
Stefan Neufeind [Mon, 27 Jan 2014 17:47:46 +0000 (18:47 +0100)]
[TASK] Upgrade jQuery to 1.11.0

Besides fixes this release features
"fewer forced layouts" and "lower startup overhead".

Change-Id: I988141ccd356425626f68089f9e65c1b04174c23
Releases: 6.2
Resolves: #55367
Reviewed-on: https://review.typo3.org/27076
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[TASK] EXT: lowlevel Configuration labels 55/27055/2
Felix Kopp [Sat, 25 Jan 2014 14:53:53 +0000 (15:53 +0100)]
[TASK] EXT: lowlevel Configuration labels

Configuration arrays should be accessed via $GLOBALS.
Modify labels to include the $GLOBALS keyword.

Change-Id: Iea3255e8ebcbf5bd23400fe4d597ea5eca421025
Resolves: #55324
Releases: 6.2
Reviewed-on: https://review.typo3.org/27055
Reviewed-by: Marcin Sągol
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Remove strlen calls in the DatabaseConnection 77/27077/4
Tim Lochmueller [Mon, 27 Jan 2014 19:04:30 +0000 (20:04 +0100)]
[TASK] Remove strlen calls in the DatabaseConnection

Remove the strlen calls in the DatabaseConnection to avoid many
string length calculations for the small checks in the query
build process. Replace it with a string cast and not identical
operator.

Resolves: #55370
Releases: 6.2
Change-Id: I0c175671ed51ab3034ffae7c0b812a90218e9f58
Reviewed-on: https://review.typo3.org/27077
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Change phpunit repository url for travis 74/27074/2
Philipp Gampe [Mon, 27 Jan 2014 17:21:45 +0000 (18:21 +0100)]
[TASK] Change phpunit repository url for travis

Resolves: #55366
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Ia90d7c85f81828bd23275b7fa4017ee74a758ad6
Reviewed-on: https://review.typo3.org/27074
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[TASK] Make Extbase use cache group "pages" 66/26866/5
Benjamin Mack [Thu, 16 Jan 2014 09:40:34 +0000 (10:40 +0100)]
[TASK] Make Extbase use cache group "pages"

As there is the possibility to use grouped caching in
order to be more flexible, Extbase should not use
hard-coded cache names for clearing the frontend
cache (cache_pagesection and cache_pages) but use
the group, so other caches could be triggered as well.

Releases: 6.2
Resolves: #55044
Change-Id: I8077f889fce7561170bffc7f97c1884c698d673c
Reviewed-on: https://review.typo3.org/26866
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
5 years ago[BUGFIX] Invalid class name to file path conversion 99/26999/3
Xavier Perseguers [Wed, 22 Jan 2014 17:20:54 +0000 (18:20 +0100)]
[BUGFIX] Invalid class name to file path conversion

The conversion from a class name such as
tx_extensionname_domain_model_somename to its corresponding PHP file
does not take Extbase naming conventions for the file name. This yields
an wrongly-cased file name which will be validated anyway on case
insensitive file systems.

This wrong conversion may lead to a PHP fatal error
Cannot redeclare class VendorName\Extension\Domain\Model\Somename

Fixes: #55256
Releases: 6.2
Change-Id: Ibe512945ac01f53844f790bea9f0d0cf58518c54
Reviewed-on: https://review.typo3.org/26999
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marcin Sągol
Reviewed-by: Stefan Neufeind
Tested-by: Marcin Sągol
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[TASK] Make use of .t3-table in EXT: extension manager 23/26923/3
Felix Kopp [Sat, 18 Jan 2014 15:19:39 +0000 (16:19 +0100)]
[TASK] Make use of .t3-table in EXT: extension manager

Use <table class="t3-table"> in backend module.

Removes duplicate SASS/CSS definitions in module in order
to make use of central core styles.

Change-Id: I174d63ab9014ec35842a7bd55863ed0113a669fe
Resolves: #55127
Releases: 6.2
Reviewed-on: https://review.typo3.org/26923
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Better description of [BE][unzip_path]/[BE][diff_path] 80/25680/5
Markus Klein [Tue, 26 Nov 2013 00:29:37 +0000 (01:29 +0100)]
[BUGFIX] Better description of [BE][unzip_path]/[BE][diff_path]

The options [BE][unzip_path] and [BE][diff_path] expect different values.
Adjust the descriptions accordingly.

Resolves: #53964
Releases: 6.2, 6.1, 6.0
Change-Id: Id433091f2be77f5c13304619e080a2d1adfb7b0c
Reviewed-on: https://review.typo3.org/25680
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Get suggest wizard working with renderMode=checkbox 89/18689/7
Tolleiv Nietsch [Wed, 2 May 2012 12:47:17 +0000 (14:47 +0200)]
[BUGFIX] Get suggest wizard working with renderMode=checkbox

In case a select field with renderMode "checkbox" is used together with
the suggest wizard, clicking the suggestions will not check the
related item in the list and therefore the wizard isn't useful anyhow
in that combination.

Fixes: #21924
Releases: 6.2, 6.1, 6.0
Change-Id: I5823197e9f6bb3f3d4ffc4032677478bd18d87f3
Reviewed-on: https://review.typo3.org/18689
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] hasProperty ignores meta data properties 88/26688/4
Steffen Ritter [Sat, 18 Jan 2014 15:10:31 +0000 (16:10 +0100)]
[BUGFIX] hasProperty ignores meta data properties

Since the split of sys_file to sys_file_metadata the data
is stored in different arrays. The hasProperty method of
AbstractFile is not overriden in File to consider that change.

Resolves: #54012
Releases: 6.2
Change-Id: Iab2b55e56795033c77c1e3f2969d927ba71a4ceb
Reviewed-on: https://review.typo3.org/26688
Reviewed-by: Alexander Stehlik
Tested-by: Alexander Stehlik
Reviewed-by: Frans Saris
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Remove t3lib from the example .htaccess file 17/27017/2
Eric Chavaillaz [Thu, 23 Jan 2014 08:53:30 +0000 (09:53 +0100)]
[TASK] Remove t3lib from the example .htaccess file

Since removing the t3lib folder in TYPO3 6.2, there is
no more reason to keep reference to this folder in the
example .htaccess file.

Resolves: #55265
Releases: 6.2
Change-Id: Ic7f2cff96186551b2aa08c9e785f42c4f8612fce
Reviewed-on: https://review.typo3.org/27017
Reviewed-by: Henrik Ziegenhain
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] sys_category table not listed in allowed excludefields 68/25268/2
Tomita Militaru [Mon, 11 Nov 2013 17:01:14 +0000 (19:01 +0200)]
[BUGFIX] sys_category table not listed in allowed excludefields

Enables the security flag ignoreRootLevelRestriction in order
for the sys_category table to be listed in allowed excludefields.

Resolves: #53201
Releases: 6.2, 6.1
Change-Id: If2d1ef7fb7d1af943f2ccc13f643014c20b49974
Reviewed-on: https://review.typo3.org/25268
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[BUGFIX] Removing single category item not possible 16/27016/2
Francois Suter [Thu, 23 Jan 2014 08:01:31 +0000 (09:01 +0100)]
[BUGFIX] Removing single category item not possible

The "items" selector in a system categories misses a "size"
property. It is thus considered by the forms JS to be a single
select field and all items are removed at once rather
than the selected one.

Resolves: #53665
Releases: 6.2, 6.1
Change-Id: Ice539a42b60a14fd604a9b43ecb4dd48b85d3ae3
Reviewed-on: https://review.typo3.org/27016
Reviewed-by: Francois Suter
Tested-by: Francois Suter
5 years ago[TASK] Fix category collection functional test 56/26756/2
Tymoteusz Motylewski [Sat, 11 Jan 2014 18:29:57 +0000 (19:29 +0100)]
[TASK] Fix category collection functional test

Category collection test now extends FunctionalTestCase
class and is green again.

Resolves: #54914
Releases: 6.2
Change-Id: Idc49bcf59b6e2e4ebae5c4f7a232f0b543b6821d
Reviewed-on: https://review.typo3.org/26756
Reviewed-by: Oliver Klee
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Fabien Udriot
Reviewed-by: Francois Suter
Tested-by: Francois Suter
5 years ago[TASK] Simplify Font-Size inheritance (CSS) 99/24299/5
Felix Kopp [Sun, 6 Oct 2013 19:28:43 +0000 (21:28 +0200)]
[TASK] Simplify Font-Size inheritance (CSS)

Font-sizes are defined in t3skin at various places multiple times.
In order to reduce complexity font-size & line-height should be
defined centrally and inherited by containers and elements.

Removes few definitions to unify font-sizes and line-heights.
Also fixed ExtJS CSS theme.

Change-Id: I6493aca9c2dd0fe36c19a65b1e6076b6a181419a
Resolves: #52497
Related: #52501
Related: #49592
Releases: 6.2
Reviewed-on: https://review.typo3.org/24299
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Stefan Neufeind
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Simulate time in TYPO3 admin panel broken 95/26895/6
Peter Niederlag [Wed, 14 Aug 2013 10:09:39 +0000 (12:09 +0200)]
[BUGFIX] Simulate time in TYPO3 admin panel broken

* Test typeof TBE_EDITOR == "undefined" in jsfunc.evalfield
* Thanks to Stefan Neufeind/Markus Klein for adding the Unittest

Resolves: #55093
Releases: 6.2, 6.1, 6.0
Change-Id: I2cc8a5ca3dd6251f89618d3615c1457938ff135e
Reviewed-on: https://review.typo3.org/26895
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Henrik Ziegenhain
Tested-by: Henrik Ziegenhain
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] lineNumber count in Template Analyzer 47/26747/8
Peter Niederlag [Fri, 10 Jan 2014 17:31:08 +0000 (18:31 +0100)]
[BUGFIX] lineNumber count in Template Analyzer

ExtendedTemplateService
=======================
* fix/improve ExtentedTemplateService->lineNumberToScript
* don't prepend additional LF in ExtentedTemplateService->ext_outputTS
* remove obscure empty line removals in ext_outputTS and ext_formatTS

TemplateAnalyzerModuleFunctionController
========================================
* use local $hierarchyInfo to fetch template titles

Resolves: #54897
Releases: 6.2
Change-Id: Ia01a89af49d72ed47bef6430042e260af0de3907
Reviewed-on: https://review.typo3.org/26747
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Set absPrefix of GraphicalFunctions to PATH_site 52/23652/4
Helmut Hummel [Fri, 6 Sep 2013 09:12:58 +0000 (11:12 +0200)]
[BUGFIX] Set absPrefix of GraphicalFunctions to PATH_site

To make GifBuilder and GraphicalFunctions work in
backend context, it is needed to set the absolute
path prefix for processed images to document root.

It works in FE context, because the current working
directory of PHP is document root, but fails in
BE context, as the CWD can be anything, depending
on the location of the executing script.

Set absPrefix to PATH_site in FAL crop scale mask
helper so that the FAL file processing can be used
in BE context.

Resolves: #51804
Releases: 6.0, 6.1, 6.2
Change-Id: I824333dc6f6cff4286d9eefb20c045e5bb207658
Reviewed-on: https://review.typo3.org/23652
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years agoRevert "[BUGFIX] Repair f:image VH for Backend" 75/26975/2
Helmut Hummel [Tue, 21 Jan 2014 14:48:07 +0000 (15:48 +0100)]
Revert "[BUGFIX] Repair f:image VH for Backend"

This change is reverted in favor of a cleaner approach:
https://review.typo3.org/23652

This reverts commit 2e46303631076308fb3d2434d128c3e339f27b9a

Change-Id: I0a297b9ae85e0b02ad3753d752abe4f31f260c12
Reviewed-on: https://review.typo3.org/26975
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] RootlineUtility does not consider foreign_sorting 27/26727/2
Markus Klein [Thu, 9 Jan 2014 18:42:11 +0000 (19:42 +0100)]
[BUGFIX] RootlineUtility does not consider foreign_sorting

Make sure RootlineUtility::enrichWithRelationFields() does take
the TCA setting foreign_sorting into account when fetching
foreign data for the rootline cache.

Resolves: #54884
Releases: 6.2, 6.1
Change-Id: I6f8323bd5a99f9009820332c220a5637e0930712
Reviewed-on: https://review.typo3.org/26727
Reviewed-by: Robert Wildling
Tested-by: Robert Wildling
Reviewed-by: Steffen Ritter
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Duplicated translation entry for clear cache menu pages 66/26966/3
Mathias Brodala [Tue, 21 Jan 2014 10:58:15 +0000 (11:58 +0100)]
[BUGFIX] Duplicated translation entry for clear cache menu pages

Remove duplicate translation entry in locallang_core.xlf

Change-Id: Ie550b4a8b9736e397a8ce46d00feb957652d92c0
Resolves: #55153
Releases: 6.2
Reviewed-on: https://review.typo3.org/26966
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Class 'TYPO3\CMS\Scheduler\Task\AbstractTask' not found 54/26954/4
Stefano Kowalke [Mon, 20 Jan 2014 20:22:29 +0000 (21:22 +0100)]
[BUGFIX] Class 'TYPO3\CMS\Scheduler\Task\AbstractTask' not found

When running UnitTests for UpdateExtensionListTask and the extension
Scheduler is not loaded will raise an Fatal error because it tries to
mock TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask which
extends from TYPO3\CMS\Scheduler\Task\AbstractTask.

It is necessary to skip the whole test case because every single test
creates a new instance of
\TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask().

Releases: 6.2
Resolves: #55192
Change-Id: I81e69c57d58078cf00e4f8e47a1e8d5c7d984177
Reviewed-on: https://review.typo3.org/26954
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Rename cache t3lib_l10n to l10n 34/26934/2
Georg Ringer [Mon, 20 Jan 2014 05:32:35 +0000 (06:32 +0100)]
[TASK] Rename cache t3lib_l10n to l10n

As t3lib doesn't exist anymore, get rid of this naming schema.

Change-Id: I525db9a511813e1e517c1363e29894b34b80ad48
Resolves: #55149
Releases: 6.2
Reviewed-on: https://review.typo3.org/26934
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Move Tidy functionality to a TER ext 52/26952/4
Benjamin Mack [Mon, 20 Jan 2014 19:20:49 +0000 (20:20 +0100)]
[TASK] Move Tidy functionality to a TER ext

As discussed in the Core newsgroup, the Tidy functionality
should be removed from the TYPO3 CMS Core. The checks
and options are removed, and a NEWS note is added. An
already released replacement was added to the TER.

As the importance is very low, and the drop-in
replacement in the TER fits nicely, IMHO there is no need
for an upgrade wizard, as nothing breaks if the
functionality is missing.
Every upgrader should read the NEWS anyway in order
to know what to do to have the functionality back.

Releases: 6.2
Resolves: #55190
Change-Id: I3101b7e09f36cbaa63b6b5d8930f61242e4e2cc6
Reviewed-on: https://review.typo3.org/26952
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer