Skip to content
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compose.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ services:
app:
user: "1001:1001"
environment:
SYMFONY_DEPRECATIONS_HELPER: disabled
COMPOSER_MIRROR_PATH_REPOS: 1
BROWSERTEST_OUTPUT_DIRECTORY: /app/results
8 changes: 7 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ services:
volumes:
- .:/app:delegated
depends_on:
- db
db:
condition: service_healthy
environment:
WEBROOT: /app/public
STAGE_FILE_PROXY_ORIGIN: "${STAGE_FILE_PROXY_ORIGIN}"
Expand Down Expand Up @@ -57,12 +58,17 @@ services:
- --max_allowed_packet=512M
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_swedish_ci
- --skip-log-bin
environment:
MYSQL_DATABASE: drupal
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
MYSQL_INITDB_SKIP_TZINFO: 1
MYSQL_RANDOM_ROOT_PASSWORD: 1
healthcheck:
test: mysqladmin ping -h 127.0.0.1 -u $$MYSQL_USER --password=$$MYSQL_PASSWORD
timeout: 1s
retries: 30
volumes:
- db_volume:/var/lib/mysql
ports:
Expand Down
692 changes: 394 additions & 298 deletions composer.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion conf/cmi/csp.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ enforce:
frame-ancestors:
base: self
reporting:
plugin: raven
plugin: none
4 changes: 2 additions & 2 deletions conf/cmi/field.field.paragraph.hero.field_hero_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ dependencies:
- field.storage.paragraph.field_hero_title
- paragraphs.paragraphs_type.hero
_core:
default_config_hash: M_9WbyHp-nRmfEt8Xwa1wU-HGs89Sb8wO08PQzhRhdo
default_config_hash: UurxQySq270gOUXF1wFOeuAof1ws42Rja6dyEyNlI10
id: paragraph.hero.field_hero_title
field_name: field_hero_title
entity_type: paragraph
bundle: hero
label: 'Hero heading'
description: "If a hero is used on the page, this heading will be used as the page's main heading."
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.'
required: true
translatable: false
default_value: { }
Expand Down
6 changes: 5 additions & 1 deletion conf/cmi/imagecache_external.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ imagecache_default_extension: .jpg
imagecache_external_batch_flush_limit: 1000
imagecache_external_hosts: ''
imagecache_external_management: unmanaged
imagecache_external_use_whitelist: true
imagecache_external_use_whitelist: false
imagecache_fallback_image: 0
imagecache_external_allowed_mimetypes:
- image/jpg
Expand All @@ -25,3 +25,7 @@ imagecache_external_allowed_mimetypes:
- image/webp
- image/webp;charset=utf-8
imagecache_external_cron_flush_frequency: 0
svg_settings:
allowed_tags: { }
allowed_attributes: { }
imagecache_external_cron_flush_originals: true
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
label: 'Heron otsikko'
description: 'Heron otsikon ja sivun otsikon pitää olla sama. Herossa käytetään heron otsikkoa mutta metatiedoissa ja URL-osoitteessa sivun otsikkoa.'
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.'
5 changes: 3 additions & 2 deletions conf/cmi/metatag.metatag_defaults.node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ dependencies: { }
id: node
label: Content
tags:
title: '[node:title] | [site:page-title-suffix]'
title: '[node:display-title] | [site:page-title-suffix]'
description: '[node:lead-in]'
canonical_url: '[node:url]'
article_modified_time: '[node:changed:html_datetime]'
article_published_time: '[node:created:html_datetime]'
og_title: '[node:title]'
og_title: '[node:display-title]'
og_updated_time: '[node:changed:html_datetime]'
og_url: '[current-page:url:absolute]'
twitter_cards_image: '[node:shareable-image]'
og_image: '[node:shareable-image]'
og_description: '[node:lead-in]'
twitter_cards_title: '[node:display-title] | [site:page-title-suffix]'
5 changes: 2 additions & 3 deletions conf/cmi/metatag.metatag_defaults.node__landing_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ langcode: en
status: true
dependencies: { }
_core:
default_config_hash: IxbBxQpwTHAosiqZXzMlXTSiLA2-mZs2g4lZ48xwpkA
default_config_hash: J8jShGQTBJ698TwyiPjWS6y-zmzSHLi4YX2zF4RQNLw
id: node__landing_page
label: 'Content: Landing page'
tags:
description: '[node:field_hero:entity:field_hero_desc]'
tags: { }
7 changes: 4 additions & 3 deletions conf/cmi/search_api.index.embeddings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ field_settings:
configuration:
absolute: false
datasource_settings:
'uuid_entity:node':
'entity:node':
bundles:
default: '0'
default: false
selected:
- landing_page
- page
languages:
default: '1'
default: true
selected: { }
processor_settings:
add_url: { }
Expand All @@ -57,4 +57,5 @@ options:
delete_on_fail: true
index_directly: false
track_changes_in_references: true
helfi_platform_config_multisite: true
server: etusivu
3 changes: 2 additions & 1 deletion conf/cmi/search_api.index.hyte.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
- helfi_recommendations
- helfi_tpr
_core:
default_config_hash: H4ELmk2b4nXnVuXM2qvPGFrHYQtp0dOwCgi5VNo0Mk8
default_config_hash: x9qWvsW38Q11ewEpYTHmFUJYX8VTev4MI1KaCuRWLLs
id: hyte
name: Hyte
description: ''
Expand Down Expand Up @@ -119,4 +119,5 @@ options:
delete_on_fail: true
index_directly: true
track_changes_in_references: true
helfi_platform_config_multisite: true
server: etusivu
2 changes: 1 addition & 1 deletion docker/openshift/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG DRUPAL_DOCKER_TAG=8.4
FROM ghcr.io/city-of-helsinki/drupal-docker-base:${DRUPAL_DOCKER_TAG}
FROM ghcr.io/city-of-helsinki/drupal-docker-base:${DRUPAL_DOCKER_TAG:-8.4}

COPY / /var/www/html/
WORKDIR /var/www/html
Expand Down
38 changes: 0 additions & 38 deletions public/themes/custom/hdbt_subtheme/.csscomb.json

This file was deleted.

2 changes: 1 addition & 1 deletion public/themes/custom/hdbt_subtheme/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
root = true

[*]
end_of_line = LF
end_of_line = lf
indent_style = space
indent_size = 2
charset = utf-8
Expand Down
1 change: 0 additions & 1 deletion public/themes/custom/hdbt_subtheme/.eslintignore

This file was deleted.

76 changes: 0 additions & 76 deletions public/themes/custom/hdbt_subtheme/.eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions public/themes/custom/hdbt_subtheme/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "extends": ["@hdbt/theme-builder/biome"] }
1 change: 1 addition & 0 deletions public/themes/custom/hdbt_subtheme/dist/css/styles.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

108 changes: 54 additions & 54 deletions public/themes/custom/hdbt_subtheme/dist/js/hyte-search.min.js

Large diffs are not rendered by default.

Loading
Loading