diff --git a/config/prod/matomo.settings.yml b/config/prod/matomo.settings.yml index 448ea303..7c0dcd8f 100644 --- a/config/prod/matomo.settings.yml +++ b/config/prod/matomo.settings.yml @@ -18,6 +18,7 @@ track: site_search: false privacy: donottrack: true + disablecookies: false custom: variable: { } codesnippet: diff --git a/config/stage/.htaccess b/config/stage/.htaccess new file mode 100644 index 00000000..25776a31 --- /dev/null +++ b/config/stage/.htaccess @@ -0,0 +1,24 @@ +# Deny all requests from Apache 2.4+. + + Require all denied + + +# Deny all requests from Apache 2.0-2.2. + + Deny from all + + +# 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 + + # Override the handler again if we're run later in the evaluation list. + SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003 + + +# If we know how to do it safely, disable the PHP engine entirely. + + php_flag engine off + \ No newline at end of file diff --git a/config/stage/devel.settings.yml b/config/stage/devel.settings.yml new file mode 100644 index 00000000..239e9746 --- /dev/null +++ b/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 diff --git a/config/stage/language/fr/pwa.config.yml b/config/stage/language/fr/pwa.config.yml new file mode 100644 index 00000000..ca87d136 --- /dev/null +++ b/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' diff --git a/config/stage/pwa.config.yml b/config/stage/pwa.config.yml new file mode 100644 index 00000000..f2c516ca --- /dev/null +++ b/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 diff --git a/config/stage/pwa_extras.settings.apple.yml b/config/stage/pwa_extras.settings.apple.yml new file mode 100644 index 00000000..1329f7ce --- /dev/null +++ b/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 diff --git a/config/sync/config_split.config_split.devel.yml b/config/sync/config_split.config_split.devel.yml index a2370c1c..df5acea5 100644 --- a/config/sync/config_split.config_split.devel.yml +++ b/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 diff --git a/config/sync/config_split.config_split.stage.yml b/config/sync/config_split.config_split.stage.yml index 78a0f6c4..eff021c2 100644 --- a/config/sync/config_split.config_split.stage.yml +++ b/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: { } diff --git a/config/sync/pwa.config.yml b/config/sync/pwa.config.yml index c858d5a1..f2c516ca 100644 --- a/config/sync/pwa.config.yml +++ b/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