diff --git a/.gitignore b/.gitignore index 3ffe391d..9bc736e9 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,10 @@ web/sites/default/files/* web/sites/default/files/.* web/sites/default/settings.php web/sites/*/files +web/sites/development.services.yml +web/sites/development.services.yml +web/sites/default/online_settings.php +web/.htaccess web/themes/custom/popsu_colloque/node_modules/* web/themes/custom/popsu_colloque/node_modules/.* diff --git a/composer.json b/composer.json index 90b214f1..fb64f2ec 100644 --- a/composer.json +++ b/composer.json @@ -37,6 +37,7 @@ "drupal/pathauto": "^1.8", "drupal/redirect": "^1.6", "drupal/redirect_after_login": "^2.6", + "drupal/redis": "^1.4", "drupal/schema_metatag": "^1.5", "drupal/site_settings": "^1.19", "drupal/subpathauto": "^1.1", diff --git a/composer.lock b/composer.lock index a3a78cbc..987d30de 100644 --- a/composer.lock +++ b/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": "29cc16d87dfa1a5cf3a201520e89bc80", + "content-hash": "fde7628e678725f0a0bf21aff1250e43", "packages": [ { "name": "asm89/stack-cors", @@ -4213,6 +4213,62 @@ "source": "https://git.drupalcode.org/project/redirect_after_login" } }, + { + "name": "drupal/redis", + "version": "1.4.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/redis.git", + "reference": "8.x-1.4" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/redis-8.x-1.4.zip", + "reference": "8.x-1.4", + "shasum": "87165acdda18873c1e3994c670bcb4cdafd3d0ff" + }, + "require": { + "drupal/core": "^8.8 || ^9" + }, + "suggest": { + "predis/predis": "^1.1.1" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.4", + "datestamp": "1581504947", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "autoload": { + "psr-4": { + "Drupal\\redis\\": "src" + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0" + ], + "authors": [ + { + "name": "Berdir", + "homepage": "https://www.drupal.org/user/214652" + }, + { + "name": "pounard", + "homepage": "https://www.drupal.org/user/240164" + } + ], + "description": "Provide a module placeholder, for using as dependency for module that needs Redis.", + "homepage": "https://www.drupal.org/project/redis", + "support": { + "source": "https://git.drupalcode.org/project/redis" + } + }, { "name": "drupal/schema_metatag", "version": "1.7.0", diff --git a/web/.htaccess b/web/.htaccess index 3fc34869..6f9123d1 100644 --- a/web/.htaccess +++ b/web/.htaccess @@ -109,7 +109,7 @@ AddEncoding gzip svgz # VirtualDocumentRoot and the rewrite rules are not working properly. # For example if your site is at http://example.com/drupal uncomment and # modify the following line: - RewriteBase / + # RewriteBase /drupal # # If your site is running in a VirtualDocumentRoot at http://example.com/, # uncomment the following line: @@ -180,7 +180,3 @@ AddEncoding gzip svgz # Disable Proxy header, since it's an attack vector. RequestHeader unset Proxy - -#RewriteEngine On -#RewriteCond %{SERVER_PORT} 80 -#RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L] diff --git a/web/sites/development.services.yml b/web/sites/development.services.yml index 07319d1f..d2857c66 100644 --- a/web/sites/development.services.yml +++ b/web/sites/development.services.yml @@ -4,9 +4,6 @@ # 'example.settings.local.php' file, which sits next to this file. parameters: http.response.debug_cacheability_headers: true - twig.config: - debug: true - auto_reload: true services: cache.backend.null: class: Drupal\Core\Cache\NullBackendFactory