updated core to 9.1.0

This commit is contained in:
2024-09-17 12:15:25 +02:00
parent 8bd90a8a02
commit 4a39f21140
9 changed files with 2150 additions and 1336 deletions
+4 -4
View File
@@ -36,9 +36,9 @@
"drupal/config_filter": "^1.6", "drupal/config_filter": "^1.6",
"drupal/config_ignore": "^3.3", "drupal/config_ignore": "^3.3",
"drupal/context": "^4.1", "drupal/context": "^4.1",
"drupal/core-composer-scaffold": "^8.9", "drupal/core-composer-scaffold": "9.1.0",
"drupal/core-project-message": "^8.9", "drupal/core-project-message": "9.1.0",
"drupal/core-recommended": "^8.9", "drupal/core-recommended": "9.1.0",
"drupal/ctools": "^3.4", "drupal/ctools": "^3.4",
"drupal/date_range_formatter": "^4.0", "drupal/date_range_formatter": "^4.0",
"drupal/devel": "^4.0", "drupal/devel": "^4.0",
@@ -72,7 +72,7 @@
"drupal/url_to_video_filter": "^2.0", "drupal/url_to_video_filter": "^2.0",
"drupal/views_bulk_edit": "^2.6", "drupal/views_bulk_edit": "^2.6",
"drupal/views_bulk_operations": "^3.9", "drupal/views_bulk_operations": "^3.9",
"drupal/workflow": "1.3", "drupal/workflow": "1.6",
"drush/drush": "^10", "drush/drush": "^10",
"kint-php/kint": "^5.1", "kint-php/kint": "^5.1",
"vlucas/phpdotenv": "^2.4", "vlucas/phpdotenv": "^2.4",
Generated
+2108 -1267
View File
File diff suppressed because it is too large Load Diff
-4
View File
@@ -1,4 +0,0 @@
bc_entity_resource_permissions: false
_core:
default_config_hash: Jg3_yqsTIZ51KOKp3OV2KDVVrlx3N3OCEfniEse09KE
langcode: fr
-5
View File
@@ -1,5 +0,0 @@
bc_primitives_as_strings: false
bc_timestamp_normalizer_unix: false
_core:
default_config_hash: 6A1rmsmNf4SJrwCEt_aZyO_kPYuFnIOPC2n5lJiIftA
langcode: fr
+5 -5
View File
@@ -116,13 +116,13 @@ AddEncoding gzip svgz
# RewriteBase / # RewriteBase /
# Redirect common PHP files to their new locations. # Redirect common PHP files to their new locations.
RewriteCond %{REQUEST_URI} ^(.*)?/(install.php) [OR] RewriteCond %{REQUEST_URI} ^(.*)?/(install\.php) [OR]
RewriteCond %{REQUEST_URI} ^(.*)?/(rebuild.php) RewriteCond %{REQUEST_URI} ^(.*)?/(rebuild\.php)
RewriteCond %{REQUEST_URI} !core RewriteCond %{REQUEST_URI} !core
RewriteRule ^ %1/core/%2 [L,QSA,R=301] RewriteRule ^ %1/core/%2 [L,QSA,R=301]
# Rewrite install.php during installation to see if mod_rewrite is working # Rewrite install.php during installation to see if mod_rewrite is working
RewriteRule ^core/install.php core/install.php?rewrite=ok [QSA,L] RewriteRule ^core/install\.php core/install.php?rewrite=ok [QSA,L]
# Pass all requests not referring directly to files in the filesystem to # Pass all requests not referring directly to files in the filesystem to
# index.php. # index.php.
@@ -138,11 +138,11 @@ AddEncoding gzip svgz
# Allow access to PHP files in /core (like authorize.php or install.php): # Allow access to PHP files in /core (like authorize.php or install.php):
RewriteCond %{REQUEST_URI} !/core/[^/]*\.php$ RewriteCond %{REQUEST_URI} !/core/[^/]*\.php$
# Allow access to test-specific PHP files: # Allow access to test-specific PHP files:
RewriteCond %{REQUEST_URI} !/core/modules/system/tests/https?.php RewriteCond %{REQUEST_URI} !/core/modules/system/tests/https?\.php
# Allow access to Statistics module's custom front controller. # Allow access to Statistics module's custom front controller.
# Copy and adapt this rule to directly execute PHP files in contributed or # Copy and adapt this rule to directly execute PHP files in contributed or
# custom modules or to run another PHP application in the same directory. # custom modules or to run another PHP application in the same directory.
RewriteCond %{REQUEST_URI} !/core/modules/statistics/statistics.php$ RewriteCond %{REQUEST_URI} !/core/modules/statistics/statistics\.php$
# Deny access to any other PHP files that do not match the rules above. # Deny access to any other PHP files that do not match the rules above.
# Specifically, disallow autoload.php from being served directly. # Specifically, disallow autoload.php from being served directly.
RewriteRule "^(.+/.*|autoload)\.php($|/)" - [F] RewriteRule "^(.+/.*|autoload)\.php($|/)" - [F]
+8 -8
View File
@@ -45,17 +45,17 @@ Disallow: /comment/reply/
Disallow: /filter/tips Disallow: /filter/tips
Disallow: /node/add/ Disallow: /node/add/
Disallow: /search/ Disallow: /search/
Disallow: /user/register/ Disallow: /user/register
Disallow: /user/password/ Disallow: /user/password
Disallow: /user/login/ Disallow: /user/login
Disallow: /user/logout/ Disallow: /user/logout
# Paths (no clean URLs) # Paths (no clean URLs)
Disallow: /index.php/admin/ Disallow: /index.php/admin/
Disallow: /index.php/comment/reply/ Disallow: /index.php/comment/reply/
Disallow: /index.php/filter/tips Disallow: /index.php/filter/tips
Disallow: /index.php/node/add/ Disallow: /index.php/node/add/
Disallow: /index.php/search/ Disallow: /index.php/search/
Disallow: /index.php/user/password/ Disallow: /index.php/user/password
Disallow: /index.php/user/register/ Disallow: /index.php/user/register
Disallow: /index.php/user/login/ Disallow: /index.php/user/login
Disallow: /index.php/user/logout/ Disallow: /index.php/user/logout
+4 -5
View File
@@ -118,7 +118,8 @@ parameters:
# Cacheability debugging: # Cacheability debugging:
# #
# Responses with cacheability metadata (CacheableResponseInterface instances) # Responses with cacheability metadata (CacheableResponseInterface instances)
# get X-Drupal-Cache-Tags and X-Drupal-Cache-Contexts headers. # get X-Drupal-Cache-Tags, X-Drupal-Cache-Contexts and X-Drupal-Cache-Max-Age
# headers.
# #
# For more information about debugging cacheable responses, see # For more information about debugging cacheable responses, see
# https://www.drupal.org/developing/api/8/response/cacheable-response-interface # https://www.drupal.org/developing/api/8/response/cacheable-response-interface
@@ -126,15 +127,13 @@ parameters:
# Not recommended in production environments # Not recommended in production environments
# @default false # @default false
http.response.debug_cacheability_headers: false http.response.debug_cacheability_headers: false
factory.keyvalue: factory.keyvalue: {}
{}
# Default key/value storage service to use. # Default key/value storage service to use.
# @default keyvalue.database # @default keyvalue.database
# default: keyvalue.database # default: keyvalue.database
# Collection-specific overrides. # Collection-specific overrides.
# state: keyvalue.database # state: keyvalue.database
factory.keyvalue.expirable: factory.keyvalue.expirable: {}
{}
# Default key/value expirable storage service to use. # Default key/value expirable storage service to use.
# @default keyvalue.database.expirable # @default keyvalue.database.expirable
# default: keyvalue.database.expirable # default: keyvalue.database.expirable
+21 -37
View File
@@ -115,14 +115,6 @@ $databases = [];
* namespace. This is optional for projects managed with Composer if the * namespace. This is optional for projects managed with Composer if the
* driver's namespace is in Composer's autoloader. * driver's namespace is in Composer's autoloader.
* *
* Transaction support is enabled by default for all drivers that support it,
* including MySQL. To explicitly disable it, set the 'transactions' key to
* FALSE.
* Note that some configurations of MySQL, such as the MyISAM engine, don't
* support it and will proceed silently even if enabled. If you experience
* transaction related crashes with such configuration, set the 'transactions'
* key to FALSE.
*
* For each database, you may optionally specify multiple "target" databases. * For each database, you may optionally specify multiple "target" databases.
* A target database allows Drupal to try to send certain queries to a * A target database allows Drupal to try to send certain queries to a
* different database if it can but fall back to the default connection if not. * different database if it can but fall back to the default connection if not.
@@ -238,9 +230,9 @@ $databases = [];
* Sample Database configuration format for a driver in a contributed module: * Sample Database configuration format for a driver in a contributed module:
* @code * @code
* $databases['default']['default'] = [ * $databases['default']['default'] = [
* 'driver' => 'mydriver', * 'driver' => 'my_driver',
* 'namespace' => 'Drupal\mymodule\Driver\Database\mydriver', * 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
* 'autoload' => 'modules/mymodule/src/Driver/Database/mydriver/', * 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
* 'database' => 'databasename', * 'database' => 'databasename',
* 'username' => 'sqlusername', * 'username' => 'sqlusername',
* 'password' => 'sqlpassword', * 'password' => 'sqlpassword',
@@ -315,6 +307,20 @@ $settings['hash_salt'] = '';
*/ */
$settings['update_free_access'] = FALSE; $settings['update_free_access'] = FALSE;
/**
* Fallback to HTTP for Update Manager.
*
* If your Drupal site fails to connect to updates.drupal.org using HTTPS to
* fetch Drupal core, module and theme update status, you may uncomment this
* setting and set it to TRUE to allow an insecure fallback to HTTP. Note that
* doing so will open your site up to a potential man-in-the-middle attack. You
* should instead attempt to resolve the issues before enabling this option.
* @see https://www.drupal.org/docs/system-requirements/php-requirements#openssl
* @see https://en.wikipedia.org/wiki/Man-in-the-middle_attack
* @see \Drupal\update\UpdateFetcher
*/
# $settings['update_fetch_with_http_fallback'] = TRUE;
/** /**
* External access proxy settings: * External access proxy settings:
* *
@@ -448,35 +454,13 @@ $settings['update_free_access'] = FALSE;
/** /**
* Class Loader. * Class Loader.
* *
* If the APC extension is detected, the Symfony APC class loader is used for * If the APCu extension is detected, the classloader will be optimized to use
* performance reasons. Detection can be prevented by setting * it. Set to FALSE to disable this.
* class_loader_auto_detect to false, as in the example below. *
* @see https://getcomposer.org/doc/articles/autoloader-optimization.md
*/ */
# $settings['class_loader_auto_detect'] = FALSE; # $settings['class_loader_auto_detect'] = FALSE;
/*
* If the APC extension is not detected, either because APC is missing or
* because auto-detection has been disabled, auto-loading falls back to
* Composer's ClassLoader, which is good for development as it does not break
* when code is moved in the file system. You can also decorate the base class
* loader with another cached solution than the Symfony APC class loader, as
* all production sites should have a cached class loader of some sort enabled.
*
* To do so, you may decorate and replace the local $class_loader variable. For
* example, to use Symfony's APC class loader without automatic detection,
* uncomment the code below.
*/
/*
if ($settings['hash_salt']) {
$prefix = 'drupal.' . hash('sha256', 'drupal.' . $settings['hash_salt']);
$apc_loader = new \Symfony\Component\ClassLoader\ApcClassLoader($prefix, $class_loader);
unset($prefix);
$class_loader->unregister();
$apc_loader->register();
$class_loader = $apc_loader;
}
*/
/** /**
* Authorized file system operations: * Authorized file system operations:
* *
-1
View File
@@ -16,7 +16,6 @@ $autoloader = require_once 'autoload.php';
// Disable garbage collection during test runs. Under certain circumstances the // Disable garbage collection during test runs. Under certain circumstances the
// update path will create so many objects that garbage collection causes // update path will create so many objects that garbage collection causes
// segmentation faults. // segmentation faults.
require_once 'core/includes/bootstrap.inc';
if (drupal_valid_test_ua()) { if (drupal_valid_test_ua()) {
gc_collect_cycles(); gc_collect_cycles();
gc_disable(); gc_disable();