Packages/TYPO3.CMS.git
6 years ago[BUGFIX] Fix typo and improve backup of system settings
Anja Leichsenring [Wed, 6 Feb 2013 20:03:01 +0000 (21:03 +0100)]
[BUGFIX] Fix typo and improve backup of system settings

LC_MONETARY was saved to LC_TIME, this needs to be fixed.

Instead of using the constants as is, use the API function to save
and restore system settings.

Fixes: #45218
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Change-Id: I3c3c9d552d89d69c3689e60dc00e392067b98464
Reviewed-on: https://review.typo3.org/18073
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[FEATURE] Introduce prepend option for Select ViewHelper
Anja Leichsenring [Thu, 27 Dec 2012 12:37:28 +0000 (13:37 +0100)]
[FEATURE] Introduce prepend option for Select ViewHelper

A common use case with select fields is to have a 'empty' option at
first position in the options list.

The patch provides the possibility to add a label and additionally
a value, which will be rendered in the option list.

Change-Id: I4fac7372661473d7abbcc209a0fdbd933e65e315
Resolves: #26595
Releases: 6.1
Reviewed-on: https://review.typo3.org/17276
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Thomas Loeffler
Tested-by: Thomas Loeffler
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Remove PHP Error caused by setlocale call
Anja Leichsenring [Sun, 3 Feb 2013 19:22:51 +0000 (20:22 +0100)]
[BUGFIX] Remove PHP Error caused by setlocale call

With #44835 the setlocale function is used to reset manipulations
on locale settings during tests. Accidently the array keys were
stored as strings, but should be constants.

Fixes: #45118
Related: #44835
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Change-Id: I6514d11b97359778a0ee11ec3115d1cbd0caac75
Reviewed-on: https://review.typo3.org/17987
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Incomplete locale backup in unit test
Christian Kuhn [Sat, 26 Jan 2013 20:32:46 +0000 (21:32 +0100)]
[BUGFIX] Incomplete locale backup in unit test

A test from issue #43445 sets some locale categories
but does not properly reset to settings before. This
can kill unit tests running afterwards.

Change-Id: I068f0b85a5a677c5c3ae9a79b845f45d1ee9b590
Fixes: #44835
Related: #43445
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/17735
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] selectViewHelper sorting should respect locales
Stefan Froemken [Wed, 12 Dec 2012 11:30:51 +0000 (12:30 +0100)]
[BUGFIX] selectViewHelper sorting should respect locales

In current Fluid versions the sorting
(sortByOptionLabel="1" is used) of the selectViewHelper
does not respect locale collation set by config.locale_all in TypoScript.

Fixes: #43445
Releases: 4.5, 4.6, 4.7, 6.0, 6.1

Change-Id: Ie6761493c7766c05c21d5b1afc2bfec6dbe00a66
Reviewed-on: https://review.typo3.org/17129
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years agoRevert "[TASK] Adjust failing test"
Anja Leichsenring [Tue, 11 Dec 2012 19:58:53 +0000 (20:58 +0100)]
Revert "[TASK] Adjust failing test"

This reverts commit c3735abe56b70dba0f80489913a9bbf45055cda6

Change-Id: I6a1dd0a87ba26346097b657e147e274a2c4ac659
Reviewed-on: https://review.typo3.org/17114
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Adjust failing test
Anja Leichsenring [Tue, 11 Dec 2012 16:44:44 +0000 (17:44 +0100)]
[TASK] Adjust failing test

After introduction whitelisting feature a fluid test fails with a Fatal
Error due to changes in the parent class of AbstractWidgetController,
which is the extbase class ActionController.

This Patch fixes the failing test by injecting the needed objects.

Resolves: #43890
Depends: #43057
Releases: 6.1
Change-Id: Ib114f29f87cc4560368f416f4445f63da7c775c2
Reviewed-on: https://review.typo3.org/17105
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
6 years ago[BUGFIX] Image viewhelper clears $GLOBALS['TSFE'] in backend context
Stefan Froemken [Fri, 30 Nov 2012 20:41:59 +0000 (21:41 +0100)]
[BUGFIX] Image viewhelper clears $GLOBALS['TSFE'] in backend context

The image viewhelper replaces the $GLOBALS['TSFE'] array to
simulateFrontendEnvironment if it is called in backend context.
After successful get of the image, it restores the TSFE.

But in case, that the requested image has not been found,
it throws an Tx_Fluid_Core_ViewHelper_Exception, which means
that the TSFE get not restored. This causes errors when other
code tries to access TSFE after the image viewhelper has been
executed.

Resolves: #43446
Releases: 4.5, 4.6, 4.7, 6.0

Change-Id: Ic5b1fc73c74ffa7fca6e36c6f42e3f2084efa7c8
Reviewed-on: http://review.typo3.org/16933
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Update version to 6.1.0-dev
Alexander Schnitzler [Wed, 28 Nov 2012 11:42:53 +0000 (12:42 +0100)]
[TASK] Update version to 6.1.0-dev

Releases: 6.1
Resolves: #43388
Change-Id: I15df3b3084094b10abd3fc6c251529829e393e7e
Reviewed-on: http://review.typo3.org/16835
Reviewed-by: Wouter Wolters
Reviewed-by: Mattias Nilsson
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Remove double closing tag
Helmut Hummel [Tue, 27 Nov 2012 02:06:43 +0000 (03:06 +0100)]
[BUGFIX] Remove double closing tag

Releases: 6.0

Change-Id: If7ad5e0299d92a46f575c25d48ff50f4efbf1c30
Reviewed-on: http://review.typo3.org/16771
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[CLEANUP] Adjust code to CGL and fix small namespace bugs
Alexander Schnitzler [Tue, 20 Nov 2012 15:27:02 +0000 (16:27 +0100)]
[CLEANUP] Adjust code to CGL and fix small namespace bugs

* whitespaces, tabs and blank line issues
* bool -> boolean
* int -> integer
* fix wrong namespace annotations

Fixes: #43157
Releases: 6.0
Change-Id: I8397948e19248db029d8efd1555ee56e4982742d
Reviewed-on: http://review.typo3.org/16619
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Make Fluid translation calls compatible to TYPO3 Flow
Ingo Pfennigstorf [Tue, 30 Oct 2012 09:17:52 +0000 (10:17 +0100)]
[TASK] Make Fluid translation calls compatible to TYPO3 Flow

in TYPO3 Flow you can call <f:translate id="..." />
In our Fluid you have to call <f:translate key="..." />

That makes porting Extensions to to Flow packages less compatible. This
Patch introduces a compatibility layer and let the user choose whether
he wants to use the key argument instead of id.

If both are used the "id" has a higher priority.

Fixes: #42507
Releases: 6.0
Change-Id: I8a1f386a56480a73a64c7ccf70383a37a05bf7a5
Reviewed-on: http://review.typo3.org/16031
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
6 years ago[BUGFIX] Fix failing AbstractWidgetControllerTest
Wouter Wolters [Tue, 20 Nov 2012 18:49:00 +0000 (19:49 +0100)]
[BUGFIX] Fix failing AbstractWidgetControllerTest

Change-Id: If248919863fd734290742e3e8b55b434d8e820d3
Fixes: #43171
Releases: 6.0
Reviewed-on: http://review.typo3.org/16631
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Fix setting templateRootPath
Wouter Wolters [Mon, 19 Nov 2012 21:51:09 +0000 (22:51 +0100)]
[BUGFIX] Fix setting templateRootPath

In the conversion to namespaces the overwriting variable is
changed to template. This is fixed with this commit.

Change-Id: Ie2fb1a1b493418531b9272258b560821418a583b
Fixes: #43083
Releases: 6.0
Reviewed-on: http://review.typo3.org/16593
Reviewed-by: Ingo Pfennigstorf
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Remove deprecated methods and classes
Marc Bastian Heinrichs [Sun, 18 Nov 2012 13:24:33 +0000 (14:24 +0100)]
[TASK] Remove deprecated methods and classes

Remove code that has been scheduled for removal
for Fluid 6.0/1.6 except the old property mapper
which needs to stay for at least one version.

Also reschedule the removal for the old property
mapper for Extbase 6.1

Resolves: #43069
Releases: 6.0

Change-Id: I30fc7ab4867d15a33e5aebbda5ade00847726b88
Reviewed-on: http://review.typo3.org/16548
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
6 years ago[BUGFIX] Remove newlines after closing php tag
Alexander Schnitzler [Mon, 19 Nov 2012 15:41:00 +0000 (16:41 +0100)]
[BUGFIX] Remove newlines after closing php tag

Releases: 6.0
Fixes: #43105
Change-Id: Icd787d943e236d835ab51f84e5226bbdbefacc6c
Reviewed-on: http://review.typo3.org/16568
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
6 years ago[CLEANUP] Replace FLOW3 with TYPO3 Flow
Alexander Schnitzler [Fri, 16 Nov 2012 18:49:02 +0000 (19:49 +0100)]
[CLEANUP] Replace FLOW3 with TYPO3 Flow

Releases: 6.0
Fixes: #43036
Change-Id: I62df23587301b4cde3ddeae3686b34f54fe1182e
Reviewed-on: http://review.typo3.org/16498
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
6 years ago[BUGFIX] Fix charset inconsistency in Fluid tests
Helmut Hummel [Sun, 11 Nov 2012 18:13:11 +0000 (19:13 +0100)]
[BUGFIX] Fix charset inconsistency in Fluid tests

The encoding viewHelper calls resolveDefaultCharset
which in turn tries to get the charset from the system.
This is incomplete mocking and is resolved by mocking
this method. Doing so shows up another inconsistency.

Some tests assume ISO-8859-1, some UTF-8 to be the
default charset. Fix the tests to always assume UTF-8
to be the default encoding.

In addition remove the unnecessary checks in
resolveDefaultEncoding as the system default is UTF-8

Resolves: #43075
Releases: 6.0

Change-Id: Id311e5e3621c1c105a2cd182881265b92cedfebf
Reviewed-on: http://review.typo3.org/16557
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] make cols and rows in TextareaViewHelper optional
Markus Günther [Sun, 18 Nov 2012 13:19:15 +0000 (14:19 +0100)]
[BUGFIX] make cols and rows in TextareaViewHelper optional

When using the Tx_Fluid_ViewHelpers_Form_TextareaViewHelper to render
a <textarea> Element you must provide "cols" and "rows", which should
be optional attributes instead. Nowadays you should rather use CSS
to set the dimensions of any HTML Element.

Resolves: #13255
Release: 6.0

Change-Id: Ia77ab8221866f504af64e76d77269bf88a312577
Reviewed-on: http://review.typo3.org/16556
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
6 years ago[BUGFIX] AbstractFormFieldViewHelper always converts entities
Claus Due [Sat, 17 Nov 2012 11:48:19 +0000 (12:48 +0100)]
[BUGFIX] AbstractFormFieldViewHelper always converts entities

AbstractFormFieldViewHelper::getValue() currently always tries
to convert objects to identities by calling
PersistenceManager::getIdentifierByObject().
This makes it impossible for custom ViewHelpers to access the
unmodified value that was previously submitted (or bound to the
form field view helper).

This change introduces an argument $convertObjects that allows
experienced developers to disable this behavior in custom
view helpers.

Fixes: #34091
Fluid Issue: #33569
Releases: 1.3, 1.4, 4.7, 6.0

Change-Id: I72ffbfb6238cf0d12301687750f0314b97f2faad
Reviewed-on: http://review.typo3.org/9098
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[CLEANUP] Remove not existing AOP stuff from fluid
Alexander Schnitzler [Fri, 16 Nov 2012 18:36:09 +0000 (19:36 +0100)]
[CLEANUP] Remove not existing AOP stuff from fluid

Releases: 6.0
Fixes: #43037
Change-Id: Ia7f28cfdc47de01a37f926f96904cc3788c1ccaa
Reviewed-on: http://review.typo3.org/16497
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Klee
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Rename Reflection\Service to Reflection\ReflectionService
Alexander Schnitzler [Fri, 16 Nov 2012 10:32:36 +0000 (11:32 +0100)]
[BUGFIX] Rename Reflection\Service to Reflection\ReflectionService

Since it's renamed in Extbase it
has to be adjusted in Fluid also.

Releases: 6.0
Fixes: #43017
Change-Id: Ib26b999ba1f84dc5c56066ea7d671e15b4dec378
Reviewed-on: http://review.typo3.org/16464
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
6 years ago[TASK] Remove deleted class from alias map
Helmut Hummel [Thu, 8 Nov 2012 22:03:23 +0000 (23:03 +0100)]
[TASK] Remove deleted class from alias map

Releases: 6.0

Change-Id: Ia711da58f765a91602d0729a4c7dc0d35d012151
Reviewed-on: http://review.typo3.org/16335
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years agoRevert "[BUGFIX] FormViewHelper creates inline styling"
Helmut Hummel [Thu, 8 Nov 2012 09:59:37 +0000 (10:59 +0100)]
Revert "[BUGFIX] FormViewHelper creates inline styling"

This change broke the tests and needs to be further discussed.

This reverts commit cc4f28ba23f7d4ae9feb2bd9fef658d8bfcf1090

Change-Id: Ia6ffb85e58216f74fd9f1586f46a5c32ddc36751
Reviewed-on: http://review.typo3.org/16293
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Escaping E-Mail addresses conflicts with spam protection
Ingo Pfennigstorf [Fri, 7 Sep 2012 14:50:18 +0000 (16:50 +0200)]
[BUGFIX] Escaping E-Mail addresses conflicts with spam protection

In case spamProtectEmailAddresses = ascii is enabled via TypoScript
E-Mail Addresses will now be displayed correctly in the frontend.
The link.email ViewHelper does not escape the added attributes.

Change-Id: Ib5d7639cb12fbcd4d90ecfa39fb7d2576ed3cb87
Fixes: #7453
Releases: 1.3, 1.4, 4.7, 6.0
Reviewed-on: http://review.typo3.org/14438
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] FormViewHelper creates inline styling
Ingo Pfennigstorf [Tue, 11 Sep 2012 14:31:24 +0000 (16:31 +0200)]
[BUGFIX] FormViewHelper creates inline styling

Due to accessibility reasons the inline styling of a container is
removed.

Change-Id: I5b40fafa1abca5c1b43a40cee3a392c690bb23f4
Fixes: #40826
Releases: 6.0
Reviewed-on: http://review.typo3.org/14520
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[TASK] Remove renderFlashMessages ViewHelper
Ingo Pfennigstorf [Fri, 7 Sep 2012 13:34:11 +0000 (15:34 +0200)]
[TASK] Remove renderFlashMessages ViewHelper

This patch removes the deprecated RenderFlashMessages ViewHelper.

Change-Id: I188de4ba629b43275ba432479afb3e0cdccc2031
Fixes: #40556
Releases: 6.0
Reviewed-on: http://review.typo3.org/14434
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
6 years ago[BUGFIX] Always add the "alt" attribute for images
dkd-egerer Sascha Egerer [Fri, 13 Apr 2012 14:32:17 +0000 (16:32 +0200)]
[BUGFIX] Always add the "alt" attribute for images

The ImageViewHelper does not add the alt-attribute to the
image tag if it is not set. This patch renders always the
alt attribute to the img-tag even if it is empty.

Change-Id: I2d69e9cdba428771659f4afc8814ec8eb02d6090
Fixes: #9151
Releases: 6.0, 4.7, 1.3
Reviewed-on: http://review.typo3.org/10426
Reviewed-by: Tilo Baller
Tested-by: Tilo Baller
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
6 years ago[TASK] Remove ext_autoload.php
Helmut Hummel [Sun, 4 Nov 2012 11:19:19 +0000 (12:19 +0100)]
[TASK] Remove ext_autoload.php

The class loader can handle autoloading of Fluid
classes without registry.

Releases: 6.0

Change-Id: If45a4e7e5f28a4ada8becd1744768153575436e9
Reviewed-on: http://review.typo3.org/16183
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Rename FlashMessages to FlashMessageContainer
Helmut Hummel [Sun, 4 Nov 2012 09:47:28 +0000 (10:47 +0100)]
[TASK] Rename FlashMessages to FlashMessageContainer

Variable and method names already use this name, so
it makes sense to use this name as class name, also
to be in line with Flow.

Resolves: #42665
Releases: 6.0

Change-Id: I9b979d7451af25631c67030f09371d443bb4994b
Reviewed-on: http://review.typo3.org/16181
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Rename ExtensionManager class
Helmut Hummel [Sat, 3 Nov 2012 18:46:25 +0000 (19:46 +0100)]
[TASK] Rename ExtensionManager class

The class ExtensionManager is actually a utility
to manage extensions. Rename it to better reflect
it's purpose.

Resolves: #42661
Releases: 6.0

Change-Id: I9662c3feef3a94e7ede8fd46b55b2531debad1ab
Reviewed-on: http://review.typo3.org/16172
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] PHP 5.4 unit test warnings
Christian Kuhn [Fri, 2 Nov 2012 00:14:59 +0000 (01:14 +0100)]
[BUGFIX] PHP 5.4 unit test warnings

PHP 5.4 throws warnings "Creating default object from empty value"
warnings if $foo->bar is accessed and $foo is not an object. This
is the case in several unit tests, especially if $GLOBALS['TSFE']
is accessed.

Fixes: #42612
Releases: 6.0

Change-Id: Ia330dfa96a8374ffc30908c968eafcf350bf79d0
Reviewed-on: http://review.typo3.org/16118
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Backend paginate widget
Jigal van Hemert [Fri, 26 Oct 2012 19:00:05 +0000 (21:00 +0200)]
[FEATURE] Backend paginate widget

Backend modules such as the List module have a paginator which is quite
different from the paginate widget which was backported from Flow.

Change-Id: I48fcffa78ef90939f09a93d65273d9535fb13f0b
Resolves: #42428
Releases: 6.0
Reviewed-on: http://review.typo3.org/15961
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Replace GenericObjectStorage in Fluid
Helmut Hummel [Wed, 31 Oct 2012 20:15:58 +0000 (21:15 +0100)]
[BUGFIX] Replace GenericObjectStorage in Fluid

Change-Id: I60161676e457c20b14bcba3491a4d41b3c83073a
Releases: 6.0
Fixes: #42554
Reviewed-on: http://review.typo3.org/16087
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Replace GenericObjectStorage in Fluid
Alexander Schnitzler [Wed, 31 Oct 2012 11:47:42 +0000 (12:47 +0100)]
[BUGFIX] Replace GenericObjectStorage in Fluid

Releases: 6.0
Fixes: #42554

Change-Id: I6d584c7ccd72b50f1d4fb89ec355258a93fcac70
Reviewed-on: http://review.typo3.org/16076
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
6 years ago[TASK] Replace old class names with namespaced ones
Helmut Hummel [Wed, 31 Oct 2012 11:16:50 +0000 (12:16 +0100)]
[TASK] Replace old class names with namespaced ones

Releases: 6.0

Change-Id: I10badfae2aeff003e47df099e79accd9be6bd678
Reviewed-on: http://review.typo3.org/16073
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Replace depcrated PersistenceManager::getBackend() calls
Kevin Ulrich Moschallski [Sun, 15 Apr 2012 10:02:33 +0000 (12:02 +0200)]
[BUGFIX] Replace depcrated PersistenceManager::getBackend() calls

Viewhelper classes uses deprecated calls of persistenceManager for
getting the backend singleton. Replace it with calls on
persistenceManager and dependency injection.

Change-Id: Ie4466d8d171a4015ef63c63c6d8baa3ac204474e
Fixes: #35961
Fixes: #36080
Releases: 6.0
Reviewed-on: http://review.typo3.org/10481
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
6 years ago[BUGFIX] Make old style Widgets work again
Helmut Hummel [Tue, 16 Oct 2012 18:34:03 +0000 (20:34 +0200)]
[BUGFIX] Make old style Widgets work again

Widgets with underscores in class names do not
work because the subpackage key is not handled
correctly.

Fixes: #42123
Releases: 6.0

Change-Id: I39336881858438c4f5f241cc9f965de0dabf13a2
Reviewed-on: http://review.typo3.org/15745
Reviewed-by: Stefan Neufeind
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Fix typo of internally used variable
Ingo Pfennigstorf [Thu, 18 Oct 2012 09:07:24 +0000 (11:07 +0200)]
[BUGFIX] Fix typo of internally used variable

This fixes the typo in the word "separate" which is sometimes
spelled "seperate"

Change-Id: I8d1fd098c8889805be33dc2d411712fd0f8570ad
Fixes: #42104
Releases: 6.0
Reviewed-on: http://review.typo3.org/15782
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Fix typo: seperator -> separator
Stefan Neufeind [Wed, 17 Oct 2012 20:40:35 +0000 (22:40 +0200)]
[TASK] Fix typo: seperator -> separator

Change-Id: Iba166745b4313a8a963490658866e8c981fa9f01
Resolves: #42104
Releases: 6.0
Reviewed-on: http://review.typo3.org/15777
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Consolidate usage of DocumentTemplate
Helmut Hummel [Sat, 29 Sep 2012 19:01:20 +0000 (21:01 +0200)]
[BUGFIX] Consolidate usage of DocumentTemplate

The fix in #40519 changed the behavior of the getDocInstance
method in AbstractBackendViewHelper. Before the global SOBE
was created on the fly, holding the instance of DocumentTemplate
in the doc property.

Since extensions may rely on the existence of SOBE we need to
create it on the fly.

Instead of implicitly creating a stdClass object in case SOBE
is not set, explicitly instantiate this class and set the doc
property with the DocumentTemplate instance.

The usage of the global SOBE is deprecated since now.

Additionally clean up the PageInfoViewHelper in this regard.

Change-Id: Id9ee51a0cd182f33f9d33fa1d2f4d1cc8994c79f
Resolves: #41329
Releases: 6.0
Reviewed-on: http://review.typo3.org/15007
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Add leading backslashes to InvalidArgumentException
Anja Leichsenring [Tue, 25 Sep 2012 20:46:50 +0000 (22:46 +0200)]
[TASK] Add leading backslashes to InvalidArgumentException

for some cases the leading backslash is missing for PHP standard
classes. This patch adds those backslashes to InvalidArgumentException.

Change-Id: I3749ac33498151744848f7612a809b5f9ac55931
Resolves: #41371
Releases: 6.0
Reviewed-on: http://review.typo3.org/15067
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Provide class alias file for fluid
Thomas Maroschik [Wed, 26 Sep 2012 14:36:05 +0000 (16:36 +0200)]
[TASK] Provide class alias file for fluid

Change-Id: I9aba15b22c020d8041b93d0397d257a04fd0f498
Resolves: #41386
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/15088
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
7 years ago[TASK] Introduce base class for PHPUnit tests
Markus Klein [Fri, 21 Sep 2012 16:27:34 +0000 (18:27 +0200)]
[TASK] Introduce base class for PHPUnit tests

Resolves: #41171
Releases: 6.0

Change-Id: If83629d41d6978fcf8c1f5854c269442392bac27
Reviewed-on: http://review.typo3.org/14858
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[TASK] Update version number of all sysexts to 6.0.0
Markus Klein [Sat, 22 Sep 2012 17:16:48 +0000 (19:16 +0200)]
[TASK] Update version number of all sysexts to 6.0.0

Fixes: #41261
Releases: 6.0

Change-Id: I4952f4da8153d9e073c294baf58d04d82afe8f3e
Reviewed-on: http://review.typo3.org/14932
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Creating default object from empty value in AbstractBackendViewHelper
Philipp Gampe [Sun, 2 Sep 2012 09:10:02 +0000 (11:10 +0200)]
[BUGFIX] Creating default object from empty value in AbstractBackendViewHelper

The object `$GLOBALS['SOBE']` is not always set and thus setting a propery fails.

Change-Id: Ic70833516cb34c3ace9b58aaab61fd8887d0fcf6
Fixes: #40519
Releases: 6.0
Reviewed-on: http://review.typo3.org/14280
Reviewed-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
7 years ago[BUGFIX] Use new class names in fluid tests
Helmut Hummel [Fri, 21 Sep 2012 17:34:13 +0000 (19:34 +0200)]
[BUGFIX] Use new class names in fluid tests

Rename all classes to namespaced class names

Change-Id: I34a88584112bfddb8cbbc8ec0f7f0c3324b8ef38
Resolves: #41194
Releases: 6.0
Reviewed-on: http://review.typo3.org/14863
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove superfluous parenthesis in sysexts
Arvid Jakobsson [Mon, 17 Sep 2012 19:25:51 +0000 (21:25 +0200)]
[TASK] Remove superfluous parenthesis in sysexts

Superfluous brackets in fluid after namespaces move
Change ("a" . "b") . "c" into "a" . "b" . "c" using the lex-pass tool.

Resolves: #41016
Related: #40095
Releases: 6.0
Change-Id: I64741473cb24eda343f0576ebd1a0f1846dfc3f8
Reviewed-on: http://review.typo3.org/14675
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
7 years ago[BUGFIX] Reset makeInstance singletons correctly
Christian Kuhn [Mon, 10 Sep 2012 14:01:09 +0000 (16:01 +0200)]
[BUGFIX] Reset makeInstance singletons correctly

StandaloneViewTest() uses GeneralUtility::purgeInstances() but does not
reset the singletons to the previous state which has side effects on
tests executed afterwards. The patch takes care of correct
reconstitution.

Change-Id: I1332fe772741240b53a10a806a7e89f630289006
Resolves: #40794
Related: #40780
Releases: 6.0
Reviewed-on: http://review.typo3.org/14498
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] TableListViewHelper fatal
Christian Kuhn [Sun, 26 Aug 2012 12:37:49 +0000 (14:37 +0200)]
[BUGFIX] TableListViewHelper fatal

Namespace declaration is at wrong position

Change-Id: Ifd3c9091b835a528bd254d8d2970e12f2efe7120
Resolves: #40228
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14107
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Remove declare(encoding=)
Christian Kuhn [Sat, 25 Aug 2012 20:52:32 +0000 (22:52 +0200)]
[BUGFIX] Remove declare(encoding=)

AbstractWidgetViewHelper can throw warnings about invalid
declare statements if zend.multibyte is off. Those lines
were also dropped in TYPO3.Fluid.

Change-Id: I7f4efca526249034b74ba42b1103b58831b5a2ea
Resolves: #38055
Releases: 6.0
Reviewed-on: http://review.typo3.org/14096
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Fluid unit tests after namespace switch
Christian Kuhn [Sat, 25 Aug 2012 16:12:02 +0000 (18:12 +0200)]
[BUGFIX] Fluid unit tests after namespace switch

Change-Id: I144ea9073e9c9b25ead2aa889dc66cd56971640a
Resolves: #40200
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14086
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Fluid unit test fatal
Christian Kuhn [Sat, 25 Aug 2012 12:12:08 +0000 (14:12 +0200)]
[BUGFIX] Fluid unit test fatal

Change-Id: If049766b53f376634617e3c0da0e1ab0df085fe5
Resolves: #40180
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14074
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Make fluid tests run again
Thomas Maroschik [Fri, 24 Aug 2012 12:00:17 +0000 (14:00 +0200)]
[TASK] Make fluid tests run again

Change-Id: I65f14be5f4d9ec7a71903619e37a4d27b24ca63b
Resolves: #40118
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14033
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Namespace classes
Thomas Maroschik [Wed, 17 Oct 2012 20:20:17 +0000 (22:20 +0200)]
[TASK] Namespace classes

Change-Id: Ia7432e1c923826ed58206bca15fb94509adbd508

6 years ago[TASK][WIP] Move non class code back to source files
Thomas Maroschik [Wed, 17 Oct 2012 19:18:26 +0000 (21:18 +0200)]
[TASK][WIP] Move non class code back to source files

Change-Id: I620d2e61860142cdc89cc83474c95542799961c0

6 years ago[TASK][WIP] Move classes to new locations
Thomas Maroschik [Wed, 17 Oct 2012 15:24:52 +0000 (17:24 +0200)]
[TASK][WIP] Move classes to new locations

Change-Id: I5ab2b907e5700a7ab24bde9ae01effbf32945e96

7 years ago[+FEATURE] Fluid (Core): Add optional default-value for tag-based viewhelpers
Stefan Neufeind [Sat, 11 Jun 2011 20:19:55 +0000 (22:19 +0200)]
[+FEATURE] Fluid (Core): Add optional default-value for tag-based viewhelpers

In AbstractTagBasedViewHelper there is no option for a default-value.
However registerArgument() is already capable to receive a
default-value. So the viewhelper just needs to pass it through.

Thanks to Georg Ringer

Release: 6.0
Resolves: #11419
Change-Id: Ib60efad27c7f00dd79bd781393cbe332ecbbbecf
Reviewed-on: http://review.typo3.org/2671
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
7 years ago[FEATURE] GroupedForViewHelper accepts property path as groupBy argument
Bastian Waidelich [Fri, 24 Feb 2012 10:07:48 +0000 (11:07 +0100)]
[FEATURE] GroupedForViewHelper accepts property path as groupBy argument

This change allows the GroupedForViewHelper to accept not only a property/array key as
argument but also a property path. This reduces memory consumption for more complex
object graphs. Also, It enables a developer to create a custom algorithm (getter) to provide
the value to compare. The change is backwards compatible.
(this is backported from #9244)

Change-Id: Idcc002e89f6ec121fcbd9e75cd002ff7ad2946f1
Related: #9244
Reviewed-on: http://review.typo3.org/9173
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[FEATURE] optional "extensionName" argument for f:translate
Bastian Waidelich [Mon, 7 May 2012 13:39:32 +0000 (15:39 +0200)]
[FEATURE] optional "extensionName" argument for f:translate

By default the Translate ViewHelper uses the current extension
name to resolve paths to locallang files.
This adds a new optional argument "extensionName" that can be
specified in order to localize labels from other Extensions.

Change-Id: I44b28d5f8c7765e83d686fcecebf73db1ab1d05e
Fixes: #39882
Related: #12502
Releases: 6.0
Reviewed-on: http://review.typo3.org/11049
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
7 years ago[!!!][TASK] Adapt UploadViewHelper to changes made in extbase
Tymoteusz Motylewski [Thu, 26 Jul 2012 20:27:39 +0000 (22:27 +0200)]
[!!!][TASK] Adapt UploadViewHelper to changes made in extbase

This patch make UploadViewHelper compatible with handling $_FILES
in Extbase.

Upload viewHelper should be mapped to an array instead of string
from now on.

Resolves: #39303
Related: #34528

Releases: 6.0

Change-Id: If9870fd75702e951b8cf073e357b57fe408c3a15
Reviewed-on: http://review.typo3.org/13085
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Markus Günther
Tested-by: Markus Günther
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
7 years ago[BUGFIX] RenderingContext should be instanciated by interface to allow own implementation
TImo Schmidt [Thu, 16 Feb 2012 22:34:21 +0000 (23:34 +0100)]
[BUGFIX] RenderingContext should be instanciated by interface to allow own implementation

The RenderingContext should be instanciated by the interface name
instead of the concrete Classname in Classes/View/TemplateView.php

Changing "Tx_Fluid_Core_Rendering_RenderingContext" to
"Tx_Fluid_Core_Rendering_RenderingContextInterface" will allow to register
an own rendering context object.

Fixes: #39156
Releases: 6.0, 4.7, 1.4
Change-Id: I3991a079d2441b35a54b607202caddeeb9e71666
Reviewed-on: http://review.typo3.org/9063
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
7 years ago[TASK] Renamed Textbox view helper unit test
Kilian Hann [Sat, 14 Apr 2012 10:52:16 +0000 (12:52 +0200)]
[TASK] Renamed Textbox view helper unit test

As the textbox view helper has been renamed to textfield view helper,
the unit test follows the naming schema.

Change-Id: I416ebc080c519162fbe0d82bc69863af64e3a5e1
Fixes: #36011
Releases: 6.0
Reviewed-on: http://review.typo3.org/10455
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Speed up f:format.currency
Kilian Hann [Fri, 13 Apr 2012 20:09:14 +0000 (22:09 +0200)]
[BUGFIX] Speed up f:format.currency

If the children evaluate to an empty string, they will be initialized
with 0.00 which speeds up the performance of number_format()

Change-Id: I43176199a5568943483925472ed1323373cdacd1
Fixes: #34519
Releases: 6.0
Related: #36207
Reviewed-on: http://review.typo3.org/10443
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] resolveDefaultEncoding with wrong fallback
Markus Günther [Fri, 20 Jul 2012 17:33:23 +0000 (19:33 +0200)]
[BUGFIX] resolveDefaultEncoding with wrong fallback

Since TYPO3 4.7 the forceCharset configuration is deprecated. The class
Tx_Fluid_Core_Compiler_AbstractCompiledTemplate still uses the value
configured value $GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset'].
This patch removes this handling and always sets UTF-8 if no other
default charset is set.

Change-Id: I66b9368ad029326c2e26f4e004483d8b4b18ebe2
Resolves: #37929
Releases: 6.0
Reviewed-on: http://review.typo3.org/12937
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[CLEANUP] Fluid CGL cleanup fix doc comments
Tymoteusz Motylewski [Fri, 16 Mar 2012 09:26:24 +0000 (10:26 +0100)]
[CLEANUP] Fluid CGL cleanup fix doc comments

Change-Id: I6db05ff62e7a89cc68b5dbae72d1925b2d13de67
Resolves: #34898
Release: 6.0
Reviewed-on: http://review.typo3.org/9685
Reviewed-by: Daniel Lorenz
Tested-by: Daniel Lorenz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Backport Fluid from FLOW3 1.0.5
Tymoteusz Motylewski [Fri, 20 Jul 2012 21:29:17 +0000 (23:29 +0200)]
[TASK] Backport Fluid from FLOW3 1.0.5

Make Extbase Fluid in sync with FLOW3 1.0.5 (Fluid rev 152ae289)

Change-Id: I0c043b6cc7bc7e3dac0145d83a2ff885a34b5cfc
Resolves: #39149
Releases: 6.0
Reviewed-on: http://review.typo3.org/12952
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Tested-by: Oliver Klee
Reviewed-by: Daniel Lorenz
Tested-by: Daniel Lorenz
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
7 years ago[FEATURE] CurrencyViewhelper can prepend the currency sign
Kilian Hann [Fri, 13 Apr 2012 20:23:43 +0000 (22:23 +0200)]
[FEATURE] CurrencyViewhelper can prepend the currency sign

With the flag $prependCurrency = TRUE the currency sign can be prepended
instead of appended (e.g. CHF 123.00)
The additional parameter $separateCurrency determines whether the currency
sign should be separated by a space (e.g. $123.00).

Change-Id: I5dd13de5fd40ba165fdc2dbfa17c7a6d224dc296
Fixes: #33854
Releases: 1.4
FLOW3 Issue: #36014
Reviewed-on: http://review.typo3.org/10444
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Matthias Nitsch
Reviewed-by: Daniel Lorenz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[TASK] Remove trailing whitespace
dkd-egerer Sascha Egerer [Sat, 14 Apr 2012 19:43:10 +0000 (21:43 +0200)]
[TASK] Remove trailing whitespace

There must be no empty lines after the closing
PHP tag. Empty lines after closing tags break
output compression in PHP and/or result in AJAX
errors.

Change-Id: I0484ca29d8134d0828cf30880d5aafd43ed9d78e
Resolves: #36076
Releases: 6.0
Reviewed-on: http://review.typo3.org/10499
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Daniel Lorenz
Tested-by: Daniel Lorenz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Fix the PhpDoc comments of GroupedForViewHelperTest
Oliver Klee [Fri, 13 Jul 2012 12:30:36 +0000 (14:30 +0200)]
[BUGFIX] Fix the PhpDoc comments of GroupedForViewHelperTest

Fix a copy'n'paste error in the class documentation comment and
add the missing "@" in an @var.

Change-Id: Iaa1d594df08913b11192f680f27e03ff43953218
Releases: 6.0
Fixes: #38935
Reviewed-on: http://review.typo3.org/12783
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
7 years ago[BUGFIX] Fix failing unit tests for format.htmlentities ViewHelper
Bastian Waidelich [Wed, 27 Jun 2012 09:15:19 +0000 (11:15 +0200)]
[BUGFIX] Fix failing unit tests for format.htmlentities ViewHelper

This fixes two unit tests that are broken due to some encoding
conflict.

Change-Id: I2bb563df19dd6053618555a35cda34783612e469
Fixes: #38433

7 years agoMerge "[BUGFIX] Translate labels in paginate widget"
Marc Bastian Heinrichs [Wed, 16 May 2012 17:07:30 +0000 (19:07 +0200)]
Merge "[BUGFIX] Translate labels in paginate widget"

7 years ago[BUGFIX] Return empty result in pagination if page does not exist
dkd-egerer Sascha Egerer [Fri, 13 Apr 2012 14:56:41 +0000 (16:56 +0200)]
[BUGFIX] Return empty result in pagination if page does not exist

The pagination widget does currently return the content of the
latest page if the requestet page is higher than the available page.

This patch changes this behavior so that an empty result is returned
for non existing pages.

Change-Id: Iadde1951e70ef5ddfbdc9830cb3121594862f700
Fixes: #33033
Releases: master, 4.7, 1.4, 1.3

7 years ago[BUGFIX] Translate labels in paginate widget
Tymoteusz Motylewski [Wed, 28 Mar 2012 20:54:18 +0000 (22:54 +0200)]
[BUGFIX] Translate labels in paginate widget

Remove hardcoded labels in paginate widget.

Thanks to Alexander Stehlik for providing a patch.

Change-Id: Ic79be9b117cc34d7c3b4d140b10598cd5ff72360
Fixes: #35332
Releases: 1.4, 4.7, 6.0
Related: #27516

7 years ago[SECURITY] Protect arguments of form __referrer with HMAC
Felix Oertel [Wed, 28 Mar 2012 10:02:57 +0000 (12:02 +0200)]
[SECURITY] Protect arguments of form __referrer with HMAC

The request arguments of the referring request are
a serialized string written to one of the hidden
fields in a Fluid form. This string has to be protected
by a HMAC to protect Extbase from possible unserialize
attacks.

Note: For now there is no object known within Extbase,
that could be used for an unserialize exploit!

Change-Id: Ic59b34bd9b58e43158ebe05116c8f577334a729e
Security-Bulletin: TYPO3-CORE-SA-2012-001
Related: #35310
Releases: 1.4, 4.7, 6.0

7 years ago[TASK] Cleanup/Fix ViewHelper doc comments
Bastian Waidelich [Fri, 24 Feb 2012 10:01:09 +0000 (11:01 +0100)]
[TASK] Cleanup/Fix ViewHelper doc comments

This tweakes some ViewHelper doc comments so that they can be
rendered with the new Reference command introduced with #33675.
No functional changes.
Backported from #33675

Change-Id: Id61467382d0d983b661dbb817d95f3b50bc66f48
Related: #33675

7 years ago[BUGFIX] Tx_Fluid_ViewHelpers_Be_Buttons_IconViewHelper broken
Daniel Lienert [Fri, 28 Oct 2011 15:17:45 +0000 (17:17 +0200)]
[BUGFIX] Tx_Fluid_ViewHelpers_Be_Buttons_IconViewHelper broken

It seems as the sprite keys in
$GLOBALS['TBE_STYLES']['spriteIconApi']['iconsAvailable']
have changed with TYPO3 4.6 and this change was not reflected in
the experimental backend IconViewHelper, so the old key are not
longer valid and new ones cant be used because of the allowedIconArray.

I removed the "securityCheck" and the allowedIconArray, because the validity
of the icon name is checked again in t3lib_iconWorks::getSpriteIcon
against the iconAvailable array.

Change-Id: Ib7cebd9c6dbcd60d487480dea6bf263c9164c2fd

7 years agoMerge "[TASK] Increase version number"
Claus Due [Tue, 21 Feb 2012 09:20:18 +0000 (10:20 +0100)]
Merge "[TASK] Increase version number"

7 years ago[TASK] The DebugViewHelper now utilizes the Extbase Debugger.
Alexander Schnitzler [Tue, 10 Jan 2012 20:42:23 +0000 (21:42 +0100)]
[TASK] The DebugViewHelper now utilizes the Extbase Debugger.

Wraps Tx_Extbase_Utility_Debugger::var_dump() (enhanced
backport of FLOW3).

Introduces new arguments for <f:debug>:

* maxDepth (int) default 8
* plainText (bool) default FALSE
* ansiColors (bool) default FALSE
* inline (bool) default FALSE
* blacklistedClassNames (array) default NULL
* blacklistedPropertyNames (array) default NULL

Change-Id: I05d5fcbadbda4429c414faec5e1901e30e59fcdd
Resolves: #33900
Releases: 4.7

7 years agoMerge "[TASK] Simplify license header and remove @author annotations"
Stefan Neufeind [Tue, 22 Nov 2011 09:25:01 +0000 (10:25 +0100)]
Merge "[TASK] Simplify license header and remove @author annotations"

7 years ago[TASK] Increase version number
Bastian Waidelich [Fri, 11 Nov 2011 15:02:40 +0000 (16:02 +0100)]
[TASK] Increase version number

from 1.4.0 to 1.5.0-devel

Change-Id: I3a8b639fb3d057b534c16d7e56191ecfa050905a

7 years ago[FEATURE] CData ViewHelper
Bastian Waidelich [Fri, 11 Nov 2011 14:43:12 +0000 (15:43 +0100)]
[FEATURE] CData ViewHelper

This adds a viewhelper that outputs the given string without
escaping and wrapped with CDATA tags.
usage:
{string -> f:format.cdata()}

Change-Id: Ic5552e4a7fad09500a38f6fab2cdba24abc47f56
Resolves: #31756

7 years ago[TASK] Simplify license header and remove @author annotations
Bastian Waidelich [Thu, 10 Nov 2011 17:27:58 +0000 (18:27 +0100)]
[TASK] Simplify license header and remove @author annotations

This backports three recent changes of the TYPO3.Fluid package:
- Remove @license annotation from files (290f4f5)
- Simplify license header in PHP files (14bacba)
- Drop @author tags from source code (9c2e837)

This should not contain any functional change!

Change-Id: I9376dca4af78c4f0f82413011d115b8ad04634dd

7 years ago[FEATURE] maximumNumberOfLinks argument in paginate widget
Henjo Hoeksma [Mon, 7 Nov 2011 11:00:29 +0000 (12:00 +0100)]
[FEATURE] maximumNumberOfLinks argument in paginate widget

This adds a new widget option configuration.maximumNumberOfLinks
to the widget.paginate ViewHelper.
This is a backport of the respective feature of the FLOW3
package.

Resolves: #31632
Change-Id: I6716404d6ae3be576b9978209b78d952c33284f9

7 years ago[BUGFIX] TextboxViewHelper does not return anything
Daniel Lienert [Thu, 27 Oct 2011 08:31:31 +0000 (10:31 +0200)]
[BUGFIX] TextboxViewHelper does not return anything

Deprecated textBoxViewHelper inherits textFieldViewHelper
to render the textField but the return
is missing to pass the HTML through.

Change-Id: I46bb4faa0afa063a50eb89a16238ff49240d5d6b
Resolves: #31331
Releases: 4.6, 4.7

7 years ago[BUGFIX] Fix PHP Warnings in Unit Tests
Bastian Waidelich [Fri, 21 Oct 2011 14:18:27 +0000 (16:18 +0200)]
[BUGFIX] Fix PHP Warnings in Unit Tests

Some unit tests fail when PHP warnings are not supressed.
This change fixes those

Change-Id: I493b352ed61aab82739276353dd2d5aef973db7e

7 years ago[TASK] Update release notes and version numbers to 1.4.0
Sebastian Kurfuerst [Fri, 21 Oct 2011 10:20:28 +0000 (12:20 +0200)]
[TASK] Update release notes and version numbers to 1.4.0

Change-Id: I2ef44aa49c502e4892840ccca420bc96d65c8844

7 years agoMerge "[BUGFIX] use $for only when not empty and not NULL"
Bastian Waidelich [Wed, 19 Oct 2011 07:27:19 +0000 (09:27 +0200)]
Merge "[BUGFIX] use $for only when not empty and not NULL"

7 years ago[TASK] Update version to 1.4.0-rc1
Bastian Waidelich [Tue, 11 Oct 2011 09:48:20 +0000 (11:48 +0200)]
[TASK] Update version to 1.4.0-rc1

Change-Id: I7999b7ac84b725d2205ec53eacb1433c0a4fd0fc

8 years ago[TASK] Increase version number
Bastian Waidelich [Mon, 19 Sep 2011 18:01:17 +0000 (20:01 +0200)]
[TASK] Increase version number

This change increases version number to 1.4.0-beta3
Besides it updates the dependency constraint to require Extbase v1.4.0-beta3

Change-Id: Ib4d7e6202600a343445889b9ec782d29574edecf

8 years agoMerge "[FEATURE] Add parameter to RenderViewHelper for optional sections"
Bastian Waidelich [Tue, 13 Sep 2011 08:23:25 +0000 (10:23 +0200)]
Merge "[FEATURE] Add parameter to RenderViewHelper for optional sections"

8 years agoMerge "[BUGFIX] ViewHelper: Make SelectViewHelper use property paths as arguments"
Bastian Waidelich [Tue, 13 Sep 2011 08:23:16 +0000 (10:23 +0200)]
Merge "[BUGFIX] ViewHelper: Make SelectViewHelper use property paths as arguments"

8 years agoMerge "[BUGFIX] Fix Doc comment in format.padding ViewHelper"
Bastian Waidelich [Tue, 13 Sep 2011 08:23:00 +0000 (10:23 +0200)]
Merge "[BUGFIX] Fix Doc comment in format.padding ViewHelper"

8 years ago[BUGFIX] Create new CObject in CObject ViewHelper
Bastian Waidelich [Fri, 9 Sep 2011 18:41:05 +0000 (20:41 +0200)]
[BUGFIX] Create new CObject in CObject ViewHelper

Previously CObject ViewHelper used the Content Object
of the Plugin. Sharing the same instance has some side
effects though (see #12332).
With this change the CObject ViewHelper new creates
a fresh tslib_cObj instance.

Change-Id: Ie1265b86641d86d31d6a37ec9fb84949809ca6c5
Resolves: #12332

8 years ago[BUGFIX] Fix Doc comment in format.padding ViewHelper
Bastian Waidelich [Wed, 7 Sep 2011 14:53:20 +0000 (16:53 +0200)]
[BUGFIX] Fix Doc comment in format.padding ViewHelper

This fixes the render() doc comment that was still referring
to printf.
Besides this changes the code to by in sync with the v5
implementation (which has been changed in the same time
apparently).

Change-Id: I2ad4f587c3e8b83932c5dd41469dbfbeae1d715c
Related: #9283

8 years ago[BUGFIX] ViewHelper: Make SelectViewHelper use property paths as arguments
Bastian Waidelich [Wed, 7 Sep 2011 14:46:39 +0000 (16:46 +0200)]
[BUGFIX] ViewHelper: Make SelectViewHelper use property paths as arguments

The SelectViewHelper now uses ObjectAccess::getPropertyPath instead of
ObjectAccess::getProperty to resolve its parameters.

Change-Id: Ie841aa195b5fc814d49ab36a4c838e1015fcf508

8 years ago[FEATURE] Add parameter to RenderViewHelper for optional sections
Bastian Waidelich [Wed, 7 Sep 2011 13:52:51 +0000 (15:52 +0200)]
[FEATURE] Add parameter to RenderViewHelper for optional sections

This change adds an additional parameter to allow optional sections
that will be rendered as an empty string if they were not defined
by a template.

Usage:
<f:render section="someOptionalSection" optional="true" />

Change-Id: I46ee53ff93742c4049e9dad1a16201e45b081a4b

8 years ago[BUGFIX] Sanitize identifier when compiling templates
Bastian Waidelich [Wed, 7 Sep 2011 13:23:23 +0000 (15:23 +0200)]
[BUGFIX] Sanitize identifier when compiling templates

The "identifier" of a compiled template is based on the
last modification timestamp and on the name of the original
template/partial/layout.
if that name contains special characters (like dashes),
the class name of the compiled template is invalid
resulting in a fatal error.
This is fixed by sanitizing the identifier before creating
the compiled template.

Change-Id: I99947683923175d890077a5f98ad8922e24e60b3
Related: #29457

8 years ago[BUGFIX] use $for only when not empty and not NULL
Peter Niederlag(office) [Wed, 24 Aug 2011 15:52:52 +0000 (17:52 +0200)]
[BUGFIX] use $for only when not empty and not NULL

Dont restrict errors to argument $for
when $for is empty string OR NULL

Change-Id: Ic831aeb3355ce2fdba3bb7bbeec1fe4eb467f48d
Resolves: #29229

8 years ago[+BUGFIX] disable cache when displaying FlashMessages in frontend
Claus Due [Mon, 16 May 2011 21:23:31 +0000 (23:23 +0200)]
[+BUGFIX] disable cache when displaying FlashMessages in frontend

This resolves #5297 by making the FlashMessage
ViewHelper disable the page cache to prevent caching rendered
FlashMessage-HTML in a cacheable controller action which uses
FlashMessages.

Change-Id: I2eeb615625442d9040a0bb21b9e231e224dcba86
Fixes: #5297