Skip to content

Commit

Permalink
Merge pull request #4817 from dlubitz/90/timeable-node-visibility
Browse files Browse the repository at this point in the history
FEATURE: Timeable Node Visibility
  • Loading branch information
dlubitz authored Feb 9, 2024
2 parents a6f0796 + dd1b2cb commit 5ccf70a
Show file tree
Hide file tree
Showing 84 changed files with 2,153 additions and 590 deletions.
6 changes: 4 additions & 2 deletions .composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@
"@test:behat-cli -c Neos.ContentGraph.DoctrineDbalAdapter/Tests/Behavior/behat.yml.dist",
"../../flow doctrine:migrate --quiet; ../../flow cr:setup",
"@test:behat-cli -c Neos.Neos/Tests/Behavior/behat.yml",
"@test:behat-cli -c Neos.ContentRepository.LegacyNodeMigration/Tests/Behavior/behat.yml.dist"
"@test:behat-cli -c Neos.ContentRepository.LegacyNodeMigration/Tests/Behavior/behat.yml.dist",
"@test:behat-cli -c Neos.TimeableNodeVisibility/Tests/Behavior/behat.yml.dist"
],
"test:behavioral:stop-on-failure": [
"@test:behat-cli -vvv --stop-on-failure -c Neos.ContentRepository.BehavioralTests/Tests/Behavior/behat.yml.dist",
"@test:behat-cli -vvv --stop-on-failure -c Neos.ContentGraph.DoctrineDbalAdapter/Tests/Behavior/behat.yml.dist",
"../../flow doctrine:migrate --quiet; ../../flow cr:setup",
"@test:behat-cli -vvv --stop-on-failure -c Neos.Neos/Tests/Behavior/behat.yml",
"@test:behat-cli -vvv --stop-on-failure -c Neos.ContentRepository.LegacyNodeMigration/Tests/Behavior/behat.yml.dist"
"@test:behat-cli -vvv --stop-on-failure -c Neos.ContentRepository.LegacyNodeMigration/Tests/Behavior/behat.yml.dist",
"@test:behat-cli -vvv --stop-on-failure -c Neos.TimeableNodeVisibility/Tests/Behavior/behat.yml.dist"
],
"test": [
"@test:unit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private function exportEvent(EventInterface $event): void
);
assert($this->eventFileResource !== null);
fwrite($this->eventFileResource, $exportedEvent->toJson() . chr(10));
$this->numberOfExportedEvents ++;
$this->numberOfExportedEvents++;
}

/**
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion Neos.Neos/NodeTypes/Mixin/Content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
superTypes:
'Neos.Neos:Node': true
'Neos.Neos:Hidable': true
'Neos.Neos:Timable': true
abstract: true
constraints:
nodeTypes:
Expand Down
1 change: 0 additions & 1 deletion Neos.Neos/NodeTypes/Mixin/Document.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
superTypes:
'Neos.Neos:Node': true
'Neos.Neos:Hidable': true
'Neos.Neos:Timable': true
abstract: true
aggregate: true
constraints:
Expand Down
36 changes: 0 additions & 36 deletions Neos.Neos/NodeTypes/Mixin/Timable.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ prototype(Neos.Neos:RawContent.NodeHeader) < prototype(Neos.Fusion:Component) {
visibilityInformations = Neos.Fusion:DataStructure {
hidden = 'hidden'
hidden.@if.isHidden = ${node.hidden}
hiddenBeforeDateTime = ${'hidden before ' + Date.format(node.hiddenBeforeDateTime, 'Y-m-d H:i:s')}
hiddenBeforeDateTime.@if.hasHiddenBeforeDateTime = ${node.hiddenBeforeDateTime}
hiddenAfterDateTime = ${'hidden after ' + Date.format(node.hiddenAfterDateTime, 'Y-m-d H:i:s')}
hiddenAfterDateTime.@if.hasHiddenAfterDateTime = ${node.hiddenAfterDateTime}
@process.join = ${Array.join(value, ', ')}
}

Expand Down
13 changes: 0 additions & 13 deletions Neos.Neos/Resources/Private/Translations/ar/NodeTypes/Timable.xlf

This file was deleted.

13 changes: 0 additions & 13 deletions Neos.Neos/Resources/Private/Translations/cs/NodeTypes/Timable.xlf

This file was deleted.

13 changes: 0 additions & 13 deletions Neos.Neos/Resources/Private/Translations/da/NodeTypes/Timable.xlf

This file was deleted.

13 changes: 0 additions & 13 deletions Neos.Neos/Resources/Private/Translations/de/NodeTypes/Timable.xlf

This file was deleted.

13 changes: 0 additions & 13 deletions Neos.Neos/Resources/Private/Translations/el/NodeTypes/Timable.xlf

This file was deleted.

13 changes: 0 additions & 13 deletions Neos.Neos/Resources/Private/Translations/en/NodeTypes/Timable.xlf

This file was deleted.

13 changes: 0 additions & 13 deletions Neos.Neos/Resources/Private/Translations/es/NodeTypes/Timable.xlf

This file was deleted.

13 changes: 0 additions & 13 deletions Neos.Neos/Resources/Private/Translations/fi/NodeTypes/Timable.xlf

This file was deleted.

13 changes: 0 additions & 13 deletions Neos.Neos/Resources/Private/Translations/fr/NodeTypes/Timable.xlf

This file was deleted.

13 changes: 0 additions & 13 deletions Neos.Neos/Resources/Private/Translations/hu/NodeTypes/Timable.xlf

This file was deleted.

Loading

0 comments on commit 5ccf70a

Please sign in to comment.