From 7fca0536320ea2f3785479b8b059e01cf7bfd92b Mon Sep 17 00:00:00 2001 From: actions-bot Date: Mon, 30 Oct 2023 14:00:04 +0000 Subject: [PATCH] Update configuration --- composer.lock | 151 +++++++++--------- ...display.paragraph.remote_video.default.yml | 2 +- ..._view_display.media.image.content_card.yml | 2 + ...e.entity_view_display.media.image.hero.yml | 2 + ....entity_view_display.media.image.image.yml | 2 + ...display.media.image.image_content_area.yml | 2 + ...view_display.media.image.list_of_links.yml | 2 + ...iew_display.media.remote_video.default.yml | 2 + ...iew_display.node.news_item.card_teaser.yml | 9 ++ ...ty_view_display.node.news_item.default.yml | 9 ++ ...w_display.node.news_item.medium_teaser.yml | 9 ++ ...ity_view_display.node.news_item.teaser.yml | 9 ++ ...iew_display.node.news_item.tiny_teaser.yml | 9 ++ ...display.paragraph.remote_video.default.yml | 2 +- conf/cmi/core.extension.yml | 1 + ...tities.external_entity_type.helfi_news.yml | 18 +-- ...lfi_chart.field_helfi_chart_transcript.yml | 3 +- .../field.field.node.announcement.body.yml | 1 + ...field.node.landing_page.field_has_hero.yml | 2 +- ...agraph.banner.field_banner_link_design.yml | 2 +- ....field.paragraph.hero.field_hero_title.yml | 2 +- ...agraph.remote_video.field_iframe_title.yml | 4 +- ...e_video.field_remote_video_description.yml | 5 +- ....remote_video.field_remote_video_title.yml | 2 + ...te_video.field_remote_video_video_desc.yml | 5 +- ...e_video.field_remote_video_video_title.yml | 2 + ...t_contact_card.field_unit_contact_unit.yml | 2 +- ...ragraph.field_remote_video_description.yml | 2 + ...age.paragraph.field_remote_video_title.yml | 2 + ...aragraph.field_remote_video_video_desc.yml | 2 + ...ragraph.field_remote_video_video_title.yml | 2 + conf/cmi/filter.format.full_html.yml | 6 + conf/cmi/filter.format.minimal.yml | 6 + ...d.paragraph.event_list.field_load_more.yml | 2 +- ...agraph.remote_video.field_iframe_title.yml | 2 +- ...agraph.remote_video.field_iframe_title.yml | 2 +- ...aphs.paragraphs_type.unit_contact_card.yml | 2 +- conf/cmi/raven.settings.yml | 2 +- .../responsive_image.styles.content_cards.yml | 12 +- ...ponsive_image.styles.gallery_thumbnail.yml | 12 +- ...sponsive_image.styles.hero__background.yml | 12 +- .../responsive_image.styles.hero__bottom.yml | 12 +- ...responsive_image.styles.hero__diagonal.yml | 12 +- ...sponsive_image.styles.hero__left_right.yml | 12 +- .../responsive_image.styles.image__3_2.yml | 12 +- ...e_image.styles.image__3_2_content_area.yml | 12 +- ..._image.styles.list_of_links__thumbnail.yml | 10 +- conf/cmi/responsive_image.styles.original.yml | 12 +- conf/cmi/search_api.settings.yml | 16 +- conf/cmi/social_media.settings.yml | 2 +- conf/cmi/system.feature_flags.yml | 1 + conf/cmi/user.role.admin.yml | 1 + conf/cmi/user.role.authenticated.yml | 2 + .../user.role.comprehensive_school_editor.yml | 1 + conf/cmi/user.role.content_producer.yml | 1 + conf/cmi/user.role.daycare_editor.yml | 1 + conf/cmi/user.role.debug_api.yml | 2 + conf/cmi/user.role.editor.yml | 1 + conf/cmi/user.role.playground_editor.yml | 1 + conf/cmi/user.role.read_only.yml | 2 + conf/cmi/user.role.school_editor.yml | 2 + conf/cmi/varnish_purger.settings.default.yml | 6 +- ...nish_purger.settings.varnish_purge_all.yml | 6 +- conf/cmi/views.view.content.yml | 9 ++ conf/cmi/views.view.files.yml | 18 +++ conf/cmi/views.view.glossary.yml | 9 ++ conf/cmi/views.view.group_members.yml | 18 +++ conf/cmi/views.view.group_nodes.yml | 9 ++ conf/cmi/views.view.group_tpr_units.yml | 9 ++ conf/cmi/views.view.media.yml | 9 ++ conf/cmi/views.view.media_library.yml | 11 +- conf/cmi/views.view.news.yml | 9 ++ conf/cmi/views.view.paragraphs_library.yml | 9 ++ ...views.view.scheduler_scheduled_content.yml | 24 ++- .../views.view.tpr_errand_service_list.yml | 9 ++ .../views.view.tpr_service_channel_list.yml | 9 ++ conf/cmi/views.view.tpr_service_list.yml | 9 ++ conf/cmi/views.view.tpr_unit_list.yml | 11 +- conf/cmi/views.view.who_s_new.yml | 8 +- conf/cmi/views.view.who_s_online.yml | 8 +- 80 files changed, 465 insertions(+), 177 deletions(-) create mode 100644 conf/cmi/system.feature_flags.yml diff --git a/composer.lock b/composer.lock index e95441af..5cd96f80 100644 --- a/composer.lock +++ b/composer.lock @@ -3924,16 +3924,16 @@ }, { "name": "drupal/hdbt", - "version": "5.6.24", + "version": "5.6.25", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-hdbt.git", - "reference": "878d4a389ce1531806eb693259b2853316c8faf5" + "reference": "09c80a3399d9319f1dfb837e190113f0a6c6effb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/878d4a389ce1531806eb693259b2853316c8faf5", - "reference": "878d4a389ce1531806eb693259b2853316c8faf5", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/09c80a3399d9319f1dfb837e190113f0a6c6effb", + "reference": "09c80a3399d9319f1dfb837e190113f0a6c6effb", "shasum": "" }, "require": { @@ -3951,10 +3951,10 @@ "Drupal" ], "support": { - "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/5.6.24", + "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/5.6.25", "issues": "https://github.com/City-of-Helsinki/drupal-hdbt/issues" }, - "time": "2023-10-27T06:23:32+00:00" + "time": "2023-10-30T12:30:23+00:00" }, { "name": "drupal/hdbt_admin", @@ -4043,16 +4043,16 @@ }, { "name": "drupal/helfi_api_base", - "version": "2.5.8", + "version": "2.5.9", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base.git", - "reference": "c8ed69e045bae960fff5b71179d09f62ea53651a" + "reference": "2c5bfce0f9415ae35d7a4c70d9f4ed9a42a6dc88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-api-base/zipball/c8ed69e045bae960fff5b71179d09f62ea53651a", - "reference": "c8ed69e045bae960fff5b71179d09f62ea53651a", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-api-base/zipball/2c5bfce0f9415ae35d7a4c70d9f4ed9a42a6dc88", + "reference": "2c5bfce0f9415ae35d7a4c70d9f4ed9a42a6dc88", "shasum": "" }, "require": { @@ -4062,7 +4062,8 @@ "firebase/php-jwt": "^6.5", "php": "^8.1", "t4web/composer-lock-parser": "^1.0", - "textalk/websocket": "^1.6" + "textalk/websocket": "^1.6", + "webmozart/assert": "^1.0" }, "conflict": { "drupal/helfi_debug": "*" @@ -4078,10 +4079,10 @@ ], "description": "Helfi - API Base", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/tree/2.5.8", + "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/tree/2.5.9", "issues": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/issues" }, - "time": "2023-10-18T05:44:50+00:00" + "time": "2023-10-30T13:56:18+00:00" }, { "name": "drupal/helfi_azure_fs", @@ -4208,12 +4209,12 @@ "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config.git", - "reference": "39a47dc154d17891f544d61d2e4d731eeedb2d72" + "reference": "2f7ee1752a81305e06992bc4c3516a3e6b89906a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/39a47dc154d17891f544d61d2e4d731eeedb2d72", - "reference": "39a47dc154d17891f544d61d2e4d731eeedb2d72", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/2f7ee1752a81305e06992bc4c3516a3e6b89906a", + "reference": "2f7ee1752a81305e06992bc4c3516a3e6b89906a", "shasum": "" }, "require": { @@ -4320,7 +4321,7 @@ "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/4.x", "issues": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/issues" }, - "time": "2023-10-30T10:17:30+00:00" + "time": "2023-10-30T12:30:33+00:00" }, { "name": "drupal/helfi_proxy", @@ -14451,6 +14452,64 @@ "source": "https://github.com/webflo/drupal-finder/tree/1.2.2" }, "time": "2020-10-27T09:42:17+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<4.6.1 || 4.6.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.13" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.11.0" + }, + "time": "2022-06-03T18:03:27+00:00" } ], "packages-dev": [ @@ -18676,64 +18735,6 @@ ], "time": "2021-07-28T10:34:58+00:00" }, - { - "name": "webmozart/assert", - "version": "1.11.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/assert.git", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "php": "^7.2 || ^8.0" - }, - "conflict": { - "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<4.6.1 || 4.6.2" - }, - "require-dev": { - "phpunit/phpunit": "^8.5.13" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.10-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "support": { - "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.11.0" - }, - "time": "2022-06-03T18:03:27+00:00" - }, { "name": "weitzman/drupal-test-traits", "version": "2.2.0", diff --git a/conf/cmi/core.entity_form_display.paragraph.remote_video.default.yml b/conf/cmi/core.entity_form_display.paragraph.remote_video.default.yml index b0397d1b..f5c28cdd 100644 --- a/conf/cmi/core.entity_form_display.paragraph.remote_video.default.yml +++ b/conf/cmi/core.entity_form_display.paragraph.remote_video.default.yml @@ -14,7 +14,7 @@ dependencies: - media_library - text _core: - default_config_hash: Vt6e-uIFB3vt8xMj-uoVJNDO8F9ZFxo1CjPktEvIDsQ + default_config_hash: AMDZDzWNP90sUgt9bSZf2RbL7KmSxkXMKIiueo1JSWg id: paragraph.remote_video.default targetEntityType: paragraph bundle: remote_video diff --git a/conf/cmi/core.entity_view_display.media.image.content_card.yml b/conf/cmi/core.entity_view_display.media.image.content_card.yml index 5d83a118..b0b08265 100644 --- a/conf/cmi/core.entity_view_display.media.image.content_card.yml +++ b/conf/cmi/core.entity_view_display.media.image.content_card.yml @@ -23,6 +23,8 @@ content: settings: responsive_image_style: content_cards image_link: '' + image_loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/conf/cmi/core.entity_view_display.media.image.hero.yml b/conf/cmi/core.entity_view_display.media.image.hero.yml index 89125286..a6e1ec5a 100644 --- a/conf/cmi/core.entity_view_display.media.image.hero.yml +++ b/conf/cmi/core.entity_view_display.media.image.hero.yml @@ -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 diff --git a/conf/cmi/core.entity_view_display.media.image.image.yml b/conf/cmi/core.entity_view_display.media.image.image.yml index 44e55d4e..00541b1f 100644 --- a/conf/cmi/core.entity_view_display.media.image.image.yml +++ b/conf/cmi/core.entity_view_display.media.image.image.yml @@ -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 diff --git a/conf/cmi/core.entity_view_display.media.image.image_content_area.yml b/conf/cmi/core.entity_view_display.media.image.image_content_area.yml index 255304c5..8b6ae3ab 100644 --- a/conf/cmi/core.entity_view_display.media.image.image_content_area.yml +++ b/conf/cmi/core.entity_view_display.media.image.image_content_area.yml @@ -23,6 +23,8 @@ content: settings: responsive_image_style: image__3_2_content_area image_link: '' + image_loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/conf/cmi/core.entity_view_display.media.image.list_of_links.yml b/conf/cmi/core.entity_view_display.media.image.list_of_links.yml index c2968adf..38b97ce1 100644 --- a/conf/cmi/core.entity_view_display.media.image.list_of_links.yml +++ b/conf/cmi/core.entity_view_display.media.image.list_of_links.yml @@ -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 diff --git a/conf/cmi/core.entity_view_display.media.remote_video.default.yml b/conf/cmi/core.entity_view_display.media.remote_video.default.yml index 3d1220df..8207553a 100644 --- a/conf/cmi/core.entity_view_display.media.remote_video.default.yml +++ b/conf/cmi/core.entity_view_display.media.remote_video.default.yml @@ -20,6 +20,8 @@ content: settings: max_width: 1264 max_height: 714 + loading: + attribute: eager third_party_settings: { } weight: 0 region: content diff --git a/conf/cmi/core.entity_view_display.node.news_item.card_teaser.yml b/conf/cmi/core.entity_view_display.node.news_item.card_teaser.yml index cf1e66ae..b5a8118a 100644 --- a/conf/cmi/core.entity_view_display.node.news_item.card_teaser.yml +++ b/conf/cmi/core.entity_view_display.node.news_item.card_teaser.yml @@ -61,6 +61,15 @@ content: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 third_party_settings: { } weight: 4 region: content diff --git a/conf/cmi/core.entity_view_display.node.news_item.default.yml b/conf/cmi/core.entity_view_display.node.news_item.default.yml index f8d467d4..d6e9a6cd 100644 --- a/conf/cmi/core.entity_view_display.node.news_item.default.yml +++ b/conf/cmi/core.entity_view_display.node.news_item.default.yml @@ -96,6 +96,15 @@ content: date_format: publication_date_format custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 third_party_settings: { } weight: 3 region: content diff --git a/conf/cmi/core.entity_view_display.node.news_item.medium_teaser.yml b/conf/cmi/core.entity_view_display.node.news_item.medium_teaser.yml index 3fbbf9df..6d6b1431 100644 --- a/conf/cmi/core.entity_view_display.node.news_item.medium_teaser.yml +++ b/conf/cmi/core.entity_view_display.node.news_item.medium_teaser.yml @@ -50,6 +50,15 @@ content: date_format: publication_date_format custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 third_party_settings: { } weight: 3 region: content diff --git a/conf/cmi/core.entity_view_display.node.news_item.teaser.yml b/conf/cmi/core.entity_view_display.node.news_item.teaser.yml index a6a84823..0da25f91 100644 --- a/conf/cmi/core.entity_view_display.node.news_item.teaser.yml +++ b/conf/cmi/core.entity_view_display.node.news_item.teaser.yml @@ -59,6 +59,15 @@ content: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 third_party_settings: { } weight: 4 region: content diff --git a/conf/cmi/core.entity_view_display.node.news_item.tiny_teaser.yml b/conf/cmi/core.entity_view_display.node.news_item.tiny_teaser.yml index b55dcc08..5ed713a0 100644 --- a/conf/cmi/core.entity_view_display.node.news_item.tiny_teaser.yml +++ b/conf/cmi/core.entity_view_display.node.news_item.tiny_teaser.yml @@ -45,6 +45,15 @@ content: date_format: publication_date_format custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 third_party_settings: { } weight: 2 region: content diff --git a/conf/cmi/core.entity_view_display.paragraph.remote_video.default.yml b/conf/cmi/core.entity_view_display.paragraph.remote_video.default.yml index cef0839b..c842d2f8 100644 --- a/conf/cmi/core.entity_view_display.paragraph.remote_video.default.yml +++ b/conf/cmi/core.entity_view_display.paragraph.remote_video.default.yml @@ -13,7 +13,7 @@ dependencies: module: - text _core: - default_config_hash: gmvd3NpBqlZGO-d_PTKw53sTWYa01VHkHeH0-D1GGLI + default_config_hash: hYT61xkhP2zXO2VXijtXVPkoENlhLvIv5DRycKMm6iE id: paragraph.remote_video.default targetEntityType: paragraph bundle: remote_video diff --git a/conf/cmi/core.extension.yml b/conf/cmi/core.extension.yml index 227c774b..7bb2fae5 100644 --- a/conf/cmi/core.extension.yml +++ b/conf/cmi/core.extension.yml @@ -129,6 +129,7 @@ module: paragraphs_library: 0 path: 0 path_alias: 0 + phpass: 0 purge: 0 purge_drush: 0 purge_processor_cron: 0 diff --git a/conf/cmi/external_entities.external_entity_type.helfi_news.yml b/conf/cmi/external_entities.external_entity_type.helfi_news.yml index b1114c26..639984fd 100644 --- a/conf/cmi/external_entities.external_entity_type.helfi_news.yml +++ b/conf/cmi/external_entities.external_entity_type.helfi_news.yml @@ -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 diff --git a/conf/cmi/field.field.media.helfi_chart.field_helfi_chart_transcript.yml b/conf/cmi/field.field.media.helfi_chart.field_helfi_chart_transcript.yml index c30359d3..d2657bec 100644 --- a/conf/cmi/field.field.media.helfi_chart.field_helfi_chart_transcript.yml +++ b/conf/cmi/field.field.media.helfi_chart.field_helfi_chart_transcript.yml @@ -24,5 +24,6 @@ required: true translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: { } field_type: text_long diff --git a/conf/cmi/field.field.node.announcement.body.yml b/conf/cmi/field.field.node.announcement.body.yml index 438b1337..14e38587 100644 --- a/conf/cmi/field.field.node.announcement.body.yml +++ b/conf/cmi/field.field.node.announcement.body.yml @@ -27,4 +27,5 @@ default_value_callback: '' settings: display_summary: false required_summary: false + allowed_formats: { } field_type: text_with_summary diff --git a/conf/cmi/field.field.node.landing_page.field_has_hero.yml b/conf/cmi/field.field.node.landing_page.field_has_hero.yml index e3a1f7d0..6196351e 100644 --- a/conf/cmi/field.field.node.landing_page.field_has_hero.yml +++ b/conf/cmi/field.field.node.landing_page.field_has_hero.yml @@ -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: diff --git a/conf/cmi/field.field.paragraph.banner.field_banner_link_design.yml b/conf/cmi/field.field.paragraph.banner.field_banner_link_design.yml index a561cc35..e32cb84d 100644 --- a/conf/cmi/field.field.paragraph.banner.field_banner_link_design.yml +++ b/conf/cmi/field.field.paragraph.banner.field_banner_link_design.yml @@ -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: diff --git a/conf/cmi/field.field.paragraph.hero.field_hero_title.yml b/conf/cmi/field.field.paragraph.hero.field_hero_title.yml index b4ec42c0..9a5c5ce5 100644 --- a/conf/cmi/field.field.paragraph.hero.field_hero_title.yml +++ b/conf/cmi/field.field.paragraph.hero.field_hero_title.yml @@ -12,7 +12,7 @@ field_name: field_hero_title entity_type: paragraph bundle: hero label: 'Hero heading' -description: 'If a hero is used on the page, this heading will be used as the page''s main heading.' +description: "If a hero is used on the page, this heading will be used as the page's main heading." required: true translatable: false default_value: { } diff --git a/conf/cmi/field.field.paragraph.remote_video.field_iframe_title.yml b/conf/cmi/field.field.paragraph.remote_video.field_iframe_title.yml index cb3397d8..0c6386d0 100644 --- a/conf/cmi/field.field.paragraph.remote_video.field_iframe_title.yml +++ b/conf/cmi/field.field.paragraph.remote_video.field_iframe_title.yml @@ -5,12 +5,14 @@ dependencies: config: - field.storage.paragraph.field_iframe_title - paragraphs.paragraphs_type.remote_video +_core: + default_config_hash: 4JZoeG_XitvgE9Tg7ZfVUwjpWcjeqktlO2tOnx_WfWU id: paragraph.remote_video.field_iframe_title field_name: field_iframe_title entity_type: paragraph bundle: remote_video label: 'Assistive technology title' -description: 'Users of assistive technology need a descriptive title to know what is in the embedded content.' +description: 'Users of assistive technology need a descriptive title to know what is in the embedded content. Do not use the prefix "Video: ". It will be added automatically.' required: true translatable: true default_value: { } diff --git a/conf/cmi/field.field.paragraph.remote_video.field_remote_video_description.yml b/conf/cmi/field.field.paragraph.remote_video.field_remote_video_description.yml index 850baa35..07b9f04a 100644 --- a/conf/cmi/field.field.paragraph.remote_video.field_remote_video_description.yml +++ b/conf/cmi/field.field.paragraph.remote_video.field_remote_video_description.yml @@ -11,6 +11,8 @@ dependencies: third_party_settings: allowed_formats: allowed_formats: { } +_core: + default_config_hash: emEHEeE_yt_Z5EVGuPcPk9m--eTj8gCieN9Gzw08GLU id: paragraph.remote_video.field_remote_video_description field_name: field_remote_video_description entity_type: paragraph @@ -21,5 +23,6 @@ required: false translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: { } field_type: text_long diff --git a/conf/cmi/field.field.paragraph.remote_video.field_remote_video_title.yml b/conf/cmi/field.field.paragraph.remote_video.field_remote_video_title.yml index 199b0166..d424a1d3 100644 --- a/conf/cmi/field.field.paragraph.remote_video.field_remote_video_title.yml +++ b/conf/cmi/field.field.paragraph.remote_video.field_remote_video_title.yml @@ -5,6 +5,8 @@ dependencies: config: - field.storage.paragraph.field_remote_video_title - paragraphs.paragraphs_type.remote_video +_core: + default_config_hash: Kn3u7ICuSPlxFZiNdYRyNxEnd-I9Yye00bz2l39BXFQ id: paragraph.remote_video.field_remote_video_title field_name: field_remote_video_title entity_type: paragraph diff --git a/conf/cmi/field.field.paragraph.remote_video.field_remote_video_video_desc.yml b/conf/cmi/field.field.paragraph.remote_video.field_remote_video_video_desc.yml index de6d41ae..10fc9918 100644 --- a/conf/cmi/field.field.paragraph.remote_video.field_remote_video_video_desc.yml +++ b/conf/cmi/field.field.paragraph.remote_video.field_remote_video_video_desc.yml @@ -11,6 +11,8 @@ dependencies: third_party_settings: allowed_formats: allowed_formats: { } +_core: + default_config_hash: Zv-7KNCky603k38t9PbBgreu9IPTSpVw-bLEa3ptVlE id: paragraph.remote_video.field_remote_video_video_desc field_name: field_remote_video_video_desc entity_type: paragraph @@ -21,5 +23,6 @@ required: true translatable: false default_value: { } default_value_callback: '' -settings: { } +settings: + allowed_formats: { } field_type: text_long diff --git a/conf/cmi/field.field.paragraph.remote_video.field_remote_video_video_title.yml b/conf/cmi/field.field.paragraph.remote_video.field_remote_video_video_title.yml index 8efacfe8..0e712099 100644 --- a/conf/cmi/field.field.paragraph.remote_video.field_remote_video_video_title.yml +++ b/conf/cmi/field.field.paragraph.remote_video.field_remote_video_video_title.yml @@ -5,6 +5,8 @@ dependencies: config: - field.storage.paragraph.field_remote_video_video_title - paragraphs.paragraphs_type.remote_video +_core: + default_config_hash: Bp1tvXNbkNozGjMop7bTopoVYSimcgFctt5eELalVbY id: paragraph.remote_video.field_remote_video_video_title field_name: field_remote_video_video_title entity_type: paragraph diff --git a/conf/cmi/field.field.paragraph.unit_contact_card.field_unit_contact_unit.yml b/conf/cmi/field.field.paragraph.unit_contact_card.field_unit_contact_unit.yml index a50caa7b..518c643e 100644 --- a/conf/cmi/field.field.paragraph.unit_contact_card.field_unit_contact_unit.yml +++ b/conf/cmi/field.field.paragraph.unit_contact_card.field_unit_contact_unit.yml @@ -12,7 +12,7 @@ field_name: field_unit_contact_unit entity_type: paragraph bundle: unit_contact_card label: Unit -description: 'Add here the unit that you want to appear as the contact card. The unit doesn''t have to be published.' +description: "Add here the unit that you want to appear as the contact card. The unit doesn't have to be published." required: true translatable: false default_value: { } diff --git a/conf/cmi/field.storage.paragraph.field_remote_video_description.yml b/conf/cmi/field.storage.paragraph.field_remote_video_description.yml index 6d698430..2b03c29c 100644 --- a/conf/cmi/field.storage.paragraph.field_remote_video_description.yml +++ b/conf/cmi/field.storage.paragraph.field_remote_video_description.yml @@ -5,6 +5,8 @@ dependencies: module: - paragraphs - text +_core: + default_config_hash: cq3pdUIwmiOxVLXVLyNHCrQUxQlsS7rClbJnKKks_JU id: paragraph.field_remote_video_description field_name: field_remote_video_description entity_type: paragraph diff --git a/conf/cmi/field.storage.paragraph.field_remote_video_title.yml b/conf/cmi/field.storage.paragraph.field_remote_video_title.yml index 4586cdf5..984feb73 100644 --- a/conf/cmi/field.storage.paragraph.field_remote_video_title.yml +++ b/conf/cmi/field.storage.paragraph.field_remote_video_title.yml @@ -4,6 +4,8 @@ status: true dependencies: module: - paragraphs +_core: + default_config_hash: 0k4C3yk8Ne0kpMQ0Jc4AD4B3Acm7CQKI_Ug0u-4ZUYE id: paragraph.field_remote_video_title field_name: field_remote_video_title entity_type: paragraph diff --git a/conf/cmi/field.storage.paragraph.field_remote_video_video_desc.yml b/conf/cmi/field.storage.paragraph.field_remote_video_video_desc.yml index 30adb55e..33e5e585 100644 --- a/conf/cmi/field.storage.paragraph.field_remote_video_video_desc.yml +++ b/conf/cmi/field.storage.paragraph.field_remote_video_video_desc.yml @@ -5,6 +5,8 @@ dependencies: module: - paragraphs - text +_core: + default_config_hash: j86-6zpgZg50s_H3TClf9Soi0TR-N1JMtPIEcskvxTo id: paragraph.field_remote_video_video_desc field_name: field_remote_video_video_desc entity_type: paragraph diff --git a/conf/cmi/field.storage.paragraph.field_remote_video_video_title.yml b/conf/cmi/field.storage.paragraph.field_remote_video_video_title.yml index 7cf446d0..7ca291a3 100644 --- a/conf/cmi/field.storage.paragraph.field_remote_video_video_title.yml +++ b/conf/cmi/field.storage.paragraph.field_remote_video_video_title.yml @@ -4,6 +4,8 @@ status: true dependencies: module: - paragraphs +_core: + default_config_hash: NQK8C_re4avi5sgPKbEZUF-Pb5ZV05qUxasNqGulkBU id: paragraph.field_remote_video_video_title field_name: field_remote_video_video_title entity_type: paragraph diff --git a/conf/cmi/filter.format.full_html.yml b/conf/cmi/filter.format.full_html.yml index 911d7c00..2f3c7f21 100644 --- a/conf/cmi/filter.format.full_html.yml +++ b/conf/cmi/filter.format.full_html.yml @@ -83,3 +83,9 @@ filters: status: true weight: -10 settings: { } + filter_image_lazy_load: + id: filter_image_lazy_load + provider: filter + status: true + weight: -42 + settings: { } diff --git a/conf/cmi/filter.format.minimal.yml b/conf/cmi/filter.format.minimal.yml index 158e4700..14a252c4 100644 --- a/conf/cmi/filter.format.minimal.yml +++ b/conf/cmi/filter.format.minimal.yml @@ -83,3 +83,9 @@ filters: status: true weight: -10 settings: { } + filter_image_lazy_load: + id: filter_image_lazy_load + provider: filter + status: true + weight: -47 + settings: { } diff --git a/conf/cmi/language/fi/field.field.paragraph.event_list.field_load_more.yml b/conf/cmi/language/fi/field.field.paragraph.event_list.field_load_more.yml index 937a5d9b..20a19ee6 100644 --- a/conf/cmi/language/fi/field.field.paragraph.event_list.field_load_more.yml +++ b/conf/cmi/language/fi/field.field.paragraph.event_list.field_load_more.yml @@ -1,2 +1,2 @@ label: 'Lataa lisää' -description: 'Määrittää, näytetäänkö listauksen lopussa ''Lataa lisää'' -nappi.' +description: "Määrittää, näytetäänkö listauksen lopussa 'Lataa lisää' -nappi." diff --git a/conf/cmi/language/fi/field.field.paragraph.remote_video.field_iframe_title.yml b/conf/cmi/language/fi/field.field.paragraph.remote_video.field_iframe_title.yml index 36c9ed0e..ca8475b7 100644 --- a/conf/cmi/language/fi/field.field.paragraph.remote_video.field_iframe_title.yml +++ b/conf/cmi/language/fi/field.field.paragraph.remote_video.field_iframe_title.yml @@ -1,2 +1,2 @@ label: 'Avustavan teknologian otsikko' -description: 'Avustavan teknologian käyttäjät tarvitsevat kuvaavan otsikon upotetulle sisällölle.' +description: 'Avustavan teknologian käyttäjät tarvitsevat kuvaavan otsikon upotetulle sisällölle. Älä käytä etuliitettä "Video: ". Se lisätään automaattisesti.' diff --git a/conf/cmi/language/sv/field.field.paragraph.remote_video.field_iframe_title.yml b/conf/cmi/language/sv/field.field.paragraph.remote_video.field_iframe_title.yml index 80a22d2b..34cc701d 100644 --- a/conf/cmi/language/sv/field.field.paragraph.remote_video.field_iframe_title.yml +++ b/conf/cmi/language/sv/field.field.paragraph.remote_video.field_iframe_title.yml @@ -1,2 +1,2 @@ label: 'Hjälpmedel rubrik' -description: 'Användare av hjälpmedel behöver en beskrivande rubrik för inbäddad innehåll.' +description: 'Användare av hjälpmedel behöver en beskrivande rubrik för inbäddad innehåll. Använd inte prefixet "Video: ". Den läggs till automatiskt.' diff --git a/conf/cmi/paragraphs.paragraphs_type.unit_contact_card.yml b/conf/cmi/paragraphs.paragraphs_type.unit_contact_card.yml index 301f0fab..f416245b 100644 --- a/conf/cmi/paragraphs.paragraphs_type.unit_contact_card.yml +++ b/conf/cmi/paragraphs.paragraphs_type.unit_contact_card.yml @@ -8,5 +8,5 @@ id: unit_contact_card label: 'Unit contact card' icon_uuid: null icon_default: null -description: 'With unit contact card you can reference to a single unit inside this site. The information about the unit is automatically fetched through the reference. Shown information can be customized and the unit doesn''t need to be published.' +description: "With unit contact card you can reference to a single unit inside this site. The information about the unit is automatically fetched through the reference. Shown information can be customized and the unit doesn't need to be published." behavior_plugins: { } diff --git a/conf/cmi/raven.settings.yml b/conf/cmi/raven.settings.yml index 68a89229..db7dd642 100644 --- a/conf/cmi/raven.settings.yml +++ b/conf/cmi/raven.settings.yml @@ -13,7 +13,7 @@ log_levels: 7: 0 8: 0 stack: true -timeout: !!float 2 +timeout: 2.0 message_limit: 2048 trace: false fatal_error_handler: true diff --git a/conf/cmi/responsive_image.styles.content_cards.yml b/conf/cmi/responsive_image.styles.content_cards.yml index 0bb06ff4..bccfc38b 100644 --- a/conf/cmi/responsive_image.styles.content_cards.yml +++ b/conf/cmi/responsive_image.styles.content_cards.yml @@ -7,6 +7,8 @@ dependencies: - image.style.3_2_xs_2x - image.style.3_2_xxs - image.style.3_2_xxs_2x + module: + - helfi_image_styles _core: default_config_hash: jH69N3z5bEnLIX9CmU78ldKAjExVvyv8h8uKto81urs id: content_cards @@ -17,16 +19,16 @@ image_style_mappings: image_mapping: 3_2_xs breakpoint_id: helfi_image_styles.xs multiplier: 1x - - - image_mapping_type: image_style - image_mapping: 3_2_xs_2x - breakpoint_id: helfi_image_styles.xs - multiplier: 2x - image_mapping_type: image_style image_mapping: 3_2_xxs breakpoint_id: helfi_image_styles.xxs multiplier: 1x + - + image_mapping_type: image_style + image_mapping: 3_2_xs_2x + breakpoint_id: helfi_image_styles.xs + multiplier: 2x - image_mapping_type: image_style image_mapping: 3_2_xxs_2x diff --git a/conf/cmi/responsive_image.styles.gallery_thumbnail.yml b/conf/cmi/responsive_image.styles.gallery_thumbnail.yml index e02d0a79..4c8e7a77 100644 --- a/conf/cmi/responsive_image.styles.gallery_thumbnail.yml +++ b/conf/cmi/responsive_image.styles.gallery_thumbnail.yml @@ -5,6 +5,8 @@ dependencies: config: - image.style.1_1_thumbnail - image.style.1_1_thumbnail_2x + module: + - helfi_image_styles _core: default_config_hash: tRylWJSJK7hdRcmTxsffZOTS9BrButW2HHWXToXNxO0 id: gallery_thumbnail @@ -15,16 +17,16 @@ image_style_mappings: image_mapping: 1_1_thumbnail breakpoint_id: helfi_image_styles.xs multiplier: 1x - - - image_mapping_type: image_style - image_mapping: 1_1_thumbnail_2x - breakpoint_id: helfi_image_styles.xs - multiplier: 2x - image_mapping_type: image_style image_mapping: 1_1_thumbnail breakpoint_id: helfi_image_styles.xxs multiplier: 1x + - + image_mapping_type: image_style + image_mapping: 1_1_thumbnail_2x + breakpoint_id: helfi_image_styles.xs + multiplier: 2x - image_mapping_type: image_style image_mapping: 1_1_thumbnail_2x diff --git a/conf/cmi/responsive_image.styles.hero__background.yml b/conf/cmi/responsive_image.styles.hero__background.yml index 5b4c368f..86c6912b 100644 --- a/conf/cmi/responsive_image.styles.hero__background.yml +++ b/conf/cmi/responsive_image.styles.hero__background.yml @@ -13,6 +13,8 @@ dependencies: - image.style.23_10_xl_2x - image.style.23_10_xs - image.style.23_10_xs_2x + module: + - helfi_image_styles _core: default_config_hash: a-qPm6G17AkhcFFnoNEBwRr4Pt03P1TgpixEqDEQrlM id: hero__background @@ -63,16 +65,16 @@ image_style_mappings: image_mapping: 23_10_xs breakpoint_id: helfi_image_styles.xs multiplier: 1x - - - image_mapping_type: image_style - image_mapping: 23_10_xs_2x - breakpoint_id: helfi_image_styles.xs - multiplier: 2x - image_mapping_type: image_style image_mapping: 23_10_xs breakpoint_id: helfi_image_styles.xxs multiplier: 1x + - + image_mapping_type: image_style + image_mapping: 23_10_xs_2x + breakpoint_id: helfi_image_styles.xs + multiplier: 2x - image_mapping_type: image_style image_mapping: 23_10_xs_2x diff --git a/conf/cmi/responsive_image.styles.hero__bottom.yml b/conf/cmi/responsive_image.styles.hero__bottom.yml index d1cb8587..b53c1331 100644 --- a/conf/cmi/responsive_image.styles.hero__bottom.yml +++ b/conf/cmi/responsive_image.styles.hero__bottom.yml @@ -15,6 +15,8 @@ dependencies: - image.style.23_10_xs_2x - image.style.23_10_xxs - image.style.23_10_xxs_2x + module: + - helfi_image_styles _core: default_config_hash: wSwVWbcfZCu9XvGOiDxuNG0mnekg0cSOxrHMQOsQYps id: hero__bottom @@ -65,16 +67,16 @@ image_style_mappings: image_mapping: 23_10_xs breakpoint_id: helfi_image_styles.xs multiplier: 1x - - - image_mapping_type: image_style - image_mapping: 23_10_xs_2x - breakpoint_id: helfi_image_styles.xs - multiplier: 2x - image_mapping_type: image_style image_mapping: 23_10_xxs breakpoint_id: helfi_image_styles.xxs multiplier: 1x + - + image_mapping_type: image_style + image_mapping: 23_10_xs_2x + breakpoint_id: helfi_image_styles.xs + multiplier: 2x - image_mapping_type: image_style image_mapping: 23_10_xxs_2x diff --git a/conf/cmi/responsive_image.styles.hero__diagonal.yml b/conf/cmi/responsive_image.styles.hero__diagonal.yml index 8d0dfde4..ac9f4c0d 100644 --- a/conf/cmi/responsive_image.styles.hero__diagonal.yml +++ b/conf/cmi/responsive_image.styles.hero__diagonal.yml @@ -15,6 +15,8 @@ dependencies: - image.style.23_10_xs_2x - image.style.23_10_xxs - image.style.23_10_xxs_2x + module: + - helfi_image_styles _core: default_config_hash: sqxPwEOHDHbmSWO75WNVWlTSQ5yyV_PYHC7vxrA5LoQ id: hero__diagonal @@ -65,16 +67,16 @@ image_style_mappings: image_mapping: 23_10_xs breakpoint_id: helfi_image_styles.xs multiplier: 1x - - - image_mapping_type: image_style - image_mapping: 23_10_xs_2x - breakpoint_id: helfi_image_styles.xs - multiplier: 2x - image_mapping_type: image_style image_mapping: 23_10_xxs breakpoint_id: helfi_image_styles.xxs multiplier: 1x + - + image_mapping_type: image_style + image_mapping: 23_10_xs_2x + breakpoint_id: helfi_image_styles.xs + multiplier: 2x - image_mapping_type: image_style image_mapping: 23_10_xxs_2x diff --git a/conf/cmi/responsive_image.styles.hero__left_right.yml b/conf/cmi/responsive_image.styles.hero__left_right.yml index d7ae8549..ec6980ca 100644 --- a/conf/cmi/responsive_image.styles.hero__left_right.yml +++ b/conf/cmi/responsive_image.styles.hero__left_right.yml @@ -9,6 +9,8 @@ dependencies: - image.style.3_2_s_2x - image.style.3_2_xs - image.style.3_2_xs_2x + module: + - helfi_image_styles _core: default_config_hash: VOrWXmHCCzslJCkaWhkUoHuJ2R1VENCqsCMheMfXcvw id: hero__left_right @@ -29,16 +31,16 @@ image_style_mappings: image_mapping: 3_2_xs breakpoint_id: helfi_image_styles.xs multiplier: 1x - - - image_mapping_type: image_style - image_mapping: 3_2_xs_2x - breakpoint_id: helfi_image_styles.xs - multiplier: 2x - image_mapping_type: image_style image_mapping: 23_10_xxs breakpoint_id: helfi_image_styles.xxs multiplier: 1x + - + image_mapping_type: image_style + image_mapping: 3_2_xs_2x + breakpoint_id: helfi_image_styles.xs + multiplier: 2x - image_mapping_type: image_style image_mapping: 23_10_xxs_2x diff --git a/conf/cmi/responsive_image.styles.image__3_2.yml b/conf/cmi/responsive_image.styles.image__3_2.yml index 7646db65..48238aa4 100644 --- a/conf/cmi/responsive_image.styles.image__3_2.yml +++ b/conf/cmi/responsive_image.styles.image__3_2.yml @@ -13,6 +13,8 @@ dependencies: - image.style.3_2_xs_2x - image.style.3_2_xxs - image.style.3_2_xxs_2x + module: + - helfi_image_styles _core: default_config_hash: kLqFW8YkiSheLplOEONalLhJszKWnEySuu_JefXuraM id: image__3_2 @@ -53,16 +55,16 @@ image_style_mappings: image_mapping: 3_2_xs breakpoint_id: helfi_image_styles.xs multiplier: 1x - - - image_mapping_type: image_style - image_mapping: 3_2_xs_2x - breakpoint_id: helfi_image_styles.xs - multiplier: 2x - image_mapping_type: image_style image_mapping: 3_2_xxs breakpoint_id: helfi_image_styles.xxs multiplier: 1x + - + image_mapping_type: image_style + image_mapping: 3_2_xs_2x + breakpoint_id: helfi_image_styles.xs + multiplier: 2x - image_mapping_type: image_style image_mapping: 3_2_xxs_2x diff --git a/conf/cmi/responsive_image.styles.image__3_2_content_area.yml b/conf/cmi/responsive_image.styles.image__3_2_content_area.yml index 9e6b6d39..5e26e6df 100644 --- a/conf/cmi/responsive_image.styles.image__3_2_content_area.yml +++ b/conf/cmi/responsive_image.styles.image__3_2_content_area.yml @@ -11,6 +11,8 @@ dependencies: - image.style.3_2_xs_2x - image.style.3_2_xxs - image.style.3_2_xxs_2x + module: + - helfi_image_styles _core: default_config_hash: G4eNPnw1Oc6uz2Iq0wl-wYgjL9DJ7ulz3tpBbWbMt9g id: image__3_2_content_area @@ -41,16 +43,16 @@ image_style_mappings: image_mapping: 3_2_xs breakpoint_id: helfi_image_styles.xs multiplier: 1x - - - image_mapping_type: image_style - image_mapping: 3_2_xs_2x - breakpoint_id: helfi_image_styles.xs - multiplier: 2x - image_mapping_type: image_style image_mapping: 3_2_xxs breakpoint_id: helfi_image_styles.xxs multiplier: 1x + - + image_mapping_type: image_style + image_mapping: 3_2_xs_2x + breakpoint_id: helfi_image_styles.xs + multiplier: 2x - image_mapping_type: image_style image_mapping: 3_2_xxs_2x diff --git a/conf/cmi/responsive_image.styles.list_of_links__thumbnail.yml b/conf/cmi/responsive_image.styles.list_of_links__thumbnail.yml index 16e0adf8..0567489a 100644 --- a/conf/cmi/responsive_image.styles.list_of_links__thumbnail.yml +++ b/conf/cmi/responsive_image.styles.list_of_links__thumbnail.yml @@ -7,6 +7,8 @@ dependencies: - image.style.1_1_s_2x - image.style.1_1_xs - image.style.1_1_xs_2x + module: + - helfi_image_styles _core: default_config_hash: NuriQB70Hu9_irYO0uyCTx6ChH38pAdEoZn48rmtfqo id: list_of_links__thumbnail @@ -30,13 +32,13 @@ image_style_mappings: - image_mapping_type: image_style image_mapping: 1_1_xs_2x - breakpoint_id: helfi_image_styles.xs - multiplier: 2x + breakpoint_id: helfi_image_styles.xxs + multiplier: 1x - image_mapping_type: image_style image_mapping: 1_1_xs_2x - breakpoint_id: helfi_image_styles.xxs - multiplier: 1x + breakpoint_id: helfi_image_styles.xs + multiplier: 2x - image_mapping_type: image_style image_mapping: 1_1_xs_2x diff --git a/conf/cmi/responsive_image.styles.original.yml b/conf/cmi/responsive_image.styles.original.yml index 498883bb..b4f64fec 100644 --- a/conf/cmi/responsive_image.styles.original.yml +++ b/conf/cmi/responsive_image.styles.original.yml @@ -13,6 +13,8 @@ dependencies: - image.style.original_xs_2x - image.style.original_xxs - image.style.original_xxs_2x + module: + - helfi_image_styles _core: default_config_hash: GHc3XCdV80PXDojpCaQ7DsBPaBAXpeDpebYof1ne27A id: original @@ -53,16 +55,16 @@ image_style_mappings: image_mapping: original_xs breakpoint_id: helfi_image_styles.xs multiplier: 1x - - - image_mapping_type: image_style - image_mapping: original_xs_2x - breakpoint_id: helfi_image_styles.xs - multiplier: 2x - image_mapping_type: image_style image_mapping: original_xxs breakpoint_id: helfi_image_styles.xxs multiplier: 1x + - + image_mapping_type: image_style + image_mapping: original_xs_2x + breakpoint_id: helfi_image_styles.xs + multiplier: 2x - image_mapping_type: image_style image_mapping: original_xxs_2x diff --git a/conf/cmi/search_api.settings.yml b/conf/cmi/search_api.settings.yml index 21dfa083..510a3e52 100644 --- a/conf/cmi/search_api.settings.yml +++ b/conf/cmi/search_api.settings.yml @@ -5,7 +5,7 @@ cron_worker_runtime: 15 default_tracker: default tracking_page_size: 100 boost_factors: - - !!float 0 + - 0.0 - 0.1 - 0.2 - 0.3 @@ -14,15 +14,15 @@ boost_factors: - 0.7 - 0.8 - 0.9 - - !!float 1 + - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 - 1.5 - - !!float 2 - - !!float 3 - - !!float 5 - - !!float 8 - - !!float 13 - - !!float 21 + - 2.0 + - 3.0 + - 5.0 + - 8.0 + - 13.0 + - 21.0 diff --git a/conf/cmi/social_media.settings.yml b/conf/cmi/social_media.settings.yml index c0df02e8..339ba150 100644 --- a/conf/cmi/social_media.settings.yml +++ b/conf/cmi/social_media.settings.yml @@ -16,7 +16,7 @@ social_media: facebook_msg: enable: 0 text: 'Facebook messenger' - api_url: 'FB.ui({method: ''send'',link: ''[current-page:url]''})' + api_url: "FB.ui({method: 'send',link: '[current-page:url]'})" api_event: onclick default_img: 1 weight: 2 diff --git a/conf/cmi/system.feature_flags.yml b/conf/cmi/system.feature_flags.yml new file mode 100644 index 00000000..7169df08 --- /dev/null +++ b/conf/cmi/system.feature_flags.yml @@ -0,0 +1 @@ +linkset_endpoint: false diff --git a/conf/cmi/user.role.admin.yml b/conf/cmi/user.role.admin.yml index 36e48b7f..c454b46a 100644 --- a/conf/cmi/user.role.admin.yml +++ b/conf/cmi/user.role.admin.yml @@ -141,6 +141,7 @@ permissions: - 'delete news_item revisions' - 'delete own announcement content' - 'delete own file media' + - 'delete own files' - 'delete own hel_map media' - 'delete own helfi_chart media' - 'delete own image media' diff --git a/conf/cmi/user.role.authenticated.yml b/conf/cmi/user.role.authenticated.yml index 21327f6f..0d9e09d7 100644 --- a/conf/cmi/user.role.authenticated.yml +++ b/conf/cmi/user.role.authenticated.yml @@ -7,6 +7,7 @@ dependencies: module: - eu_cookie_compliance - external_entities + - file - helfi_api_base - helfi_tpr - media @@ -23,6 +24,7 @@ is_admin: false permissions: - 'access content' - 'access toolbar' + - 'delete own files' - 'display eu cookie compliance popup' - 'restful get helfi_global_mobile_menu' - 'view helfi_announcements external entity' diff --git a/conf/cmi/user.role.comprehensive_school_editor.yml b/conf/cmi/user.role.comprehensive_school_editor.yml index 75e0537c..118669ae 100644 --- a/conf/cmi/user.role.comprehensive_school_editor.yml +++ b/conf/cmi/user.role.comprehensive_school_editor.yml @@ -45,6 +45,7 @@ permissions: - 'create remote_video media' - 'delete media' - 'delete own file media' + - 'delete own files' - 'delete own hel_map media' - 'delete own helfi_chart media' - 'delete own image media' diff --git a/conf/cmi/user.role.content_producer.yml b/conf/cmi/user.role.content_producer.yml index aafb4c67..fd0a75c6 100644 --- a/conf/cmi/user.role.content_producer.yml +++ b/conf/cmi/user.role.content_producer.yml @@ -72,6 +72,7 @@ permissions: - 'delete media' - 'delete own announcement content' - 'delete own file media' + - 'delete own files' - 'delete own hel_map media' - 'delete own helfi_chart media' - 'delete own image media' diff --git a/conf/cmi/user.role.daycare_editor.yml b/conf/cmi/user.role.daycare_editor.yml index 45b11476..6f78277a 100644 --- a/conf/cmi/user.role.daycare_editor.yml +++ b/conf/cmi/user.role.daycare_editor.yml @@ -45,6 +45,7 @@ permissions: - 'create remote_video media' - 'delete media' - 'delete own file media' + - 'delete own files' - 'delete own hel_map media' - 'delete own helfi_chart media' - 'delete own image media' diff --git a/conf/cmi/user.role.debug_api.yml b/conf/cmi/user.role.debug_api.yml index 49d7a9d6..f0965310 100644 --- a/conf/cmi/user.role.debug_api.yml +++ b/conf/cmi/user.role.debug_api.yml @@ -5,10 +5,12 @@ dependencies: config: - rest.resource.helfi_debug_data module: + - file - rest id: debug_api label: 'Debug API' weight: 0 is_admin: null permissions: + - 'delete own files' - 'restful get helfi_debug_data' diff --git a/conf/cmi/user.role.editor.yml b/conf/cmi/user.role.editor.yml index 1d0b76d5..8a0056c7 100644 --- a/conf/cmi/user.role.editor.yml +++ b/conf/cmi/user.role.editor.yml @@ -103,6 +103,7 @@ permissions: - 'delete news_item revisions' - 'delete own announcement content' - 'delete own file media' + - 'delete own files' - 'delete own hel_map media' - 'delete own helfi_chart media' - 'delete own image media' diff --git a/conf/cmi/user.role.playground_editor.yml b/conf/cmi/user.role.playground_editor.yml index cb14d5c5..975c5de4 100644 --- a/conf/cmi/user.role.playground_editor.yml +++ b/conf/cmi/user.role.playground_editor.yml @@ -45,6 +45,7 @@ permissions: - 'create remote_video media' - 'delete media' - 'delete own file media' + - 'delete own files' - 'delete own hel_map media' - 'delete own helfi_chart media' - 'delete own image media' diff --git a/conf/cmi/user.role.read_only.yml b/conf/cmi/user.role.read_only.yml index 145a432f..56ba7456 100644 --- a/conf/cmi/user.role.read_only.yml +++ b/conf/cmi/user.role.read_only.yml @@ -3,6 +3,7 @@ langcode: en status: true dependencies: module: + - file - helfi_tpr - node - paragraphs @@ -14,6 +15,7 @@ weight: -8 is_admin: null permissions: - 'access toolbar' + - 'delete own files' - 'view any unpublished announcement content' - 'view any unpublished landing_page content' - 'view any unpublished news_item content' diff --git a/conf/cmi/user.role.school_editor.yml b/conf/cmi/user.role.school_editor.yml index 434b2670..2e8a6281 100644 --- a/conf/cmi/user.role.school_editor.yml +++ b/conf/cmi/user.role.school_editor.yml @@ -20,6 +20,7 @@ dependencies: - helfi_tpr - media - node + - override_node_options - publication_date - scheduler - system @@ -46,6 +47,7 @@ permissions: - 'create remote_video media' - 'delete media' - 'delete own file media' + - 'delete own files' - 'delete own hel_map media' - 'delete own helfi_chart media' - 'delete own image media' diff --git a/conf/cmi/varnish_purger.settings.default.yml b/conf/cmi/varnish_purger.settings.default.yml index 5f5cfad1..5058dc6f 100644 --- a/conf/cmi/varnish_purger.settings.default.yml +++ b/conf/cmi/varnish_purger.settings.default.yml @@ -21,8 +21,8 @@ headers: body: null body_content_type: null runtime_measurement: true -timeout: !!float 1 -connect_timeout: !!float 1 -cooldown_time: !!float 0 +timeout: 1.0 +connect_timeout: 1.0 +cooldown_time: 0.0 max_requests: 100 http_errors: true diff --git a/conf/cmi/varnish_purger.settings.varnish_purge_all.yml b/conf/cmi/varnish_purger.settings.varnish_purge_all.yml index 19455a6e..a65f230f 100644 --- a/conf/cmi/varnish_purger.settings.varnish_purge_all.yml +++ b/conf/cmi/varnish_purger.settings.varnish_purge_all.yml @@ -15,8 +15,8 @@ headers: { } body: null body_content_type: null runtime_measurement: true -timeout: !!float 1 -connect_timeout: !!float 1 -cooldown_time: !!float 0 +timeout: 1.0 +connect_timeout: 1.0 +cooldown_time: 0.0 max_requests: 100 http_errors: true diff --git a/conf/cmi/views.view.content.yml b/conf/cmi/views.view.content.yml index 682e6903..daedbe81 100644 --- a/conf/cmi/views.view.content.yml +++ b/conf/cmi/views.view.content.yml @@ -253,6 +253,15 @@ display: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 operations: id: operations table: node diff --git a/conf/cmi/views.view.files.yml b/conf/cmi/views.view.files.yml index fc0c7af3..1be139f8 100644 --- a/conf/cmi/views.view.files.yml +++ b/conf/cmi/views.view.files.yml @@ -335,6 +335,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 changed: id: changed table: file_managed @@ -391,6 +400,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 count: id: count table: file_usage diff --git a/conf/cmi/views.view.glossary.yml b/conf/cmi/views.view.glossary.yml index c9b3b4b8..82454b26 100644 --- a/conf/cmi/views.view.glossary.yml +++ b/conf/cmi/views.view.glossary.yml @@ -183,6 +183,15 @@ display: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 pager: type: mini options: diff --git a/conf/cmi/views.view.group_members.yml b/conf/cmi/views.view.group_members.yml index 5abc848c..f7577e7d 100644 --- a/conf/cmi/views.view.group_members.yml +++ b/conf/cmi/views.view.group_members.yml @@ -208,6 +208,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true @@ -275,6 +284,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/conf/cmi/views.view.group_nodes.yml b/conf/cmi/views.view.group_nodes.yml index fd35cb94..8419d25b 100644 --- a/conf/cmi/views.view.group_nodes.yml +++ b/conf/cmi/views.view.group_nodes.yml @@ -278,6 +278,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/conf/cmi/views.view.group_tpr_units.yml b/conf/cmi/views.view.group_tpr_units.yml index 57b945de..ce425e00 100644 --- a/conf/cmi/views.view.group_tpr_units.yml +++ b/conf/cmi/views.view.group_tpr_units.yml @@ -341,6 +341,15 @@ display: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/conf/cmi/views.view.media.yml b/conf/cmi/views.view.media.yml index 69fcf1ea..01acf258 100644 --- a/conf/cmi/views.view.media.yml +++ b/conf/cmi/views.view.media.yml @@ -448,6 +448,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/conf/cmi/views.view.media_library.yml b/conf/cmi/views.view.media_library.yml index b8bceed0..772231f1 100644 --- a/conf/cmi/views.view.media_library.yml +++ b/conf/cmi/views.view.media_library.yml @@ -1040,7 +1040,7 @@ display: replace_spaces: false path_case: none trim_whitespace: false - alt: 'Edit {{ name }}. {{ ''Opens in a new tab''|t }}' + alt: "Edit {{ name }}. {{ 'Opens in a new tab'|t }}" rel: '' link_class: '' prefix: '' @@ -1375,6 +1375,15 @@ display: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 access: type: perm options: diff --git a/conf/cmi/views.view.news.yml b/conf/cmi/views.view.news.yml index ebe05b76..e46dbd26 100644 --- a/conf/cmi/views.view.news.yml +++ b/conf/cmi/views.view.news.yml @@ -84,6 +84,15 @@ display: date_format: medium custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/conf/cmi/views.view.paragraphs_library.yml b/conf/cmi/views.view.paragraphs_library.yml index 78a1f341..7d7b42c9 100644 --- a/conf/cmi/views.view.paragraphs_library.yml +++ b/conf/cmi/views.view.paragraphs_library.yml @@ -467,6 +467,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: entity_id group_columns: { } group_rows: true diff --git a/conf/cmi/views.view.scheduler_scheduled_content.yml b/conf/cmi/views.view.scheduler_scheduled_content.yml index d6fceab6..918806d4 100644 --- a/conf/cmi/views.view.scheduler_scheduled_content.yml +++ b/conf/cmi/views.view.scheduler_scheduled_content.yml @@ -380,6 +380,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true @@ -447,6 +456,15 @@ display: date_format: short custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true @@ -1000,8 +1018,8 @@ display: display_plugin: page position: 1 display_options: - display_description: 'Overview of all scheduled content, as a tab on main ''content admin'' page' - display_comment: 'Revision nid relationship is required because the content type is only stored at ''content'' level, not ''content revision'' level.' + display_description: "Overview of all scheduled content, as a tab on main 'content admin' page" + display_comment: "Revision nid relationship is required because the content type is only stored at 'content' level, not 'content revision' level." display_extenders: { } path: admin/content/scheduled menu: @@ -1096,7 +1114,7 @@ display: arguments: false filters: true filter_groups: true - display_description: 'Scheduled content tab on user profile, showing just that user''s scheduled content' + display_description: "Scheduled content tab on user profile, showing just that user's scheduled content" display_extenders: { } path: user/%user/scheduled menu: diff --git a/conf/cmi/views.view.tpr_errand_service_list.yml b/conf/cmi/views.view.tpr_errand_service_list.yml index 83a178bb..cff2e642 100644 --- a/conf/cmi/views.view.tpr_errand_service_list.yml +++ b/conf/cmi/views.view.tpr_errand_service_list.yml @@ -396,6 +396,15 @@ display: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/conf/cmi/views.view.tpr_service_channel_list.yml b/conf/cmi/views.view.tpr_service_channel_list.yml index 385823d5..5dd89352 100644 --- a/conf/cmi/views.view.tpr_service_channel_list.yml +++ b/conf/cmi/views.view.tpr_service_channel_list.yml @@ -396,6 +396,15 @@ display: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/conf/cmi/views.view.tpr_service_list.yml b/conf/cmi/views.view.tpr_service_list.yml index c3e9abda..79fadeef 100644 --- a/conf/cmi/views.view.tpr_service_list.yml +++ b/conf/cmi/views.view.tpr_service_list.yml @@ -396,6 +396,15 @@ display: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/conf/cmi/views.view.tpr_unit_list.yml b/conf/cmi/views.view.tpr_unit_list.yml index 6d321c09..e4606712 100644 --- a/conf/cmi/views.view.tpr_unit_list.yml +++ b/conf/cmi/views.view.tpr_unit_list.yml @@ -6,8 +6,6 @@ dependencies: - helfi_tpr - user - views_bulk_operations - - views_bulk_edit - - content_lock _core: default_config_hash: 0Q9MnLuLAYwltkBeCL-al8z-gc3-M2SFIWM50exDgxg id: tpr_unit_list @@ -430,6 +428,15 @@ display: date_format: long custom_date_format: '' timezone: '' + tooltip: + date_format: '' + custom_date_format: '' + time_diff: + enabled: false + future_format: '@interval hence' + past_format: '@interval ago' + granularity: 2 + refresh: 60 group_column: value group_columns: { } group_rows: true diff --git a/conf/cmi/views.view.who_s_new.yml b/conf/cmi/views.view.who_s_new.yml index e4bdbb37..5a90fcd0 100644 --- a/conf/cmi/views.view.who_s_new.yml +++ b/conf/cmi/views.view.who_s_new.yml @@ -7,7 +7,7 @@ dependencies: _core: default_config_hash: hdAKtAm0H-umA4Nzn0i1bquaj5iPn3daD_7u-nzFRhM id: who_s_new -label: 'Who''s new' +label: "Who's new" module: user description: 'Shows a list of the newest user accounts on the site.' tag: default @@ -20,7 +20,7 @@ display: display_plugin: default position: 0 display_options: - title: 'Who''s new' + title: "Who's new" fields: name: id: name @@ -180,13 +180,13 @@ display: tags: { } block_1: id: block_1 - display_title: 'Who''s new' + display_title: "Who's new" display_plugin: block position: 1 display_options: display_description: 'A list of new users' display_extenders: { } - block_description: 'Who''s new' + block_description: "Who's new" block_category: User cache_metadata: max-age: -1 diff --git a/conf/cmi/views.view.who_s_online.yml b/conf/cmi/views.view.who_s_online.yml index 0a776f2e..9d4698e8 100644 --- a/conf/cmi/views.view.who_s_online.yml +++ b/conf/cmi/views.view.who_s_online.yml @@ -7,7 +7,7 @@ dependencies: _core: default_config_hash: oZCZq8MBtIG4FvWKljxJ2sY3jp-K6ts5Z5OCF7-p8ms id: who_s_online -label: 'Who''s online block' +label: "Who's online block" module: user description: 'Shows the user names of the most recently active users, and the total number of active users.' tag: default @@ -20,7 +20,7 @@ display: display_plugin: default position: 0 display_options: - title: 'Who''s online' + title: "Who's online" fields: name: id: name @@ -210,13 +210,13 @@ display: tags: { } who_s_online_block: id: who_s_online_block - display_title: 'Who''s online' + display_title: "Who's online" display_plugin: block position: 1 display_options: display_description: 'A list of users that are currently logged in.' display_extenders: { } - block_description: 'Who''s online' + block_description: "Who's online" cache_metadata: max-age: -1 contexts: