Skip to content

Commit 5d2fca7

Browse files
authored
Merge pull request #667 from City-of-Helsinki/UHF-12178
UHF-12178: Latest changes to main
2 parents 6241cc2 + 94c7611 commit 5d2fca7

14 files changed

Lines changed: 424 additions & 316 deletions

compose.ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ services:
22
app:
33
user: "1001:1001"
44
environment:
5-
SYMFONY_DEPRECATIONS_HELPER: disabled
5+
COMPOSER_MIRROR_PATH_REPOS: 1
66
BROWSERTEST_OUTPUT_DIRECTORY: /app/results

compose.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ services:
66
volumes:
77
- .:/app:delegated
88
depends_on:
9-
- db
9+
db:
10+
condition: service_healthy
1011
environment:
1112
WEBROOT: /app/public
1213
STAGE_FILE_PROXY_ORIGIN: "${STAGE_FILE_PROXY_ORIGIN}"
@@ -57,12 +58,17 @@ services:
5758
- --max_allowed_packet=512M
5859
- --character-set-server=utf8mb4
5960
- --collation-server=utf8mb4_swedish_ci
61+
- --skip-log-bin
6062
environment:
6163
MYSQL_DATABASE: drupal
6264
MYSQL_USER: drupal
6365
MYSQL_PASSWORD: drupal
6466
MYSQL_INITDB_SKIP_TZINFO: 1
6567
MYSQL_RANDOM_ROOT_PASSWORD: 1
68+
healthcheck:
69+
test: mysqladmin ping -h 127.0.0.1 -u $$MYSQL_USER --password=$$MYSQL_PASSWORD
70+
timeout: 1s
71+
retries: 30
6672
volumes:
6773
- db_volume:/var/lib/mysql
6874
ports:

composer.lock

Lines changed: 394 additions & 298 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

conf/cmi/csp.settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ enforce:
2929
frame-ancestors:
3030
base: self
3131
reporting:
32-
plugin: raven
32+
plugin: none

conf/cmi/field.field.paragraph.hero.field_hero_title.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ dependencies:
66
- field.storage.paragraph.field_hero_title
77
- paragraphs.paragraphs_type.hero
88
_core:
9-
default_config_hash: M_9WbyHp-nRmfEt8Xwa1wU-HGs89Sb8wO08PQzhRhdo
9+
default_config_hash: UurxQySq270gOUXF1wFOeuAof1ws42Rja6dyEyNlI10
1010
id: paragraph.hero.field_hero_title
1111
field_name: field_hero_title
1212
entity_type: paragraph
1313
bundle: hero
1414
label: 'Hero heading'
15-
description: "If a hero is used on the page, this heading will be used as the page's main heading."
15+
description: 'The hero title and the page title must be the same. The hero title is used as the page’s metadata title, which appears in search results. The page title is used in the page URL. You can edit the metadata title in the page’s meta settings.'
1616
required: true
1717
translatable: false
1818
default_value: { }

conf/cmi/imagecache_external.settings.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ imagecache_external_allowed_mimetypes:
2525
- image/webp
2626
- image/webp;charset=utf-8
2727
imagecache_external_cron_flush_frequency: 0
28+
imagecache_external_cron_flush_originals: true
29+
svg_settings:
30+
allowed_tags: { }
31+
allowed_attributes: { }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
label: 'Heron otsikko'
2-
description: 'Heron otsikon ja sivun otsikon pitää olla sama. Herossa käytetään heron otsikkoa mutta metatiedoissa ja URL-osoitteessa sivun otsikkoa.'
2+
description: 'Heron otsikon ja sivun otsikon pitää olla sama. Heron otsikkoa käytetään sivun metatietojen titlenä, joka näkyy hakutuloksissa. Sivun otsikkoa käytetään sivun URL-osoitteessa. Metatietojen titleä on mahdollista muokata sivun metatunnisteista.'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
label: Sisältö
22
tags:
3-
title: '[node:title] | [site:page-title-suffix]'
3+
title: '[node:display-title] | [site:page-title-suffix]'
44
description: '[node:lead-in]'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
label: Innehåll
22
tags:
3-
title: '[node:title] | [site:page-title-suffix]'
3+
title: '[node:display-title] | [site:page-title-suffix]'
44
description: '[node:lead-in]'

conf/cmi/metatag.metatag_defaults.node.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ _core:
77
id: node
88
label: Content
99
tags:
10-
title: '[node:title] | [site:page-title-suffix]'
10+
title: '[node:display-title] | [site:page-title-suffix]'
1111
description: '[node:lead-in]'
1212
canonical_url: '[node:url]'
1313
article_modified_time: '[node:changed:html_datetime]'
1414
article_published_time: '[node:created:html_datetime]'
15-
og_title: '[node:title]'
15+
og_title: '[node:display-title]'
1616
og_updated_time: '[node:changed:html_datetime]'
1717
og_url: '[current-page:url:absolute]'
1818
twitter_cards_image: '[node:shareable-image]'
1919
og_image: '[node:shareable-image]'
2020
og_description: '[node:lead-in]'
21+
twitter_cards_title: '[node:display-title] | [site:page-title-suffix]'

0 commit comments

Comments
 (0)