Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic update #884

Merged
merged 4 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
260 changes: 132 additions & 128 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ content:
weight: 1
region: content
settings:
linkit_auto_link_text: false
linkit_profile: helfi
linkit_auto_link_text: false
third_party_settings: { }
hidden:
created: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ content:
weight: 0
region: content
list:
weight: 100
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_hearings
label: 'Helfi: Hearing'
label_plural: 'Helfi: Hearing'
description: 'Helfi hearings from hearing api.'
generate_aliases: false
read_only: true
generate_aliases: false
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/field.field.node.landing_page.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ settings:
weight: 18
enabled: true
unit_contact_card:
weight: 19
weight: 18
enabled: true
unit_search:
weight: 17
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/field.field.node.page.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ settings:
weight: 20
enabled: true
unit_contact_card:
weight: 21
weight: 18
enabled: true
unit_search:
weight: 17
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/field.field.node.page.field_lower_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ settings:
weight: 21
enabled: true
unit_contact_card:
weight: 22
weight: 18
enabled: true
unit_search:
weight: 17
Expand Down
2 changes: 1 addition & 1 deletion conf/cmi/language/fi/system.action.node_edit_action.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
label: 'Edit content'
label: 'Muokkaa sisältöä'
1 change: 1 addition & 0 deletions conf/cmi/language/ru/core.entity_view_mode.media.card.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Card
1 change: 1 addition & 0 deletions conf/cmi/language/ru/responsive_image.styles.card.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Card
251 changes: 133 additions & 118 deletions public/themes/custom/hdbt_subtheme/package-lock.json

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions tools/make/docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ CLI_SHELL := sh
# Note: specification says this file would be compose.yaml
DOCKER_COMPOSE_YML_PATH ?= compose.yaml
DOCKER_COMPOSE_YML_EXISTS := $(shell test -f $(DOCKER_COMPOSE_YML_PATH) && echo yes || echo no)
DOCKER_ENV := $(shell test -f /.dockerenv && echo yes || echo no)
DOCKER_PROJECT_ROOT ?= /app
DOCKER_WARNING_INSIDE := You are inside the Docker container!

# If docker-compose.yml exists
ifeq ($(DOCKER_COMPOSE_YML_EXISTS),yes)
ifeq ($(DOCKER_ENV),yes)
RUN_ON := host
endif

# If compose.yaml exists
ifeq ($(DOCKER_ENV)-$(DOCKER_COMPOSE_YML_EXISTS),no-yes)
RUN_ON := docker
endif

Expand Down
9 changes: 9 additions & 0 deletions tools/make/drupal.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DRUSH_RSYNC_MODE ?= Pakzu
DRUSH_RSYNC_OPTS ?= -- --omit-dir-times --no-perms --no-group --no-owner --chmod=ugo=rwX
DRUSH_RSYNC_EXCLUDE ?= css:ctools:js:php:tmp:tmp_php
SYNC_TARGETS += drush-sync
SYNC_FROM_REMOTE ?= no
CS_EXTS := inc,php,module,install,profile,theme
CS_STANDARD_PATHS := vendor/drupal/coder/coder_sniffer,vendor/slevomat/coding-standard
CS_STANDARDS := Drupal,DrupalPractice
Expand All @@ -27,6 +28,10 @@ FIX_TARGETS += fix-drupal
DRUPAL_CREATE_FOLDERS := $(WEBROOT)/sites/default/files/private
DRUPAL_CREATE_FOLDERS += $(WEBROOT)/sites/default/files/translations

ifeq ($(LAGOON),yes)
SYNC_FROM_REMOTE := yes
endif

ifeq ($(GH_DUMP_ARTIFACT),yes)
DRUPAL_FRESH_TARGETS := gh-download-dump $(DRUPAL_FRESH_TARGETS)
endif
Expand Down Expand Up @@ -148,16 +153,20 @@ ifeq ($(DUMP_SQL_EXISTS),yes)
$(call step,Import local SQL dump...)
$(call drush,sql-query --file=${DOCKER_PROJECT_ROOT}/$(DUMP_SQL_FILENAME) && echo 'SQL dump imported')
else
ifeq ($(SYNC_FROM_REMOTE),yes)
$(call step,Sync database from @$(DRUPAL_SYNC_SOURCE)...)
$(call drush,sql-sync -y --structure-tables-key=common @$(DRUPAL_SYNC_SOURCE) @self)
endif
endif

PHONY += drush-sync-files
drush-sync-files: ## Sync files
ifeq ($(DRUPAL_SYNC_FILES),yes)
ifeq ($(SYNC_FROM_REMOTE),yes)
$(call step,Sync files from @$(DRUPAL_SYNC_SOURCE)...)
$(call drush,-y rsync --exclude-paths=$(DRUSH_RSYNC_EXCLUDE) --mode=$(DRUSH_RSYNC_MODE) @$(DRUPAL_SYNC_SOURCE):%files @self:%files $(DRUSH_RSYNC_OPTS))
endif
endif

PHONY += drush-create-dump
drush-create-dump: FLAGS := --structure-tables-key=common --extra-dump=--no-tablespaces
Expand Down
2 changes: 1 addition & 1 deletion tools/make/utils.mk
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ define remove_string
endef

define run
@${1} && printf "${2}\n" || printf "${RED}${3}${NO_COLOR}\n"
@${1} && printf "${2}\n" || (printf "${RED}${3}${NO_COLOR}\n" && exit 1)
endef