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

UHF-8650 Preparation for the HDS cookie banner module #832

Open
wants to merge 40 commits into
base: main
Choose a base branch
from

Conversation

khalima
Copy link
Contributor

@khalima khalima commented Oct 21, 2024

UHF-8650

What was done

  • Renamed the cookie policy to cookie settings.
  • Added default JSON without any cookies to "site_settings". This will prevent the JSON validation bug when enabling site specific cookie settings.
  • Changed the cookie policy page controller to cookie settings page controller.
  • Converted the cookie banner attachment to a service.
  • Added install hooks for the cookie banner module and uninstall hook for the helfi eu cookie compliance module.
  • Added tests for the Cookie settings service.

How to install

  • Make sure your instance is up and running on latest dev branch.
    • git pull origin dev
    • make fresh
  • Update the Helfi Platform config
    • composer require drupal/helfi_platform_config:dev-UHF-8650 drupal/hdbt:dev-UHF-8650 -W
  • Run make drush-updb drush-cr

How to test

Check testing instructions from City-of-Helsinki/drupal-hdbt#1083

Other PRs

@khalima khalima requested a review from tuutti October 23, 2024 14:26
Copy link

sonarcloud bot commented Oct 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants