Skip to content
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
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PHONY :=
PROJECT_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
IS_CONTAINER := $(shell test ${CONTAINER_RUNNING} && echo true || echo false)

# Colors
NO_COLOR=\033[0m
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"drupal/hdbt_admin": "^3.0",
"drupal/helfi_azure_fs": "^2.0",
"drupal/helfi_drupal_tools": "dev-main",
"drupal/helfi_hakuvahti": "^1.0",
"drupal/helfi_hakuvahti": "^1.2.0",
"drupal/helfi_navigation": "^2.0",
"drupal/helfi_platform_config": "^5.0",
"drupal/helfi_proxy": "^3.0",
Expand Down
76 changes: 38 additions & 38 deletions composer.lock

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

2 changes: 1 addition & 1 deletion conf/cmi/block.block.hdbt_subtheme_hakuvahti.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ visibility:
request_path:
id: request_path
negate: false
pages: "/pysakointi/ajoneuvojen-siirrot/ajoneuvojen-siirtokehotukset\r\n/parking/vehicle-removal/vehicle-removal-requests\r\n/parkering/forflyttning-av-fordon/flyttningsuppmaningar"
pages: "/pysakointi/ajoneuvojen-siirrot/ajoneuvojen-siirtokehotukset\r\n/parking/vehicle-removal/vehicle-removal-requests\r\n/parkering/forflyttning-av-fordon/flyttningsuppmaningar-for-fordon"
7 changes: 6 additions & 1 deletion conf/cmi/editor.editor.full_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
module:
- ckeditor5
_core:
default_config_hash: oCDUwt4GjXQJeBCiJlq5NKEU0d9JP2Kx3QZKMuDAi_g
default_config_hash: i1fLaAzni2rKBDARlCWA1xa79zo_RYF-8oQ3x9wxgfM
format: full_html
editor: ckeditor5
settings:
Expand Down Expand Up @@ -151,6 +151,11 @@ settings:
weight: 19
search: '(<a\b[^>]*?)\s+target\s*=\s*("_blank"|_blank)'
replace: $1
-
enabled: true
weight: 20
search: '&nbsp;'
replace: ' '
ckeditor5_sourceEditing:
allowed_tags:
- '<figure tabindex>'
Expand Down
7 changes: 6 additions & 1 deletion conf/cmi/editor.editor.minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
module:
- ckeditor5
_core:
default_config_hash: 5XykmWxByyrIQ2N9_zHqVQlMtBUy9wc5P9lPrM_g7oQ
default_config_hash: oE8ZPS7LMQvOJv0JDM2AJcGyPAti79fl6vzr3v-GWM0
format: minimal
editor: ckeditor5
settings:
Expand Down Expand Up @@ -133,6 +133,11 @@ settings:
weight: 19
search: '(<a\b[^>]*?)\s+target\s*=\s*("_blank"|_blank)'
replace: $1
-
enabled: true
weight: 20
search: '&nbsp;'
replace: ' '
ckeditor5_sourceEditing:
allowed_tags:
- '<p data-chat-trigger>'
Expand Down
29 changes: 25 additions & 4 deletions conf/cmi/openid_connect.client.tunnistamo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,33 @@ id: tunnistamo
label: Tunnistamo
plugin: tunnistamo
settings:
client_id: placeholder
client_secret: placeholder
client_id: ''
client_secret: ''
iss_allowed_domains: ''
is_production: 0
prompt:
login: login
auto_login: 0
environment_url: ''
client_scopes: 'openid,email'
client_roles: { }
debug_log: false
ad_roles:
-
ad_role: Drupal_Helfi_kaupunkitaso_paakayttajat
roles:
- admin
-
ad_role: Drupal_Helfi_Kaupunkiymp_ja_liikenne_sisallontuottajat_laaja
roles:
- editor
-
ad_role: Drupal_Helfi_Kaupunkiymp_ja_liikenne_sisallontuottajat_suppea
roles:
- content_producer
-
ad_role: Drupal_Helfi_Etusivu_kayttajakyselyt
roles:
- survey_editor
-
ad_role: 947058f4-697e-41bb-baf5-f69b49e5579a
roles:
- super_administrator
5 changes: 5 additions & 0 deletions conf/cmi/search_api.index.mobilenote_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ field_settings:
datasource_id: mobilenote_data_source
property_path: geometry
type: geo_shape
map_url:
label: 'Map URL'
datasource_id: mobilenote_data_source
property_path: map_url
type: string
notes:
label: Notes
datasource_id: mobilenote_data_source
Expand Down
2 changes: 1 addition & 1 deletion docker/openshift/crons/cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

while true
do
echo "Running cron: $(date +'%Y-%m-%dT%H:%M:%S%:z')\n"
echo "Running cron: $(date +'%Y-%m-%dT%H:%M:%S%:z')"
drush cron
# Sleep for 10 minutes.
sleep 600
Expand Down
2 changes: 2 additions & 0 deletions docker/openshift/hooks/db-replace/50-sanitize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ fi

# Obfuscate user data
drush sql:sanitize
# Convert file schemes for Stage file proxy
drush sql-query "UPDATE file_managed SET uri = REPLACE(uri, 'azure://', 'public://');"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sync_lookback_offset: '-30 days'
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,18 @@ helfi_kymp_content.project_search:
project_search_path:
type: path
label: 'Project search path'

helfi_kymp_content.settings:
type: config_object
label: 'Mobile note'
mapping:
address_api_key:
type: string
wfs_url:
type: string
wfs_username:
type: string
wfs_password:
type: string
sync_lookback_offset:
type: string
Loading
Loading