From 5eae3ee756956db8d6031667d0f42946b8e52e60 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 4 Apr 2024 18:00:00 +0100 Subject: [PATCH] Add rabbit_hole module --- composer.json | 3 +- composer.lock | 83 ++++++++++++++++++- config/sync/core.extension.yml | 1 + .../rabbit_hole.behavior_settings.default.yml | 14 ++++ ..._hole.behavior_settings.default_bundle.yml | 14 ++++ config/sync/system.performance.yml | 4 +- 6 files changed, 113 insertions(+), 6 deletions(-) create mode 100644 config/sync/rabbit_hole.behavior_settings.default.yml create mode 100644 config/sync/rabbit_hole.behavior_settings.default_bundle.yml diff --git a/composer.json b/composer.json index 7a6f058..e45fcc7 100644 --- a/composer.json +++ b/composer.json @@ -22,13 +22,14 @@ "drupal/core-recommended": "^10.2", "drupal/layout_builder_modal": "^1.2", "drupal/pathauto": "^1.12", + "drupal/rabbit_hole": "^1.0@beta", "drupal/redirect": "^1.9", "drush/drush": "^12.5" }, "conflict": { "drupal/drupal": "*" }, - "minimum-stability": "stable", + "minimum-stability": "beta", "prefer-stable": true, "config": { "allow-plugins": { diff --git a/composer.lock b/composer.lock index 4c02c60..363de08 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": "7c7f43b44886469147f028e7a3bed0ec", + "content-hash": "c366bf941b84fac1a54082cc3eff2d8a", "packages": [ { "name": "asm89/stack-cors", @@ -1769,6 +1769,81 @@ "documentation": "https://www.drupal.org/docs/8/modules/pathauto" } }, + { + "name": "drupal/rabbit_hole", + "version": "1.0.0-beta11", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/rabbit_hole.git", + "reference": "8.x-1.0-beta11" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/rabbit_hole-8.x-1.0-beta11.zip", + "reference": "8.x-1.0-beta11", + "shasum": "a5c3bd5d1a190e25bb4d339525dd71918015fea2" + }, + "require": { + "drupal/core": "^8 || ^9 || ^10" + }, + "require-dev": { + "drupal/commerce": "*", + "drupal/commerce_product": "*", + "drupal/file_entity": "*", + "drupal/group": "*", + "drupal/paragraphs-paragraphs_library": "*" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.0-beta11", + "datestamp": "1670668459", + "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-2.0+" + ], + "authors": [ + { + "name": "aleksey.tk", + "homepage": "https://www.drupal.org/user/22093" + }, + { + "name": "bohart", + "homepage": "https://www.drupal.org/user/289861" + }, + { + "name": "Dylan Donkersgoed", + "homepage": "https://www.drupal.org/user/2803351" + }, + { + "name": "Matroskeen", + "homepage": "https://www.drupal.org/user/3426249" + }, + { + "name": "mparker17", + "homepage": "https://www.drupal.org/user/536298" + }, + { + "name": "Odd Hill", + "homepage": "https://www.drupal.org/user/789934" + }, + { + "name": "olofbokedal", + "homepage": "https://www.drupal.org/user/1198438" + } + ], + "description": "Basic functionality that is shared among the different Rabbit Hole modules.", + "homepage": "https://www.drupal.org/project/rabbit_hole", + "support": { + "source": "https://git.drupalcode.org/project/rabbit_hole" + } + }, { "name": "drupal/redirect", "version": "1.9.0", @@ -6524,8 +6599,10 @@ ], "packages-dev": [], "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], + "minimum-stability": "beta", + "stability-flags": { + "drupal/rabbit_hole": 10 + }, "prefer-stable": true, "prefer-lowest": false, "platform": [], diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index f798206..f066504 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -37,6 +37,7 @@ module: page_cache: 0 path: 0 path_alias: 0 + rabbit_hole: 0 redirect: 0 search: 0 shortcut: 0 diff --git a/config/sync/rabbit_hole.behavior_settings.default.yml b/config/sync/rabbit_hole.behavior_settings.default.yml new file mode 100644 index 0000000..a480c95 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.default.yml @@ -0,0 +1,14 @@ +uuid: 4374e723-c52d-422c-b375-d24ffd7e60cf +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: hzh9CgsYCGxPEcbR3ieT1la6e43lMv-ivoN7oZJKkQQ +id: default +entity_type_id: null +entity_id: null +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 0 +redirect_fallback_action: access_denied diff --git a/config/sync/rabbit_hole.behavior_settings.default_bundle.yml b/config/sync/rabbit_hole.behavior_settings.default_bundle.yml new file mode 100644 index 0000000..65494c0 --- /dev/null +++ b/config/sync/rabbit_hole.behavior_settings.default_bundle.yml @@ -0,0 +1,14 @@ +uuid: 44680873-4e8e-4c8e-b11d-f31e3e11a594 +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: qUkgsWZRCa_sLIn5JsMzB3xnx5ekIsVeGGZr7T0s9MY +id: default_bundle +entity_type_id: null +entity_id: null +action: display_page +allow_override: 1 +redirect: '' +redirect_code: 0 +redirect_fallback_action: access_denied diff --git a/config/sync/system.performance.yml b/config/sync/system.performance.yml index 2219cf1..61f4e15 100644 --- a/config/sync/system.performance.yml +++ b/config/sync/system.performance.yml @@ -4,7 +4,7 @@ cache: page: max_age: 0 css: - preprocess: true + preprocess: false gzip: true fast_404: enabled: true @@ -12,5 +12,5 @@ fast_404: exclude_paths: '/\/(?:styles|imagecache)\//' html: '404 Not Found

Not Found

The requested URL "@path" was not found on this server.

' js: - preprocess: true + preprocess: false gzip: true