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

Dev to main #705

Merged
merged 20 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
14d0ed7
UHF-10554: Prefer english when content does not have translation to c…
hyrsky Sep 12, 2024
6b0894e
Merge pull request #704 from City-of-Helsinki/UHF-10554
hyrsky Sep 12, 2024
a585703
Update configuration
hel-platta-automation Sep 16, 2024
f1544a8
Merge pull request #706 from City-of-Helsinki/update-configuration
hyrsky Sep 16, 2024
ba14a65
Update configuration
hel-platta-automation Sep 19, 2024
ee4e25c
Merge pull request #707 from City-of-Helsinki/update-configuration
hyrsky Sep 19, 2024
2134a58
UHF-10631: Add HelfiRecommendations entity
hyrsky Sep 24, 2024
ceff0d4
UHF-10631: Rename KeywordClient to ApiClient
hyrsky Sep 24, 2024
034bb97
UHF-10631: Rename KeywordManager to TopicsManager
hyrsky Sep 24, 2024
d97d60f
UHF-10631: Rename KeywordQueueWorker to QueueWorker
hyrsky Sep 24, 2024
bffb4d4
UHF-10631: Ensure content is not saved when keywords are generated
hyrsky Sep 24, 2024
5f3e609
UHF-10631: Fix recommendations block and tests
hyrsky Sep 24, 2024
0c338ed
UHF-10631: Configure form displays
hyrsky Sep 24, 2024
980d723
UHF-10631: Replace random function to pass Sonarcloud
hyrsky Sep 24, 2024
4010966
UHF-10631: Ignore GHSA-mg8j-w93w-xjgc
hyrsky Sep 24, 2024
dda03ee
Update configuration
hel-platta-automation Sep 24, 2024
b25c41c
Merge pull request #708 from City-of-Helsinki/update-configuration
khalima Sep 24, 2024
c703667
Merge pull request #709 from City-of-Helsinki/UHF-10631-recommendatio…
hyrsky Sep 24, 2024
ca4ae64
Update configuration
hel-platta-automation Sep 24, 2024
9a36d20
Merge pull request #710 from City-of-Helsinki/update-configuration
khalima Sep 24, 2024
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 .platform/schema
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8
9
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
"php-http/discovery": false
},
"audit": {
"abandoned": "report"
"abandoned": "report",
"ignore": ["GHSA-mg8j-w93w-xjgc"]
}
},
"extra": {
Expand Down
434 changes: 224 additions & 210 deletions composer.lock

Large diffs are not rendered by default.

24 changes: 8 additions & 16 deletions conf/cmi/core.entity_form_display.node.news_article.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ dependencies:
module:
- field_group
- hdbt_admin_tools
- helfi_annif
- linkit
- media_library
- paragraphs
- path
- publication_date
- radioactivity
- readonly_field_widget
- scheduler
- select2
third_party_settings:
Expand Down Expand Up @@ -78,9 +78,9 @@ third_party_settings:
required_fields: true
group_automatically_recommended:
children:
- annif_suggested_topics
- in_recommendations
- show_annif_block
- annif_keywords
label: 'Automatically recommended content'
region: content
parent_name: ''
Expand All @@ -99,19 +99,11 @@ targetEntityType: node
bundle: news_article
mode: default
content:
annif_keywords:
type: readonly_field_widget
weight: 30
annif_suggested_topics:
type: suggested_topics_reference
weight: 31
region: content
settings:
label: above
formatter_type: entity_reference_label
formatter_settings:
entity_reference_entity_view:
view_mode: default
entity_reference_label:
link: false
show_description: false
settings: { }
third_party_settings: { }
created:
type: datetime_timestamp
Expand Down Expand Up @@ -231,7 +223,7 @@ content:
third_party_settings: { }
in_recommendations:
type: boolean_checkbox
weight: 28
weight: 32
region: content
settings:
display_label: true
Expand Down Expand Up @@ -275,7 +267,7 @@ content:
third_party_settings: { }
show_annif_block:
type: boolean_checkbox
weight: 29
weight: 33
region: content
settings:
display_label: true
Expand Down
25 changes: 8 additions & 17 deletions conf/cmi/core.entity_form_display.node.news_item.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ dependencies:
module:
- field_group
- hdbt_admin_tools
- helfi_annif
- linkit
- media_library
- paragraphs
- path
- publication_date
- radioactivity
- readonly_field_widget
- scheduler
- select2
third_party_settings:
Expand Down Expand Up @@ -79,7 +79,6 @@ third_party_settings:
group_updating_news:
children:
- field_news_item_updating_news
- field_news_item_updating_news
label: 'Updating news'
region: content
parent_name: ''
Expand All @@ -94,9 +93,9 @@ third_party_settings:
required_fields: false
group_automatically_recommended:
children:
- annif_suggested_topics
- in_recommendations
- show_annif_block
- annif_keywords
label: 'Automatically recommended content'
region: content
parent_name: ''
Expand All @@ -115,19 +114,11 @@ targetEntityType: node
bundle: news_item
mode: default
content:
annif_keywords:
type: readonly_field_widget
weight: 2
annif_suggested_topics:
type: suggested_topics_reference
weight: 29
region: content
settings:
label: above
formatter_type: entity_reference_label
formatter_settings:
entity_reference_entity_view:
view_mode: default
entity_reference_label:
link: false
show_description: false
settings: { }
third_party_settings: { }
created:
type: datetime_timestamp
Expand Down Expand Up @@ -261,7 +252,7 @@ content:
third_party_settings: { }
in_recommendations:
type: boolean_checkbox
weight: 0
weight: 30
region: content
settings:
display_label: true
Expand Down Expand Up @@ -305,7 +296,7 @@ content:
third_party_settings: { }
show_annif_block:
type: boolean_checkbox
weight: 1
weight: 31
region: content
settings:
display_label: true
Expand Down
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: kfnLYqpxtvBYopdnyeB0TYzlfLynAY6hIegpzFNdDKw
default_config_hash: tsGLdAqnFNOsUkYbiBTtLnQLwrg4ySe6BnJzSBpAkFk
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><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 www.hel.fi site.</td><td>365 days</td><td>&nbsp;</td></tr><tr><td>cookie-agreed</td><td>www.hel.fi</td><td>Used by www.hel.fi Drupal to store information&nbsp;about whether visitors have given or declined the use of cookie categories used on the www.hel.fi site.</td><td>100 days</td><td>&nbsp;</td></tr><tr><td>cookie-agreed-version</td><td>www.hel.fi</td><td>Used by www.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>www.hel.fi</td><td>Used by www.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>cookie-agreed</td><td>avustukset.hel.fi</td><td>Used by avustukset.hel.fi Drupal to store information&nbsp;about whether visitors have given or declined the use of cookie categories used on the avustukset.hel.fi site.</td><td>100 days</td><td>&nbsp;</td></tr><tr><td>cookie-agreed-version</td><td>avustukset.hel.fi</td><td>Used by avustukset.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>avustukset.hel.fi</td><td>Used by avustukset.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>www.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>SSESS*</td><td>avustukset.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>JSESSIONID</td><td>coh-chat-app-prod.ow6i4n9pdzm.eu-de.codeengine.appdomain.cloud</td><td>Used for chat app functionality. Its value is used to access session data on server of the application.</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><tr><td>helfi-settings</td><td>www.hel.fi</td><td>Used by www.hel.fi Drupal to store information&nbsp;about closed announcements and accordions'' state.</td><td>-</td><td>Local storage</td></tr><tr><td>Drupal.visitor.autologout_login</td><td>avustukset.hel.fi</td><td>Used by avustukset.hel.fi Drupal to automatically logout user after a period of inactivity.</td><td>365 days</td><td>&nbsp;</td></tr></tbody></table></figure>'
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 www.hel.fi site.</td><td>365 days</td><td>&nbsp;</td></tr><tr><td>cookie-agreed</td><td>www.hel.fi</td><td>Used by www.hel.fi Drupal to store information&nbsp;about whether visitors have given or declined the use of cookie categories used on the www.hel.fi site.</td><td>100 days</td><td>&nbsp;</td></tr><tr><td>cookie-agreed-version</td><td>www.hel.fi</td><td>Used by www.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>www.hel.fi</td><td>Used by www.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>cookie-agreed</td><td>avustukset.hel.fi</td><td>Used by avustukset.hel.fi Drupal to store information&nbsp;about whether visitors have given or declined the use of cookie categories used on the avustukset.hel.fi site.</td><td>100 days</td><td>&nbsp;</td></tr><tr><td>cookie-agreed-version</td><td>avustukset.hel.fi</td><td>Used by avustukset.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>avustukset.hel.fi</td><td>Used by avustukset.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>www.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>SSESS*</td><td>avustukset.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>JSESSIONID</td><td>coh-chat-app-prod.ow6i4n9pdzm.eu-de.codeengine.appdomain.cloud</td><td>Used for chat app functionality. Its value is used to access session data on server of the application.</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><tr><td>helfi-settings</td><td>www.hel.fi</td><td>Used by www.hel.fi Drupal to store information&nbsp;about closed announcements and accordions'' state.</td><td>-</td><td>Local storage</td></tr><tr><td>Drupal.visitor.autologout_login</td><td>avustukset.hel.fi</td><td>Used by avustukset.hel.fi Drupal to automatically logout user after a period of inactivity.</td><td>365 days</td><td>&nbsp;</td></tr><tr><td>editoria11yResultCount</td><td>www.hel.fi</td><td>Tracks accessibility issues for the current page when logged in as an editor on hel.fi.</td><td>-</td><td>Local storage</td></tr><tr><td>Drupal.gin.sidebarExpanded.desktop</td><td>www.hel.fi</td><td>Stores whether the admin sidebar is expanded or collapsed on desktop when logged in as an editor on hel.fi.</td><td>-</td><td>Local storage</td></tr><tr><td>Drupal.gin.sidebarExpanded.mobile</td><td>www.hel.fi</td><td>Stores whether the admin sidebar is expanded or collapsed on mobile when logged in as an editor on hel.fi.</td><td>-</td><td>Local storage</td></tr><tr><td>Drupal.gin.darkmode</td><td>www.hel.fi</td><td>Stores the user''s dark mode preference in the admin theme when logged in as an editor on hel.fi.</td><td>-</td><td>Local storage</td></tr><tr><td>Drupal.toolbar.subtrees.*</td><td>www.hel.fi</td><td>Stores the expanded or collapsed state of submenus in the Drupal admin toolbar for a logged-in editor, ensuring consistency across page loads.</td><td>-</td><td>Local storage</td></tr><tr><td>Drupal.off-canvas.css.*</td><td>www.hel.fi</td><td>Stores cached CKEditor CSS in localStorage for a logged-in editor, using a key with a cache-busting query to ensure the latest CSS is loaded.</td><td>-</td><td>Local storage</td></tr><tr><td>ed11ySeen</td><td>www.hel.fi</td><td>Tracks which accessibility issues a logged-in editor has already seen to avoid duplicate notifications.</td><td>-</td><td>Local storage</td></tr><tr><td>editoria11yResultCount</td><td>www.hel.fi</td><td>Tracks the number of accessibility issues found on specific pages for a logged-in editor, helping monitor and address them.</td><td>-</td><td>Local storage</td></tr><tr><td>Drupal.toolbar.toolbarState</td><td>www.hel.fi</td><td>Stores the state of the admin toolbar for a logged-in editor, including its orientation, active tab and state of expansion.</td><td>Session</td><td>Session storage</td></tr><tr><td>escapeAdminPath</td><td>www.hel.fi</td><td>Stores the URL to redirect a logged-in editor from the admin interface back to the main site.</td><td>Session</td><td>Session storage</td></tr></tbody></table></figure>'
format: full_html
checkbox_default_state: required
weight: -9
2 changes: 1 addition & 1 deletion conf/cmi/language.entity.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ _core:
id: en
label: English
direction: ltr
weight: -8
weight: -11
locked: false
Loading
Loading