From 79b7893cce82be31af29401f5339f161aec21005 Mon Sep 17 00:00:00 2001 From: Don Richards Date: Mon, 4 Dec 2023 10:28:43 -0500 Subject: [PATCH] Add Backup & Migrate --- composer.json | 1 + composer.lock | 68 +++++++++++++++++++++++++- web/sites/default/default.services.yml | 33 +++++++++---- 3 files changed, 91 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 2b0436527..4ddf347f2 100644 --- a/composer.json +++ b/composer.json @@ -85,6 +85,7 @@ "cweagans/composer-patches": "^1.7", "drupal/admin_toolbar": "^3.4", "drupal/advanced_search": "^2.0", + "drupal/backup_migrate": "^5.0", "drupal/better_exposed_filters": "^6.0", "drupal/bibcite": "^3.0@beta", "drupal/block_class": "^2.0", diff --git a/composer.lock b/composer.lock index f6ea8d504..ac77ee523 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": "88e16de199facfd91c583f8fdb4b38b7", + "content-hash": "57e5351714885a7ef870cac07e55b414", "packages": [ { "name": "academicpuma/citeproc-php", @@ -1690,6 +1690,72 @@ "issues": "https://github.com/digitalutsc/advanced_search/issues" } }, + { + "name": "drupal/backup_migrate", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/backup_migrate.git", + "reference": "5.0.3" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/backup_migrate-5.0.3.zip", + "reference": "5.0.3", + "shasum": "bc263f601f7a21248d4000a372d04a417df7e326" + }, + "require": { + "drupal/core": "^9.3 || ^10" + }, + "suggest": { + "defuse/php-encryption": "Optional encryption of saved backups." + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "5.0.3", + "datestamp": "1671366510", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "See contributors", + "homepage": "https://www.drupal.org/node/189065/committers", + "role": "Developer" + }, + { + "name": "DamienMcKenna", + "homepage": "https://www.drupal.org/user/108450" + }, + { + "name": "dgorton", + "homepage": "https://www.drupal.org/user/19044" + }, + { + "name": "ikit-claw", + "homepage": "https://www.drupal.org/user/3285813" + }, + { + "name": "ronan", + "homepage": "https://www.drupal.org/user/72815" + } + ], + "description": "Backup and Migrate Drupal Module", + "homepage": "https://www.drupal.org/project/backup_migrate", + "support": { + "source": "https://git.drupalcode.org/project/backup_migrate", + "issues": "https://www.drupal.org/project/issues/backup_migrate", + "slack": "https://drupal.slack.com/messages/C7C4M4QJV/details/" + } + }, { "name": "drupal/better_exposed_filters", "version": "6.0.3", diff --git a/web/sites/default/default.services.yml b/web/sites/default/default.services.yml index 5ab4ec957..b4d27e05a 100644 --- a/web/sites/default/default.services.yml +++ b/web/sites/default/default.services.yml @@ -147,6 +147,14 @@ parameters: # # @default [] tags: [] + # Renderer cache debug: + # + # Allows cache debugging output for each rendered element. + # + # Enabling render cache debugging is not recommended in production + # environments. + # @default false + debug: false # Cacheability debugging: # # Responses with cacheability metadata (CacheableResponseInterface instances) @@ -161,15 +169,15 @@ parameters: # @default false http.response.debug_cacheability_headers: false factory.keyvalue: {} - # Default key/value storage service to use. - # @default keyvalue.database - # default: keyvalue.database - # Collection-specific overrides. - # state: keyvalue.database + # Default key/value storage service to use. + # @default keyvalue.database + # default: keyvalue.database + # Collection-specific overrides. + # state: keyvalue.database factory.keyvalue.expirable: {} - # Default key/value expirable storage service to use. - # @default keyvalue.database.expirable - # default: keyvalue.database.expirable + # Default key/value expirable storage service to use. + # @default keyvalue.database.expirable + # default: keyvalue.database.expirable # Allowed protocols for URL generation. filter_protocols: - http @@ -186,13 +194,18 @@ parameters: - webcal - rtsp + # Configure Cross-Site HTTP requests (CORS). + # Read https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS + # for more information about the topic in general. + # Note: By default the configuration is disabled. cors.config: - enabled: true + enabled: false # Specify allowed headers, like 'x-allowed-header'. allowedHeaders: [] # Specify allowed request methods, specify ['*'] to allow all possible ones. allowedMethods: [] - # Configure requests allowed from specific origins. + # Configure requests allowed from specific origins. Do not include trailing + # slashes with URLs. allowedOrigins: ['*'] # Sets the Access-Control-Expose-Headers header. exposedHeaders: false