updated core to 10.5.3
This commit is contained in:
@@ -42,6 +42,9 @@
|
|||||||
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
|
|
||||||
|
# PHPStan's baseline uses tabs instead of spaces.
|
||||||
|
core/.phpstan-baseline.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tabwidth=2 diff=php linguist-language=php
|
||||||
|
|
||||||
# Define binary file attributes.
|
# Define binary file attributes.
|
||||||
# - Do not treat them as text.
|
# - Do not treat them as text.
|
||||||
# - Include binary diff in patches instead of "binary files differ."
|
# - Include binary diff in patches instead of "binary files differ."
|
||||||
|
|||||||
+5
-3
@@ -22,12 +22,13 @@
|
|||||||
"drupal/advanced_email_validation": "^1.1",
|
"drupal/advanced_email_validation": "^1.1",
|
||||||
"drupal/amswap": "^3.2",
|
"drupal/amswap": "^3.2",
|
||||||
"drupal/autotitle": "^1.3",
|
"drupal/autotitle": "^1.3",
|
||||||
|
"drupal/better_exposed_filters": "^6.0",
|
||||||
"drupal/conditional_fields": "^4.0@alpha",
|
"drupal/conditional_fields": "^4.0@alpha",
|
||||||
"drupal/config_pages": "^2.15",
|
"drupal/config_pages": "^2.15",
|
||||||
"drupal/content_as_config": "^1.0",
|
"drupal/content_as_config": "^1.0",
|
||||||
"drupal/core-composer-scaffold": "^10.1",
|
"drupal/core-composer-scaffold": "^10.1",
|
||||||
"drupal/core-project-message": "^10.1",
|
"drupal/core-project-message": "^10.1",
|
||||||
"drupal/core-recommended": "^10.1",
|
"drupal/core-recommended": "^10.4",
|
||||||
"drupal/field_permissions": "^1.3",
|
"drupal/field_permissions": "^1.3",
|
||||||
"drupal/image_delta_formatter": "^1.2",
|
"drupal/image_delta_formatter": "^1.2",
|
||||||
"drupal/image_field_caption": "^2.0",
|
"drupal/image_field_caption": "^2.0",
|
||||||
@@ -43,11 +44,12 @@
|
|||||||
"drupal/paragraphs": "^1.16",
|
"drupal/paragraphs": "^1.16",
|
||||||
"drupal/phone_number": "^2.0@alpha",
|
"drupal/phone_number": "^2.0@alpha",
|
||||||
"drupal/quick_node_clone": "^1.18",
|
"drupal/quick_node_clone": "^1.18",
|
||||||
"drupal/rules": "^3.0@alpha",
|
"drupal/rules": "^4",
|
||||||
"drupal/social_media_links": "^2.9",
|
"drupal/social_media_links": "^2.9",
|
||||||
"drupal/typed_data": "^1.0@beta",
|
"drupal/typed_data": "^2",
|
||||||
"drupal/views_argument_token": "^2.0",
|
"drupal/views_argument_token": "^2.0",
|
||||||
"drupal/webform": "^6.2",
|
"drupal/webform": "^6.2",
|
||||||
|
"drush/drush": "^12",
|
||||||
"wikimedia/composer-merge-plugin": "^2.1"
|
"wikimedia/composer-merge-plugin": "^2.1"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
|
|||||||
Generated
+1202
-1140
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
Please read core/INSTALL.txt for detailed installation instructions for your
|
Read core/INSTALL.txt for detailed installation instructions for your Drupal
|
||||||
Drupal website.
|
website.
|
||||||
|
|||||||
Submodule web/profiles/drupal-starterkit-profile updated: 2eecc15c17...7787534e70
+9
-1
@@ -37,7 +37,15 @@ Allow: /profiles/*.svg
|
|||||||
Disallow: /core/
|
Disallow: /core/
|
||||||
Disallow: /profiles/
|
Disallow: /profiles/
|
||||||
# Files
|
# Files
|
||||||
Disallow: /README.txt
|
Disallow: /README.md
|
||||||
|
Disallow: /composer/Metapackage/README.txt
|
||||||
|
Disallow: /composer/Plugin/ProjectMessage/README.md
|
||||||
|
Disallow: /composer/Plugin/Scaffold/README.md
|
||||||
|
Disallow: /composer/Plugin/VendorHardening/README.txt
|
||||||
|
Disallow: /composer/Template/README.txt
|
||||||
|
Disallow: /modules/README.txt
|
||||||
|
Disallow: /sites/README.txt
|
||||||
|
Disallow: /themes/README.txt
|
||||||
Disallow: /web.config
|
Disallow: /web.config
|
||||||
# Paths (clean URLs)
|
# Paths (clean URLs)
|
||||||
Disallow: /admin/
|
Disallow: /admin/
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
parameters:
|
parameters:
|
||||||
|
# Toggles the super user access policy. If your website has at least one user
|
||||||
|
# with the Administrator role, it is advised to set this to false. This allows
|
||||||
|
# you to make user 1 a regular user, strengthening the security of your site.
|
||||||
|
security.enable_super_user: true
|
||||||
session.storage.options:
|
session.storage.options:
|
||||||
# Default ini options for sessions.
|
# Default ini options for sessions.
|
||||||
#
|
#
|
||||||
@@ -60,6 +64,11 @@ parameters:
|
|||||||
# \Drupal\Core\Session\SessionConfiguration::__construct()
|
# \Drupal\Core\Session\SessionConfiguration::__construct()
|
||||||
# @default 6
|
# @default 6
|
||||||
sid_bits_per_character: 6
|
sid_bits_per_character: 6
|
||||||
|
# By default, Drupal generates a session cookie name based on the full
|
||||||
|
# domain name. Set the name_suffix to a short random string to ensure this
|
||||||
|
# session cookie name is unique on different installations on the same
|
||||||
|
# domain and path (for example, when migrating from Drupal 7).
|
||||||
|
name_suffix: ''
|
||||||
twig.config:
|
twig.config:
|
||||||
# Twig debugging:
|
# Twig debugging:
|
||||||
#
|
#
|
||||||
@@ -214,6 +223,8 @@ parameters:
|
|||||||
# Configure requests allowed from specific origins. Do not include trailing
|
# Configure requests allowed from specific origins. Do not include trailing
|
||||||
# slashes with URLs.
|
# slashes with URLs.
|
||||||
allowedOrigins: ['*']
|
allowedOrigins: ['*']
|
||||||
|
# Configure requests allowed from origins, matching against regex patterns.
|
||||||
|
allowedOriginsPatterns: []
|
||||||
# Sets the Access-Control-Expose-Headers header.
|
# Sets the Access-Control-Expose-Headers header.
|
||||||
exposedHeaders: false
|
exposedHeaders: false
|
||||||
# Sets the Access-Control-Max-Age header.
|
# Sets the Access-Control-Max-Age header.
|
||||||
|
|||||||
@@ -24,18 +24,18 @@
|
|||||||
* 'sites/default' will be used.
|
* 'sites/default' will be used.
|
||||||
*
|
*
|
||||||
* For example, for a fictitious site installed at
|
* For example, for a fictitious site installed at
|
||||||
* https://www.drupal.org:8080/mysite/test/, the 'settings.php' file is searched
|
* https://www.drupal.org:8080/my-site/test/, the 'settings.php' file is searched
|
||||||
* for in the following directories:
|
* for in the following directories:
|
||||||
*
|
*
|
||||||
* - sites/8080.www.drupal.org.mysite.test
|
* - sites/8080.www.drupal.org.my-site.test
|
||||||
* - sites/www.drupal.org.mysite.test
|
* - sites/www.drupal.org.my-site.test
|
||||||
* - sites/drupal.org.mysite.test
|
* - sites/drupal.org.my-site.test
|
||||||
* - sites/org.mysite.test
|
* - sites/org.my-site.test
|
||||||
*
|
*
|
||||||
* - sites/8080.www.drupal.org.mysite
|
* - sites/8080.www.drupal.org.my-site
|
||||||
* - sites/www.drupal.org.mysite
|
* - sites/www.drupal.org.my-site
|
||||||
* - sites/drupal.org.mysite
|
* - sites/drupal.org.my-site
|
||||||
* - sites/org.mysite
|
* - sites/org.my-site
|
||||||
*
|
*
|
||||||
* - sites/8080.www.drupal.org
|
* - sites/8080.www.drupal.org
|
||||||
* - sites/www.drupal.org
|
* - sites/www.drupal.org
|
||||||
@@ -46,8 +46,8 @@
|
|||||||
*
|
*
|
||||||
* Note that if you are installing on a non-standard port number, prefix the
|
* Note that if you are installing on a non-standard port number, prefix the
|
||||||
* hostname with that number. For example,
|
* hostname with that number. For example,
|
||||||
* https://www.drupal.org:8080/mysite/test/ could be loaded from
|
* https://www.drupal.org:8080/my-site/test/ could be loaded from
|
||||||
* sites/8080.www.drupal.org.mysite.test/.
|
* sites/8080.www.drupal.org.my-site.test/.
|
||||||
*
|
*
|
||||||
* @see example.sites.php
|
* @see example.sites.php
|
||||||
* @see \Drupal\Core\DrupalKernel::getSitePath()
|
* @see \Drupal\Core\DrupalKernel::getSitePath()
|
||||||
@@ -77,9 +77,9 @@
|
|||||||
*
|
*
|
||||||
* @code
|
* @code
|
||||||
* $databases['default']['default'] = [
|
* $databases['default']['default'] = [
|
||||||
* 'database' => 'databasename',
|
* 'database' => 'database_name',
|
||||||
* 'username' => 'sqlusername',
|
* 'username' => 'sql_username',
|
||||||
* 'password' => 'sqlpassword',
|
* 'password' => 'sql_password',
|
||||||
* 'host' => 'localhost',
|
* 'host' => 'localhost',
|
||||||
* 'port' => '3306',
|
* 'port' => '3306',
|
||||||
* 'driver' => 'mysql',
|
* 'driver' => 'mysql',
|
||||||
@@ -181,8 +181,8 @@ $databases = [];
|
|||||||
*
|
*
|
||||||
* WARNING: The above defaults are designed for database portability. Changing
|
* WARNING: The above defaults are designed for database portability. Changing
|
||||||
* them may cause unexpected behavior, including potential data loss. See
|
* them may cause unexpected behavior, including potential data loss. See
|
||||||
* https://www.drupal.org/developing/api/database/configuration for more
|
* https://www.drupal.org/docs/8/api/database-api/database-configuration for
|
||||||
* information on these defaults and the potential issues.
|
* more information on these defaults and the potential issues.
|
||||||
*
|
*
|
||||||
* More details can be found in the constructor methods for each driver:
|
* More details can be found in the constructor methods for each driver:
|
||||||
* - \Drupal\mysql\Driver\Database\mysql\Connection::__construct()
|
* - \Drupal\mysql\Driver\Database\mysql\Connection::__construct()
|
||||||
@@ -193,9 +193,9 @@ $databases = [];
|
|||||||
* @code
|
* @code
|
||||||
* $databases['default']['default'] = [
|
* $databases['default']['default'] = [
|
||||||
* 'driver' => 'pgsql',
|
* 'driver' => 'pgsql',
|
||||||
* 'database' => 'databasename',
|
* 'database' => 'database_name',
|
||||||
* 'username' => 'sqlusername',
|
* 'username' => 'sql_username',
|
||||||
* 'password' => 'sqlpassword',
|
* 'password' => 'sql_password',
|
||||||
* 'host' => 'localhost',
|
* 'host' => 'localhost',
|
||||||
* 'prefix' => '',
|
* 'prefix' => '',
|
||||||
* ];
|
* ];
|
||||||
@@ -205,7 +205,7 @@ $databases = [];
|
|||||||
* @code
|
* @code
|
||||||
* $databases['default']['default'] = [
|
* $databases['default']['default'] = [
|
||||||
* 'driver' => 'sqlite',
|
* 'driver' => 'sqlite',
|
||||||
* 'database' => '/path/to/databasefilename',
|
* 'database' => '/path/to/database_filename',
|
||||||
* ];
|
* ];
|
||||||
* @endcode
|
* @endcode
|
||||||
*
|
*
|
||||||
@@ -215,13 +215,34 @@ $databases = [];
|
|||||||
* 'driver' => 'my_driver',
|
* 'driver' => 'my_driver',
|
||||||
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
|
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
|
||||||
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
|
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
|
||||||
* 'database' => 'databasename',
|
* 'database' => 'database_name',
|
||||||
* 'username' => 'sqlusername',
|
* 'username' => 'sql_username',
|
||||||
* 'password' => 'sqlpassword',
|
* 'password' => 'sql_password',
|
||||||
* 'host' => 'localhost',
|
* 'host' => 'localhost',
|
||||||
* 'prefix' => '',
|
* 'prefix' => '',
|
||||||
* ];
|
* ];
|
||||||
* @endcode
|
* @endcode
|
||||||
|
*
|
||||||
|
* Sample Database configuration format for a driver that is extending another
|
||||||
|
* database driver.
|
||||||
|
* @code
|
||||||
|
* $databases['default']['default'] = [
|
||||||
|
* 'driver' => 'my_driver',
|
||||||
|
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
|
||||||
|
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
|
||||||
|
* 'database' => 'database_name',
|
||||||
|
* 'username' => 'sql_username',
|
||||||
|
* 'password' => 'sql_password',
|
||||||
|
* 'host' => 'localhost',
|
||||||
|
* 'prefix' => '',
|
||||||
|
* 'dependencies' => [
|
||||||
|
* 'parent_module' => [
|
||||||
|
* 'namespace' => 'Drupal\parent_module',
|
||||||
|
* 'autoload' => 'core/modules/parent_module/src/',
|
||||||
|
* ],
|
||||||
|
* ],
|
||||||
|
* ];
|
||||||
|
* @endcode
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -334,14 +355,13 @@ $settings['update_free_access'] = FALSE;
|
|||||||
* security, or encryption benefits. In an environment where Drupal
|
* security, or encryption benefits. In an environment where Drupal
|
||||||
* is behind a reverse proxy, the real IP address of the client should
|
* is behind a reverse proxy, the real IP address of the client should
|
||||||
* be determined such that the correct client IP address is available
|
* be determined such that the correct client IP address is available
|
||||||
* to Drupal's logging, statistics, and access management systems. In
|
* to Drupal's logging and access management systems. In the most simple
|
||||||
* the most simple scenario, the proxy server will add an
|
* scenario, the proxy server will add an X-Forwarded-For header to the request
|
||||||
* X-Forwarded-For header to the request that contains the client IP
|
* that contains the client IP address. However, HTTP headers are vulnerable to
|
||||||
* address. However, HTTP headers are vulnerable to spoofing, where a
|
* spoofing, where a malicious client could bypass restrictions by setting the
|
||||||
* malicious client could bypass restrictions by setting the
|
* X-Forwarded-For header directly. Therefore, Drupal's proxy configuration
|
||||||
* X-Forwarded-For header directly. Therefore, Drupal's proxy
|
* requires the IP addresses of all remote proxies to be specified in
|
||||||
* configuration requires the IP addresses of all remote proxies to be
|
* $settings['reverse_proxy_addresses'] to work correctly.
|
||||||
* specified in $settings['reverse_proxy_addresses'] to work correctly.
|
|
||||||
*
|
*
|
||||||
* Enable this setting to get Drupal to determine the client IP from the
|
* Enable this setting to get Drupal to determine the client IP from the
|
||||||
* X-Forwarded-For header. If you are unsure about this setting, do not have a
|
* X-Forwarded-For header. If you are unsure about this setting, do not have a
|
||||||
@@ -567,7 +587,7 @@ $settings['update_free_access'] = FALSE;
|
|||||||
* the output of phpinfo(). The full output can contain sensitive information
|
* the output of phpinfo(). The full output can contain sensitive information
|
||||||
* so by default Drupal removes some sections.
|
* so by default Drupal removes some sections.
|
||||||
*
|
*
|
||||||
* This behaviour can be configured by setting this variable to a different
|
* This behavior can be configured by setting this variable to a different
|
||||||
* value corresponding to the flags parameter of phpinfo().
|
* value corresponding to the flags parameter of phpinfo().
|
||||||
*
|
*
|
||||||
* If you need to expose more information in the report - for example to debug a
|
* If you need to expose more information in the report - for example to debug a
|
||||||
@@ -710,6 +730,8 @@ $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
|
|||||||
* Provide a fully qualified class name here if you would like to provide an
|
* Provide a fully qualified class name here if you would like to provide an
|
||||||
* alternate implementation YAML parser. The class must implement the
|
* alternate implementation YAML parser. The class must implement the
|
||||||
* \Drupal\Component\Serialization\SerializationInterface interface.
|
* \Drupal\Component\Serialization\SerializationInterface interface.
|
||||||
|
*
|
||||||
|
* This setting is deprecated in Drupal 10.3 and removed in Drupal 11.
|
||||||
*/
|
*/
|
||||||
# $settings['yaml_parser_class'] = NULL;
|
# $settings['yaml_parser_class'] = NULL;
|
||||||
|
|
||||||
@@ -787,6 +809,16 @@ $settings['entity_update_batch_size'] = 50;
|
|||||||
*/
|
*/
|
||||||
$settings['entity_update_backup'] = TRUE;
|
$settings['entity_update_backup'] = TRUE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* State caching.
|
||||||
|
*
|
||||||
|
* State caching uses the cache collector pattern to cache all requested keys
|
||||||
|
* from the state API in a single cache entry, which can greatly reduce the
|
||||||
|
* amount of database queries. However, some sites may use state with a
|
||||||
|
* lot of dynamic keys which could result in a very large cache.
|
||||||
|
*/
|
||||||
|
$settings['state_cache'] = TRUE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Node migration type.
|
* Node migration type.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -29,11 +29,7 @@
|
|||||||
* It is strongly recommended that you set zend.assertions=1 in the PHP.ini file
|
* It is strongly recommended that you set zend.assertions=1 in the PHP.ini file
|
||||||
* (It cannot be changed from .htaccess or runtime) on development machines and
|
* (It cannot be changed from .htaccess or runtime) on development machines and
|
||||||
* to 0 or -1 in production.
|
* to 0 or -1 in production.
|
||||||
*
|
|
||||||
* @see https://wiki.php.net/rfc/expectations
|
|
||||||
*/
|
*/
|
||||||
assert_options(ASSERT_ACTIVE, TRUE);
|
|
||||||
assert_options(ASSERT_EXCEPTION, TRUE);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable local development services.
|
* Enable local development services.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* Configuration file for multi-site support and directory aliasing feature.
|
* Configuration file for multi-site support and directory aliasing feature.
|
||||||
*
|
*
|
||||||
* This file is required for multi-site support and also allows you to define a
|
* This file is required for multi-site support and also allows you to define a
|
||||||
* set of aliases that map hostnames, ports, and pathnames to configuration
|
* set of aliases that map host names, ports, and path names to configuration
|
||||||
* directories in the sites directory. These aliases are loaded prior to
|
* directories in the sites directory. These aliases are loaded prior to
|
||||||
* scanning for directories, and they are exempt from the normal discovery
|
* scanning for directories, and they are exempt from the normal discovery
|
||||||
* rules. See default.settings.php to view how Drupal discovers the
|
* rules. See default.settings.php to view how Drupal discovers the
|
||||||
@@ -23,14 +23,14 @@
|
|||||||
*
|
*
|
||||||
* Aliases are defined in an associative array named $sites. The array is
|
* Aliases are defined in an associative array named $sites. The array is
|
||||||
* written in the format: '<port>.<domain>.<path>' => 'directory'. As an
|
* written in the format: '<port>.<domain>.<path>' => 'directory'. As an
|
||||||
* example, to map https://www.drupal.org:8080/mysite/test to the configuration
|
* example, to map https://www.drupal.org:8080/my-site/test to the configuration
|
||||||
* directory sites/example.com, the array should be defined as:
|
* directory sites/example.com, the array should be defined as:
|
||||||
* @code
|
* @code
|
||||||
* $sites = [
|
* $sites = [
|
||||||
* '8080.www.drupal.org.mysite.test' => 'example.com',
|
* '8080.www.drupal.org.my-site.test' => 'example.com',
|
||||||
* ];
|
* ];
|
||||||
* @endcode
|
* @endcode
|
||||||
* The URL, https://www.drupal.org:8080/mysite/test/, could be a symbolic link
|
* The URL, https://www.drupal.org:8080/my-site/test/, could be a symbolic link
|
||||||
* or an Apache Alias directive that points to the Drupal root containing
|
* or an Apache Alias directive that points to the Drupal root containing
|
||||||
* index.php. An alias could also be created for a subdomain. See the
|
* index.php. An alias could also be created for a subdomain. See the
|
||||||
* @link https://www.drupal.org/documentation/install online Drupal installation guide @endlink
|
* @link https://www.drupal.org/documentation/install online Drupal installation guide @endlink
|
||||||
@@ -47,11 +47,11 @@
|
|||||||
* URL: http://localhost:8080/example
|
* URL: http://localhost:8080/example
|
||||||
* $sites['8080.localhost.example'] = 'example.com';
|
* $sites['8080.localhost.example'] = 'example.com';
|
||||||
*
|
*
|
||||||
* URL: https://www.drupal.org:8080/mysite/test/
|
* URL: https://www.drupal.org:8080/my-site/test/
|
||||||
* $sites['8080.www.drupal.org.mysite.test'] = 'example.com';
|
* $sites['8080.www.drupal.org.my-site.test'] = 'example.com';
|
||||||
* @endcode
|
* @endcode
|
||||||
*
|
*
|
||||||
* @see default.settings.php
|
* @see default.settings.php
|
||||||
* @see \Drupal\Core\DrupalKernel::getSitePath()
|
* @see \Drupal\Core\DrupalKernel::getSitePath()
|
||||||
* @see https://www.drupal.org/documentation/install/multi-site
|
* @see https://www.drupal.org/docs/getting-started/multisite-drupal
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user