Skip to content

Commit

Permalink
Merge branch '9.0' into bugfix/review-workspace-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaeslich committed Oct 13, 2023
2 parents 2e7c5dc + e7b9543 commit 0f2dc77
Show file tree
Hide file tree
Showing 145 changed files with 5,171 additions and 9,268 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ public function __construct(
* @param boolean $force Confirm application of this migration, only needed if the given migration contains any warnings.
* @return void
* @throws StopCommandException
* @see neos.contentrepositoryregistry:nodemigration:migrate
* @see neos.contentrepositoryregistry:nodemigration:execute
*/
public function migrateCommand(string $version, string $workspace = 'live', bool $force = false, string $contentRepositoryIdentifier = 'default'): void
public function executeCommand(string $version, string $workspace = 'live', bool $force = false, string $contentRepositoryIdentifier = 'default'): void
{
$contentRepositoryId = ContentRepositoryId::fromString($contentRepositoryIdentifier);

Expand All @@ -66,7 +66,7 @@ public function migrateCommand(string $version, string $workspace = 'live', bool
if ($migrationConfiguration->hasWarnings() && $force === false) {
$this->outputLine();
$this->outputLine('Migration has warnings.'
. ' You need to confirm execution by adding the "--confirmation true" option to the command.');
. ' You need to confirm execution by adding the "--force true" option to the command.');
$this->quit(1);
}

Expand Down Expand Up @@ -94,9 +94,9 @@ public function migrateCommand(string $version, string $workspace = 'live', bool
* @throws UnknownPackageException
* @throws FilesException
* @throws StopCommandException
* @see neos.contentrepositoryregistry:nodemigration:migrationcreate
* @see neos.contentrepositoryregistry:nodemigration:kickstart
*/
public function migrationCreateCommand(string $packageKey): void
public function kickstartCommand(string $packageKey): void
{
if (!$this->packageManager->isPackageAvailable($packageKey)) {
$this->outputLine('Package "%s" is not available.', [$packageKey]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ protected function registerAvailableVersions()
{
$this->availableVersions = [];
foreach ($this->packageManager->getAvailablePackages() as $package) {
$this->registerVersionInDirectory($package, 'TYPO3CR');
$this->registerVersionInDirectory($package, 'ContentRepository');
}
ksort($this->availableVersions);
Expand Down
14 changes: 7 additions & 7 deletions Neos.Fusion.Afx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,10 @@ Neos.Fusion:Join {

## Examples

### Rendering of Collections with `Neos.Fusion:Collection`
### Rendering of Collections with `Neos.Fusion:Loop`

For rendering of lists or menus a presentational-component usually will recieve arrays of
preprocessed data as prop. To iterate over such an array the `Neos.Fusion:Collection`
preprocessed data as prop. To iterate over such an array the `Neos.Fusion:Loop`
can be used in afx.

```
Expand All @@ -368,11 +368,11 @@ prototype(Vendor.Site:IterationExample) < prototype(Neos.Fusion:Component) {
renderer = afx`
<ul @if.has={props.items ? true : false}>
<Neos.Fusion:Collection collection={props.items} itemName="item">
<li @path='itemRenderer'>
<Neos.Fusion:Loop items={props.items} itemName="item">
<li>
<Vendor.Site:LinkExample {...item} />
</li>
</Neos.Fusion:Collection>
</Neos.Fusion:Loop>
</ul>
`
}
Expand All @@ -389,11 +389,11 @@ prototype(PackageFactory.AtomicFusion.AFX:SliderExample) < prototype(Packagefact
images = ${[]}
renderer = afx`
<div class="slider">
<Neos.Fusion:Collection collection={props.images} itemName="image" iterationName="iteration" @children="itemRenderer">
<Neos.Fusion:Loop items={props.images} itemName="image" iterationName="iteration">
<Neos.Fusion:Augmenter class="slider__slide" data-index={iteration.index}>
<Vendor.Site:ImageExample {...image} />
</Neos.Fusion:Augmenter>
</Neos.Fusion:Collection>
</Neos.Fusion:Loop>
</div>
`
}
Expand Down

This file was deleted.

30 changes: 0 additions & 30 deletions Neos.Fusion/Classes/FusionObjects/ArrayImplementation.php

This file was deleted.

64 changes: 0 additions & 64 deletions Neos.Fusion/Classes/FusionObjects/AttributesImplementation.php

This file was deleted.

43 changes: 0 additions & 43 deletions Neos.Fusion/Classes/FusionObjects/CollectionImplementation.php

This file was deleted.

21 changes: 0 additions & 21 deletions Neos.Fusion/Classes/FusionObjects/RawArrayImplementation.php

This file was deleted.

33 changes: 0 additions & 33 deletions Neos.Fusion/Classes/FusionObjects/RawCollectionImplementation.php

This file was deleted.

5 changes: 0 additions & 5 deletions Neos.Fusion/Resources/Private/Fusion/Deprecated/Array.fusion

This file was deleted.

15 changes: 0 additions & 15 deletions Neos.Fusion/Resources/Private/Fusion/Deprecated/Attributes.fusion

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0f2dc77

Please sign in to comment.