9 Commits 0072fa85fb ... 6122ad5f5b

Author SHA1 Message Date
  bach 6122ad5f5b drupal 10.4.1 bug fixe 7 months ago
  bach 0072fa85fb some updates 7 months ago
  bach 65b515fe0a some updates 7 months ago
  bach 3378f8ef0d updated drush 7 months ago
  bach 82b0f78b6d updated modules 7 months ago
  bach 8b100b88ab vbo: actions_permissions 10 months ago
  bach 18c6b02464 updated link_attributes 10 months ago
  bach 47a87c5319 added some config : editeur role, static, wysiwg, droits, etc 1 year ago
  bach 5a0245b936 update drush version 1 year ago

+ 7 - 7
composer.json

@@ -15,11 +15,11 @@
     "drupal/audiofield": "^1.6",
     "drupal/autocomplete_deluxe": "^2.0.0",
     "drupal/autologout": "^1.0",
-    "drupal/better_exposed_filters": "^6.0",
-    "drupal/block_class": "^4.0",
+    "drupal/better_exposed_filters": "^6",
+    "drupal/block_class": "^2.0",
     "drupal/bulkdelete": "1.x-dev",
     "drupal/cshs": "^4.0",
-    "drupal/config_ignore": "^3.3",
+    "drupal/config_ignore": "^2.3@RC",
     "drupal/config_filter": "^2.0",
     "drupal/config_devel": "^1.x-dev@dev",
     "drupal/config_update": "^2.0@alpha",
@@ -32,13 +32,13 @@
     "drupal/entity_browser": "^2.0",
     "drupal/entity_browser_enhanced": "^2.0",
     "drupal/entity_clone": "dev-2.x",
-    "drupal/extlink": "^2.0",
+    "drupal/extlink": "^1.1",
     "drupal/field_group": "3.x-dev@dev",
     "drupal/filter_perms": "1.x-dev",
     "drupal/formatter_suite": "^2.0",
     "drupal/honeypot": "^2.0",
     "drupal/imagemagick": "^3.1",
-    "drupal/inline_entity_form": "^3.0@RC",
+    "drupal/inline_entity_form": "^1.0@RC",
     "drupal/linkit": "^6.0@beta",
     "drupal/link_attributes": "^2.1",
     "drupal/login_destination": "2.x-dev@dev",
@@ -65,8 +65,8 @@
     "drupal/token": "^1.5",
     "drupal/ultimate_cron": "^2.0@alpha",
     "drupal/video_embed_field": "^2.0",
-    "drupal/views_bulk_operations": "^4.2",
-    "drupal/views_bulk_edit": "^3.0",
+    "drupal/views_bulk_operations": "^4",
+    "drupal/views_bulk_edit": "^2.2",
     "kint-php/kint": "^3.3",
     "drupal/devel_kint_extras": "^1.0"
   },

+ 18 - 0
config/install/core.base_field_override.menu_link_content.menu_link_content.changed.yml

@@ -0,0 +1,18 @@
+uuid: 8cf3fc6c-0588-4a03-ab93-096ea2238d67
+langcode: fr
+status: true
+dependencies:
+  module:
+    - menu_link_content
+id: menu_link_content.menu_link_content.changed
+field_name: changed
+entity_type: menu_link_content
+bundle: menu_link_content
+label: Modifié
+description: 'Le moment où le lien de menu a été modifié pour la dernière fois.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: changed

+ 18 - 0
config/install/core.base_field_override.menu_link_content.menu_link_content.description.yml

@@ -0,0 +1,18 @@
+uuid: 330bf0b7-02b6-4f0c-8e84-7364f51cefc7
+langcode: fr
+status: true
+dependencies:
+  module:
+    - menu_link_content
+id: menu_link_content.menu_link_content.description
+field_name: description
+entity_type: menu_link_content
+bundle: menu_link_content
+label: Description
+description: "S'affiche au survol du lien du menu."
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 18 - 0
config/install/core.base_field_override.menu_link_content.menu_link_content.title.yml

@@ -0,0 +1,18 @@
+uuid: 5174b1ec-3240-48a2-af10-6eb8ba9a231a
+langcode: fr
+status: true
+dependencies:
+  module:
+    - menu_link_content
+id: menu_link_content.menu_link_content.title
+field_name: title
+entity_type: menu_link_content
+bundle: menu_link_content
+label: 'Titre du lien dans le menu'
+description: 'Le texte à utiliser pour ce lien dans le menu.'
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 18 - 0
config/install/core.base_field_override.user.user.changed.yml

@@ -0,0 +1,18 @@
+uuid: 0199d524-aefa-4dd2-bb5d-484a5ad2394f
+langcode: fr
+status: true
+dependencies:
+  module:
+    - user
+id: user.user.changed
+field_name: changed
+entity_type: user
+bundle: user
+label: Modifié
+description: "Le moment auquel l'utilisateur a été modifié pour la dernière fois."
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: changed

+ 19 - 0
config/install/core.base_field_override.user.user.path.yml

@@ -0,0 +1,19 @@
+uuid: 2ea89f1b-95e3-483f-838d-31a2ea1df8ac
+langcode: fr
+status: true
+dependencies:
+  module:
+    - path
+    - user
+id: user.user.path
+field_name: path
+entity_type: user
+bundle: user
+label: "Alias d'URL"
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: path

+ 110 - 0
config/install/core.entity_form_display.node.static.default.yml

@@ -0,0 +1,110 @@
+uuid: 5d44108d-a6a6-4985-a3b8-dbe369bdaf9c
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.field.node.static.body
+    - node.type.static
+  module:
+    - field_group
+    - path
+    - text
+third_party_settings:
+  field_group:
+    group_details:
+      children:
+        - langcode
+        - translation
+      label: Details
+      region: content
+      parent_name: ''
+      weight: 10
+      format_type: details_sidebar
+      format_settings:
+        classes: ''
+        show_empty_fields: false
+        id: ''
+        label_as_html: false
+        open: true
+        description: ''
+        required_fields: true
+        weight: 0
+id: node.static.default
+targetEntityType: node
+bundle: static
+mode: default
+content:
+  body:
+    type: text_textarea_with_summary
+    weight: 1
+    region: content
+    settings:
+      rows: 9
+      summary_rows: 3
+      placeholder: ''
+      show_summary: false
+    third_party_settings: {  }
+  created:
+    type: datetime_timestamp
+    weight: 4
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  langcode:
+    type: language_select
+    weight: 2
+    region: content
+    settings:
+      include_locked: true
+    third_party_settings: {  }
+  path:
+    type: path
+    weight: 8
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  promote:
+    type: boolean_checkbox
+    weight: 6
+    region: content
+    settings:
+      display_label: true
+    third_party_settings: {  }
+  status:
+    type: boolean_checkbox
+    weight: 9
+    region: content
+    settings:
+      display_label: true
+    third_party_settings: {  }
+  sticky:
+    type: boolean_checkbox
+    weight: 7
+    region: content
+    settings:
+      display_label: true
+    third_party_settings: {  }
+  title:
+    type: string_textfield
+    weight: 0
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  translation:
+    weight: 3
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  uid:
+    type: entity_reference_autocomplete
+    weight: 3
+    region: content
+    settings:
+      match_operator: CONTAINS
+      match_limit: 10
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+hidden: {  }

+ 14 - 0
config/install/system.action.user_add_role_action.editeur.yml

@@ -0,0 +1,14 @@
+uuid: 95cfff39-94e5-42b9-afd6-360b1cdb8c90
+langcode: fr
+status: true
+dependencies:
+  config:
+    - user.role.editeur
+  module:
+    - user
+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

+ 14 - 0
config/install/system.action.user_remove_role_action.editeur.yml

@@ -0,0 +1,14 @@
+uuid: c19f8942-b617-4096-8e63-1b5cc104299c
+langcode: fr
+status: true
+dependencies:
+  config:
+    - user.role.editeur
+  module:
+    - user
+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

+ 0 - 1
config/install/user.role.admin.yml

@@ -26,7 +26,6 @@ permissions:
   - 'execute entity:save_action node'
   - 'execute entity:save_action taxonomy_term'
   - 'execute entity:save_action user'
-  - 'execute node_assign_owner_action node'
   - 'execute node_promote_action node'
   - 'execute node_unpromote_action node'
   - 'execute user_add_role_action user'

+ 40 - 0
config/install/user.role.editeur.yml

@@ -0,0 +1,40 @@
+uuid: 7740ebe5-9200-4336-b6b8-c29afee5f3b4
+langcode: fr
+status: true
+dependencies:
+  config:
+    - filter.format.wysiwyg
+    - node.type.static
+  module:
+    - actions_permissions
+    - content_translation
+    - filter
+    - locale
+    - node
+    - system
+    - toolbar
+id: editeur
+label: Editeur
+weight: -5
+is_admin: null
+permissions:
+  - 'access administration pages'
+  - 'access content overview'
+  - 'access toolbar'
+  - 'administer nodes'
+  - 'create content translations'
+  - 'create static content'
+  - 'edit any static content'
+  - 'execute entity:save_action node'
+  - 'execute node_make_sticky_action node'
+  - 'execute node_make_unsticky_action node'
+  - 'execute node_promote_action node'
+  - 'execute node_unpromote_action node'
+  - 'revert static revisions'
+  - 'translate editable entities'
+  - 'translate interface'
+  - 'update content translations'
+  - 'use text format wysiwyg'
+  - 'view own unpublished content'
+  - 'view static revisions'
+  - 'view the administration theme'

+ 0 - 2
config/install/user.role.root.yml

@@ -105,12 +105,10 @@ permissions:
   - 'execute entity:save_action taxonomy_term'
   - 'execute entity:save_action user'
   - 'execute entity:unpublish_action node'
-  - 'execute node_assign_owner_action node'
   - 'execute node_make_sticky_action node'
   - 'execute node_make_unsticky_action node'
   - 'execute node_promote_action node'
   - 'execute node_unpromote_action node'
-  - 'execute node_unpublish_by_keyword_action node'
   - 'execute user_add_role_action user'
   - 'execute user_block_user_action user'
   - 'execute user_remove_role_action user'