Packages/TYPO3.CMS.git
6 years ago[BUGFIX] EM manual links open in the same window 69/19669/2
Philipp Gampe [Sat, 6 Apr 2013 12:47:04 +0000 (14:47 +0200)]
[BUGFIX] EM manual links open in the same window

If you open an extension in the get menu (show all versions), a link to
the manual is rendered.
It currently opens with target _top.

Change it to _blank to force opening the link in a new window.

Fixes: #46983
Releases: 6.0,6.1
Change-Id: Ie4f8bd09e94addc453b13a4fcc9745c39f14fe2c
Reviewed-on: https://review.typo3.org/19669
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] BackendUtility::calcAge returns negative value for 0 70/19670/4
Nicole Cordes [Sat, 6 Apr 2013 13:05:21 +0000 (15:05 +0200)]
[BUGFIX] BackendUtility::calcAge returns negative value for 0

Currently the function calcAge returns the value -0 min for zero seconds.
This should be changed as zero is unsigned. Besides some UnitTests are
added to verify the functionality of that function.

Change-Id: Ie0c7572e63bf8d3a6f074f2ccf0db63ac6f5c801
Fixes: #46984
Releated: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19670
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: remove nested pagination in showAllVersions 62/19662/2
Felix Kopp [Sat, 6 Apr 2013 11:21:00 +0000 (13:21 +0200)]
[TASK] EM: remove nested pagination in showAllVersions

The dataTable was encapsulated within a pagination.
Now there is only the dataTable which displays all versions at once.

Change-Id: I3c82beea56bc225f9197b25b214e10c5c41efe4b
Fixes: #46976
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19662
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] Fix ResourceFactory Test 72/19672/5
Steffen Ritter [Sat, 6 Apr 2013 13:20:11 +0000 (15:20 +0200)]
[BUGFIX] Fix ResourceFactory Test

Travis fails to execute some newly introduced Factory
Tests. This patch aims to clean them up and make
Travis happy again :)

Change-Id: I8b57eb9bd3cbcb2cb3fc2831a4d1fbffa1c30877
Resolves: #45748
Releases: 6.1, 6.0
Tested-by: Christian Kuhn
Reviewed-on: https://review.typo3.org/19672
Reviewed-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] EM: increased visual significance of Upload .t3x 67/19667/2
Felix Kopp [Sat, 6 Apr 2013 12:36:23 +0000 (14:36 +0200)]
[BUGFIX] EM: increased visual significance of Upload .t3x

Increase the visibility of upload form in "Manage extensions".

Change-Id: I6b3b563aac28d834023dc39d7d79e963f62eb23f
Fixes: #46979
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19667
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Get folder object if a path is given 90/18690/9
Ivan Kartolo [Tue, 5 Mar 2013 04:50:07 +0000 (11:50 +0700)]
[BUGFIX] Get folder object if a path is given

Get folder instead file object if a path is given to FAL.

Change-Id: I6d183d319eacbab403079b126685a13eb3ae7d5c
Resolves: #45748
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18690
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] EM: show versions link to read manual 63/19663/2
Felix Kopp [Sat, 6 Apr 2013 11:28:48 +0000 (13:28 +0200)]
[BUGFIX] EM: show versions link to read manual

Fixes the "read online" link in extension detail view.

Change-Id: I54cb1c90cb1f11b101a06160a67d2bac34185985
Fixes: #46978
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19663
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup FrontendLoginController 49/19549/5
Wouter Wolters [Wed, 3 Apr 2013 21:38:01 +0000 (23:38 +0200)]
[TASK] Cleanup FrontendLoginController

* Make use of the "use" statement for GeneralUtility
* Long lines are spread over more lines for readability

Change-Id: I6299913aa83588782b2a27d9e4105811746cf91f
Resolves: #46900
Releases: 6.1
Reviewed-on: https://review.typo3.org/19549
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: configuration view CSS corrections 60/19660/4
Felix Kopp [Sat, 6 Apr 2013 10:50:57 +0000 (12:50 +0200)]
[BUGFIX] EM: configuration view CSS corrections

Corrects padding+margins for text, group, container in
configureExtension view.

Change-Id: If6ea1f596e13ae1179e01ad3798e900f64ce8dd2
Fixes: #46958
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19660
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] saltedpasswords not installed by default 47/19647/2
Nicole Cordes [Sat, 6 Apr 2013 09:07:54 +0000 (11:07 +0200)]
[BUGFIX] saltedpasswords not installed by default

Because of folder renaming the autoloader of saltedpasswords is not
executed anymore so rsa and saltedpasswords are not installed by default.

Change-Id: Ib4c950e77048f2fcbca20d0f7bf2a0b7f9f11a0e
Fixes: #43241
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19647
Reviewed-by: Alexander Opitz
Reviewed-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix phpdoc after namespacing 50/19650/2
Philipp Gampe [Sat, 6 Apr 2013 09:35:34 +0000 (11:35 +0200)]
[BUGFIX] Fix phpdoc after namespacing

Fix three occurences of old class names in phpdoc.

Fixes: #46972
Releases: 6.0,6.1
Change-Id: Ia9b37cecf92dd21b8bea83ef351e1006c420b83f
Reviewed-on: https://review.typo3.org/19650
Reviewed-by: Wouter Wolters
Reviewed-by: Magdalena Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: easy access to showAllVersions 48/19648/2
Felix Kopp [Sat, 6 Apr 2013 09:17:04 +0000 (11:17 +0200)]
[TASK] EM: easy access to showAllVersions

The showAllVersions view is not easily accessible since only
tiny links point there. This patch adds further links.

Change-Id: I75b7a51a902a43d0ea584d037ee023a695c943ec
Fixes: #46971
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19648
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: reduce prominence of state column 40/19640/3
Felix Kopp [Sat, 6 Apr 2013 08:55:56 +0000 (10:55 +0200)]
[BUGFIX] EM: reduce prominence of state column

Decrease the width of state column and invert the coloring.
The prominence of the state column is reduced to minimum.

Change-Id: I979b93b0bd1924fac856087a2b00e9ad30eb12ee
Fixes: #46967
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19640
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years agoRevert "[BUGFIX] Throw Exception if typo3 extension repository is not defined" 51/19651/2
Christian Kuhn [Sat, 6 Apr 2013 09:45:08 +0000 (11:45 +0200)]
Revert "[BUGFIX] Throw Exception if typo3 extension repository is not defined"

This reverts commit 130a840d90d99bbb27a5f3f603d6b06db933b13f

Change-Id: I7e3494ec83d0f4acb588f556970a3a91f60df904
Reviewed-on: https://review.typo3.org/19651
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Sorting of file links CE is broken 44/19644/3
Nicole Cordes [Sat, 6 Apr 2013 01:17:18 +0000 (03:17 +0200)]
[BUGFIX] Sorting of file links CE is broken

On editing a content element of CType "uploads" ("File Links") you can
define fields for sorting and target of the files. Those fields are not
evaluated during the frontend rendering process.

Change-Id: I3d59f3088e7600b5c4c57c5187f288b600adaf16
Fixes: #46444
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19644
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[TASK] Add OpenSSL verification to system environment check 26/19626/3
Nicole Cordes [Fri, 5 Apr 2013 20:15:24 +0000 (22:15 +0200)]
[TASK] Add OpenSSL verification to system environment check

Add OpenSSL verification to system environment check to be able to require
rsa and saltedpassword extensions.

Change-Id: I2eedc03569f93478eac426807f83c348c5788b42
Resolves: #46959
Releases: 6.1
Reviewed-on: https://review.typo3.org/19626
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Automatic creation of processed files folder fails 06/19206/5
Andreas Wolf [Fri, 22 Mar 2013 21:54:24 +0000 (22:54 +0100)]
[BUGFIX] Automatic creation of processed files folder fails

The ResourceStorage tries to automatically create the processed files
folder if it does not exist. The identifier of the folder is taken from
the storage's configuration.

The automatic creation however fails, because when splitting the
identifier (e.g. /someFolder/_processed_/) by '/', the resulting array
always contains empty elements. Creating a folder with an empty name
fails however; therefore, empty elements should be skipped.

Change-Id: Ia9d0fe5314f67cb01da20682dfb684b711bc3cf7
Resolves: #46586
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19206
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Extension Manager does not use calcAge 32/19632/6
Benjamin Mack [Fri, 5 Apr 2013 21:22:21 +0000 (23:22 +0200)]
[BUGFIX] Extension Manager does not use calcAge

The extension manager does his own magic with calculating the age
of the last TER update. This can be done automatically with
BackendUtility::calcAge.

Resolves: #46962
Relates: #46524
Releases: 6.1, 6.0
Change-Id: I1917da7fa97e8692ee5bac799377e2a62ad14864
Reviewed-on: https://review.typo3.org/19632
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jost Baron
Tested-by: Jost Baron
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: Update button -> display version 85/18085/5
Thomas Löffler [Thu, 7 Feb 2013 19:23:10 +0000 (20:23 +0100)]
[BUGFIX] EM: Update button -> display version

Adds the target version of the extension which
needs an update into the title tag of the update
button.

Releases: 6.0, 6.1
Resolves: #45245
Change-Id: Icd5f98407300abf5759554002c1d42b9214a106c
Reviewed-on: https://review.typo3.org/18085
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Throw Exception if typo3 extension repository is not defined 28/19628/4
Sascha Egerer [Fri, 5 Apr 2013 20:20:17 +0000 (22:20 +0200)]
[BUGFIX] Throw Exception if typo3 extension repository is not defined

When there is no repository with id 1 is defined
in tx_extensionmanager_domain_model_extension you get an exception if
you try to update the extension list

Resolves: #42849
Releases: 6.1, 6.0
Change-Id: Ia60aa2227ab3a801c9002d821295c6eb01043e3f
Reviewed-on: https://review.typo3.org/19628
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: Colorpicker in extension configuration is broken 16/19616/3
Wouter Wolters [Fri, 5 Apr 2013 18:25:21 +0000 (20:25 +0200)]
[BUGFIX] EM: Colorpicker in extension configuration is broken

The colorpicker in extension configruation is broken. This is
because of missing images.

Also this fixes an issue with duplicate ID tags on a page. Which
causes some problem when CSS is defined on the same name.

Change-Id: I5c3b7005cd0f1df9399c0e1506bd8d408d661743
Fixes: #46021
Fixes: #46953
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19616
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Read permission check for folders is broken 05/19205/2
Nicole Cordes [Sat, 23 Mar 2013 09:31:15 +0000 (10:31 +0100)]
[BUGFIX] Read permission check for folders is broken

The read permission check for folders is broken because there are some
inconsistencies in naming. For files the action to check is called "read",
for folders this check is called "browse". This should be adjusted for
folders to be equal to file check and renamed to "read".

Change-Id: I80862b60ea7d674df75dee0063764fed95570c6b
Fixes: #46582
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19205
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Tom Ruether
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] EM: fix state columns' CSS 21/19621/3
Felix Kopp [Fri, 5 Apr 2013 19:31:45 +0000 (21:31 +0200)]
[BUGFIX] EM: fix state columns' CSS

Brings official typo3.org state colors. Also fixes several
errors for IE and hovering in general.

Change-Id: Ib24edbe60ac0fb4aad259be3e603d836bed27ab0
Fixes: #46955
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19621
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] RTE: Magic Images are put in root folder 24/19224/2
Benjamin Mack [Sat, 23 Mar 2013 15:28:59 +0000 (16:28 +0100)]
[BUGFIX] RTE: Magic Images are put in root folder

Due to some problems when find the magic folder, currently
all files from the RTE are put in the root directory of the TYPO3
installation.

However, RTE should use the default upload folder of the user
by default.

Resolves: #46605
Releases: 6.1, 6.0
Change-Id: I4f9f6606bccdeefde563d243a2ad1c9311c6ae81
Reviewed-on: https://review.typo3.org/19224
Reviewed-by: Wouter Wolters
Reviewed-by: Felix Nagel
Tested-by: Felix Nagel
Reviewed-by: Tom Ruether
Reviewed-by: Stefan Neufeind
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Page module title obeys language overlay 98/13598/7
Felix Kopp [Sat, 15 Sep 2012 21:23:07 +0000 (23:23 +0200)]
[BUGFIX] Page module title obeys language overlay

Makes the page backend module's headline language overlay aware.

The displayed headline is the page title of the selected page.
But the displayed headline should also consider the selected language.

Change-Id: Ie8b3b81139b9618ac5d2331dc86be5e5cad613d5
Resolves: #39106
Releases: 6.1
Reviewed-on: https://review.typo3.org/13598
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Pascal Dürsteler
Tested-by: Pascal Dürsteler
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: Remove contentWrap container 14/19614/3
Felix Kopp [Fri, 5 Apr 2013 17:56:15 +0000 (19:56 +0200)]
[TASK] EM: Remove contentWrap container

The content wrap container "contentWrap" is removed
as the last memory of tabbed content.

Change-Id: I3d7b54c92a74217917fade99d1edaa4bc640c337
Fixes: #46948
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19614
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[TASK] EM: Add title to "Show all versions" icon 13/19613/4
Wouter Wolters [Fri, 5 Apr 2013 17:50:15 +0000 (19:50 +0200)]
[TASK] EM: Add title to "Show all versions" icon

* Add a title to the icon to show all extension versions
* Add the link for "Show all versions" to the extension title

Change-Id: Iea15bcaf8cda25662a76245e85ecd128cc3f8b6b
Resolves: #46951
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19613
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[TASK] Raise submodule pointer 18/19618/2
Christian Kuhn [Fri, 5 Apr 2013 18:54:30 +0000 (20:54 +0200)]
[TASK] Raise submodule pointer

Change-Id: I7be7c86cbbf4e4d7b89590707820bd6ae09d0a89
Reviewed-on: https://review.typo3.org/19618
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Add version title in showAllVersion view 10/19610/2
Anja Leichsenring [Fri, 5 Apr 2013 17:39:39 +0000 (19:39 +0200)]
[BUGFIX] Add version title in showAllVersion view

Fixes: #46949
Releases: 6.1, 6.0
Change-Id: I2634bc186baec2a0298596c6fb9982a8c32edd7c
Reviewed-on: https://review.typo3.org/19610
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: extension info within "Get Extensions" 07/19607/3
Felix Kopp [Fri, 5 Apr 2013 17:05:28 +0000 (19:05 +0200)]
[TASK] EM: extension info within "Get Extensions"

Improves the single view / showAllVersions with further details.
Brings detail view as a base for further improvements.

Change-Id: Ia774a064508d6e98438f6480d929e39cbe7e5534
Fixes: #39919
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19607
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Extract status identifier to separate property 91/19591/8
Nicole Cordes [Fri, 5 Apr 2013 14:55:56 +0000 (16:55 +0200)]
[TASK] Extract status identifier to separate property

Instead of parsing the status objects for their classes it is better to
refactor the severity status as own property. So even the CSS class
backparsing can be dropped.

Change-Id: I6d709017e4b98582aa3b64e512107999d4f2bbb2
Resolves: #46943
Releases: 6.1
Reviewed-on: https://review.typo3.org/19591
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Move EM extension configuration save button to DocHeader 93/19593/2
Anja Leichsenring [Fri, 5 Apr 2013 15:12:41 +0000 (17:12 +0200)]
[BUGFIX] Move EM extension configuration save button to DocHeader

The configuration action brings a Save button.
Save button should be in DocHeader.

Fixes: #46941
Releases: 6.0, 6.1
Change-Id: I05b1c2bf5f6406462ee0a1fcaaa2f5eefbee88f8
Reviewed-on: https://review.typo3.org/19593
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Jost Baron
Tested-by: Jost Baron
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] EM: Add return link to showAllVersions 86/19586/5
Felix Kopp [Fri, 5 Apr 2013 14:39:09 +0000 (16:39 +0200)]
[BUGFIX] EM: Add return link to showAllVersions

Extension manager ShowAllVersions view does not deliver
link to return to the TER list. The return link is added.

Change-Id: Iaf266203222416d4c5656d5d52927c0b750b8860
Fixes: #46938
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19586
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Deprecated Big/Small/Medium/Standard-Document 55/18555/5
Benjamin Mack [Fri, 5 Apr 2013 14:40:11 +0000 (16:40 +0200)]
[TASK] Deprecated Big/Small/Medium/Standard-Document

Deprecates classes:

- BigDocumentTemplate
- SmallDocumentTemplate
- MediumDocumentTemplate
- StandardDocumentTemplate

These classes are rarely used.
Also the standard style in the backend move along.

Resolves: #45955
Releases: 6.1
Change-Id: Ic6e261eef960a71f56a8c5af4724f24e5da8e32c
Reviewed-on: https://review.typo3.org/18555
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Magdalena Leichsenring
Tested-by: Magdalena Leichsenring
6 years ago[TASK] EM: Remove search form in showAllVersions 88/19588/2
Felix Kopp [Fri, 5 Apr 2013 14:51:03 +0000 (16:51 +0200)]
[TASK] EM: Remove search form in showAllVersions

The search form is necessary on TER list but displayed in
showAllVerions. The search form is removed with this patch.

Change-Id: Ic9a6fcd33418209ba0d5def357c5b722051b31c4
Fixes: #46942
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19588
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: Modules deserve headlines 80/19580/2
Felix Kopp [Fri, 5 Apr 2013 14:00:36 +0000 (16:00 +0200)]
[TASK] EM: Modules deserve headlines

Users should know which context is active.
Display context as module headline.

Change-Id: I7e572c019f3d6a290ee699a695c98a5d4ccc6e4e
Fixes: #46934
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19580
Reviewed-by: Sascha Egerer
Tested-by: Sascha Egerer
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix breaking t3editor by using hsc() 10/19510/2
Georg Ringer [Tue, 2 Apr 2013 06:08:41 +0000 (08:08 +0200)]
[BUGFIX] Fix breaking t3editor by using hsc()

t3editor misses a htmlspecialchars() when displaying content of
the CE "HTML".

Change-Id: I84b65cd42bee971adc6fb77149f6789e76fc6567
Fixes: #33651
Releases: 6.1,6.0,4.7,4.6,4.5
Reviewed-on: https://review.typo3.org/19510
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Move EM tabs to function menu 63/19563/4
Felix Kopp [Fri, 5 Apr 2013 08:44:11 +0000 (10:44 +0200)]
[BUGFIX] Move EM tabs to function menu

Changes the tabs in extension manager to a function menu.
The views to manage+get extensions are different from a
user perspective.

Change-Id: I2612667cdb2656fa8954b09ada858581318b3c1d
Fixes: #46931
Release: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19563
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Magdalena Leichsenring
Tested-by: Magdalena Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] List module shows thumbs on CEs of type text 24/19124/8
Mario Rimann [Wed, 20 Mar 2013 22:29:31 +0000 (23:29 +0100)]
[BUGFIX] List module shows thumbs on CEs of type text

The list module renders a thumbnail for content elements as soon
as they have an image attached - independent of the current type
of the content element.

This patch changes the behavior, so that the thumbnail for
records in the list view are only shown, if the thumbnail-
column is visible for the current type.

Change-Id: Id59d7816f91bd37f49f794827826fca1929f7d0a
Resolves: #26753
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19124
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Magdalena Leichsenring
Tested-by: Magdalena Leichsenring
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Ignore pcntl_* php function in disable_functions check 24/19524/6
Wouter Wolters [Tue, 2 Apr 2013 21:13:51 +0000 (23:13 +0200)]
[TASK] Ignore pcntl_* php function in disable_functions check

The check for disable_functions gives a warning on a Ubuntu OS.
To not give a false alarm we set the status to Notice if
only functions are disabled that are currently not used by TYPO3.

Change-Id: I2cc6de83dc805faf65f68e8c315b68a2f2576e81
Resolves: #46877
Releases: 6.1
Reviewed-on: https://review.typo3.org/19524
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Installer fix crash with faulty DB data 64/19564/2
Alexander Opitz [Fri, 5 Apr 2013 09:20:49 +0000 (11:20 +0200)]
[BUGFIX] Installer fix crash with faulty DB data

If the database config, given in step 2 of install tool are faulty,
we recognice that for step 3 but try to get all database tables
in that state. Which will crash PHP since MySQLi changes.

You can reproduce this by using faulty DB data on step 2 in the
123-installer.

Resolves: #46932
Releases: 6.1
Change-Id: Ib6c756183a8ec23417115b7070d7e5ffae869a3a
Reviewed-on: https://review.typo3.org/19564
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Caching framework tables depends on ext_tables.sql 14/19214/4
Nicole Cordes [Sat, 23 Mar 2013 13:17:51 +0000 (14:17 +0100)]
[BUGFIX] Caching framework tables depends on ext_tables.sql

Since TYPO3 version 4.6 the caching framework should be responsible to
create needed tables for itself. But this is only executed when the
extension contains ext_tables.sql file in its extension folder. If you do
not need any other tables/fields no caching framework tables are created.
This should be independent from ext_tables.sql

Change-Id: Ifba3cb7bcc94d09627b38d5b5962cfdb2282306b
Fixes: #46591
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19214
Reviewed-by: Sascha Egerer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Extension manager styling 44/18544/4
Felix Kopp [Fri, 1 Mar 2013 00:09:05 +0000 (01:09 +0100)]
[BUGFIX] Extension manager styling

The extension manager never got all defined styles.
Bring several visual improvements:

— placeholder in search field
— show action icons on hover
— style extension state column
— float table header cols left and right

Change-Id: Id6eafa2b28b1d054929a84400bf1648b6e1e6d75
Fixes: #45928
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18544
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jost Baron
Tested-by: Jost Baron
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Environment check does not detect Windows OS 55/19555/2
Christian Kuhn [Thu, 4 Apr 2013 11:26:29 +0000 (13:26 +0200)]
[BUGFIX] Environment check does not detect Windows OS

Obvious error. This code is now identical to ext:core
SystemEnvironmentBuilder.

Change-Id: Ic09c04bb8761ae6cb678d70118e4bcb94d2f7df9
Resolves: #46911
Releases: 6.1
Reviewed-on: https://review.typo3.org/19555
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup CssStyledContentController 51/19551/3
Wouter Wolters [Wed, 3 Apr 2013 22:15:01 +0000 (00:15 +0200)]
[TASK] Cleanup CssStyledContentController

* Make use of the "use" statement for GeneralUtility
* Long lines are spread over more lines for readability

Change-Id: Iea4bbfec9e672828fda5ad2d19f2d2a76268fa99
Resolves: #46902
Releases: 6.1
Reviewed-on: https://review.typo3.org/19551
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Skip some permissions tests if run as root 47/19547/2
Christian Kuhn [Wed, 3 Apr 2013 16:31:21 +0000 (18:31 +0200)]
[BUGFIX] Skip some permissions tests if run as root

Some tests in the configuration manager test something is not
writable by manipulating the permissions on the target removing
the w flag. Those tests fail if the suite is run as user root,
this user is always allowed to write. Tests are skipped if run
as root now.

Change-Id: I81d740d7c112df548cf70c76673d433b8f1ff168
Resolves: #46895
Related: #46854
Releases: 6.1
Reviewed-on: https://review.typo3.org/19547
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Let Upgrade wizard recognize $GLOBALS['TYPO3_CONF_VARS'] 82/19482/3
Anja Leichsenring [Mon, 1 Apr 2013 11:15:33 +0000 (13:15 +0200)]
[BUGFIX] Let Upgrade wizard recognize $GLOBALS['TYPO3_CONF_VARS']

The LocalConfiguration wizard rewrites the existing localconf.php to the
new LocalConfiguration.php. To do so, the lines are read and analyzed to
retrieve the value and translate it to the new structure.

Until now, only lines containing the keyword $TYPO3_CONF_VARS are taken
into account. This patch extends the analysis to the keyword
$GLOBALS['TYPO3_CONF_VARS'].

Fixes: #39135
Releases: 6.0, 6.1
Change-Id: I880076d75a312926c8e968ad3ba883c41f364a62
Reviewed-on: https://review.typo3.org/19482
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Set TYPO3 version to 6.1-dev 38/19538/2
TYPO3 Release Team [Wed, 3 Apr 2013 11:36:51 +0000 (13:36 +0200)]
[TASK] Set TYPO3 version to 6.1-dev

Change-Id: I260f2e8e105e76485247a8e5ce0abce641618be7
Reviewed-on: https://review.typo3.org/19538
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[RELEASE] Release of TYPO3 6.1.0beta1 37/19537/2
TYPO3 Release Team [Wed, 3 Apr 2013 11:36:37 +0000 (13:36 +0200)]
[RELEASE] Release of TYPO3 6.1.0beta1

Change-Id: I9efec045bc2fe250039fed3aae136cdf0cf8c23b
Reviewed-on: https://review.typo3.org/19537
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[TASK] Raise submodule pointer 36/19536/2
TYPO3 Release Team [Wed, 3 Apr 2013 10:54:04 +0000 (12:54 +0200)]
[TASK] Raise submodule pointer

Change-Id: Id3d424c06859b9842172daa905ce0dab2c36cd41
Reviewed-on: https://review.typo3.org/19536
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[BUGFIX] BE login form gives warnings in RteHtmlParser 31/16731/4
Jigal van Hemert [Sun, 25 Nov 2012 16:04:40 +0000 (17:04 +0100)]
[BUGFIX] BE login form gives warnings in RteHtmlParser

Intialize configuration as array to prevent PHP warnings for
Illegal string offset.

Change-Id: Ic7398ba2c041c3278a1bd5562968ac5183643d3d
Fixes: #43291
Releases: 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/16731
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Clean up DatabaseConnection class 22/19522/3
Christian Kuhn [Tue, 2 Apr 2013 18:45:01 +0000 (20:45 +0200)]
[TASK] Clean up DatabaseConnection class

* Reduce number of IDE warnings by fixing method annotations
* Minor nitpicks
* Remove "define visibility" TODOs for API methods

Change-Id: Ica0bf776d3f22678b6fb67cdd85da188011509b0
Reviewed-on: https://review.typo3.org/19522
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Release installation procedure from LocalConfiguration file 06/19506/4
Christian Kuhn [Mon, 1 Apr 2013 20:53:36 +0000 (22:53 +0200)]
[TASK] Release installation procedure from LocalConfiguration file

The dummy, government and introduction packages deliver with a
default typo3conf/LocalConfiguration.php file to set defaults. If
the installation was not yet completed, those files do not contain
database settings. The bootstrap loads LocalConfiguration and
redirects to the install tool in 123 mode, if those db credentials
are missing. This is ugly and leads to several headaches.

The patch introduces a new file called "FactoryConfiguration.php"
within ext:core Configuration directory to set those defaults now.
The packages can overload these settings with an own file in
typo3conf called "AdditionalFactoryConfiguration", eg. to load the
specific extensions needed during the install process.

This way, the packages do not deliver a "LocalConfiguration" file
anymore. The boostrap now just checks for the existence of the file
and redirects to the install tool if it doesn't exist. The install
tool then creates the "LocalConfiguration" from the factory files
at an early point in the process.

The patch has to deal with different side effect of this:
* ConfigurationManager is no singleton anymore, there was no reason
  for that in the first place anyway.
* ConfigurationManager has a new method to deal with the factory
  files.
* ConfigurationManager got some refactoring to get rid of constants
* Bootstrap is adapted to the new file existance handling.
* GeneralUtility::fixPermissions now can give default permission
  values for files if the settings do not exist yet.
* GeneralUtility::writeFile now accepts a new argument to force
  setting permissions. This is used in ConfigurationManager to
  end up with a LocalConfigurationFile with correct permissions
  as soon as installation is completed.
* As usual, the patch has a good test coverage to show everything
  works as expected.

Change-Id: Icb644534e6d1f426bc9512a941a69d3ee3727223
Resolves: #46854
Releases: 6.1
Reviewed-on: https://review.typo3.org/19506
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 21/19521/2
TYPO3 Release Team [Tue, 2 Apr 2013 17:07:12 +0000 (19:07 +0200)]
[TASK] Raise submodule pointer

Change-Id: I39f576aebdfa181c11896cf0942b66823435cb20
Reviewed-on: https://review.typo3.org/19521
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[FEATURE] Human readable names for special folders 77/19177/12
Stefan Neufeind [Fri, 22 Mar 2013 13:10:02 +0000 (14:10 +0100)]
[FEATURE] Human readable names for special folders

The names of some special folders (user upload,
temporary files, recycler) were historically
converted to a human readable string. This is partly
broken in the current version, especially the sorting
gets mixed up. This commit changes the concept to
make the mapping more flexible (i.e., the driver can
decide what folder has which special role) and also
fixes the name mapping and sorting.

Change-Id: Iaf7dee74f4d9031ed91b446937361ecdede9a0b5
Resolves: #46542
Releases: 6.1
Reviewed-on: https://review.typo3.org/19177
Tested-by: Philipp Gampe
Tested-by: Andreas Wolf
Reviewed-by: Philipp Gampe
Reviewed-by: Andreas Wolf
6 years ago[!!!][FEATURE] Implement pre- and post-hook around SELECT queries 11/18411/4
Soren Malling [Thu, 21 Feb 2013 10:22:58 +0000 (11:22 +0100)]
[!!!][FEATURE] Implement pre- and post-hook around SELECT queries

To use in example content/record security,
a hook is implemented before and after the SELECT call.

The interface introduces a new function that needs to be
implemented to avoid breaking functionality!

The SELECT call is the only database call without such hook

Resolves: #45699
Releases: 6.1
Change-Id: I915bd2422e3d6743a408ea53af7e6491cfe2657a
Reviewed-on: https://review.typo3.org/18411
Reviewed-by: Dmitry Dulepov
Reviewed-by: Mattias Nilsson
Tested-by: Dmitry Dulepov
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Remove explicit strict test from TypoScriptParserTest 04/19504/2
Oliver Hader [Mon, 1 Apr 2013 20:51:10 +0000 (22:51 +0200)]
[TASK] Remove explicit strict test from TypoScriptParserTest

The TypoScriptParser is executed in strict mode by default.

Change-Id: I95a206e184cbafaebe28f1db592bd0f6a6dda4db
Related: #46839
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19504
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[!!!][BUGFIX] Scope of ProcessedFile cannot be modified 38/19438/2
Oliver Hader [Sat, 30 Mar 2013 08:55:26 +0000 (09:55 +0100)]
[!!!][BUGFIX] Scope of ProcessedFile cannot be modified

A ProcessedFile is used to generate a preview or crop-scaled
version of a File. Actually a Task implementing the
TaskInterface defines the basics and an accordant Helper
object takes care of the modifications to that file.
There are pre-process and post-process signals that seem to
be useless in modifying the scope of a particular task, however.

Imagine a file shall be pre-processed (e.g. color profile
transformation) and that result shall be used for resizing.
The current task implementation is using the original file
directly, however the task actually shall define which is the
source (the original file) the modifications shall be based on.

This change modifies the TaskInterface with a getSourceFile()
method to overcome this limitation.

Change-Id: I280ea9a0bf056f9eee0a06995ab809fdafb8a11a
Fixes: #46795
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19438
Reviewed-by: Stefan Neufeind
Tested-by: Steffen Ritter
Reviewed-by: Steffen Ritter
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Respect line breaks in stdWrap.cropHTML 19/18219/2
Alexander Stehlik [Tue, 12 Feb 2013 11:35:00 +0000 (12:35 +0100)]
[BUGFIX] Respect line breaks in stdWrap.cropHTML

By using the PCRE_DOTALL (/s) pattern modifier in the cropHTML
regular expression for preserving HTML entities the dot in the
pattern will include line breaks.

Resolves: #28741
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Change-Id: Ifda9e397406dd481b634ded22fd13cac90192118
Reviewed-on: https://review.typo3.org/18219
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Stefan Neufeind
Reviewed-by: Susanne Moog
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX][EM] TER repository page fails 97/19497/2
Christian Kuhn [Mon, 1 Apr 2013 16:13:40 +0000 (18:13 +0200)]
[BUGFIX][EM] TER repository page fails

After the persistence patch in extbase was reverted, em needs an
adaption to make the Repository tab work again.

Change-Id: If88f9c2e52fdeed344955a62568835b3968db5e2
Fixes: #46844
Related: #46837
Releases: 6.1
Reviewed-on: https://review.typo3.org/19497
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years agoRevert "[TASK] Fix deprecated things in sysnote" 90/19490/2
Alexander Schnitzler [Mon, 1 Apr 2013 13:52:42 +0000 (15:52 +0200)]
Revert "[TASK] Fix deprecated things in sysnote"

This reverts commit 524951cfebdc1443e084a3f2f2e95612f6a43272.

Commit 524951cfebdc1443e084a3f2f2e95612f6a43272 has to be
reverted as it relies on patch http://forge.typo3.org/issues/42506
which has been reverted due to an introduced regression.

Resolves: #46838
Releases: 6.1
Change-Id: I3d1037e508a0defbe127a6f4b8f15efdcf678ef3
Reviewed-on: https://review.typo3.org/19490
Reviewed-by: Marc Bastian Heinrichs
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 96/19496/2
Christian Kuhn [Mon, 1 Apr 2013 15:31:38 +0000 (17:31 +0200)]
[TASK] Raise submodule pointer

Change-Id: I54aff9f762761eba162d3d62fac19264fdbbee8e
Reviewed-on: https://review.typo3.org/19496
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Integrate basic TypoScript parsing test 91/19491/2
Oliver Hader [Mon, 1 Apr 2013 14:03:14 +0000 (16:03 +0200)]
[TASK] Integrate basic TypoScript parsing test

Resolves: #46839
Releases: 6.0, 6.1
Change-Id: I3dd007908bbd127386b86dd0f31e927c1034bb97
Reviewed-on: https://review.typo3.org/19491
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Adapt ArrayConstraints in IndexerTest 87/19487/3
Steffen Ritter [Mon, 1 Apr 2013 13:04:19 +0000 (15:04 +0200)]
[TASK] Adapt ArrayConstraints in IndexerTest

The tests for a parameter array check for equality of
the parameter array and the according value.
Instead we only wanna know if two keys are present and
set correctly and we do not care about other array values.

This refactors the Test to be more polite and is a follow-up
for #46596.

Change-Id: Ia7b4a0521b1d11b9494de2ff766f11b3c8bd1f60
Releases: 6.0, 6.1
Related: #46596
Reviewed-on: https://review.typo3.org/19487
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] PHP filesystem functions are locale dependent 44/19444/6
Steffen Ritter [Sun, 3 Mar 2013 18:46:38 +0000 (19:46 +0100)]
[BUGFIX] PHP filesystem functions are locale dependent

PHP filesystem functions like pathinfo, dirname and
basename are dependent on the locale set in PHP.
If one enables UTF8filesystem in the install tool, he may
use non-ascii characters in filenames and directory names.
For this to work properly you need to configure
SystemLocale, too.

The file abstraction layer classes need to take care of
the SystemLocale; to avoid code duplication new static
wrapper functions have been introduced.

Change-Id: I635e18d7ed08d928c6c4e427c0348dd46d9c5900
Releases: 6.0, 6.1
Resolves: #45982
Reviewed-on: https://review.typo3.org/19444
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] IndexerService does not set creating user 17/19217/3
Steffen Ritter [Sat, 23 Mar 2013 14:11:11 +0000 (15:11 +0100)]
[BUGFIX] IndexerService does not set creating user

When a backenduser uploads a file an index record is
created. The sys_file table ships with the column cruser_id
 which is never been filled because all sys_file records
are created by the IndexerService which does not take care
of that field.

Add this knowledge to the indexer service.

Releases: 6.0, 6.1
Fixes: #46596
Change-Id: I2a82ea5375b892604fc1a27376487bc4efe3a16e
Reviewed-on: https://review.typo3.org/19217
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
6 years ago[BUGFIX] Accept alternative notations for setDBinit 34/19034/3
Michael Stucki [Tue, 19 Mar 2013 10:19:10 +0000 (11:19 +0100)]
[BUGFIX] Accept alternative notations for setDBinit

Allow quotes and upper-case notation when checking if
$TYPO3_CONF_VARS['SYS']['setDBinit'] is configured properly.

Resolves: #24582
Releases: 6.1, 6.0
Change-Id: I51a5f6cf363077c738656c207648f21d726de72b
Reviewed-on: https://review.typo3.org/19034
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] TypoScriptParserTest uses superfluous mock object 81/19481/2
Oliver Hader [Mon, 1 Apr 2013 10:29:42 +0000 (12:29 +0200)]
[BUGFIX] TypoScriptParserTest uses superfluous mock object

TypoScriptParserTest uses superfluous mock object just to
call protected methods but without using mock behaviour.

Change-Id: Iaf8ed0150e63b5da4185dccbcf3dbd5eaa0cf94f
Fixes: #46833
Releases: 6.1
Reviewed-on: https://review.typo3.org/19481
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing 66/19266/2
Michael Stucki [Mon, 25 Mar 2013 13:45:34 +0000 (14:45 +0100)]
[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing

If using GMENU_LAYERS/TMENU_LAYERS and (for example) indexed_search on
the same page, the JavaScript header tags are missing if the page is
loaded from the cache.

Resolves: #36719
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Change-Id: Icd52f68d2b9462360f0b9efd912d93d4b0c1048c
Reviewed-on: https://review.typo3.org/19266
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] MySQLi: FALSE not NULL from sql_fetch()/fetch_row() 73/19473/3
Christian Kuhn [Sun, 31 Mar 2013 20:19:48 +0000 (22:19 +0200)]
[BUGFIX] MySQLi: FALSE not NULL from sql_fetch()/fetch_row()

MySQL previously returned FALSE if there were no more rows.
MySQLi returns NULL. So we'll need to turn that into FALSE
again not to break things.

Fixes: #46824
Releases: 6.1
Change-Id: Ia3f6e32ac71b9cec216459b66b42c7d9526671dd
Reviewed-on: https://review.typo3.org/19473
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Checkbox for confirmation in FormWizard 36/9136/5
Florian Scholz [Tue, 21 Feb 2012 15:00:41 +0000 (16:00 +0100)]
[FEATURE] Checkbox for confirmation in FormWizard

Adds an extra BEHAVIOUR section to form tab with a
checkbox to control whether the confirmation page
should be shown.

Change-Id: Id58ad0f8fa7fbbd5470e9a87e5fe31098b777a13
Resolves: #28628
Releases: 6.1
Reviewed-on: https://review.typo3.org/9136
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 72/19472/2
Christian Kuhn [Sun, 31 Mar 2013 19:20:58 +0000 (21:20 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ie0f9a9e5d31d787b81dcff7a1877dedf2a4c0ef6
Reviewed-on: https://review.typo3.org/19472
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove unused FAL class ImageProcessingService 45/19245/3
Benjamin Mack [Sun, 24 Mar 2013 10:56:13 +0000 (11:56 +0100)]
[TASK] Remove unused FAL class ImageProcessingService

In the early stages of the processing functionality, the class
"ImageProcessingService" was added as a proof-of-concept which
failed, as it just moved the cImage functionality and can
only be used in FE (cObj dependency). The new Task interface
for ProcessedFiles serves this purpose since the introduction
of FAL in 6.0.

The file can be removed without any deprecation, as it is
unusable (no API, not used at all).

Releases: 6.1
Resolves: #46625
Change-Id: I8637ca812ed7fd45439cbe85ce3a32ceba946441
Reviewed-on: https://review.typo3.org/19245
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[BUGFIX] Fix of Close-button in flash messages 52/19252/3
Jost Baron [Sun, 24 Mar 2013 22:12:13 +0000 (23:12 +0100)]
[BUGFIX] Fix of Close-button in flash messages

The close button did not work because hide() was called on
a HTMLElement instead of an Ext.Element.

Fixes: #46373
Related: #31368
Releases: 6.1, 6.0, 4.7
Change-Id: I70c65a82683ece39de4ed043a916b0521aabafa1
Reviewed-on: https://review.typo3.org/19252
Tested-by: Wouter Wolters
Reviewed-by: Laurent Cherpit
Tested-by: Laurent Cherpit
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Detect APC and APCu correctly 62/19462/4
Stefan Neufeind [Sun, 31 Mar 2013 16:35:19 +0000 (18:35 +0200)]
[TASK] Detect APC and APCu correctly

APCu is just the user-data part of APC,
providing the same API.

If installed it currently identifies itself
as both "apcu" and "apc" (for compatibility).
Thus if "apcu" shows up, we actually have an APC
without opcache-support.

Resolves: #46821
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: Ie046fa21102c5c7eb6b5b8a9cf54b20252c30cd9
Reviewed-on: https://review.typo3.org/19462
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Sending fails on multiple email-addresses 05/17505/10
Stefan Neufeind [Sun, 13 Jan 2013 13:57:44 +0000 (14:57 +0100)]
[BUGFIX] Sending fails on multiple email-addresses

Specifying multiple recipients (To or CC) for emails
leads to an error upon form-submit without further explanation.
This patch implements validation for multiple email addresses of
which only the valid ones are then returned.
The sending-API can already handle multiple recipients.

Change-Id: I59b65adc4e09d298167738778c17d310b8ecce47
Fixes: #44485
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/17505
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Tested-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[FEATURE] Add wincache and zend to opcode cache check 60/19460/4
Wouter Wolters [Sun, 31 Mar 2013 14:33:16 +0000 (16:33 +0200)]
[FEATURE] Add wincache and zend to opcode cache check

Change-Id: Id467f5f9a7b99075ede94532cd3e9a49131a1287
Resolves: #46612
Releases: 6.1
Reviewed-on: https://review.typo3.org/19460
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Support multiple display conditions in TCA 08/13508/7
Jigal van Hemert [Sun, 31 Mar 2013 12:16:40 +0000 (14:16 +0200)]
[FEATURE] Support multiple display conditions in TCA

The displayCond option is expanded with support for multiple
conditions and even the logical operators OR and AND.

Change-Id: I6cb38ef83093ed7399b47701e234ac13bdfa47dd
Fixes: #18211
Releases: 6.1
Reviewed-on: https://review.typo3.org/13508
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Introduce xcache cache backend 23/18823/6
Philipp Gampe [Sat, 9 Mar 2013 13:20:08 +0000 (14:20 +0100)]
[FEATURE] Introduce xcache cache backend

xcache is another PHP opcode cache like APC.
Similar to APC, it has a key-value for user data.
This storage is now available in the TYPO3 caching framework
by providing an according cache backend.

Note: XCache does not work in CLI mode!

Resolves: #46142
Releases: 6.1
Change-Id: I4e9e856a8397978eb6f6d480b79996ff49ff8a7b
Reviewed-on: https://review.typo3.org/18823
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] TS-list: allow to unique, reverse and sort 39/17939/9
Stefan Neufeind [Sat, 2 Feb 2013 03:43:02 +0000 (04:43 +0100)]
[FEATURE] TS-list: allow to unique, reverse and sort

Add missing, basic list-functionality for TypoScript.
Also splits out the TS-operator-functions into a
separate function and adds unit-tests.

Resolves: #45091
Releases: 6.1
Change-Id: I2ff425845681494053dc56b785ebd0064f100ed6
Reviewed-on: https://review.typo3.org/17939
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Extract displayCond functionality from FormEngine to new class 80/19080/11
Sebastian Michaelsen [Wed, 20 Mar 2013 12:33:54 +0000 (13:33 +0100)]
[TASK] Extract displayCond functionality from FormEngine to new class

In order to streamline \TYPO3\CMS\Backend\Form\FormEngine
(formerly t3lib_TCEforms) the functionality for 'displayCond' is extracted
into a new class: \TYPO3\CMS\Backend\Form\ElementConditionMatcher

* Refactor the code a bit without changing it's behaviour
* Deprecate FormEngine->isDisplayCondition() and remove its core usages
* Add a bit of documentation in the new class
* Add Unit tests

Releases: 6.1
Resolves: #46461
Change-Id: Ie199fe0600a70231f1e7b710a09164364cef8578
Reviewed-on: https://review.typo3.org/19080
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 57/19457/2
Christian Kuhn [Sun, 31 Mar 2013 09:45:29 +0000 (11:45 +0200)]
[TASK] Raise submodule pointer

Change-Id: Id6d1ecee341547145a067dba661651704dcaae54
Reviewed-on: https://review.typo3.org/19457
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] fetch_field_redirect returns object but not array 48/19448/2
Christian Kuhn [Sat, 30 Mar 2013 13:51:28 +0000 (14:51 +0100)]
[BUGFIX] fetch_field_redirect returns object but not array

Method sql_field_type was rewritten with the mysqli switch for
compatibility with the old behavior. The introduced call to
fetch_field_redirect returns an object, but the result is
handled as an array, leading to warnings.

Change-Id: I73c434e8ce8086f4e60e119f4c2e2d1e2c9c7d20
Fixes: #46806
Related: #36419
Reviewed-on: https://review.typo3.org/19448
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] NEWS.txt entry about mysql to mysqli switch 43/19443/5
Christian Kuhn [Sat, 30 Mar 2013 12:04:01 +0000 (13:04 +0100)]
[TASK] NEWS.txt entry about mysql to mysqli switch

Change-Id: Idb67b153daea1a233e54ec164b4abdb9cbeb331c
Related: #36419
Reviewed-on: https://review.typo3.org/19443
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Integrity test fails 47/19447/2
Christian Kuhn [Sat, 30 Mar 2013 13:13:39 +0000 (14:13 +0100)]
[BUGFIX] Integrity test fails

The integerity test checks if TYPO3_DB is a resource. After switch to
mysqli, this is now an object and thus reflected with the patch now.
At the same time, the $link property - while it changed its type - is
now made protected, and a getter / setter is added.

Change-Id: I5ecdcc27f628352a26a51fc28d5a9d7be5e16315
Resolves: #46805
Related: #36419
Releases: 6.1
Reviewed-on: https://review.typo3.org/19447
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Small cleanup in Typo3DatabaseBackend 46/19446/2
Wouter Wolters [Sat, 30 Mar 2013 13:11:12 +0000 (14:11 +0100)]
[TASK] Small cleanup in Typo3DatabaseBackend

Long lines for database queries are not too long anymore.

Change-Id: I2bfbeb9e5e375c43483af9b3d33264a23a4c6adc
Resolves: #46804
Releases: 6.1
Reviewed-on: https://review.typo3.org/19446
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Typo3DatabaseBackend get function does not return FALSE 45/19445/2
Wouter Wolters [Sat, 30 Mar 2013 12:56:44 +0000 (13:56 +0100)]
[BUGFIX] Typo3DatabaseBackend get function does not return FALSE

Typo3DatabaseBackend get function does not return FALSE when
there is no result.

Change-Id: I738ffc2879a9c125af4e7f0727c2cb5c88ed2da0
Fixes: #46802
Releases: 6.1
Reviewed-on: https://review.typo3.org/19445
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[FEATURE] Add RequireJS to dynamically load JS files 24/18924/5
Benjamin Mack [Thu, 14 Mar 2013 20:09:02 +0000 (21:09 +0100)]
[FEATURE] Add RequireJS to dynamically load JS files

Adds the JS loader "RequireJS" to the TYPO3 core, accessible
for the TYPO3 Frontend and Backend in the PageRenderer
class.

Additionally, defined AMD modules can be loaded
by RequireJS on page load. This way, the whole JS code
in the core can be moved to standard AMD modules
with dependencies.

The shipped jQuery version already puts itself in a AMD
module named "jquery", so it can be used in all AMD
modules.

All created AMD modules should be named
"TYPO3/CMS/[PackageName]/[ModuleName]" so the
file name is resolved automatically as
"EXT:PackageName/Resources/Public/JavaScript/ModuleName.js"

Releases: 6.1
Resolves: #39622
Change-Id: I6e3177019e9b98b409aa90f771122b48cee235e1
Reviewed-on: https://review.typo3.org/18924
Reviewed-by: Wouter Wolters
Tested-by: Stefan Neufeind
Tested-by: Wouter Wolters
Reviewed-by: Daniel Sattler
Tested-by: Daniel Sattler
Reviewed-by: Stefan Neufeind
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[FEATURE] Add stdWrap feature: addPageCacheTags 94/9294/9
Fabrizio Branca [Tue, 28 Feb 2012 23:42:31 +0000 (00:42 +0100)]
[FEATURE] Add stdWrap feature: addPageCacheTags

This feature comes after feature freeze for 4.7 but accidently it was
already mentioned in the release notes while not being implemented yet.

Release notes mention that the new stdWrap.cache feature (#34299)
stores cache tags that can be flushed by tag from TCEmain.clearCacheCmd
with feature #34352.

As stdWrap.cache stores tags into cache_hash and not into cache_pages
the feature mentioned in the release notes does not work that way.

But nevertheless that would be a handy feature and so I suggest to
add stdWrap.addPageCacheTags = pagetag1,pagetag2,pagetag3

To distinguish these tags being written to cache_pages instead of
cache_hash I'd suggest to not have this feature inside "cache." but
as a separate configuration option "addPageCacheTags".

See http://forge.typo3.org/issues/34403 for some more details.

Including the other cache (tag) related features this completes a set
of handy tools to handly cache tags in a very flexible way.

Change-Id: Ida42937356644f8ea1c27cecdf1e8252182b06ee
Resolves: #34403
Releases: 6.1
Reviewed-on: https://review.typo3.org/9294
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Migrate core from mysql to mysqli 80/19280/5
Stefan Neufeind [Mon, 25 Mar 2013 18:36:50 +0000 (19:36 +0100)]
[TASK] Migrate core from mysql to mysqli

Resolves: #36419
Releases: 6.1
Change-Id: If34deb026f3118db04477d14b735d76c1606aa97
Reviewed-on: https://review.typo3.org/19280
Reviewed-by: Oliver Klee
Reviewed-by: Felix Kopp
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Ritter
Tested-by: Philipp Gampe
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[TASK] Raise submodule pointer 40/19440/2
Christian Kuhn [Sat, 30 Mar 2013 09:55:58 +0000 (10:55 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ia3e5dda0d84da1b5cf51c6d72e0f08ec70b40fb0
Reviewed-on: https://review.typo3.org/19440
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX][Cache] Wincache backend class constructor 36/19436/3
Christian Kuhn [Fri, 29 Mar 2013 14:42:31 +0000 (15:42 +0100)]
[BUGFIX][Cache] Wincache backend class constructor

The class constructor of wincache cache backend misses the first
parameter $context, so $options is treated as $context. Given
backend options are not used this way, for example defaultLifetime
has no effect.
The patch adds the missing constructor parameter to be in line
with the other cache backends.

Change-Id: I488b9996d5ab65420f79b2cab4c75805ae89a77a
Resolves: #46768
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19436
Reviewed-by: Tomasz Krawczyk
Tested-by: Tomasz Krawczyk
Reviewed-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Static addFlashMessage calls in extended file utility 32/19432/2
Christian Kuhn [Fri, 29 Mar 2013 13:08:36 +0000 (14:08 +0100)]
[BUGFIX] Static addFlashMessage calls in extended file utility

ExtendedFileUtility still adds some flash messages statically. The
patch adapts to the new scheme and does some minor additinal
cleanup in the class for better type hintings in IDEs.

Change-Id: Ia75d2bccd9ed73a4055d1cf850b8f9703c59a76d
Resolves: #46773
Related: #44593
Releases: 6.1
Reviewed-on: https://review.typo3.org/19432
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Clean up form protection tests 30/19430/2
Christian Kuhn [Fri, 29 Mar 2013 12:29:32 +0000 (13:29 +0100)]
[TASK] Clean up form protection tests

The form protection tests need a refactoring to use the new flash
message handling. Additionally, the tests are adapted to use better
mocking and accessible proxies where needed.

Change-Id: I5d3b008770bc1b74eeff8fd568f01084915cd226
Resolves: #46772
Related: #44593
Releases: 6.1
Reviewed-on: https://review.typo3.org/19430
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[WIP][TASK] Replace static calls to FlashMessageQueue 25/19225/5
Wouter Wolters [Sat, 23 Mar 2013 15:41:48 +0000 (16:41 +0100)]
[WIP][TASK] Replace static calls to FlashMessageQueue

Change-Id: Iceaaa80bce3ca754b38643be0f0fa82cbaff84ff
Resolves: #46606
Related: #44593
Releases: 6.1
Reviewed-on: https://review.typo3.org/19225
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 29/19429/2
Christian Kuhn [Fri, 29 Mar 2013 10:37:05 +0000 (11:37 +0100)]
[TASK] Raise submodule pointer

Change-Id: I45f192c4eb4de1873a770b526bb8422a97d70972
Reviewed-on: https://review.typo3.org/19429
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Optimize clearing file backend caches 33/16833/3
Oliver Hader [Wed, 28 Nov 2012 10:49:36 +0000 (11:49 +0100)]
[TASK] Optimize clearing file backend caches

During concurrent requests it might happen that one request
flushes a cache that is stored in the filesystem and another
different request tries to recreate the data. This will lead
to race conditions if the cached contents are large.

The idea is to move the current cache to a temporary location
and then remove it.

Change-Id: I242fdbc6ab28008363747a8076d021ebce127e17
Resolves: #43382
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/16833
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[!!!][BUGFIX] Crop-Scaled images have wrong file content type 69/19169/3
Oliver Hader [Fri, 22 Mar 2013 09:35:53 +0000 (10:35 +0100)]
[!!!][BUGFIX] Crop-Scaled images have wrong file content type

The following scenario is given:
* resize a 300dpi TIFF image to PNG using stdWrap/cObj
* the 'fileExtension' configuration is not set
* the processed file csm_... has the file extension PNG
* but the file content type is still TIFF, so the file
  was just renamed, but not converted to PNG

Since the processing task determines the accordant filename
and file extension of the processed file, the image processor
(e.g. ImageMagick) needs to know about that fact as well.

This change modifies the TaskInterface which is rarely to not
at all used in custom extensions implementing individual tasks
to process files.

Change-Id: I089edc01a39663ac91b1b9df168f659c32954fcb
Fixes: #46530
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19169
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[FEATURE] Provide flushing cache by table and record tags 35/19235/2
Nicole Cordes [Sun, 24 Mar 2013 01:56:48 +0000 (02:56 +0100)]
[FEATURE] Provide flushing cache by table and record tags

As suggested in the wiki it is helpful to tag caches with a combination of
table and record uid to get the cache deleted when the specific record was
edited. But rather that each extension provides its own implementation it
would be better to store this simple function into the core.

Change-Id: I4fb6b49a913d5e428ae2858d0d0a31dc641d2be3
Resolves: #46617
Releases: 6.1
Reviewed-on: https://review.typo3.org/19235
Reviewed-by: Philipp Gampe
Reviewed-by: Steffen Ritter
Reviewed-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Image rendering of non-existing files throws exception 68/19168/3
Oliver Hader [Fri, 22 Mar 2013 09:31:29 +0000 (10:31 +0100)]
[BUGFIX] Image rendering of non-existing files throws exception

Rendering an image that has no accordant file in a storage in
the frontend (e.g. in TypoScript) fails with an exception like
"Object with identifier xyz does not exist in storage".

A new ResourceDoesNotExistException is introduced to cover
files and folders and is thrown instead of RuntimeException.
This way, the exception is caught in the ContentObjectRenderer
and the frontend rendering just does not output the error,
which is logged instead.

Change-Id: I0affa15a8f0a50bf30a7176972994f209d18daf4
Fixes: #46535
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19168
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader