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

VACMS-162707: siteimprove - load api vars from ENV #1461

Merged
merged 3 commits into from
Dec 12, 2023
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 composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
"drupal/seckit": "^2.0",
"drupal/seven": "^1.0@alpha",
"drupal/simplesamlphp_auth": "^4.0@RC",
"drupal/siteimprove": "2.0.x-dev@dev",
"drupal/sitewide_alert": "^2.0",
"drupal/slack": "^1.3",
"drupal/smart_date": "^4.0",
Expand Down
79 changes: 78 additions & 1 deletion composer.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "35774bde30d44b309b85235627346447",
"content-hash": "427b34c30a5c0dcad0292d12f991457b",
"packages": [
{
"name": "asm89/stack-cors",
Expand Down Expand Up @@ -12137,6 +12137,82 @@
"source": "https://git.drupalcode.org/project/simplesamlphp_auth"
}
},
{
"name": "drupal/siteimprove",
"version": "dev-2.0.x",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/siteimprove.git",
"reference": "d6a68d1c6c8adbb8cebdef40590608b6a78a66d9"
},
"require": {
"drupal/core": "^9.2 || ^10"
},
"require-dev": {
"drupal/domain_access": "*"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-2.0.x": "2.0.x-dev"
},
"drupal": {
"version": "2.0.1+4-dev",
"datestamp": "1701681306",
"security-coverage": {
"status": "not-covered",
"message": "Dev releases are not covered by Drupal security advisories."
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0+"
],
"authors": [
{
"name": "bartvig",
"homepage": "https://www.drupal.org/user/3107079"
},
{
"name": "beltofte",
"homepage": "https://www.drupal.org/user/151799"
},
{
"name": "cbccharlie",
"homepage": "https://www.drupal.org/user/616836"
},
{
"name": "Hjalteschurmann",
"homepage": "https://www.drupal.org/user/3730405"
},
{
"name": "kreynen",
"homepage": "https://www.drupal.org/user/48877"
},
{
"name": "rofejo",
"homepage": "https://www.drupal.org/user/3284851"
},
{
"name": "Siteimprove",
"homepage": "https://www.drupal.org/user/3521441"
},
{
"name": "tlyngej",
"homepage": "https://www.drupal.org/user/413139"
}
],
"description": "Integration with Siteimprove.",
"homepage": "https://www.drupal.org/project/siteimprove",
"keywords": [
"Drupal"
],
"support": {
"source": "https://git.drupalcode.org/project/siteimprove",
"issues": "https://www.drupal.org/project/issues/siteimprove"
}
},
{
"name": "drupal/sitewide_alert",
"version": "2.1.2",
Expand Down Expand Up @@ -26739,6 +26815,7 @@
"drupal/schemata": 10,
"drupal/seven": 15,
"drupal/simplesamlphp_auth": 5,
"drupal/siteimprove": 20,
"drupal/styleguide": 10,
"drupal/user_history": 15,
"drupal/viewfield": 10,
Expand Down
9 changes: 9 additions & 0 deletions docroot/sites/default/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@
*/
$settings['entity_update_batch_size'] = 50;


/**
* Site Improve
*/
$config['siteimprove.settings']['prepublish_enabled'] = TRUE;
$config['siteimprove.settings']['api_username'] = getenv('SITEIMPROVE_API_USER');
$config['siteimprove.settings']['api_key'] = getenv('SITEIMPROVE_API_KEY');


/**
* Image Style Settings
*
Expand Down
Loading