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

Dev to main #299

Merged
merged 9 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from 7 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
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@
"require": {
"composer/installers": "^2.0",
"cweagans/composer-patches": "^1.6.7",
"drupal/core": "^9.4",
"drupal/core-composer-scaffold": "^9.4",
"drupal/hdbt": "^5.0",
"drupal/hdbt_admin": "^2.0",
"drupal/helfi_azure_fs": "^1.1",
"drupal/core": "^10.0",
"drupal/core-composer-scaffold": "^10.0",
"drupal/hdbt": "^6.0",
"drupal/hdbt_admin": "^3.0",
"drupal/helfi_azure_fs": "^2.0",
"drupal/helfi_drupal_tools": "dev-main",
"drupal/helfi_navigation": "^2.0",
"drupal/helfi_platform_config": "^3.0",
"drupal/helfi_platform_config": "^4.0",
"drupal/helfi_proxy": "^3.0",
"drupal/helfi_tpr": "^2.0",
"drupal/helfi_tunnistamo": "^3.0",
"drupal/raven": "^4.0",
"drupal/redis": "^1.5",
"drupal/stage_file_proxy": "^2.0",
"drush/drush": "^11"
"drush/drush": "^12"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"drupal/coder": "^8.3",
"drupal/core-dev": "^9.1",
"drupal/core-dev": "^10.0",
"jangregor/phpstan-prophecy": "^1.0",
"mglaman/phpstan-drupal": "^1.2",
"phpspec/prophecy-phpunit": "^2",
Expand Down
4,460 changes: 2,283 additions & 2,177 deletions composer.lock

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions conf/cmi/config_ignore.settings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
_core:
default_config_hash: UVH1aJ4b44UM-VdPVN7hNNuuVqfReJxwfVeDQH1Hvsk
mode: simple
ignored_config_entities:
- 'system.site:page.front'
- 'hdbt_admin_tools.site_settings:site_settings'
- 'easy_breadcrumb.settings:home_segment_title'
- 'hdbt_admin_tools.site_settings:site_settings'
- 'system.site:page.front'
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ content:
settings:
responsive_image_style: content_cards
image_link: ''
image_loading:
attribute: eager
third_party_settings: { }
weight: 0
region: content
Expand Down
2 changes: 2 additions & 0 deletions conf/cmi/core.entity_view_display.media.image.hero.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ content:
settings:
responsive_image_style: hero__left_right
image_link: ''
image_loading:
attribute: eager
third_party_settings: { }
weight: 0
region: content
Expand Down
2 changes: 2 additions & 0 deletions conf/cmi/core.entity_view_display.media.image.image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ content:
settings:
responsive_image_style: image__3_2
image_link: ''
image_loading:
attribute: eager
third_party_settings: { }
weight: 0
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ content:
settings:
responsive_image_style: list_of_links__thumbnail
image_link: ''
image_loading:
attribute: eager
third_party_settings: { }
weight: 0
region: content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ content:
settings:
max_width: 1264
max_height: 714
loading:
attribute: eager
third_party_settings: { }
weight: 0
region: content
Expand Down
4 changes: 2 additions & 2 deletions conf/cmi/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ module:
basic_auth: 0
block: 0
breakpoint: 0
ckeditor: 0
ckeditor5: 0
config: 0
config_filter: 0
config_ignore: 0
config_rewrite: 0
config_translation: 0
Expand Down Expand Up @@ -113,6 +112,7 @@ module:
paragraphs_library: 0
path: 0
path_alias: 0
phpass: 0
purge: 0
purge_drush: 0
purge_processor_cron: 0
Expand Down
114 changes: 67 additions & 47 deletions conf/cmi/editor.editor.full_html.yml
Original file line number Diff line number Diff line change
@@ -1,60 +1,80 @@
uuid: 7ab8e5c8-f767-4fe5-a76c-d7b80964beee
uuid: 376729f6-c0d2-4d18-be83-700ddb373a40
langcode: en
status: true
dependencies:
config:
- filter.format.full_html
module:
- ckeditor
- ckeditor5
_core:
default_config_hash: mx77BnIuTY8Yrm6IkLsHnEOv6JJrHPMD_kKgjP0DVi4
default_config_hash: rMPZSfUdZCsb509LFsy6EZYI2wjtuonQtf6afD85sQ0
format: full_html
editor: ckeditor
editor: ckeditor5
settings:
toolbar:
rows:
-
-
name: Formatting
items:
- Bold
- Italic
- Strike
- Superscript
- Subscript
- '-'
- RemoveFormat
- '-'
- Format
-
name: Lists
items:
- BulletedList
- NumberedList
-
name: Media
items:
- quote
-
name: Links
items:
- DrupalLink
- DrupalUnlink
-
name: Tools
items:
- Undo
- Redo
- Cut
- Copy
- Paste
- PasteFromWord
- SpecialChar
- Table
- language_selector
- Source
items:
- bold
- italic
- strikethrough
- superscript
- subscript
- removeFormat
- heading
- '|'
- bulletedList
- numberedList
- '|'
- link
- helfiQuote
- insertTable
- helfiLanguageSelector
- specialCharacters
- '|'
- undo
- redo
- '|'
- sourceEditing
plugins:
drupallink:
ckeditor5_heading:
enabled_headings:
- heading2
- heading3
- heading4
- heading5
- heading6
ckeditor5_list:
reversed: false
startIndex: true
ckeditor5_sourceEditing:
allowed_tags:
- '<dl>'
- '<dt>'
- '<dd>'
- '<blockquote role aria-* cite class>'
- '<div role aria-* class>'
- '<img src alt height width data-entity-type data-entity-uuid data-align data-caption data-responsive-image-style>'
- '<span role aria-* class>'
- '<ul type>'
- '<ol type>'
- '<h2 id>'
- '<h3 id>'
- '<h4 id>'
- '<h5 id>'
- '<h6 id>'
- '<figure tabindex>'
- '<figcaption>'
helfi_ckeditor_helfi_link:
helfi_link_attributes:
- '<a aria-label class data-design data-hds-icon-start data-is-external data-link-text data-protocol data-selected-icon data-hds-component data-hds-variant id rel role target="_blank" title>'
- '<span aria-hidden class role>'
linkit_extension:
linkit_enabled: true
linkit_profile: helfi
image_upload: { }
image_upload:
status: false
scheme: public
directory: inline-images
max_size: ''
max_dimensions:
width: 0
height: 0
56 changes: 29 additions & 27 deletions conf/cmi/editor.editor.minimal.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,43 @@
uuid: 73e5af08-9157-4895-b064-4ddd18f58658
uuid: c8b15096-e629-453d-acb9-930b6a45f385
langcode: en
status: true
dependencies:
config:
- filter.format.minimal
module:
- ckeditor
- ckeditor5
_core:
default_config_hash: UYVamJgeMVQeM3VYumbShc-tGJoYe4RhrXqiL_tJw4c
default_config_hash: eS-qt8gYhlbOwnV4BIbI-IG-mV85MWJudQS34fp9rb8
format: minimal
editor: ckeditor
editor: ckeditor5
settings:
toolbar:
rows:
-
-
name: Formatting
items:
- Bold
- Italic
-
name: Links
items:
- DrupalLink
- DrupalUnlink
-
name: Lists
items:
- BulletedList
- NumberedList
-
name: Tools
items:
- language_selector
- Source
items:
- bold
- italic
- '|'
- bulletedList
- numberedList
- '|'
- link
- helfiLanguageSelector
- '|'
- sourceEditing
plugins:
drupallink:
ckeditor5_list:
reversed: false
startIndex: true
ckeditor5_sourceEditing:
allowed_tags:
- '<span role aria-* class>'
- '<ul type>'
- '<ol type>'
- '<a hreflang accesskey id rel target title data-design data-link-text data-selected-icon data-is-external data-protocol>'
helfi_ckeditor_helfi_link:
helfi_link_attributes:
- '<a aria-label class data-design data-hds-icon-start data-is-external data-link-text data-protocol data-selected-icon data-hds-component data-hds-variant id rel role target="_blank" title>'
- '<span aria-hidden class role>'
linkit_extension:
linkit_enabled: true
linkit_profile: helfi
image_upload:
Expand Down
18 changes: 9 additions & 9 deletions conf/cmi/external_entities.external_entity_type.helfi_news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@ field_mapper_config:
uuid:
value: $.id
title:
value: '$.attributes[''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'']'
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'']'
value: "$.relationships['tags']['data'][*]['attributes']['name']"
groups:
value: '$.relationships[''groups''][''data''][*][''attributes''][''name'']'
value: "$.relationships['groups']['data'][*]['attributes']['name']"
neighbourhoods:
value: '$.relationships[''neighbourhoods''][''data''][*][''attributes''][''name'']'
value: "$.relationships['neighbourhoods']['data'][*]['attributes']['name']"
node_url:
value: '$.attributes[''path''][''alias'']'
value: "$.attributes['path']['alias']"
published_at:
value: '$.attributes[''published_at'']'
value: "$.attributes['published_at']"
short_title:
value: '$.attributes[''short_title'']'
value: "$.attributes['short_title']"
storage_client_id: helfi_news
storage_client_config: { }
persistent_cache_max_age: 1800
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
1 change: 1 addition & 0 deletions conf/cmi/field.field.node.announcement.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ default_value_callback: ''
settings:
display_summary: false
required_summary: false
allowed_formats: { }
field_type: text_with_summary
2 changes: 1 addition & 1 deletion conf/cmi/field.field.node.landing_page.field_has_hero.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ field_name: field_has_hero
entity_type: node
bundle: landing_page
label: Hero
description: 'Select whether you wish to display a hero highlight element on the page. If a hero is selected, it''s heading will be used as the main heading for the page.'
description: "Select whether you wish to display a hero highlight element on the page. If a hero is selected, it's heading will be used as the main heading for the page."
required: false
translatable: true
default_value:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
3 changes: 2 additions & 1 deletion conf/cmi/field.field.paragraph.banner.field_banner_desc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ field_name: field_banner_link_design
entity_type: paragraph
bundle: banner
label: 'Link design'
description: 'Choose what kind of design you want to use for the link button. If you don''t add a link to the banner you can ignore this field.'
description: "Choose what kind of design you want to use for the link button. If you don't add a link to the banner you can ignore this field."
required: true
translatable: false
default_value:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
settings:
allowed_formats: { }
field_type: text_long
Loading