Skip to content

Commit

Permalink
UHF-9755: Install cookie settings from helfi_platform_config
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Mar 25, 2024
1 parent 145488e commit f3a1d8e
Show file tree
Hide file tree
Showing 24 changed files with 35 additions and 55 deletions.
13 changes: 13 additions & 0 deletions conf/cmi/eu_cookie_compliance.cookie_category.chat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: 6f1bc78f-379c-4826-bcfb-a374144f2f76
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: xNnKeE0hcae-UY0_lNU6QCmWy0Or-D1YSjvlmrh2xuo
id: chat
label: 'Functional chat cookies'
description:
value: '<p>The chats on the hel.fi&nbsp; website require functional chat cookies to function. By using a chat, you automatically accept the functional cookies it requires.&nbsp; No separate cookie consent is needed. Functional chat cookies are only downloaded to your device if you start a chat.</p><figure class="table" tabindex="0"><table><thead><tr><th>Name</th><th>Provider</th><th>Purpose of the cookie</th><th>Validity</th><th>Type</th></tr></thead><tbody><tr><td>_genesys.widgets.*</td><td>hel.fi</td><td>Used for storing data required by the chat functionality.</td><td>Session</td><td>&nbsp;</td></tr><tr><td>leijuke.*</td><td>hel.fi</td><td>Used for storing data required by the chat functionality.</td><td>Session</td><td>&nbsp;</td></tr></tbody></table></figure>'
format: full_html
checkbox_default_state: unchecked
weight: -5
4 changes: 2 additions & 2 deletions conf/cmi/eu_cookie_compliance.cookie_category.essential.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ langcode: en
status: true
dependencies: { }
_core:
default_config_hash: _t7KlporqDL3DArj6oSOO8nYsti4sn1kbsjV_-srYzM
default_config_hash: ujEJIqkiAV4NaTCVYoK6BHX9wxK5UhNvgjF0PwWGPKA
id: essential
label: 'Essential cookies'
description:
value: "<p>Essential cookies help to make the website usable by allowing basic functions, navigating the page and using the protected areas of the site. The website will not work properly without these cookies and their consent is not required.</p>\r\n\r\n<table>\r\n\t<thead>\r\n\t\t<tr>\r\n\t\t\t<th>Name</th>\r\n\t\t\t<th>Provider</th>\r\n\t\t\t<th>Purpose of the cookie</th>\r\n\t\t\t<th>Validity</th>\r\n\t\t\t<th>Type</th>\r\n\t\t</tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td>cookie-agreed</td>\r\n\t\t\t<td>hel.fi</td>\r\n\t\t\t<td>Used by hel.fi Drupal to store information&nbsp;about whether visitors have given or declined the use of cookie categories used on the hel.fi site.</td>\r\n\t\t\t<td>100 days</td>\r\n\t\t\t<td></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>cookie-agreed-version</td>\r\n\t\t\t<td>hel.fi</td>\r\n\t\t\t<td>Used by hel.fi Drupal to store information&nbsp;about what version of the cookie consent the user has agreed to.</td>\r\n\t\t\t<td>100 days</td>\r\n\t\t\t<td></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>cookie-agreed-categories</td>\r\n\t\t\t<td>hel.fi</td>\r\n\t\t\t<td>Used by hel.fi Drupal to store information&nbsp;about what cookie categories the user has agreed to.</td>\r\n\t\t\t<td>100 days</td>\r\n\t\t\t<td></td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n"
value: '<p>Essential cookies help to make the website usable by allowing basic functions, navigating the page and using the protected areas of the site. The website will not work properly without these cookies and their consent is not required.</p><figure class="table" tabindex="0"><table><thead><tr><th>Name</th><th>Provider</th><th>Purpose of the cookie</th><th>Validity</th><th>Type</th></tr></thead><tbody><tr><td>cookiehub</td><td>cookiehub.com</td><td>Used by CookieHub to store information about whether visitors have given or declined the use of cookie categories used on the hel.fi site.</td><td>365 days</td><td>&nbsp;</td></tr><tr><td>cookie-agreed</td><td>hel.fi</td><td>Used by hel.fi Drupal to store information&nbsp;about whether visitors have given or declined the use of cookie categories used on the hel.fi site.</td><td>100 days</td><td>&nbsp;</td></tr><tr><td>cookie-agreed-version</td><td>hel.fi</td><td>Used by hel.fi Drupal to store information&nbsp;about what version of the cookie consent the user has agreed to.</td><td>100 days</td><td>&nbsp;</td></tr><tr><td>cookie-agreed-categories</td><td>hel.fi</td><td>Used by hel.fi Drupal to store information&nbsp;about what cookie categories the user has agreed to.</td><td>100 days</td><td>&nbsp;</td></tr><tr><td>SSESS*</td><td>hel.fi</td><td>A cookie related to the operation of the content management system.</td><td>23 days</td><td>&nbsp;</td></tr><tr><td>AWSELBCORS</td><td>siteimproveanalytics.io</td><td>The cookie is related to a load distribution function used to direct requests to servers with the least traffic.</td><td>Session</td><td>Third party</td></tr><tr><td>mtm_cookie_consent</td><td>kartta.hel.fi</td><td>A technical cookie that stores information about how you responded to the notice in the cookie banner about the use of cookies.</td><td>10950 days</td><td>&nbsp;</td></tr><tr><td>JSESSIONID</td><td><p>helsinkikanava.fi</p><p>coh-chat-app-prod.eu-de.mybluemix.net</p></td><td>The cookie is an obligatory cookie that facilitates visiting the website.</td><td>Session</td><td>Third party</td></tr><tr><td>COOKIE_SUPPORT</td><td>helsinkikanava.fi</td><td>The cookie facilitates managing cookies on the website.</td><td>365 days</td><td>Third party</td></tr><tr><td>GUEST_LANGUAGE_ID</td><td>helsinkikanava.fi</td><td>This cookie is generated by the Liferay, its&nbsp;function is to store the language preferences.</td><td>365 days</td><td>Third party</td></tr></tbody></table></figure>'
format: full_html
checkbox_default_state: required
weight: -9
4 changes: 2 additions & 2 deletions conf/cmi/eu_cookie_compliance.cookie_category.preference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ langcode: en
status: true
dependencies: { }
_core:
default_config_hash: Z1hhaGuFxO5u3okdCurl5uTPrPMl4SbozTZaBotYy3k
default_config_hash: YFGMD4KVRhhDUqFw1sVymoaelefU_LjdLgOF-fipCCQ
id: preference
label: Preference
description:
value: "<p>Preference cookies modify the visuals and functions of the website based on the user's previous sessions.</p>\r\n\r\n<table>\r\n\t<thead>\r\n\t\t<tr>\r\n\t\t\t<th>Name</th>\r\n\t\t\t<th>Provider</th>\r\n\t\t\t<th>Purpose of the cookie</th>\r\n\t\t\t<th>Validity</th>\r\n\t\t\t<th>Type</th>\r\n\t\t</tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td>ct0</td>\r\n\t\t\t<td>.twitter.com</td>\r\n\t\t\t<td>\r\n\t\t\t<p>This cookie is for authentication.</p>\r\n\t\t\t</td>\r\n\t\t\t<td>4 hours</td>\r\n\t\t\t<td>Third party</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>guest_id</td>\r\n\t\t\t<td>.twitter.com</td>\r\n\t\t\t<td>\r\n\t\t\t<p>This cookie is for authentication.</p>\r\n\t\t\t</td>\r\n\t\t\t<td>1 month</td>\r\n\t\t\t<td>Third party</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td></td>\r\n\t\t\t<td>facebook.com</td>\r\n\t\t\t<td>\r\n\t\t\t<p>Iframe pixel</p>\r\n\t\t\t</td>\r\n\t\t\t<td></td>\r\n\t\t\t<td>Third party</td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n"
value: '<p>Preference cookies modify the visuals and functions of the website based on the user''s previous sessions.</p><figure class="table" tabindex="0"><table><thead><tr><th>Name</th><th>Provider</th><th>Purpose of the cookie</th><th>Validity</th><th>Type</th></tr></thead><tbody><tr><td>httpskartta.hel.fi.SWCulture</td><td>kartta.hel.fi</td><td>The City''s map service cookie saves the language in which the service is used.</td><td>1826 days</td><td>&nbsp;</td></tr><tr><td>icareus-device</td><td>helsinkikanava.fi</td><td>The Helsinki Channel video server cookie facilitates including videos as part of the website''s content.</td><td>365 days</td><td>Third party</td></tr><tr><td>VISITOR_INFO1_LIVE</td><td>youtube.com</td><td>The YouTube cookie selects the old or new video player depending on the connection speed.</td><td>180 days</td><td>Third party</td></tr><tr><td>CONSENT</td><td>youtube.com</td><td>Used by Google to store user consent preferences</td><td>5947 days, 15 hours</td><td>Third party</td></tr></tbody></table></figure>'
format: full_html
checkbox_default_state: unchecked
weight: -8
4 changes: 2 additions & 2 deletions conf/cmi/eu_cookie_compliance.cookie_category.statistics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ langcode: en
status: true
dependencies: { }
_core:
default_config_hash: KE94aKL1mb_W5FdLIATbr09dWpldobitqdVQlR_gjYU
default_config_hash: NlhM_VFvjk8vl9Da66LXiKgwGHR3HUQaJrEE9cnID4s
id: statistics
label: Statistics
description:
value: "<p>The information collected by statistics cookies is used for developing the website.</p>\r\n\r\n<table>\r\n\t<thead>\r\n\t\t<tr>\r\n\t\t\t<th>Name</th>\r\n\t\t\t<th>Provider</th>\r\n\t\t\t<th>Purpose of the cookie</th>\r\n\t\t\t<th>Validity</th>\r\n\t\t\t<th>Type</th>\r\n\t\t</tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td>_pk_id.*</td>\r\n\t\t\t<td>hel.fi</td>\r\n\t\t\t<td>\r\n\t\t\t<p>Matomo Analytics - used to store a few details about the user such as the unique visitor ID</p>\r\n\t\t\t</td>\r\n\t\t\t<td>393 days</td>\r\n\t\t\t<td></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>_pk_ses.*</td>\r\n\t\t\t<td>hel.fi</td>\r\n\t\t\t<td>Matomo Analytics - short lived cookies used to temporarily store data for the visit</td>\r\n\t\t\t<td>1 hour</td>\r\n\t\t\t<td></td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n"
value: '<p>The information collected by statistics cookies is used for developing the website.</p><figure class="table" tabindex="0"><table><thead><tr><th>Name</th><th>Provider</th><th>Purpose of the cookie</th><th>Validity</th><th>Type</th></tr></thead><tbody><tr><td>nmstat</td><td>hel.fi</td><td>The Siteimprove statistics cookie collects information about the use of the website.</td><td>1000 days</td><td>&nbsp;</td></tr><tr><td>_pk_id.*</td><td>hel.fi</td><td>Matomo Analytics - used to store a few details about the user such as the unique visitor ID</td><td>393 days</td><td>&nbsp;</td></tr><tr><td>_pk_ses.141.89f6</td><td>hel.fi</td><td>-</td><td>1 hour</td><td>&nbsp;</td></tr><tr><td>_pk_id.*</td><td>kartta.hel.fi</td><td>Matomo Analytics - used to store a few details about the user such as the unique visitor ID</td><td>393 days</td><td>&nbsp;</td></tr><tr><td>_pk_ses.*</td><td>kartta.hel.fi</td><td>Matomo Analytics - short lived cookies used to temporarily store data for the visit</td><td>1 hour</td><td>&nbsp;</td></tr><tr><td>_pk_id.*</td><td>palvelukartta.hel.fi</td><td>Matomo Analytics - used to store a few details about the user such as the unique visitor ID</td><td>393 days</td><td>&nbsp;</td></tr><tr><td>_pk_ses.*</td><td>palvelukartta.hel.fi</td><td>Matomo Analytics - short lived cookies used to temporarily store data for the visit</td><td>1 hour</td><td>&nbsp;</td></tr><tr><td>rnsbid</td><td><span>reactandshare.com</span></td><td><p><span>A record related to the operation of the&nbsp;</span></p><p><span>Askem</span></p><p><span>&nbsp;react buttons.</span></p></td><td>-</td><td>Local storage</td></tr><tr><td>rnsbid_ts</td><td><span>reactandshare.com</span></td><td><p><span>A record related to the operation of the&nbsp;</span></p><p><span>Askem</span></p><p><span>&nbsp;react buttons.</span></p></td><td>-</td><td>Local storage</td></tr><tr><td>rns_reaction_*</td><td><span>reactandshare.com</span></td><td><p><span>A record related to the operation of the&nbsp;</span></p><p><span>Askem</span></p><p><span>&nbsp;react buttons.</span></p></td><td>-</td><td>Local storage</td></tr><tr><td>YSC</td><td>youtube.com</td><td>The YouTube cookie facilitates including videos as part of the website''s content.</td><td>Session</td><td>Third party</td></tr></tbody></table></figure>'
format: full_html
checkbox_default_state: unchecked
weight: -7
4 changes: 2 additions & 2 deletions conf/cmi/eu_cookie_compliance.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ better_support_for_screen_readers: false
method: categories
disabled_javascripts: ''
automatic_cookies_removal: true
allowed_cookies: "essential:AWSELB\r\nessential:AWSELBCORS\r\nessential:cookiehub\r\nessential:mtm_cookie_consent\r\nessential:frosmo_quickContext\r\nessential:id\r\nessential:JSESSIONID\r\nessential:COOKIE_SUPPORT\r\npreference:httpskartta.hel.fi.SWCulture\r\npreference:icareus-device\r\npreference:VISITOR_INFO1_LIVE\r\npreference:CONSENT\r\nstatistics:Snoobisession_hel_fi\r\nstatistics:Snoobi30minute_hel_fi\r\nstatistics:SnoobiID\r\nstatistics:nmstat\r\nstatistics:Snoobisession_hel_projektit\r\nstatistics:Snoobi30minute_hel_projektit\r\nstatistics:_pk_id.*\r\nstatistics:_pk_ses.141.89f6\r\nstatistics:_pk_id.*\r\nstatistics:_pk_ses.*\r\nstatistics:_pk_id.*\r\nstatistics:_pk_ses.*\r\nstatistics:__utma\r\nstatistics:__utmc\r\nstatistics:__utmz\r\nstatistics:__utmt\r\nstatistics:__utmb\r\nstatistics:__utmb\r\nstatistics:YSC\r\nmarketing:IDE\r\nchat:_genesys.widgets.*\r\nchat:__VCAP_ID__\r\nchat:gcReturnSessionId \r\nchat:gcAlternativeReturnUrl \r\nchat:gcReturnUrl \r\nchat:gcLoginButtonState\r\nchat:leijuke.*\r\nchat:connect.sid"
allowed_cookies: "helfi_accordions_open\r\nessential:AWSELBCORS\r\nessential:cookiehub\r\nessential:mtm_cookie_consent\r\nessential:JSESSIONID\r\nessential:COOKIE_SUPPORT\r\nessential:GUEST_LANGUAGE_ID\r\npreference:httpskartta.hel.fi.SWCulture\r\npreference:icareus-device\r\npreference:VISITOR_INFO1_LIVE\r\npreference:CONSENT\r\nstatistics:nmstat\r\nstatistics:_pk_id.*\r\nstatistics:_pk_ses.141.89f6\r\nstatistics:_pk_id.*\r\nstatistics:_pk_ses.*\r\nstatistics:_pk_id.*\r\nstatistics:_pk_ses.*\r\nstatistics:rnsbid\r\nstatistics:rnsbid_ts\r\nstatistics:rns_reaction_*\r\nstatistics:YSC\r\nchat:_genesys.widgets.*\r\nchat:leijuke.*"
consent_storage_method: do_not_store
withdraw_message:
value: '<h2>Hel.fi uses cookies</h2><p>You have given your consent for us to set cookies.</p>'
Expand All @@ -75,7 +75,7 @@ enable_save_preferences_button: true
domain_all_sites: true
settings_tab_enabled: false
containing_element: body
cookie_policy_version: 1.1.0
cookie_policy_version: 1.2.2
cookie_value_disagreed: '0'
cookie_value_agreed_show_thank_you: '1'
cookie_value_agreed: '2'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
description:
value: '<p>Toiminnallisten chat-evästeiden avulla mahdollistetaan helfi-sivujen chattien toiminta. Jos aloitat chatin, hyväksyt sen käyttöön liittyvät toiminnalliset evästeet automaattisesti.&nbsp; Evästeiden hyväksymiseen ei tällöin tarvita erillistä suostumusta. Toiminnallisia chat-evästeitä ladataan laitteellesi vain, jos käynnistät chatin.</p><figure class="table" tabindex="0"><table><thead><tr><th>Nimi</th><th>Tarjoaja</th><th>Tarkoitus</th><th>Voimassa</th><th>Tyyppi</th></tr></thead><tbody><tr><td>_genesys.widgets.*</td><td>hel.fi</td><td>Käytetään chatin tarvitseman datan tallentamiseen.</td><td>Istunto</td><td>&nbsp;</td></tr><tr><td>leijuke.*</td><td>hel.fi</td><td>Käytetään chatin tarvitseman datan tallentamiseen.</td><td>Istunto</td><td>&nbsp;</td></tr></tbody></table></figure>'
format: full_html
label: 'Toiminnalliset chat-evästeet'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
description:
value: "<p>Välttämättömät evästeet auttavat tekemään verkkosivustosta käyttökelpoisen sallimalla perustoimintoja, kuten sivulla siirtymisen ja sivuston suojattujen alueiden käytön. Verkkosivusto ei toimi kunnolla ilman näitä evästeitä eikä niihin tarvita suostumusta.</p>\r\n\r\n<table>\r\n\t<thead>\r\n\t\t<tr>\r\n\t\t\t<th>Nimi</th>\r\n\t\t\t<th>Tarjoaja</th>\r\n\t\t\t<th>Tarkoitus</th>\r\n\t\t\t<th>Voimassa</th>\r\n\t\t\t<th>Tyyppi</th>\r\n\t\t</tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td>cookie-agreed</td>\r\n\t\t\t<td>hel.fi</td>\r\n\t\t\t<td>Sivusto käyttää tätä evästettä tietojen tallentamiseen siitä, ovatko kävijät antaneet hyväksyntänsä tai kieltäytyneet evästeiden käytöstä.</td>\r\n\t\t\t<td>100 päivää</td>\r\n\t\t\t<td></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>cookie-agreed-version</td>\r\n\t\t\t<td>hel.fi</td>\r\n\t\t\t<td>Tähän evästeeseen tallennetaan käyttäjän hyväksymän evästeselosteen versio.</td>\r\n\t\t\t<td>100 päivää</td>\r\n\t\t\t<td></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>cookie-agreed-categories</td>\r\n\t\t\t<td>hel.fi</td>\r\n\t\t\t<td>Tähän evästeeseen on tallennettu käyttäjän hyväksymät evästekategoriat.</td>\r\n\t\t\t<td>100 päivää</td>\r\n\t\t\t<td></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>SSESS*</td>\r\n\t\t\t<td>hel.fi</td>\r\n\t\t\t<td><span><span>Sisällönhallintajärjestelmän toimintaan liittyvä eväste.</span></span></td>\r\n\t\t\t<td>23 päivää</td>\r\n\t\t\t<td></td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n"
value: '<p>Välttämättömät evästeet auttavat tekemään verkkosivustosta käyttökelpoisen sallimalla perustoimintoja, kuten sivulla siirtymisen ja sivuston suojattujen alueiden käytön. Verkkosivusto ei toimi kunnolla ilman näitä evästeitä eikä niihin tarvita suostumusta.</p><figure class="table" tabindex="0"><table><thead><tr><th>Nimi</th><th>Tarjoaja</th><th>Tarkoitus</th><th>Voimassa</th><th>Tyyppi</th></tr></thead><tbody><tr><td>cookiehub</td><td>Cookiehub</td><td>Mahdollistaa evästehallinnan hel.fi sivuilla.</td><td>365 päivää</td><td>&nbsp;</td></tr><tr><td>cookie-agreed</td><td>hel.fi</td><td>Sivusto käyttää tätä evästettä tietojen tallentamiseen siitä, ovatko kävijät antaneet hyväksyntänsä tai kieltäytyneet evästeiden käytöstä.</td><td>100 päivää</td><td>&nbsp;</td></tr><tr><td>cookie-agreed-version</td><td>hel.fi</td><td>Tähän evästeeseen tallennetaan käyttäjän hyväksymän evästeselosteen versio.</td><td>100 päivää</td><td>&nbsp;</td></tr><tr><td>cookie-agreed-categories</td><td>hel.fi</td><td>Tähän evästeeseen on tallennettu käyttäjän hyväksymät evästekategoriat.</td><td>100 päivää</td><td>&nbsp;</td></tr><tr><td>SSESS*</td><td>hel.fi</td><td><span>Sisällönhallintajärjestelmän toimintaan liittyvä eväste.</span></td><td>23 päivää</td><td>&nbsp;</td></tr><tr><td>AWSELBCORS</td><td>siteimproveanalytics.io</td><td>Eväste liittyy palvelinten kuormanjakotoiminnallisuuteen, jolla ohjataan pyynnöt vähimmällä käytöllä olevalle palvelimille.</td><td>Istunto</td><td>Kolmas osapuoli</td></tr><tr><td>mtm_cookie_consent</td><td>kartta.hel.fi</td><td>Tekninen eväste johon talletetaan tieto valinnastasi evästeiden käytöstä kertovan bannerin kohdalla</td><td>10950 päivää</td><td>&nbsp;</td></tr><tr><td>JSESSIONID</td><td><p>helsinkikanava.fi</p><p>coh-chat-app-prod.eu-de.mybluemix.net</p></td><td>Sivuston pakollinen eväste mahdollistaa kävijän vierailun sivustolla.</td><td>Istunto</td><td>Kolmas osapuoli</td></tr><tr><td>COOKIE_SUPPORT</td><td>helsinkikanava.fi</td><td>Mahdollistaa evästeiden hallinnan sivustolla.</td><td>365 päivää</td><td>Kolmas osapuoli</td></tr><tr><td>GUEST_LANGUAGE_ID</td><td>helsinkikanava.fi</td><td>Tämän evästeen on luonut Liferay, se&nbsp;tallentaa kieliasetukset.</td><td>365 päivää</td><td>Kolmas osapuoli</td></tr></tbody></table></figure>'
format: full_html
label: 'Välttämättömät toiminnalliset evästeet'
Loading

0 comments on commit f3a1d8e

Please sign in to comment.