Packages/TYPO3.CMS.git
6 years ago[BUGFIX] Mentions of old class names
Christian Kuhn [Wed, 1 May 2013 15:57:52 +0000 (17:57 +0200)]
[BUGFIX] Mentions of old class names

Change-Id: Iee7a863a9d68d1379e1e616414b9848e0c535a8a
Resolves: #47791
Releases: 6.2
Reviewed-on: https://review.typo3.org/20378
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Reschedule the removal for the old property mapper
Marc Bastian Heinrichs [Sun, 28 Apr 2013 12:24:03 +0000 (14:24 +0200)]
[TASK] Reschedule the removal for the old property mapper

The old property mapper will be removed in two versions after 6.1

Resolves: #47665
Releases: 6.2, 6.1
Change-Id: I35291e0a95aa521bf5d6cb21c712a05a29420afa
Reviewed-on: https://review.typo3.org/20255
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Raise sysext versions to 6.2.0
Jigal van Hemert [Sat, 27 Apr 2013 15:06:05 +0000 (17:06 +0200)]
[TASK] Raise sysext versions to 6.2.0

System extensions are shipped with the same version number as the TYPO3
release they belong with. Also the dependency should be sett accordingly
to make clear they are not to be used with other releases.

Change-Id: I94343a34338f3d6da88bf7af9d7dfd945223aefd
Fixes: #47651
Releases: 6.2
Reviewed-on: https://review.typo3.org/20237
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Update changelog and version to 6.1.0
Wouter Wolters [Tue, 23 Apr 2013 20:58:57 +0000 (22:58 +0200)]
[TASK] Update changelog and version to 6.1.0

Change-Id: Ief57c8addc55b6387ffe249169d570fe221b6dd1
Resolves: #47520
Releases: 6.1
Reviewed-on: https://review.typo3.org/20118
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Fluid must not use legacy flash message handling
Alexander Schnitzler [Sun, 14 Apr 2013 11:23:42 +0000 (13:23 +0200)]
[BUGFIX] Fluid must not use legacy flash message handling

Since the core introduced a new flash message handling the
handling in Fluid has to be adjusted as well.

Releases: 6.1
Resolves: #47214
Change-Id: I490f77687befa1a62db0718f828fce1e68ebdfff
Reviewed-on: https://review.typo3.org/19972
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
6 years ago[BUGFIX] Don't use folders as templates, partials and layouts
Marc Bastian Heinrichs [Sat, 13 Apr 2013 17:11:49 +0000 (19:11 +0200)]
[BUGFIX] Don't use folders as templates, partials and layouts

The file_exists checks in TemplateView and StandaloneView are true for
folders. This leads to unrendered partials with resorted paths.
Use is_file.

Releases: 6.1, 6.0, 4.7, 1.3
Fixes: #47186
Fluid Package Issue: #47188

Change-Id: Ib64e180e01d66777bb5b0683cce26d88ec2a9fd6
Reviewed-on: https://review.typo3.org/19920
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Use __DIR__ instead of dirname(__FILE__)
Stefan Neufeind [Sun, 14 Apr 2013 00:42:25 +0000 (02:42 +0200)]
[TASK] Use __DIR__ instead of dirname(__FILE__)

Supported since PHP 5.3.0.
Fluid from Flow uses __DIR__ and the backporter
used a replacement to transform it to
dirname(__FILE__).

See also patch for backporter:
https://review.typo3.org/19955

Resolves: #47206
Releases: 6.0, 6.1
Change-Id: If32852e74625990b6323848074fe54fc5e1fb554
Reviewed-on: https://review.typo3.org/19956
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Add namespaing to ConfigurationManagerInterface
Stefan Neufeind [Sat, 13 Apr 2013 22:20:36 +0000 (00:20 +0200)]
[TASK] Add namespaing to ConfigurationManagerInterface

Resolves: #47201
Releases: 6.0, 6.1
Change-Id: I5098a63e9cad8848e2c14da9d9e99de6885d45e9
Reviewed-on: https://review.typo3.org/19951
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Remove further t3lib mentions
Wouter Wolters [Sat, 13 Apr 2013 07:54:20 +0000 (09:54 +0200)]
[TASK] Remove further t3lib mentions

Change-Id: I0e82b92e9e3ad0decd93c4fc70cec34cb6a90c31
Resolves: #47176
Releases: 6.1
Reviewed-on: https://review.typo3.org/19882
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Update t3lib mentions
Christian Kuhn [Thu, 11 Apr 2013 17:54:03 +0000 (19:54 +0200)]
[TASK] Update t3lib mentions

Some core parts still mention t3lib classes after namespaces,
mostly in comments.

Related: #47138
Releases: 6.1

Change-Id: I6e732159f92fb539462eba93f8578d90be097327
Reviewed-on: https://review.typo3.org/19805
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Adjust Comments to describe string comparison
Anja Leichsenring [Mon, 8 Apr 2013 04:01:01 +0000 (06:01 +0200)]
[TASK] Adjust Comments to describe string comparison

The IfViewHelper received the ability to compare strings natively some
time ago, but the comment in the class describing the usage was not
updated.

Resolves: #47034
Releases: 6.1
Change-Id: I7a41ab555908ee84dbebabc8f9147d8f61a47b2e
Reviewed-on: https://review.typo3.org/19738
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[CLEANUP] Drop incomplete tests
Anja Leichsenring [Tue, 2 Apr 2013 19:56:05 +0000 (21:56 +0200)]
[CLEANUP] Drop incomplete tests

Resolves: #46871
Releases: 6.1
Change-Id: Ic9aabd83de82bb00be332956e4d5d9802d9a8952
Reviewed-on: https://review.typo3.org/19523
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Add needed setting to handle file_references correctly
Anja Leichsenring [Wed, 26 Dec 2012 08:44:43 +0000 (09:44 +0100)]
[BUGFIX] Add needed setting to handle file_references correctly

The Uri.Image ViewHelper needs the setting 'treatIdAsReference' to
handle file_references correctly.

Change-Id: Ia3df9dffd801e5f88343d60bcc352e39e89179ee
Fixes: #44222
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17274
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Add needed setting to handle file_references correctly
Anja Leichsenring [Thu, 13 Dec 2012 15:31:35 +0000 (16:31 +0100)]
[BUGFIX] Add needed setting to handle file_references correctly

The ImageViewHelper needs the setting 'treatIdAsReference' to
handle file_references correctly.

Change-Id: I4aa8ea8e50147a7f3b8d4b5695b6d37bd4ce501f
Fixes: #43964
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17152
Reviewed-by: Sebastian Michaelsen
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Remove not maintained md5 in ext_emconf
Christian Kuhn [Tue, 26 Mar 2013 21:13:58 +0000 (22:13 +0100)]
[TASK] Remove not maintained md5 in ext_emconf

The serialized array _md5_values_when_last_written is not
maintained for core extensions since ages and just contains
a long string with outdated information.
It is set to an empty string now.

Change-Id: Iae1de150dd0da4ef9ccd993bdc0e75e5eb4c62c1
Resolves: #46699
Releases: 6.1
Reviewed-on: https://review.typo3.org/19325
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Incomplete mock reset in StandaloneViewTest
Christian Kuhn [Tue, 26 Mar 2013 19:09:14 +0000 (20:09 +0100)]
[BUGFIX] Incomplete mock reset in StandaloneViewTest

setUp() fills the makeInstance LIFO via addInstance() with dummy
instances. Some of them are used in the tests and fetched from
this stack during the tests, but not all, which leaves some
instances after this test case is finished.
Other tests can stumble upon that and are feeded with
mocks unexpectedly.
The patch resets the stack in a clean way in tearDown() and
reconstitutes saved singleton object instances afterwards.

Change-Id: I7bea19ec22aec28b1098b7ae40ff4657be34af7f
Fixes: #46695
Related: #38163
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19310
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[!!!][FEATURE] Allow Fluid arrays only in ViewHelper arguments
Wouter Wolters [Sat, 9 Feb 2013 17:20:13 +0000 (18:20 +0100)]
[!!!][FEATURE] Allow Fluid arrays only in ViewHelper arguments

This change greatly enhances the JavaScript compatibility of Fluid.

Fluid Arrays are a subset of the JavaScript object syntax, making it
hard to work with them in mixed HTML/JavaScript documents. For example
before this change, the following JavaScript Object was parsed by Fluid::

var uris = {
  endPoint1: '{f:uri.action(.)}',
  endPoint2: '{f:uri.action(.)}',
};

Before this change, the above snippet resulted in the following template,
as the generated array was casted to a string:

var uris = Array

With this change, Fluid only parses arrays which are used inside
ViewHelper arguments, such that an array inside normal text is not
converted anymore.

Breaking Change
===============

This change is only breaking in very rare cases where one relied on
the inner contents of the ViewHelper being an array, f.e. if one used
the debug ViewHelper as follows::

<f:debug>{key1: 'value1', key2: 'value2'}</f:debug>

. or if anybody wrote custom ViewHelpers which use this convention.

Relying on that would be very fragile anyways, as the insertion of a
single space character before the opening curly bracket or after the
closing one would cast the array back to a string.

ViewHelpers which were written like this should be re-written to take
the array as ViewHelper argument::

<f:debug value="{key1: 'value1', key2: 'value2'}" />

Change-Id: Id5d18ee43c9d00eb09cb74dab0a06897c843869f
Resolves: #43705
Releases: 6.1
Reviewed-on: https://review.typo3.org/18161
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] FormViewHelper creates inline styling
Wouter Wolters [Sun, 3 Mar 2013 16:06:27 +0000 (17:06 +0100)]
[BUGFIX] FormViewHelper creates inline styling

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

Change-Id: I8d3759ebac694a5a4254beb2f7d7561f6c73beaa
Fixes: #40826
Fluid Package Issue: #42743
Releases: 6.1, 6.0, 4.7, 1.3
Reviewed-on: https://review.typo3.org/18573
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
6 years ago[BUGFIX] PHP 5.4 E_STRICT warning in HtmlViewHelper
Christian Kuhn [Sun, 17 Mar 2013 22:21:15 +0000 (23:21 +0100)]
[BUGFIX] PHP 5.4 E_STRICT warning in HtmlViewHelper

Creating the TSFE instance in HtmlViewHelper raises a PHP 5.4
warning 'Creating default Object from empty value'.

Change-Id: Ie269945e4257306cd9a80b2829795c6b1c3e0969
Releases: 6.1, 6.0, 4.7, 4.5
Resolves: #46393
Reviewed-on: https://review.typo3.org/18996
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanup fluid
Wouter Wolters [Sun, 10 Mar 2013 21:42:07 +0000 (22:42 +0100)]
[TASK] Cleanup fluid

- Remove dead code
- Add missing property definitions
- Add function descriptions

Change-Id: I0ec563d42d7e763db7f482c9721edb4717703213
Resolves: #46162
Releases: 6.1
Reviewed-on: https://review.typo3.org/18831
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Adjustable decimals for view helper format.currency
Josef Florian Glatz [Wed, 27 Feb 2013 16:54:06 +0000 (17:54 +0100)]
[FEATURE] Adjustable decimals for view helper format.currency

Adds an extra attribute to set number of decimal points.

Releases: 6.1
Resolves: #45673
Fluid Package Issue: #45923
Change-Id: I687ced95a0b7a081a669dc8883d39b19542d691c
Reviewed-on: https://review.typo3.org/18528
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Update examples in ValidationResults ViewHelper
Wouter Wolters [Wed, 6 Mar 2013 10:34:50 +0000 (11:34 +0100)]
[TASK] Update examples in ValidationResults ViewHelper

The examples in the docblock comment in
\TYPO3\CMS\Fluid\ViewHelpers\Form\ValidationResultsViewHelper
need to be updated to match this ViewHelper.

Change-Id: I133faa0ed76f52bd7c534da241da016dfb0be1f5
Resolves: #40813
Releases: 6.1, 6.0, 4.7
Reviewed-on: https://review.typo3.org/18581
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
6 years ago[TASK] Sync TYPO3 CMS Fluid with Flow Fluid 1.1 (part3)
Tymoteusz Motylewski [Sun, 3 Mar 2013 21:24:06 +0000 (22:24 +0100)]
[TASK] Sync TYPO3 CMS Fluid with Flow Fluid 1.1 (part3)

This is the third part of a backport fluid from Flow.
It contains unit tests.

Change-Id: I9990607d95387b3635a2aaebfc49993f85be5bb7
Releases: 6.1
Resolves: #44819
Reviewed-on: https://review.typo3.org/18192
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
6 years ago[TASK] Sync CMS Fluid with Flow Fluid 1.1 (part2)
Tymoteusz Motylewski [Sun, 3 Mar 2013 17:53:42 +0000 (18:53 +0100)]
[TASK] Sync CMS Fluid with Flow Fluid 1.1 (part2)

This is the second part of a backport fluid from Flow.

Change-Id: I96e47131414c50801ff7628508dc05d7d7b5e106
Releases: 6.1
Resolves: #44819
Fixes: #45985
Reviewed-on: https://review.typo3.org/18163
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
6 years ago[TASK] Add test for GroupedForViewHelper to support DateTime Objects
Kilian Hann [Fri, 13 Apr 2012 09:43:27 +0000 (11:43 +0200)]
[TASK] Add test for GroupedForViewHelper to support DateTime Objects

The DateTime Object was fixed before, but the GroupedForViewHelperTest
still misses a test to demonstrate the possibility to group items
subsequently after a property defined as DateTime Object.

So the patch originally meant to apply is dropped, but we keep the test.

Change-Id: I658d99afd82e9572f070ac9daef25416031bc215
Fixes: #35412
Releases: 6.1
Reviewed-on: https://review.typo3.org/10440
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Günther
Tested-by: Markus Günther
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Replace ObjectManager create with get
Marc Bastian Heinrichs [Sun, 10 Feb 2013 11:06:09 +0000 (12:06 +0100)]
[TASK] Replace ObjectManager create with get

Since Extbase ObjectManager::create is deprecated replace all
usages of the create method with get.

Change-Id: Id1b3157742cd61705ba64a802953cf486269dd93
Resolves: #45324
Releases: 6.1
Reviewed-on: https://review.typo3.org/18176
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
6 years ago[BUGFIX] Apply arguments to the default string
dkd-egerer Sascha Egerer [Fri, 13 Apr 2012 09:48:05 +0000 (11:48 +0200)]
[BUGFIX] Apply arguments to the default string

Apply given arguments with sprintf to the default string
if no localization string was found.

Change-Id: I42002da0b6224f04bcb340d0e451f4c0f1c929f1
Fixes: #34877
Related: #34874
Releases: 6.1, 6.0, 4.7, 1.3
Reviewed-on: https://review.typo3.org/10385
Reviewed-by: Markus Günther
Tested-by: Markus Günther
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
6 years ago[TASK] Clean up Unit tests in fluid
Markus Günther [Sat, 9 Feb 2013 21:38:19 +0000 (22:38 +0100)]
[TASK] Clean up Unit tests in fluid

We had many tests in fluid that are incomplete.
These tests has been incomplete for several years.
Some test has been removed also in TYPO3 fluid.

This patch fix some test by backporting it from
TYPO3 fluid.

The rest of the incomplete tests are also
incomplete in TYPO3 fluid. Maybe we should
ask the Fluid guys.

Fixes: #45331
Releases: 6.1

Change-Id: I38789b98df1dc533b131e54e5eca0cc75b7bc5e0
Reviewed-on: https://review.typo3.org/18171
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Complete the Property Mapper whitelist change for fluid
Sebastian Kurfürst [Tue, 11 Dec 2012 21:20:59 +0000 (22:20 +0100)]
[FEATURE] Complete the Property Mapper whitelist change for fluid

See http://forge.typo3.org/issues/43057 for detailed explanation.

Resolves: #43894
Depends: #43057
Releases: 6.1
Change-Id: If4beb9b832d6662092b64a3320c4e32a538dcbce
Reviewed-on: https://review.typo3.org/17115
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Follow-up typo to #45316
Christian Kuhn [Sat, 9 Feb 2013 20:28:06 +0000 (21:28 +0100)]
[BUGFIX] Follow-up typo to #45316

One namespace change was missing.

Change-Id: Ia10af0e7d336ea7ff423a1974d30892a5b4d1b61
Related: #45316
Releases: 6.1
Reviewed-on: https://review.typo3.org/18167
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Sync CMS Fluid with Flow Fluid 1.1 (part1)
Tymoteusz Motylewski [Sat, 9 Feb 2013 16:54:41 +0000 (17:54 +0100)]
[TASK] Sync CMS Fluid with Flow Fluid 1.1 (part1)

This is the first part of a backport fluid from Flow.
It contains small changes, mostly CGL related.

Change-Id: I72ccac5427638f8525e6b9c754dc5eafb5095dc1
Releases: 6.1
Resolves: #44819
Reviewed-on: https://review.typo3.org/17725
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
6 years ago[FEATURE] Support literal strings in boolean arguments
Christian Kuhn [Sat, 9 Feb 2013 13:01:42 +0000 (14:01 +0100)]
[FEATURE] Support literal strings in boolean arguments

This change adds support for string literals in boolean comparisons.
String literals have to be surrounded by single or double quotes and
may contain escaped single or double quotes.

This is possible now:
<f:if condition="{foo} == 'foo'">

This is a port of the feature from FLOW.Fluid 1.2 from issue #6757.

Change-Id: I1799ff8c4187d33f47a2251404e59f87ff9cba1b
Resolves: #45316
Releases: 6.1
Reviewed-on: https://review.typo3.org/18156
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Günther
Tested-by: Markus Günther
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Add dataproviders for 2 tests in DateViewHelperTest
Wouter Wolters [Fri, 8 Feb 2013 18:46:57 +0000 (19:46 +0100)]
[TASK] Add dataproviders for 2 tests in DateViewHelperTest

Change-Id: Ifa79184384b08a666f8b39d2815ddce7fea788e5
Resolves: #45300
Releases: 6.1
Reviewed-on: https://review.typo3.org/18136
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Daniel Hürtgen
Tested-by: Daniel Hürtgen
6 years ago[BUGFIX] Skip a SelectViewHelperTest on Mac
Markus Günther [Fri, 8 Feb 2013 17:51:58 +0000 (18:51 +0100)]
[BUGFIX] Skip a SelectViewHelperTest on Mac

The optionsAreSortedByLabelIfSortByOptionLabelIsSetAndLocaleEqualsUtf8
test always fails on Mac OSX caused by a bug in the C libraries on
BSD/OSX. Skip the test if PHP_OS is Darwin.

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

Change-Id: I79087ec91a2da60d0e5c44bb0fedfaf11f3508bc
Reviewed-on: https://review.typo3.org/18133
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Unit test fails with broken timezone
Christian Kuhn [Fri, 8 Feb 2013 14:52:09 +0000 (15:52 +0100)]
[BUGFIX] Unit test fails with broken timezone

Commit 87eba80ea3d785 introduced tests that set the default
timezone. This fails due to a typo "Europa" -> "Europe"
Additionally, one of the tests is splitted to using a data
provider.

Change-Id: I893201b8dc0180a458a65f6fd65c9f2104f3e980
Fixes: #45285
Related: #12769
Related: #43363
Related: #9174
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/18119
Reviewed-by: Daniel Hürtgen
Tested-by: Daniel Hürtgen
6 years ago[BUGFIX] Wrong numbers in BE paginage widget
Thomas Löffler [Thu, 7 Feb 2013 20:41:01 +0000 (21:41 +0100)]
[BUGFIX] Wrong numbers in BE paginage widget

On a page with 10 records it counts 1 - 11.
Now it counts right (1 - 10).
Easy review in EM when searching for an ext
in TER, e.g. "news"

Releases: 6.0, 6.1
Resolves: #45259
Change-Id: I11b40841c40dbbf40f36bb12775e8495995ee76a
Reviewed-on: https://review.typo3.org/18096
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Remove superfluous newline
Anja Leichsenring [Thu, 7 Feb 2013 20:15:05 +0000 (21:15 +0100)]
[BUGFIX] Remove superfluous newline

With #12769 a superfluous newline was accidentely merged.
This patch removes it.

Fixes: #45256
Releases: 6.1
Change-Id: I05448276cf1793b2986ddf9831a83dc96e19824b
Reviewed-on: https://review.typo3.org/18094
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Date ViewHelper not using configured Timezones
Anja Leichsenring [Sun, 3 Feb 2013 13:11:44 +0000 (14:11 +0100)]
[BUGFIX] Date ViewHelper not using configured Timezones

The date viewhelper does not respect the configured timezone.

After the default timezone is set during Bootstrap, it is enough to
retrieve the setting from environment.

Additional a condition tests the proper format of timestamps and adds
the '@' if it is missing.

For the formatted output with '%' strftime function is added, too.

Fixes: #12769, #43363, #9174
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Change-Id: I782b4ec00537519768335da9ba32822a42108ea1
Reviewed-on: https://review.typo3.org/17976
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Fix typo and improve backup of system settings
Anja Leichsenring [Wed, 6 Feb 2013 20:03:01 +0000 (21:03 +0100)]
[BUGFIX] Fix typo and improve backup of system settings

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

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

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

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

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

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

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

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

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

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

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

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

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

This reverts commit c3735abe56b70dba0f80489913a9bbf45055cda6

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

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

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

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

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

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

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

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

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

Releases: 6.0

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

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

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

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

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

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

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

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

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

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

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

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

Resolves: #43069
Releases: 6.0

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

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

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

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

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

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

Resolves: #43075
Releases: 6.0

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

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

Resolves: #13255
Release: 6.0

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

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

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

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

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

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

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

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

Releases: 6.0

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

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

This reverts commit cc4f28ba23f7d4ae9feb2bd9fef658d8bfcf1090

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

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

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

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

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

This patch removes the deprecated RenderFlashMessages ViewHelper.

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

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

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

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

Releases: 6.0

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

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

Resolves: #42665
Releases: 6.0

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

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

Resolves: #42661
Releases: 6.0

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

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

Fixes: #42612
Releases: 6.0

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

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

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

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

Releases: 6.0
Fixes: #42554

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

Releases: 6.0

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

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

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

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

Fixes: #42123
Releases: 6.0

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

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

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

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

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

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

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

The usage of the global SOBE is deprecated since now.

Additionally clean up the PageInfoViewHelper in this regard.

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

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

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

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

Resolves: #41171
Releases: 6.0

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

Fixes: #41261
Releases: 6.0

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

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

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

Rename all classes to namespaced class names

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

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

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

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

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

Namespace declaration is at wrong position

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

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

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

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

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

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

Change-Id: Ia7432e1c923826ed58206bca15fb94509adbd508

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

Change-Id: I620d2e61860142cdc89cc83474c95542799961c0

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

Change-Id: I5ab2b907e5700a7ab24bde9ae01effbf32945e96

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

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

Thanks to Georg Ringer

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

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

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

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

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

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

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

Resolves: #39303
Related: #34528

Releases: 6.0

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

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

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

Fixes: #39156
Releases: 6.0, 4.7, 1.4
Change-Id: I3991a079d2441b35a54b607202caddeeb9e71666
Reviewed-on: http://review.typo3.org/9063
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski