Saut Drupal 11.4.13 + maj modules contrib (scan p2, dernieres versions compatibles 11)

- core-recommended ^10.6||^11.4 -> 11.4.13, gin 5.0.16 + gin_toolbar 3.0.3 (admin), claro
- purges D11: ban, actions_permissions, seven, adminimal_theme, audiofield, bulkdelete, content_lock_timeout, admin_toolbar_links_access_filter, contact (sync + profil starterkit)
- path_alias_xt -> dev-2.x; patch autocomplete_deluxe re-rolle pour 2.2.0; allow-plugins += symfony/runtime
- config/sync: normalisations D11 + purges (cex propre, config:status clean en local sur dump stage)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-25 10:44:03 +01:00
parent f4961e9679
commit fea48ed6b0
85 changed files with 2683 additions and 2632 deletions
+1
View File
@@ -48,6 +48,7 @@ core/.phpstan-baseline.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-sp
# Define binary file attributes.
# - Do not treat them as text.
# - Include binary diff in patches instead of "binary files differ."
*.avif -text diff
*.eot -text diff
*.exe -text diff
*.gif -text diff
+1 -1
View File
@@ -1,3 +1,3 @@
[submodule "web/profiles/drupal-starterkit-profile"]
path = web/profiles/drupal-starterkit-profile
url = https://figureslibres.io/gogs/bachir/drupal-starterkit-profile.git
url = https://figureslibres.io/gitea/bachir/drupal-starterkit-profile.git
+9 -8
View File
@@ -21,20 +21,20 @@
"require": {
"composer/installers": "^2.0",
"drupal/auto_entitylabel": "^3.4",
"drupal/autocomplete_deluxe": "^2.1",
"drupal/autocomplete_deluxe": "^2.2",
"drupal/cer": "^5.0@beta",
"drupal/config_ignore": "^3.4",
"drupal/core-composer-scaffold": "^10.6",
"drupal/core-project-message": "^10.6",
"drupal/core-recommended": "^10.6",
"drupal/gin": "^4.0",
"drupal/gin_toolbar": "^2.0",
"drupal/core-composer-scaffold": "^10.6 || ^11.4",
"drupal/core-project-message": "^10.6 || ^11.4",
"drupal/core-recommended": "^10.6 || ^11.4",
"drupal/gin": "^4.1 || ^5.0",
"drupal/gin_toolbar": "^2.1 || ^3.0",
"drupal/image_delta_formatter": "^1.3",
"drupal/image_field_caption": "^3.0",
"drupal/migrate_google_sheets": "^2.3",
"drupal/migrate_tools": "^6.1",
"drupal/page_manager": "^4.0@RC",
"drupal/shield": "^1.8",
"drupal/page_manager": "^4.1",
"drupal/shield": "^1.11",
"drupal/structure_sync": "^2.0",
"drupal/views_entity_form_field": "^1.2",
"league/commonmark": "^2.8",
@@ -59,6 +59,7 @@
"php-http/discovery": true,
"php-tuf/composer-integration": true,
"phpstan/extension-installer": true,
"symfony/runtime": true,
"wikimedia/composer-merge-plugin": true
},
"sort-packages": true,
Generated
+2437 -1753
View File
File diff suppressed because it is too large Load Diff
-10
View File
@@ -1,10 +0,0 @@
_core:
default_config_hash: POBebmsKHIsvlfkapwnXbybgOWqPg7W6XWZsmOBvVjk
features:
node_user_picture: false
comment_user_picture: true
comment_user_verification: true
favicon: 1
logo:
use_default: 1
langcode: fr
@@ -1,22 +0,0 @@
uuid: 02ba8624-6311-4e30-8c6d-b5945891874d
langcode: fr
status: true
dependencies:
module:
- system
theme:
- adminimal_theme
_core:
default_config_hash: jsQFfJYpHkUCTQQufbC9qRK7O27GZnsflN_FDte_rog
id: adminimal_theme_breadcrumbs
theme: adminimal_theme
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: "Fils d'ariane"
label_display: '0'
provider: system
visibility: { }
@@ -1,22 +0,0 @@
uuid: ccd2dcd0-8040-49a0-b915-f9d71510178c
langcode: fr
status: true
dependencies:
module:
- system
theme:
- adminimal_theme
_core:
default_config_hash: RXEuy6Fn5y_mkwpTYvIn5z8CHc07cjPce668ZUBE5Fw
id: adminimal_theme_content
theme: adminimal_theme
region: content
weight: 0
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Contenu de la page principale'
label_display: '0'
provider: system
visibility: { }
@@ -1,22 +0,0 @@
uuid: 190402c6-fa81-4dc6-951f-a61975ec065f
langcode: fr
status: true
dependencies:
module:
- help
theme:
- adminimal_theme
_core:
default_config_hash: eEDfDNC_bpiaWJwwnu4Bppn9-o-zsOYRpc1IEPL4NRg
id: adminimal_theme_help
theme: adminimal_theme
region: help
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Aide
label_display: '0'
provider: help
visibility: { }
@@ -1,20 +0,0 @@
uuid: b120ec23-c6a1-4971-83cf-b14d1683f2a6
langcode: fr
status: true
dependencies:
theme:
- adminimal_theme
_core:
default_config_hash: AhJ84PvhlYF8GxtMEErWbZFn2Yc5tiJo4uUbeFYY77o
id: adminimal_theme_local_actions
theme: adminimal_theme
region: content
weight: -10
provider: null
plugin: local_actions_block
settings:
id: local_actions_block
label: "Actions d'administration principales"
label_display: '0'
provider: core
visibility: { }
@@ -1,22 +0,0 @@
uuid: c657bf6e-9f4e-4d9e-bd04-03bfb5ffe318
langcode: fr
status: true
dependencies:
module:
- user
theme:
- adminimal_theme
_core:
default_config_hash: egqFYgzVe0PZ5os8LIK-eSv0WnBHCug5ay6_aRtHIQA
id: adminimal_theme_login
theme: adminimal_theme
region: content
weight: 10
provider: null
plugin: user_login_block
settings:
id: user_login_block
label: 'Connexion utilisateur'
label_display: visible
provider: user
visibility: { }
@@ -1,22 +0,0 @@
uuid: 6307df26-aad3-4a41-a0de-2f356d6d11fd
langcode: fr
status: true
dependencies:
module:
- system
theme:
- adminimal_theme
_core:
default_config_hash: QuA_LctHqZXPimcCJRra1mfKqwqjqixa0fT2SWrD2Dk
id: adminimal_theme_messages
theme: adminimal_theme
region: highlighted
weight: 0
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Messages de statut'
label_display: '0'
provider: system
visibility: { }
@@ -1,20 +0,0 @@
uuid: 9df1c5de-a54d-49eb-9265-71c101c0d22d
langcode: fr
status: true
dependencies:
theme:
- adminimal_theme
_core:
default_config_hash: ZrIf936eEHtSSnxkcCjz8MJKFF0eD93m9dkh4nepNHQ
id: adminimal_theme_page_title
theme: adminimal_theme
region: header
weight: -30
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Titre de page'
label_display: '0'
provider: core
visibility: { }
@@ -1,22 +0,0 @@
uuid: ff1058ca-8d20-4f5e-82c1-c1154a9afa04
langcode: fr
status: true
dependencies:
theme:
- adminimal_theme
_core:
default_config_hash: 20ozyeBtDWvVAjfTl6lWOGd31vZTJFuXViP52-mJrcA
id: adminimal_theme_primary_local_tasks
theme: adminimal_theme
region: header
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Onglets principaux'
label_display: '0'
provider: core
primary: true
secondary: false
visibility: { }
@@ -1,22 +0,0 @@
uuid: 81d63868-01b0-400c-bb01-e8511cea2706
langcode: fr
status: true
dependencies:
theme:
- adminimal_theme
_core:
default_config_hash: OHHbgqIxnbmi0dujxk1HgPI5sJ9_fxvDtVzWfOEYXO4
id: adminimal_theme_secondary_local_tasks
theme: adminimal_theme
region: pre_content
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Onglets secondaires'
label_display: '0'
provider: core
primary: false
secondary: true
visibility: { }
-13
View File
@@ -1,13 +0,0 @@
uuid: 539abcdc-a898-46d3-83f3-2703ca820c29
langcode: fr
status: true
dependencies: { }
_core:
default_config_hash: movrd14KpikJjyW8Tzhj-5wjnGcPbKCjn3TdwUTUmCU
id: personal
label: 'Formulaire de contact personnel'
recipients: { }
reply: ''
weight: 0
message: 'Votre message a été envoyé.'
redirect: null
-8
View File
@@ -1,8 +0,0 @@
_core:
default_config_hash: Ybib_dFQ1insjZmm1a7bQlvdUVX8BGbF8EZGz2jMBPo
langcode: fr
default_form: feedback
flood:
limit: 5
interval: 3600
user_default_enabled: true
+2 -2
View File
@@ -1,7 +1,7 @@
_core:
default_config_hash: IdcCyfVkD8kunSj3rbm1mwrfJbfcJK4bjfPheIqxnxI
langcode: fr
verbose: 0
verbose: false
types:
contact_message: { }
file:
@@ -16,7 +16,6 @@ types:
workflow_scheduled_transition: { }
menu_link_content: { }
types_translation_lock: { }
types_js_lock: { }
form_op_lock:
contact_message:
mode: 0
@@ -45,3 +44,4 @@ form_op_lock:
menu_link_content:
mode: 0
values: { }
types_js_lock: { }
@@ -1,5 +0,0 @@
_core:
default_config_hash: S2TgQLZhiodGAfJKqb5Epnsksw3ST09nIMqTazOcBuI
langcode: fr
content_lock_timeout_minutes: '30'
content_lock_timeout_on_edit: 0
@@ -6,6 +6,6 @@ dependencies:
- node
id: node.in_place_reference
label: 'in place reference'
description: ''
description: null
targetEntityType: node
cache: true
@@ -8,6 +8,6 @@ _core:
default_config_hash: wtsEf26SHyRbzRKFX3yOY9yJzYsEq5e2bd7xSCKPevw
id: user.register
label: "S'inscrire"
description: ''
description: null
targetEntityType: user
cache: true
@@ -1,13 +0,0 @@
uuid: fd7b814c-79e0-44b6-aca5-879524b8d696
langcode: fr
status: true
dependencies:
module:
- contact
_core:
default_config_hash: 2xSc_t5yN14t-fSfl3MR1WP9Em9ij1hY8A5IIVGlhts
id: contact_message.token
label: 'Jeton (token)'
description: ''
targetEntityType: contact_message
cache: true
-9
View File
@@ -2,19 +2,14 @@ _core:
default_config_hash: 4GIX5Esnc_umpXUBj4IIocRX7Mt5fPhm4AgXfE3E56E
module:
auto_entitylabel: -100
actions_permissions: 0
address: 0
admin_toolbar: 0
admin_toolbar_links_access_filter: 0
advanced_text_formatter: 0
audiofield: 0
autocomplete_deluxe: 0
ban: 0
better_exposed_filters: 0
block: 0
block_class: 0
breakpoint: 0
bulkdelete: 0
cer: 0
ckeditor5: 0
config: 0
@@ -22,9 +17,7 @@ module:
config_ignore: 0
config_translation: 0
config_update: 0
contact: 0
content_lock: 0
content_lock_timeout: 0
context: 0
context_ui: 0
contextual: 0
@@ -119,8 +112,6 @@ module:
views: 10
figli_starter_kit: 1000
theme:
seven: 0
adminimal_theme: 0
stark: 0
leshed: 0
claro: 0
+1
View File
@@ -43,6 +43,7 @@ settings:
properties:
reversed: true
startIndex: true
styles: true
multiBlock: false
ckeditor5_sourceEditing:
allowed_tags: { }
+1 -1
View File
@@ -1,4 +1,4 @@
_core:
default_config_hash: k024s6lEcCjGqAq_82KNi-RRCCc37Jxo5frFNChAqao
login_with_username: false
langcode: fr
login_with_username: false
@@ -1,5 +1,5 @@
uuid: bc346faf-2574-409d-bbe1-325f4498ade5
langcode: en
langcode: fr
status: true
dependencies:
module:
@@ -1,16 +0,0 @@
uuid: bb853f8e-5b7e-447d-9b42-6b4b7061fcee
langcode: fr
status: true
dependencies:
module:
- email_registration
enforced:
module:
- email_registration
_core:
default_config_hash: abPdic5VcokqMaL1a1IzHI4oeIGGWvhvQYCHz1Pv2eY
id: email_registration_update_username
label: 'Update username (from email_registration)'
type: user
plugin: email_registration_update_username
configuration: { }
@@ -1,13 +0,0 @@
uuid: fe9eeb89-8463-475b-89bc-2dd7f38841b1
langcode: fr
status: true
dependencies:
module:
- content_lock
_core:
default_config_hash: fmLNBgsU8LTv_YkWCSzQF-drvmamCKLKqeaaTExCQIg
id: file_break_lock_action
label: 'Break lock file'
type: file
plugin: 'entity:break_lock:file'
configuration: { }
@@ -1,13 +0,0 @@
uuid: 6c2c8035-0eba-4d9b-bea6-10dd6e0a182e
langcode: fr
status: true
dependencies:
module:
- content_lock
_core:
default_config_hash: wOfiC2mcw5ZPIbQdSjGowSRUBcZTJvM49dtqWtU1c8A
id: node_break_lock_action
label: 'Break lock node'
type: node
plugin: 'entity:break_lock:node'
configuration: { }
@@ -1,13 +0,0 @@
uuid: d3eb6316-14e7-4f17-816f-32daae378024
langcode: fr
status: true
dependencies:
module:
- node
_core:
default_config_hash: EUEtYHaLJNJAZL14EJr4cAvvOnj0-zy3k55FVR8Va1w
id: node_delete_action
label: 'Supprimer le contenu'
type: node
plugin: 'entity:delete_action:node'
configuration: { }
@@ -1,14 +0,0 @@
uuid: b8ac912c-fd0c-4cd9-906d-e80dd0cabd90
langcode: fr
status: true
dependencies:
module:
- node
- views_bulk_edit
_core:
default_config_hash: fXzhlyiZObhrc1RZxY3cGx8RIAjepeLkc8Su5OVqG-s
id: node_edit_action
label: 'Modifier le contenu'
type: node
plugin: 'entity:edit_action:node'
configuration: { }
@@ -1,13 +0,0 @@
uuid: ebdb5116-078c-45f0-9dea-960d2de31b5c
langcode: fr
status: true
dependencies:
module:
- node
_core:
default_config_hash: Sqz61WKOC4zmm_CMnBoKEfVuZ2iR5mG6UpsNRAso-BQ
id: node_make_sticky_action
label: 'Épingler un contenu en haut des listes'
type: node
plugin: node_make_sticky_action
configuration: { }
@@ -1,13 +0,0 @@
uuid: 00dc17b0-0255-41d6-93c0-4b86b0751b09
langcode: fr
status: true
dependencies:
module:
- node
_core:
default_config_hash: uOJniYyhl9_Lhe6XtK7hi3M-yXKK6EjKwL9Bb84-PHw
id: node_make_unsticky_action
label: 'Retirer un contenu du haut des listes'
type: node
plugin: node_make_unsticky_action
configuration: { }
@@ -1,13 +0,0 @@
uuid: 7e1c940a-3500-43c3-9d8a-b97f65e21c66
langcode: fr
status: true
dependencies:
module:
- node
_core:
default_config_hash: ZWAB-lU-5rancVHCcReM0fmD6rFOxAx2aZLSkGxNv8I
id: node_promote_action
label: "Promouvoir le contenu en page d'accueil"
type: node
plugin: node_promote_action
configuration: { }
@@ -1,13 +0,0 @@
uuid: 8110e1ae-4d7d-441b-8d89-eb255931e83f
langcode: fr
status: true
dependencies:
module:
- node
_core:
default_config_hash: gyguG9d2Ub4dm5LAM9Zew4823Oqmx49BRZLSBMpgqbQ
id: node_publish_action
label: 'Publier un contenu'
type: node
plugin: 'entity:publish_action:node'
configuration: { }
@@ -1,13 +0,0 @@
uuid: 355714ea-e765-4052-8703-0b8e5ba195a4
langcode: fr
status: true
dependencies:
module:
- node
_core:
default_config_hash: Eof8vQEa14eRdxTbhzWRWfIBRymaT5nbNj5lylYdhrQ
id: node_save_action
label: 'Enregistrer un contenu'
type: node
plugin: 'entity:save_action:node'
configuration: { }
@@ -1,13 +0,0 @@
uuid: 8749e028-273a-46b9-9aa2-208dfe09c3e0
langcode: fr
status: true
dependencies:
module:
- node
_core:
default_config_hash: JBXXB85zcBDzmsxIW6n7FFxKefA2OWsm_AU_KbpuQLE
id: node_unpromote_action
label: "Retirer un contenu de la page d'accueil"
type: node
plugin: node_unpromote_action
configuration: { }
@@ -1,13 +0,0 @@
uuid: 6c2b2dd5-5a47-41c0-bc85-83823dc77ea3
langcode: fr
status: true
dependencies:
module:
- node
_core:
default_config_hash: 390S4kCs1Fci-X0wpFGLX6gfjrjc06GTuZdFJbrOM0U
id: node_unpublish_action
label: 'Dépublier un contenu'
type: node
plugin: 'entity:unpublish_action:node'
configuration: { }
@@ -1,16 +0,0 @@
uuid: 981af9f7-a54b-49e9-945c-b589fe31bd5f
langcode: fr
status: true
dependencies:
module:
- pathauto
enforced:
module:
- node
_core:
default_config_hash: oPiMMdhp0PoNLveRrHLPPMvvr33x8HSOtT7X8LkWtOM
id: pathauto_update_alias_node
label: "Mettre à jour l'alias d'URL"
type: node
plugin: pathauto_update_alias
configuration: { }
@@ -1,16 +0,0 @@
uuid: c71fcf9c-c958-41a4-85ca-4b356293e884
langcode: fr
status: true
dependencies:
module:
- pathauto
enforced:
module:
- user
_core:
default_config_hash: fK3E6cGsS486MuapsVPDZ2eoDv6zb19aHOljxR7u_Rk
id: pathauto_update_alias_user
label: "Mettre à jour l'alias d'URL"
type: user
plugin: pathauto_update_alias
configuration: { }
@@ -1,13 +0,0 @@
uuid: 526a6b2c-b190-400b-871c-f05493f0d560
langcode: fr
status: true
dependencies:
module:
- redirect
_core:
default_config_hash: 2T-yEyZvw_9I2XVc5fquqcWBvzm6y2o3be2YbQwKe8E
id: redirect_delete_action
label: 'Supprimer une redirection'
type: redirect
plugin: redirect_delete_action
configuration: { }
@@ -1,13 +0,0 @@
uuid: cc4a1aed-127e-4f84-a27a-d6fa31c2290c
langcode: fr
status: true
dependencies:
module:
- content_lock
_core:
default_config_hash: qduUh13-s5RKdSwOG5jtal1GPlfnx6IrmS-RLbcUaAM
id: taxonomy_term_break_lock_action
label: 'Break lock taxonomy_term'
type: taxonomy_term
plugin: 'entity:break_lock:taxonomy_term'
configuration: { }
@@ -1,14 +0,0 @@
uuid: 01a637b8-7135-4f6e-9fe8-3ceb6e09bdc4
langcode: fr
status: true
dependencies:
module:
- taxonomy
- views_bulk_edit
_core:
default_config_hash: l3qcxKXpczy3hzdUCJH70D5PlXLrv0NB3ie-_3i0aUo
id: taxonomy_term_edit_action
label: 'Edit taxonomy terms'
type: taxonomy_term
plugin: 'entity:edit_action:taxonomy_term'
configuration: { }
@@ -1,13 +0,0 @@
uuid: fef3cd61-2333-4534-8a79-73ac6e4ff5f5
langcode: fr
status: true
dependencies:
module:
- taxonomy
_core:
default_config_hash: 49eDdRA_Kf1bjXTL7vrw_lir-bsrjvTZRce6d1sQhzM
id: taxonomy_term_publish_action
label: 'Publier le terme de taxonomie'
type: taxonomy_term
plugin: 'entity:publish_action:taxonomy_term'
configuration: { }
@@ -1,13 +0,0 @@
uuid: 12dddae4-9cd0-4d8a-95a7-40fae4189697
langcode: fr
status: true
dependencies:
module:
- taxonomy
_core:
default_config_hash: '-mjx7ubW_8dCGndhMoWwz1Ia-YSSeqo6fukkYukQJ7A'
id: taxonomy_term_unpublish_action
label: 'Dépublier le terme de taxonomie'
type: taxonomy_term
plugin: 'entity:unpublish_action:taxonomy_term'
configuration: { }
@@ -1,16 +0,0 @@
uuid: 52cfac9e-79f9-4f17-94a9-3f73aa33eb2b
langcode: fr
status: true
dependencies:
config:
- user.role.admin
module:
- user
_core:
default_config_hash: zcB2eeflu-_OGaws1RZnJLD6QsXs-RSoPQ67zeGbVG0
id: user_add_role_action.admin
label: 'Add the Admin role to the selected user(s)'
type: user
plugin: user_add_role_action
configuration:
rid: admin
@@ -1,16 +0,0 @@
uuid: ba2008c3-ce45-46c5-aadb-d96354d823db
langcode: fr
status: true
dependencies:
config:
- user.role.editeur
module:
- user
_core:
default_config_hash: N09TU5ugkHMF56lx7PLKAK4H2LDi32-QIO6xPz9G6uw
id: user_add_role_action.editeur
label: 'Ajouter le rôle Editeur aux utilisateurs sélectionnés'
type: user
plugin: user_add_role_action
configuration:
rid: editeur
@@ -1,16 +0,0 @@
uuid: b5f01070-7079-41bb-ba73-445744c538fb
langcode: fr
status: true
dependencies:
config:
- user.role.root
module:
- user
_core:
default_config_hash: I4K-bkzDHZMF6-lJRrT2WXCo2ewA2fgUy91kOoZhZ4c
id: user_add_role_action.root
label: 'Add the Root role to the selected user(s)'
type: user
plugin: user_add_role_action
configuration:
rid: root
@@ -1,13 +0,0 @@
uuid: 860c178c-d3a4-4c70-88fa-99d1f6ffd42c
langcode: fr
status: true
dependencies:
module:
- user
_core:
default_config_hash: mteZ67b9glzt3bwWSYXuWHAztY3SApltGSTB4Zai8vA
id: user_block_user_action
label: 'Bloquer le(s) utilisateur(s) sélectionné(s)'
type: user
plugin: user_block_user_action
configuration: { }
@@ -1,13 +0,0 @@
uuid: a7f32569-cc39-44d9-8eed-0bfbac89dbaa
langcode: fr
status: true
dependencies:
module:
- user
_core:
default_config_hash: 1p-YvDdKtyvX840agj8yfh2A5a1kcvFwJ_yq36nhIC4
id: user_cancel_user_action
label: "Annuler l'(les) utilisateur(s) sélectionné(s)"
type: user
plugin: user_cancel_user_action
configuration: { }
@@ -1,14 +0,0 @@
uuid: c7c910ba-6000-4cb2-b0b3-ea01d1b78655
langcode: fr
status: true
dependencies:
module:
- user
- views_bulk_edit
_core:
default_config_hash: 9Pmw48_dTSNNeGgdJg0gw7Y-cU2_qG2jmYWqTGqWLGw
id: user_edit_action
label: 'Edit users'
type: user
plugin: 'entity:edit_action:user'
configuration: { }
@@ -1,16 +0,0 @@
uuid: bd4585f2-595a-40c6-8a47-a10622bf79cd
langcode: fr
status: true
dependencies:
config:
- user.role.admin
module:
- user
_core:
default_config_hash: bN_bDv1K3BWhkINPx6cMgwYhrjPsdRiyX9GzSw19aS8
id: user_remove_role_action.admin
label: 'Remove the Admin role from the selected user(s)'
type: user
plugin: user_remove_role_action
configuration:
rid: admin
@@ -1,16 +0,0 @@
uuid: 1f902d11-9d21-400d-b275-1787b041f8aa
langcode: fr
status: true
dependencies:
config:
- user.role.editeur
module:
- user
_core:
default_config_hash: wbDWrnvC2HV8gFJVtfsYkWp2SOiT7-G3GSmVcPKTpU8
id: user_remove_role_action.editeur
label: 'Enlever le rôle Editeur des utilisateurs sélectionnés'
type: user
plugin: user_remove_role_action
configuration:
rid: editeur
@@ -1,16 +0,0 @@
uuid: 2f571164-8154-4167-942c-14c58e9a2e4b
langcode: fr
status: true
dependencies:
config:
- user.role.root
module:
- user
_core:
default_config_hash: qIaUa0AvZpHX_HWJ6rYo8KW94gD9sOenbb5eQ6g7dsc
id: user_remove_role_action.root
label: 'Remove the Root role from the selected user(s)'
type: user
plugin: user_remove_role_action
configuration:
rid: root
@@ -1,13 +0,0 @@
uuid: 40a81e1a-d432-4ce5-aa82-5c5d0cc865da
langcode: fr
status: true
dependencies:
module:
- user
_core:
default_config_hash: 380eoio9xUMdpJZhfOon8vhFqg78q6ZkuS0UYxuLNIs
id: user_unblock_user_action
label: 'Débloquer le(s) utilisateur(s) sélectionné(s)'
type: user
plugin: user_unblock_user_action
configuration: { }
+1 -1
View File
@@ -1,8 +1,8 @@
_core:
default_config_hash: iVCUEmCQO_uzT2ReHxUBVpC1NjO4I3wb8-zF1a4vyKI
langcode: fr
allow_insecure_uploads: false
default_scheme: public
path:
temporary: /tmp
temporary_maximum_age: 21600
langcode: fr
-1
View File
@@ -13,7 +13,6 @@ dependencies:
- taxonomy.vocabulary.type_de_personne
- taxonomy.vocabulary.type_de_projet
module:
- actions_permissions
- content_translation
- devel
- file
-1
View File
@@ -14,7 +14,6 @@ dependencies:
- taxonomy.vocabulary.type_de_personne
- taxonomy.vocabulary.type_de_projet
module:
- actions_permissions
- content_translation
- filter
- leshed_svg_export
-5
View File
@@ -5,10 +5,7 @@ dependencies:
config:
- node.type.static
module:
- actions_permissions
- ban
- block
- bulkdelete
- config
- content_translation
- context_ui
@@ -87,8 +84,6 @@ permissions:
- 'administer user form display'
- 'administer users'
- 'administer views'
- 'ban IP addresses'
- 'bulkdelete nodes'
- 'bypass node access'
- 'cancel account'
- 'change own username'
+2 -2
View File
@@ -2,12 +2,10 @@ _core:
default_config_hash: RzCmzrx-T-Sy8JX5OmtGKV_V_MxRlrxRkrI9c9igTHI
langcode: fr
display_extenders: { }
skip_cache: false
sql_signature: false
ui:
show:
additional_queries: false
advanced_column: false
default_display: false
performance_statistics: false
preview_information: true
@@ -15,6 +13,7 @@ ui:
enabled: false
where: above
display_embed: false
advanced_column: false
always_live_preview: true
exposed_filter_any_label: old_any
field_rewrite_elements:
@@ -47,3 +46,4 @@ field_rewrite_elements:
ins: INS
q: Q
s: S
skip_cache: false
+1 -1
View File
@@ -1222,7 +1222,7 @@ display:
empty: true
vocabulary: type_d_evenement
base_path: evenements
list_title: 'type d''événement'
list_title: "type d'événement"
show_all: true
only_used: true
used_bundle: evenement
-16
View File
@@ -868,8 +868,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -910,10 +908,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
admin: '0'
root: '0'
editeur: '0'
reduce: false
is_grouped: false
group_info:
@@ -1003,8 +997,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -1046,10 +1038,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
admin: '0'
root: '0'
editeur: '0'
is_grouped: false
group_info:
label: ''
@@ -1090,10 +1078,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
admin: '0'
root: '0'
editeur: '0'
is_grouped: false
group_info:
label: ''
@@ -403,6 +403,7 @@ display:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 50
total_pages: null
id: 0
@@ -420,7 +421,6 @@ display:
offset: false
offset_label: Décalage
quantity: 9
pagination_heading_level: h4
exposed_form:
type: basic
options:
@@ -483,8 +483,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -524,8 +522,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -564,7 +560,6 @@ display:
remember_roles:
anonymous: anonymous
authenticated: authenticated
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -603,8 +598,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -642,8 +635,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
+2 -8
View File
@@ -521,6 +521,7 @@ display:
type: mini
options:
offset: 0
pagination_heading_level: h4
items_per_page: 50
total_pages: 0
id: 0
@@ -535,7 +536,6 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
exposed_form:
type: basic
options:
@@ -592,8 +592,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -634,8 +632,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -676,8 +672,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -1057,6 +1051,7 @@ display:
type: mini
options:
offset: 0
pagination_heading_level: h4
items_per_page: 10
total_pages: 0
id: 0
@@ -1071,7 +1066,6 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
empty: { }
arguments:
fid:
+1 -1
View File
@@ -196,6 +196,7 @@ display:
type: mini
options:
offset: 0
pagination_heading_level: h4
items_per_page: 36
total_pages: 0
id: 0
@@ -210,7 +211,6 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
exposed_form:
type: basic
options:
+1 -13
View File
@@ -368,6 +368,7 @@ display:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 50
total_pages: null
id: 0
@@ -385,7 +386,6 @@ display:
offset: false
offset_label: Décalage
quantity: 9
pagination_heading_level: h4
exposed_form:
type: basic
options:
@@ -499,10 +499,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
editor: '0'
seo: '0'
administrator: '0'
is_grouped: true
group_info:
label: 'Statut de publication'
@@ -551,10 +547,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
editor: '0'
seo: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -596,10 +588,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
editor: '0'
seo: '0'
administrator: '0'
placeholder: ''
is_grouped: false
group_info:
+1 -1
View File
@@ -280,6 +280,7 @@ display:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 10
total_pages: null
id: 0
@@ -297,7 +298,6 @@ display:
offset: false
offset_label: Décalage
quantity: 9
pagination_heading_level: h4
exposed_form:
type: basic
options:
+1 -1
View File
@@ -29,6 +29,7 @@ display:
type: mini
options:
offset: 0
pagination_heading_level: h4
items_per_page: 10
total_pages: 0
id: 0
@@ -43,7 +44,6 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
exposed_form:
type: basic
options:
+1 -9
View File
@@ -462,6 +462,7 @@ display:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 50
total_pages: 0
id: 0
@@ -479,7 +480,6 @@ display:
offset: false
offset_label: Décalage
quantity: 9
pagination_heading_level: h4
exposed_form:
type: basic
options:
@@ -552,8 +552,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -597,8 +595,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: true
group_info:
label: État
@@ -645,8 +641,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -687,8 +681,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
+1 -5
View File
@@ -440,6 +440,7 @@ display:
type: mini
options:
offset: 0
pagination_heading_level: h4
items_per_page: 50
total_pages: null
id: 0
@@ -454,7 +455,6 @@ display:
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
pagination_heading_level: h4
exposed_form:
type: basic
options:
@@ -526,8 +526,6 @@ display:
multiple: true
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -567,8 +565,6 @@ display:
multiple: true
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
-2
View File
@@ -154,8 +154,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -1,9 +1,9 @@
diff --git a/assets/css/autocomplete_deluxe.gin.css b/assets/css/autocomplete_deluxe.gin.css
--- a/assets/css/autocomplete_deluxe.gin.css
+++ b/assets/css/autocomplete_deluxe.gin.css
@@ -41,3 +41,18 @@
--- a/assets/css/autocomplete_deluxe.gin.css 2026-11-09 12:46:35.000000000 +0100
+++ b/assets/css/autocomplete_deluxe.gin.css 2026-11-24 17:16:30.443982139 +0100
@@ -88,3 +88,18 @@
.autocomplete-deluxe-item .autocomplete-deluxe-item-delete:hover {
background: var(--gin-color-button-text);
background: var(--gin-color-button-text, #fff);
}
+
+/* Faux placeholder: show no_empty_message when no items selected. */
@@ -21,17 +21,17 @@ diff --git a/assets/css/autocomplete_deluxe.gin.css b/assets/css/autocomplete_de
+ box-sizing: border-box;
+}
diff --git a/src/Element/AutocompleteDeluxeElement.php b/src/Element/AutocompleteDeluxeElement.php
--- a/src/Element/AutocompleteDeluxeElement.php
+++ b/src/Element/AutocompleteDeluxeElement.php
@@ -41,6 +41,7 @@
],
--- a/src/Element/AutocompleteDeluxeElement.php 2026-11-09 12:46:35.000000000 +0100
+++ b/src/Element/AutocompleteDeluxeElement.php 2026-11-24 17:16:30.444078243 +0100
@@ -46,6 +46,7 @@
[$class, 'setAutocreateParent'],
];
$info['#process'][] = [$class, 'processElement'];
+ $info['#theme_wrappers'] = ['form_element'];
return $info;
}
@@ -77,19 +78,12 @@
@@ -221,19 +222,12 @@
$element['#after_build'][] = [get_called_class(), 'afterBuild'];
@@ -57,7 +57,7 @@ diff --git a/src/Element/AutocompleteDeluxeElement.php b/src/Element/Autocomplet
$element['textfield'] = [
'#disabled' => $element_disabled,
@@ -100,12 +94,11 @@
@@ -244,12 +238,11 @@
'aria-label' => $element['#title'] ?? '',
],
'#default_value' => '',
@@ -71,11 +71,11 @@ diff --git a/src/Element/AutocompleteDeluxeElement.php b/src/Element/Autocomplet
$element['textfield']['#suffix'] = '</div>';
$element['textfield']['#attributes']['class'][] = 'autocomplete-deluxe-form';
}
@@ -144,7 +137,6 @@
@@ -296,7 +289,6 @@
'#default_value' => $default_value,
'#prefix' => '<div class="autocomplete-deluxe-value-container">',
'#suffix' => '</div>',
- '#description' => $element['#description'] ?? '',
];
$element['textfield']['#attributes']['style'] = ['display: none'];
// The value field is what carries the submitted value, so the ajax
+1
View File
@@ -1 +1,2 @@
/autoload.php
/autoload_runtime.php
+1 -1
View File
@@ -44,7 +44,7 @@ if (str_contains($path, '.php')) {
// fallback to index.php.
do {
$path = dirname($path);
if (preg_match('/\.php$/', $path) && is_file(__DIR__ . $path)) {
if (str_ends_with($path, '.php') && is_file(__DIR__ . $path)) {
// Discovered that the path contains an existing PHP file. Use that as the
// script to include.
$script = ltrim($path, '/');
+29 -7
View File
@@ -3,7 +3,7 @@
#
# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|install|make|module|profile|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|web\.config|yarn\.lock|package\.json)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$">
<FilesMatch "\.(engine|inc|install|make|module|profile|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|web\.config|yarn\.lock|package(-lock)?\.json)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
@@ -22,12 +22,18 @@ DirectoryIndex index.php index.html index.htm
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
# Most of the following PHP settings cannot be changed at runtime. See
# Add correct encoding for webp.
AddType image/webp .webp
# PHP settings that cannot be changed at runtime can be set here. See
# sites/default/default.settings.php and
# Drupal\Core\DrupalKernel::bootEnvironment() for settings that can be
# changed at runtime.
<IfModule mod_php.c>
php_value assert.active 0
# It is strongly recommended that you set zend.assertions to 1 on development
# machines and to 0 or -1 in production.
# See https://www.php.net/manual/en/ini.core.php#ini.zend.assertions
php_value zend.assertions 0
</IfModule>
# Requires mod_expires to be enabled.
@@ -137,10 +143,7 @@ AddEncoding gzip svgz
RewriteCond %{REQUEST_URI} !/core/[^/]*\.php$
# Allow access to test-specific PHP files:
RewriteCond %{REQUEST_URI} !/core/modules/system/tests/https?\.php
# Allow access to Statistics module's custom front controller.
# 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.
RewriteCond %{REQUEST_URI} !/core/modules/statistics/statistics\.php$
RewriteCond %{REQUEST_URI} !/core/modules/system/tests/modules/legacy_front_controller_test/test_index.php
# Deny access to any other PHP files that do not match the rules above.
# Specifically, disallow autoload.php from being served directly.
RewriteRule "^(.+/.*|autoload)\.php($|/)" - [F]
@@ -148,11 +151,21 @@ AddEncoding gzip svgz
# Rules to correctly serve gzip compressed CSS and JS files.
# Requires both mod_rewrite and mod_headers to be enabled.
<IfModule mod_headers.c>
# Serve brotli compressed CSS files if they exist and the client accepts brotli.
RewriteCond %{HTTP:Accept-encoding} br
RewriteCond %{REQUEST_FILENAME}\.br -s
RewriteRule ^(.*css_[a-zA-Z0-9-_]+)\.css$ $1\.css\.br [QSA]
# Serve gzip compressed CSS files if they exist and the client accepts gzip.
RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}\.gz -s
RewriteRule ^(.*css_[a-zA-Z0-9-_]+)\.css$ $1\.css\.gz [QSA]
# Serve brotli compressed JS files if they exist and the client accepts brotli.
RewriteCond %{HTTP:Accept-encoding} br
RewriteCond %{REQUEST_FILENAME}\.br -s
RewriteRule ^(.*js_[a-zA-Z0-9-_]+)\.js$ $1\.js\.br [QSA]
# Serve gzip compressed JS files if they exist and the client accepts gzip.
RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}\.gz -s
@@ -161,6 +174,8 @@ AddEncoding gzip svgz
# Serve correct content types, and prevent double compression.
RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1,E=no-brotli:1]
RewriteRule \.js\.gz$ - [T=text/javascript,E=no-gzip:1,E=no-brotli:1]
RewriteRule \.css\.br$ - [T=text/css,E=no-gzip:1,E=no-brotli:1]
RewriteRule \.js\.br$ - [T=text/javascript,E=no-gzip:1,E=no-brotli:1]
<FilesMatch "(\.js\.gz|\.css\.gz)$">
# Serve correct encoding type.
@@ -168,6 +183,13 @@ AddEncoding gzip svgz
# Force proxies to cache gzipped & non-gzipped css/js files separately.
Header append Vary Accept-Encoding
</FilesMatch>
<FilesMatch "(\.js\.br|\.css\.br)$">
# Serve correct encoding type.
Header set Content-Encoding br
# Force proxies to cache compressed & non-compressed css/js files separately.
Header append Vary Accept-Encoding
</FilesMatch>
</IfModule>
</IfModule>
+8 -3
View File
@@ -18,8 +18,10 @@
/vendor/
# Ignore configuration files that may contain sensitive information.
sites/*/settings*.php
sites/*/services*.yml
sites/*/*settings*.php
!sites/*/default.settings.php
sites/*/*services*.yml
!sites/*/default.services.yml
# Ignore paths that contain user-generated content.
sites/*/files
@@ -32,7 +34,10 @@ sites/simpletest
# or delete the previous settings and uncomment the following ones, instead.
# Ignore configuration files that may contain sensitive information.
# */settings*.php
# */*settings*.php
# !*/default.settings.php
# */*services*.yml
# !*/default.services.yml
# Ignore paths that contain user-generated content.
# */files
+4 -9
View File
@@ -9,14 +9,9 @@
*/
use Drupal\Core\DrupalKernel;
use Symfony\Component\HttpFoundation\Request;
$autoloader = require_once 'autoload.php';
require_once 'autoload_runtime.php';
$kernel = new DrupalKernel('prod', $autoloader);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
return static function () {
return new DrupalKernel('prod', require 'autoload.php');
};
+6 -1
View File
@@ -19,20 +19,24 @@ Allow: /core/*.css$
Allow: /core/*.css?
Allow: /core/*.js$
Allow: /core/*.js?
Allow: /core/*.avif
Allow: /core/*.gif
Allow: /core/*.jpg
Allow: /core/*.jpeg
Allow: /core/*.png
Allow: /core/*.svg
Allow: /core/*.webp
Allow: /profiles/*.css$
Allow: /profiles/*.css?
Allow: /profiles/*.js$
Allow: /profiles/*.js?
Allow: /profiles/*.avif
Allow: /profiles/*.gif
Allow: /profiles/*.jpg
Allow: /profiles/*.jpeg
Allow: /profiles/*.png
Allow: /profiles/*.svg
Allow: /profiles/*.webp
# Directories
Disallow: /core/
Disallow: /profiles/
@@ -46,13 +50,13 @@ 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/
Disallow: /comment/reply/
Disallow: /filter/tips
Disallow: /node/add/
Disallow: /search/
Disallow: /search?
Disallow: /user/register
Disallow: /user/password
Disallow: /user/login
@@ -65,6 +69,7 @@ Disallow: /index.php/comment/reply/
Disallow: /index.php/filter/tips
Disallow: /index.php/node/add/
Disallow: /index.php/search/
Disallow: /index.php/search?
Disallow: /index.php/user/password
Disallow: /index.php/user/register
Disallow: /index.php/user/login
+41 -24
View File
@@ -38,6 +38,10 @@ parameters:
# To maximize compatibility and normalize the behavior across user agents,
# the cookie domain should start with a dot.
#
# Sessions themselves will only be synchronized across subdomains if they
# are all served from the same Drupal installation or if some other session
# sharing mechanism is implemented.
#
# @default none
# cookie_domain: '.example.com'
#
@@ -47,23 +51,6 @@ parameters:
# information.
# @default no value
cookie_samesite: Lax
#
# Set the session ID string length. The length can be between 22 to 256. The
# PHP recommended value is 48. See
# https://www.php.net/manual/session.security.ini.php for more information.
# This value should be kept in sync with
# \Drupal\Core\Session\SessionConfiguration::__construct()
# @default 48
sid_length: 48
#
# Set the number of bits in encoded session ID character. The possible
# values are '4' (0-9, a-f), '5' (0-9, a-v), and '6' (0-9, a-z, A-Z, "-",
# ","). The PHP recommended value is 6. See
# https://www.php.net/manual/session.security.ini.php for more information.
# This value should be kept in sync with
# \Drupal\Core\Session\SessionConfiguration::__construct()
# @default 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
@@ -216,24 +203,54 @@ parameters:
# Note: By default the configuration is disabled.
cors.config:
enabled: false
# Specify allowed headers, like 'x-allowed-header'.
# Specifies allowed headers and sets the Access-Control-Allow-Headers
# header. For example, ['X-Custom-Header']. See
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers
allowedHeaders: []
# Specify allowed request methods, specify ['*'] to allow all possible ones.
# Specifies allowed request methods and sets the
# Access-Control-Allow-Methods header. For example, ['POST', 'GET',
# 'OPTIONS'] or ['*'] to allow all. Note the wildcard is not yet implemented
# in all browsers. See
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods
allowedMethods: []
# Configure requests allowed from specific origins. Do not include trailing
# slashes with URLs.
# Configure requests allowed from specific origins and sets the
# Access-Control-Allow-Origin header. For example,
# ['https://www.drupal.org'] or ['*'] to allow any origin to access your
# resource. See
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
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. The default is false which
# means the header will not be set. To set the header use a comma delimited
# list within square brackets. For example, ['Content-Type', 'Expires'] or
# ['*'] to expose all headers. Setting exposedHeaders: ['*'] will result in
# a Access-Control-Expose-Headers: * response header. See
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers
exposedHeaders: false
# Sets the Access-Control-Max-Age header.
# Setting Access-Control-Max-Age header value to '0' or false will omit this
# from the response. However, setting it to '-1' will explicitly disable
# caching. For example, setting the value to 600 will cache results of a
# preflight request for 10 minutes. See
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age
maxAge: false
# Sets the Access-Control-Allow-Credentials header.
# Sets the Access-Control-Allow-Credentials header if set to true. See
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials
supportsCredentials: false
# The maximum number of entities stored in memory. Lowering this number can
# reduce the amount of memory used in long-running processes like migrations,
# however will also increase requests to the database or entity cache backend.
entity.memory_cache.slots: 1000
queue.config:
# The maximum number of seconds to wait if a queue is temporarily suspended.
# This is not applicable when a queue is suspended but does not specify
# how long to wait before attempting to resume.
suspendMaximumWait: 30
# Can be argon2i, argon2id or 2y (bcrypt). Setting to NULL (~) will use PASSWORD_DEFAULT.
# See https://www.php.net/password_hash
password.algorithm: ~
# Options passed to password_hash. See https://www.php.net/password_hash
password.options: [ ]
+63 -52
View File
@@ -67,10 +67,10 @@
* during the same request.
*
* One example of the simplest connection array is shown below. To use the
* sample settings, copy and uncomment the code below between the @code and
* @endcode lines and paste it after the $databases declaration. You will need
* to replace the database username and password and possibly the host and port
* with the appropriate credentials for your database system.
* sample settings, copy and uncomment the code below and paste it after the
* $databases declaration. You will need to replace the database username and
* password and possibly the host and port with the appropriate credentials for
* your database system.
*
* The next section describes how to customize the $databases array for more
* specific needs.
@@ -144,7 +144,7 @@ $databases = [];
* in deadlocks, the other two options are 'READ UNCOMMITTED' and 'SERIALIZABLE'.
* They are available but not supported; use them at your own risk. For more
* info:
* https://dev.mysql.com/doc/refman/5.7/en/innodb-transaction-isolation-levels.html
* https://dev.mysql.com/doc/refman/8.0/en/innodb-transaction-isolation-levels.html
*
* On your settings.php, change the isolation level:
* @code
@@ -312,7 +312,7 @@ $settings['hash_salt'] = '';
$settings['update_free_access'] = FALSE;
/**
* Fallback to HTTP for Update Manager and for fetching security advisories.
* Fallback to HTTP for Update Status and for fetching security advisories.
*
* If your site fails to connect to updates.drupal.org over HTTPS (either when
* fetching data on available updates, or when fetching the feed of critical
@@ -475,30 +475,6 @@ $settings['update_free_access'] = FALSE;
*/
# $settings['class_loader_auto_detect'] = FALSE;
/**
* Authorized file system operations:
*
* The Update Manager module included with Drupal provides a mechanism for
* site administrators to securely install missing updates for the site
* directly through the web user interface. On securely-configured servers,
* the Update manager will require the administrator to provide SSH or FTP
* credentials before allowing the installation to proceed; this allows the
* site to update the new files as the user who owns all the Drupal files,
* instead of as the user the webserver is running as. On servers where the
* webserver user is itself the owner of the Drupal files, the administrator
* will not be prompted for SSH or FTP credentials (note that these server
* setups are common on shared hosting, but are inherently insecure).
*
* Some sites might wish to disable the above functionality, and only update
* the code directly via SSH or FTP themselves. This setting completely
* disables all functionality related to these authorized file operations.
*
* @see https://www.drupal.org/node/244924
*
* Remove the leading hash signs to disable.
*/
# $settings['allow_authorize_operations'] = FALSE;
/**
* Default mode for directories and files written by Drupal.
*
@@ -516,6 +492,15 @@ $settings['update_free_access'] = FALSE;
*/
# $settings['file_assets_path'] = 'sites/default/files';
/**
* Asset aggregate garbage collection threshold.
*
* During cache clears, JavaScript and CSS aggregates older than this threshold
* will be deleted. Set this to 0 to immediately delete all files, e.g. during
* development.
*/
# $settings['aggregate_gc_threshold'] = 86400 * 45;
/**
* Public file base URL:
*
@@ -625,6 +610,18 @@ $settings['update_free_access'] = FALSE;
*/
# $settings['file_temp_path'] = '/tmp';
/**
* Automatically create an Apache HTTP .htaccess file in writable directories.
*
* This setting can be disabled if you are not using Apache HTTP server, or if
* you have a web server configuration that protects the various writable file
* directories.
*
* @see \Drupal\Component\FileSecurity\FileSecurity::writeHtaccess()
* @see https://www.drupal.org/docs/administering-a-drupal-site/security-in-drupal/securing-file-permissions-and-ownership
*/
# $settings['auto_create_htaccess'] = FALSE;
/**
* Session write interval:
*
@@ -647,7 +644,7 @@ $settings['update_free_access'] = FALSE;
*/
# $settings['locale_custom_strings_en'][''] = [
# 'Home' => 'Front page',
# '@count min' => '@count minutes',
# 'Last run @time ago' => 'Last run was done @time ago',
# ];
/**
@@ -710,6 +707,24 @@ $settings['update_free_access'] = FALSE;
# $config['system.site']['name'] = 'My Drupal site';
# $config['user.settings']['anonymous'] = 'Visitor';
/**
* Enable HTML5 form validation.
*
* Drupal 12 will disable HTML5 form validation by default due to issues with
* usability and accessibility. Setting this to TRUE will allow user agents to
* continue performing client-side HTML5 validation. This prevents Drupal's
* Form API (FAPI) validation from executing, so FAPI validation error messages
* may not be displayed including those for required elements.
*
* Setting this to FALSE will cause HTML5 validation to be disabled on all
* forms. Only Drupal's server-side validation will be executed.
*
* This setting will be removed in Drupal 13.
*
* @see https://www.drupal.org/node/3537128
*/
# $settings['enable_html5_validation'] = TRUE;
/**
* Load services definition file.
*/
@@ -724,17 +739,6 @@ $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
*/
# $settings['container_base_class'] = '\Drupal\Core\DependencyInjection\Container';
/**
* Override the default yaml parser class.
*
* Provide a fully qualified class name here if you would like to provide an
* alternate implementation YAML parser. The class must implement the
* \Drupal\Component\Serialization\SerializationInterface interface.
*
* This setting is deprecated in Drupal 10.3 and removed in Drupal 11.
*/
# $settings['yaml_parser_class'] = NULL;
/**
* Trusted host configuration.
*
@@ -809,16 +813,6 @@ $settings['entity_update_batch_size'] = 50;
*/
$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.
*
@@ -875,6 +869,23 @@ $settings['migrate_node_migrate_type_classic'] = FALSE;
# $settings['migrate_file_public_path'] = '';
# $settings['migrate_file_private_path'] = '';
/**
* Media oEmbed discovery trusted host configuration.
*
* The oEmbed spec allows for provider/resource discovery by fetching a URL. The
* patterns here restrict which domains Drupal will make a request to for oEmbed
* discovery.
*
* For example:
* @code
* $settings['media_oembed_discovery_trusted_host_patterns'] = [
* '^www\.example\.com$',
* ];
* @endcode
* will allow the site to make oEmbed discovery requests to www.example.com.
*/
# $settings['media_oembed_discovery_trusted_host_patterns'] = [];
/**
* Load local development override configuration, if available.
*
+11
View File
@@ -17,3 +17,14 @@ parameters:
services:
cache.backend.null:
class: Drupal\Core\Cache\NullBackendFactory
logger.channel.config_schema:
parent: logger.channel_base
arguments: [ 'config_schema' ]
config.schema_checker:
class: Drupal\Core\Config\Development\LenientConfigSchemaChecker
arguments:
- '@config.typed'
- '@messenger'
- '@logger.channel.config_schema'
tags:
- { name: event_subscriber }
+3 -2
View File
@@ -27,8 +27,9 @@
* @see https://www.drupal.org/node/2492225
*
* 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.
* on development machines and to 0 or -1 in production.
*
* @see https://www.php.net/manual/en/ini.core.php#ini.zend.assertions
*/
/**
@@ -33,18 +33,18 @@ titles:
titles_hmr:
header: true
js:
http://localhost:5173/assets/js/titles.js:
https://localhost:5173/assets/js/titles.js:
type: external
attributes:
type: module
vitehmr:
js:
http://localhost:5173/@vite/client:
https://localhost:5173/@vite/client:
type: external
attributes:
type: module
http://localhost:5173/assets/js/main.js:
https://localhost:5173/assets/js/main.js:
type: external
attributes:
type: module
+27 -3
View File
@@ -1,6 +1,13 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from 'node:url'
import { readFileSync } from 'node:fs'
// Certificat mkcert wildcard du reverse-proxy (SAN: localhost, 127.0.0.1,
// *.localhost, ... trusté par la CA locale) : permet de servir le dev server
// en HTTPS sans toucher à la config Traefik.
const TLS_CERT = fileURLToPath(new URL('../../../../../../reverse-proxy/certs/wildcard.localhost.pem', import.meta.url))
const TLS_KEY = fileURLToPath(new URL('../../../../../../reverse-proxy/certs/wildcard.localhost-key.pem', import.meta.url))
// https://vitejs.dev/config/
export default defineConfig({
@@ -29,15 +36,32 @@ export default defineConfig({
host: 'localhost',
port: 5173,
strictPort: true,
// HTTPS obligatoire depuis la migration Traefik : la page Drupal est
// servie en https://leshed.localhost, un dev server en http://localhost:5173
// serait bloqué en mixed content (assets + WebSocket HMR). On réutilise
// le certificat mkcert de reverse-proxy (SAN localhost/127.0.0.1) :
// aucun changement de config Traefik nécessaire.
https: {
cert: readFileSync(TLS_CERT),
key: readFileSync(TLS_KEY),
},
// Vite 5.4 crée un serveur HTTP/2 (createSecureServer) dès que `https`
// est défini, sauf si `proxy` est présent — et HTTP/2 ne supporte pas
// l'upgrade WebSocket : le HMR (wss://localhost:5173) serait refusé
// (404 / close 1006). Un `proxy: {}` vide force le serveur HTTPS en
// HTTP/1.1 (node:https) sans changer le comportement des requêtes.
proxy: {},
// Since Vite 5.4.12 (CVE-2025-24010) CORS is disabled by default.
// Explicitly allow the origin(s) that serve the Drupal pages (vhost).
// Explicitly allow the origin(s) that serve the Drupal pages (vhosts HTTPS).
cors: {
origin: [/^https?:\/\/dev\.leshed\.fr(:\d+)?$/],
origin: [/^https:\/\/leshed\.localhost(:\d+)?$/, /^https:\/\/dev\.leshed\.fr(:\d+)?$/],
},
// Absolute base URL used by Vite to build asset/HMR URLs.
origin: 'http://localhost:5173',
origin: 'https://localhost:5173',
hmr: {
host: 'localhost',
protocol: 'wss',
clientPort: 5173,
},
watch: {
usePolling: true,
+4 -9
View File
@@ -9,9 +9,8 @@
*/
use Drupal\Core\Update\UpdateKernel;
use Symfony\Component\HttpFoundation\Request;
$autoloader = require_once 'autoload.php';
require_once 'autoload_runtime.php';
// Disable garbage collection during test runs. Under certain circumstances the
// update path will create so many objects that garbage collection causes
@@ -21,10 +20,6 @@ if (drupal_valid_test_ua()) {
gc_disable();
}
$kernel = new UpdateKernel('prod', $autoloader, FALSE);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
return static function () {
return new UpdateKernel('prod', require 'autoload.php', FALSE);
};