1.2.6 (2015-05-10)

Base Distribution

[TASK] Update PHPUnit and vfsStream dependencies

This updates PHPUnit from 4.3 to 4.6 and vfsStream from 1.4 to 1.5.

[TASK] Revert composer manifest to dev versions

See https://ci.neos.typo3.org/job/TYPO3%20Neos%20Release/42/

TYPO3.Neos

[TASK] Update references in documentation

See https://ci.neos.typo3.org/job/TYPO3%20Neos%20Release/49/

[BUGFIX] Take multi-dimensional node paths into account

The RouteCacheAspect didn’t correctly split the nodepath into parts for multiple dimensions and so routing caches would fail to be flushed when using multiple dimensions.

[BUGFIX] Flush content cache of source collection when moving content

Fixes a node being duplicated when cutting from one content collection and pasting into another one. This happens since the content cache for the previous collection isn’t cleared when the node is moved.

Depends: I865c6a8ebd6a8427730f03e995c14e0fbf2dba62

Fixes: NEOS-1224

[BUGFIX] Fetch external fonts via HTTPS

Currently the Login and Error Views of Neos include Google fonts via HTTP leading to Mixed Content errors when accessing the site over HTTPS.

This patch adjusts Error.scss and Login.scss accordingly.

Note: We don’t use protocol relative URLs by intention, because those are deprecated for security reasons.

Fixes: NEOS-1100

[BUGFIX] Add Namespace for NeosException

In lines 88 and 91 NeosException is used, but which is not associated with a namespace. Therefore, there was an error if the appropriate package was not activated.

Fixes: NEOS-1240

[BUGFIX] Adjust IntegratingJavaScriptSlider cookbook

Since the TypoScript paths changed for 1.2 the cookbook doesn’t reflect realities anymore and missed the important part of including the additional TypoScript file to the Root.ts2.

[BUGFIX] Documentation should document existing TypoScript objects

The TypoScript reference mentions two TypoScript objects in the TYPO3.Media namespace but that doesn’t exist. Those objects are in fact in the TYPO3.Neos namespace. The change reflects that.

Fixes: NEOS-1099

[TASK] Remove unnecessary usages of TYPO3 in documentation

Removes the usage of TYPO3 in the titles of various documentation since the context is known, it’s superfluous.

[BUGFIX] Escape class names in ContentStructure documentation

[BUGFIX] DimensionMenu should work on pages hidden in menu

As the dimension menu uses code from the normal menu it also ignores documents that have the hiddenInMenu flag set. To make the DimensionMenu work on pages that have the flag set it needs to ignore that.

TYPO3.Neos.NodeTypes

No changes

TYPO3.Neos.Kickstarter

No changes

TYPO3.TYPO3CR

[TASK] BeforeNodeMove & AfterNodeMove signals

Backports two signals for node moving needed to solve a bug with content cache flushing.

Related: NEOS-1224

[BUGFIX] ChildNode constraints check needs to be lowercased

Since all node paths are lowercase the constraints check for childNodes must be done against the lowercased node name to match properly. To be more precise any changes applied to the configured nodeName in \\TYPO3\\TYPO3CR\\Domain\\Model\\NodeType::getAutoCreatedChildNodes() must also be applied to incoming node names in \\TYPO3\\TYPO3CR\\Domain\\Model\\NodeType::allowsGrandchildNodeType()

Fixes: NEOS-1234

[BUGFIX] Reducing nodes by dimensions works for nodes without

The NodeDataRepository filters query results with the method reduceNodeVariantsByWorkspacesAndDimensions which works as long as all nodes in your database have the same dimensions. Especially the case that you have nodes with some dimensions and nodes without any dimensions is not handled well if no dimensions are used (configured).

Given you have two variants of a node, one with dimensions one without. If you ask the NodeDataRepository for a node with that identifier and no dimensions it would (wrongly) return the node with dimensions. This change adapts the matching algorithm for the specific case of matching against empty dimension values.

[BUGFIX] ImportService should import with lowercase paths

The change I890ea84ec26f1fba00f72b200e959e3c0fc30f94 introduced a regression for importing sites from the Sites.xml. Paths in there would be used as is, so nodes with paths containing uppercase characters could never be found.

This change adds the necessary lowercasing of paths found in the imported Sites.xml file.

Fixes: NEOS-1237

[TASK] Optimize renderValidNodeName utility method

Checks the given name against the name pattern before doing expensive unnecessary transliteration.

Related: NEOS-1237

[BUGFIX] Fix finding persistence relations on PostgreSQL

The method findByRelationWithGivenPersistenceIdentifierAndObjectTypeMap() could not work on PostgreSQL, due to the use of bin2hex when storing ObjectArray types.

This change fixes that by encoding as needed when running on PostgreSQL.

Related: NEOS-1062

TYPO3.TypoScript

No changes

TYPO3.Media

[BUGFIX] Fix spelling error in error message

Fixes: FLOW-112

TYPO3.NeosDemoTypo3Org

No changes