Packages/TYPO3.CMS.git
10 years ago[~FEATURE] Fluid (ViewHelpers): Adjusted AbstractFormViewHelper to be able to namespa...
Jochen Rau [Mon, 10 Aug 2009 23:37:02 +0000 (23:37 +0000)]
[~FEATURE] Fluid (ViewHelpers): Adjusted AbstractFormViewHelper to be able to namespace arguments. Fixed several Unit Tests. The patch was provided by Bastian. Thanks a lot! Resolves #3317.

10 years ago[+BUGFIX] Fluid (View): Improved error message in case no layout/partial was found...
Sebastian Kurfürst [Mon, 10 Aug 2009 04:43:39 +0000 (04:43 +0000)]
[+BUGFIX] Fluid (View): Improved error message in case no layout/partial was found. Resolves #4204.

10 years ago[~BUGFIX] Fluid (ViewHelpers): Replaced usage of $GLOBALS['TSFE']->cObj by t3lib_div...
Bastian Waidelich [Sun, 9 Aug 2009 19:41:01 +0000 (19:41 +0000)]
[~BUGFIX] Fluid (ViewHelpers): Replaced usage of $GLOBALS['TSFE']->cObj by t3lib_div::makeInstance('tslib_cObj') in CObjectViewHelper, HtmlViewHelper and ImageViewHelper. Note: In CropViewHelper & EmailViewHelper it does no harm to use $GLOBALS['TSFE']->cObj. Thanks for the patch. Resolves #4063.

10 years ago[+FEATURE] Fluid (ViewHelpers): Added "absolute" argument to link.action and uri...
Bastian Waidelich [Sun, 9 Aug 2009 19:34:06 +0000 (19:34 +0000)]
[+FEATURE] Fluid (ViewHelpers): Added "absolute" argument to link.action and uri.action viewhelpers. Resolves #4202.

10 years ago[+BUGFIX] Fluid (ViewHelpers): Adjusted FormViewHelper to work together with updated...
Sebastian Kurfürst [Fri, 7 Aug 2009 16:57:08 +0000 (16:57 +0000)]
[+BUGFIX] Fluid (ViewHelpers): Adjusted FormViewHelper to work together with updated persistence and form resubmission. Related to #4178.

10 years ago[+TASK] Fluid: Fresh backport with updated FluidBackporter from Fluid package r2990
Bastian Waidelich [Thu, 6 Aug 2009 13:21:24 +0000 (13:21 +0000)]
[+TASK] Fluid: Fresh backport with updated FluidBackporter from Fluid package r2990
[~TASK] Fluid (ViewHelpers): FormViewHelper now extends AbstractFormViewHelper and uses PersistenceManager to render the hidden identity field. This is work in progress. Extbase needs to implement the latest Changes to the FLOW3 persistence framework to fix form handling. Relates to #4170
[TASK] Fluid: added ErrorsViewHelper to autoload list. Removed ResourceViewHelperTest_testcase - This view helper does not exist for TYPO3 v4
[TASK] Fluid (ViewHelpers): Updated unit tests. They run green now, as it's supposed to be.

10 years ago[+BUGFIX] Fluid (View): Refactored TemplateView, which is now automatically backporte...
Sebastian Kurfürst [Mon, 3 Aug 2009 10:52:32 +0000 (10:52 +0000)]
[+BUGFIX] Fluid (View): Refactored TemplateView, which is now automatically backported to FLOW3
[+FEATURE] Fluid: Added Layout and Partial support. This adds <f:render>, <f:layout> and <f:section> as ViewHelpers. See the blog example for an example.
[!!!] [~TASK] Fluid (ViewHelpers): Updated AbstractFormViewHelper and SelectViewHelper. Everything should still work as expected, but here there might still be some issues. Please test thoroughly and report any problems!

10 years ago[~TASK] Fluid: Removed @internal annotations and added @api annotations
Sebastian Kurfürst [Mon, 3 Aug 2009 07:30:07 +0000 (07:30 +0000)]
[~TASK] Fluid: Removed @internal annotations and added @api annotations
[~TASK] Fluid: Now, one ViewHelperNode only ever uses one instance of a ViewHelper

10 years ago[+FEATURE] Fluid: Added ext_autoload.php. The core autoloader uses this file as a...
Jochen Rau [Fri, 31 Jul 2009 11:38:35 +0000 (11:38 +0000)]
[+FEATURE] Fluid: Added ext_autoload.php. The core autoloader uses this file as a registry.

10 years ago[+FEATURE] Fluid (ViewHelpers): Implemented automatic error handling for forms. Relat...
Sebastian Kurfürst [Tue, 21 Jul 2009 20:17:20 +0000 (20:17 +0000)]
[+FEATURE] Fluid (ViewHelpers): Implemented automatic error handling for forms. Relates to #3861

10 years agoFLuid:
Sebastian Kurfürst [Fri, 10 Jul 2009 16:21:25 +0000 (16:21 +0000)]
FLuid:
* Adjustments to make it work with the new persistence rewrite

10 years agoFluid:
Sebastian Kurfürst [Thu, 2 Jul 2009 21:04:31 +0000 (21:04 +0000)]
Fluid:
[+FIX] (ViewHelpers): Removed trailing whitespace in FormViewHelper, fixes #3814

10 years agotx_fluid:
Bastian Waidelich [Sun, 21 Jun 2009 21:02:35 +0000 (21:02 +0000)]
tx_fluid:
* translate view helper: added support for LLL-references. Resolves #3525
* translate view helper: small refactoring and code/comment tweaks, added unit test case (still needs more tests)
* !!! translate view helper: default values are not HTMLEscaped anymore, so you can write <f:translate key="nonexistingKey">fallback with <strong>HTML tags</strong></f:translate>

10 years agoFluid:
Sebastian Kurfürst [Sun, 21 Jun 2009 10:41:21 +0000 (10:41 +0000)]
Fluid:
* Added Docbook generator (Backported from v5)

10 years agoFluid:
Sebastian Kurfürst [Fri, 19 Jun 2009 10:18:43 +0000 (10:18 +0000)]
Fluid:
* Added settings to ViewHelperVariableContainer, so it is available in {settings}

10 years agotx_fluid: (fresh backport from Fluid Package r2614 with FluidBackporter r2615):
Bastian Waidelich [Mon, 15 Jun 2009 18:17:24 +0000 (18:17 +0000)]
tx_fluid: (fresh backport from Fluid Package r2614 with FluidBackporter r2615):
  [FEAT] Fluid (ViewHelpers): Added AliasViewHelper, resolves #3592
  [TASK] Fluid (Tests): Fixed and extended ForViewHelperTest
  [TASK] Fluid (Tests): Tweaked ViewHelperBaseTestcase
  [TASK] Fluid (Tests): Fixed some PHP Doc Comments

10 years agotx_fluid: (fresh backport from Fluid Package r2609 with FluidBackporter r2611):
Bastian Waidelich [Mon, 15 Jun 2009 12:03:04 +0000 (12:03 +0000)]
tx_fluid: (fresh backport from Fluid Package r2609 with FluidBackporter r2611):
  [FIX] Fluid (Core): Set controller context only if not null. This needs to be done for rendering contexts without a controller context  (e.g. in a service)
  [TASK] Fluid (Core): Fixed a few doc comments
  [TASK] Fluid (Core): Removed commented-out code as it was obsolete

other changes in tx_fluid:
  * AbstractFormViewHelper: Removed persistenceManager-dependency. getName() and getValue() now return correct values for domain objects. Resolves #3651
  * Adjusted doc comments of ImageViewHelper. Resolves #3394
  * Fixed a few more doc comments

10 years agoFluid:
Sebastian Kurfürst [Tue, 9 Jun 2009 19:27:52 +0000 (19:27 +0000)]
Fluid:
* !!! Commented out last change of Jochen. Please add it again when you commit it @Jochen
* Added Boolean Expression Language
* Fixed #3551

10 years agoFluid:
Jochen Rau [Mon, 8 Jun 2009 22:28:16 +0000 (22:28 +0000)]
Fluid:
* Added "injectObjectManager" to the fake object factory (required by the upcoming committ of the refactored peristence layer)

10 years agoFluid:
Sebastian Kurfürst [Thu, 28 May 2009 21:48:40 +0000 (21:48 +0000)]
Fluid:
* Second part of the last big commit

10 years agoFluid:
Sebastian Kurfürst [Thu, 28 May 2009 21:45:46 +0000 (21:45 +0000)]
Fluid:
* Backported major changes from Fluid v5 to Fluid v4
* !!! Many of these changes are not backwards-compatible! Please read this if you have written custom ViewHelpers!
* Introduced Shorthand Syntax for calling ViewHelpers
* Core:
** Lots of internal cleanup and refactorings.
** !!! Complete restructuring into subpackages.
* ViewHelpers:
** !!! The base classes of ViewHelpers changed to Tx_Fluid_Core_ViewHelper_AbstractViewHelper and Tx_Fluid_Core_ViewHelper_TagBasedViewHelper. Please adjust your ViewHelpers!
** !!! $this->variableContainer has been renamed to $this->templateVariableContainer
** !!! the view is not in $this->variableContainer anymore. Currently there is no way to fetch the View from a ViewHelper.
** Introduced a new $this->controllerContext containing the context variables of the controller
** !!! The request can be now found in $this->controllerContext->getRequest()
** !!! The URIHelper has been renamed to URIBuilder and can be now found in $this->controllerContext->getURIBuilder()
** Introduced a new ViewHelperVariableContainer, available in $this->viewHelperVariableContainer to pass data between ViewHelpers. Should only be needed in very rare cases.
** !!! Removed <f:format.htmlEscape> ViewHelper! Please remove these declarations in your template! Escaping of object accessors is now automatically done, see next point.
* !!! ObjectAccessors {...} are now automatically HTMLspecialChar'd if not used as an argument to a ViewHelper. This is done using a new ObjectAccessorPostProcessor. Lateron, this will be made configurable.

10 years agoFluid:
Bastian Waidelich [Mon, 18 May 2009 08:31:44 +0000 (08:31 +0000)]
Fluid:
* Removed debug output from Tx_Fluid_ViewHelpers_Uri_ActionViewHelper.
* Controller-Fallback is not required anymore, it is done in the URIHelper of Extbase
* Tx_Fluid_ViewHelpers_Link_PageViewHelper now uses the URIHelper directly instead of referring to the corresponding URI ViewHelper

10 years agoFluid:
Sebastian Kurfürst [Sun, 17 May 2009 19:43:45 +0000 (19:43 +0000)]
Fluid:
* Fixed ViewHelpers to match the new URIHelper

10 years agotx_fluid:
Bastian Waidelich [Sat, 16 May 2009 18:43:53 +0000 (18:43 +0000)]
tx_fluid:
 * !!!changed view helpers once again!!! link view helpers reside in the link subfolder now. For each link view helper there is a corresponding uri helper now. Check out https://svn.typo3.org/TYPO3v4/CoreProjects/MVC/viewhelpertest for a working example.
 * TagBuilder->setContent does not apply htmlspecialchar() on the the tag contents, as that does not really makes sense - if you really need to escape tag contents, you gotta do it yourself now.

10 years agoFluid: (Backported from Fluid Package r2213 - r2230):
Bastian Waidelich [Sat, 16 May 2009 12:46:47 +0000 (12:46 +0000)]
Fluid: (Backported from Fluid Package r2213 - r2230):
 * AbstractViewHelper: there is no default data type of "Text" set anymore for method parameters to be able to throw a meaningful exception if method argument annotations could not be parsed (e.g. due to PHP optimizers that stripped off the docComments). This relates to #3309.
 * Started to refactor unit tests in order to reduce dependencies. This relates to #3311.
 * Replaced public properties by setter methods in core classes.

 * NOTE: this version requires the latest extbase version as it relies on the extbase autoloader.

10 years agoFluid:
Sebastian Kurfürst [Thu, 14 May 2009 11:01:54 +0000 (11:01 +0000)]
Fluid:
* adding some class comments

10 years agoFluid:
Bastian Waidelich [Fri, 8 May 2009 17:18:18 +0000 (17:18 +0000)]
Fluid:
* FormViewHelper: fixed render() method according to the latests URIHelper changes, tweaked renderHiddenIdentityField()
* Added backported ViewHelperException
* Added backported BaseViewHelper (this is mainly needed for the unit tests to run)
* Added backported Fluid tests and fixtures
* Removed unused files README.txt, test.php and doc/*
* Set extension version to 0.1.0

10 years agoFluid::
Jochen Rau [Fri, 8 May 2009 14:20:39 +0000 (14:20 +0000)]
Fluid::
* Fixed FormViewHelper for $pageUid = 0
* Supressed notice on non existing indexes in TranslatViewHelper

10 years agoFluid:
Bastian Waidelich [Fri, 8 May 2009 11:07:09 +0000 (11:07 +0000)]
Fluid:
 * Improved Backport (prefix "Tx_Fluid..." won't be applied within comments
 * If a view helper throws a ViewHelperException, that will be caught in ViewHelperNode to be able to react differently depending on the execution context (e.g. the error message could be outputted only when the current IP is within "devIPmask"). See DateViewHelper for an example.
 * fixed EmailViewHelper. Since latest changes $this->renderChildren() returns NULL instead of an empty string if tag has no content
 * removed test code from TranslateViewHelper.. sorry
 * Modified ActionlinkViewHelper & TypolinkViewHelper according to the latest URIHelper changes
 * unit tests on their way!

10 years agoFluid:
Bastian Waidelich [Wed, 6 May 2009 18:21:16 +0000 (18:21 +0000)]
Fluid:
* removed obsolete compatibility classes and replaced references with the respective extbase classes
* added ob_start() to debug view helper

10 years agoFluid:
Bastian Waidelich [Tue, 5 May 2009 21:13:54 +0000 (21:13 +0000)]
Fluid:
* updated currency, date, number and printf view helpers to use tag contents as their main input as discussed in the mailing lists. This will most probably break your existing fluid templates (again) - but, hey, thats bleeding edge.

10 years agoFluid:
Bastian Waidelich [Tue, 5 May 2009 20:52:33 +0000 (20:52 +0000)]
Fluid:
* Changes backported from FLOW3:
  * major cleanup and refactoring of core and view helper classes & comments
  * added validation for boolean arguments in AbstractViewHelper
  * added initialize-method to AbstractViewHelper, that is called before render(). This was especially needed for tagbased viewhelpers.
  * renderChildren() now directly calls evaluateChildNodes() on the respective view helper node allowing us to render objects/arrays.
  * improved boolean type conversion for arguments in ViewHelperNode.
  * added TagBuilder class, re-wrote all tag based view helpers to use it (see form view helpers for some examples)
  * ViewHelperArguments collection got a new method "hasArgument()" that returns TRUE when the specified argument exists and is not NULL
* tx_fluid changes:
  * Improved fake object factory. Now objects are injected to subclasses and implementations of the specified classes/interfaces.
  * cleaned up and tweaked view helpers. Removed Parsefunc, Stdwrap and TypoScript view helpers for now. Added CObject, If/Then/Else, EmailLink, Crop, Currency, Debug, HTML, Nl2br, Image view helpers. Thanks to Sebastian Böttger, Christopher Hlubek, Niels Pardon, Andreas Pattynama for the help!
* Note: Unit tests not fully backported yet.

10 years agoFluid:
Jochen Rau [Tue, 5 May 2009 10:07:39 +0000 (10:07 +0000)]
Fluid:
* !!!Changed signature of the URIViewHelper methods
* Moved the assignment of the 'view' from initializeView() to the constructor

10 years agoFixed #3065: ObjectFactory is unable to call t3lib_div::makeInstance.
Sebastian Kurfürst [Thu, 30 Apr 2009 08:31:21 +0000 (08:31 +0000)]
Fixed #3065: ObjectFactory is unable to call t3lib_div::makeInstance.

10 years agoFluid:
Sebastian Kurfürst [Fri, 17 Apr 2009 21:42:47 +0000 (21:42 +0000)]
Fluid:
* Fixed bug #3122
* Performance improvements from v5 Fluid

10 years agoFluid:
Jochen Rau [Wed, 15 Apr 2009 09:14:37 +0000 (09:14 +0000)]
Fluid:
* Some adjustments to the code according to the renaming of "blogexample" to "blog_example"

10 years agoFluid:
Jochen Rau [Mon, 13 Apr 2009 23:01:33 +0000 (23:01 +0000)]
Fluid:
* Changed ExtBase to Extbase (fixes Bug #3075)

10 years agoAdded type hinting to render() method of ActionlinkViewHelper, TypolinkViewHelper...
Niels Pardon [Sun, 12 Apr 2009 11:07:15 +0000 (11:07 +0000)]
Added type hinting to render() method of ActionlinkViewHelper, TypolinkViewHelper and DateViewHelper

10 years agoAdded stdWrap view helper
Niels Pardon [Sun, 12 Apr 2009 10:43:12 +0000 (10:43 +0000)]
Added stdWrap view helper

10 years agoAdded parseFunc view helper
Niels Pardon [Sun, 12 Apr 2009 09:29:18 +0000 (09:29 +0000)]
Added parseFunc view helper

10 years agoFluid:
Sebastian Kurfürst [Sun, 12 Apr 2009 06:55:08 +0000 (06:55 +0000)]
Fluid:
* Cleaned up TypoScriptViewHelper
* Cleaned up ForViewHelper

10 years agoSolved issue #3068: Fluid: TranslateViewHelper does only work once
Niels Pardon [Fri, 10 Apr 2009 10:45:16 +0000 (10:45 +0000)]
Solved issue #3068: Fluid: TranslateViewHelper does only work once

10 years agoAdded TypoScript view helper for Fluid
Niels Pardon [Thu, 9 Apr 2009 18:54:16 +0000 (18:54 +0000)]
Added TypoScript view helper for Fluid

10 years agoFluid:
Jochen Rau [Wed, 8 Apr 2009 22:35:15 +0000 (22:35 +0000)]
Fluid:
* Fixed a problem when the name of a form element tag came from $arguments['property]
* Added tag attributes "rows" and "cols" to form.textarea

10 years ago* Added format.number, format.printf and format.htmlescape view helpers with tests
Christopher Hlubek [Sun, 5 Apr 2009 21:03:57 +0000 (21:03 +0000)]
* Added format.number, format.printf and format.htmlescape view helpers with tests

11 years agoFluid:
Sebastian Kurfürst [Tue, 31 Mar 2009 11:49:37 +0000 (11:49 +0000)]
Fluid:
* Added Form* view helpers backported from v5
* Adjusted view helpers to refactoring of URIHelper

11 years agoThe link view helpers are now based on the new URIHelper
Christopher Hlubek [Sat, 28 Mar 2009 23:18:50 +0000 (23:18 +0000)]
The link view helpers are now based on the new URIHelper

11 years agoFluid:
Jochen Rau [Sat, 28 Mar 2009 20:37:21 +0000 (20:37 +0000)]
Fluid:
* Fixed problem with encoding of the url arguments
* The link view helper now takes the controller argument into account

11 years agoAdded a key argument to enable the usage of associative arrays in for
Christopher Hlubek [Sat, 28 Mar 2009 16:54:46 +0000 (16:54 +0000)]
Added a key argument to enable the usage of associative arrays in for

11 years agoInitialize translate view helper only once per request
Christopher Hlubek [Sat, 28 Mar 2009 16:15:30 +0000 (16:15 +0000)]
Initialize translate view helper only once per request

11 years agoMade ObjectFactory really work
Sebastian Kurfürst [Sat, 28 Mar 2009 13:00:54 +0000 (13:00 +0000)]
Made ObjectFactory really work

11 years agoFluid: Default arguments are not validated anymore
Sebastian Kurfürst [Fri, 27 Mar 2009 16:39:21 +0000 (16:39 +0000)]
Fluid: Default arguments are not validated anymore

11 years agoPorted the existing translation view helper from extbase to fluid
Christopher Hlubek [Fri, 27 Mar 2009 15:59:04 +0000 (15:59 +0000)]
Ported the existing translation view helper from extbase to fluid

11 years agoFluid backport
Sebastian Kurfürst [Fri, 27 Mar 2009 15:58:32 +0000 (15:58 +0000)]
Fluid backport

11 years agoNew view helpers
Sebastian Kurfürst [Fri, 27 Mar 2009 15:34:04 +0000 (15:34 +0000)]
New view helpers

11 years agoImplemented a basic date view helper
Christopher Hlubek [Fri, 27 Mar 2009 15:14:41 +0000 (15:14 +0000)]
Implemented a basic date view helper

11 years agoFluid: Added typolinkViewHelper and a basic actionViewHelper; fixed many argument...
Sebastian Kurfürst [Fri, 27 Mar 2009 00:16:50 +0000 (00:16 +0000)]
Fluid: Added typolinkViewHelper and a basic actionViewHelper; fixed many argument things ;-)

11 years agoFluid: Added automatic registration of arguments
Sebastian Kurfürst [Thu, 26 Mar 2009 15:22:22 +0000 (15:22 +0000)]
Fluid: Added automatic registration of arguments

11 years agoFluid
Jochen Rau [Thu, 26 Mar 2009 13:43:55 +0000 (13:43 +0000)]
Fluid
* Fixed class name Tx_ExtBase_MVC_View_AbstractView

11 years agoCommitting changes
Sebastian Kurfürst [Thu, 26 Mar 2009 12:30:50 +0000 (12:30 +0000)]
Committing changes

11 years agoFluid: First backport
Sebastian Kurfürst [Thu, 26 Mar 2009 11:38:42 +0000 (11:38 +0000)]
Fluid: First backport

11 years agofirst fluid version
Sebastian Kurfürst [Wed, 25 Mar 2009 16:41:03 +0000 (16:41 +0000)]
first fluid version

11 years agoAdding fluid
Sebastian Kurfürst [Wed, 25 Mar 2009 16:36:27 +0000 (16:36 +0000)]
Adding fluid