Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Timeable Node Visibility #4817

Merged
merged 15 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,16 @@
"../../bin/behat -f progress -c Neos.ContentGraph.DoctrineDbalAdapter/Tests/Behavior/behat.yml.dist",
"../../flow doctrine:migrate --quiet; ../../flow cr:setup",
"../../bin/behat -f progress -c Neos.Neos/Tests/Behavior/behat.yml",
"../../bin/behat -f progress -c Neos.ContentRepository.LegacyNodeMigration/Tests/Behavior/behat.yml.dist"
"../../bin/behat -f progress -c Neos.ContentRepository.LegacyNodeMigration/Tests/Behavior/behat.yml.dist",
"../../bin/behat -f progress -c Neos.TimeableNodeVisibility/Tests/Behavior/behat.yml.dist"
],
"test:behavioral:stop-on-failure": [
"../../bin/behat -vvv --stop-on-failure -f progress -c Neos.ContentRepository.BehavioralTests/Tests/Behavior/behat.yml.dist",
"../../bin/behat -vvv --stop-on-failure -f progress -c Neos.ContentGraph.DoctrineDbalAdapter/Tests/Behavior/behat.yml.dist",
"../../flow doctrine:migrate --quiet; ../../flow cr:setup",
"../../bin/behat -vvv --stop-on-failure -f progress -c Neos.Neos/Tests/Behavior/behat.yml",
"../../bin/behat -vvv --stop-on-failure -f progress -c Neos.ContentRepository.LegacyNodeMigration/Tests/Behavior/behat.yml.dist"
"../../bin/behat -vvv --stop-on-failure -f progress -c Neos.ContentRepository.LegacyNodeMigration/Tests/Behavior/behat.yml.dist",
"../../bin/behat -vvv --stop-on-failure -f progress -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
Loading