8 years ago[!!!][FEATURE] Compilation of Fluid templates to PHP files
Bastian Waidelich [Thu, 28 Jul 2011 15:01:44 +0000 (17:01 +0200)]
[!!!][FEATURE] Compilation of Fluid templates to PHP files

This adds a compile step to the parsing process of templates, layouts and
If no compiled cache file exists, Fluid will create it while parsing the
respective Fluid template.
The cache file is invalidated as soon as the template/layout/partial
has been modified (or if caches are flushed).
This speeds up the rendering process by factor 2-5!

Breaking change:

* AbstractViewHelper::$arguments are no longer an object but an array.
  If you used $this->arguments->hasArgument() in your custom ViewHelpers,
  you'll have to replace this with $this->hasArgument()

Change-Id: Idb71f85ea7223755df4bc1c0ff9f8807f1924323
Related: #28544
Resolves: #28545

8 years agoMerge "[!!!][+FEATURE\1d] Add a reserved variable {_all} returning all template variables"
Sebastian Kurfuerst [Mon, 1 Aug 2011 12:46:06 +0000 (14:46 +0200)]
Merge "[!!!][+FEATURE\1d] Add a reserved variable {_all} returning all template variables"

8 years agoMerge "[FEATURE] PaddingViewHelper: allow padding-type right/left/both"
Sebastian Kurfuerst [Mon, 1 Aug 2011 12:45:24 +0000 (14:45 +0200)]
Merge "[FEATURE] PaddingViewHelper: allow padding-type right/left/both"

8 years agoMerge "[+FEATURE] Fluid (Widgets): Allow overriding templateRootPath"
Sebastian Kurfuerst [Mon, 1 Aug 2011 12:34:56 +0000 (14:34 +0200)]
Merge "[+FEATURE] Fluid (Widgets): Allow overriding templateRootPath"

8 years ago[TASK] Minor cleanups
Bastian Waidelich [Thu, 28 Jul 2011 12:04:20 +0000 (14:04 +0200)]
[TASK] Minor cleanups

* removes "F3" from namespace declaration regular expression
* removes api annotation from deprecated form.textbox ViewHelper
* adds unit test for format.raw ViewHelper

Change-Id: I622298e08c3b99ba2c967edf257517f8d9305c31

8 years ago[TASK] Tweak inline comment in TemplateView
Bastian Waidelich [Thu, 28 Jul 2011 12:18:04 +0000 (14:18 +0200)]
[TASK] Tweak inline comment in TemplateView

Change-Id: Ia34545501d9d81f7e7ce9809a88e9d5a8193c53f

8 years ago[!!!][+FEATURE\1d] Add a reserved variable {_all} returning all template variables
Bastian Waidelich [Thu, 28 Jul 2011 11:57:40 +0000 (13:57 +0200)]
[!!!][+FEATURE\1d] Add a reserved variable {_all} returning all template variables

This is especially helpful for passing all arguments
to a partial, using
<f:render partial="..." arguments="{_all}" />

Note: This is a breaking change only if you used the variable "_all" in your template.
In that case just rename that variable to a non-reserved string.

Change-Id: Ifa534dcf72ff8d391e93ab4a4e822c65a13b7985

8 years ago[BUGFIX] Deactivate EscapeInterceptor for certain ViewHelpers
Bastian Waidelich [Thu, 28 Jul 2011 11:54:35 +0000 (13:54 +0200)]
[BUGFIX] Deactivate EscapeInterceptor for certain ViewHelpers

This change deactivates automatic escaping for ViewHelpers that rely
on the raw value.

Change-Id: I895a359aad05c6fbac4d476d7d8eb4f07da1acdc
Related: #27678

8 years ago[TASK] Split escape ViewHelper into dedicated format ViewHelpers
Bastian Waidelich [Thu, 28 Jul 2011 11:47:41 +0000 (13:47 +0200)]
[TASK] Split escape ViewHelper into dedicated format ViewHelpers

This change creates a dedicated ViewHelper for all formats the
Escape ViewHelper supported.
This also marks the Escape ViewHelper deprecated and adds unit
tests for the new ViewHelpers.

Change-Id: I69b598c3d328cbf6613437078d5b62a83c2c85f0
Related: #27628

8 years ago[BUGFIX] Whitespace fixes
Bastian Waidelich [Thu, 28 Jul 2011 10:30:31 +0000 (12:30 +0200)]
[BUGFIX] Whitespace fixes

Non-behavioral change replaces leading spaces by tabs
Additionally this slightly adjusts comments in the RawViewHelper to be in
synch with the FLOW3 package

Change-Id: Ied0ab55d7ff6a2ad2a33c556a056db496b700551

8 years agoMerge "[FEATURE] IconViewHelper (BE) should support CSS-sprites"
Stefan Neufeind [Sat, 9 Jul 2011 17:00:55 +0000 (19:00 +0200)]
Merge "[FEATURE] IconViewHelper (BE) should support CSS-sprites"

8 years ago[FEATURE] IconViewHelper (BE) should support CSS-sprites
Stefan Neufeind [Sat, 11 Jun 2011 14:33:06 +0000 (16:33 +0200)]
[FEATURE] IconViewHelper (BE) should support CSS-sprites

Icons for backend should use the sprite-api

Change-Id: I69584dc4774669d072cf713f46ebd3bede081509
Resolves: #9957

8 years agoMerge "[TASK] Make TextboxViewHelper a subclass of TextFieldViewHelper"
Stefan Neufeind [Sat, 9 Jul 2011 16:57:31 +0000 (18:57 +0200)]
Merge "[TASK] Make TextboxViewHelper a subclass of TextFieldViewHelper"

8 years ago[TASK] Code Cleanup in TemplateView
Sebastian Kurfuerst [Mon, 20 Jun 2011 06:26:12 +0000 (08:26 +0200)]
[TASK] Code Cleanup in TemplateView

... required due to backporting ...

Change-Id: I39dfead143d019b334168cc35a2e160cca7e0d2c

8 years agoMerge "[BUGFIX] Fix Widget support"
Stefan Neufeind [Sat, 9 Jul 2011 15:38:40 +0000 (17:38 +0200)]
Merge "[BUGFIX] Fix Widget support"

8 years ago[+BUGFIX] Use of depreciated function debug in debugViewHelper
Michael Klapper [Sat, 9 Jul 2011 15:14:02 +0000 (17:14 +0200)]
[+BUGFIX] Use of depreciated function debug in debugViewHelper

Change-Id: Id04327bbf03b833c01a46ae4734ed84cccb5d53c
Fixes: #27970

8 years ago[BUGFIX] Fix Widget support
Bastian Waidelich [Thu, 30 Jun 2011 14:47:56 +0000 (16:47 +0200)]
[BUGFIX] Fix Widget support

This is a hotfix for the broken widget support (see #27783)
Besides it fixes some unit tests that were red since the
PropertyMapper backport

Change-Id: I28e3dea2ce51df419ffe563c33b7ef2abb4b3027
Resolves: #27783

8 years ago[TASK] Recreate ext_autoload.php
Bastian Waidelich [Thu, 30 Jun 2011 09:22:43 +0000 (11:22 +0200)]
[TASK] Recreate ext_autoload.php

Using the Extension Development Evaluator

Change-Id: Ifeaacb40bef0295ab446ac187ee348637e9e6eb9
Related: #27680

8 years ago[+FEATURE] (ViewHelpers): Adjust Fluid to new Property Mapper
Sebastian Kurfuerst [Wed, 22 Jun 2011 13:47:39 +0000 (15:47 +0200)]
[+FEATURE] (ViewHelpers): Adjust Fluid to new Property Mapper

make sure to merge the relevant Extbase changes as well when testing.

Related: #27656
Change-Id: Iba7f9559440445d4439a5d2964fa1b3daac7d5bc

8 years agoMerge "[+TASK] Fluid: Make use of newly introduced Extension Service"
Stefan Neufeind [Sun, 26 Jun 2011 23:12:33 +0000 (01:12 +0200)]
Merge "[+TASK] Fluid: Make use of newly introduced Extension Service"

8 years ago[+TASK] Fluid: Make use of newly introduced Extension Service
Bastian Waidelich [Thu, 9 Jun 2011 11:58:31 +0000 (13:58 +0200)]
[+TASK] Fluid: Make use of newly introduced Extension Service

Since r11323b56 most functions of Tx_Extbase_Utility_Extension
are deprecated and have been used to the new
This change makes use of the new Service in Widget and Form VH

Change-Id: I07180cc038d6f33652e1994e7054a1f5d19fb266
Related: #13864

8 years ago[+BUGFIX] Fix unit tests
Sebastian Kurfuerst [Mon, 20 Jun 2011 04:32:00 +0000 (06:32 +0200)]
[+BUGFIX] Fix unit tests

This commit fixes all Fluid unit tests, so they run through again.
With this commit, backporting Fluid is completed up until 496ef09c57e88d3908b1c3398fc75abd35df9137

Change-Id: I662fee3d959416b1b01ef56d232f55c7978ac8b2

8 years ago[TASK] Fluid: Use strpos() instead of strstr() where possible
Stefan Neufeind [Sat, 11 Jun 2011 20:39:48 +0000 (22:39 +0200)]
[TASK] Fluid: Use strpos() instead of strstr() where possible

Faster and less memory-intensiv if just checking for presence
of one character (according to PHP-documentation).

Change-Id: I797271cdba03fb01ca990d95b0e3c685748dcaa5

8 years ago[TASK] Make TextboxViewHelper a subclass of TextFieldViewHelper
Sebastian Kurfuerst [Sun, 19 Jun 2011 08:38:43 +0000 (10:38 +0200)]
[TASK] Make TextboxViewHelper a subclass of TextFieldViewHelper

As TextFieldViewHelper behaves exactly as TextboxViewHelper, and has further
configuration options, it should be safe to do this.

Change-Id: Ic75db49fc06dd5f87aab2beb62ddf7b23d4e0584

8 years agoMerge changes If9f1d413,Icef02f0e,Ib0affd73
Sebastian Kurfuerst [Tue, 21 Jun 2011 04:47:25 +0000 (06:47 +0200)]
Merge changes If9f1d413,Icef02f0e,Ib0affd73

* changes:
  [TASK] (ViewHelper): Code Cleanup to AbstractFormField ViewHelper
  [TASK] (Core): Code Cleanup in AbstractTagBasedViewHelper
  [+BUGFIX] (Core): Condition improvements

8 years agoMerge "[TASK] Cleanup and small improvements to Interceptors"
Bastian Waidelich [Mon, 20 Jun 2011 19:55:05 +0000 (21:55 +0200)]
Merge "[TASK] Cleanup and small improvements to Interceptors"

8 years agoMerge "[TASK] Comment and non-functional changes"
Bastian Waidelich [Mon, 20 Jun 2011 19:54:42 +0000 (21:54 +0200)]
Merge "[TASK] Comment and non-functional changes"

8 years agoMerge "[+BUGFIX] Empty a tag ends with /> instead of </a>"
Bastian Waidelich [Mon, 20 Jun 2011 19:54:09 +0000 (21:54 +0200)]
Merge "[+BUGFIX] Empty a tag ends with /> instead of </a>"

8 years agoMerge "[BUGFIX] Better error message for "unknown section" exception"
Bastian Waidelich [Mon, 20 Jun 2011 19:53:31 +0000 (21:53 +0200)]
Merge "[BUGFIX] Better error message for "unknown section" exception"

8 years agoMerge "[+BUGFIX] Fluid (Core): Simplify debugging of exceptions thrown during render"
Bastian Waidelich [Mon, 20 Jun 2011 19:50:36 +0000 (21:50 +0200)]
Merge "[+BUGFIX] Fluid (Core): Simplify debugging of exceptions thrown during render"

8 years ago[TASK] (ViewHelper): Code Cleanup to AbstractFormField ViewHelper
Sebastian Kurfuerst [Sun, 19 Jun 2011 08:28:01 +0000 (10:28 +0200)]
[TASK] (ViewHelper): Code Cleanup to AbstractFormField ViewHelper

Change-Id: If9f1d413d0061238807b6526bb1471714dc57250

8 years ago[TASK] (Core): Code Cleanup in AbstractTagBasedViewHelper
Sebastian Kurfuerst [Sun, 19 Jun 2011 08:21:11 +0000 (10:21 +0200)]
[TASK] (Core): Code Cleanup in AbstractTagBasedViewHelper

Change-Id: Icef02f0e1934a49e682c57ef91926b8666de8112

8 years ago[+BUGFIX] (Core): Condition improvements
Sebastian Kurfuerst [Sun, 19 Jun 2011 08:18:49 +0000 (10:18 +0200)]
[+BUGFIX] (Core): Condition improvements

* now all complex comparators are fully specified, and behave according to
  the specification
* ConditionViewHelper now behaves predictably in all cases of then/else and
  inline notation.

Original commit: a0966281fbaa8781e6f7430caba39cd4a47315b7
Resolves: #27557

Change-Id: Ib0affd738b2c0ce1f10f24ea589c0ffad949406d

8 years ago[TASK] Cleanup and small improvements to Interceptors
Sebastian Kurfuerst [Sun, 19 Jun 2011 08:14:10 +0000 (10:14 +0200)]
[TASK] Cleanup and small improvements to Interceptors

Interceptors now also get passed the current Parsing State,
which they can use to interact with the tree. This can be helpful
to add new syntax tree elements dynamically after or before the
current one. While this functionality is not yet used inside Fluid,
it is used inside a package I am currently developing.

Original Change: 1c093afb1de5915c2302ebe737ced3c083abee67

Change-Id: Ie95c4e95fb4f8ca26e5e738aea965931a65adf5b

8 years ago[TASK] Comment and non-functional changes
Sebastian Kurfuerst [Fri, 27 May 2011 05:19:55 +0000 (07:19 +0200)]
[TASK] Comment and non-functional changes

... appeared during bringing Fluid v4 and v5 in sync again

Change-Id: I326663606a917ad84fa82a736a536ff77863a0b3

8 years ago[+BUGFIX] Empty a tag ends with /> instead of </a>
Sebastian Kurfuerst [Mon, 20 Jun 2011 04:18:30 +0000 (06:18 +0200)]
[+BUGFIX] Empty a tag ends with /> instead of </a>

Change-Id: I209783b91247ae615e9b944665d67c230b861637
Resolves: #27556

8 years ago[BUGFIX] Better error message for "unknown section" exception
Sebastian Kurfuerst [Sun, 19 Jun 2011 08:26:22 +0000 (10:26 +0200)]
[BUGFIX] Better error message for "unknown section" exception

Related Fluid (FLOW3) change: I6de1f66402cb5c1d4781f1cdb41e04cb23cf016c

Change-Id: I22121ad7df7a307fdc98df23a38fab6fa036682f

8 years ago[+BUGFIX] Fluid (Core): Simplify debugging of exceptions thrown during render
Sebastian Kurfuerst [Sun, 19 Jun 2011 08:16:40 +0000 (10:16 +0200)]
[+BUGFIX] Fluid (Core): Simplify debugging of exceptions thrown during render

If a sub node of the SyntaxTree throws an exception, PHP would issue a
fatal error because __toString() methods must not throw exceptions.

This patch fixes this odd behavior by calling __toString() explicitly.

Related Fluid (FLOW3) change: I824cbf1bfde8c571daf67ea08b87b6d137754a09

Change-Id: Id3454bbac2f212ff9a87f0f71ce43ffd62ffa43c

8 years ago[+BUGFIX] Fluid: Fix CObjViewHelper
Sebastian Kurfuerst [Sun, 19 Jun 2011 11:39:25 +0000 (13:39 +0200)]
[+BUGFIX] Fluid: Fix CObjViewHelper

In I98184e96f76714835f02197d118681fdb85d5509 an error has been
introduced: instead of getGettablePropertyNames, getGettableProperties
should be called.

Change-Id: I5034bc9391ee1b43fe9b4db12f00a926e0cf3fa5
Fixes: #26138

8 years ago[+FEATURE] Fluid (Widgets): Allow overriding templateRootPath
Stefan Neufeind [Sat, 11 Jun 2011 12:55:15 +0000 (14:55 +0200)]
[+FEATURE] Fluid (Widgets): Allow overriding templateRootPath

Allows the widget template root path to be overriden via the framework
configuration, for example:
plugin.tx_extension.view {

Thanks to Peter Bücker.

Change-Id: I0ca31753450c49a74e5161996f9a83bb7b032237
Resolves: #10823

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[BUGFIX] Fix documentation for BE-ViewHelpers
Stefan Neufeind [Sat, 11 Jun 2011 14:43:35 +0000 (16:43 +0200)]
[BUGFIX] Fix documentation for BE-ViewHelpers

Change-Id: I483d6242b1a35fe3bbfb8a90b193dee0f413108e
Resolves: #9942

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

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,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): added inline documentation for localized...
Bastian Waidelich [Tue, 25 Jan 2011 19:36:15 +0000 (19:36 +0000)]
[+TASK] Fluid (ViewHelpers): 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 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): and widget.uri no create relative...
Bastian Waidelich [Sat, 27 Nov 2010 11:38:14 +0000 (11:38 +0000)]
[+BUGFIX] Fluid (ViewHelpers/Widget): 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

8 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

8 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

8 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

8 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.

8 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

8 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
<> and <f:widget.uri>

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

8 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

8 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
Bastian Waidelich [Sun, 14 Nov 2010 16:09:43 +0000 (16:09 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Fixed Widget URI generation in 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');
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.