From 6e8a109562e146fd5b6a8a3b0a76a30f1a93a116 Mon Sep 17 00:00:00 2001 From: actions-bot Date: Tue, 7 Feb 2023 10:35:53 +0000 Subject: [PATCH] Update configuration --- composer.lock | 105 +++++++++--------- ...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, 387 insertions(+), 69 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..e5855d22 100644 --- a/composer.lock +++ b/composer.lock @@ -3229,17 +3229,17 @@ }, { "name": "drupal/entity_usage", - "version": "2.0.0-beta8", + "version": "2.0.0-beta9", "source": { "type": "git", "url": "https://git.drupalcode.org/project/entity_usage.git", - "reference": "8.x-2.0-beta8" + "reference": "8.x-2.0-beta9" }, "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-beta9.zip", + "reference": "8.x-2.0-beta9", + "shasum": "0f3d508808dc948a0c5a58868dc3b244190c7432" }, "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-beta9", + "datestamp": "1675691249", "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.4", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-hdbt.git", - "reference": "fbea10b0175d6b212c78ffa997e003926d7788f8" + "reference": "98a163acecc37dd62f2272e8b6a04744f554bfe5" }, "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/98a163acecc37dd62f2272e8b6a04744f554bfe5", + "reference": "98a163acecc37dd62f2272e8b6a04744f554bfe5", "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.4", "issues": "https://github.com/City-of-Helsinki/drupal-hdbt/issues" }, - "time": "2023-02-01T13:27:28+00:00" + "time": "2023-02-07T10:32:35+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", @@ -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..7ed69a69 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: 06e0ca03-5a02-4603-90c0-9321623f1921 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..13847ea9 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: 7002af42-7622-400d-8805-5f2651109f78 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..3a7b26b5 --- /dev/null +++ b/conf/cmi/field.field.paragraph.event_list.field_event_count.yml @@ -0,0 +1,25 @@ +uuid: 7667c2b7-0974-4393-998c-ffd214dcdceb +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..92c26127 --- /dev/null +++ b/conf/cmi/field.field.paragraph.event_list.field_event_location.yml @@ -0,0 +1,25 @@ +uuid: 39354fe5-3136-40e4-8dcc-fec67eb6f0df +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..b699005b --- /dev/null +++ b/conf/cmi/field.field.paragraph.event_list.field_event_time.yml @@ -0,0 +1,25 @@ +uuid: 5e6ab37b-5548-48d5-952f-9c64f055ea4f +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..b37369d9 --- /dev/null +++ b/conf/cmi/field.field.paragraph.event_list.field_free_events.yml @@ -0,0 +1,25 @@ +uuid: c64bff36-3b85-4998-bb32-9b8bac1239ce +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..f25f89c5 --- /dev/null +++ b/conf/cmi/field.field.paragraph.event_list.field_remote_events.yml @@ -0,0 +1,25 @@ +uuid: dd5fa880-2fb5-4fe2-aa75-cdf44ed4d2ab +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..5bf06066 --- /dev/null +++ b/conf/cmi/field.storage.paragraph.field_event_count.yml @@ -0,0 +1,23 @@ +uuid: 41529bfa-9aee-41f4-8728-1f9bb185f3bc +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..192bfb93 --- /dev/null +++ b/conf/cmi/field.storage.paragraph.field_event_location.yml @@ -0,0 +1,20 @@ +uuid: eeead8ca-73b1-4b96-90a5-b5cde0071888 +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..22d28a21 --- /dev/null +++ b/conf/cmi/field.storage.paragraph.field_event_time.yml @@ -0,0 +1,20 @@ +uuid: 30e84eac-ef42-4ab5-91ae-f86e946d940d +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..ac868ae2 --- /dev/null +++ b/conf/cmi/field.storage.paragraph.field_free_events.yml @@ -0,0 +1,20 @@ +uuid: 54b55cda-e1a3-4cd1-9edf-3ef7a9cb1664 +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..3a40fadf --- /dev/null +++ b/conf/cmi/field.storage.paragraph.field_remote_events.yml @@ -0,0 +1,20 @@ +uuid: 4b5e9300-095f-450d-94ba-99464aaa8583 +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';