Skip to content

Commit

Permalink
Merge pull request #2098 from mstruebing/changeUppercaseTrueAndFalseT…
Browse files Browse the repository at this point in the history
…oLowercaseInYaml

TASK: Change all uppercase TRUE and FALSE to lowercase in YAML

This was a thing at some time I remember and I've found many leftover uppercase true and false.
  • Loading branch information
kitsunet committed Jun 30, 2018
2 parents 8f817b1 + 2665b53 commit 0668a13
Show file tree
Hide file tree
Showing 8 changed files with 104 additions and 104 deletions.
64 changes: 32 additions & 32 deletions Configuration/NodeTypes.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Base node, which just configures the "removed" property of the node.
'Neos.Neos:Node':
label: "${String.cropAtWord(String.trim(String.stripTags(String.pregReplace(q(node).property('title') || q(node).property('text') || ((I18n.translate(node.nodeType.label) || node.nodeType.name) + (node.autoCreated ? ' (' + node.name + ')' : '')), '/<br\\W*?\\/?>|\\x{00a0}|[[^:print:]]|\\s+/u', ' '))), 100, '...')}"
abstract: TRUE
abstract: true
options:
fusion:
prototypeGenerator: ~
Expand Down Expand Up @@ -50,7 +50,7 @@
type: string
ui:
label: i18n
reloadIfChanged: TRUE
reloadIfChanged: true
inspector:
group: 'type'
position: 100
Expand All @@ -61,7 +61,7 @@

# Hidable Mixin
'Neos.Neos:Hidable':
abstract: TRUE
abstract: true
ui:
inspector:
groups:
Expand All @@ -81,7 +81,7 @@

# Timable Mixin
'Neos.Neos:Timable':
abstract: TRUE
abstract: true
ui:
inspector:
groups:
Expand Down Expand Up @@ -120,15 +120,15 @@
# anything page-like (like a blog post) should subclass "Neos.Neos:Document".
'Neos.Neos:Document':
superTypes:
'Neos.Neos:Node': TRUE
'Neos.Neos:Hidable': TRUE
'Neos.Neos:Timable': TRUE
abstract: TRUE
aggregate: TRUE
'Neos.Neos:Node': true
'Neos.Neos:Hidable': true
'Neos.Neos:Timable': true
abstract: true
aggregate: true
constraints:
nodeTypes:
'*': FALSE
'Neos.Neos:Document': TRUE
'*': false
'Neos.Neos:Document': true
options:
fusion:
prototypeGenerator: ~
Expand Down Expand Up @@ -165,7 +165,7 @@
type: string
ui:
label: i18n
reloadPageIfChanged: TRUE
reloadPageIfChanged: true
inspector:
group: 'document'
validation:
Expand All @@ -177,7 +177,7 @@
type: string
ui:
label: i18n
reloadPageIfChanged: TRUE
reloadPageIfChanged: true
inspector:
group: 'document'
validation:
Expand All @@ -189,12 +189,12 @@
regularExpression: '/^[a-z0-9\-]+$/i'
_hidden:
ui:
reloadPageIfChanged: TRUE
reloadPageIfChanged: true
_hiddenInIndex:
type: boolean
ui:
label: i18n
reloadPageIfChanged: TRUE
reloadPageIfChanged: true
inspector:
group: 'visibility'
position: 40
Expand All @@ -203,7 +203,7 @@
# "Shortcuts" can be linked to but instead of displaying content themselves they redirect to another "Document" node
'Neos.Neos:Shortcut':
superTypes:
'Neos.Neos:Document': TRUE
'Neos.Neos:Document': true
ui:
label: i18n
icon: 'icon-share'
Expand All @@ -218,7 +218,7 @@
defaultValue: 'firstChildNode'
ui:
label: i18n
reloadPageIfChanged: TRUE
reloadPageIfChanged: true
inspector:
group: 'document'
editor: 'Neos.Neos/Inspector/Editors/SelectBoxEditor'
Expand All @@ -238,7 +238,7 @@
type: string
ui:
label: i18n
reloadPageIfChanged: TRUE
reloadPageIfChanged: true
inspector:
group: 'document'
editor: 'Neos.Neos/Inspector/Editors/LinkEditor'
Expand All @@ -250,8 +250,8 @@
# Base class for all "Plugins"; that are PHP controllers being called during the rendering.
'Neos.Neos:Plugin':
superTypes:
'Neos.Neos:Content': TRUE
abstract: TRUE
'Neos.Neos:Content': true
abstract: true
options:
fusion:
prototypeGenerator: Neos\Neos\Domain\Service\DefaultPluginPrototypeGenerator
Expand All @@ -270,7 +270,7 @@

'Neos.Neos:PluginView':
superTypes:
'Neos.Neos:Content': TRUE
'Neos.Neos:Content': true
ui:
label: i18n
group: 'plugins'
Expand All @@ -287,7 +287,7 @@
type: string
ui:
label: i18n
reloadIfChanged: TRUE
reloadIfChanged: true
inspector:
group: 'pluginViews'
position: 10
Expand All @@ -296,21 +296,21 @@
type: string
ui:
label: i18n
reloadIfChanged: TRUE
reloadIfChanged: true
inspector:
group: 'pluginViews'
position: 20
editor: 'Neos.Neos/Inspector/Editors/PluginViewEditor'

'Neos.Neos:Content':
superTypes:
'Neos.Neos:Node': TRUE
'Neos.Neos:Hidable': TRUE
'Neos.Neos:Timable': TRUE
abstract: TRUE
'Neos.Neos:Node': true
'Neos.Neos:Hidable': true
'Neos.Neos:Timable': true
abstract: true
constraints:
nodeTypes:
'*': FALSE
'*': false
options:
fusion:
prototypeGenerator: Neos\Neos\Domain\Service\DefaultContentPrototypeGenerator
Expand All @@ -337,20 +337,20 @@
# i.e. contains variable number of children.
'Neos.Neos:ContentCollection':
superTypes:
'Neos.Neos:Node': TRUE
'Neos.Neos:Node': true
ui:
label: i18n
icon: 'icon-folder-open-alt'
inlineEditable: true
constraints:
nodeTypes:
'Neos.Neos:Document': FALSE
'*': TRUE
'Neos.Neos:Document': false
'*': true

# The fallback node is used if you have remainings of a nodeType that doesn't exist anymore so you can at least delete it
'Neos.Neos:FallbackNode':
superTypes:
'Neos.Neos:Node': TRUE
'Neos.Neos:Node': true
ui:
label: i18n
icon: 'icon-remove-sign'
Expand Down
2 changes: 1 addition & 1 deletion Configuration/Routes.Authentication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
defaults:
'@format': 'html'
httpMethods: ['GET']
appendExceedingArguments: TRUE
appendExceedingArguments: true

-
name: 'Token login'
Expand Down
16 changes: 8 additions & 8 deletions Configuration/Routes.Backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
defaults:
'@controller': 'Backend\Content'
'@action': 'uploadAsset'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['POST']

-
Expand All @@ -23,7 +23,7 @@
defaults:
'@controller': 'Backend\Content'
'@action': 'imageWithMetadata'
appendExceedingArguments: TRUE
appendExceedingArguments: true

-
name: 'Content Module - Asset metadata'
Expand Down Expand Up @@ -61,29 +61,29 @@
defaults:
'@controller': 'Backend\Schema'
'@action': 'vieSchema'
appendExceedingArguments: TRUE
appendExceedingArguments: true

-
name: 'Schema - NodeType'
uriPattern: 'schema/node-type'
defaults:
'@controller': 'Backend\Schema'
'@action': 'nodeTypeSchema'
appendExceedingArguments: TRUE
appendExceedingArguments: true

-
name: 'Menu'
uriPattern: 'menu'
defaults:
'@controller': 'Backend\Menu'
appendExceedingArguments: TRUE
appendExceedingArguments: true

-
name: 'Settings'
uriPattern: 'settings/{@action}'
defaults:
'@controller': 'Backend\Settings'
appendExceedingArguments: TRUE
appendExceedingArguments: true

-
name: 'Modules'
Expand All @@ -105,7 +105,7 @@
moduleArguments:
handler: 'Neos\Neos\Routing\BackendModuleArgumentsRoutePartHandler'
toLowerCase: false
appendExceedingArguments: TRUE
appendExceedingArguments: true

-
name: 'Backend switch site'
Expand All @@ -126,4 +126,4 @@
'@package': 'Neos.Neos'
'@controller': 'Backend\Backend'
'@action': 'xliffAsJson'
appendExceedingArguments: TRUE
appendExceedingArguments: true
22 changes: 11 additions & 11 deletions Configuration/Routes.Service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
defaults:
'@controller': 'Service\Nodes'
'@action': 'index'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['GET']

-
Expand All @@ -18,7 +18,7 @@
defaults:
'@controller': 'Service\Nodes'
'@action': 'show'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['HEAD', 'GET']

-
Expand All @@ -27,7 +27,7 @@
defaults:
'@controller': 'Service\Nodes'
'@action': 'create'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['POST']

# UserPreferencesController routes
Expand Down Expand Up @@ -60,7 +60,7 @@
defaults:
'@controller': 'Service\Assets'
'@action': 'index'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['GET']

-
Expand All @@ -69,7 +69,7 @@
defaults:
'@controller': 'Service\Assets'
'@action': 'show'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['HEAD', 'GET']

# RESTful WorkspacesController routes
Expand All @@ -81,7 +81,7 @@
'@package': 'Neos.Neos'
'@controller': 'Service\Workspaces'
'@action': 'index'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['GET']

-
Expand Down Expand Up @@ -114,7 +114,7 @@
'@controller': 'Service\Workspaces'
'@action': 'update'
'@format': 'json'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['PUT']

# Legacy WorkspaceController routes
Expand All @@ -127,7 +127,7 @@
'@action': 'getWorkspaceWideUnpublishedNodes'
'@controller': 'Workspace'
'@format': 'json'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['GET']

-
Expand Down Expand Up @@ -365,7 +365,7 @@
'@action': 'index'
'@format': 'json'
dataSourceIdentifier: ''
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['GET']

# ContentDimensionController routes
Expand All @@ -376,7 +376,7 @@
'@package': 'Neos.Neos'
'@controller': 'Service\ContentDimensions'
'@action': 'index'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['GET']

-
Expand All @@ -387,5 +387,5 @@
'@controller': 'Service\ContentDimensions'
'@action': 'show'
'@format': 'html'
appendExceedingArguments: TRUE
appendExceedingArguments: true
httpMethods: ['GET']

0 comments on commit 0668a13

Please sign in to comment.