Packages/TYPO3.CMS.git
8 years ago[FEATURE] PaddingViewHelper: allow padding-type right/left/both
Stefan Neufeind [Sat, 11 Jun 2011 15:20:32 +0000 (17:20 +0200)]
[FEATURE] PaddingViewHelper: allow padding-type right/left/both

Adding 4th parameter of str_pad() to the ViewHelper

Change-Id: I3120e2ae9970c50fc525728168d3828166d09f23
Resolves: #9283

8 years ago[~TASK] Update jQuery versions
Bastian Waidelich [Mon, 6 Jun 2011 18:02:30 +0000 (20:02 +0200)]
[~TASK] Update jQuery versions

- Update linked jQuery version from 1.4.2 to 1.6
- Update linked jQuery UI version from 1.8.4 to 1.8
- Rename static TS file to make clear that this is optional

Change-Id: Ic802471aa6a29c4f944e23f1f85185880856db1f

8 years agoMerge "[+BUGFIX] ActionMenuItemViewHelper: XHTML compliance in "selected" attribute...
Sebastian Kurfuerst [Thu, 26 May 2011 16:30:17 +0000 (18:30 +0200)]
Merge "[+BUGFIX] ActionMenuItemViewHelper: XHTML compliance in "selected" attribute value"

8 years ago[+BUGFIX] CObjViewHelper: fixed using numeric values as data argument
Claus Due [Mon, 16 May 2011 21:51:43 +0000 (23:51 +0200)]
[+BUGFIX] CObjViewHelper: fixed using numeric values as data argument

Added a simple extra condition is_numeric() to treat numeric
values the same as string values.

Change-Id: I805fcb37ff17b879d37e9e9e5c657552d4335afd
Fixes: #12891

8 years ago[+BUGFIX] ActionMenuItemViewHelper: XHTML compliance in "selected" attribute value
Claus Due [Mon, 16 May 2011 21:43:03 +0000 (23:43 +0200)]
[+BUGFIX] ActionMenuItemViewHelper: XHTML compliance in "selected" attribute value

This changes the value from TRUE to 'selected' for XHTML compliance.
Thanks to Andreas Kiessling for reporting.

Change-Id: I54651b737d658731d254c9692f714ac8df4a0079
Fixes: #8744

8 years ago[+BUGFIX] Fluid: CObjViewHelper fix deprecated call "getAccessibleProperties"
Claus Due [Mon, 16 May 2011 20:15:38 +0000 (22:15 +0200)]
[+BUGFIX] Fluid: CObjViewHelper fix deprecated call "getAccessibleProperties"

This simply changes the call to to use new method
Tx_Extbase_Reflection_ObjectAccess::getGettablePropertyNames

Change-Id: I98184e96f76714835f02197d118681fdb85d5509
Fixes: #26138

8 years ago[!!!][+TASK] Fluid v4 (Core): Make layout UpperCamelCase
Rens Admiraal [Tue, 8 Feb 2011 10:10:08 +0000 (11:10 +0100)]
[!!!][+TASK] Fluid v4 (Core): Make layout UpperCamelCase

- Sets the default layout to Default
- Uses a fallback if the UpperCamelCase file is not found, but
  there's a lowerCamelCase file available

Change-Id: Ifdbb33889de8772d45ec8cac417c48bf0c84b729

8 years ago[~TASK] Fluid: Raising version from 1.3.0 to 1.4.0-devel
Bastian Waidelich [Tue, 15 Feb 2011 15:42:50 +0000 (16:42 +0100)]
[~TASK] Fluid: Raising version from 1.3.0 to 1.4.0-devel

Change-Id: Ia136f0d1da2c5ef3500a7f57d0e8042005c850e8

8 years ago[+FEATURE] Fluid (ViewHelpers): Add RawViewHelper
Bastian Waidelich [Mon, 14 Feb 2011 14:13:06 +0000 (15:13 +0100)]
[+FEATURE] Fluid (ViewHelpers): Add RawViewHelper

Adding RawViewHelper that deactivates any Fluid escaping interceptors
allowing it to output raw HTML.
Use it like: {content -> f:format.raw()}

Change-Id: I938fd66a514d5af01b17bfa1310dd89f784cfcc2

8 years ago[+FEATURE] Fluid v4 (Core): Set layoutName by variable
Rens Admiraal [Fri, 4 Feb 2011 08:30:31 +0000 (09:30 +0100)]
[+FEATURE] Fluid v4 (Core): Set layoutName by variable

v4 version of https://review.typo3.org/#change,753

Change-Id: I37c08409c4f54da98610c1170ea5f712c107877a

8 years ago* Raising Version number to 1.3.0
Sebastian Kurfürst [Wed, 26 Jan 2011 08:14:20 +0000 (08:14 +0000)]
* Raising Version number to 1.3.0

8 years agoReverting r3994: DateViewHelper now supports strftime format strings
Sebastian Kurfürst [Wed, 26 Jan 2011 08:08:16 +0000 (08:08 +0000)]
Reverting r3994: DateViewHelper now supports strftime format strings

because of non-consensus in discussion.

8 years ago[+BUGFIX] Fluid (Tests): Fixed Fluid unit tests!
Bastian Waidelich [Tue, 25 Jan 2011 19:37:31 +0000 (19:37 +0000)]
[+BUGFIX] Fluid (Tests): Fixed Fluid unit tests!

8 years ago[+TASK] Fluid (ViewHelpers): format.date added inline documentation for localized...
Bastian Waidelich [Tue, 25 Jan 2011 19:36:15 +0000 (19:36 +0000)]
[+TASK] Fluid (ViewHelpers): format.date added inline documentation for localized dates

Thanks to Franz Koch

Relates to: #9174

8 years ago[+TASK] Fluid (ViewHelpers): Extended inline documentation of FlashMessages ViewHelper
Bastian Waidelich [Tue, 25 Jan 2011 16:29:52 +0000 (16:29 +0000)]
[+TASK] Fluid (ViewHelpers): Extended inline documentation of FlashMessages ViewHelper

8 years ago[+BUGFIX] Fixed comparison of Objects
Sebastian Kurfürst [Tue, 25 Jan 2011 14:44:38 +0000 (14:44 +0000)]
[+BUGFIX] Fixed comparison of Objects

Objects in comparison expressions were compared lazily
with == before this change. Now, they are compared with
===, which is the expected behavior on objects.

8 years ago[+BUGFIX] Fluid (Tests): Fixed CropViewHelper unit test
Bastian Waidelich [Tue, 25 Jan 2011 13:37:34 +0000 (13:37 +0000)]
[+BUGFIX] Fluid (Tests): Fixed CropViewHelper unit test

8 years ago[+FEATURE] Fluid (ViewHelpers): DateViewHelper now supports strftime format strings
Bastian Waidelich [Tue, 25 Jan 2011 13:37:03 +0000 (13:37 +0000)]
[+FEATURE] Fluid (ViewHelpers): DateViewHelper now supports strftime format strings

Until now format.date did not support localized format strings as it internally used
the DateTime format strings.
Note: DateTime formats are still supported for backwards compatibility reasons,
but a deprecation log entry will be written and the support will probably be
dropped with version 1.5.
Thanks to Steffen Ritter, Marc Bastian Heinrichs and Franz Koch for their patches!

Resolves: #9174

8 years ago[+TASK] Fluid (ViewHelpers): fixed typo in doc comment examples of emailViewhelper
Franz Koch [Fri, 21 Jan 2011 18:00:20 +0000 (18:00 +0000)]
[+TASK] Fluid (ViewHelpers): fixed typo in doc comment examples of emailViewhelper

8 years ago* Updated ChangeLog and ext_emconf.php for 1.3.0RC1
Sebastian Kurfürst [Fri, 21 Jan 2011 13:10:34 +0000 (13:10 +0000)]
* Updated ChangeLog and ext_emconf.php for 1.3.0RC1

8 years ago[+BUGFIX] Fluid (Widget): Adopt Widget Bootstrap to Extbase Bootstrap changes
Sebastian Kurfürst [Fri, 21 Jan 2011 12:41:39 +0000 (12:41 +0000)]
[+BUGFIX] Fluid (Widget): Adopt Widget Bootstrap to Extbase Bootstrap changes

Problem: The configureObjectManager method in Tx_Fluid_Core_Widget_Bootstrap
uses a call on a static method Tx_Extbase_Object_Container_Container::getContainer()
which doesn't exist anymore. The Container has become a t3lib_Singleton.

This patch changes the behavior, and makes it work again.

Thanks to Thomas Maroschik for the patch!

Resolves: #11991

8 years ago[+BUGFIX] Fluid (Core): Allow ViewHelpers to be placed in t3lib and tslib
Sebastian Kurfürst [Tue, 18 Jan 2011 05:03:16 +0000 (05:03 +0000)]
[+BUGFIX] Fluid (Core): Allow ViewHelpers to be placed in t3lib and tslib

The Fluid template parser does now recognize ViewHelpers inside t3lib/
or sysext/cms/tslib/, so Fluid can now be used inside the TYPO3 core.

Thanks to Andreas Wolf for the patch!

Resolves: #12061

8 years ago[+BUGFIX] Fluid (View): Fix StandaloneView
Bastian Waidelich [Thu, 13 Jan 2011 15:19:21 +0000 (15:19 +0000)]
[+BUGFIX] Fluid (View): Fix StandaloneView

Since implementation of Dependency Injection the Fluid
Standalone view was broken in some cases, cause it did not
properly initialize all needed objects.

Fixes: #11520

8 years ago* Updating ChangeLog for 1.3.0beta4.
Sebastian Kurfürst [Wed, 12 Jan 2011 15:39:21 +0000 (15:39 +0000)]
* Updating ChangeLog for 1.3.0beta4.

8 years ago[~TASK] Fluid (Tests): Fixed some testcase class names
Bastian Waidelich [Thu, 30 Dec 2010 17:18:12 +0000 (17:18 +0000)]
[~TASK] Fluid (Tests): Fixed some testcase class names

8 years ago[+FEATURE] Fluid (ViewHelpers): prepend URIs with scheme if it's not specified in...
Bastian Waidelich [Thu, 30 Dec 2010 17:17:43 +0000 (17:17 +0000)]
[+FEATURE] Fluid (ViewHelpers): prepend URIs with scheme if it's not specified in link.external / uri.external ViewHelpers

Resolves #10401

8 years ago[+TASK] Fluid (ViewHelpers): Fix, cleanup and extend inline documentation of ViewHelpers
Bastian Waidelich [Thu, 30 Dec 2010 16:21:11 +0000 (16:21 +0000)]
[+TASK] Fluid (ViewHelpers): Fix, cleanup and extend inline documentation of ViewHelpers

Resolves #10908

8 years ago[+BUGFIX] Fluid (View): Fixed deprecation message about lowercase template files...
Bastian Waidelich [Thu, 30 Dec 2010 14:30:35 +0000 (14:30 +0000)]
[+BUGFIX] Fluid (View): Fixed deprecation message about lowercase template files names

Fixes #10975

8 years ago* Raising version number to 1.3.0beta3
Sebastian Kurfürst [Mon, 27 Dec 2010 07:30:24 +0000 (07:30 +0000)]
* Raising version number to 1.3.0beta3

8 years ago[+BUGFIX] Fluid (ViewHelpers): tweaked SelectViewHelper to avoid fatal error on PHP 5.2
Bastian Waidelich [Tue, 14 Dec 2010 18:01:11 +0000 (18:01 +0000)]
[+BUGFIX] Fluid (ViewHelpers): tweaked SelectViewHelper to avoid fatal error on PHP 5.2

Fixes: #8749

8 years ago* Updated ChangeLog
Sebastian Kurfürst [Wed, 1 Dec 2010 05:17:46 +0000 (05:17 +0000)]
* Updated ChangeLog
* Raised Version Number to 1.3.0beta2

8 years ago[+BUGFIX] Fluid (ViewHelpers/Widget): widget.link and widget.uri no create relative...
Bastian Waidelich [Sat, 27 Nov 2010 11:38:14 +0000 (11:38 +0000)]
[+BUGFIX] Fluid (ViewHelpers/Widget): widget.link and widget.uri no create relative URLs

This fixes: #11101

8 years ago[+FEATURE] Fluid (ViewHelpers): Add render mode to FlashMessage ViewHelper
Bastian Waidelich [Sat, 27 Nov 2010 11:36:24 +0000 (11:36 +0000)]
[+FEATURE] Fluid (ViewHelpers): Add render mode to FlashMessage ViewHelper
Since r3062 Extbase uses the t3lib_FlashMessageQueue to store flashmessages.
Now you can output them including title and severity, making it possible
to render flashmessages just like the ones from the core in BE mode.
To keep backwards compatibility, the default rendering still outputs
only the message bodies in an unordered list. Set the renderMode argument
to "div" in order to display the new style:
<f:flashMessages renderMode="div" />

Relates to: #10821

8 years ago[-TASK] Fluid: Removed all @scope annotations as they are not used in v4
Bastian Waidelich [Fri, 19 Nov 2010 20:58:09 +0000 (20:58 +0000)]
[-TASK] Fluid: Removed all @scope annotations as they are not used in v4

8 years ago[+TASK] Fluid (View): Added additional check for deprecated lower case template filen...
Bastian Waidelich [Fri, 19 Nov 2010 09:43:33 +0000 (09:43 +0000)]
[+TASK] Fluid (View): Added additional check for deprecated lower case template filenames that works on case insensitive file systems (Windows) too. Watch your deprecation log in typo3conf and fix your template filenames if they're still lower case.

8 years ago[+BUGFIX]: explicitly cast offset to integer to avoid exceptions in paginate view...
Bastian Waidelich [Thu, 18 Nov 2010 12:09:29 +0000 (12:09 +0000)]
[+BUGFIX]: explicitly cast offset to integer to avoid exceptions in paginate view helper

This fixes: #10902

9 years ago* Updated version to 1.3.0beta1a
Bastian Waidelich [Wed, 17 Nov 2010 12:24:00 +0000 (12:24 +0000)]
* Updated version to 1.3.0beta1a
* Updated ChangeLog

9 years ago[+FEATURE] Fluid (ViewHelpers): the subject argument of the count ViewHelper is now...
Bastian Waidelich [Wed, 17 Nov 2010 08:19:29 +0000 (08:19 +0000)]
[+FEATURE] Fluid (ViewHelpers): the subject argument of the count ViewHelper is now optional so you can use it like {objects -> f:count()}
[+BUGFIX] Fluid (ViewHelpers): Fixed inline documentation of widget.autocomplete ViewHelper. This fixes #10882
[+TASK] Fluid (ViewHelpers): Added some more inline documentation for cObject, widget.paginate, widget.autocomplete & count ViewHelpers

9 years ago[+BUGFIX] Fluid (ViewHelpers): replaced two occurrences of Tx_Extbase_Dispatcher...
Bastian Waidelich [Tue, 16 Nov 2010 23:49:43 +0000 (23:49 +0000)]
[+BUGFIX] Fluid (ViewHelpers): replaced two occurrences of Tx_Extbase_Dispatcher::*() by using the injected ConfigurationManager
[+TASK] Fluid (ViewHelpers): uri.image now works in BE mode too

9 years ago[+BUGFIX] Fluid (ViewHelpers): Adjustment to skinning api change
Sebastian Kurfürst [Tue, 16 Nov 2010 12:44:26 +0000 (12:44 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Adjustment to skinning api change

The Fluid ViewHelper now uses the skinning API correctly.
This bugfix has been already in TYPO3 Core, but not yet here.

9 years ago* Updated version to 1.3.0beta1
Sebastian Kurfürst [Tue, 16 Nov 2010 11:23:15 +0000 (11:23 +0000)]
* Updated version to 1.3.0beta1

9 years ago[!!!][TASK] Fluid (ViewHelpers): Rename widget link ViewHelpers
Sebastian Kurfürst [Tue, 16 Nov 2010 11:03:19 +0000 (11:03 +0000)]
[!!!][TASK] Fluid (ViewHelpers): Rename widget link ViewHelpers

Renaming Widget link ViewHelpers from
<f:link.widget> and <f:uri.widget> to
<f:widget.link> and <f:widget.uri>

9 years ago* Updated ChangeLog
Sebastian Kurfürst [Tue, 16 Nov 2010 10:03:59 +0000 (10:03 +0000)]
* Updated ChangeLog

9 years ago[+FEATURE] Fluid (ViewHelpers/Widget): Slightly improved paginate widget: The link...
Bastian Waidelich [Tue, 16 Nov 2010 08:25:01 +0000 (08:25 +0000)]
[+FEATURE] Fluid (ViewHelpers/Widget): Slightly improved paginate widget: The link to the first page now skips the currentPage argument resulting in nicer URLs and less cHashes
[+FEATURE] Fluid (ViewHelpers): excluding obsolete widget arguments & cHash from widget links if they're not explicitly set

9 years ago[+BUGFIX] Fluid (Core/Widget): AjaxWidgetContextHolder now uses a unique id for the...
Bastian Waidelich [Mon, 15 Nov 2010 16:55:54 +0000 (16:55 +0000)]
[+BUGFIX] Fluid (Core/Widget): AjaxWidgetContextHolder now uses a unique id for the Ajax WidgetContext. This makes sure, that the ajax response gets the right context, even if you open multiple browser windows in the same session
[+BUGFIX] Fluid (Core): The Fluid Widget Bootstrap now initializes the object manager in order to respect "config.tx_extbase.object" configuration.. TODO: this should be somehow refactored to avoid code duplication
[+BUGFIX] Fluid: Reduced the typeNum for the fluidAjaxWidgetResponse page. Apparently 7076857368 was too large ;) TODO: the typeNum should be somehow configurable
[~TASK] Fluid (ViewHelpers/Widget): removed $GLOBALS['TSFE']->additionalHeaderData call from AutocompleteViewHelper as this is not configurable like this. Moved the jQuery includes to Configuration/TypoScript/setup.txt which can be included in your main TS template

9 years ago[+BUGFIX] Fluid (ViewHelpers): Fixed Widget URI generation in widget.link/widget...
Bastian Waidelich [Sun, 14 Nov 2010 16:09:43 +0000 (16:09 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Fixed Widget URI generation in widget.link/widget.uri ViewHelpers/Link/WidgetViewHelpers
[~TASK] Fluid (ViewHelpers/Widget): Tweaked PaginateViewHelper: Minor refactoring of controller & template

9 years ago[-TASK] Fluid (Compatibility): Forgot to remove obsolete Tx_Fluid_Compatibility_Objec...
Bastian Waidelich [Sun, 14 Nov 2010 13:43:37 +0000 (13:43 +0000)]
[-TASK] Fluid (Compatibility): Forgot to remove obsolete Tx_Fluid_Compatibility_ObjectManager in previous commit

9 years ago[+FEATURE] Fluid (Core/Widget): Added Tx_Fluid_Core_Widget_Bootstrap that is used...
Bastian Waidelich [Sun, 14 Nov 2010 13:38:48 +0000 (13:38 +0000)]
[+FEATURE] Fluid (Core/Widget): Added Tx_Fluid_Core_Widget_Bootstrap that is used to dispatch Ajax requests (see ext_typoscript_setup.txt).
[~TASK] Fluid (Compatibility): Removed Tx_Fluid_Compatibility_ObjectManager and replaced instances by Tx_Extbase_Object_ObjectManagerInterface instances
[~TASK] Fluid (Core/Widget): AbstractWidgetController has to be a singleton so it can be injected in the WidgetViewHelper.. To be discussed!
[+TASK] Fluid (Core/Widget): AjaxWidgetContextHolder is now correctly stored in the BE/FE Users session if the ajaxWidget of the corresponding Widget is TRUE.
[+TASK] Fluid (Core/Widget): The WidgetContext now contains a reference to the parent extension & plugin name. That's needed for the widgetAjaxResponse.
[+BUGFIX] Fluid (Core/Widget): WidgetRequestBuilder now correctly interprets GET parameters and dispatches Ajax requests
[+BUGFIX] Fluid (ViewHelpers): Modified ViewHelpers cObject, format.crop, format.html, image, uri.image so that they use dependency injection in order to retrieve the current cObject instance from the configurationManager
[+BUGFIX] Fluid (ViewHelpers): Fixed form ViewHelper to respect configured pluginNamespace in field name prefixes
[+BUGFIX] Fluid (ViewHelpers): link.widget/uri.widget ViewHelpers now create correct URIs
[+BUGFIX] Fluid (ViewHelpers): replaced @inject annotation by injectController method in AutocompleteViewHelper.

9 years ago[+FEATURE] First step of "Fluid widget" backport
Bastian Waidelich [Fri, 5 Nov 2010 11:10:06 +0000 (11:10 +0000)]
[+FEATURE] First step of "Fluid widget" backport

This is the first step of the Widget backport (#8773). This contains all the core classes that are required for the widget implementation and two exemplary Widget ViewHelpers "widget.paginate" and "widget.autocomplete".
Note: Ajax widgets are not yet working!!

Relates to: #8773
Relates to: #10568

9 years ago[!!!][+BUGFIX] Fluid (View): Adjust fluid to recent resolveView() backport
Bastian Waidelich [Tue, 2 Nov 2010 19:07:13 +0000 (19:07 +0000)]
[!!!][+BUGFIX] Fluid (View): Adjust fluid to recent resolveView() backport

Tx_Fluid_View_AbstractTemplateView now implements the Tx_Extbase_MVC_View_ViewInterface that was changed in r2675.
NOTE: This is a breaking change because the API method Tx_Fluid_View_TemplateView::hasTemplate was renamed to canRender(). Besides I deleted the TemplateViewInterface that is no longer needed. Implement Tx_Extbase_MVC_View_ViewInterface or simply extend Tx_Fluid_View_AbstractTemplateView if you want to write your own view implementation

Relates to: #8990

9 years ago[+BUGFIX] Fluid: Adjust Fluid to Dependency Injection changes
Sebastian Kurfürst [Tue, 2 Nov 2010 13:24:45 +0000 (13:24 +0000)]
[+BUGFIX] Fluid: Adjust Fluid to Dependency Injection changes

Relates to: #9062

9 years ago* Updated version to 1.3.0alpha3.
Sebastian Kurfürst [Fri, 29 Oct 2010 14:52:13 +0000 (14:52 +0000)]
* Updated version to 1.3.0alpha3.

9 years ago[+TASK] Fluid (ViewHelpers): Minor tweak in CObject ViewHelper
Bastian Waidelich [Tue, 26 Oct 2010 14:27:46 +0000 (14:27 +0000)]
[+TASK] Fluid (ViewHelpers): Minor tweak in CObject ViewHelper

Make sure, that the configurationManager is initialized.
This is just a preliminary solution that will be replaced as soon
as the Extbase dispatcher refactoring (#7153) is done.

9 years ago[+FEATURE] Fluid (View): Fluid Standalone view
Bastian Waidelich [Tue, 26 Oct 2010 14:27:29 +0000 (14:27 +0000)]
[+FEATURE] Fluid (View): Fluid Standalone view

In order to be able to use Fluid templates beyond the Extbase plugin context
(e.g. to render E-Mail templates or to use the new FLUIDTEMPLATE content object)
we created a new template view, that encapsulates inner workings and provides
an easy-to-use API:

$view = t3lib_div::makeInstance('Tx_Fluid_View_TemplateView');
$view->setTemplatePathAndFilename('foo/Bar.html');
print $view->render();

Note: This has to be *forward ported* still

This relates to #10473

9 years ago[+BUGFIX] Fluid (ViewHelpers): ImageViewHelper supports additionalAttributes argument
Bastian Waidelich [Thu, 14 Oct 2010 11:01:57 +0000 (11:01 +0000)]
[+BUGFIX] Fluid (ViewHelpers): ImageViewHelper supports additionalAttributes argument

The image view helper did not call the parent constructor, which registeres the "additionalAttributes" argument. Thanks to Michael Knoll.

This resolves #10251

9 years ago* Raised version number to 1.3.0alpha2 and updated ChangeLog.
Sebastian Kurfürst [Wed, 22 Sep 2010 06:38:46 +0000 (06:38 +0000)]
* Raised version number to 1.3.0alpha2 and updated ChangeLog.

9 years ago[+BUGFIX] Fluid (ViewHelpers): RenderViewHelper works with TYPO3
Sebastian Kurfürst [Wed, 22 Sep 2010 06:28:15 +0000 (06:28 +0000)]
[+BUGFIX] Fluid (ViewHelpers): RenderViewHelper works with TYPO3

In I14c6dd4d9db13a98f1873a79bb43fbf299d2c835, we have introduced
a change which caused the Menu generation in TYPO3 Phoenix to crash,
as {settings} is not available in these templates.

Now, a check has been added which checks for {settings} being present.

Additionally, a unit test has been written testing this behavior.

9 years ago[+FEATURE] Fluid (Core): {settings} is available in Partials
Sebastian Kurfürst [Wed, 22 Sep 2010 06:27:58 +0000 (06:27 +0000)]
[+FEATURE] Fluid (Core): {settings} is available in Partials

Now, the {settings} are automatically available in partials and sections.
Before, they had to be passed explicitely, i.e. by calling
<f:render section="..." arguments="{settings: settings}" />.

If somebody defined his own "settings"-argument, this still takes precedence:
<f:render section="..." arguments="{settings: some.different.settings}" />
This means that this change is completely backwards compatible.

NOTE: The settings are NOT merged together, like it has been suggested in #6289,
as this will lead to un-obvious behavior for the user.

9 years ago[-API] Fluid (Core): Remove getTemplateParser() method.
Sebastian Kurfürst [Wed, 22 Sep 2010 06:27:45 +0000 (06:27 +0000)]
[-API] Fluid (Core): Remove getTemplateParser() method.

This method has accidentally gotten an @api annotation,
and was only needed for the Viewhelpertest package.

Now, this package is cleaned up, and this method can be
completely thrown away.

9 years ago[+BUGFIX] Fluid (ViewHelpers): Fix bug in Form ViewHelper
Sebastian Kurfürst [Wed, 22 Sep 2010 06:27:32 +0000 (06:27 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Fix bug in Form ViewHelper

Since #6521 you can use the "objectName" argument to specify the name of a bound object rather then using the "name" attribute.
But if you do so, the rendered hidden identity field is not correct anymore. This behavior is fixed with this commit.

Resolves: #9515

9 years ago* Documentation Cleanup
Sebastian Kurfürst [Wed, 22 Sep 2010 06:27:14 +0000 (06:27 +0000)]
* Documentation Cleanup

9 years ago[+FEATURE] Fluid (ViewHelpers): Backported ifAuthenticated & ifHasRole security ViewH...
Bastian Waidelich [Mon, 20 Sep 2010 16:38:36 +0000 (16:38 +0000)]
[+FEATURE] Fluid (ViewHelpers): Backported ifAuthenticated & ifHasRole security ViewHelpers

you can now use <f:security.ifAuthenticated> and <f:security.ifHasRole role="foo">
in your Fluid templates to check whether an FE user is currently logged in / belongs to the
specified usergroup.
Note: if role is a numeric value the uid of the usergroup is compared, otherwise the title
of the usergroup.

to deal with BE users you can use the respective be.security.* view helpers

Resolves #9143

9 years ago[TASK] Fluid (Core): Regular Expression performance improvements
Sebastian Kurfürst [Thu, 26 Aug 2010 08:13:15 +0000 (08:13 +0000)]
[TASK] Fluid (Core): Regular Expression performance improvements

In rare cases, on some systems (like mine), the
PCRE parser reproducably crashes if one passes very
long argument strings into it, or very complex ones.

With this patch, the parser is slightly modified
to decrease the use of backtracking; which then avoids
the crashes mostly.

9 years ago[TASK] Fluid (Core): Formatted Regular Expressions more nicely
Sebastian Kurfürst [Thu, 26 Aug 2010 08:13:10 +0000 (08:13 +0000)]
[TASK] Fluid (Core): Formatted Regular Expressions more nicely

There were some undocumented regular expressions
in the parser, which needed to be formatted nicely.

9 years ago[+BUGFIX] Fluid (Core): Boolean expressions can now contain negative numbers. Resolve...
Sebastian Kurfürst [Thu, 26 Aug 2010 08:13:05 +0000 (08:13 +0000)]
[+BUGFIX] Fluid (Core): Boolean expressions can now contain negative numbers. Resolves #9434.

Boolean expressions with negative numbers did not work so far.
Now, they work as expected. Example from Viewhelpertest which displayed
a wrong result before, and now displays the correct result:

<f:if condition="{testVariables.number.minusOne} < -1.1">
<f:then>Then part!</f:then>
<f:else>Else part!</f:else>
</f:if>

Issue: #9434

9 years ago* Fixed version number. Sorry!
Sebastian Kurfürst [Tue, 24 Aug 2010 08:24:31 +0000 (08:24 +0000)]
* Fixed version number. Sorry!

9 years ago* Added ChangeLog
Sebastian Kurfürst [Tue, 24 Aug 2010 08:22:15 +0000 (08:22 +0000)]
* Added ChangeLog
* Increased Version to 1.3.0-alpha1

9 years ago[~TASK] Fluid: Changed version of Extbase dependency from '1.2.0-1.2.999' to '1.3...
Bastian Waidelich [Fri, 6 Aug 2010 14:29:00 +0000 (14:29 +0000)]
[~TASK] Fluid: Changed version of Extbase dependency from '1.2.0-1.2.999' to '1.3.0.devel' to reflect the version scheme defined in the wiki. Relates to #9152.

9 years ago[+BUGFIX] Fluid (View): AbstractTemplateView now correctly implements F3\FLOW3\MVC...
Bastian Waidelich [Wed, 4 Aug 2010 17:59:15 +0000 (17:59 +0000)]
[+BUGFIX] Fluid (View): AbstractTemplateView now correctly implements F3\FLOW3\MVC\View\ViewInterface and assign() and assignMultiple() will return an instance of $this to allow chaining again like $this->view->assign()->assign()... This fixes #9090 (backported from Fluid package r4931)

9 years ago[~TASK] Fluid (Tests): committing modified AbstractFormFieldViewHelperTest that I...
Bastian Waidelich [Mon, 26 Jul 2010 15:11:22 +0000 (15:11 +0000)]
[~TASK] Fluid (Tests): committing modified AbstractFormFieldViewHelperTest that I forgot to add in previous commit
[+TASK] Fluid (ViewHelpers): Small performance improvement in ForViewHelper: Objects will only be converted to arrays if reverse is TRUE. Relates to #8732 (backported from Fluid package r4907)
[+TASK] Fluid (View): Added getter for template parser to AbstractTemplateView. This is useful if you want to use the parser from within your custom ViewHelper (creating a new instance would skip interceptor registration) (backported from Fluid package r4907)

9 years ago[~TASK] Fluid (ViewHelpers): Added argument "objectName" to form ViewHelper. This...
Bastian Waidelich [Mon, 26 Jul 2010 14:24:22 +0000 (14:24 +0000)]
[~TASK] Fluid (ViewHelpers): Added argument "objectName" to form ViewHelper. This is now the recommended way to specify the name of the object that is bound to a form! If objectName is not specified, the name attribute will be used as object name for backwards-compatibility reasons. This resolves #6521 (backported from Fluid package r4905)

9 years ago* Raised Fluid version in trunk to 1.3.0-devel
Sebastian Kurfürst [Mon, 26 Jul 2010 13:31:19 +0000 (13:31 +0000)]
* Raised Fluid version in trunk to 1.3.0-devel

9 years ago[+BUGFIX] Fluid (ViewHelpers): Fixed a possible security issue where the content...
Sebastian Kurfürst [Mon, 26 Jul 2010 13:31:14 +0000 (13:31 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Fixed a possible security issue where the content inside the Fluid a is not properly HTML escaped.

9 years ago[+FEATURE] Fluid (ViewHelpers): Added iteration information to for ViewHelper. Thanks...
Bastian Waidelich [Mon, 26 Jul 2010 11:04:42 +0000 (11:04 +0000)]
[+FEATURE] Fluid (ViewHelpers): Added iteration information to for ViewHelper. Thanks to all the contributors for your input and patches! This resolves #6149 (backported from Fluid package r4904)

9 years ago[~TASK] Fluid (ViewHelpers): Fresh backport from Fluid package r4899 (Mostly fixed...
Bastian Waidelich [Thu, 22 Jul 2010 14:49:56 +0000 (14:49 +0000)]
[~TASK] Fluid (ViewHelpers): Fresh backport from Fluid package r4899 (Mostly fixed typos. slightly improved count ViewHelper)

9 years ago[~TASK] Fluid (ViewHelpers): Replaced custom convertToArray() method by PHPs iterator...
Bastian Waidelich [Thu, 22 Jul 2010 14:47:59 +0000 (14:47 +0000)]
[~TASK] Fluid (ViewHelpers): Replaced custom convertToArray() method by PHPs iterator_to_array() function in cycle, for and groupedFor ViewHelpers. This resolves #8732. (backport from Fluid package r4898)

9 years ago[+BUGFIX] Fluid (ViewHelpers): Now, it is possible to "unselect" checkboxes and multi...
Bastian Waidelich [Mon, 19 Jul 2010 21:00:05 +0000 (21:00 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Now, it is possible to "unselect" checkboxes and multiselect fields in editing forms. This fixes #5638. This fixes #8535. This fixes #6897 (improved forward-backport from Fluid package r4874)

9 years ago[+TASK] Fluid (Tests): Backported FormViewHelperTest from Fluid package
Bastian Waidelich [Mon, 19 Jul 2010 19:40:53 +0000 (19:40 +0000)]
[+TASK] Fluid (Tests): Backported FormViewHelperTest from Fluid package
[+BUGFIX] Fluid (ViewHelpers): FormViewHelper wraps hidden fields with a div tag to create XHTML valid output. This fixes #5512 (backported from Fluid package)

9 years ago[~TASK] Fluid (ViewHelpers): Fixed BE support of the ViewHelpers cObject, format...
Bastian Waidelich [Mon, 19 Jul 2010 18:09:46 +0000 (18:09 +0000)]
[~TASK] Fluid (ViewHelpers): Fixed BE support of the ViewHelpers cObject, format.crop, uri.resource. Relates to #8947
[~TASK] Fluid (ViewHelpers): Added BE support in the ViewHelpers format.html and image. Relates to #8947

9 years ago[!!!][+TASK] Fluid (ViewHelpers): The value argument is required again in form.checkb...
Bastian Waidelich [Thu, 15 Jul 2010 17:25:11 +0000 (17:25 +0000)]
[!!!][+TASK] Fluid (ViewHelpers): The value argument is required again in form.checkbox and form.radio ViewHelpers. This is a breaking change, as the value argument has not been mandatory for a while. But it probably won't break existing templates as omitting the value makes no sense at all. Relates to #8852 (backported from Fluid package r4864)
[+FEATURE] Fluid (Core): implemented overrideArgument() method in AbstractViewHelper to be able to override previously registered arguments in subclasses. This resolves #8852 (backported from Fluid package r4864)
[+BUGFIX] Fluid (Core): Negative numeric values are properly converted to FALSE when used in boolean ViewHelper arguments. This resolves #8893 (backported from Fluid package r4864)

9 years ago[+BUGFIX] Fluid (ViewHelpers): Reversed the rendering order of header and childNodes...
Bastian Waidelich [Thu, 15 Jul 2010 15:08:09 +0000 (15:08 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Reversed the rendering order of header and childNodes in be.container ViewHelper to enable child nodes to modify the pageRenderer. This resolves #8880 (thanks to Andreas Wolf)

9 years ago[+BUGFIX] Fluid: Removed leading slash from @var annotations that were backported...
Bastian Waidelich [Tue, 13 Jul 2010 14:27:02 +0000 (14:27 +0000)]
[+BUGFIX] Fluid: Removed leading slash from @var annotations that were backported by mistake

9 years ago[+BUGFIX] Fluid: Replaced SplObjectStorage by Tx_Extbase_Persistence_ObjectStorage...
Bastian Waidelich [Tue, 13 Jul 2010 14:17:07 +0000 (14:17 +0000)]
[+BUGFIX] Fluid: Replaced SplObjectStorage by Tx_Extbase_Persistence_ObjectStorage to be PHP 5.2-compatible (which ships with a broken implementation of SplObjectStorage)
[!!!][~TASK] Fluid (Core): Renamed ConditionViewHelper and TagBasedViewHelper to Abstract*ViewHelper as per CGL. (backported from Fluid package r4840). To be backwards-compatible, TagBasedViewHelper.php still exists and will write an entry to TYPO3s deprecation log if used. Please adapt your custom ViewHelpers and inherit from AbstractTagBasedViewHelper instead of TagBasedViewHelper. This resolves #8834
[~TASK] Fluid: Marked vfs unit tests to be skipped, as vfs is not part of v4 (yet)

9 years ago[-TASK] Fluid: Removed @package/@subpackage annotations from all Fluid classes. They...
Bastian Waidelich [Tue, 13 Jul 2010 10:12:30 +0000 (10:12 +0000)]
[-TASK] Fluid: Removed @package/@subpackage annotations from all Fluid classes. They have already been removed in FLOW3 packages in r2813.

9 years ago[-TASK] Fluid: Removed @version annotation from all Fluid classes to ease the backpor...
Bastian Waidelich [Tue, 13 Jul 2010 09:42:26 +0000 (09:42 +0000)]
[-TASK] Fluid: Removed @version annotation from all Fluid classes to ease the backporting process. Relates to #8835 (backported from Fluid package)

9 years ago[+BUGFIX] Fluid (View): fixed method signature of AbstractTemplateView:getTemplateSou...
Bastian Waidelich [Tue, 13 Jul 2010 09:13:21 +0000 (09:13 +0000)]
[+BUGFIX] Fluid (View): fixed method signature of AbstractTemplateView:getTemplateSource() that was different from the concrete implementation (backported from Fluid package)

9 years agoFluid in v5 and v4 are now synchronized again!
Sebastian Kurfürst [Mon, 12 Jul 2010 20:18:26 +0000 (20:18 +0000)]
Fluid in v5 and v4 are now synchronized again!

[+FEATURE] Fluid: The TemplateVariableContainer now provides a method to retrieve all variables.
[~TASK] Fluid (Core): Introduced a RenderingContextInterface to more cleanly decouple Fluid's rendering context from the TypoScript rendering context. Note that view helpers (and other code) should now refer to that interface instead of the concrete Fluid implementation!
[!!!][+BUGFIX] Fluid (Core): Refactored all Condition-ViewHelpers like f:if, f:security.if* to use a newly created base class F3\Fluid\Core\ViewHelper\ConditionViewHelper. This greatly simplifies the implementation of custom conditions. However, THIS IS A BREAKING CHANGE in case you copied the f:if ViewHelper to create a custom condition ViewHelper, as the internal workings changed. Please check the new f:if ViewHelper to see how to adjust your ViewHelper -- you basically just have to throw away a lot of code. Resolves #8824.
[!!!][-API] Fluid (TemplateView): Removed renderSection() and renderWithLayout() from public API in Tx_Fluid_View_TemplateView, as this should only be called from inside Fluid.
[!!!][TASK] Fluid (ViewHelpers): the <f:section />-ViewHelper now does NOT render itself anymore when encountered in a normal template. Example: Before the change, the template "before <f:section name='...'> middle </f:section> after" was rendered as "before middle after", but now it is only rendered as "before after". Although this is a breaking change, it is quite unlikely that anybody relied on this behavior, as it was inconsistent beforehand.
[TASK] Fluid (TemplateView): Major refactoring of the layout, partial and section rendering mechanism. This also induces a speedup as retundant rendering is eliminated.
[+FEATURE] Fluid (ViewHelpers): The <f:render>-ViewHelper can be now used to render sections in the same partial and template. In these cases, all arguments need to be specified explicitely. Additionally, it can now be used to render a section recursively.
[~TASK] Fluid (Core): Removed some non-API-methods which were never called.

9 years ago[+FEATURE] Fluid (ViewHelpers): format.crop ViewHelper now supports all features...
Bastian Waidelich [Mon, 12 Jul 2010 13:55:21 +0000 (13:55 +0000)]
[+FEATURE] Fluid (ViewHelpers): format.crop ViewHelper now supports all features in Backend mode. Relates to #8648

9 years ago[+TASK] Fluid: Set dependency to Extbase 1.2.x in ext_emconf.php to avoid confusions...
Bastian Waidelich [Fri, 25 Jun 2010 09:57:00 +0000 (09:57 +0000)]
[+TASK] Fluid: Set dependency to Extbase 1.2.x in ext_emconf.php to avoid confusions when working with different versions

9 years ago[+TASK] Fluid: Backported recent changes from Fluid package:
Bastian Waidelich [Thu, 24 Jun 2010 19:34:52 +0000 (19:34 +0000)]
[+TASK] Fluid: Backported recent changes from Fluid package:
  [+FEATURE] Fluid (ViewHelpers): added "selectAllByDefault" argument to form.select ViewHelper. Resolves #4984
  [~TASK] Fluid (Parser): Got rid of the constructor in Parser\Configuration.

9 years ago[+FEATURE] Fluid (ViewHelpers): Added uri.image ViewHelper. This resolves #8233
Bastian Waidelich [Thu, 24 Jun 2010 10:14:25 +0000 (10:14 +0000)]
[+FEATURE] Fluid (ViewHelpers): Added uri.image ViewHelper. This resolves #8233
[+FEATURE] Fluid (ViewHelpers): Added URI options noCache, noCacheHash, section, format, additionalParams, absolute, addQueryString & argumentsToBeExcludedFromQueryString to FormViewHelper. Resolves #8247
[+BUGFIX] Fluid: Removed a leading backslash in ViewHelperBaseTestcase that led to an error with PHP < 5.3

[+TASK] Fluid: Backported some recent Fluid changes (Note: this is not a complete backport, there are still changes in Fluid Package that are not backported yet):
  [+BUGFIX] Fluid (ViewHelpers): form.select ViewHelper did only check whether "multiple" attribute was set and not whether it was empty or not. Resolves #5879
  [+FEATURE] Fluid (ViewHelpers): GroupedForViewHelper can now group by object. Resolves #7389

9 years agoRaised Fluid version number to 1.2.0
Sebastian Kurfürst [Tue, 22 Jun 2010 11:08:51 +0000 (11:08 +0000)]
Raised Fluid version number to 1.2.0

9 years agoRaising version number to 1.2.0RC1
Sebastian Kurfürst [Fri, 18 Jun 2010 10:48:47 +0000 (10:48 +0000)]
Raising version number to 1.2.0RC1

9 years ago[+BUGFIX] Fluid: Removed some debug code introduced with the latest commit. Sorry...
Bastian Waidelich [Fri, 18 Jun 2010 10:38:07 +0000 (10:38 +0000)]
[+BUGFIX] Fluid: Removed some debug code introduced with the latest commit. Sorry for this.

9 years ago[!!!][+TASK] Fluid: Template filenames are expected to be UpperCamelCased from now...
Bastian Waidelich [Fri, 18 Jun 2010 10:28:31 +0000 (10:28 +0000)]
[!!!][+TASK] Fluid: Template filenames are expected to be UpperCamelCased from now on. For a grace period there is still a fallback mechanism, so that your old template filenames will still work. But you should rename your templates from "myaction.html" to "MyAction.html" to make sure, that it still works in upcoming versions of Fluid! Resolves #7243

9 years ago[+BUGFIX] Fluid (Core): Putting form fields in partial now works as expected. Resolve...
Sebastian Kurfürst [Fri, 18 Jun 2010 09:19:33 +0000 (09:19 +0000)]
[+BUGFIX] Fluid (Core): Putting form fields in partial now works as expected. Resolves #4277.

9 years ago[+BUGFIX] Fluid (Core): AbstractViewHelper does not flood the syslog anymore. Resolve...
Sebastian Kurfürst [Fri, 18 Jun 2010 08:50:00 +0000 (08:50 +0000)]
[+BUGFIX] Fluid (Core): AbstractViewHelper does not flood the syslog anymore. Resolves #5783.

9 years ago[TASK] Fluid: Replaced some RuntimeExceptions by Tx_Fluid_Core_ViewHelper_Exception_I...
Bastian Waidelich [Thu, 17 Jun 2010 16:18:34 +0000 (16:18 +0000)]
[TASK] Fluid: Replaced some RuntimeExceptions by Tx_Fluid_Core_ViewHelper_Exception_InvalidVariableExceptions in ViewHelperVariableContainer to get green unit tests again
[TASK] Fluid: Added new Exception classes to ext_autoload.php

9 years ago[TASK] Fluid: Automatic backport from Fluid package. Mostly comment fixes and smaller...
Bastian Waidelich [Thu, 17 Jun 2010 15:58:40 +0000 (15:58 +0000)]
[TASK] Fluid: Automatic backport from Fluid package. Mostly comment fixes and smaller tweaks

9 years ago[~BUGFIX] Fluid (ViewHelpers): Fixed a half-finished documentation. Related to #5638.
Sebastian Kurfürst [Tue, 15 Jun 2010 17:33:21 +0000 (17:33 +0000)]
[~BUGFIX] Fluid (ViewHelpers): Fixed a half-finished documentation. Related to #5638.