Browse Source

added content_sync module and exported home node

Bachir Soussi Chiadmi 4 years ago
parent
commit
798a4c3929
28 changed files with 227 additions and 1159 deletions
  1. 2 1
      composer.json
  2. 72 2
      composer.lock
  3. 4 0
      config/sync/content_sync.AdminSettings.yml
  4. 3 0
      config/sync/content_sync.settings.yml
  5. 1 2
      config/sync/core.extension.yml
  6. 0 1
      config/sync/language/fr/migrate_plus.migration.d7_allpublicfiles.yml
  7. 0 46
      config/sync/migrate_plus.migration.d7_allpublicfiles.yml
  8. 0 113
      config/sync/migrate_plus.migration.d7_node_article.yml
  9. 0 51
      config/sync/migrate_plus.migration.d7_node_article_i18n.yml
  10. 0 150
      config/sync/migrate_plus.migration.d7_node_materiau.yml
  11. 0 52
      config/sync/migrate_plus.migration.d7_node_materiau_i18n.yml
  12. 0 79
      config/sync/migrate_plus.migration.d7_simplenews_nodes.yml
  13. 0 49
      config/sync/migrate_plus.migration.d7_simplenews_subscribers.yml
  14. 0 113
      config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml
  15. 0 76
      config/sync/migrate_plus.migration.d7_taxonomy_term_showroom.yml
  16. 0 44
      config/sync/migrate_plus.migration.d7_taxonomy_term_tags.yml
  17. 0 39
      config/sync/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml
  18. 0 45
      config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml
  19. 0 39
      config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml
  20. 0 68
      config/sync/migrate_plus.migration.d7_uc_roles_license.yml
  21. 0 80
      config/sync/migrate_plus.migration.d7_user_profile.yml
  22. 0 88
      config/sync/migrate_plus.migration.d7_users.yml
  23. 0 17
      config/sync/migrate_plus.migration_group.d7_materio.yml
  24. 85 0
      content/sync/node.frontpage.821b67f3-63c2-41ce-89de-e02884ee59a0.yml
  25. 1 0
      content/sync/site.uuid.yml
  26. 58 4
      web/themes/custom/materiotheme/assets/dist/main.css
  27. 0 0
      web/themes/custom/materiotheme/assets/dist/main.js
  28. 1 0
      web/themes/custom/materiotheme/assets/scripts/main.js

+ 2 - 1
composer.json

@@ -17,7 +17,6 @@
     ],
     "require": {
         "php": ">=7.3",
-        "drupal/core-composer-scaffold": "^9.0",
         "composer/installers": "^1.2",
         "drupal/amswap": "^2.0",
         "drupal/auto_entitylabel": "^2.x-dev",
@@ -33,6 +32,8 @@
         "drupal/config_split": "^1.4",
         "drupal/console": "^1.0.2",
         "drupal/consumer_image_styles": "^3.0",
+        "drupal/content_sync": "2.x-dev@dev",
+        "drupal/core-composer-scaffold": "^9.0",
         "drupal/entity_clone": "^1.0",
         "drupal/error_log": "^1.0",
         "drupal/field_permissions": "^1.0",

+ 72 - 2
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": "3bd90a32d10079b637960a7d5dc1d5f2",
+    "content-hash": "f4c33a139bde57ec6c94729bbb6b8824",
     "packages": [
         {
             "name": "alchemy/zippy",
@@ -5052,6 +5052,74 @@
                 "source": "https://git.drupalcode.org/project/content_lock"
             }
         },
+        {
+            "name": "drupal/content_sync",
+            "version": "dev-2.x",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/content_sync.git",
+                "reference": "5164f8a88149eea74e92808884dd9d04335d6d40"
+            },
+            "require": {
+                "drupal/core": "^8.6.10"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "branch-alias": {
+                    "dev-2.x": "2.x-dev"
+                },
+                "drupal": {
+                    "version": "8.x-2.1+65-dev",
+                    "datestamp": "1589227643",
+                    "security-coverage": {
+                        "status": "not-covered",
+                        "message": "Dev releases are not covered by Drupal security advisories."
+                    }
+                },
+                "drush": {
+                    "services": {
+                        "drush.services.yml": "^9"
+                    }
+                }
+            },
+            "notification-url": "https://packages.drupal.org/8/downloads",
+            "license": [
+                "GPL-2.0+"
+            ],
+            "authors": [
+                {
+                    "name": "Blanca.Esqueda",
+                    "homepage": "https://www.drupal.org/u/blancaesqueda",
+                    "role": "Maintainer"
+                },
+                {
+                    "name": "David Gil Hidalgo",
+                    "homepage": "https://www.drupal.org/u/dabito",
+                    "role": "Maintainer"
+                },
+                {
+                    "name": "David Nova",
+                    "homepage": "https://www.drupal.org/u/david4lim",
+                    "role": "Maintainer"
+                },
+                {
+                    "name": "Andrés Moncada",
+                    "homepage": "https://www.drupal.org/u/acmoncadab4",
+                    "role": "Contributor"
+                },
+                {
+                    "name": "See contributors",
+                    "homepage": "https://www.drupal.org/node/2865869/committers"
+                }
+            ],
+            "description": "Content Sync functionality.",
+            "homepage": "http://drupal.org/project/content_sync",
+            "support": {
+                "source": "https://git.drupalcode.org/project/content_sync",
+                "issues": "http://drupal.org/project/content_sync"
+            },
+            "time": "2020-05-11T20:06:32+00:00"
+        },
         {
             "name": "drupal/context",
             "version": "4.0.0-beta5",
@@ -5375,7 +5443,8 @@
                     }
                 },
                 "patches_applied": {
-                    "migrate_drupal getsetting on null": "https://www.drupal.org/files/issues/2019-02-13/migrate_drupal-getsetting_on_null.patch"
+                    "migrate_drupal getsetting on null": "https://www.drupal.org/files/issues/2019-02-13/migrate_drupal-getsetting_on_null.patch",
+                    "https://www.drupal.org/project/drupal/issues/2943172": "https://www.drupal.org/files/issues/2018-07-05/2943172-kernel-test-base-3.patch"
                 }
             },
             "autoload": {
@@ -16938,6 +17007,7 @@
         "drupal/commerce_recurring": 20,
         "drupal/commerce_variation_cart_form": 20,
         "drupal/computed_field": 10,
+        "drupal/content_sync": 20,
         "drupal/genpass": 20,
         "drupal/image_delta_formatter": 20,
         "drupal/jsonrpc": 20,

+ 4 - 0
config/sync/content_sync.AdminSettings.yml

@@ -0,0 +1,4 @@
+site_uuid_override: '0'
+help_menu_disabled: false
+_core:
+  default_config_hash: WvXLN1x52wMWWAMFc8gpSuFK5mrsLBp4e1pRR2-M08k

+ 3 - 0
config/sync/content_sync.settings.yml

@@ -0,0 +1,3 @@
+content_sync:
+  site_uuid_override: 0
+  help_menu_disabled: true

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

@@ -50,6 +50,7 @@ module:
   contact: 0
   content_lock: 0
   content_lock_timeout: 0
+  content_sync: 0
   context: 0
   contextual: 0
   cshs: 0
@@ -104,7 +105,6 @@ module:
   materio_decoupled: 0
   materio_home: 0
   materio_jsonapi: 0
-  materio_migrate: 0
   materio_samples: 0
   materio_sapi: 0
   materio_user: 0
@@ -114,7 +114,6 @@ module:
   menu_ui: 0
   migrate: 0
   migrate_drupal: 0
-  migrate_drupal_multilingual: 0
   migrate_plus: 0
   migrate_tools: 0
   mimemail: 0

+ 0 - 1
config/sync/language/fr/migrate_plus.migration.d7_allpublicfiles.yml

@@ -1 +0,0 @@
-label: 'Fichiers publics'

+ 0 - 46
config/sync/migrate_plus.migration.d7_allpublicfiles.yml

@@ -1,46 +0,0 @@
-uuid: 79ab8656-5caa-4963-8a96-b8e99a95734b
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: s3vx8Rz_WiVJ7xdZk9aSaFRCIAvdHcywmrmhCKdAY6U
-id: d7_allpublicfiles
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-  - Files
-migration_group: d7_materio
-label: 'Public files'
-source:
-  plugin: d7_pubic_file
-  scheme: public
-  constants:
-    source_base_path: ../../../d7.materio.com/public_html
-process:
-  filename: filename
-  source_full_path:
-    -
-      plugin: concat
-      delimiter: /
-      source:
-        - constants/source_base_path
-        - filepath
-    -
-      plugin: urlencode
-  uri:
-    plugin: file_copy
-    source:
-      - '@source_full_path'
-      - uri
-  filemime: filemime
-  status: status
-  created: timestamp
-  changed: timestamp
-  uid: uid
-destination:
-  plugin: 'entity:file'
-migration_dependencies: null

+ 0 - 113
config/sync/migrate_plus.migration.d7_node_article.yml

@@ -1,113 +0,0 @@
-uuid: 6699fa94-779c-4ec6-80e7-529a15e8a649
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: EMJZXjJ_nG0xuawQaOH-p_ORBAYmBTmygs_QRgD3qJ4
-id: d7_node_article
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Node Article'
-source:
-  plugin: d7_node_breve
-  node_type: breve
-  high_water_property:
-    name: changed
-    alias: 'n'
-process:
-  type:
-    plugin: default_value
-    default_value: article
-  title: title
-  created: created
-  changed: changed
-  uid:
-    plugin: migration_lookup
-    migration: d7_users
-    source: uid
-  field_migration:
-    plugin: default_value
-    default_value: migration_imported
-  body:
-    plugin: iterator
-    source: body
-    process:
-      value: value
-      format:
-        plugin: default_value
-        default_value: wysiwyg
-  langcode: language
-  field_memo: field_memo
-  field_workflow:
-    -
-      plugin: default_value
-      source: workflow
-      default_value: 2
-    -
-      plugin: static_map
-      default_value: 2
-      map:
-        1: workflow_creation
-        2: workflow_hidden
-        3: workflow_visible
-        4: workflow_imported
-        5: workflow_edited
-  field_thesaurus:
-    plugin: migration_lookup
-    migration: d7_taxonomy_term_thesaurus
-    source: field_onthologie
-  field_tags:
-    plugin: migration_lookup
-    migration: d7_taxonomy_term_tags
-    source: field_tags_libres
-  field_video:
-    plugin: iterator
-    source: field_video_filter
-    process:
-      value: url
-  field_linked_materials:
-    -
-      plugin: skip_on_empty
-      method: process
-      source: linked_materials
-    -
-      plugin: migration_lookup
-      migration: d7_node_materiau
-      no_stub: true
-  field_visuel:
-    plugin: iterator
-    source: field_visuel
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: d7_allpublicfiles
-        source: fid
-        no_stub: true
-      alt: alt
-      title: title
-      height: height
-      width: width
-  field_source:
-    plugin: iterator
-    source: field_source
-    process:
-      uri: url
-      title: title
-      options: attributes
-destination:
-  plugin: 'entity:node'
-migration_dependencies:
-  required:
-    - d7_allpublicfiles
-    - d7_users
-    - d7_taxonomy_term_thesaurus
-    - d7_taxonomy_term_tags
-    - d7_taxonomy_term_company
-    - d7_taxonomy_term_showroom
-    - d7_node_materiau

+ 0 - 51
config/sync/migrate_plus.migration.d7_node_article_i18n.yml

@@ -1,51 +0,0 @@
-uuid: 2ff8e8e0-ca3d-47d6-875f-f8de1e735f19
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: vLmdf7LyOFNcHdarEDF_W3CV4Wp-K6GdgH_dOwuUHTY
-id: d7_node_article_i18n
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Node Article i18n'
-source:
-  plugin: d7_node_breve_i18n
-  node_type: breve
-  translations: true
-  high_water_property:
-    name: changed
-    alias: 'n'
-process:
-  nid:
-    plugin: migration_lookup
-    source: nid
-    migration: d7_node_article
-    no_stub: true
-  type:
-    plugin: default_value
-    default_value: article
-  langcode: language
-  content_translation_source: source
-  title: title
-  created: created
-  changed: changed
-  body:
-    plugin: iterator
-    source: body
-    process:
-      value: value
-      format:
-        plugin: default_value
-        default_value: wysiwyg
-destination:
-  plugin: 'entity:node'
-  translations: true
-migration_dependencies:
-  required:
-    - d7_node_article

+ 0 - 150
config/sync/migrate_plus.migration.d7_node_materiau.yml

@@ -1,150 +0,0 @@
-uuid: fe4c9750-5837-4072-9c3f-7462e8edd77c
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: UpJLhcKQg-FLL7eI8MUvKVK9_zsXMOmQTCpIEkRcnKY
-id: d7_node_materiau
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Node Materiau'
-source:
-  plugin: d7_node_materiau
-  node_type: materiau
-  high_water_property:
-    name: changed
-    alias: 'n'
-process:
-  type:
-    plugin: default_value
-    default_value: materiau
-  title: title
-  created: created
-  changed: changed
-  uid:
-    plugin: migration_lookup
-    migration: d7_users
-    source: uid
-  field_short_description: field_nature_titre
-  field_migration:
-    plugin: default_value
-    default_value: migration_imported
-  body:
-    plugin: iterator
-    source: field_description
-    process:
-      value: value
-      format:
-        plugin: default_value
-        default_value: wysiwyg
-  langcode: language
-  field_memo: field_memo
-  field_workflow:
-    -
-      plugin: default_value
-      source: workflow
-      default_value: 2
-    -
-      plugin: static_map
-      default_value: 2
-      map:
-        1: workflow_creation
-        2: workflow_hidden
-        3: workflow_visible
-        4: workflow_imported
-        5: workflow_edited
-  field_thesaurus:
-    plugin: migration_lookup
-    migration: d7_taxonomy_term_thesaurus
-    source: field_onthologie
-    no_stub: true
-  field_tags:
-    plugin: migration_lookup
-    migration: d7_taxonomy_term_tags
-    source: field_tags_libres
-    no_stub: true
-  field_manufacturer:
-    plugin: migration_lookup
-    migration: d7_taxonomy_term_company
-    source: field_company_fab
-    no_stub: true
-  field_distributor:
-    plugin: migration_lookup
-    migration: d7_taxonomy_term_company
-    source: field_company_distrib
-    no_stub: true
-  field_video:
-    plugin: iterator
-    source: field_video_filter
-    process:
-      value: url
-  field_linked_materials:
-    -
-      plugin: skip_on_empty
-      method: process
-      source: linked_materials
-    -
-      plugin: migration_lookup
-      migration: d7_node_materiau
-      no_stub: true
-  field_linked_articles:
-    -
-      plugin: skip_on_empty
-      method: process
-      source: linked_articles
-    -
-      plugin: migration_lookup
-      migration: d7_node_article
-  field_materiau_images:
-    plugin: iterator
-    source: field_materiau_image
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: d7_allpublicfiles
-        source: fid
-        no_stub: true
-      alt: alt
-      title: title
-      height: height
-      width: width
-  field_attachments:
-    plugin: iterator
-    source: field_attachments
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: d7_allpublicfiles
-        source: fid
-        no_stub: true
-      description: description
-  field_famille: field_famille
-  field_index: field_identifiant
-  field_reference: field_reference_materio
-  field_localisation_old: field_localisation
-  field_samples:
-    plugin: iterator
-    source: field_location
-    process:
-      location: location
-      target_id:
-        plugin: migration_lookup
-        migration: d7_taxonomy_term_showroom
-        source: showroom_tid
-        no_stub: true
-destination:
-  plugin: 'entity:node'
-migration_dependencies:
-  required:
-    - d7_allpublicfiles
-    - d7_users
-    - d7_taxonomy_term_thesaurus
-    - d7_taxonomy_term_tags
-    - d7_taxonomy_term_company
-    - d7_taxonomy_term_showroom

+ 0 - 52
config/sync/migrate_plus.migration.d7_node_materiau_i18n.yml

@@ -1,52 +0,0 @@
-uuid: 1cc85278-4253-4ee4-abe9-bdbfdbcd4fd1
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: Qs6SCZjjvh6GVqAsUnNPqcgKFQDrDg-NQ3yeTRQEFLU
-id: d7_node_materiau_i18n
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Node Materiau i18n'
-source:
-  plugin: d7_node_materiau_i18n
-  node_type: materiau
-  translations: true
-  high_water_property:
-    name: changed
-    alias: 'n'
-process:
-  nid:
-    plugin: migration_lookup
-    source: nid
-    migration: d7_node_materiau
-    no_stub: true
-  type:
-    plugin: default_value
-    default_value: materiau
-  langcode: language
-  content_translation_source: source
-  title: title
-  created: created
-  changed: changed
-  field_short_description: field_nature_titre
-  body:
-    plugin: iterator
-    source: field_description
-    process:
-      value: value
-      format:
-        plugin: default_value
-        default_value: wysiwyg
-destination:
-  plugin: 'entity:node'
-  translations: true
-migration_dependencies:
-  required:
-    - d7_node_materiau

+ 0 - 79
config/sync/migrate_plus.migration.d7_simplenews_nodes.yml

@@ -1,79 +0,0 @@
-uuid: d871f284-27e4-4ace-977b-d036fbc3519c
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: V4b8Ctj8B8jqXWdO1pnAIWyZxa_cdp-tjxU-swY0jvE
-id: d7_simplenews_nodes
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Simplenews newsletters nodes'
-source:
-  plugin: d7_simplenews_nodes
-  node_type: simplenews
-  high_water_property:
-    name: changed
-    alias: 'n'
-process:
-  type:
-    plugin: default_value
-    default_value: simplenews_issue
-  title: title
-  created: created
-  changed: changed
-  uid:
-    plugin: migration_lookup
-    migration: d7_users
-    source: uid
-  field_migration:
-    plugin: default_value
-    default_value: migration_imported
-  body:
-    plugin: iterator
-    source: body
-    process:
-      value: value
-      format:
-        plugin: default_value
-        default_value: wysiwyg
-  langcode: language
-  field_workflow:
-    -
-      plugin: default_value
-      source: workflow
-      default_value: 2
-    -
-      plugin: static_map
-      default_value: 2
-      map:
-        1: workflow_creation
-        2: workflow_hidden
-        3: workflow_visible
-        4: workflow_imported
-        5: workflow_edited
-  simplenews_issue:
-    -
-      plugin: extract
-      source: field_simplenews_term
-      index:
-        - 0
-        - tid
-    -
-      plugin: static_map
-      map:
-        6585: test
-        6374: ze_daily_materio_
-        6274: materio_newsletter
-        7881: companies
-destination:
-  plugin: 'entity:node'
-migration_dependencies:
-  required:
-    - d7_allpublicfiles
-    - d7_users

+ 0 - 49
config/sync/migrate_plus.migration.d7_simplenews_subscribers.yml

@@ -1,49 +0,0 @@
-uuid: 1700dfa0-73b4-44a1-a62d-a93055ba700d
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: VloCz4g4ojd5g00TY-4icqkDJXC2zOYHP3ysyqL4lUQ
-id: d7_simplenews_subscribers
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Simplenews subscribers'
-source:
-  plugin: d7_simplenews_subscribers
-process:
-  id: snid
-  status: activated
-  mail: mail
-  uid:
-    plugin: migration
-    migration: d7_users
-    source: uid
-  langcode: language
-  changes: changes
-  created: created
-  subscriptions:
-    plugin: iterator
-    source: subscriptions
-    process:
-      target_id:
-        plugin: static_map
-        source: newsletter_id
-        map:
-          6585: test
-          6374: ze_daily_materio_
-          6274: materio_newsletter
-          7881: companies
-      status: status
-      timestamp: timestamp
-      source: source
-destination:
-  plugin: 'entity:simplenews_subscriber'
-migration_dependencies:
-  required:
-    - d7_users

+ 0 - 113
config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml

@@ -1,113 +0,0 @@
-uuid: 8465fcbe-2003-4af4-ac5b-906f1b85dda7
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: KD8aokrh9C4c7Cnr91IkjxeMimTrOAqjLSWjRACToJ8
-id: d7_taxonomy_term_company
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Taxonomy terms Company'
-source:
-  plugin: d7_taxonomy_term_company
-  bundle: company
-process:
-  vid:
-    plugin: default_value
-    default_value: company
-  name: name
-  weight: weight
-  parent_id:
-    -
-      plugin: skip_on_empty
-      method: process
-      source: parent
-    -
-      plugin: migration_lookup
-      migration: d7_taxonomy_term_company
-  parent:
-    plugin: default_value
-    default_value: 0
-    source: '@parent_id'
-  changed: timestamp
-  langcode:
-    plugin: default_value
-    default_value: und
-  field_migration:
-    plugin: default_value
-    default_value: migration_imported
-  field_website:
-    plugin: iterator
-    source: field_website
-    process:
-      uri: url
-      title: title
-      options: attributes
-  field_memo: field_memo
-  field_public_phone: public_phone
-  field_public_email:
-    plugin: iterator
-    source: field_public_email
-    process:
-      value: email
-  field_public_address:
-    plugin: iterator
-    source: field_public_address
-    process:
-      country_code: country
-      administrative_area: administrative_area
-      locality: locality
-      dependent_locality: dependent_locality
-      postal_code: postal_code
-      address_line1: thoroughfare
-      organization: organisation_name
-      given_name: first_name
-      family_name: last_name
-  field_note: field_note
-  field_departement: field_departement
-  description:
-    plugin: iterator
-    source: body
-    process:
-      value: value
-      format:
-        plugin: default_value
-        default_value: wysiwyg
-  field_infos_from_company:
-    plugin: iterator
-    source: field_infos_from_company
-    process:
-      value: value
-      format:
-        plugin: default_value
-        default_value: wysiwyg
-  field_workflow:
-    plugin: static_map
-    source: workflow
-    map:
-      1: workflow_creation
-      2: workflow_hidden
-      3: workflow_visible
-      4: workflow_imported
-      5: workflow_edited
-  field_attachments:
-    plugin: iterator
-    source: field_attachments
-    process:
-      target_id:
-        plugin: migration_lookup
-        migration: d7_allpublicfiles
-        source: fid
-        no_stub: true
-      description: description
-destination:
-  plugin: 'entity:taxonomy_term'
-migration_dependencies:
-  required:
-    - d7_allpublicfiles

+ 0 - 76
config/sync/migrate_plus.migration.d7_taxonomy_term_showroom.yml

@@ -1,76 +0,0 @@
-uuid: 82fb4ac1-4ba1-4fe4-9910-1dcb12eae60c
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: Oip5TPNIP8RxEmtUffgwo8AuBwxsYGMdECAxEqmnCiA
-id: d7_taxonomy_term_showroom
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Taxonomy terms Showroom'
-source:
-  plugin: d7_taxonomy_term_showroom
-  bundle: showroom
-process:
-  vid:
-    plugin: default_value
-    default_value: showroom
-  name: name
-  weight: weight
-  parent:
-    plugin: default_value
-    default_value: 0
-  changed: timestamp
-  langcode:
-    plugin: default_value
-    default_value: und
-  field_migration:
-    plugin: default_value
-    default_value: migration_imported
-  field_workflow:
-    plugin: default_value
-    default_value: workflow_visible
-  field_website:
-    plugin: iterator
-    source: field_website
-    process:
-      uri: url
-      title: title
-      options: attributes
-  field_memo: field_memo
-  field_public_phone: public_phone
-  field_public_email:
-    plugin: iterator
-    source: field_public_email
-    process:
-      value: email
-  field_public_address:
-    plugin: iterator
-    source: field_public_address
-    process:
-      country_code: country
-      administrative_area: administrative_area
-      locality: locality
-      dependent_locality: dependent_locality
-      postal_code: postal_code
-      address_line1: thoroughfare
-      organization: organisation_name
-      given_name: first_name
-      family_name: last_name
-  description:
-    plugin: iterator
-    source: body
-    process:
-      value: value
-      format:
-        plugin: default_value
-        default_value: wysiwyg
-destination:
-  plugin: 'entity:taxonomy_term'
-migration_dependencies: null

+ 0 - 44
config/sync/migrate_plus.migration.d7_taxonomy_term_tags.yml

@@ -1,44 +0,0 @@
-uuid: a314593d-a9b5-4a75-95cf-da2a0b972b72
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: ANwnCRB6FgqpsP5cu1RdbPcXBem0E0qSi-7q3RZjmp8
-id: d7_taxonomy_term_tags
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Taxonomy terms Tags'
-source:
-  plugin: d7_taxonomy_term_tags
-  bundle: tag_libres
-process:
-  vid:
-    plugin: default_value
-    default_value: tags
-  name: name
-  description/value: description
-  description/format: format
-  weight: weight
-  parent_id:
-    -
-      plugin: skip_on_empty
-      method: process
-      source: parent
-    -
-      plugin: migration_lookup
-      migration: d7_taxonomy_term_tags
-  parent:
-    plugin: default_value
-    default_value: 0
-    source: '@parent_id'
-  changed: timestamp
-  field_synonyms: synonyms_synonym
-destination:
-  plugin: 'entity:taxonomy_term'
-migration_dependencies: null

+ 0 - 39
config/sync/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml

@@ -1,39 +0,0 @@
-uuid: 69374e74-992d-4754-a950-8797b63a590d
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: IVIXijd3hu4c6IYCkPsT81h334IVvQ1mRLonwSCegVc
-id: d7_taxonomy_term_tags_i18n
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Taxonomy terms Tags i18n'
-source:
-  plugin: d7_taxonomy_term_tags_i18n
-  bundle: tag_libres
-  translations: true
-process:
-  tid:
-    plugin: migration_lookup
-    migration: d7_taxonomy_term_tags
-    source: tid
-  vid:
-    plugin: default_value
-    default_value: tags
-  langcode: language
-  name: name
-  description/value: description
-  description/format: format
-  field_synonyms: synonyms_synonym
-destination:
-  plugin: 'entity:taxonomy_term'
-  translations: true
-migration_dependencies:
-  required:
-    - d7_taxonomy_term_tags

+ 0 - 45
config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml

@@ -1,45 +0,0 @@
-uuid: 44d6af6e-b0be-49e6-8833-351d39efcc9b
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: 55XmBttIA63YE74GI20R9E_synOOR7E6yObM-HVGKSw
-id: d7_taxonomy_term_thesaurus
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Taxonomy terms Thesaurus'
-source:
-  plugin: d7_taxonomy_term_thesaurus
-  bundle: onthologie
-process:
-  vid:
-    plugin: default_value
-    default_value: thesaurus
-  name: name
-  description/value: description
-  description/format: format
-  weight: weight
-  parent_id:
-    -
-      plugin: skip_on_empty
-      method: process
-      source: parent
-    -
-      plugin: migration_lookup
-      migration: d7_taxonomy_term_thesaurus
-  parent:
-    plugin: default_value
-    default_value: 0
-    source: '@parent_id'
-  changed: timestamp
-  field_synonyms: synonyms_synonym
-  field_used_on_advanced_search: field_used_on_advanced_search
-destination:
-  plugin: 'entity:taxonomy_term'
-migration_dependencies: null

+ 0 - 39
config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml

@@ -1,39 +0,0 @@
-uuid: 9180eced-8d25-44f9-8c93-b8c6b00e656e
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: dEUkhkROYAKjrQDitdMPb_P8qPFSTRVEypMkdvRHkdg
-id: d7_taxonomy_term_thesaurus_i18n
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'Taxonomy terms Thesaurus i18n'
-source:
-  plugin: d7_taxonomy_term_thesaurus_i18n
-  bundle: onthologie
-  translations: true
-process:
-  tid:
-    plugin: migration_lookup
-    migration: d7_taxonomy_term_thesaurus
-    source: tid
-  vid:
-    plugin: default_value
-    default_value: thesaurus
-  langcode: language
-  name: name
-  description/value: description
-  description/format: format
-  field_synonyms: synonyms_synonym
-destination:
-  plugin: 'entity:taxonomy_term'
-  translations: true
-migration_dependencies:
-  required:
-    - d7_taxonomy_term_thesaurus

+ 0 - 68
config/sync/migrate_plus.migration.d7_uc_roles_license.yml

@@ -1,68 +0,0 @@
-uuid: 2612da83-201b-49c2-aa68-a0503029ab47
-langcode: en
-status: true
-dependencies:
-  enforced:
-    module:
-      - commerce_product
-      - commerce_license
-_core:
-  default_config_hash: uBcqzDKpO358QBdXpZONLiQ13aH-bbfmWiN4yiwzKIM
-id: d7_uc_roles_license
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Ubercart
-  - Materio
-migration_group: d7_materio
-label: 'License from D7 Ubercart Roles.'
-source:
-  plugin: d7_uc_license_role
-process:
-  type:
-    plugin: default_value
-    default_value: role
-  uid:
-    -
-      plugin: skip_on_empty
-      method: row
-      source: uid
-    -
-      plugin: migration_lookup
-      migration: d7_users
-      no_stub: true
-  state: state
-  created: created
-  granted: created
-  renewed: renewed
-  changed: renewed
-  license_role:
-    plugin: static_map
-    source: rid
-    map:
-      6: adherent
-      10: student
-  expiration_type:
-    plugin: default_value
-    default_value:
-      target_plugin_id: rolling_interval
-      target_plugin_configuration:
-        interval:
-          interval: 1
-          period: year
-  expires: expiration
-  product_variation:
-    plugin: static_map
-    source: rid
-    map:
-      6: 2
-      10: 7
-destination:
-  plugin: 'entity:commerce_license'
-  destination_module: commerce_license
-migration_dependencies:
-  required:
-    - d7_users
-  optional: {  }

+ 0 - 80
config/sync/migrate_plus.migration.d7_user_profile.yml

@@ -1,80 +0,0 @@
-uuid: 71aada73-563b-44cd-b369-249fe043905e
-langcode: en
-status: true
-dependencies:
-  enforced:
-    module:
-      - migrate_plus
-      - migrate_tools
-      - profile
-_core:
-  default_config_hash: BXfTTGg9wZCH6eEyUC3OcKgCj56WCCRQMcDLYj9yHfo
-id: d7_user_profile
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'D7 User Profiles'
-source:
-  plugin: d7_user_profile
-  high_water_property:
-    name: changed
-    alias: p
-process:
-  type:
-    plugin: static_map
-    source: type
-    map:
-      contact_operationnel: contact_company
-      adherent: member
-  uid:
-    plugin: migration_lookup
-    migration: d7_users
-    source: uid
-  field_title: field_private_name_title
-  field_first_name: field_first_name
-  field_name: field_name
-  field_organization: field_organization
-  field_activity_sector: field_activity_sector
-  field_phone: field_private_phone
-  field_address:
-    plugin: iterator
-    source: field_adresse
-    process:
-      country_code: country
-      administrative_area: administrative_area
-      locality: locality
-      dependent_locality: dependent_locality
-      postal_code: postal_code
-      address_line1: thoroughfare
-      organization: organisation_name
-      given_name: first_name
-      family_name: last_name
-  field_position: field_private_quality
-  field_service: field_service
-  field_employee: field_employee
-  field_vat_number_intra_ce: field_vat_number_intra_ce
-  field_naf: field_naf
-  field_siret: field_siret
-  field_website:
-    plugin: iterator
-    source: field_user_website
-    process:
-      uri: url
-      title: title
-      options: attributes
-  field_email:
-    plugin: iterator
-    source: field_email
-    process:
-      value: email
-  field_memo: field_memo
-destination:
-  plugin: 'entity:profile'
-migration_dependencies:
-  required:
-    - d7_users

+ 0 - 88
config/sync/migrate_plus.migration.d7_users.yml

@@ -1,88 +0,0 @@
-uuid: 0e8915f4-3471-4dbf-8d6a-767622125b26
-langcode: en
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: MSrCVV09c4n2q36chsUNrsaE87aqSrk3FfoG7QBzuxg
-id: d7_users
-class: null
-field_plugin_method: null
-cck_plugin_method: null
-migration_tags:
-  - 'Drupal 7'
-  - Content
-  - Materio
-migration_group: d7_materio
-label: 'User accounts'
-source:
-  plugin: d7_users
-process:
-  name: name
-  pass: pass
-  mail:
-    -
-      plugin: skip_on_value
-      equals: true
-      source: mail
-      method: row
-      value:
-        - dev@g-u-i.net
-        - admin@g-u-i.net
-    -
-      plugin: default_value
-      source: mail
-      default_value: null
-  created: created
-  access: access
-  login: login
-  status: status
-  timezone: timezone
-  langcode:
-    plugin: user_langcode
-    source: entity_language
-    fallback_to_site_default: false
-  preferred_langcode:
-    plugin: user_langcode
-    source: language
-    fallback_to_site_default: true
-  preferred_admin_langcode:
-    plugin: user_langcode
-    source: language
-    fallback_to_site_default: true
-  init: init
-  roles:
-    plugin: static_map
-    source: roles
-    default_value: 2
-    map:
-      1: anonymous
-      2: authenticated
-      3: admin
-      4: root
-      5: contact_company
-      6: adherent
-      7: free_user
-      8: premium
-      9: unverified
-      10: student
-      11: alpha_testeur
-      12: translator
-      13: admin_showroom
-  field_company:
-    plugin: migration_lookup
-    migration: d7_taxonomy_term_company
-    source: field_company
-    no_stub: true
-  field_showroom:
-    plugin: migration_lookup
-    migration: d7_taxonomy_term_showroom
-    no_stub: true
-    source: field_showroom
-  field_memo: field_memo
-destination:
-  plugin: 'entity:user'
-migration_dependencies:
-  required:
-    - d7_allpublicfiles
-    - d7_taxonomy_term_showroom
-    - d7_taxonomy_term_company

+ 0 - 17
config/sync/migrate_plus.migration_group.d7_materio.yml

@@ -1,17 +0,0 @@
-uuid: 75218419-b6ef-4f16-9ea9-bc7a04727826
-langcode: en
-status: true
-dependencies:
-  enforced:
-    module:
-      - migrate_plus
-      - migrate_tools
-      - materio_migrate
-id: d7_materio
-label: 'D7 Materio'
-description: 'Drupal 7 materio content migration to Drupal 8.'
-source_type: 'Drupal 7'
-module: null
-shared_configuration:
-  source:
-    key: legacy

+ 85 - 0
content/sync/node.frontpage.821b67f3-63c2-41ce-89de-e02884ee59a0.yml

@@ -0,0 +1,85 @@
+uuid:
+  -
+    value: 821b67f3-63c2-41ce-89de-e02884ee59a0
+langcode:
+  -
+    value: en
+type:
+  -
+    target_id: frontpage
+    target_type: node_type
+    target_uuid: 6e1252ad-defb-409c-8b11-faa2979c74c8
+revision_timestamp:
+  -
+    value: '2019-07-26T12:46:52+00:00'
+    format: 'Y-m-d\TH:i:sP'
+revision_uid:
+  -
+    target_type: user
+    target_uuid: ddacfada-7dd5-4ffd-911d-2f63f2c4af78
+revision_log: {  }
+status:
+  -
+    value: true
+uid:
+  -
+    target_type: user
+    target_uuid: 3f5e4e26-fda1-429e-8925-68fa791e20dd
+title:
+  -
+    value: Home
+created:
+  -
+    value: '2019-05-24T15:06:52+00:00'
+    format: 'Y-m-d\TH:i:sP'
+changed:
+  -
+    value: '2019-07-26T12:46:52+00:00'
+    format: 'Y-m-d\TH:i:sP'
+promote:
+  -
+    value: false
+sticky:
+  -
+    value: false
+default_langcode:
+  -
+    value: true
+revision_translation_affected: {  }
+path:
+  -
+    alias: null
+    pid: null
+    langcode: en
+synonyms: {  }
+content_translation_source:
+  -
+    value: und
+content_translation_outdated:
+  -
+    value: false
+field_a_database:
+  -
+    value: "<p>Plus de 9000 fiches de matériaux extra-ordinaires, plus de 5000 industriels référencés ! Faire des recherches : cette matériOthèque virtuelle rassemble toutes les références sélectionnées avec soin par l’équipe matériO (y figurent les contacts directs des fournisseurs). L’outil en ligne, ergonomique, facilite une recherche intuitive, simple&nbsp;et ludique, pour des résultats riches et surprenants. Un outil indispensable! Showroom et base de données en ligne sont mis à jour quotidiennement et se nourrissent en permanence des dernières innovations mondiales.</p>\r\n"
+    format: wysiwyg
+    processed: "<p>Plus de 9000 fiches de matériaux extra-ordinaires, plus de 5000 industriels référencés ! Faire des recherches : cette matériOthèque virtuelle rassemble toutes les références sélectionnées avec soin par l’équipe matériO (y figurent les contacts directs des fournisseurs). L’outil en ligne, ergonomique, facilite une recherche intuitive, simple\_et ludique, pour des résultats riches et surprenants. Un outil indispensable! Showroom et base de données en ligne sont mis à jour quotidiennement et se nourrissent en permanence des dernières innovations mondiales.</p>\n"
+field_blabla:
+  -
+    value: "<p>Les \"à coté\" de notre service &nbsp;de selection. Des projets réalisés avec des matières singulières, les avancées de la R&amp;D dans ce domaine, nos coups de coeur et nos coups de gueule, des reportages, de&nbsp;petites videos, nos actualités, différentes ressources interessantes, et plus si affinité...</p>\r\n"
+    format: wysiwyg
+    processed: "<p>Les \"à coté\" de notre service \_de selection. Des projets réalisés avec des matières singulières, les avancées de la R&amp;D dans ce domaine, nos coups de coeur et nos coups de gueule, des reportages, de\_petites videos, nos actualités, différentes ressources interessantes, et plus si affinité...</p>\n"
+field_pricing:
+  -
+    value: "<p>Si c'est gratuit c'est toi le produit</p>\r\n\r\n<p>Afin de préserver sa totale indépendance vis à vis des milliers d'industriels sélectionnés par matériO, notre equipe n'est financée QUE par un simple principe d'adhésion de ses utilisateurs. Afin que cette base de données garde sa totale liberté de selection et de ton, afin de rester riche de milliers de matières de tous secteur, pour une inspiration sans cesse renouvelée, adhérez!</p>\r\n"
+    format: wysiwyg
+    processed: "<p>Si c'est gratuit c'est toi le produit</p>\n<p>Afin de préserver sa totale indépendance vis à vis des milliers d'industriels sélectionnés par matériO, notre equipe n'est financée QUE par un simple principe d'adhésion de ses utilisateurs. Afin que cette base de données garde sa totale liberté de selection et de ton, afin de rester riche de milliers de matières de tous secteur, pour une inspiration sans cesse renouvelée, adhérez!</p>\n"
+field_showrooms:
+  -
+    value: "<p>Venez voir et toucher plusieurs milliers d’échantillons de produits, de matériaux et de technologies singuliers, classés par grandes familles. Un lieu effervescent où les créateurs viennent manipuler et s’inspirer... Une véritable caverne d'Ali Baba pour designers !</p>\r\n"
+    format: wysiwyg
+    processed: "<p>Venez voir et toucher plusieurs milliers d’échantillons de produits, de matériaux et de technologies singuliers, classés par grandes familles. Un lieu effervescent où les créateurs viennent manipuler et s’inspirer... Une véritable caverne d'Ali Baba pour designers !</p>\n"
+field_what_is_materio:
+  -
+    value: "<p>Service de veille mondiale sur les innovation matières de tous ordres, en toute indépendance… Parce que l’inspiration, la créativité, l'innovation se nourrissent en permanence de curiosité, de découvertes, d’associations improbables. Les milliers de matériaux et technologies sélectionnés se retrouvent sur notre base de données (lien) et dans nos showrooms (lien). Pour pouvoir y accéder, c’est ici (lien).</p>\r\n"
+    format: wysiwyg
+    processed: "<p>Service de veille mondiale sur les innovation matières de tous ordres, en toute indépendance… Parce que l’inspiration, la créativité, l'innovation se nourrissent en permanence de curiosité, de découvertes, d’associations improbables. Les milliers de matériaux et technologies sélectionnés se retrouvent sur notre base de données (lien) et dans nos showrooms (lien). Pour pouvoir y accéder, c’est ici (lien).</p>\n"

+ 1 - 0
content/sync/site.uuid.yml

@@ -0,0 +1 @@
+site_uuid: 9171a304-01d9-44e1-a59c-d36d77ac6bb0

File diff suppressed because it is too large
+ 58 - 4
web/themes/custom/materiotheme/assets/dist/main.css


File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.js


+ 1 - 0
web/themes/custom/materiotheme/assets/scripts/main.js

@@ -110,6 +110,7 @@ import 'theme/assets/styles/main.scss'
           classes.push('path-home');
         }else{
           let path_parts = to.path.replace(/^\//, '').split('/');
+          // TODO: remove language relative prefix from path classes (fr, en, etc)
           for (var i = 0; i < path_parts.length; i++) {
             if(i == 0){
               var c = "path-" + path_parts[i];

Some files were not shown because too many files changed in this diff