瀏覽代碼

updated M & P modules

bach 8 月之前
父節點
當前提交
f90549820f

+ 5 - 4
composer.json

@@ -124,6 +124,7 @@
         "drupal/mailjet": "3.0.x-dev@dev",
         "drupal/mailsystem": "^4.1",
         "drupal/masquerade": "^2.x-dev@dev",
+        "drupal/maxlength": "^2.1",
         "drupal/migrate_plus": "^5.x-dev@dev",
         "drupal/migrate_tools": "^5.x-dev@dev",
         "drupal/mimemail": "^1.x-dev",
@@ -131,11 +132,11 @@
         "drupal/pagerer": "^2.3",
         "drupal/password_policy": "^4.0",
         "drupal/payment": "^2.1",
-        "drupal/pdf_api": "^2.3",
+        "drupal/pdf_api": "^2.4",
         "drupal/permissions_filter": "^1.1",
-        "drupal/printable": "^2.0",
+        "drupal/printable": "^3.1",
         "drupal/profile": "1.x-dev@dev",
-        "drupal/pwa": "^1.5",
+        "drupal/pwa": "^2.1@beta",
         "drupal/recurring_period": "^1.0",
         "drupal/redirect": "^1.x-dev@dev",
         "drupal/redis": "^1.5",
@@ -282,7 +283,7 @@
               "remove flag hooks to allow site to be accessible again https://www.drupal.org/project/flag/issues/3200806": "./patches/flag-commenthooks.patch"
             },
             "drupal/pwa": {
-              "Manifest doesn't have a maskable icon https://www.drupal.org/project/pwa/issues/3165433": "https://www.drupal.org/files/issues/2020-08-26/pwa_icon_purpose-3165433-9.patch"
+              "Manifest doesn't have a maskable icon https://www.drupal.org/project/pwa/issues/3165433": "https://www.drupal.org/files/issues/2024-03-10/manifest-doesnt-have-a-maskable-icon-error-3165433-20.patch"
             },
             "drupal/term_reference_tree": {
               "Term Reference Tree: Re-implement Track List https://www.drupal.org/project/term_reference_tree/issues/3064280": "https://www.drupal.org/files/issues/2022-02-07/3064280_bring_back_tracklist-16.patch"

文件差異過大導致無法顯示
+ 383 - 196
composer.lock


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

@@ -166,6 +166,7 @@ module:
   profile: 0
   pwa: 0
   pwa_extras: 0
+  pwa_service_worker: 0
   recurring_period: 0
   redirect: 0
   redis: 0

+ 2 - 3
config/sync/language/fr/pwa.config.yml

@@ -1,5 +1,4 @@
 description: 'L''inspiration par la matière'
-urls_to_cache: "/fr/pricing\r\n/fr/blabla\r\n/fr/base\r\n/fr/showrooms"
-start_url: /
 lang: fr
-cache_version: '1'
+start_url: /
+scope: /

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

@@ -1,9 +1,10 @@
 _core:
   default_config_hash: EKYCulG-Y3pcObfUpVbl-D9T5DDX6d4hpQ-BVlSBAmw
-scheme_whitelist:
+scheme_allow_list:
   - http
   - https
   - files
   - internal
 protocol_style: full
 local_paths: ''
+keep_language_prefix: false

+ 21 - 0
config/sync/pdf_api.dom_pdf.settings.yml

@@ -0,0 +1,21 @@
+defaultFont: serif
+dpi: 96
+fontHeightRatio: 1.1
+pdfBackend: CPDF
+pdflibLicense: ''
+isPhpEnabled: false
+isRemoteEnabled: true
+isJavascriptEnabled: true
+chroot:
+  - .
+fontDir: 'temporary://'
+fontCache: 'temporary://'
+tempDir: 'temporary://'
+debugPng: false
+debugKeepTemp: false
+debugCss: false
+debugLayout: false
+debugLayoutLines: true
+debugLayoutBlocks: true
+debugLayoutInline: true
+debugLayoutPaddingBox: true

文件差異過大導致無法顯示
+ 2887 - 1
config/sync/printable.settings.yml


+ 15 - 10
config/sync/pwa.config.yml

@@ -1,20 +1,25 @@
 _core:
   default_config_hash: cP1TZQyv1WdET3iepl2QoyOPK7VeO0xHm0lU_FU1Wmc
-site_name: materiO
+name: materiO
 short_name: materiO
 description: 'The material library your projects deserve'
 start_url: /
+scope: /
 lang: fr
+dir: auto
+orientation: portrait
+categories: {  }
 theme_color: '#ffffff'
 background_color: '#ffffff'
 display: standalone
-default_image: '0'
-urls_to_cache: "/en/pricing\r\n/en/blabla\r\n/en/base\r\n/en/showrooms"
-urls_to_exclude: "admin/.*\r\nuser/.*"
-offline_page: /offline
-cache_version: '3.1'
 cross_origin: false
-skip_waiting: false
-image: /sites/default/files/pwa/materiopwaicon.png
-image_small: /sites/default/files/pwa/materiopwaicon.pngcopy.png
-image_very_small: /sites/default/files/pwa/materiopwaicon.pngcopy2.png
+image_fid: null
+image_small_fid: null
+image_very_small_fid: null
+manifest_path_mode: all_except_listed
+manifest_paths: |-
+  /admin
+  /admin/*
+  /batch
+  /node/add*
+  /node/*/*

+ 7 - 0
config/sync/pwa_service_worker.config.yml

@@ -0,0 +1,7 @@
+_core:
+  default_config_hash: hbRa0Aq228bV5le62OUn5se9xY8yPa-D0FRSHLHkHL4
+urls_to_cache: "/en/pricing\r\n/en/blabla\r\n/en/base\r\n/en/showrooms"
+urls_to_exclude: "admin/.*\r\nuser/.*"
+offline_page: /offline
+cache_version: '1'
+skip_waiting: false

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

@@ -14,6 +14,7 @@ dependencies:
     - field_permissions
     - filter
     - graphql
+    - pwa
     - rest
     - simplenews
     - synonyms_autocomplete
@@ -28,6 +29,7 @@ is_admin: false
 permissions:
   - 'access checkout'
   - 'access content'
+  - 'access pwa'
   - 'access synonyms entity autocomplete'
   - 'create migration workflow_transition'
   - 'create workflow workflow_transition'

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

@@ -18,6 +18,7 @@ dependencies:
     - graphql
     - materio_flag
     - profile
+    - pwa
     - rest
     - simplenews
     - synonyms_autocomplete
@@ -33,6 +34,7 @@ is_admin: false
 permissions:
   - 'access checkout'
   - 'access content'
+  - 'access pwa'
   - 'access synonyms entity autocomplete'
   - 'add user_history entities'
   - 'create workflow workflow_transition'

+ 1 - 1
web/profiles/d8-starterkit-profile

@@ -1 +1 @@
-Subproject commit 8ab64cf24bae8878b64c865c2b787bd2d7101efc
+Subproject commit 9f0cf9a59aeadc1c8f76b3d3141e3041adb758d9

部分文件因文件數量過多而無法顯示