updated drush to 12 and drupal core to 10.2

This commit is contained in:
Bachir Soussi Chiadmi 2025-01-27 11:16:32 +01:00
parent 0023c1230b
commit 11a7eb8a3f
49 changed files with 910 additions and 752 deletions

3
.gitattributes vendored
View File

@ -42,6 +42,9 @@
*.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
# 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.
# - Do not treat them as text.
# - Include binary diff in patches instead of "binary files differ."

View File

@ -19,9 +19,9 @@
"drupal/agreement": "^3.0@alpha",
"drupal/betterlogin": "^2.0",
"drupal/config_pages": "^2.0",
"drupal/core-composer-scaffold": "^10",
"drupal/core-project-message": "^10",
"drupal/core-recommended": "^10",
"drupal/core-composer-scaffold": "^10.2",
"drupal/core-project-message": "^10.2",
"drupal/core-recommended": "^10.2",
"drupal/devel": "5.1.2",
"drupal/email_registration": "^1.4",
"drupal/faq": "^1.2",

1418
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: wtsEf26SHyRbzRKFX3yOY9yJzYsEq5e2bd7xSCKPevw
id: user.register
label: "S'inscrire"
description: ''
targetEntityType: user
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: eZGw53_tQR0o846P6awZpw-1AarhtXlm-6AKAkmLvKY
id: block.token
label: 'Jeton (token)'
description: ''
targetEntityType: block
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: 4tedlMuvQjDOdvHdw86_e-2Rt78aR7TGFMfOK8Ejppg
id: block_content.full
label: Complet
description: ''
targetEntityType: block_content
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: VYERDzPNi1-oUm7KMLjol4oLcjbHr-onKbitt4dZuN0
id: config_pages.full
label: Complet
description: ''
targetEntityType: config_pages
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: 2xSc_t5yN14t-fSfl3MR1WP9Em9ij1hY8A5IIVGlhts
id: contact_message.token
label: 'Jeton (token)'
description: ''
targetEntityType: contact_message
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: uZo6zv9Fa0wuqgu1kigVUhfRyvk1vQhD9GCP3HElGBk
id: file.token
label: 'Jeton (token)'
description: ''
targetEntityType: file
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: y5XBjb33PolVKVUnedtISf0rSrGdyo10HxOcI6Mey_w
id: menu_link_content.token
label: 'Jeton (token)'
description: ''
targetEntityType: menu_link_content
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: m4oQ8ZK4CNZqGBAczllmaKSGmjD5xXitPDvByAPwN3c
id: node.full
label: 'Contenu complet'
description: ''
targetEntityType: node
cache: true

View File

@ -6,5 +6,6 @@ dependencies:
- node
id: node.home
label: Home
description: ''
targetEntityType: node
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: _lDZ7IYi00gmEw2ZkiWGmDYwxkccBlUyLGxMIJDTYkc
id: node.rss
label: RSS
description: ''
targetEntityType: node
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: a4DyjkgEtvja2s1_cGy9Ealzu0LbDwzhEcpFP7aArNg
id: node.search_index
label: 'Index de recherche'
description: ''
targetEntityType: node
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: Gj61wjl4G9UfFnYfmi-e7Eyvwiqzcz6sIP24vA4nkHU
id: node.search_result
label: 'Résultat de recherche mettant en évidence la saisie'
description: ''
targetEntityType: node
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: qJFVUFu6IPN8a4WgoDs0gcfyJqE3l3euB0wd1kO6hRQ
id: node.teaser
label: Accroche
description: ''
targetEntityType: node
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: 7JhK586z4WYrdjuTZH19-WxWlLIi2QlS2ZL7m01bO6E
id: node.token
label: 'Jeton (token)'
description: ''
targetEntityType: node
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: h3BeHVei4Lnyqbkao3YiF4KqoY-DhRvUNfEgKG8Rgjg
id: paragraph.preview
label: Aperçu
description: ''
targetEntityType: paragraph
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: jNmsvf8AwwKxbOUYZuY8oBMQpLbkcbFsHy1U4gQhUME
id: path_alias.token
label: Token
description: ''
targetEntityType: path_alias
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: 5w8lM4B4_NrQbKBtWrpx9ySnzyrCEA5jw4cHSsEaA_Q
id: taxonomy_term.full
label: "Page d'un terme de taxonomie"
description: ''
targetEntityType: taxonomy_term
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: goI4SQiGy_YqNsD1dqZ-YNk7Jh5dSVsnlHvwGfDFZXI
id: taxonomy_term.token
label: 'Jeton (token)'
description: ''
targetEntityType: taxonomy_term
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: n4bF0yaCJsxERK-1RXJhTSrmx2qD10UFNfxi1EnvQR4
id: user.compact
label: Compact
description: ''
targetEntityType: user
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: JuyuBXboCPHWE0JVpdI2hnd0NMAT1U1ZFgQYh18jDzI
id: user.full
label: 'Compte utilisateur'
description: ''
targetEntityType: user
cache: true

View File

@ -8,5 +8,6 @@ _core:
default_config_hash: JrWyKwRHER0Vr3j0Aukrr4NXdzNnB4kVjyr60gPvSA0
id: user.token
label: 'Jeton (token)'
description: ''
targetEntityType: user
cache: true

View File

@ -40,8 +40,10 @@ settings:
- heading5
- heading6
ckeditor5_list:
reversed: true
startIndex: true
properties:
reversed: true
startIndex: true
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags: { }
image_upload: { }

View File

@ -1,9 +1,16 @@
_core:
default_config_hash: _5293QOM-Perj4qDT33F4EmNlI9Ge0bNd_WYrZilDPA
langcode: fr
description:
type: textfield
length: 128
icon:
directory: core/modules/file/icons
langcode: fr
make_unused_managed_files_temporary: false
filename_sanitization:
transliterate: false
replace_whitespace: false
replace_non_alphanumeric: false
deduplicate_separators: false
lowercase: false
replacement_character: '-'

View File

@ -8,6 +8,12 @@ name: 'Texte brut'
format: plain_text
weight: 10
filters:
filter_autop:
id: filter_autop
provider: filter
status: true
weight: 0
settings: { }
filter_html_escape:
id: filter_html_escape
provider: filter
@ -21,9 +27,3 @@ filters:
weight: 0
settings:
filter_url_length: 72
filter_autop:
id: filter_autop
provider: filter
status: true
weight: 0
settings: { }

View File

@ -17,30 +17,23 @@ filters:
status: true
weight: -50
settings: { }
filter_html_image_secure:
id: filter_html_image_secure
filter_align:
id: filter_align
provider: filter
status: true
weight: -48
status: false
weight: -41
settings: { }
filter_url:
id: filter_url
provider: filter
status: true
weight: -45
settings:
filter_url_length: 72
filter_autop:
id: filter_autop
provider: filter
status: true
weight: -49
settings: { }
filter_htmlcorrector:
id: filter_htmlcorrector
filter_caption:
id: filter_caption
provider: filter
status: true
weight: -47
weight: -40
settings: { }
filter_html:
id: filter_html
@ -51,24 +44,30 @@ filters:
allowed_html: '<br> <p> <h2> <h3> <h4> <h5> <h6> <strong> <em> <a href> <img src alt height width data-entity-uuid data-entity-type data-caption>'
filter_html_help: true
filter_html_nofollow: false
filter_align:
id: filter_align
provider: filter
status: false
weight: -41
settings: { }
filter_caption:
id: filter_caption
provider: filter
status: true
weight: -40
settings: { }
filter_html_escape:
id: filter_html_escape
provider: filter
status: false
weight: -42
settings: { }
filter_html_image_secure:
id: filter_html_image_secure
provider: filter
status: true
weight: -48
settings: { }
filter_htmlcorrector:
id: filter_htmlcorrector
provider: filter
status: true
weight: -47
settings: { }
filter_image_lazy_load:
id: filter_image_lazy_load
provider: filter
status: true
weight: 15
settings: { }
filter_pathologic:
id: filter_pathologic
provider: pathologic
@ -80,9 +79,10 @@ filters:
protocol_style: full
local_paths: ''
keep_language_prefix: false
filter_image_lazy_load:
id: filter_image_lazy_load
filter_url:
id: filter_url
provider: filter
status: true
weight: 15
settings: { }
weight: -45
settings:
filter_url_length: 72

View File

@ -3,3 +3,10 @@ _core:
langcode: fr
interface:
default: maillog
mailer_dsn:
scheme: sendmail
host: default
user: null
password: null
port: null
options: { }

View File

@ -1,5 +1,6 @@
_core:
default_config_hash: bUb8UUGCJnZ5aiph4NCUr8rnJay_s8sKGe2JK_7_mzg
langcode: fr
cache:
page:
max_age: 0
@ -14,5 +15,3 @@ fast_404:
js:
preprocess: false
gzip: true
stale_file_threshold: 2592000
langcode: fr

View File

@ -12,6 +12,6 @@ features:
node_user_picture: false
logo:
path: ''
url: ''
url: null
use_default: true
langcode: fr

View File

@ -4,7 +4,7 @@ check:
disabled_extensions: false
interval_days: 1
fetch:
url: ''
url: null
max_attempts: 2
timeout: 30
notification:

View File

@ -22,6 +22,7 @@ dependencies:
- faq
- file
- filter
- help
- node
- system
- taxonomy
@ -37,6 +38,7 @@ permissions:
- 'access administration pages'
- 'access content overview'
- 'access files overview'
- 'access help pages'
- 'access site in maintenance mode'
- 'access toolbar'
- 'administer faq order'

View File

@ -20,6 +20,7 @@ dependencies:
- content_lock
- faq
- filter
- help
- node
- system
- taxonomy
@ -32,6 +33,7 @@ is_admin: null
permissions:
- 'access administration pages'
- 'access content overview'
- 'access help pages'
- 'access site in maintenance mode'
- 'access toolbar'
- 'administer faq order'

View File

@ -3,7 +3,6 @@ _core:
langcode: fr
display_extenders:
- matomo
skip_cache: false
sql_signature: false
ui:
show:

View File

@ -1092,7 +1092,6 @@ display:
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true

View File

@ -248,7 +248,6 @@ display:
default_argument_type: fixed
default_argument_options:
argument: a
default_argument_skip_url: false
summary_options: { }
summary:
format: default_summary
@ -415,7 +414,6 @@ display:
default_argument_type: fixed
default_argument_options:
argument: a
default_argument_skip_url: false
summary_options:
items_per_page: 25
inline: true

View File

@ -273,7 +273,6 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user
- 'user.node_grants:view'
- user.permissions
tags: { }
@ -291,7 +290,6 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user
- 'user.node_grants:view'
- user.permissions
tags: { }

View File

@ -197,7 +197,6 @@ display:
title: ''
default_argument_type: node
default_argument_options: { }
default_argument_skip_url: false
summary_options:
base_path: ''
count: true

View File

@ -208,7 +208,6 @@ display:
default_argument_type: user
default_argument_options:
user: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
@ -245,7 +244,6 @@ display:
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
@ -286,7 +284,6 @@ display:
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true

View File

@ -108,7 +108,6 @@ display:
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true

View File

@ -452,7 +452,6 @@ display:
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true

View File

@ -1,3 +1,3 @@
Please read core/INSTALL.txt for detailed installation instructions for your
Drupal website.
Read core/INSTALL.txt for detailed installation instructions for your Drupal
website.

@ -1 +1 @@
Subproject commit 82b0f78b6df8163278b60d1d3f878c170878c7ef
Subproject commit 3378f8ef0dd9fc9805c15443f0223da5e70047ef

View File

@ -37,7 +37,15 @@ Allow: /profiles/*.svg
Disallow: /core/
Disallow: /profiles/
# 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
# Paths (clean URLs)
Disallow: /admin/

View File

@ -214,6 +214,8 @@ parameters:
# Configure requests allowed from specific origins. Do not include trailing
# slashes with URLs.
allowedOrigins: ['*']
# Configure requests allowed from origins, matching against regex patterns.
allowedOriginsPatterns: []
# Sets the Access-Control-Expose-Headers header.
exposedHeaders: false
# Sets the Access-Control-Max-Age header.

View File

@ -24,18 +24,18 @@
* 'sites/default' will be used.
*
* 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:
*
* - sites/8080.www.drupal.org.mysite.test
* - sites/www.drupal.org.mysite.test
* - sites/drupal.org.mysite.test
* - sites/org.mysite.test
* - sites/8080.www.drupal.org.my-site.test
* - sites/www.drupal.org.my-site.test
* - sites/drupal.org.my-site.test
* - sites/org.my-site.test
*
* - sites/8080.www.drupal.org.mysite
* - sites/www.drupal.org.mysite
* - sites/drupal.org.mysite
* - sites/org.mysite
* - sites/8080.www.drupal.org.my-site
* - sites/www.drupal.org.my-site
* - sites/drupal.org.my-site
* - sites/org.my-site
*
* - sites/8080.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
* hostname with that number. For example,
* https://www.drupal.org:8080/mysite/test/ could be loaded from
* sites/8080.www.drupal.org.mysite.test/.
* https://www.drupal.org:8080/my-site/test/ could be loaded from
* sites/8080.www.drupal.org.my-site.test/.
*
* @see example.sites.php
* @see \Drupal\Core\DrupalKernel::getSitePath()
@ -78,8 +78,8 @@
* @code
* $databases['default']['default'] = [
* 'database' => 'databasename',
* 'username' => 'sqlusername',
* 'password' => 'sqlpassword',
* 'username' => 'sql_username',
* 'password' => 'sql_password',
* 'host' => 'localhost',
* 'port' => '3306',
* 'driver' => 'mysql',
@ -181,8 +181,8 @@ $databases = [];
*
* WARNING: The above defaults are designed for database portability. Changing
* them may cause unexpected behavior, including potential data loss. See
* https://www.drupal.org/developing/api/database/configuration for more
* information on these defaults and the potential issues.
* https://www.drupal.org/docs/8/api/database-api/database-configuration for
* more information on these defaults and the potential issues.
*
* More details can be found in the constructor methods for each driver:
* - \Drupal\mysql\Driver\Database\mysql\Connection::__construct()
@ -194,8 +194,8 @@ $databases = [];
* $databases['default']['default'] = [
* 'driver' => 'pgsql',
* 'database' => 'databasename',
* 'username' => 'sqlusername',
* 'password' => 'sqlpassword',
* 'username' => 'sql_username',
* 'password' => 'sql_password',
* 'host' => 'localhost',
* 'prefix' => '',
* ];
@ -205,7 +205,7 @@ $databases = [];
* @code
* $databases['default']['default'] = [
* 'driver' => 'sqlite',
* 'database' => '/path/to/databasefilename',
* 'database' => '/path/to/database_filename',
* ];
* @endcode
*
@ -216,12 +216,33 @@ $databases = [];
* 'namespace' => 'Drupal\my_module\Driver\Database\my_driver',
* 'autoload' => 'modules/my_module/src/Driver/Database/my_driver/',
* 'database' => 'databasename',
* 'username' => 'sqlusername',
* 'password' => 'sqlpassword',
* 'username' => 'sql_username',
* 'password' => 'sql_password',
* 'host' => 'localhost',
* 'prefix' => '',
* ];
* @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' => 'databasename',
* 'username' => 'sql_username',
* 'password' => 'sql_password',
* 'host' => 'localhost',
* 'prefix' => '',
* 'dependencies' => [
* 'parent_module' => [
* 'namespace' => 'Drupal\parent_module',
* 'autoload' => 'core/modules/parent_module/src/',
* ],
* ],
* ];
* @endcode
*/
/**
@ -567,7 +588,7 @@ $settings['update_free_access'] = FALSE;
* the output of phpinfo(). The full output can contain sensitive information
* 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().
*
* If you need to expose more information in the report - for example to debug a

View File

@ -29,11 +29,7 @@
* 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
* 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.

View File

@ -23,14 +23,14 @@
*
* Aliases are defined in an associative array named $sites. The array is
* 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:
* @code
* $sites = [
* '8080.www.drupal.org.mysite.test' => 'example.com',
* '8080.www.drupal.org.my-site.test' => 'example.com',
* ];
* @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
* 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
@ -47,11 +47,11 @@
* URL: http://localhost:8080/example
* $sites['8080.localhost.example'] = 'example.com';
*
* URL: https://www.drupal.org:8080/mysite/test/
* $sites['8080.www.drupal.org.mysite.test'] = 'example.com';
* URL: https://www.drupal.org:8080/my-site/test/
* $sites['8080.www.drupal.org.my-site.test'] = 'example.com';
* @endcode
*
* @see default.settings.php
* @see \Drupal\Core\DrupalKernel::getSitePath()
* @see https://www.drupal.org/documentation/install/multi-site
* @see https://www.drupal.org/docs/getting-started/multisite-drupal
*/