Kaynağa Gözat

Merge branch 'master' of https://figureslibres.io/gogs/bachir/drupal-reha

ouidade 3 ay önce
ebeveyn
işleme
14ca64b00e

+ 1 - 0
composer.json

@@ -28,6 +28,7 @@
         "drupal/linked_field": "^1.5",
         "drupal/login_destination": "^2.0@beta",
         "drupal/mailsystem": "^4.4",
+        "drupal/matomo": "^1.23",
         "drupal/mimemail": "^1.0@alpha",
         "drupal/notify": "^2.0@beta",
         "drupal/page_manager": "^4.0@RC",

+ 8 - 8
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "8dd85541d0eea2cd07774ac179e85e89",
+    "content-hash": "6f22602308a4ff1247870c4dc23f07e1",
     "packages": [
         {
             "name": "asm89/stack-cors",
@@ -5444,17 +5444,17 @@
         },
         {
             "name": "drupal/matomo",
-            "version": "1.22.0",
+            "version": "1.23.0",
             "source": {
                 "type": "git",
                 "url": "https://git.drupalcode.org/project/matomo.git",
-                "reference": "8.x-1.22"
+                "reference": "8.x-1.23"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://ftp.drupal.org/files/projects/matomo-8.x-1.22.zip",
-                "reference": "8.x-1.22",
-                "shasum": "b41bb83d9c0c6f8c27f72f6b1b62f691dab65a5d"
+                "url": "https://ftp.drupal.org/files/projects/matomo-8.x-1.23.zip",
+                "reference": "8.x-1.23",
+                "shasum": "c2dbf12878388c5859e64f1e74a9ca5110d1623f"
             },
             "require": {
                 "drupal/core": "^9.0 || ^10"
@@ -5470,8 +5470,8 @@
             "type": "drupal-module",
             "extra": {
                 "drupal": {
-                    "version": "8.x-1.22",
-                    "datestamp": "1691004328",
+                    "version": "8.x-1.23",
+                    "datestamp": "1700936102",
                     "security-coverage": {
                         "status": "covered",
                         "message": "Covered by Drupal's security advisory policy"

+ 0 - 1
config/sync/content_as_config.taxonomy_term.yml

@@ -1 +0,0 @@
-{  }

+ 1 - 1
config/sync/core.entity_view_display.config_pages.mentions_legales.default.yml

@@ -14,7 +14,7 @@ mode: default
 content:
   field_mentions_legales:
     type: text_default
-    label: above
+    label: visually_hidden
     settings: {  }
     third_party_settings: {  }
     weight: 0

+ 1 - 0
config/sync/core.extension.yml

@@ -76,6 +76,7 @@ module:
   login_destination: 0
   maillog: 0
   mailsystem: 0
+  matomo: 0
   maxlength: 0
   menu_block: 0
   menu_link_content: 0

+ 1 - 1
config/sync/field.field.block_content.file_link.field_fichier.yml

@@ -21,7 +21,7 @@ settings:
   handler: 'default:file'
   handler_settings: {  }
   file_directory: file_link_block
-  file_extensions: pdf
+  file_extensions: 'pdf doc docx odt'
   max_filesize: ''
   description_field: true
 field_type: file

+ 1 - 1
config/sync/field.field.node.operation.field_dossier_de_candidature.yml

@@ -22,6 +22,6 @@ settings:
   handler_settings: {  }
   file_directory: 'dossiers/[date:custom:Y]'
   file_extensions: 'zip gzip'
-  max_filesize: '20 MB'
+  max_filesize: '200 MB'
   description_field: false
 field_type: file

+ 60 - 0
config/sync/matomo.settings.yml

@@ -0,0 +1,60 @@
+_core:
+  default_config_hash: mKwnhF-0ryfftZZP6jyqW8q9MEo9glyRkvRzSddrc0k
+langcode: fr
+site_id: '5'
+url_http: 'http://analytics.figureslibres.io/'
+url_https: 'https://analytics.figureslibres.io/'
+domain_mode: 0
+visibility:
+  request_path_mode: 0
+  request_path_pages: "/admin\r\n/admin/*\r\n/batch\r\n/node/add*\r\n/node/*/*\r\n/user/*/*"
+  user_role_mode: 0
+  user_role_roles: {  }
+  user_account_mode: 1
+track:
+  mailto: true
+  files: true
+  files_extensions: '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip'
+  colorbox: true
+  userid: false
+  messages: {  }
+  site_search: false
+privacy:
+  donottrack: true
+  disablecookies: false
+custom:
+  variable:
+    1:
+      slot: 1
+      name: ''
+      value: ''
+      scope: visit
+    2:
+      slot: 2
+      name: ''
+      value: ''
+      scope: visit
+    3:
+      slot: 3
+      name: ''
+      value: ''
+      scope: visit
+    4:
+      slot: 4
+      name: ''
+      value: ''
+      scope: visit
+    5:
+      slot: 5
+      name: ''
+      value: ''
+      scope: visit
+codesnippet:
+  before: ''
+  after: ''
+translation_set: false
+disable_tracking: false
+cache: true
+page_title_hierarchy: false
+page_title_hierarchy_exclude_home: true
+status_codes_disabled: {  }

+ 2 - 0
config/sync/user.role.authenticated.yml

@@ -9,6 +9,7 @@ dependencies:
     - config_pages
     - devel
     - filter
+    - matomo
     - node
     - system
 _core:
@@ -24,6 +25,7 @@ permissions:
   - 'change own username'
   - 'create operation content'
   - 'edit own operation content'
+  - 'opt-in or out of matomo tracking'
   - 'use text format webform_default'
   - 'view contact config page entity'
   - 'view mentions_legales config page entity'

+ 2 - 1
config/sync/views.settings.yml

@@ -1,7 +1,8 @@
 _core:
   default_config_hash: RzCmzrx-T-Sy8JX5OmtGKV_V_MxRlrxRkrI9c9igTHI
 langcode: fr
-display_extenders: {  }
+display_extenders:
+  - matomo
 skip_cache: false
 sql_signature: false
 ui:

+ 18 - 0
config/sync/views.view.content.yml

@@ -1181,6 +1181,23 @@ display:
           multi_type: separator
           separator: ', '
           field_api_classes: false
+      sorts:
+        created:
+          id: created
+          table: node_field_data
+          field: created
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: node
+          entity_field: created
+          plugin_id: date
+          order: DESC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
+          granularity: second
       filters:
         title:
           id: title
@@ -1480,6 +1497,7 @@ display:
         style: false
         row: false
         fields: false
+        sorts: false
         filters: false
         filter_groups: false
       display_description: ''

+ 1 - 1
config/sync/views.view.operations.yml

@@ -137,7 +137,7 @@ display:
           entity_type: node
           entity_field: created
           plugin_id: date
-          order: ASC
+          order: DESC
           expose:
             label: ''
             field_identifier: ''