Skip to content

Commit

Permalink
Merge pull request #33 from rdemichele/fix-post-install-config-settings
Browse files Browse the repository at this point in the history
fix post-install config settings
  • Loading branch information
GiandonatoGreco authored Jan 24, 2023
2 parents 2532f3b + 24acd3d commit 65535eb
Show file tree
Hide file tree
Showing 42 changed files with 928 additions and 22 deletions.
27 changes: 27 additions & 0 deletions comuni_theme/config/sync/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Deny all requests from Apache 2.4+.
<IfModule mod_authz_core.c>
Require all denied
</IfModule>

# Deny all requests from Apache 2.0-2.2.
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>

# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews

# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>

# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php7.c>
php_flag engine off
</IfModule>
<IfModule mod_php.c>
php_flag engine off
</IfModule>
10 changes: 10 additions & 0 deletions comuni_theme/config/sync/block_content.type.basic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
uuid: fba592a1-ed6c-4524-abf8-40e61e087d71
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: zglzjmYxi0G0ag9MZ02y0LSJOdpWRwJxyP_OvFojFyo
id: basic
label: 'Basic block'
revision: 0
description: 'A basic block contains a title and a body.'
10 changes: 10 additions & 0 deletions comuni_theme/config/sync/comment.type.comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
uuid: 3f7e4b6d-04fe-4f62-9f9b-3e62069d768f
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: bqZsN31T2n0UjcbyCpOPi9D2iO0sAOHR7FnEs9qMvaA
id: comment
label: 'Default comments'
target_entity_type_id: node
description: 'Allows commenting on content'
14 changes: 14 additions & 0 deletions comuni_theme/config/sync/contact.form.feedback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: d5761ab1-19a1-4f6c-aa20-deb3b8adee81
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: vymHlgJy26BuI5GGj9-IXjwR3dRC5C0tij4BpWJnoqw
id: feedback
label: 'Website feedback'
recipients:
- admin@example.com
reply: ''
weight: 0
message: 'Your message has been sent.'
redirect: ''
13 changes: 13 additions & 0 deletions comuni_theme/config/sync/contact.form.personal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: 7bc1b8c2-36b4-4c63-95db-06e467a0b507
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: jonvgt3CkUM2eMLTFwWfHileWWDC4YtXCuIlCahTk_I
id: personal
label: 'Personal contact form'
recipients: { }
reply: ''
weight: 0
message: 'Your message has been sent.'
redirect: ''
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: 4b7c8a6d-67a3-4a09-bde2-8544f688a40a
langcode: en
status: true
dependencies:
config:
- node.type.page
_core:
default_config_hash: fPUEnm4T5zfZRr3ttDUqq7yCDd2uW3clWD-pvos4tlQ
id: node.page.promote
field_name: promote
entity_type: node
bundle: page
label: 'Promoted to front page'
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
uuid: 868e60f7-200e-4705-a4dc-dc34b77b3d92
langcode: en
status: true
dependencies:
config:
- field.field.node.article.body
- field.field.node.article.comment
- field.field.node.article.field_image
- field.field.node.article.field_tags
- image.style.thumbnail
- node.type.article
module:
- comment
- image
- path
- text
_core:
default_config_hash: Pzq9mzrsfoPf775qgEU_SUbHSro9pv1ga-Euh1Ykd_k
id: node.article.default
targetEntityType: node
bundle: article
mode: default
content:
body:
type: text_textarea_with_summary
weight: 1
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
comment:
type: comment_default
weight: 20
region: content
settings: { }
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_image:
type: image_image
weight: 4
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete_tags
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
uuid: 6935a926-35b7-4063-a040-4efe7b9ccc92
langcode: en
status: true
dependencies:
config:
- field.field.node.page.body
- node.type.page
module:
- path
- text
_core:
default_config_hash: SfpLhPExzvR0MgFp0Wp7CrmgEnhcqQ-fXIWFhbf4ue0
id: node.page.default
targetEntityType: node
bundle: page
mode: default
content:
body:
type: text_textarea_with_summary
weight: 31
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,5 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
hidden:
field_amministrazione_trasparent: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
uuid: 972563d5-2b86-4b98-8db3-3f3f6a6c2910
langcode: en
status: true
dependencies:
config:
- core.entity_view_display.comment.comment.default
- field.field.node.article.body
- field.field.node.article.comment
- field.field.node.article.field_image
- field.field.node.article.field_tags
- image.style.wide
- node.type.article
module:
- comment
- image
- text
- user
_core:
default_config_hash: 7fb0j9HnIXfP9ndewzgPPzzeX_SV532wuYpkscrCMCk
id: node.article.default
targetEntityType: node
bundle: article
mode: default
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 0
region: content
comment:
type: comment_default
label: above
settings:
view_mode: default
pager_id: 0
third_party_settings: { }
weight: 110
region: content
field_image:
type: image
label: hidden
settings:
image_link: ''
image_style: wide
image_loading:
attribute: lazy
third_party_settings: { }
weight: -1
region: content
field_tags:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 10
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
langcode: true
Loading

0 comments on commit 65535eb

Please sign in to comment.