From 0dbd6c52fa58be24766c6a0242e4439ddaca6d75 Mon Sep 17 00:00:00 2001 From: jrockwei Date: Thu, 11 Mar 2021 11:02:15 -0600 Subject: [PATCH 1/3] IN-151 Apply patch to add capability to remove simplesamlphp_auth prefix from username --- composer.json | 3 ++- composer.lock | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c7b4ac226..91ba1bc4c 100644 --- a/composer.json +++ b/composer.json @@ -129,7 +129,8 @@ "3002948: tablefield_cellspan module throwing error": "https://www.drupal.org/files/issues/2019-11-26/warning_fix-3002948-6.patch" }, "drupal/simplesamlphp_auth": { - "2983154: Redirect to original destination after logging in": "https://www.drupal.org/files/issues/2020-01-02/simplesamlphp_auth-return-to-destination-parameter-2983154-8-D8.patch" + "2983154: Redirect to original destination after logging in": "https://www.drupal.org/files/issues/2020-01-02/simplesamlphp_auth-return-to-destination-parameter-2983154-8-D8.patch", + "2978876: Add capability to remove prefix from username": "https://www.drupal.org/files/issues/2020-10-19/simplesamlphp_auth-add_capability_to_remove_prefix_from_username-2978876-9.patch" }, "drupal/blizz_dynamic_entitylist": { }, diff --git a/composer.lock b/composer.lock index 2430c3b0f..99adb30ba 100644 --- a/composer.lock +++ b/composer.lock @@ -8781,7 +8781,9 @@ } }, "patches_applied": { - "2983154: Redirect to original destination after logging in": "https://www.drupal.org/files/issues/2020-01-02/simplesamlphp_auth-return-to-destination-parameter-2983154-8-D8.patch" + "2983154: Redirect to original destination after logging in": "https://www.drupal.org/files/issues/2020-01-02/simplesamlphp_auth-return-to-destination-parameter-2983154-8-D8.patch", + "2978876: Add capability to remove prefix from username": "https://www.drupal.org/files/issues/2020-10-19/simplesamlphp_auth-add_capability_to_remove_prefix_from_username-2978876-9.patch" + } }, "notification-url": "https://packages.drupal.org/8/downloads", From 3fa720e517a02b4c95a88d4ec68ab0a5cb8f5c49 Mon Sep 17 00:00:00 2001 From: jrockwei Date: Thu, 11 Mar 2021 11:26:14 -0600 Subject: [PATCH 2/3] IN-151 Update configs for remove username prefix --- config/dev/simplesamlphp_auth.settings.yml | 1 + config/dev/system.performance.yml | 17 ----------------- .../production/simplesamlphp_auth.settings.yml | 2 ++ config/staging/simplesamlphp_auth.settings.yml | 1 + 4 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 config/dev/system.performance.yml diff --git a/config/dev/simplesamlphp_auth.settings.yml b/config/dev/simplesamlphp_auth.settings.yml index dbe31d062..c246f521a 100644 --- a/config/dev/simplesamlphp_auth.settings.yml +++ b/config/dev/simplesamlphp_auth.settings.yml @@ -26,3 +26,4 @@ role: population: '' eval_every_time: false autoenablesaml: false +remove_prefix: true diff --git a/config/dev/system.performance.yml b/config/dev/system.performance.yml deleted file mode 100644 index 74d360e42..000000000 --- a/config/dev/system.performance.yml +++ /dev/null @@ -1,17 +0,0 @@ -cache: - page: - max_age: 600 -css: - preprocess: true - gzip: true -fast_404: - enabled: true - paths: '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i' - exclude_paths: '/\/(?:styles|imagecache)\//' - html: '404 Not Found

Not Found

The requested URL "@path" was not found on this server.

' -js: - preprocess: true - gzip: true -stale_file_threshold: 2592000 -_core: - default_config_hash: b2cssrj-lOmATIbdehfCqfCFgVR0qCdxxWhwqa2KBVQ diff --git a/config/production/simplesamlphp_auth.settings.yml b/config/production/simplesamlphp_auth.settings.yml index 544747c68..c6127192a 100644 --- a/config/production/simplesamlphp_auth.settings.yml +++ b/config/production/simplesamlphp_auth.settings.yml @@ -23,9 +23,11 @@ sync: mail: true user_name: true autoenablesaml: false +remove_prefix: true debug: false secure: true httponly: false _core: default_config_hash: BuLah1nwoT5oUjn6XIuKnXkjcvdt5tDIGQ6gAflOY0s login_link_show: false + diff --git a/config/staging/simplesamlphp_auth.settings.yml b/config/staging/simplesamlphp_auth.settings.yml index ecff1d7c4..2dd84134e 100644 --- a/config/staging/simplesamlphp_auth.settings.yml +++ b/config/staging/simplesamlphp_auth.settings.yml @@ -27,6 +27,7 @@ sync: mail: true user_name: true autoenablesaml: false +remove_prefix: true debug: false secure: true httponly: false From 64886780715c379ad53d9a35afad90422b2d5349 Mon Sep 17 00:00:00 2001 From: jrockwei Date: Thu, 11 Mar 2021 11:28:24 -0600 Subject: [PATCH 3/3] IN-151 Adding back system.performance --- config/dev/system.performance.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 config/dev/system.performance.yml diff --git a/config/dev/system.performance.yml b/config/dev/system.performance.yml new file mode 100644 index 000000000..74d360e42 --- /dev/null +++ b/config/dev/system.performance.yml @@ -0,0 +1,17 @@ +cache: + page: + max_age: 600 +css: + preprocess: true + gzip: true +fast_404: + enabled: true + paths: '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i' + exclude_paths: '/\/(?:styles|imagecache)\//' + html: '404 Not Found

Not Found

The requested URL "@path" was not found on this server.

' +js: + preprocess: true + gzip: true +stale_file_threshold: 2592000 +_core: + default_config_hash: b2cssrj-lOmATIbdehfCqfCFgVR0qCdxxWhwqa2KBVQ