Browse Source

splitted pwa config

bach 2 years ago
parent
commit
7fd5278e82

+ 1 - 0
config/prod/matomo.settings.yml

@@ -18,6 +18,7 @@ track:
   site_search: false
 privacy:
   donottrack: true
+  disablecookies: false
 custom:
   variable: {  }
 codesnippet:

+ 24 - 0
config/stage/.htaccess

@@ -0,0 +1,24 @@
+# Deny all requests from Apache 2.4+.
+<IfModule mod_authz_core.c>
+  Require all denied
+</IfModule>
+
+# Deny all requests from Apache 2.0-2.2.
+<IfModule !mod_authz_core.c>
+  Deny from all
+</IfModule>
+
+# Turn off all options we don't need.
+Options -Indexes -ExecCGI -Includes -MultiViews
+
+# Set the catch-all handler to prevent scripts from being executed.
+SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
+<Files *>
+  # Override the handler again if we're run later in the evaluation list.
+  SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
+</Files>
+
+# If we know how to do it safely, disable the PHP engine entirely.
+<IfModule mod_php7.c>
+  php_flag engine off
+</IfModule>

+ 10 - 0
config/stage/devel.settings.yml

@@ -0,0 +1,10 @@
+page_alter: false
+raw_names: false
+error_handlers:
+  1: 1
+rebuild_theme: false
+debug_mail_file_format: '%to-%subject-%datetime.mail.txt'
+debug_mail_directory: 'temporary://devel-mails'
+devel_dumper: kint
+debug_logfile: 'temporary://drupal_debug.txt'
+debug_pre: false

+ 5 - 0
config/stage/language/fr/pwa.config.yml

@@ -0,0 +1,5 @@
+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'

+ 20 - 0
config/stage/pwa.config.yml

@@ -0,0 +1,20 @@
+site_name: materiO
+short_name: materiO
+description: 'The material library your projects deserve'
+start_url: /
+lang: fr
+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: '2'
+cross_origin: false
+skip_waiting: false
+_core:
+  default_config_hash: cP1TZQyv1WdET3iepl2QoyOPK7VeO0xHm0lU_FU1Wmc
+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

+ 23 - 0
config/stage/pwa_extras.settings.apple.yml

@@ -0,0 +1,23 @@
+touch_icons:
+  touch-icon-default: touch-icon-default
+meta_tags:
+  meta-capable: meta-capable
+  meta-status-bar-style: meta-status-bar-style
+color_select: black_translucent
+home_screen_icons:
+  iphone5-splash: iphone5-splash
+  iphone6-splash: iphone6-splash
+  iphoneplus-splash: iphoneplus-splash
+  iphonex-splash: iphonex-splash
+  iphonexr-splash: iphonexr-splash
+  iphonexsmax-splash: iphonexsmax-splash
+  ipad-splash: ipad-splash
+  ipadpro1-splash: ipadpro1-splash
+  ipadpro2-splash: ipadpro2-splash
+  ipadpro3-splash: ipadpro3-splash
+dependencies:
+  enforced:
+    module:
+      - pwa_extras
+_core:
+  default_config_hash: TOeFdF8Tjq2HqBmUgrTH06d7ZpY5qNLHZTLPIaCVsEk

+ 1 - 0
config/sync/config_split.config_split.devel.yml

@@ -11,6 +11,7 @@ module:
   context_ui: 0
   dblog: 0
   devel: 0
+  devel_generate: 0
   entity_clone: 0
   views_ui: 0
   webprofiler: 0

+ 4 - 2
config/sync/config_split.config_split.stage.yml

@@ -1,14 +1,16 @@
 uuid: eabce79f-6b0c-4e68-824f-52569c9fb2d0
 langcode: en
-status: true
+status: false
 dependencies: {  }
 id: stage
 label: Stage
 description: ''
-folder: ''
+folder: ../config/stage
 module:
   devel: 0
   devel_generate: 0
+  pwa: 0
+  pwa_extras: 0
 theme: {  }
 blacklist: {  }
 graylist: {  }

+ 2 - 2
config/sync/pwa.config.yml

@@ -10,9 +10,9 @@ 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: '1'
+cache_version: '2'
 cross_origin: false
-skip_waiting: true
+skip_waiting: false
 _core:
   default_config_hash: cP1TZQyv1WdET3iepl2QoyOPK7VeO0xHm0lU_FU1Wmc
 image: /sites/default/files/pwa/materiopwaicon.png