Skip to content

Commit 310d922

Browse files
hyrskyhel-platta-servicesundflux
authored
UHF-12838: Add aliases to hakuvahti URLS (#1259)
* Update configuration * UHF-12838: Add aliases to hakuvahti URLS * UHF-12838: Update modules * UHF-12838: Allow configuring mobilenote lookback offset * UHF-12838: Update modules * UHF-12838: Update hakuvahti * UHF-12838: Update theme * Update configuration * UHF-12838: Update theme * UHF-12838: Update theme * UHF-12838: Update theme * UHF-12838: Add map_url on sync * UHF-12838: check for coordinate count, we can't build link without * UHF-12838: +- tired eyes :) * UHF-12838: Fix sv page url * UHF-12838: Update hakuvahti module * UHF-12838: Update theme * UHF-12838: Update packages --------- Co-authored-by: hel-platta-service <188462459+hel-platta-service@users.noreply.github.com> Co-authored-by: Tarmo Sundström <tarmo.sundstrom@druid.fi>
1 parent d6274f4 commit 310d922

22 files changed

Lines changed: 252 additions & 98 deletions

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PHONY :=
22
PROJECT_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
3+
IS_CONTAINER := $(shell test ${CONTAINER_RUNNING} && echo true || echo false)
34

45
# Colors
56
NO_COLOR=\033[0m

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"drupal/hdbt_admin": "^3.0",
1616
"drupal/helfi_azure_fs": "^2.0",
1717
"drupal/helfi_drupal_tools": "dev-main",
18-
"drupal/helfi_hakuvahti": "^1.0",
18+
"drupal/helfi_hakuvahti": "^1.2.0",
1919
"drupal/helfi_navigation": "^2.0",
2020
"drupal/helfi_platform_config": "^5.0",
2121
"drupal/helfi_proxy": "^3.0",

composer.lock

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

conf/cmi/block.block.hdbt_subtheme_hakuvahti.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ visibility:
2222
request_path:
2323
id: request_path
2424
negate: false
25-
pages: "/pysakointi/ajoneuvojen-siirrot/ajoneuvojen-siirtokehotukset\r\n/parking/vehicle-removal/vehicle-removal-requests\r\n/parkering/forflyttning-av-fordon/flyttningsuppmaningar"
25+
pages: "/pysakointi/ajoneuvojen-siirrot/ajoneuvojen-siirtokehotukset\r\n/parking/vehicle-removal/vehicle-removal-requests\r\n/parkering/forflyttning-av-fordon/flyttningsuppmaningar-for-fordon"

conf/cmi/editor.editor.full_html.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
module:
88
- ckeditor5
99
_core:
10-
default_config_hash: oCDUwt4GjXQJeBCiJlq5NKEU0d9JP2Kx3QZKMuDAi_g
10+
default_config_hash: i1fLaAzni2rKBDARlCWA1xa79zo_RYF-8oQ3x9wxgfM
1111
format: full_html
1212
editor: ckeditor5
1313
settings:
@@ -151,6 +151,11 @@ settings:
151151
weight: 19
152152
search: '(<a\b[^>]*?)\s+target\s*=\s*("_blank"|_blank)'
153153
replace: $1
154+
-
155+
enabled: true
156+
weight: 20
157+
search: '&nbsp;'
158+
replace: ' '
154159
ckeditor5_sourceEditing:
155160
allowed_tags:
156161
- '<figure tabindex>'

conf/cmi/editor.editor.minimal.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
module:
88
- ckeditor5
99
_core:
10-
default_config_hash: 5XykmWxByyrIQ2N9_zHqVQlMtBUy9wc5P9lPrM_g7oQ
10+
default_config_hash: oE8ZPS7LMQvOJv0JDM2AJcGyPAti79fl6vzr3v-GWM0
1111
format: minimal
1212
editor: ckeditor5
1313
settings:
@@ -133,6 +133,11 @@ settings:
133133
weight: 19
134134
search: '(<a\b[^>]*?)\s+target\s*=\s*("_blank"|_blank)'
135135
replace: $1
136+
-
137+
enabled: true
138+
weight: 20
139+
search: '&nbsp;'
140+
replace: ' '
136141
ckeditor5_sourceEditing:
137142
allowed_tags:
138143
- '<p data-chat-trigger>'

conf/cmi/openid_connect.client.tunnistamo.yml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,33 @@ id: tunnistamo
88
label: Tunnistamo
99
plugin: tunnistamo
1010
settings:
11-
client_id: placeholder
12-
client_secret: placeholder
11+
client_id: ''
12+
client_secret: ''
1313
iss_allowed_domains: ''
14-
is_production: 0
14+
prompt:
15+
login: login
1516
auto_login: 0
1617
environment_url: ''
1718
client_scopes: 'openid,email'
1819
client_roles: { }
19-
debug_log: false
20+
ad_roles:
21+
-
22+
ad_role: Drupal_Helfi_kaupunkitaso_paakayttajat
23+
roles:
24+
- admin
25+
-
26+
ad_role: Drupal_Helfi_Kaupunkiymp_ja_liikenne_sisallontuottajat_laaja
27+
roles:
28+
- editor
29+
-
30+
ad_role: Drupal_Helfi_Kaupunkiymp_ja_liikenne_sisallontuottajat_suppea
31+
roles:
32+
- content_producer
33+
-
34+
ad_role: Drupal_Helfi_Etusivu_kayttajakyselyt
35+
roles:
36+
- survey_editor
37+
-
38+
ad_role: 947058f4-697e-41bb-baf5-f69b49e5579a
39+
roles:
40+
- super_administrator

conf/cmi/search_api.index.mobilenote_data.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ field_settings:
3737
datasource_id: mobilenote_data_source
3838
property_path: geometry
3939
type: geo_shape
40+
map_url:
41+
label: 'Map URL'
42+
datasource_id: mobilenote_data_source
43+
property_path: map_url
44+
type: string
4045
notes:
4146
label: Notes
4247
datasource_id: mobilenote_data_source

docker/openshift/crons/cron.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
while true
44
do
5-
echo "Running cron: $(date +'%Y-%m-%dT%H:%M:%S%:z')\n"
5+
echo "Running cron: $(date +'%Y-%m-%dT%H:%M:%S%:z')"
66
drush cron
77
# Sleep for 10 minutes.
88
sleep 600

docker/openshift/hooks/db-replace/50-sanitize.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ fi
77

88
# Obfuscate user data
99
drush sql:sanitize
10+
# Convert file schemes for Stage file proxy
11+
drush sql-query "UPDATE file_managed SET uri = REPLACE(uri, 'azure://', 'public://');"

0 commit comments

Comments
 (0)