Packages/TYPO3.CMS.git
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.

9 years ago[+BUGFIX] Fluid (Core): Now, it is possible to "unselect" checkboxes in editing forms...
Sebastian Kurfürst [Tue, 15 Jun 2010 11:49:15 +0000 (11:49 +0000)]
[+BUGFIX] Fluid (Core): Now, it is possible to "unselect" checkboxes in editing forms; also with multiselect checkboxes. Resolves #5638

9 years ago[+BUGFIX] Fluid (Core): Fixed misleading exception. Resolves #7417.
Sebastian Kurfürst [Tue, 15 Jun 2010 07:06:45 +0000 (07:06 +0000)]
[+BUGFIX] Fluid (Core): Fixed misleading exception. Resolves #7417.

9 years ago[+BUGFIX] Fluid (ViewHelpers): added auto-detection of string-format and propper...
Felix Oertel [Tue, 1 Jun 2010 12:36:53 +0000 (12:36 +0000)]
[+BUGFIX] Fluid (ViewHelpers): added auto-detection of string-format and propper cropping of HTML. Resolves #7743

9 years ago* Raised version to 1.2.0beta1
Sebastian Kurfürst [Sun, 2 May 2010 13:00:47 +0000 (13:00 +0000)]
* Raised version to 1.2.0beta1

9 years ago[+BUGFIX] Fluid (ViewHelpers): escapeViewHelper now takes encoding of resulting web...
Sebastian Kurfürst [Fri, 16 Apr 2010 08:39:18 +0000 (08:39 +0000)]
[+BUGFIX] Fluid (ViewHelpers): escapeViewHelper now takes encoding of resulting web page into account. Resolves #7292.

9 years agoUpdated ext_autoload.php to match Backport in Rev 2043
Steffen Ritter [Sat, 27 Mar 2010 12:10:48 +0000 (12:10 +0000)]
Updated ext_autoload.php to match Backport in Rev 2043

9 years ago[+FEATURE] Fluid (ViewHelpers): The <f:form.error> ViewHelper now supports property...
Sebastian Kurfürst [Fri, 19 Mar 2010 12:12:15 +0000 (12:12 +0000)]
[+FEATURE] Fluid (ViewHelpers): The <f:form.error> ViewHelper now supports property paths for the "for"-Argument. Now, one can display only the errors of a given property of an object. Example: In the Blog Example, one could now write <f:form.errors for="blog.title">.

9 years ago[+TASK] Fluid (ViewHelpers): Improved Documentation in *PageViewHelper. Thanks to...
Sebastian Kurfürst [Tue, 16 Mar 2010 10:56:16 +0000 (10:56 +0000)]
[+TASK] Fluid (ViewHelpers): Improved Documentation in *PageViewHelper. Thanks to Falk Kühnel for the suggestion! Resolves #6297.

9 years ago[+BUGFIX] Fluid (ViewHelpers): f:link.action can now be used inside f:form without...
Sebastian Kurfürst [Tue, 16 Mar 2010 10:51:45 +0000 (10:51 +0000)]
[+BUGFIX] Fluid (ViewHelpers): f:link.action can now be used inside f:form without breaking hmac verification. Resolves #6809, Resolves #6808, Resolves #6514. Thanks to Peter Niederlag for providing a patch!

9 years ago* Raised version number to alpha2
Sebastian Kurfürst [Tue, 16 Mar 2010 10:31:30 +0000 (10:31 +0000)]
* Raised version number to alpha2

9 years ago[+BUGFIX] Fluid (Core): Fixing a parse error in PHP 5.2.X in TemplateParser. Resolves...
Sebastian Kurfürst [Tue, 16 Mar 2010 10:31:00 +0000 (10:31 +0000)]
[+BUGFIX] Fluid (Core): Fixing a parse error in PHP 5.2.X in TemplateParser. Resolves #6870.

9 years ago[!!!][TASK] Fluid: Raised version number to 1.1.0. This version needs Extbase 1...
Sebastian Kurfürst [Tue, 16 Mar 2010 08:49:45 +0000 (08:49 +0000)]
[!!!][TASK] Fluid: Raised version number to 1.1.0. This  version needs Extbase 1.1.0 as well!
[TASK] Fluid: Backported all changes from Fluid v5 again. This includes mostly some internal restructurings.
[!!!][TASK] Fluid (ViewHelpers): The <f:base> ViewHelper now creates a self-closing tag instead of an opening/closing tag. This is standards-conformant, but will BREAK IE6!!

9 years ago* Re-adding tests
Sebastian Kurfürst [Tue, 16 Mar 2010 08:27:53 +0000 (08:27 +0000)]
* Re-adding tests

9 years ago* Temporarily deleting tests. Will be re-added at next commit.
Sebastian Kurfürst [Tue, 16 Mar 2010 08:26:20 +0000 (08:26 +0000)]
* Temporarily deleting tests. Will be re-added at next commit.

10 years ago[+BUGFIX] Fluid (ViewHelpers): Fixing potential XSS Attack if $TYPO3_CONF_VARS['SYS...
Sebastian Kurfürst [Sun, 29 Nov 2009 10:45:05 +0000 (10:45 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Fixing potential XSS Attack if $TYPO3_CONF_VARS['SYS']['sitename'] contains malicious code. Resolves bug #12764 on bugs.typo3.org.

10 years agoAdd missing SVN properties for new or modified files
Michael Stucki [Wed, 25 Nov 2009 21:53:57 +0000 (21:53 +0000)]
Add missing SVN properties for new or modified files

10 years agoRevert last change
Oliver Hader [Wed, 25 Nov 2009 13:40:22 +0000 (13:40 +0000)]
Revert last change

10 years ago[TASK] Updated version to 1.0.1 and cleaned ext_emconf.php
Oliver Hader [Wed, 25 Nov 2009 13:35:42 +0000 (13:35 +0000)]
[TASK] Updated version to 1.0.1 and cleaned ext_emconf.php

10 years ago[TASK] Fluid: Updated version to 1.0.0 and cleaned ext_emconf.php
Oliver Hader [Tue, 17 Nov 2009 21:23:38 +0000 (21:23 +0000)]
[TASK] Fluid: Updated version to 1.0.0 and cleaned ext_emconf.php

10 years ago[+BUGFIX] Fluid (ViewHelpers): Removed newline at beginning of Crop ViewHelper, in...
Sebastian Kurfürst [Wed, 11 Nov 2009 14:51:34 +0000 (14:51 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Removed newline at beginning of Crop ViewHelper, in front of <?php

10 years ago* increased version numbers to 0.9.17
Sebastian Kurfürst [Sun, 8 Nov 2009 08:52:41 +0000 (08:52 +0000)]
* increased version numbers to 0.9.17

10 years ago* Many non-functional changes (comments etc)
Sebastian Kurfürst [Sun, 8 Nov 2009 08:51:02 +0000 (08:51 +0000)]
* Many non-functional changes (comments etc)
* ObjectAccessorPostProcessor again works now :-)

10 years ago* Raising version number to 0.9.12
Sebastian Kurfürst [Fri, 6 Nov 2009 04:55:55 +0000 (04:55 +0000)]
* Raising version number to 0.9.12

10 years ago[!!!][+BUGFIX] Fluid (ViewHelpers): FIxed the Resource ViewHelper to be in sync with...
Sebastian Kurfürst [Thu, 5 Nov 2009 10:32:57 +0000 (10:32 +0000)]
[!!!][+BUGFIX] Fluid (ViewHelpers): FIxed the Resource ViewHelper to be in sync with FLOW3 again. This means that instead of writing <f:uri.resource>...</f:uri.resource>, you write <f:uri.resource path="..." /> or {f:uri.resource(path:'...')}. Resolves #5237.

10 years ago[+BUGFIX] Fluid (Core): Now, the inline notation also works if spaces are before...
Sebastian Kurfürst [Thu, 5 Nov 2009 08:37:52 +0000 (08:37 +0000)]
[+BUGFIX] Fluid (Core): Now, the inline notation also works if spaces are before and after ->. This makes it a lot more error-tolerant.
[~TASK] Fluid: Backported the recent changes in v5, which are some additional non-functional checks, a new exception hierarchy and updated comments.

10 years ago[TASK] Fluid (ViewHelpers): Comment Fixes
Sebastian Kurfürst [Thu, 5 Nov 2009 08:14:25 +0000 (08:14 +0000)]
[TASK] Fluid (ViewHelpers): Comment Fixes

10 years ago[+FEATURE] Fluid (ViewHelpers): extended cObject viewhelper by an additional "data...
Bastian Waidelich [Thu, 29 Oct 2009 11:20:10 +0000 (11:20 +0000)]
[+FEATURE] Fluid (ViewHelpers): extended cObject viewhelper by an additional "data" argument. Now you can write {f:cObject(typoscriptObjectPath: 'lib.someCObject', data: someObject)} in your templates. This change is backwards compatible! Relates to #5150
[+FEATURE] Fluid (ViewHelpers): extended translate viewhelper by an additional "default" argument. Now you can write {f:translate(key: 'someLocallangKey', default: 'some fallback')} in your templates. This change is backwards compatible! Relates to #5150

10 years ago[!!!][+FEATURE] Fluid: Strings inside Arrays and the inline notation are now parsed...
Sebastian Kurfürst [Thu, 29 Oct 2009 07:24:15 +0000 (07:24 +0000)]
[!!!][+FEATURE] Fluid: Strings inside Arrays and the inline notation are now parsed by Fluid as well. This enables things like {fullName: '{firstName} {lastName}'} - thus, everything can be nested inside arrays and the ViewHelper inline notation arguments. This is a breaking change in case you used literal {...} inside your arguments, but not else. Relates to #5118.
[+FEATURE] Fluid (ViewHelpers): extended format.date viewhelper by an additional "date" argument. Now you can write {f:format.date(date: 'yesterday')} in your templates. This change is backwards compatible! Relates to #5150
[+FEATURE] Fluid (ViewHelpers): extended if viewhelper by arguments "then" and "else". Now you can write {f:if(condition: 1, then: 'yes', else: 'no'} in your templates. This change is backwards compatible! Relates to #5150
[~TASK] Fluid (Core): added check for reserved keywords to TemplateVariableContainer. This relates to #5158
[~TASK] Fluid (Tests): moved and renamed VariableContainerTest
~TASK] Fluid (Core): Changed method names (handler_*) in TemplateParser, resolves #5135.
[~TASK] Fluid (Tests): Cleanup to comments and "framework code", resolves #5136.

10 years ago[+FEATURE] Extbase (Utility): Localization Helper now supports sprintf format strings...
Sebastian Kurfürst [Mon, 26 Oct 2009 09:48:45 +0000 (09:48 +0000)]
[+FEATURE] Extbase (Utility): Localization Helper now supports sprintf format strings and an optional array argument. Most of this patch has been provided by Bastian. Relates to #4858. Resolves #5003
[+FEATURE] Fluid (Utility): Translation ViewHelper now supports sprintf format strings and an optional array argument. Relates to #5003
[~TASK] Viewhelpertest: Adjusted examples for f:translate. Relates to #5003

10 years ago[+BUGFIX] Fluid (Core): Validation of ViewHelper arguments is non-mandatory now,...
Sebastian Kurfürst [Mon, 26 Oct 2009 06:08:39 +0000 (06:08 +0000)]
[+BUGFIX] Fluid (Core): Validation of ViewHelper arguments is non-mandatory now, as there is no validator for each domain object / we do not always want to call it. Resolves #5108.
[+BUGFIX] Fluid (Core): Shorthand Syntax of ViewHelpers can now use longer namespace prefixes than one character. Resolves #5107.

10 years ago[~TASK] Fluid: Added @package and @subpackage annotations.
Sebastian Kurfürst [Sat, 24 Oct 2009 11:49:45 +0000 (11:49 +0000)]
[~TASK] Fluid: Added @package and @subpackage annotations.

10 years ago* Adding @api annotations
Sebastian Kurfürst [Sat, 24 Oct 2009 11:01:38 +0000 (11:01 +0000)]
* Adding @api annotations
* Changed the fluid-specific RuntimeException to SPL's RuntimeException.

10 years ago[~TASK] Fluid (ViewHelpers): Added some checks to make form view helper usable withou...
Bastian Waidelich [Wed, 21 Oct 2009 16:59:03 +0000 (16:59 +0000)]
[~TASK] Fluid (ViewHelpers): Added some checks to make form view helper usable without the surrounding f:form tag. This resolves #3985 (backported from v5)

10 years ago[+BUGFIX] Fluid: register universal tag attributes in link.email view helper. This...
Bastian Waidelich [Wed, 21 Oct 2009 16:02:16 +0000 (16:02 +0000)]
[+BUGFIX] Fluid: register universal tag attributes in link.email view helper. This resolves #5069.
[+TASK] Fluid: added some standard tag attributes to link.email, link.action and link.external view helpers (backported from v5)

10 years ago* Increasing version number to 0.9.11
Sebastian Kurfürst [Wed, 21 Oct 2009 10:18:44 +0000 (10:18 +0000)]
* Increasing version number to 0.9.11

10 years ago* WHitespace changes
Sebastian Kurfürst [Wed, 21 Oct 2009 10:07:45 +0000 (10:07 +0000)]
*  WHitespace changes
* ObjectAccessorNode now fails silently if no variable found

10 years ago[!!!][+FEATURE] Fluid (Core): Removed the old Shorthand Syntax, and added a new chain...
Sebastian Kurfürst [Wed, 21 Oct 2009 09:53:26 +0000 (09:53 +0000)]
[!!!][+FEATURE] Fluid (Core): Removed the old Shorthand Syntax, and added a new chainable syntax for ViewHelpers. ADJUST YOUR TEMPLATES in case you use the {f:….()} syntax! Resolves #5033.
[+TASK] Fluid (Core): The object accessor node now uses FLOW3 reflection service instead of custom implementation. This should be functionally equivalent
[+TASK] Fluid: Improved doc comments
[+TASK] Fluid: Improved test cases by removing some not needed stub classes
[+TASK] Fluid (Core): added API annotations in AbstractViewHelper. TagBasedViewHelper

10 years ago* Fixed doc comments
Sebastian Kurfürst [Tue, 20 Oct 2009 03:39:21 +0000 (03:39 +0000)]
* Fixed doc comments
* Raised version to 0.9.10

10 years ago[+BUGFIX] Fluid (ViewHelpers): Added check, if the given value implements the Iterato...
Jochen Rau [Tue, 13 Oct 2009 15:30:07 +0000 (15:30 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Added check, if the given value implements the Iterator interface. This is important to allow objects like the Object Storage to be traversed.

10 years ago[+FEATURE] tx_fluid (ViewHelpers): Prepared ViewHelpers for Request Hash (HMAC) gener...
Sebastian Kurfürst [Mon, 12 Oct 2009 06:23:39 +0000 (06:23 +0000)]
[+FEATURE] tx_fluid (ViewHelpers): Prepared ViewHelpers for Request Hash (HMAC) generation. Relates to #4960.
[+FEATURE] tx_fluid (Core): Implemented editing of properties for nested objects in forms. Resolves #3702.
[+TASK] tx_fluid: Backported everything which results in comment-changes and some formatting changes.

10 years ago* Backported a few testcases
Sebastian Kurfürst [Sat, 10 Oct 2009 12:36:37 +0000 (12:36 +0000)]
* Backported a few testcases

10 years agoMoved unit tests around
Sebastian Kurfürst [Fri, 9 Oct 2009 17:40:07 +0000 (17:40 +0000)]
Moved unit tests around

10 years ago[TASK] tx_fluid: Backported some non-functional changes
Sebastian Kurfürst [Fri, 9 Oct 2009 14:57:20 +0000 (14:57 +0000)]
[TASK] tx_fluid: Backported some non-functional changes

10 years ago[-TASK] Fluid (Core): Removed previous added registration of event handler attributes...
Jochen Rau [Thu, 8 Oct 2009 13:27:37 +0000 (13:27 +0000)]
[-TASK] Fluid (Core): Removed previous added registration of event handler attributes. Use "additionalAttributes" instead.

10 years ago[+BUGFIX] Fluid (Core): Added event handler tags to universal tags in TagBasedViewHelper.
Jochen Rau [Tue, 6 Oct 2009 08:43:43 +0000 (08:43 +0000)]
[+BUGFIX] Fluid (Core): Added event handler tags to universal tags in TagBasedViewHelper.

10 years ago[~TASK] Fluid: Tweaked icon.
Jochen Rau [Tue, 6 Oct 2009 08:43:36 +0000 (08:43 +0000)]
[~TASK] Fluid: Tweaked icon.
[~TASK] Fluid: Recreated ext_autoload.php.

10 years ago* Small bugfix. sorry guys :-)
Sebastian Kurfürst [Mon, 5 Oct 2009 15:09:59 +0000 (15:09 +0000)]
* Small bugfix. sorry guys :-)

10 years ago[TASK] BlogExample: Adjusted TypoScript _LOCAL_LANG settings as needed in recent...
Sebastian Kurfürst [Mon, 5 Oct 2009 15:08:38 +0000 (15:08 +0000)]
[TASK] BlogExample: Adjusted TypoScript _LOCAL_LANG settings as needed in recent commit. Related to #4905.

10 years ago* Small cleanup - check if controllerContext is set to prevent fatal error in rare...
Sebastian Kurfürst [Mon, 5 Oct 2009 13:31:02 +0000 (13:31 +0000)]
* Small cleanup - check if controllerContext is set to prevent fatal error in rare cases.

10 years ago[+BUGFIX] Fluid(ViewHelpers): Replaced calls to $GLOBALS['LANG'] by $GLOBAL['TSFE...
Bastian Waidelich [Mon, 28 Sep 2009 20:59:02 +0000 (20:59 +0000)]
[+BUGFIX] Fluid(ViewHelpers): Replaced calls to $GLOBALS['LANG'] by $GLOBAL['TSFE'] if $GLOBALS['LANG'] is not available. This fixes #4794

10 years agoRaising version to 0.9.9
Sebastian Kurfürst [Thu, 24 Sep 2009 09:00:40 +0000 (09:00 +0000)]
Raising version to 0.9.9

10 years ago[~BUGFIX] Fluid (ViewHelpers): fixed and tweaked format.crop view helper (BE mode)
Bastian Waidelich [Wed, 23 Sep 2009 20:47:14 +0000 (20:47 +0000)]
[~BUGFIX] Fluid (ViewHelpers): fixed and tweaked format.crop view helper (BE mode)
[-TASK] Fluid (ViewHelpers): removed instanceof check from be.menus.actionMenu view helper to enable wrapping of menuItems in <f:if> blocks

10 years ago[+FEATURE] Fluid(ViewHelpers): Added BE view helpers be.container, be.buttons.csh...
Bastian Waidelich [Wed, 23 Sep 2009 15:33:06 +0000 (15:33 +0000)]
[+FEATURE] Fluid(ViewHelpers): Added BE view helpers be.container, be.buttons.csh, be.buttons.icon, be.menus.actionMenu, be.pageInfo & be.tableList. NOTE: BE view helpers are still experimental and subject of change!
[+FEATURE] Fluid(ViewHelpers): TranslateViewHelper now fully works in BE mode and respects BE user language. This relates to #3292
[~BUGFIX] Fluid(ViewHelpers): Email addresses are now prepend with "mailto:" in uri.email view helper (BE mode)
[+TASK] Fluid(ViewHelpers): uri.resource view helper now prepends "../" to relative URIs in BE mode
[~BUGFIX] Fluid(Tests): Fixed some unit tests so that they run green. We still need more tests and a way to simulate FE mode from phpunit.