From 32a7e784a9ccf553ff8612605c2189020341749a Mon Sep 17 00:00:00 2001 From: actions-bot Date: Wed, 8 Feb 2023 13:10:17 +0000 Subject: [PATCH] Update configuration --- composer.lock | 117 +++++++++--------- ...m_display.paragraph.event_list.default.yml | 41 +++++- ...w_display.paragraph.event_list.default.yml | 57 ++++++++- conf/cmi/core.extension.yml | 2 +- ...eld.paragraph.event_list.field_api_url.yml | 4 +- ...paragraph.event_list.field_event_count.yml | 25 ++++ ...agraph.event_list.field_event_location.yml | 25 ++++ ....paragraph.event_list.field_event_time.yml | 25 ++++ ...paragraph.event_list.field_free_events.yml | 25 ++++ ...ragraph.event_list.field_remote_events.yml | 25 ++++ ...ld.storage.paragraph.field_event_count.yml | 23 ++++ ...storage.paragraph.field_event_location.yml | 20 +++ ...eld.storage.paragraph.field_event_time.yml | 20 +++ ...ld.storage.paragraph.field_free_events.yml | 20 +++ ....storage.paragraph.field_remote_events.yml | 20 +++ ...eld.paragraph.event_list.field_api_url.yml | 1 - ...vent_list.field_event_list_description.yml | 2 - ...raph.event_list.field_event_list_title.yml | 2 - ...agraph.event_list.field_event_location.yml | 2 + ....paragraph.event_list.field_event_time.yml | 2 + ...paragraph.event_list.field_free_events.yml | 2 + ...ragraph.event_list.field_remote_events.yml | 2 + .../paragraphs.paragraphs_type.event_list.yml | 2 - ...raph.event_list.field_event_list_title.yml | 1 - public/sites/default/settings.php | 3 + 25 files changed, 393 insertions(+), 75 deletions(-) create mode 100644 conf/cmi/field.field.paragraph.event_list.field_event_count.yml create mode 100644 conf/cmi/field.field.paragraph.event_list.field_event_location.yml create mode 100644 conf/cmi/field.field.paragraph.event_list.field_event_time.yml create mode 100644 conf/cmi/field.field.paragraph.event_list.field_free_events.yml create mode 100644 conf/cmi/field.field.paragraph.event_list.field_remote_events.yml create mode 100644 conf/cmi/field.storage.paragraph.field_event_count.yml create mode 100644 conf/cmi/field.storage.paragraph.field_event_location.yml create mode 100644 conf/cmi/field.storage.paragraph.field_event_time.yml create mode 100644 conf/cmi/field.storage.paragraph.field_free_events.yml create mode 100644 conf/cmi/field.storage.paragraph.field_remote_events.yml delete mode 100644 conf/cmi/language/fi/field.field.paragraph.event_list.field_api_url.yml delete mode 100644 conf/cmi/language/fi/field.field.paragraph.event_list.field_event_list_description.yml delete mode 100644 conf/cmi/language/fi/field.field.paragraph.event_list.field_event_list_title.yml create mode 100644 conf/cmi/language/fi/field.field.paragraph.event_list.field_event_location.yml create mode 100644 conf/cmi/language/fi/field.field.paragraph.event_list.field_event_time.yml create mode 100644 conf/cmi/language/fi/field.field.paragraph.event_list.field_free_events.yml create mode 100644 conf/cmi/language/fi/field.field.paragraph.event_list.field_remote_events.yml delete mode 100644 conf/cmi/language/fi/paragraphs.paragraphs_type.event_list.yml delete mode 100644 conf/cmi/language/sv/field.field.paragraph.event_list.field_event_list_title.yml diff --git a/composer.lock b/composer.lock index ff4aeff3..786cd362 100644 --- a/composer.lock +++ b/composer.lock @@ -3229,17 +3229,17 @@ }, { "name": "drupal/entity_usage", - "version": "2.0.0-beta8", + "version": "2.0.0-beta10", "source": { "type": "git", "url": "https://git.drupalcode.org/project/entity_usage.git", - "reference": "8.x-2.0-beta8" + "reference": "8.x-2.0-beta10" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/entity_usage-8.x-2.0-beta8.zip", - "reference": "8.x-2.0-beta8", - "shasum": "02985c643f5283793e753f8cbdeaa0ec40250cf3" + "url": "https://ftp.drupal.org/files/projects/entity_usage-8.x-2.0-beta10.zip", + "reference": "8.x-2.0-beta10", + "shasum": "4f92b703ee9e8e75e74a11e6623de258fedd025c" }, "require": { "drupal/core": "^9.1 || ^10" @@ -3259,8 +3259,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-2.0-beta8", - "datestamp": "1674236921", + "version": "8.x-2.0-beta10", + "datestamp": "1675792917", "security-coverage": { "status": "not-covered", "message": "Beta releases are not covered by Drupal security advisories." @@ -4047,16 +4047,16 @@ }, { "name": "drupal/hdbt", - "version": "4.3.16", + "version": "4.4.5", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-hdbt.git", - "reference": "fbea10b0175d6b212c78ffa997e003926d7788f8" + "reference": "926a5c04b566161c55f9e81a19e8f2563c4e0a44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/fbea10b0175d6b212c78ffa997e003926d7788f8", - "reference": "fbea10b0175d6b212c78ffa997e003926d7788f8", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/926a5c04b566161c55f9e81a19e8f2563c4e0a44", + "reference": "926a5c04b566161c55f9e81a19e8f2563c4e0a44", "shasum": "" }, "require": { @@ -4071,10 +4071,10 @@ "Drupal" ], "support": { - "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/4.3.16", + "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/4.4.5", "issues": "https://github.com/City-of-Helsinki/drupal-hdbt/issues" }, - "time": "2023-02-01T13:27:28+00:00" + "time": "2023-02-08T13:07:42+00:00" }, { "name": "drupal/hdbt_admin", @@ -4358,16 +4358,16 @@ }, { "name": "drupal/helfi_platform_config", - "version": "2.16.9", + "version": "2.17.1", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config.git", - "reference": "29eedf2f953fe52eda746b1971098d05ee1c8d7e" + "reference": "fec20fea5fc618d82663a1cf713205b2d52cdfc8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/29eedf2f953fe52eda746b1971098d05ee1c8d7e", - "reference": "29eedf2f953fe52eda746b1971098d05ee1c8d7e", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/fec20fea5fc618d82663a1cf713205b2d52cdfc8", + "reference": "fec20fea5fc618d82663a1cf713205b2d52cdfc8", "shasum": "" }, "require": { @@ -4478,10 +4478,10 @@ ], "description": "HELfi platform config", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/2.16.9", + "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/2.17.1", "issues": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/issues" }, - "time": "2023-02-02T08:04:08+00:00" + "time": "2023-02-07T08:19:58+00:00" }, { "name": "drupal/helfi_proxy", @@ -4908,17 +4908,17 @@ }, { "name": "drupal/matomo_reports", - "version": "1.2.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/matomo_reports.git", - "reference": "8.x-1.2" + "reference": "8.x-1.3" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/matomo_reports-8.x-1.2.zip", - "reference": "8.x-1.2", - "shasum": "b1bda0972c499867eef84acc753eff496c49ae1f" + "url": "https://ftp.drupal.org/files/projects/matomo_reports-8.x-1.3.zip", + "reference": "8.x-1.3", + "shasum": "570c08c12e3265e416a6d3d6af8df658520436de" }, "require": { "drupal/core": "^9 || ^10" @@ -4926,8 +4926,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.2", - "datestamp": "1660363700", + "version": "8.x-1.3", + "datestamp": "1675437285", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -9083,16 +9083,16 @@ }, { "name": "makinacorpus/php-lucene", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/makinacorpus/php-lucene-query.git", - "reference": "9ed20290de24cd7af05b4d465813be5541422067" + "reference": "87d606b1e475d105eac5e409f84ba2d2ee1358c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/makinacorpus/php-lucene-query/zipball/9ed20290de24cd7af05b4d465813be5541422067", - "reference": "9ed20290de24cd7af05b4d465813be5541422067", + "url": "https://api.github.com/repos/makinacorpus/php-lucene-query/zipball/87d606b1e475d105eac5e409f84ba2d2ee1358c4", + "reference": "87d606b1e475d105eac5e409f84ba2d2ee1358c4", "shasum": "" }, "require": { @@ -9130,9 +9130,9 @@ "homepage": "http://github.com/makinacorpus/php-lucene", "support": { "issues": "https://github.com/makinacorpus/php-lucene-query/issues", - "source": "https://github.com/makinacorpus/php-lucene-query/tree/1.2.0" + "source": "https://github.com/makinacorpus/php-lucene-query/tree/1.2.1" }, - "time": "2022-09-06T13:39:15+00:00" + "time": "2023-02-02T16:28:25+00:00" }, { "name": "masterminds/html5", @@ -15610,20 +15610,20 @@ }, { "name": "phpspec/prophecy", - "version": "v1.16.0", + "version": "v1.17.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "be8cac52a0827776ff9ccda8c381ac5b71aeb359" + "reference": "15873c65b207b07765dbc3c95d20fdf4a320cbe2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be8cac52a0827776ff9ccda8c381ac5b71aeb359", - "reference": "be8cac52a0827776ff9ccda8c381ac5b71aeb359", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/15873c65b207b07765dbc3c95d20fdf4a320cbe2", + "reference": "15873c65b207b07765dbc3c95d20fdf4a320cbe2", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.2", + "doctrine/instantiator": "^1.2 || ^2.0", "php": "^7.2 || 8.0.* || 8.1.* || 8.2.*", "phpdocumentor/reflection-docblock": "^5.2", "sebastian/comparator": "^3.0 || ^4.0", @@ -15631,6 +15631,7 @@ }, "require-dev": { "phpspec/phpspec": "^6.0 || ^7.0", + "phpstan/phpstan": "^1.9", "phpunit/phpunit": "^8.0 || ^9.0" }, "type": "library", @@ -15671,9 +15672,9 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/v1.16.0" + "source": "https://github.com/phpspec/prophecy/tree/v1.17.0" }, - "time": "2022-11-29T15:06:56+00:00" + "time": "2023-02-02T15:41:36+00:00" }, { "name": "phpspec/prophecy-phpunit", @@ -15729,16 +15730,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.16.0", + "version": "1.16.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "57090cfccbfaa639e703c007486d605a6e80f56d" + "reference": "e27e92d939e2e3636f0a1f0afaba59692c0bf571" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/57090cfccbfaa639e703c007486d605a6e80f56d", - "reference": "57090cfccbfaa639e703c007486d605a6e80f56d", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/e27e92d939e2e3636f0a1f0afaba59692c0bf571", + "reference": "e27e92d939e2e3636f0a1f0afaba59692c0bf571", "shasum": "" }, "require": { @@ -15768,9 +15769,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.16.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.16.1" }, - "time": "2023-01-29T14:41:23+00:00" + "time": "2023-02-07T18:11:17+00:00" }, { "name": "phpunit/php-code-coverage", @@ -16559,16 +16560,16 @@ }, { "name": "sebastian/environment", - "version": "5.1.4", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { @@ -16610,7 +16611,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { @@ -16618,7 +16619,7 @@ "type": "github" } ], - "time": "2022-04-03T09:37:03+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", @@ -16932,16 +16933,16 @@ }, { "name": "sebastian/recursion-context", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "" }, "require": { @@ -16980,10 +16981,10 @@ } ], "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" }, "funding": [ { @@ -16991,7 +16992,7 @@ "type": "github" } ], - "time": "2020-10-26T13:17:30+00:00" + "time": "2023-02-03T06:07:39+00:00" }, { "name": "sebastian/resource-operations", diff --git a/conf/cmi/core.entity_form_display.paragraph.event_list.default.yml b/conf/cmi/core.entity_form_display.paragraph.event_list.default.yml index 4568bae3..362943d8 100644 --- a/conf/cmi/core.entity_form_display.paragraph.event_list.default.yml +++ b/conf/cmi/core.entity_form_display.paragraph.event_list.default.yml @@ -1,18 +1,23 @@ -uuid: e478d84e-0e63-4c35-ba22-4db0f1f2fe54 +uuid: 5953291d-1646-431b-84c8-37af484fd5b1 langcode: en status: true dependencies: config: - field.field.paragraph.event_list.field_api_url + - field.field.paragraph.event_list.field_event_count - field.field.paragraph.event_list.field_event_list_description - field.field.paragraph.event_list.field_event_list_title + - field.field.paragraph.event_list.field_event_location + - field.field.paragraph.event_list.field_event_time + - field.field.paragraph.event_list.field_free_events - field.field.paragraph.event_list.field_load_more + - field.field.paragraph.event_list.field_remote_events - paragraphs.paragraphs_type.event_list module: - link - text _core: - default_config_hash: Tyi9wGAv2OWtaU056U3LSPa3HhdiWSFnd1nZqhZNC8k + default_config_hash: bGb0ZQ38-NxHtZ1rrdqclYHeStlwA5q3ucy5Wpnb0ng id: paragraph.event_list.default targetEntityType: paragraph bundle: event_list @@ -26,6 +31,12 @@ content: placeholder_url: '' placeholder_title: '' third_party_settings: { } + field_event_count: + type: options_select + weight: 4 + region: content + settings: { } + third_party_settings: { } field_event_list_description: type: text_textarea weight: 1 @@ -42,13 +53,35 @@ content: size: 60 placeholder: '' third_party_settings: { } - field_load_more: + field_event_location: + type: boolean_checkbox + weight: 4 + region: content + settings: + display_label: true + third_party_settings: { } + field_event_time: + type: boolean_checkbox + weight: 5 + region: content + settings: + display_label: true + third_party_settings: { } + field_free_events: + type: boolean_checkbox + weight: 7 + region: content + settings: + display_label: true + third_party_settings: { } + field_remote_events: type: boolean_checkbox - weight: 3 + weight: 6 region: content settings: display_label: true third_party_settings: { } hidden: created: true + field_load_more: true status: true diff --git a/conf/cmi/core.entity_view_display.paragraph.event_list.default.yml b/conf/cmi/core.entity_view_display.paragraph.event_list.default.yml index d614dd79..de04fb0f 100644 --- a/conf/cmi/core.entity_view_display.paragraph.event_list.default.yml +++ b/conf/cmi/core.entity_view_display.paragraph.event_list.default.yml @@ -1,22 +1,35 @@ -uuid: f4d6607c-e8dd-4c31-b4c7-1309356cdbf2 +uuid: e3e71a9b-a6e4-4a5d-809e-d294df6a9b34 langcode: en status: true dependencies: config: - field.field.paragraph.event_list.field_api_url + - field.field.paragraph.event_list.field_event_count - field.field.paragraph.event_list.field_event_list_description - field.field.paragraph.event_list.field_event_list_title + - field.field.paragraph.event_list.field_event_location + - field.field.paragraph.event_list.field_event_time + - field.field.paragraph.event_list.field_free_events - field.field.paragraph.event_list.field_load_more + - field.field.paragraph.event_list.field_remote_events - paragraphs.paragraphs_type.event_list module: + - options - text _core: - default_config_hash: 9xAT4OL9SGihyabuUdNlviQpCUdo09jo96OyzIZe-v8 + default_config_hash: dMZ_8jKpOaA7CkuxlB2baa1apQcQ_vFlXM04jq4bqQY id: paragraph.event_list.default targetEntityType: paragraph bundle: event_list mode: default content: + field_event_count: + type: list_default + label: above + settings: { } + third_party_settings: { } + weight: 2 + region: content field_event_list_description: type: text_default label: hidden @@ -32,6 +45,46 @@ content: third_party_settings: { } weight: 0 region: content + field_event_location: + type: boolean + label: above + settings: + format: default + format_custom_false: '' + format_custom_true: '' + third_party_settings: { } + weight: 2 + region: content + field_event_time: + type: boolean + label: above + settings: + format: default + format_custom_false: '' + format_custom_true: '' + third_party_settings: { } + weight: 3 + region: content + field_free_events: + type: boolean + label: above + settings: + format: default + format_custom_false: '' + format_custom_true: '' + third_party_settings: { } + weight: 5 + region: content + field_remote_events: + type: boolean + label: above + settings: + format: default + format_custom_false: '' + format_custom_true: '' + third_party_settings: { } + weight: 4 + region: content hidden: field_api_url: true field_load_more: true diff --git a/conf/cmi/core.extension.yml b/conf/cmi/core.extension.yml index c8cc876e..fca63bdf 100644 --- a/conf/cmi/core.extension.yml +++ b/conf/cmi/core.extension.yml @@ -51,7 +51,6 @@ module: helfi_charts: 0 helfi_contact_cards: 0 helfi_content: 0 - helfi_events: 0 helfi_gdpr_compliance: 0 helfi_languages: 0 helfi_media: 0 @@ -61,6 +60,7 @@ module: helfi_news_feed: 0 helfi_platform_config: 0 helfi_proxy: 0 + helfi_react_search: 0 helfi_toc: 0 helfi_tpr: 0 helfi_tpr_config: 0 diff --git a/conf/cmi/field.field.paragraph.event_list.field_api_url.yml b/conf/cmi/field.field.paragraph.event_list.field_api_url.yml index ed84f7dc..8c3aa21c 100644 --- a/conf/cmi/field.field.paragraph.event_list.field_api_url.yml +++ b/conf/cmi/field.field.paragraph.event_list.field_api_url.yml @@ -8,13 +8,13 @@ dependencies: module: - link _core: - default_config_hash: nkKsGw0gRWVU1GwZugGKaiSe3OoNrBjDpoUXkkt457Y + default_config_hash: lGeClo15Zf7kvOo9oZobBROAy8-TnAFRtIwnSvDIArY id: paragraph.event_list.field_api_url field_name: field_api_url entity_type: paragraph bundle: event_list label: 'Api URL' -description: 'Add URL from tapahtumat.hel.fi to form a list of events' +description: 'Add URL from tapahtumat.hel.fi to form a list of events. Example URL: https://tapahtumat.hel.fi/fi/events?categories=museum' required: false translatable: false default_value: { } diff --git a/conf/cmi/field.field.paragraph.event_list.field_event_count.yml b/conf/cmi/field.field.paragraph.event_list.field_event_count.yml new file mode 100644 index 00000000..1524f505 --- /dev/null +++ b/conf/cmi/field.field.paragraph.event_list.field_event_count.yml @@ -0,0 +1,25 @@ +uuid: 14033668-1084-4481-a61b-d6ad9c334390 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_event_count + - paragraphs.paragraphs_type.event_list + module: + - options +_core: + default_config_hash: 6AMaHxUxptC9tDiCGTiCpFWXBHfR4tUUSdMY9Q5BD6Q +id: paragraph.event_list.field_event_count +field_name: field_event_count +entity_type: paragraph +bundle: event_list +label: 'Event count' +description: '' +required: false +translatable: false +default_value: + - + value: 3 +default_value_callback: '' +settings: { } +field_type: list_integer diff --git a/conf/cmi/field.field.paragraph.event_list.field_event_location.yml b/conf/cmi/field.field.paragraph.event_list.field_event_location.yml new file mode 100644 index 00000000..1ac9cc9b --- /dev/null +++ b/conf/cmi/field.field.paragraph.event_list.field_event_location.yml @@ -0,0 +1,25 @@ +uuid: 71074d6e-3b7d-450a-9988-856eb9e0b423 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_event_location + - paragraphs.paragraphs_type.event_list +_core: + default_config_hash: qn_ofDevCfu_ZKP8n6kRAQFTmy0cRAXNJUvxS6mU-6Q +id: paragraph.event_list.field_event_location +field_name: field_event_location +entity_type: paragraph +bundle: event_list +label: 'Event location' +description: 'Show "event location" filter. Do not use at the same time with the "Remote events" filter.' +required: false +translatable: false +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'Yes' + off_label: 'No' +field_type: boolean diff --git a/conf/cmi/field.field.paragraph.event_list.field_event_time.yml b/conf/cmi/field.field.paragraph.event_list.field_event_time.yml new file mode 100644 index 00000000..88f2a791 --- /dev/null +++ b/conf/cmi/field.field.paragraph.event_list.field_event_time.yml @@ -0,0 +1,25 @@ +uuid: 643a9655-a841-4f02-8888-98e2ca7278df +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_event_time + - paragraphs.paragraphs_type.event_list +_core: + default_config_hash: w4dBFRcLBALwVLbGirmkj4Hjs08twZZqv8I9E7aVBtc +id: paragraph.event_list.field_event_time +field_name: field_event_time +entity_type: paragraph +bundle: event_list +label: 'Event time' +description: 'Show "event time" filter.' +required: false +translatable: false +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'Yes' + off_label: 'No' +field_type: boolean diff --git a/conf/cmi/field.field.paragraph.event_list.field_free_events.yml b/conf/cmi/field.field.paragraph.event_list.field_free_events.yml new file mode 100644 index 00000000..8d8c5c1c --- /dev/null +++ b/conf/cmi/field.field.paragraph.event_list.field_free_events.yml @@ -0,0 +1,25 @@ +uuid: 4b0652fc-db7b-4b38-b7ef-a4986966b0ed +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_free_events + - paragraphs.paragraphs_type.event_list +_core: + default_config_hash: 43RWM8pRAJy3tpuEGjFEy4ghMhQoCznir0O2015s_hc +id: paragraph.event_list.field_free_events +field_name: field_free_events +entity_type: paragraph +bundle: event_list +label: 'Free events' +description: 'Show "list only free events" filter.' +required: false +translatable: false +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'Yes' + off_label: 'No' +field_type: boolean diff --git a/conf/cmi/field.field.paragraph.event_list.field_remote_events.yml b/conf/cmi/field.field.paragraph.event_list.field_remote_events.yml new file mode 100644 index 00000000..ee7a2f6f --- /dev/null +++ b/conf/cmi/field.field.paragraph.event_list.field_remote_events.yml @@ -0,0 +1,25 @@ +uuid: 7bb33116-dc31-4cb8-9df6-5edc2e233719 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_remote_events + - paragraphs.paragraphs_type.event_list +_core: + default_config_hash: FDxBxbAJWFx6CgcYVHtJc0CDYvMvy04Xqib_pWDlUhA +id: paragraph.event_list.field_remote_events +field_name: field_remote_events +entity_type: paragraph +bundle: event_list +label: 'Remote events' +description: 'Show "list only remote events" filter. Do not use at the same time with the "Event location" filter.' +required: false +translatable: false +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: 'Yes' + off_label: 'No' +field_type: boolean diff --git a/conf/cmi/field.storage.paragraph.field_event_count.yml b/conf/cmi/field.storage.paragraph.field_event_count.yml new file mode 100644 index 00000000..b52b5fa0 --- /dev/null +++ b/conf/cmi/field.storage.paragraph.field_event_count.yml @@ -0,0 +1,23 @@ +uuid: e13354cc-de82-4a9f-9423-9166fb765615 +langcode: en +status: true +dependencies: + module: + - options + - paragraphs +_core: + default_config_hash: hBBiCFVuAo4fqyN3hPC1a3bTN4NTlur6kQQWxerTJWo +id: paragraph.field_event_count +field_name: field_event_count +entity_type: paragraph +type: list_integer +settings: + allowed_values: { } + allowed_values_function: helfi_react_search_event_list_allowed_values_function +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/conf/cmi/field.storage.paragraph.field_event_location.yml b/conf/cmi/field.storage.paragraph.field_event_location.yml new file mode 100644 index 00000000..82b9ab13 --- /dev/null +++ b/conf/cmi/field.storage.paragraph.field_event_location.yml @@ -0,0 +1,20 @@ +uuid: 61951ec6-d93f-48df-9c50-1ed40e72066f +langcode: en +status: true +dependencies: + module: + - paragraphs +_core: + default_config_hash: 9QFvQBbGdxgnHfEbMcWzk_rKsyyO1Ru3Z-rbibJxXyc +id: paragraph.field_event_location +field_name: field_event_location +entity_type: paragraph +type: boolean +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/conf/cmi/field.storage.paragraph.field_event_time.yml b/conf/cmi/field.storage.paragraph.field_event_time.yml new file mode 100644 index 00000000..d84a471b --- /dev/null +++ b/conf/cmi/field.storage.paragraph.field_event_time.yml @@ -0,0 +1,20 @@ +uuid: ade2b49b-b0d3-4de8-93a2-6706d8e262ce +langcode: en +status: true +dependencies: + module: + - paragraphs +_core: + default_config_hash: 9uolLTKIUim2fFfw-TdKiTsGrbGqMm39Hm6Th550A8Y +id: paragraph.field_event_time +field_name: field_event_time +entity_type: paragraph +type: boolean +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/conf/cmi/field.storage.paragraph.field_free_events.yml b/conf/cmi/field.storage.paragraph.field_free_events.yml new file mode 100644 index 00000000..14963b3c --- /dev/null +++ b/conf/cmi/field.storage.paragraph.field_free_events.yml @@ -0,0 +1,20 @@ +uuid: b6e2e253-2854-4e16-ad01-270c5f10c145 +langcode: en +status: true +dependencies: + module: + - paragraphs +_core: + default_config_hash: hPJQzln2lCxDafr1ScV1qrmPk0VLFLWnpa3D6OE_Ic4 +id: paragraph.field_free_events +field_name: field_free_events +entity_type: paragraph +type: boolean +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/conf/cmi/field.storage.paragraph.field_remote_events.yml b/conf/cmi/field.storage.paragraph.field_remote_events.yml new file mode 100644 index 00000000..dffda8cd --- /dev/null +++ b/conf/cmi/field.storage.paragraph.field_remote_events.yml @@ -0,0 +1,20 @@ +uuid: 652a0403-7c97-42e3-8c50-554bddb652e6 +langcode: en +status: true +dependencies: + module: + - paragraphs +_core: + default_config_hash: 6cFoYiYWY2E057QJBuHDjkuiifNRl-Bqkt9Zr9c1Zvc +id: paragraph.field_remote_events +field_name: field_remote_events +entity_type: paragraph +type: boolean +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/conf/cmi/language/fi/field.field.paragraph.event_list.field_api_url.yml b/conf/cmi/language/fi/field.field.paragraph.event_list.field_api_url.yml deleted file mode 100644 index 84bd6531..00000000 --- a/conf/cmi/language/fi/field.field.paragraph.event_list.field_api_url.yml +++ /dev/null @@ -1 +0,0 @@ -description: 'Tapahtumat.hel.fi-osoite, jonka perusteella listaus muodostetaan.' diff --git a/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_list_description.yml b/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_list_description.yml deleted file mode 100644 index bda75a22..00000000 --- a/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_list_description.yml +++ /dev/null @@ -1,2 +0,0 @@ -label: Kuvaus -description: 'Lyhyt kuvaus listauksessa esiintyvistä tapahtumista.' diff --git a/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_list_title.yml b/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_list_title.yml deleted file mode 100644 index 503d1387..00000000 --- a/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_list_title.yml +++ /dev/null @@ -1,2 +0,0 @@ -label: Otsikko -description: 'Listauksen otsikko' diff --git a/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_location.yml b/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_location.yml new file mode 100644 index 00000000..9cc3d0cd --- /dev/null +++ b/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_location.yml @@ -0,0 +1,2 @@ +label: Tapahtumapaikka +description: 'Näytä "tapahtumapaikka" -suodatin. Älä käytä yhtä aikaa "Etätapahtumat" -suodattimen kanssa.' diff --git a/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_time.yml b/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_time.yml new file mode 100644 index 00000000..cadd9471 --- /dev/null +++ b/conf/cmi/language/fi/field.field.paragraph.event_list.field_event_time.yml @@ -0,0 +1,2 @@ +label: Ajankohta +description: 'Näytä "ajankohta" -suodatin.' diff --git a/conf/cmi/language/fi/field.field.paragraph.event_list.field_free_events.yml b/conf/cmi/language/fi/field.field.paragraph.event_list.field_free_events.yml new file mode 100644 index 00000000..d0e4ed97 --- /dev/null +++ b/conf/cmi/language/fi/field.field.paragraph.event_list.field_free_events.yml @@ -0,0 +1,2 @@ +label: 'Maksuttomat tapahtumat' +description: 'Näytä "näytä vain maksuttomat tapahtumat" -suodatin.' diff --git a/conf/cmi/language/fi/field.field.paragraph.event_list.field_remote_events.yml b/conf/cmi/language/fi/field.field.paragraph.event_list.field_remote_events.yml new file mode 100644 index 00000000..99f041ab --- /dev/null +++ b/conf/cmi/language/fi/field.field.paragraph.event_list.field_remote_events.yml @@ -0,0 +1,2 @@ +label: Etätapahtumat +description: 'Näytä "näytä vain etätapahtumat" -suodatin. Älä käytä yhtä aikaa "Tapahtumapaikka" -suodattimen kanssa.' diff --git a/conf/cmi/language/fi/paragraphs.paragraphs_type.event_list.yml b/conf/cmi/language/fi/paragraphs.paragraphs_type.event_list.yml deleted file mode 100644 index 21bfff6c..00000000 --- a/conf/cmi/language/fi/paragraphs.paragraphs_type.event_list.yml +++ /dev/null @@ -1,2 +0,0 @@ -label: Tapahtumat -description: 'Luo listaus tapahtumista LinkedEvents-datan perusteella.' diff --git a/conf/cmi/language/sv/field.field.paragraph.event_list.field_event_list_title.yml b/conf/cmi/language/sv/field.field.paragraph.event_list.field_event_list_title.yml deleted file mode 100644 index 2711e04d..00000000 --- a/conf/cmi/language/sv/field.field.paragraph.event_list.field_event_list_title.yml +++ /dev/null @@ -1 +0,0 @@ -label: Titel diff --git a/public/sites/default/settings.php b/public/sites/default/settings.php index 190b16c4..f2694937 100755 --- a/public/sites/default/settings.php +++ b/public/sites/default/settings.php @@ -25,6 +25,9 @@ 'driver' => 'mysql', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_swedish_ci', + 'init_commands' => [ + 'isolation_level' => 'SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED', + ], ]; $settings['hash_salt'] = getenv('DRUPAL_HASH_SALT') ?: '000';