From 5faacb75053152a2255ba9ecda7263ba9e5cdbab Mon Sep 17 00:00:00 2001 From: Ari Perez Date: Tue, 12 Dec 2023 08:02:25 -0800 Subject: [PATCH 1/3] add siteimprov --- composer.json | 1 + composer.lock | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 79 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 88244583f..b60df95df 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/composer.lock b/composer.lock index ac70c515c..71ae906b9 100644 --- a/composer.lock +++ b/composer.lock @@ -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", @@ -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", @@ -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, From 5eb0cdf5a5ff6557a97fde2e9d1001824536848a Mon Sep 17 00:00:00 2001 From: Ari Perez Date: Tue, 12 Dec 2023 10:20:33 -0800 Subject: [PATCH 2/3] Update settings.php --- docroot/sites/default/settings.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docroot/sites/default/settings.php b/docroot/sites/default/settings.php index b22fa5300..84e37ae2f 100755 --- a/docroot/sites/default/settings.php +++ b/docroot/sites/default/settings.php @@ -88,6 +88,14 @@ */ $settings['entity_update_batch_size'] = 50; + +/** + * Site Improve + */ +$config['siteimprove.settings']['api_username'] = getenv('SITEIMPROVE_API_USER'); +$config['siteimprove.settings']['api_key'] = getenv('SITEIMPROVE_API_KEY'); + + /** * Image Style Settings * From 60d0a1198fd215766ef5e1d4ea692275037c57ea Mon Sep 17 00:00:00 2001 From: Ari Perez Date: Tue, 12 Dec 2023 10:28:08 -0800 Subject: [PATCH 3/3] Update settings.php --- docroot/sites/default/settings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/docroot/sites/default/settings.php b/docroot/sites/default/settings.php index 84e37ae2f..4af04a1b2 100755 --- a/docroot/sites/default/settings.php +++ b/docroot/sites/default/settings.php @@ -92,6 +92,7 @@ /** * 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');