From afb488e9fe23c9450212b4d45956efc6ec6f4507 Mon Sep 17 00:00:00 2001 From: Amir Meshkin Date: Fri, 23 Aug 2024 12:36:54 -0400 Subject: [PATCH] FOIA-447: Installing confirm leave module and updating github workflow to uninstall the module. --- .github/workflows/test-pull-requests.yml | 1 + composer.json | 1 + composer.lock | 57 +++++++++++++++++++++++- config/default/core.extension.yml | 1 + 4 files changed, 59 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-pull-requests.yml b/.github/workflows/test-pull-requests.yml index eb0b57ca6..0a77e579e 100644 --- a/.github/workflows/test-pull-requests.yml +++ b/.github/workflows/test-pull-requests.yml @@ -21,6 +21,7 @@ jobs: ddev drush cim ddev drush cr ddev drush pmu samlauth + ddev drush pmu confirm_leave - name: Validate code run: ddev exec blt validate --no-interaction - name: Run tests diff --git a/composer.json b/composer.json index 03341153c..bb985cf22 100644 --- a/composer.json +++ b/composer.json @@ -26,6 +26,7 @@ "drupal/business_rules": "dev-3286389-drupal-10-compatibility", "drupal/ckeditor": "^1.0", "drupal/config_split": "^2.0", + "drupal/confirm_leave": "^1.0@beta", "drupal/consumers": "^1.17", "drupal/core-composer-scaffold": "^10.3.1", "drupal/core-project-message": "^10.3.1", diff --git a/composer.lock b/composer.lock index 1c91a79f2..6f778fd6a 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": "da0e5cb202e23ec3175c0d8a6f14570c", + "content-hash": "301d07cbb6809d77b02d100e9fbdff42", "packages": [ { "name": "acquia/blt", @@ -3290,6 +3290,60 @@ "slack": "https://drupal.slack.com/archives/C45342CDD" } }, + { + "name": "drupal/confirm_leave", + "version": "1.0.0-beta6", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/confirm_leave.git", + "reference": "8.x-1.0-beta6" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/confirm_leave-8.x-1.0-beta6.zip", + "reference": "8.x-1.0-beta6", + "shasum": "76c06c12742d12e33ad0828524a5837f15a34cfc" + }, + "require": { + "drupal/core": "^10 || ^11" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.0-beta6", + "datestamp": "1720209954", + "security-coverage": { + "status": "not-covered", + "message": "Beta releases are not covered by Drupal security advisories." + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-3.0+" + ], + "authors": [ + { + "name": "Mike Priscella", + "homepage": "https://drupal.org/u/mpriscella", + "role": "Maintainer" + }, + { + "name": "pookmish", + "homepage": "https://www.drupal.org/user/3059577" + } + ], + "description": "Provides a confirmation popup when a user tries to leave an edit form after modifying content.", + "homepage": "https://drupal.org/project/confirm_leave", + "keywords": [ + "confirm", + "confirm leave", + "leave" + ], + "support": { + "source": "https://git.drupalcode.org/project/confirm_leave" + } + }, { "name": "drupal/consumers", "version": "1.17.0", @@ -19379,6 +19433,7 @@ "acquia/blt-behat": 20, "drupal/auto_entitylabel": 10, "drupal/business_rules": 20, + "drupal/confirm_leave": 10, "drupal/dbug": 20, "drupal/entity_clone": 10, "drupal/feeds": 20, diff --git a/config/default/core.extension.yml b/config/default/core.extension.yml index 1cc71d251..2f2d09dc3 100644 --- a/config/default/core.extension.yml +++ b/config/default/core.extension.yml @@ -16,6 +16,7 @@ module: ckeditor5: 0 config: 0 config_split: 0 + confirm_leave: 0 consumers: 0 content_moderation: 0 contextual: 0