diff --git a/.platform/schema b/.platform/schema new file mode 100644 index 00000000..d8263ee9 --- /dev/null +++ b/.platform/schema @@ -0,0 +1 @@ +2 \ No newline at end of file diff --git a/composer.lock b/composer.lock index 6e5b2a4f..74f5582f 100644 --- a/composer.lock +++ b/composer.lock @@ -760,16 +760,16 @@ }, { "name": "consolidation/output-formatters", - "version": "4.3.1", + "version": "4.3.2", "source": { "type": "git", "url": "https://github.com/consolidation/output-formatters.git", - "reference": "f65524e9ecd2bd0021c4b18710005caaa6dcbd86" + "reference": "06711568b4cd169700ff7e8075db0a9a341ceb58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/f65524e9ecd2bd0021c4b18710005caaa6dcbd86", - "reference": "f65524e9ecd2bd0021c4b18710005caaa6dcbd86", + "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/06711568b4cd169700ff7e8075db0a9a341ceb58", + "reference": "06711568b4cd169700ff7e8075db0a9a341ceb58", "shasum": "" }, "require": { @@ -808,9 +808,9 @@ "description": "Format text by applying transformations provided by plug-in formatters.", "support": { "issues": "https://github.com/consolidation/output-formatters/issues", - "source": "https://github.com/consolidation/output-formatters/tree/4.3.1" + "source": "https://github.com/consolidation/output-formatters/tree/4.3.2" }, - "time": "2023-05-20T03:23:06+00:00" + "time": "2023-07-06T04:45:41+00:00" }, { "name": "consolidation/robo", @@ -3751,16 +3751,16 @@ }, { "name": "drupal/hdbt", - "version": "5.6.17", + "version": "5.6.21", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-hdbt.git", - "reference": "227d2cc22318ad706d4c75417478423ea6c35ce2" + "reference": "56c2b6798eada5ae07fffc0397ef9c3b44ef26a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/227d2cc22318ad706d4c75417478423ea6c35ce2", - "reference": "227d2cc22318ad706d4c75417478423ea6c35ce2", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-hdbt/zipball/56c2b6798eada5ae07fffc0397ef9c3b44ef26a9", + "reference": "56c2b6798eada5ae07fffc0397ef9c3b44ef26a9", "shasum": "" }, "require": { @@ -3778,10 +3778,10 @@ "Drupal" ], "support": { - "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/5.6.17", + "source": "https://github.com/City-of-Helsinki/drupal-hdbt/tree/5.6.21", "issues": "https://github.com/City-of-Helsinki/drupal-hdbt/issues" }, - "time": "2023-10-11T13:04:35+00:00" + "time": "2023-10-19T09:48:22+00:00" }, { "name": "drupal/hdbt_admin", @@ -3870,16 +3870,16 @@ }, { "name": "drupal/helfi_api_base", - "version": "2.5.7", + "version": "2.5.8", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base.git", - "reference": "8f39f1d33757ca36623b4e223138357e39d388c6" + "reference": "c8ed69e045bae960fff5b71179d09f62ea53651a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-api-base/zipball/8f39f1d33757ca36623b4e223138357e39d388c6", - "reference": "8f39f1d33757ca36623b4e223138357e39d388c6", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-helfi-api-base/zipball/c8ed69e045bae960fff5b71179d09f62ea53651a", + "reference": "c8ed69e045bae960fff5b71179d09f62ea53651a", "shasum": "" }, "require": { @@ -3905,10 +3905,10 @@ ], "description": "Helfi - API Base", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/tree/2.5.7", + "source": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/tree/2.5.8", "issues": "https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/issues" }, - "time": "2023-10-05T13:06:46+00:00" + "time": "2023-10-18T05:44:50+00:00" }, { "name": "drupal/helfi_azure_fs", @@ -3955,16 +3955,41 @@ "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-tools.git", - "reference": "8dfd9dda99f0934070119547e7f950d3f90a9ebc" + "reference": "4b78f15679d99b14dec7a62e593c2c8001f15cfa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-tools/zipball/8dfd9dda99f0934070119547e7f950d3f90a9ebc", - "reference": "8dfd9dda99f0934070119547e7f950d3f90a9ebc", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-tools/zipball/4b78f15679d99b14dec7a62e593c2c8001f15cfa", + "reference": "4b78f15679d99b14dec7a62e593c2c8001f15cfa", "shasum": "" }, + "require": { + "drush/drush": "^10 || ^11 || ^12" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "drupal/coder": "^8.3", + "phpspec/prophecy-phpunit": "^2", + "phpunit/phpunit": "^9.6" + }, "default-branch": true, "type": "drupal-drush", + "autoload": { + "psr-4": { + "DrupalTools\\": "src" + }, + "files": [ + "src/Update/migrations.php" + ] + }, + "autoload-dev": { + "psr-4": { + "DrupalToolsTest\\": "tests/fixtures" + }, + "files": [ + "tests/fixtures/migration_fixture.php" + ] + }, "license": [ "GPL-2.0-or-later" ], @@ -3973,7 +3998,7 @@ "source": "https://github.com/City-of-Helsinki/drupal-tools/tree/main", "issues": "https://github.com/City-of-Helsinki/drupal-tools/issues" }, - "time": "2023-09-26T09:45:28+00:00" + "time": "2023-10-16T07:36:56+00:00" }, { "name": "drupal/helfi_navigation", @@ -4011,16 +4036,16 @@ }, { "name": "drupal/helfi_platform_config", - "version": "3.4.25", + "version": "3.4.29", "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config.git", - "reference": "68e859125538f820eb264a21342ad1fddc094b11" + "reference": "a3827797611517358b73a5c5f7f5653b918c2ea9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/68e859125538f820eb264a21342ad1fddc094b11", - "reference": "68e859125538f820eb264a21342ad1fddc094b11", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-helfi-platform-config/zipball/a3827797611517358b73a5c5f7f5653b918c2ea9", + "reference": "a3827797611517358b73a5c5f7f5653b918c2ea9", "shasum": "" }, "require": { @@ -4124,10 +4149,10 @@ ], "description": "HELfi platform config", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/3.4.25", + "source": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/tree/3.4.29", "issues": "https://github.com/City-of-Helsinki/drupal-helfi-platform-config/issues" }, - "time": "2023-10-13T10:46:22+00:00" + "time": "2023-10-19T09:49:07+00:00" }, { "name": "drupal/helfi_proxy", @@ -5695,17 +5720,17 @@ }, { "name": "drupal/search_api", - "version": "1.29.0", + "version": "1.30.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/search_api.git", - "reference": "8.x-1.29" + "reference": "8.x-1.30" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/search_api-8.x-1.29.zip", - "reference": "8.x-1.29", - "shasum": "4663abbcfe5dfc159ee0886fc6c437e998fc0653" + "url": "https://ftp.drupal.org/files/projects/search_api-8.x-1.30.zip", + "reference": "8.x-1.30", + "shasum": "25bd2cfab6a6332c595fbc8be1c4cfff33a85ce8" }, "require": { "drupal/core": "^9.3 || ^10.0" @@ -5726,8 +5751,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.29", - "datestamp": "1679910252", + "version": "8.x-1.30", + "datestamp": "1697366291", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -5735,7 +5760,7 @@ }, "drush": { "services": { - "drush.services.yml": "^9 || ^10" + "drush.services.yml": "^9 || ^10 || ^11" } } }, @@ -6143,36 +6168,78 @@ }, { "name": "drupal/stomp", - "version": "2.0.0-alpha1", + "version": "2.0.0-alpha3", "source": { "type": "git", - "url": "https://github.com/City-of-Helsinki/drupal-module-stomp.git", - "reference": "820e1f3aa23dfdce441ac827e03286528111f497" + "url": "https://git.drupalcode.org/project/stomp.git", + "reference": "2.0.0-alpha3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-module-stomp/zipball/820e1f3aa23dfdce441ac827e03286528111f497", - "reference": "820e1f3aa23dfdce441ac827e03286528111f497", - "shasum": "" + "url": "https://ftp.drupal.org/files/projects/stomp-2.0.0-alpha3.zip", + "reference": "2.0.0-alpha3", + "shasum": "47607b91f06437259e1b0a84b9a696340df8ce55" }, "require": { + "drupal/core": "^9 || ^10", "php": "^8.1", "stomp-php/stomp-php": "^5.0" }, + "conflict": { + "drush/drush": "<11.6" + }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "drupal/coder": "^8.3" + "drupal/coder": "^8.3", + "drush/drush": "^11.6 || ^12", + "jangregor/phpstan-prophecy": "dev-master", + "mglaman/phpstan-drupal": "^1.2", + "phpstan/extension-installer": "^1.3", + "phpstan/phpstan": "1.11.x-dev", + "phpstan/phpstan-deprecation-rules": "1.2.x-dev" }, "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.0.0-alpha3", + "datestamp": "1697289803", + "security-coverage": { + "status": "not-covered", + "message": "Alpha releases are not covered by Drupal security advisories." + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", "license": [ "GPL-2.0-or-later" ], + "authors": [ + { + "name": "alexpott", + "homepage": "https://www.drupal.org/user/157725" + }, + { + "name": "legovaer", + "homepage": "https://www.drupal.org/user/1327142" + }, + { + "name": "tayzlor", + "homepage": "https://www.drupal.org/user/274980" + }, + { + "name": "tsphethean", + "homepage": "https://www.drupal.org/user/881620" + }, + { + "name": "tuutti", + "homepage": "https://www.drupal.org/user/1114264" + } + ], "description": "Integrate Drupal with an external STOMP or AMQP message queue, such as ActiveMQ.", + "homepage": "https://www.drupal.org/project/stomp", "support": { - "source": "https://github.com/City-of-Helsinki/drupal-module-stomp/tree/2.0.0-alpha1", - "issues": "https://github.com/City-of-Helsinki/drupal-module-stomp/issues" - }, - "time": "2023-10-06T08:19:03+00:00" + "source": "https://git.drupalcode.org/project/stomp" + } }, { "name": "drupal/token", @@ -8375,16 +8442,16 @@ }, { "name": "league/mime-type-detection", - "version": "1.13.0", + "version": "1.14.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96" + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/a6dfb1194a2946fcdc1f38219445234f65b35c96", - "reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b6a5854368533df0295c5761a0253656a2e52d9e", + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e", "shasum": "" }, "require": { @@ -8415,7 +8482,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.13.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.14.0" }, "funding": [ { @@ -8427,7 +8494,7 @@ "type": "tidelift" } ], - "time": "2023-08-05T12:09:49+00:00" + "time": "2023-10-17T14:13:20+00:00" }, { "name": "league/uri", @@ -8955,16 +9022,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.16.0", + "version": "v4.17.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "19526a33fb561ef417e822e85f08a00db4059c17" + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/19526a33fb561ef417e822e85f08a00db4059c17", - "reference": "19526a33fb561ef417e822e85f08a00db4059c17", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", "shasum": "" }, "require": { @@ -9005,9 +9072,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.16.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" }, - "time": "2023-06-25T14:52:30+00:00" + "time": "2023-08-13T19:53:39+00:00" }, { "name": "nodespark/des-connector", @@ -10208,16 +10275,16 @@ }, { "name": "psy/psysh", - "version": "v0.11.18", + "version": "v0.11.22", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "4f00ee9e236fa6a48f4560d1300b9c961a70a7ec" + "reference": "128fa1b608be651999ed9789c95e6e2a31b5802b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/4f00ee9e236fa6a48f4560d1300b9c961a70a7ec", - "reference": "4f00ee9e236fa6a48f4560d1300b9c961a70a7ec", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/128fa1b608be651999ed9789c95e6e2a31b5802b", + "reference": "128fa1b608be651999ed9789c95e6e2a31b5802b", "shasum": "" }, "require": { @@ -10246,7 +10313,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.11.x-dev" + "dev-0.11": "0.11.x-dev" + }, + "bamarni-bin": { + "bin-links": false, + "forward-command": false } }, "autoload": { @@ -10278,9 +10349,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.18" + "source": "https://github.com/bobthecow/psysh/tree/v0.11.22" }, - "time": "2023-05-23T02:31:11+00:00" + "time": "2023-10-14T21:56:36+00:00" }, { "name": "ralouphie/getallheaders", @@ -17955,5 +18026,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml b/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml index 1108ac45..17f5e145 100644 --- a/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml +++ b/conf/cmi/core.entity_form_display.tpr_unit.tpr_unit.default.yml @@ -18,7 +18,7 @@ dependencies: - readonly_field_widget - select2 _core: - default_config_hash: eepmIYNv6ShHO0W2uVzuu18Gashz0oos8xMyfTluiMI + default_config_hash: C2Xc2BwYmiIL9SayNQLxaufcoqA5SLusFthQgnmb10A id: tpr_unit.tpr_unit.default targetEntityType: tpr_unit bundle: tpr_unit @@ -26,7 +26,7 @@ mode: default content: accessibility_email: type: readonly_field_widget - weight: 9 + weight: 12 region: content settings: label: above @@ -36,7 +36,7 @@ content: third_party_settings: { } accessibility_phone: type: readonly_field_widget - weight: 8 + weight: 11 region: content settings: label: above @@ -46,7 +46,7 @@ content: third_party_settings: { } accessibility_www: type: readonly_field_widget - weight: 12 + weight: 17 region: content settings: label: above @@ -56,7 +56,7 @@ content: third_party_settings: { } address: type: readonly_field_widget - weight: 14 + weight: 19 region: content settings: label: above @@ -66,7 +66,7 @@ content: third_party_settings: { } address_postal: type: readonly_field_widget - weight: 16 + weight: 21 region: content settings: label: above @@ -76,7 +76,7 @@ content: third_party_settings: { } call_charge_info: type: readonly_field_widget - weight: 15 + weight: 20 region: content settings: label: above @@ -86,8 +86,8 @@ content: third_party_settings: { } contacts: type: readonly_field_widget + weight: 39 region: content - weight: 36 settings: label: above formatter_type: null @@ -96,7 +96,7 @@ content: third_party_settings: { } description: type: readonly_field_widget - weight: 13 + weight: 18 region: content settings: label: above @@ -106,7 +106,7 @@ content: third_party_settings: { } email: type: readonly_field_widget - weight: 7 + weight: 10 region: content settings: label: above @@ -116,7 +116,7 @@ content: third_party_settings: { } field_content: type: paragraphs - weight: 27 + weight: 28 region: content settings: title: Paragraph @@ -145,7 +145,7 @@ content: third_party_settings: { } field_lower_content: type: paragraphs - weight: 28 + weight: 29 region: content settings: title: Paragraph @@ -164,14 +164,15 @@ content: third_party_settings: { } field_metatags: type: metatag_firehose - weight: 26 + weight: 27 region: content settings: sidebar: false + use_details: true third_party_settings: { } field_unit_type: type: entity_reference_autocomplete - weight: 28 + weight: 30 region: content settings: match_operator: CONTAINS @@ -181,15 +182,15 @@ content: third_party_settings: { } hide_sidebar_navigation: type: boolean_checkbox - weight: 29 + weight: 31 region: content settings: display_label: true third_party_settings: { } highlights: type: readonly_field_widget + weight: 36 region: content - weight: 33 settings: label: above formatter_type: null @@ -205,7 +206,7 @@ content: third_party_settings: { } latitude: type: readonly_field_widget - weight: 17 + weight: 22 region: content settings: label: above @@ -215,8 +216,8 @@ content: third_party_settings: { } links: type: readonly_field_widget + weight: 33 region: content - weight: 31 settings: label: above formatter_type: null @@ -225,7 +226,7 @@ content: third_party_settings: { } longitude: type: readonly_field_widget - weight: 18 + weight: 23 region: content settings: label: above @@ -253,8 +254,8 @@ content: third_party_settings: { } opening_hours: type: readonly_field_widget + weight: 35 region: content - weight: 32 settings: label: above formatter_type: null @@ -263,8 +264,8 @@ content: third_party_settings: { } other_info: type: readonly_field_widget + weight: 37 region: content - weight: 34 settings: label: above formatter_type: null @@ -273,13 +274,13 @@ content: third_party_settings: { } path: type: path - weight: 11 + weight: 16 region: content settings: { } third_party_settings: { } phone: type: readonly_field_widget - weight: 6 + weight: 9 region: content settings: label: above @@ -289,7 +290,7 @@ content: third_party_settings: { } picture_url: type: readonly_field_widget - weight: 3 + weight: 5 region: content settings: label: above @@ -299,15 +300,15 @@ content: third_party_settings: { } picture_url_override: type: media_library_widget - weight: 4 + weight: 6 region: content settings: media_types: { } third_party_settings: { } price_info: type: readonly_field_widget + weight: 38 region: content - weight: 35 settings: label: above formatter_type: null @@ -316,7 +317,7 @@ content: third_party_settings: { } provided_languages: type: readonly_field_widget - weight: 30 + weight: 32 region: content settings: label: above @@ -326,7 +327,7 @@ content: third_party_settings: { } service_map_embed: type: readonly_field_widget - weight: 20 + weight: 25 region: content settings: label: above @@ -336,7 +337,7 @@ content: third_party_settings: { } services: type: readonly_field_widget - weight: 21 + weight: 26 region: content settings: label: above @@ -346,19 +347,19 @@ content: third_party_settings: { } show_www: type: boolean_checkbox - weight: 11 + weight: 15 region: content settings: display_label: true third_party_settings: { } simple_sitemap: - weight: 10 + weight: 14 region: content settings: { } third_party_settings: { } streetview_entrance_url: type: readonly_field_widget - weight: 19 + weight: 24 region: content settings: label: above @@ -366,10 +367,25 @@ content: formatter_settings: { } show_description: false third_party_settings: { } + toc_enabled: + type: boolean_checkbox + weight: 3 + region: content + settings: + display_label: true + third_party_settings: { } + toc_title: + type: string_textfield + weight: 4 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } topical: type: readonly_field_widget + weight: 34 region: content - weight: 31 settings: label: above formatter_type: null @@ -377,13 +393,13 @@ content: show_description: false third_party_settings: { } translation: - weight: 5 + weight: 8 region: content settings: { } third_party_settings: { } unit_picture_caption: type: string_textarea - weight: 5 + weight: 7 region: content settings: rows: 5 @@ -391,7 +407,7 @@ content: third_party_settings: { } www: type: readonly_field_widget - weight: 10 + weight: 13 region: content settings: label: above diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml index 9214e40e..14b90ca1 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.default.yml @@ -19,7 +19,7 @@ dependencies: - telephone - text _core: - default_config_hash: rsUs9_e1k9mgX9c276wA8WlLKzCLUoYk2npzo22UFh8 + default_config_hash: tfkOTFeDgVhyd9NcyUP7yambOlzTfsjNcKwlLHPsbhw id: tpr_unit.tpr_unit.default targetEntityType: tpr_unit bundle: tpr_unit @@ -248,6 +248,16 @@ content: third_party_settings: { } weight: 16 region: content + toc_enabled: + type: boolean + label: hidden + settings: + format: default + format_custom_false: '' + format_custom_true: '' + third_party_settings: { } + weight: 2 + region: content topical: type: tpr_connection label: hidden diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml index f93a1523..1639eaf6 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.minimal.yml @@ -13,7 +13,7 @@ dependencies: - address - helfi_tpr _core: - default_config_hash: lnEuzT7rRncgL-KC-uIf6ZHGYQprRCEHpYN8WrnQUno + default_config_hash: PouCEjXDV9qruMvBHQAwEjr84IOJOn77scrXQSzvxds id: tpr_unit.tpr_unit.minimal targetEntityType: tpr_unit bundle: tpr_unit @@ -75,6 +75,7 @@ hidden: services: true show_www: true streetview_entrance_url: true + toc_enabled: true topical: true unit_picture_caption: true www: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml index 062837b9..2dd313f2 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser.yml @@ -15,7 +15,7 @@ dependencies: - helfi_tpr - imagecache_external _core: - default_config_hash: AoDOI9a3GINbOYGLRXgyPzlenlc4f7iHDdcaKsBT-HM + default_config_hash: 38N-rHkqJOOsX8_Ww-SmyCqRGIxVHf-0OngooKeYAVI id: tpr_unit.tpr_unit.teaser targetEntityType: tpr_unit bundle: tpr_unit @@ -93,6 +93,7 @@ hidden: services: true show_www: true streetview_entrance_url: true + toc_enabled: true topical: true unit_picture_caption: true www: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml index 3cd12e3d..7201736e 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.teaser_with_image.yml @@ -16,7 +16,7 @@ dependencies: - imagecache_external - telephone _core: - default_config_hash: 4Y6H4T5UpKZSpYZp9BRJvH-cgRpJ9kH2A7-uMC5cioU + default_config_hash: Ibwu6ghoi4cuIpb_xkzuwiOVxa2SoY6lX-BJnVPFSdE id: tpr_unit.tpr_unit.teaser_with_image targetEntityType: tpr_unit bundle: tpr_unit @@ -94,6 +94,7 @@ hidden: services: true show_www: true streetview_entrance_url: true + toc_enabled: true topical: true unit_picture_caption: true www: true diff --git a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml index c4b251bf..2963e056 100644 --- a/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml +++ b/conf/cmi/core.entity_view_display.tpr_unit.tpr_unit.wide_teaser.yml @@ -16,7 +16,7 @@ dependencies: - imagecache_external - telephone _core: - default_config_hash: fg5HihHWCdwJOdmXVRbiQKj5e9jCOJd4f9lqh0xUZLM + default_config_hash: cbtj72q0WqHIiipxyV67zGXit9W_E8evc0_6J-CtIpA id: tpr_unit.tpr_unit.wide_teaser targetEntityType: tpr_unit bundle: tpr_unit @@ -107,6 +107,7 @@ hidden: services: true show_www: true streetview_entrance_url: true + toc_enabled: true topical: true unit_picture_caption: true www: true diff --git a/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml b/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml index fd7679d1..f838c03f 100644 --- a/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml +++ b/conf/cmi/external_entities.external_entity_type.helfi_announcements.yml @@ -8,8 +8,8 @@ id: helfi_announcements label: 'Helfi: Announcements' label_plural: 'Helfi: Announcements' description: '' -generate_aliases: null read_only: true +generate_aliases: null field_mapper_id: jsonpath field_mapper_config: field_mappings: diff --git a/conf/cmi/language/sv/views.view.unit_search.yml b/conf/cmi/language/sv/views.view.unit_search.yml index 33e1ab99..3d3e3bac 100644 --- a/conf/cmi/language/sv/views.view.unit_search.yml +++ b/conf/cmi/language/sv/views.view.unit_search.yml @@ -1,5 +1,6 @@ display: default: + display_title: Förvald display_options: filters: provided_languages_value: @@ -50,7 +51,6 @@ display: id: exception: title: Alla - display_title: Förvald block: display_title: Block entity_reference: diff --git a/docker-compose.yml b/docker-compose.yml index c7dc6ba8..941446d7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,6 +21,8 @@ services: # Optionally, you can add this to your default environments variables to enable or disable # xdebug by default (like /etc/environments, ~/.bashrc, or ~/.zshrc). XDEBUG_ENABLE: "${XDEBUG_ENABLE:-false}" + XDEBUG_CONFIG: "${XDEBUG_CONFIG:-}" + PHP_IDE_CONFIG: "${PHP_IDE_CONFIG:-serverName=${DRUPAL_HOSTNAME}}" # DOCKERHOST: host.docker.internal # Use drush server to run functional tests, so we don't have to care about # permission or SSL issues. @@ -121,7 +123,7 @@ services: container_name: "${COMPOSE_PROJECT_NAME}-artemis" image: quay.io/artemiscloud/activemq-artemis-broker environment: - AMQ_EXTRA_ARGS: "--nio --user admin --password admin" + AMQ_EXTRA_ARGS: "--user admin --password admin" depends_on: - app networks: diff --git a/tools/make/project/install.mk b/tools/make/project/install.mk index c38be143..03b47763 100644 --- a/tools/make/project/install.mk +++ b/tools/make/project/install.mk @@ -6,7 +6,12 @@ endif DRUPAL_POST_INSTALL_TARGETS := drush-deploy drush-locale-update drush-uli OC_LOGIN_TOKEN ?= $(shell bash -c 'read -s -p "You must obtain an API token by visiting https://oauth-openshift.apps.arodevtest.hel.fi/oauth/token/request (Token):" token; echo $$token') + +SYNC_TARGETS := drush-sync-db + +ifneq ($(DUMP_SQL_EXISTS),yes) SYNC_TARGETS := oc-login oc-sync +endif PHONY += oc-login oc-login: