Skip to content

Commit

Permalink
Merge pull request #90 from City-of-Helsinki/dev
Browse files Browse the repository at this point in the history
Release 9.11.2022
  • Loading branch information
teroelonen authored Nov 9, 2022
2 parents 7d8c99d + 676a55a commit 6210be3
Show file tree
Hide file tree
Showing 153 changed files with 1,916 additions and 207 deletions.
1 change: 1 addition & 0 deletions .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sonar.exclusions=public/modules/custom/**/tests/**
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"drupal/helfi_proxy": "^2.0",
"drupal/helfi_tpr": "^2.0",
"drupal/helfi_tunnistamo": "^2.0",
"drupal/openid_connect": "2.0.0-alpha12",
"drupal/redis": "^1.5",
"drupal/stage_file_proxy": "^1.2",
"drush/drush": "^10.4 || ^11"
Expand Down
284 changes: 137 additions & 147 deletions composer.lock

Large diffs are not rendered by default.

78 changes: 78 additions & 0 deletions conf/cmi/core.entity_form_display.paragraph.news_list.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
uuid: 05e891a7-c15d-403a-8d39-d5fc57821c35
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.news_list.field_helfi_news_groups
- field.field.paragraph.news_list.field_helfi_news_neighbourhoods
- field.field.paragraph.news_list.field_helfi_news_tags
- field.field.paragraph.news_list.field_limit
- field.field.paragraph.news_list.field_news_list_description
- field.field.paragraph.news_list.field_news_list_title
- paragraphs.paragraphs_type.news_list
module:
- select2
- text
_core:
default_config_hash: I_u6U4oQKvo0EjopuKoM3qEFFz3lzE8J-jWIN0OJqYg
id: paragraph.news_list.default
targetEntityType: paragraph
bundle: news_list
mode: default
content:
field_helfi_news_groups:
type: select2_entity_reference
weight: 4
region: content
settings:
width: 100%
autocomplete: true
match_operator: CONTAINS
match_limit: 10
third_party_settings: { }
field_helfi_news_neighbourhoods:
type: select2_entity_reference
weight: 5
region: content
settings:
width: 100%
autocomplete: true
match_operator: CONTAINS
match_limit: 10
third_party_settings: { }
field_helfi_news_tags:
type: select2_entity_reference
weight: 3
region: content
settings:
width: 100%
autocomplete: true
match_operator: CONTAINS
match_limit: 10
third_party_settings: { }
field_limit:
type: number
weight: 2
region: content
settings:
placeholder: ''
third_party_settings: { }
field_news_list_description:
type: text_textarea
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_news_list_title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ content:
duplicate: duplicate
third_party_settings: { }
field_phasing_item_title_level:
type: options_select
weight: 4
region: content
settings: { }
third_party_settings: { }
field_phasing_title_level:
type: options_select
weight: 0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
uuid: e41ed1ae-21d2-4bf9-bb11-7ee02c854ee7
langcode: en
status: true
dependencies:
module:
- external_entities
- imagecache_external
_core:
default_config_hash: k-bIvgFdaVICd0s60Gng2zWabkpeZTQ53HF1Eff7zDk
id: helfi_news.helfi_news.default
targetEntityType: helfi_news
bundle: helfi_news
mode: default
content:
main_image:
type: imagecache_external_responsive_image
label: hidden
settings:
imagecache_external_link: ''
imagecache_external_responsive_style: gallery_thumbnail
third_party_settings: { }
weight: 1
region: content
title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
groups: true
neighbourhoods: true
node_url: true
published_at: true
short_title: true
tags: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
uuid: fe43148a-7f68-4263-b582-e0a19742cf9b
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.helfi_news.medium_teaser
module:
- external_entities
- imagecache_external
_core:
default_config_hash: XArB74ImuiEIsNGh_ic_b4csmzDUre1hUeswj9kCiOc
id: helfi_news.helfi_news.medium_teaser
targetEntityType: helfi_news
bundle: helfi_news
mode: medium_teaser
content:
main_image:
type: imagecache_external_responsive_image
label: hidden
settings:
imagecache_external_link: ''
imagecache_external_responsive_style: gallery_thumbnail
third_party_settings: { }
weight: 1
region: content
title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
groups: true
neighbourhoods: true
node_url: true
published_at: true
short_title: true
tags: true
70 changes: 70 additions & 0 deletions conf/cmi/core.entity_view_display.paragraph.news_list.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
uuid: 8400939b-781c-42e4-b580-c269aac21296
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.news_list.field_helfi_news_groups
- field.field.paragraph.news_list.field_helfi_news_neighbourhoods
- field.field.paragraph.news_list.field_helfi_news_tags
- field.field.paragraph.news_list.field_limit
- field.field.paragraph.news_list.field_news_list_description
- field.field.paragraph.news_list.field_news_list_title
- paragraphs.paragraphs_type.news_list
module:
- text
_core:
default_config_hash: eCdT_XU1aIhxOLfurTn16KTFSsxHyWZu3HHm3q_5Mi8
id: paragraph.news_list.default
targetEntityType: paragraph
bundle: news_list
mode: default
content:
field_helfi_news_groups:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: true
third_party_settings: { }
weight: 3
region: content
field_helfi_news_neighbourhoods:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: true
third_party_settings: { }
weight: 5
region: content
field_helfi_news_tags:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: true
third_party_settings: { }
weight: 4
region: content
field_news_list_description:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_news_list_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
news_list:
settings: { }
third_party_settings: { }
weight: 2
region: content
hidden:
field_limit: true
10 changes: 2 additions & 8 deletions conf/cmi/core.entity_view_display.paragraph.phasing.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ content:
third_party_settings: { }
weight: 2
region: content
field_phasing_item_title_level:
type: list_default
label: hidden
settings: { }
third_party_settings: { }
weight: 3
region: content
field_phasing_title_level:
type: list_key
label: hidden
Expand All @@ -67,4 +60,5 @@ content:
third_party_settings: { }
weight: 0
region: content
hidden: { }
hidden:
field_phasing_item_title_level: true
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ content:
type: imagecache_external_responsive_image
label: hidden
settings:
imagecache_external_responsive_style: image__3_2
imagecache_external_link: ''
imagecache_external_responsive_style: image__3_2
third_party_settings: { }
weight: 3
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ content:
type: imagecache_external_responsive_image
label: hidden
settings:
imagecache_external_responsive_style: image__3_2
imagecache_external_link: ''
imagecache_external_responsive_style: image__3_2
third_party_settings: { }
weight: 0
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ content:
type: imagecache_external_responsive_image
label: hidden
settings:
imagecache_external_responsive_style: image__3_2
imagecache_external_link: ''
imagecache_external_responsive_style: image__3_2
third_party_settings: { }
weight: 0
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ content:
type: imagecache_external_responsive_image
label: hidden
settings:
imagecache_external_responsive_style: image__3_2
imagecache_external_link: ''
imagecache_external_responsive_style: image__3_2
third_party_settings: { }
weight: 0
region: content
Expand Down
12 changes: 12 additions & 0 deletions conf/cmi/core.entity_view_mode.helfi_news.medium_teaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
uuid: 11d3c7f8-ff45-4d1e-a885-17c2a8ecb17a
langcode: en
status: true
dependencies:
module:
- external_entities
_core:
default_config_hash: q8QZDYrGHAdl67dw9Z1DdTCTIhOo3lpW0dGN70STnCk
id: helfi_news.medium_teaser
label: 'Medium Teaser'
targetEntityType: helfi_news
cache: true
2 changes: 2 additions & 0 deletions conf/cmi/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module:
entity: 0
entity_reference_revisions: 0
entity_usage: 0
external_entities: 0
field: 0
field_group: 0
field_ui: 0
Expand Down Expand Up @@ -56,6 +57,7 @@ module:
helfi_media_map: 0
helfi_media_map_config: 0
helfi_navigation: 0
helfi_news_feed: 0
helfi_platform_config: 0
helfi_proxy: 0
helfi_toc: 0
Expand Down
4 changes: 4 additions & 0 deletions conf/cmi/eu_cookie_compliance.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,7 @@ cookie_value_disagreed: '0'
cookie_value_agreed_show_thank_you: '1'
cookie_value_agreed: '2'
accessibility_focus: false
close_button_action: close_banner
reject_button_label: ''
reject_button_enabled: false
close_button_enabled: false
42 changes: 42 additions & 0 deletions conf/cmi/external_entities.external_entity_type.helfi_news.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
uuid: 63e66dcf-1d42-465e-a961-78a808386a1e
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: BzWvGC8hEXxFUxhZtUxQ30sNFcsZNIAFC5JX9okISYY
id: helfi_news
label: 'Helfi: News'
label_plural: 'Helfi: News'
description: ''
read_only: true
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
id:
value: $.id
uuid:
value: $.id
title:
value: '$.attributes[''title'']'
main_image:
uri: '$.relationships[''main_image''][''data''][''relationships''][''media_image''][''data''][''attributes''][''uri''][''url'']'
title: '$.relationships[''main_image''][''data''][''relationships''][''media_image''][''data''][''meta''][''alt'']'
tags:
value: '$.relationships[''tags''][''data''][*][''attributes''][''name'']'
groups:
value: '$.relationships[''groups''][''data''][*][''attributes''][''name'']'
neighbourhoods:
value: '$.relationships[''neighbourhoods''][''data''][*][''attributes''][''name'']'
node_url:
value: '$.attributes[''path''][''alias'']'
published_at:
value: '$.attributes[''published_at'']'
short_title:
value: '$.attributes[''short_title'']'
storage_client_id: helfi_news
storage_client_config: { }
persistent_cache_max_age: -1
annotation_entity_type_id: null
annotation_bundle_id: null
annotation_field_name: null
inherits_annotation_fields: false
Loading

0 comments on commit 6210be3

Please sign in to comment.