From 8244885747779a998ff954165f2d7b516ab96c21 Mon Sep 17 00:00:00 2001 From: actions-bot Date: Thu, 20 Apr 2023 08:55:05 +0000 Subject: [PATCH 1/2] Update configuration --- composer.lock | 111 +++++++++--------- ...tem.paragraphs_library_item.paragraphs.yml | 2 +- conf/cmi/core.extension.yml | 1 + ....field.node.landing_page.field_content.yml | 2 +- ...eld.field.node.landing_page.field_hero.yml | 2 +- .../field.field.node.page.field_content.yml | 2 +- conf/cmi/field.field.node.page.field_hero.yml | 2 +- ...ld.field.node.page.field_lower_content.yml | 2 +- ....field.node.page.field_sidebar_content.yml | 2 +- ...agraph.accordion.field_accordion_items.yml | 2 +- ...dion_item.field_accordion_item_content.yml | 2 +- ...raph.columns.field_columns_left_column.yml | 2 +- ...aph.columns.field_columns_right_column.yml | 2 +- ...ontact_card.field_contact_social_media.yml | 2 +- ...ontact_card_listing.field_contact_card.yml | 2 +- ...ist_of_links.field_list_of_links_links.yml | 4 +- ...d.paragraph.phasing.field_phasing_item.yml | 2 +- ...h.popular_services.field_service_items.yml | 4 +- ....tpr_service.tpr_service.field_content.yml | 2 +- ...ervice.tpr_service.field_lower_content.yml | 2 +- ...vice.tpr_service.field_sidebar_content.yml | 2 +- ....field.tpr_unit.tpr_unit.field_content.yml | 2 +- ....tpr_unit.tpr_unit.field_lower_content.yml | 2 +- conf/cmi/filter.format.plain_text.yml | 2 +- conf/cmi/rest.resource.entity.node.yml | 23 ++++ conf/cmi/rest.resource.helfi_debug_data.yml | 8 +- ...t.resource.helfi_debug_package_version.yml | 4 + docker/openshift/entrypoints/20-deploy.sh | 28 ++++- public/sites/default/settings.php | 17 +-- 29 files changed, 150 insertions(+), 90 deletions(-) create mode 100644 conf/cmi/rest.resource.entity.node.yml diff --git a/composer.lock b/composer.lock index 2b81d01d0..6730e866b 100644 --- a/composer.lock +++ b/composer.lock @@ -2031,16 +2031,16 @@ }, { "name": "drupal/core", - "version": "9.5.7", + "version": "9.5.8", "source": { "type": "git", "url": "https://github.com/drupal/core.git", - "reference": "bf51aa8ed6ab733fcaf60d0860aefd3918140fe3" + "reference": "a9a1e4e1fe23fb8c83fd6aeafb740c1462a218fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core/zipball/bf51aa8ed6ab733fcaf60d0860aefd3918140fe3", - "reference": "bf51aa8ed6ab733fcaf60d0860aefd3918140fe3", + "url": "https://api.github.com/repos/drupal/core/zipball/a9a1e4e1fe23fb8c83fd6aeafb740c1462a218fc", + "reference": "a9a1e4e1fe23fb8c83fd6aeafb740c1462a218fc", "shasum": "" }, "require": { @@ -2192,9 +2192,9 @@ ], "description": "Drupal is an open source content management platform powering millions of websites and applications.", "support": { - "source": "https://github.com/drupal/core/tree/9.5.7" + "source": "https://github.com/drupal/core/tree/9.5.8" }, - "time": "2023-03-24T16:54:38+00:00" + "time": "2023-04-19T16:14:39+00:00" }, { "name": "drupal/core-composer-scaffold", @@ -3741,16 +3741,16 @@ }, { "name": "drupal/hdbt", - "version": "5.0.15", + "version": "5.0.21", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-hdbt.git", - "reference": "65d144fe8ae6d655549ea1fb5616e9b78fe60422" + "reference": "ccc8c1cb500df43c95e1f6b2c7fac42c8f954eea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/65d144fe8ae6d655549ea1fb5616e9b78fe60422", - "reference": "65d144fe8ae6d655549ea1fb5616e9b78fe60422", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/ccc8c1cb500df43c95e1f6b2c7fac42c8f954eea", + "reference": "ccc8c1cb500df43c95e1f6b2c7fac42c8f954eea", "shasum": "" }, "require": { @@ -3768,10 +3768,10 @@ "Drupal" ], "support": { - "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/5.0.15", + "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/5.0.21", "issues": "https://github.com/City-of-Helsinki/drupal-hdbt/issues" }, - "time": "2023-04-13T13:46:48+00:00" + "time": "2023-04-19T11:08:29+00:00" }, { "name": "drupal/hdbt_admin", @@ -3859,23 +3859,23 @@ }, { "name": "drupal/helfi_api_base", - "version": "2.4.0", + "version": "2.4.2", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base.git", - "reference": "9fef0cb03d5d0e31dba160331bc5365d0b424be4" + "reference": "7cbeef9a7a7d158c103c9fdc88ebf05dc8e82700" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-api-base/zipball/9fef0cb03d5d0e31dba160331bc5365d0b424be4", - "reference": "9fef0cb03d5d0e31dba160331bc5365d0b424be4", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-api-base/zipball/7cbeef9a7a7d158c103c9fdc88ebf05dc8e82700", + "reference": "7cbeef9a7a7d158c103c9fdc88ebf05dc8e82700", "shasum": "" }, "require": { "drupal/entity": "^1.0", "drupal/filelog": "^2.1", "drupal/health_check": "^3.0", - "php": "^8.0", + "php": "^8.1", "t4web/composer-lock-parser": "^1.0" }, "conflict": { @@ -3892,10 +3892,10 @@ ], "description": "Helfi - API Base", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/tree/2.4.0", + "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/tree/2.4.2", "issues": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/issues" }, - "time": "2023-02-15T04:42:26+00:00" + "time": "2023-04-20T08:24:46+00:00" }, { "name": "drupal/helfi_azure_fs", @@ -5619,8 +5619,12 @@ "authors": [ { "name": "Christian Fritsch", - "homepage": "https://www.drupal.org/user/2103716", + "homepage": "https://www.drupal.org/user/157725", "email": "christian.fritsch@burda.com" + }, + { + "name": "chr.fritsch", + "homepage": "https://www.drupal.org/user/2103716" } ], "description": "Integration with the select2 JavaScript library.", @@ -6184,26 +6188,26 @@ }, { "name": "drupal/view_unpublished", - "version": "1.0.0", + "version": "1.1.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/view_unpublished.git", - "reference": "8.x-1.0" + "reference": "8.x-1.1" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/view_unpublished-8.x-1.0.zip", - "reference": "8.x-1.0", - "shasum": "74ebdf1b4f6963f7bb63192bc314014c0132d03c" + "url": "https://ftp.drupal.org/files/projects/view_unpublished-8.x-1.1.zip", + "reference": "8.x-1.1", + "shasum": "f9f5e88cbaf1a1e71952d94cf67ef2f180e292be" }, "require": { - "drupal/core": "^8 || ^9" + "drupal/core": "^9.4 || ^10" }, "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.0", - "datestamp": "1597688978", + "version": "8.x-1.1", + "datestamp": "1681757575", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -7102,22 +7106,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.5.0", + "version": "7.5.1", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" + "reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b964ca597e86b752cd994f27293e9fa6b6a95ed9", + "reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9", "shasum": "" }, "require": { "ext-json": "*", "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.9 || ^2.4", + "guzzlehttp/psr7": "^1.9.1 || ^2.4.5", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -7210,7 +7214,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + "source": "https://github.com/guzzle/guzzle/tree/7.5.1" }, "funding": [ { @@ -7226,7 +7230,7 @@ "type": "tidelift" } ], - "time": "2022-08-28T15:39:27+00:00" + "time": "2023-04-17T16:30:08+00:00" }, { "name": "guzzlehttp/promises", @@ -7314,16 +7318,16 @@ }, { "name": "guzzlehttp/psr7", - "version": "1.9.0", + "version": "1.9.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318" + "reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/e98e3e6d4f86621a9b75f623996e6bbdeb4b9318", - "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/e4490cabc77465aaee90b20cfc9a770f8c04be6b", + "reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b", "shasum": "" }, "require": { @@ -7342,11 +7346,6 @@ "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.9-dev" - } - }, "autoload": { "files": [ "src/functions_include.php" @@ -7404,7 +7403,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.9.0" + "source": "https://github.com/guzzle/psr7/tree/1.9.1" }, "funding": [ { @@ -7420,7 +7419,7 @@ "type": "tidelift" } ], - "time": "2022-06-20T21:43:03+00:00" + "time": "2023-04-17T16:00:37+00:00" }, { "name": "http-interop/http-factory-guzzle", @@ -7541,16 +7540,16 @@ }, { "name": "laminas/laminas-diactoros", - "version": "2.25.1", + "version": "2.25.2", "source": { "type": "git", "url": "https://github.com/laminas/laminas-diactoros.git", - "reference": "13f45e5ba09c9b27752247d3be186fc49c2ca3a5" + "reference": "9f3f4bf5b99c9538b6f1dbcc20f6fec357914f9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/13f45e5ba09c9b27752247d3be186fc49c2ca3a5", - "reference": "13f45e5ba09c9b27752247d3be186fc49c2ca3a5", + "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/9f3f4bf5b99c9538b6f1dbcc20f6fec357914f9e", + "reference": "9f3f4bf5b99c9538b6f1dbcc20f6fec357914f9e", "shasum": "" }, "require": { @@ -7634,7 +7633,7 @@ "type": "community_bridge" } ], - "time": "2023-04-08T00:31:34+00:00" + "time": "2023-04-17T15:44:17+00:00" }, { "name": "laminas/laminas-escaper", @@ -9050,16 +9049,16 @@ }, { "name": "pear/pear-core-minimal", - "version": "v1.10.11", + "version": "v1.10.13", "source": { "type": "git", "url": "https://github.com/pear/pear-core-minimal.git", - "reference": "68d0d32ada737153b7e93b8d3c710ebe70ac867d" + "reference": "aed862e95fd286c53cc546734868dc38ff4b5b1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/68d0d32ada737153b7e93b8d3c710ebe70ac867d", - "reference": "68d0d32ada737153b7e93b8d3c710ebe70ac867d", + "url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/aed862e95fd286c53cc546734868dc38ff4b5b1d", + "reference": "aed862e95fd286c53cc546734868dc38ff4b5b1d", "shasum": "" }, "require": { @@ -9094,7 +9093,7 @@ "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=PEAR", "source": "https://github.com/pear/pear-core-minimal" }, - "time": "2021-08-10T22:31:03+00:00" + "time": "2023-04-19T19:15:47+00:00" }, { "name": "pear/pear_exception", diff --git a/conf/cmi/core.base_field_override.paragraphs_library_item.paragraphs_library_item.paragraphs.yml b/conf/cmi/core.base_field_override.paragraphs_library_item.paragraphs_library_item.paragraphs.yml index 8b2888537..38d5fbbaa 100644 --- a/conf/cmi/core.base_field_override.paragraphs_library_item.paragraphs_library_item.paragraphs.yml +++ b/conf/cmi/core.base_field_override.paragraphs_library_item.paragraphs_library_item.paragraphs.yml @@ -32,7 +32,7 @@ id: paragraphs_library_item.paragraphs_library_item.paragraphs field_name: paragraphs entity_type: paragraphs_library_item bundle: paragraphs_library_item -label: Paragraphs +label: Lohkot description: '' required: true translatable: true diff --git a/conf/cmi/core.extension.yml b/conf/cmi/core.extension.yml index 82b0d24bc..0d177d91e 100644 --- a/conf/cmi/core.extension.yml +++ b/conf/cmi/core.extension.yml @@ -6,6 +6,7 @@ module: admin_toolbar: 0 admin_toolbar_tools: 0 allowed_formats: 0 + basic_auth: 0 block: 0 breakpoint: 0 ckeditor: 0 diff --git a/conf/cmi/field.field.node.landing_page.field_content.yml b/conf/cmi/field.field.node.landing_page.field_content.yml index 13831c8e2..fc62c3778 100644 --- a/conf/cmi/field.field.node.landing_page.field_content.yml +++ b/conf/cmi/field.field.node.landing_page.field_content.yml @@ -34,7 +34,7 @@ id: node.landing_page.field_content field_name: field_content entity_type: node bundle: landing_page -label: 'Content region' +label: Sisältöalue description: '' required: false translatable: true diff --git a/conf/cmi/field.field.node.landing_page.field_hero.yml b/conf/cmi/field.field.node.landing_page.field_hero.yml index e95dcf5d0..98c1d4cd5 100644 --- a/conf/cmi/field.field.node.landing_page.field_hero.yml +++ b/conf/cmi/field.field.node.landing_page.field_hero.yml @@ -14,7 +14,7 @@ id: node.landing_page.field_hero field_name: field_hero entity_type: node bundle: landing_page -label: Hero +label: Hero-lohko description: '' required: false translatable: true diff --git a/conf/cmi/field.field.node.page.field_content.yml b/conf/cmi/field.field.node.page.field_content.yml index 62b9df66b..0e4ddb78f 100644 --- a/conf/cmi/field.field.node.page.field_content.yml +++ b/conf/cmi/field.field.node.page.field_content.yml @@ -31,7 +31,7 @@ id: node.page.field_content field_name: field_content entity_type: node bundle: page -label: 'Upper content region' +label: 'Ylempi sisältöalue' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.node.page.field_hero.yml b/conf/cmi/field.field.node.page.field_hero.yml index 6797e7447..3100bc178 100644 --- a/conf/cmi/field.field.node.page.field_hero.yml +++ b/conf/cmi/field.field.node.page.field_hero.yml @@ -14,7 +14,7 @@ id: node.page.field_hero field_name: field_hero entity_type: node bundle: page -label: Hero +label: Hero-lohko description: '' required: false translatable: true diff --git a/conf/cmi/field.field.node.page.field_lower_content.yml b/conf/cmi/field.field.node.page.field_lower_content.yml index a9f557bbc..2dd6f7696 100644 --- a/conf/cmi/field.field.node.page.field_lower_content.yml +++ b/conf/cmi/field.field.node.page.field_lower_content.yml @@ -29,7 +29,7 @@ id: node.page.field_lower_content field_name: field_lower_content entity_type: node bundle: page -label: 'Lower content region' +label: 'Alempi sisältöalue' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.node.page.field_sidebar_content.yml b/conf/cmi/field.field.node.page.field_sidebar_content.yml index b5ddd9b6d..c6f1ba93f 100644 --- a/conf/cmi/field.field.node.page.field_sidebar_content.yml +++ b/conf/cmi/field.field.node.page.field_sidebar_content.yml @@ -13,7 +13,7 @@ id: node.page.field_sidebar_content field_name: field_sidebar_content entity_type: node bundle: page -label: 'Sidebar content' +label: 'Sivupalkin sisältö' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.paragraph.accordion.field_accordion_items.yml b/conf/cmi/field.field.paragraph.accordion.field_accordion_items.yml index 7eec72880..8f5aee9b2 100644 --- a/conf/cmi/field.field.paragraph.accordion.field_accordion_items.yml +++ b/conf/cmi/field.field.paragraph.accordion.field_accordion_items.yml @@ -17,7 +17,7 @@ id: paragraph.accordion.field_accordion_items field_name: field_accordion_items entity_type: paragraph bundle: accordion -label: Items +label: Sisältö description: '' required: true translatable: false diff --git a/conf/cmi/field.field.paragraph.accordion_item.field_accordion_item_content.yml b/conf/cmi/field.field.paragraph.accordion_item.field_accordion_item_content.yml index 704029b1e..25b89cfda 100644 --- a/conf/cmi/field.field.paragraph.accordion_item.field_accordion_item_content.yml +++ b/conf/cmi/field.field.paragraph.accordion_item.field_accordion_item_content.yml @@ -17,7 +17,7 @@ id: paragraph.accordion_item.field_accordion_item_content field_name: field_accordion_item_content entity_type: paragraph bundle: accordion_item -label: Content +label: Sisältö description: '' required: true translatable: false diff --git a/conf/cmi/field.field.paragraph.columns.field_columns_left_column.yml b/conf/cmi/field.field.paragraph.columns.field_columns_left_column.yml index 11472c5b0..af6a63eac 100644 --- a/conf/cmi/field.field.paragraph.columns.field_columns_left_column.yml +++ b/conf/cmi/field.field.paragraph.columns.field_columns_left_column.yml @@ -15,7 +15,7 @@ id: paragraph.columns.field_columns_left_column field_name: field_columns_left_column entity_type: paragraph bundle: columns -label: 'Left column' +label: 'Vasen palsta' description: '' required: true translatable: false diff --git a/conf/cmi/field.field.paragraph.columns.field_columns_right_column.yml b/conf/cmi/field.field.paragraph.columns.field_columns_right_column.yml index 6702ead0b..8fe352add 100644 --- a/conf/cmi/field.field.paragraph.columns.field_columns_right_column.yml +++ b/conf/cmi/field.field.paragraph.columns.field_columns_right_column.yml @@ -15,7 +15,7 @@ id: paragraph.columns.field_columns_right_column field_name: field_columns_right_column entity_type: paragraph bundle: columns -label: 'Right column' +label: 'Oikea palsta' description: '' required: true translatable: false diff --git a/conf/cmi/field.field.paragraph.contact_card.field_contact_social_media.yml b/conf/cmi/field.field.paragraph.contact_card.field_contact_social_media.yml index bc7ccdc97..feb7c5d2c 100644 --- a/conf/cmi/field.field.paragraph.contact_card.field_contact_social_media.yml +++ b/conf/cmi/field.field.paragraph.contact_card.field_contact_social_media.yml @@ -14,7 +14,7 @@ id: paragraph.contact_card.field_contact_social_media field_name: field_contact_social_media entity_type: paragraph bundle: contact_card -label: 'Social media' +label: 'Sosiaalinen media' description: '' required: false translatable: false diff --git a/conf/cmi/field.field.paragraph.contact_card_listing.field_contact_card.yml b/conf/cmi/field.field.paragraph.contact_card_listing.field_contact_card.yml index 250a47006..dc0707374 100644 --- a/conf/cmi/field.field.paragraph.contact_card_listing.field_contact_card.yml +++ b/conf/cmi/field.field.paragraph.contact_card_listing.field_contact_card.yml @@ -14,7 +14,7 @@ id: paragraph.contact_card_listing.field_contact_card field_name: field_contact_card entity_type: paragraph bundle: contact_card_listing -label: 'Contact card' +label: Yhteystietokortti description: '' required: false translatable: false diff --git a/conf/cmi/field.field.paragraph.list_of_links.field_list_of_links_links.yml b/conf/cmi/field.field.paragraph.list_of_links.field_list_of_links_links.yml index 3ba3ce134..a31e68b70 100644 --- a/conf/cmi/field.field.paragraph.list_of_links.field_list_of_links_links.yml +++ b/conf/cmi/field.field.paragraph.list_of_links.field_list_of_links_links.yml @@ -14,8 +14,8 @@ id: paragraph.list_of_links.field_list_of_links_links field_name: field_list_of_links_links entity_type: paragraph bundle: list_of_links -label: Links -description: 'The links that you want the paragraph to display.' +label: Linkit +description: 'Linkkilistan linkit.' required: true translatable: false default_value: { } diff --git a/conf/cmi/field.field.paragraph.phasing.field_phasing_item.yml b/conf/cmi/field.field.paragraph.phasing.field_phasing_item.yml index 543d643e6..2e0e84431 100644 --- a/conf/cmi/field.field.paragraph.phasing.field_phasing_item.yml +++ b/conf/cmi/field.field.paragraph.phasing.field_phasing_item.yml @@ -12,7 +12,7 @@ id: paragraph.phasing.field_phasing_item field_name: field_phasing_item entity_type: paragraph bundle: phasing -label: 'Phasing item' +label: Vaihe description: '' required: true translatable: false diff --git a/conf/cmi/field.field.paragraph.popular_services.field_service_items.yml b/conf/cmi/field.field.paragraph.popular_services.field_service_items.yml index 425570f6f..6cfc18775 100644 --- a/conf/cmi/field.field.paragraph.popular_services.field_service_items.yml +++ b/conf/cmi/field.field.paragraph.popular_services.field_service_items.yml @@ -14,8 +14,8 @@ id: paragraph.popular_services.field_service_items field_name: field_service_items entity_type: paragraph bundle: popular_services -label: 'Service items' -description: 'Service items to showcase.' +label: Palvelut +description: 'Palvelut, joita esitellään.' required: true translatable: false default_value: { } diff --git a/conf/cmi/field.field.tpr_service.tpr_service.field_content.yml b/conf/cmi/field.field.tpr_service.tpr_service.field_content.yml index fd7296578..74eea1ea5 100644 --- a/conf/cmi/field.field.tpr_service.tpr_service.field_content.yml +++ b/conf/cmi/field.field.tpr_service.tpr_service.field_content.yml @@ -23,7 +23,7 @@ id: tpr_service.tpr_service.field_content field_name: field_content entity_type: tpr_service bundle: tpr_service -label: 'Upper content region' +label: 'Ylempi sisältöalue' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.tpr_service.tpr_service.field_lower_content.yml b/conf/cmi/field.field.tpr_service.tpr_service.field_lower_content.yml index 4a94dde2e..b3494485a 100644 --- a/conf/cmi/field.field.tpr_service.tpr_service.field_lower_content.yml +++ b/conf/cmi/field.field.tpr_service.tpr_service.field_lower_content.yml @@ -25,7 +25,7 @@ id: tpr_service.tpr_service.field_lower_content field_name: field_lower_content entity_type: tpr_service bundle: tpr_service -label: 'Lower content region' +label: 'Alempi sisältöalue' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.tpr_service.tpr_service.field_sidebar_content.yml b/conf/cmi/field.field.tpr_service.tpr_service.field_sidebar_content.yml index 5d9093a19..e227a4f8d 100644 --- a/conf/cmi/field.field.tpr_service.tpr_service.field_sidebar_content.yml +++ b/conf/cmi/field.field.tpr_service.tpr_service.field_sidebar_content.yml @@ -15,7 +15,7 @@ id: tpr_service.tpr_service.field_sidebar_content field_name: field_sidebar_content entity_type: tpr_service bundle: tpr_service -label: 'Sidebar content' +label: 'Sivupalkin sisältö' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.tpr_unit.tpr_unit.field_content.yml b/conf/cmi/field.field.tpr_unit.tpr_unit.field_content.yml index 7430ad8f2..64a3b5987 100644 --- a/conf/cmi/field.field.tpr_unit.tpr_unit.field_content.yml +++ b/conf/cmi/field.field.tpr_unit.tpr_unit.field_content.yml @@ -23,7 +23,7 @@ id: tpr_unit.tpr_unit.field_content field_name: field_content entity_type: tpr_unit bundle: tpr_unit -label: 'Upper content region' +label: 'Ylempi sisältöalue' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.tpr_unit.tpr_unit.field_lower_content.yml b/conf/cmi/field.field.tpr_unit.tpr_unit.field_lower_content.yml index 8ebc04862..f6788eb03 100644 --- a/conf/cmi/field.field.tpr_unit.tpr_unit.field_lower_content.yml +++ b/conf/cmi/field.field.tpr_unit.tpr_unit.field_lower_content.yml @@ -25,7 +25,7 @@ id: tpr_unit.tpr_unit.field_lower_content field_name: field_lower_content entity_type: tpr_unit bundle: tpr_unit -label: 'Lower content region' +label: 'Alempi sisältöalue' description: '' required: false translatable: true diff --git a/conf/cmi/filter.format.plain_text.yml b/conf/cmi/filter.format.plain_text.yml index 6eac587c6..b0d15dc23 100644 --- a/conf/cmi/filter.format.plain_text.yml +++ b/conf/cmi/filter.format.plain_text.yml @@ -6,7 +6,7 @@ dependencies: - helfi_api_base _core: default_config_hash: NIKBt6kw_uPhNI0qtR2DnRf7mSOgAQdx7Q94SKMjXbQ -name: 'Plain text' +name: 'Puhdas teksti' format: plain_text weight: 10 filters: diff --git a/conf/cmi/rest.resource.entity.node.yml b/conf/cmi/rest.resource.entity.node.yml new file mode 100644 index 000000000..3236f4a9c --- /dev/null +++ b/conf/cmi/rest.resource.entity.node.yml @@ -0,0 +1,23 @@ +uuid: 76b8b232-8929-45e3-8602-40c106849e1a +langcode: en +status: true +dependencies: + module: + - basic_auth + - hal + - node +_core: + default_config_hash: t_jfECmZhJqBOJuSOFn87EOi_TWi-_fRYTuJgd19vgg +id: entity.node +plugin_id: 'entity:node' +granularity: resource +configuration: + methods: + - GET + - POST + - PATCH + - DELETE + formats: + - hal_json + authentication: + - basic_auth diff --git a/conf/cmi/rest.resource.helfi_debug_data.yml b/conf/cmi/rest.resource.helfi_debug_data.yml index 2090a6eaa..19b47aa1d 100644 --- a/conf/cmi/rest.resource.helfi_debug_data.yml +++ b/conf/cmi/rest.resource.helfi_debug_data.yml @@ -1,7 +1,12 @@ uuid: a76f0334-215e-45ae-bc52-e8256164259c langcode: en status: true -dependencies: { } +dependencies: + module: + - basic_auth + - helfi_api_base + - serialization + - user id: helfi_debug_data plugin_id: helfi_debug_data granularity: resource @@ -12,3 +17,4 @@ configuration: - json authentication: - cookie + - basic_auth diff --git a/conf/cmi/rest.resource.helfi_debug_package_version.yml b/conf/cmi/rest.resource.helfi_debug_package_version.yml index 182b21b6a..137b2868f 100644 --- a/conf/cmi/rest.resource.helfi_debug_package_version.yml +++ b/conf/cmi/rest.resource.helfi_debug_package_version.yml @@ -3,6 +3,9 @@ langcode: en status: true dependencies: module: + - basic_auth + - helfi_api_base + - serialization - user id: helfi_debug_package_version plugin_id: helfi_debug_package_version @@ -14,3 +17,4 @@ configuration: - json authentication: - cookie + - basic_auth diff --git a/docker/openshift/entrypoints/20-deploy.sh b/docker/openshift/entrypoints/20-deploy.sh index e7dc298d6..d71b89c16 100644 --- a/docker/openshift/entrypoints/20-deploy.sh +++ b/docker/openshift/entrypoints/20-deploy.sh @@ -13,20 +13,44 @@ if [ ! -n "$OPENSHIFT_BUILD_NAME" ]; then exit 1 fi +function get_deploy_id { + echo $(drush state:get deploy_id) +} + # Generate twig caches. if [ ! -d "/tmp/twig" ]; then drush twig:compile || true fi +# Attempt to set deploy ID in case this is the first deploy. +if [[ -z "$(get_deploy_id)" ]]; then + drush state:set deploy_id $OPENSHIFT_BUILD_NAME +fi + +# Exit early if deploy ID is still not set. This usually means either Redis or +# something else is down. +if [[ -z "$(get_deploy_id)" ]]; then + echo "Could not fetch deploy ID. Something is probably wrong. Exiting early." + exit 1 +fi + # This script is run every time a container is spawned and certain environments might # start more than one Drupal container. This is used to make sure we run deploy # tasks only once per deploy. -if [ "$(drush state:get deploy_id)" != "$OPENSHIFT_BUILD_NAME" ]; then +if [ "$(get_deploy_id)" != "$OPENSHIFT_BUILD_NAME" ]; then drush state:set deploy_id $OPENSHIFT_BUILD_NAME - # Put site in maintenance mode during deploy + # Put site in maintenance mode drush state:set system.maintenance_mode 1 --input-format=integer + # Run helfi specific pre-deploy tasks. Allow this to fail in case + # the environment is not using the 'helfi_api_base' module. + # @see https://github.com/City-of-Helsinki/drupal-module-helfi-api-base + drush helfi:pre-deploy || true # Run maintenance tasks (config import, database updates etc) drush deploy + # Run helfi specific post deploy tasks. Allow this to fail in case + # the environment is not using the 'helfi_api_base' module. + # @see https://github.com/City-of-Helsinki/drupal-module-helfi-api-base + drush helfi:post-deploy || true # Disable maintenance mode drush state:set system.maintenance_mode 0 --input-format=integer fi diff --git a/public/sites/default/settings.php b/public/sites/default/settings.php index 0c1ebff55..0e41a605a 100755 --- a/public/sites/default/settings.php +++ b/public/sites/default/settings.php @@ -63,19 +63,16 @@ } $routes[] = 'http://127.0.0.1'; +if ($drush_options_uri = getenv('DRUSH_OPTIONS_URI')) { + $routes[] = $drush_options_uri; +} + foreach ($routes as $route) { $host = parse_url($route, PHP_URL_HOST); $trusted_host = str_replace('.', '\.', $host); $settings['trusted_host_patterns'][] = '^' . $trusted_host . '$'; } -$drush_options_uri = getenv('DRUSH_OPTIONS_URI'); - -if ($drush_options_uri && !in_array($drush_options_uri, $routes)) { - $host = str_replace('.', '\.', parse_url($drush_options_uri)['host']); - $settings['trusted_host_patterns'][] = '^' . $host . '$'; -} - $settings['config_sync_directory'] = '../conf/cmi'; $settings['file_public_path'] = getenv('DRUPAL_FILES_PUBLIC') ?: 'sites/default/files'; $settings['file_private_path'] = getenv('DRUPAL_FILES_PRIVATE'); @@ -171,6 +168,12 @@ $config['stage_file_proxy.settings']['use_imagecache_root'] = FALSE; } +// Map API accounts. The value should be a base64 encoded JSON string. +// @see https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/blob/main/documentation/api-accounts.md. +if ($api_accounts = getenv('DRUPAL_API_ACCOUNTS')) { + $config['helfi_api_base.api_accounts']['accounts'] = json_decode(base64_decode($api_accounts), TRUE); +} + // Override session suffix when present. if ($session_suffix = getenv('DRUPAL_SESSION_SUFFIX')) { $config['helfi_proxy.settings']['session_suffix'] = $session_suffix; From 46d62509d2a8c18b7fe8780be5ea3c2de3d9eb6a Mon Sep 17 00:00:00 2001 From: rpnykanen <48206082+rpnykanen@users.noreply.github.com> Date: Thu, 20 Apr 2023 12:09:27 +0300 Subject: [PATCH 2/2] Revert wrong translations --- ...graphs_library_item.paragraphs_library_item.paragraphs.yml | 2 +- conf/cmi/field.field.node.landing_page.field_content.yml | 2 +- conf/cmi/field.field.node.landing_page.field_hero.yml | 2 +- conf/cmi/field.field.node.page.field_content.yml | 2 +- conf/cmi/field.field.node.page.field_hero.yml | 2 +- conf/cmi/field.field.node.page.field_lower_content.yml | 2 +- conf/cmi/field.field.node.page.field_sidebar_content.yml | 2 +- .../field.field.paragraph.accordion.field_accordion_items.yml | 2 +- ....paragraph.accordion_item.field_accordion_item_content.yml | 2 +- ...ield.field.paragraph.columns.field_columns_left_column.yml | 2 +- ...eld.field.paragraph.columns.field_columns_right_column.yml | 2 +- ...ield.paragraph.contact_card.field_contact_social_media.yml | 2 +- ...ield.paragraph.contact_card_listing.field_contact_card.yml | 2 +- ...ield.paragraph.list_of_links.field_list_of_links_links.yml | 4 ++-- conf/cmi/field.field.paragraph.phasing.field_phasing_item.yml | 2 +- ...d.field.paragraph.popular_services.field_service_items.yml | 4 ++-- .../cmi/field.field.tpr_service.tpr_service.field_content.yml | 2 +- ...ield.field.tpr_service.tpr_service.field_lower_content.yml | 2 +- ...ld.field.tpr_service.tpr_service.field_sidebar_content.yml | 2 +- conf/cmi/field.field.tpr_unit.tpr_unit.field_content.yml | 2 +- .../cmi/field.field.tpr_unit.tpr_unit.field_lower_content.yml | 2 +- conf/cmi/filter.format.plain_text.yml | 2 +- 22 files changed, 24 insertions(+), 24 deletions(-) diff --git a/conf/cmi/core.base_field_override.paragraphs_library_item.paragraphs_library_item.paragraphs.yml b/conf/cmi/core.base_field_override.paragraphs_library_item.paragraphs_library_item.paragraphs.yml index 38d5fbbaa..8b2888537 100644 --- a/conf/cmi/core.base_field_override.paragraphs_library_item.paragraphs_library_item.paragraphs.yml +++ b/conf/cmi/core.base_field_override.paragraphs_library_item.paragraphs_library_item.paragraphs.yml @@ -32,7 +32,7 @@ id: paragraphs_library_item.paragraphs_library_item.paragraphs field_name: paragraphs entity_type: paragraphs_library_item bundle: paragraphs_library_item -label: Lohkot +label: Paragraphs description: '' required: true translatable: true diff --git a/conf/cmi/field.field.node.landing_page.field_content.yml b/conf/cmi/field.field.node.landing_page.field_content.yml index fc62c3778..13831c8e2 100644 --- a/conf/cmi/field.field.node.landing_page.field_content.yml +++ b/conf/cmi/field.field.node.landing_page.field_content.yml @@ -34,7 +34,7 @@ id: node.landing_page.field_content field_name: field_content entity_type: node bundle: landing_page -label: Sisältöalue +label: 'Content region' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.node.landing_page.field_hero.yml b/conf/cmi/field.field.node.landing_page.field_hero.yml index 98c1d4cd5..e95dcf5d0 100644 --- a/conf/cmi/field.field.node.landing_page.field_hero.yml +++ b/conf/cmi/field.field.node.landing_page.field_hero.yml @@ -14,7 +14,7 @@ id: node.landing_page.field_hero field_name: field_hero entity_type: node bundle: landing_page -label: Hero-lohko +label: Hero description: '' required: false translatable: true diff --git a/conf/cmi/field.field.node.page.field_content.yml b/conf/cmi/field.field.node.page.field_content.yml index 0e4ddb78f..62b9df66b 100644 --- a/conf/cmi/field.field.node.page.field_content.yml +++ b/conf/cmi/field.field.node.page.field_content.yml @@ -31,7 +31,7 @@ id: node.page.field_content field_name: field_content entity_type: node bundle: page -label: 'Ylempi sisältöalue' +label: 'Upper content region' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.node.page.field_hero.yml b/conf/cmi/field.field.node.page.field_hero.yml index 3100bc178..6797e7447 100644 --- a/conf/cmi/field.field.node.page.field_hero.yml +++ b/conf/cmi/field.field.node.page.field_hero.yml @@ -14,7 +14,7 @@ id: node.page.field_hero field_name: field_hero entity_type: node bundle: page -label: Hero-lohko +label: Hero description: '' required: false translatable: true diff --git a/conf/cmi/field.field.node.page.field_lower_content.yml b/conf/cmi/field.field.node.page.field_lower_content.yml index 2dd6f7696..a9f557bbc 100644 --- a/conf/cmi/field.field.node.page.field_lower_content.yml +++ b/conf/cmi/field.field.node.page.field_lower_content.yml @@ -29,7 +29,7 @@ id: node.page.field_lower_content field_name: field_lower_content entity_type: node bundle: page -label: 'Alempi sisältöalue' +label: 'Lower content region' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.node.page.field_sidebar_content.yml b/conf/cmi/field.field.node.page.field_sidebar_content.yml index c6f1ba93f..b5ddd9b6d 100644 --- a/conf/cmi/field.field.node.page.field_sidebar_content.yml +++ b/conf/cmi/field.field.node.page.field_sidebar_content.yml @@ -13,7 +13,7 @@ id: node.page.field_sidebar_content field_name: field_sidebar_content entity_type: node bundle: page -label: 'Sivupalkin sisältö' +label: 'Sidebar content' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.paragraph.accordion.field_accordion_items.yml b/conf/cmi/field.field.paragraph.accordion.field_accordion_items.yml index 8f5aee9b2..7eec72880 100644 --- a/conf/cmi/field.field.paragraph.accordion.field_accordion_items.yml +++ b/conf/cmi/field.field.paragraph.accordion.field_accordion_items.yml @@ -17,7 +17,7 @@ id: paragraph.accordion.field_accordion_items field_name: field_accordion_items entity_type: paragraph bundle: accordion -label: Sisältö +label: Items description: '' required: true translatable: false diff --git a/conf/cmi/field.field.paragraph.accordion_item.field_accordion_item_content.yml b/conf/cmi/field.field.paragraph.accordion_item.field_accordion_item_content.yml index 25b89cfda..704029b1e 100644 --- a/conf/cmi/field.field.paragraph.accordion_item.field_accordion_item_content.yml +++ b/conf/cmi/field.field.paragraph.accordion_item.field_accordion_item_content.yml @@ -17,7 +17,7 @@ id: paragraph.accordion_item.field_accordion_item_content field_name: field_accordion_item_content entity_type: paragraph bundle: accordion_item -label: Sisältö +label: Content description: '' required: true translatable: false diff --git a/conf/cmi/field.field.paragraph.columns.field_columns_left_column.yml b/conf/cmi/field.field.paragraph.columns.field_columns_left_column.yml index af6a63eac..11472c5b0 100644 --- a/conf/cmi/field.field.paragraph.columns.field_columns_left_column.yml +++ b/conf/cmi/field.field.paragraph.columns.field_columns_left_column.yml @@ -15,7 +15,7 @@ id: paragraph.columns.field_columns_left_column field_name: field_columns_left_column entity_type: paragraph bundle: columns -label: 'Vasen palsta' +label: 'Left column' description: '' required: true translatable: false diff --git a/conf/cmi/field.field.paragraph.columns.field_columns_right_column.yml b/conf/cmi/field.field.paragraph.columns.field_columns_right_column.yml index 8fe352add..6702ead0b 100644 --- a/conf/cmi/field.field.paragraph.columns.field_columns_right_column.yml +++ b/conf/cmi/field.field.paragraph.columns.field_columns_right_column.yml @@ -15,7 +15,7 @@ id: paragraph.columns.field_columns_right_column field_name: field_columns_right_column entity_type: paragraph bundle: columns -label: 'Oikea palsta' +label: 'Right column' description: '' required: true translatable: false diff --git a/conf/cmi/field.field.paragraph.contact_card.field_contact_social_media.yml b/conf/cmi/field.field.paragraph.contact_card.field_contact_social_media.yml index feb7c5d2c..bc7ccdc97 100644 --- a/conf/cmi/field.field.paragraph.contact_card.field_contact_social_media.yml +++ b/conf/cmi/field.field.paragraph.contact_card.field_contact_social_media.yml @@ -14,7 +14,7 @@ id: paragraph.contact_card.field_contact_social_media field_name: field_contact_social_media entity_type: paragraph bundle: contact_card -label: 'Sosiaalinen media' +label: 'Social media' description: '' required: false translatable: false diff --git a/conf/cmi/field.field.paragraph.contact_card_listing.field_contact_card.yml b/conf/cmi/field.field.paragraph.contact_card_listing.field_contact_card.yml index dc0707374..250a47006 100644 --- a/conf/cmi/field.field.paragraph.contact_card_listing.field_contact_card.yml +++ b/conf/cmi/field.field.paragraph.contact_card_listing.field_contact_card.yml @@ -14,7 +14,7 @@ id: paragraph.contact_card_listing.field_contact_card field_name: field_contact_card entity_type: paragraph bundle: contact_card_listing -label: Yhteystietokortti +label: 'Contact card' description: '' required: false translatable: false diff --git a/conf/cmi/field.field.paragraph.list_of_links.field_list_of_links_links.yml b/conf/cmi/field.field.paragraph.list_of_links.field_list_of_links_links.yml index a31e68b70..3ba3ce134 100644 --- a/conf/cmi/field.field.paragraph.list_of_links.field_list_of_links_links.yml +++ b/conf/cmi/field.field.paragraph.list_of_links.field_list_of_links_links.yml @@ -14,8 +14,8 @@ id: paragraph.list_of_links.field_list_of_links_links field_name: field_list_of_links_links entity_type: paragraph bundle: list_of_links -label: Linkit -description: 'Linkkilistan linkit.' +label: Links +description: 'The links that you want the paragraph to display.' required: true translatable: false default_value: { } diff --git a/conf/cmi/field.field.paragraph.phasing.field_phasing_item.yml b/conf/cmi/field.field.paragraph.phasing.field_phasing_item.yml index 2e0e84431..543d643e6 100644 --- a/conf/cmi/field.field.paragraph.phasing.field_phasing_item.yml +++ b/conf/cmi/field.field.paragraph.phasing.field_phasing_item.yml @@ -12,7 +12,7 @@ id: paragraph.phasing.field_phasing_item field_name: field_phasing_item entity_type: paragraph bundle: phasing -label: Vaihe +label: 'Phasing item' description: '' required: true translatable: false diff --git a/conf/cmi/field.field.paragraph.popular_services.field_service_items.yml b/conf/cmi/field.field.paragraph.popular_services.field_service_items.yml index 6cfc18775..425570f6f 100644 --- a/conf/cmi/field.field.paragraph.popular_services.field_service_items.yml +++ b/conf/cmi/field.field.paragraph.popular_services.field_service_items.yml @@ -14,8 +14,8 @@ id: paragraph.popular_services.field_service_items field_name: field_service_items entity_type: paragraph bundle: popular_services -label: Palvelut -description: 'Palvelut, joita esitellään.' +label: 'Service items' +description: 'Service items to showcase.' required: true translatable: false default_value: { } diff --git a/conf/cmi/field.field.tpr_service.tpr_service.field_content.yml b/conf/cmi/field.field.tpr_service.tpr_service.field_content.yml index 74eea1ea5..fd7296578 100644 --- a/conf/cmi/field.field.tpr_service.tpr_service.field_content.yml +++ b/conf/cmi/field.field.tpr_service.tpr_service.field_content.yml @@ -23,7 +23,7 @@ id: tpr_service.tpr_service.field_content field_name: field_content entity_type: tpr_service bundle: tpr_service -label: 'Ylempi sisältöalue' +label: 'Upper content region' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.tpr_service.tpr_service.field_lower_content.yml b/conf/cmi/field.field.tpr_service.tpr_service.field_lower_content.yml index b3494485a..4a94dde2e 100644 --- a/conf/cmi/field.field.tpr_service.tpr_service.field_lower_content.yml +++ b/conf/cmi/field.field.tpr_service.tpr_service.field_lower_content.yml @@ -25,7 +25,7 @@ id: tpr_service.tpr_service.field_lower_content field_name: field_lower_content entity_type: tpr_service bundle: tpr_service -label: 'Alempi sisältöalue' +label: 'Lower content region' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.tpr_service.tpr_service.field_sidebar_content.yml b/conf/cmi/field.field.tpr_service.tpr_service.field_sidebar_content.yml index e227a4f8d..5d9093a19 100644 --- a/conf/cmi/field.field.tpr_service.tpr_service.field_sidebar_content.yml +++ b/conf/cmi/field.field.tpr_service.tpr_service.field_sidebar_content.yml @@ -15,7 +15,7 @@ id: tpr_service.tpr_service.field_sidebar_content field_name: field_sidebar_content entity_type: tpr_service bundle: tpr_service -label: 'Sivupalkin sisältö' +label: 'Sidebar content' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.tpr_unit.tpr_unit.field_content.yml b/conf/cmi/field.field.tpr_unit.tpr_unit.field_content.yml index 64a3b5987..7430ad8f2 100644 --- a/conf/cmi/field.field.tpr_unit.tpr_unit.field_content.yml +++ b/conf/cmi/field.field.tpr_unit.tpr_unit.field_content.yml @@ -23,7 +23,7 @@ id: tpr_unit.tpr_unit.field_content field_name: field_content entity_type: tpr_unit bundle: tpr_unit -label: 'Ylempi sisältöalue' +label: 'Upper content region' description: '' required: false translatable: true diff --git a/conf/cmi/field.field.tpr_unit.tpr_unit.field_lower_content.yml b/conf/cmi/field.field.tpr_unit.tpr_unit.field_lower_content.yml index f6788eb03..8ebc04862 100644 --- a/conf/cmi/field.field.tpr_unit.tpr_unit.field_lower_content.yml +++ b/conf/cmi/field.field.tpr_unit.tpr_unit.field_lower_content.yml @@ -25,7 +25,7 @@ id: tpr_unit.tpr_unit.field_lower_content field_name: field_lower_content entity_type: tpr_unit bundle: tpr_unit -label: 'Alempi sisältöalue' +label: 'Lower content region' description: '' required: false translatable: true diff --git a/conf/cmi/filter.format.plain_text.yml b/conf/cmi/filter.format.plain_text.yml index b0d15dc23..6eac587c6 100644 --- a/conf/cmi/filter.format.plain_text.yml +++ b/conf/cmi/filter.format.plain_text.yml @@ -6,7 +6,7 @@ dependencies: - helfi_api_base _core: default_config_hash: NIKBt6kw_uPhNI0qtR2DnRf7mSOgAQdx7Q94SKMjXbQ -name: 'Puhdas teksti' +name: 'Plain text' format: plain_text weight: 10 filters: