diff --git a/config/local/config_split.patch.core.extension.yml b/config/local/config_split.patch.core.extension.yml index bdc06bf1e..3ed09fc88 100644 --- a/config/local/config_split.patch.core.extension.yml +++ b/config/local/config_split.patch.core.extension.yml @@ -2,4 +2,5 @@ adding: module: dblog: 0 devel: 0 + disable_language: 0 removing: { } diff --git a/config/local/config_split.patch.language.entity.am.yml b/config/local/config_split.patch.language.entity.am.yml new file mode 100644 index 000000000..c34167694 --- /dev/null +++ b/config/local/config_split.patch.language.entity.am.yml @@ -0,0 +1,9 @@ +adding: + dependencies: + module: + - disable_language + third_party_settings: + disable_language: + disable: true + redirect_language: en +removing: { } diff --git a/config/local/config_split.patch.language.entity.hmn.yml b/config/local/config_split.patch.language.entity.hmn.yml new file mode 100644 index 000000000..c34167694 --- /dev/null +++ b/config/local/config_split.patch.language.entity.hmn.yml @@ -0,0 +1,9 @@ +adding: + dependencies: + module: + - disable_language + third_party_settings: + disable_language: + disable: true + redirect_language: en +removing: { } diff --git a/config/local/config_split.patch.user.role.content_editor.yml b/config/local/config_split.patch.user.role.content_editor.yml new file mode 100644 index 000000000..a9ea076e8 --- /dev/null +++ b/config/local/config_split.patch.user.role.content_editor.yml @@ -0,0 +1,8 @@ +adding: + dependencies: + module: + - disable_language + permissions: + - 'create content in disabled language' + - 'view disabled languages' +removing: { } diff --git a/config/local/config_split.patch.user.role.content_manager.yml b/config/local/config_split.patch.user.role.content_manager.yml new file mode 100644 index 000000000..a9ea076e8 --- /dev/null +++ b/config/local/config_split.patch.user.role.content_manager.yml @@ -0,0 +1,8 @@ +adding: + dependencies: + module: + - disable_language + permissions: + - 'create content in disabled language' + - 'view disabled languages' +removing: { } diff --git a/config/sync/disable_language.settings.yml b/config/local/disable_language.settings.yml similarity index 100% rename from config/sync/disable_language.settings.yml rename to config/local/disable_language.settings.yml diff --git a/config/non_production/config_split.patch.core.extension.yml b/config/non_production/config_split.patch.core.extension.yml index 7ec9d88a4..379940c2c 100644 --- a/config/non_production/config_split.patch.core.extension.yml +++ b/config/non_production/config_split.patch.core.extension.yml @@ -6,4 +6,4 @@ adding: samlauth: 0 usagov_login: 0 externalauth: 10 -removing: { } +removing: { } diff --git a/config/non_production/config_split.patch.system.performance.yml b/config/non_production/config_split.patch.system.performance.yml new file mode 100644 index 000000000..9302f1786 --- /dev/null +++ b/config/non_production/config_split.patch.system.performance.yml @@ -0,0 +1,10 @@ +adding: + css: + preprocess: true + js: + preprocess: true +removing: + css: + preprocess: false + js: + preprocess: false diff --git a/config/non_production/system.performance.yml b/config/non_production/system.performance.yml deleted file mode 100644 index cd81c181f..000000000 --- a/config/non_production/system.performance.yml +++ /dev/null @@ -1,17 +0,0 @@ -_core: - default_config_hash: b2cssrj-lOmATIbdehfCqfCFgVR0qCdxxWhwqa2KBVQ -cache: - page: - max_age: 0 -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: '
The requested URL "@path" was not found on this server.
' -js: - preprocess: true - gzip: true -stale_file_threshold: 2592000 diff --git a/config/production/config_split.patch.core.extension.yml b/config/production/config_split.patch.core.extension.yml index e40883bc0..23ed918f6 100644 --- a/config/production/config_split.patch.core.extension.yml +++ b/config/production/config_split.patch.core.extension.yml @@ -1,6 +1,7 @@ adding: module: new_relic_rpm: -20 + disable_language: 0 log_stdout: 0 s3fs: 0 samlauth: 0 diff --git a/config/production/config_split.patch.language.entity.am.yml b/config/production/config_split.patch.language.entity.am.yml new file mode 100644 index 000000000..c34167694 --- /dev/null +++ b/config/production/config_split.patch.language.entity.am.yml @@ -0,0 +1,9 @@ +adding: + dependencies: + module: + - disable_language + third_party_settings: + disable_language: + disable: true + redirect_language: en +removing: { } diff --git a/config/production/config_split.patch.language.entity.hmn.yml b/config/production/config_split.patch.language.entity.hmn.yml new file mode 100644 index 000000000..c34167694 --- /dev/null +++ b/config/production/config_split.patch.language.entity.hmn.yml @@ -0,0 +1,9 @@ +adding: + dependencies: + module: + - disable_language + third_party_settings: + disable_language: + disable: true + redirect_language: en +removing: { } diff --git a/config/production/config_split.patch.system.performance.yml b/config/production/config_split.patch.system.performance.yml new file mode 100644 index 000000000..9302f1786 --- /dev/null +++ b/config/production/config_split.patch.system.performance.yml @@ -0,0 +1,10 @@ +adding: + css: + preprocess: true + js: + preprocess: true +removing: + css: + preprocess: false + js: + preprocess: false diff --git a/config/production/config_split.patch.user.role.content_editor.yml b/config/production/config_split.patch.user.role.content_editor.yml new file mode 100644 index 000000000..a9ea076e8 --- /dev/null +++ b/config/production/config_split.patch.user.role.content_editor.yml @@ -0,0 +1,8 @@ +adding: + dependencies: + module: + - disable_language + permissions: + - 'create content in disabled language' + - 'view disabled languages' +removing: { } diff --git a/config/production/config_split.patch.user.role.content_manager.yml b/config/production/config_split.patch.user.role.content_manager.yml new file mode 100644 index 000000000..a9ea076e8 --- /dev/null +++ b/config/production/config_split.patch.user.role.content_manager.yml @@ -0,0 +1,8 @@ +adding: + dependencies: + module: + - disable_language + permissions: + - 'create content in disabled language' + - 'view disabled languages' +removing: { } diff --git a/config/production/disable_language.settings.yml b/config/production/disable_language.settings.yml new file mode 100644 index 000000000..9351fd1f4 --- /dev/null +++ b/config/production/disable_language.settings.yml @@ -0,0 +1,7 @@ +_core: + default_config_hash: 6zW_rU8a954fIICyUPwbzqTIo1LijBemdAEjafOYQ2s +redirect_override_routes: + - user.reset.login + - entity.user.edit_form +exclude_request_path: + pages: '' diff --git a/config/production/system.performance.yml b/config/production/system.performance.yml deleted file mode 100644 index cd81c181f..000000000 --- a/config/production/system.performance.yml +++ /dev/null @@ -1,17 +0,0 @@ -_core: - default_config_hash: b2cssrj-lOmATIbdehfCqfCFgVR0qCdxxWhwqa2KBVQ -cache: - page: - max_age: 0 -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: 'The requested URL "@path" was not found on this server.
' -js: - preprocess: true - gzip: true -stale_file_threshold: 2592000 diff --git a/config/sync/config_split.config_split.local.yml b/config/sync/config_split.config_split.local.yml index 6b15696b0..23bac6039 100644 --- a/config/sync/config_split.config_split.local.yml +++ b/config/sync/config_split.config_split.local.yml @@ -10,7 +10,8 @@ stackable: false no_patching: false storage: folder folder: ../config/local -module: { } +module: + disable_language: 0 theme: { } complete_list: - dblog.settings diff --git a/config/sync/config_split.config_split.non_production.yml b/config/sync/config_split.config_split.non_production.yml index 4f4d46afb..a499bf19c 100644 --- a/config/sync/config_split.config_split.non_production.yml +++ b/config/sync/config_split.config_split.non_production.yml @@ -23,3 +23,4 @@ complete_list: - views.view.watchdog partial_list: - core.extension + - system.performance diff --git a/config/sync/config_split.config_split.production.yml b/config/sync/config_split.config_split.production.yml index c0fa09d3f..5a6b1534a 100644 --- a/config/sync/config_split.config_split.production.yml +++ b/config/sync/config_split.config_split.production.yml @@ -10,7 +10,8 @@ stackable: false no_patching: false storage: folder folder: ../config/production -module: { } +module: + disable_language: 0 theme: { } complete_list: - log_stdout.settings @@ -21,3 +22,4 @@ complete_list: - views.view.samlauth_map partial_list: - core.extension + - system.performance diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index bf69254d1..743bb1c61 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -17,7 +17,6 @@ module: content_moderation: 0 crop: 0 datetime: 0 - disable_language: 0 double_field: 0 dynamic_page_cache: 0 easy_breadcrumb: 0 diff --git a/config/sync/language.entity.am.yml b/config/sync/language.entity.am.yml index fc26f4e65..badfc6087 100644 --- a/config/sync/language.entity.am.yml +++ b/config/sync/language.entity.am.yml @@ -1,13 +1,7 @@ uuid: e2b1707a-dfa8-41af-b86c-c2d0a2116449 langcode: am status: true -dependencies: - module: - - disable_language -third_party_settings: - disable_language: - disable: true - redirect_language: en +dependencies: { } id: am label: Amharic direction: ltr diff --git a/config/sync/language.entity.hmn.yml b/config/sync/language.entity.hmn.yml index 4107b368f..c1d69fe2c 100644 --- a/config/sync/language.entity.hmn.yml +++ b/config/sync/language.entity.hmn.yml @@ -1,13 +1,7 @@ uuid: 6f595da0-2695-4fe9-8e45-68181f6fed62 langcode: hmn status: true -dependencies: - module: - - disable_language -third_party_settings: - disable_language: - disable: true - redirect_language: en +dependencies: { } id: hmn label: Hmong direction: ltr diff --git a/config/sync/user.role.authenticated.yml b/config/sync/user.role.authenticated.yml index b6094a337..da45b26e6 100644 --- a/config/sync/user.role.authenticated.yml +++ b/config/sync/user.role.authenticated.yml @@ -6,7 +6,6 @@ dependencies: - filter.format.basic_html - filter.format.simple_html module: - - disable_language - filter - media - paragraphs @@ -19,9 +18,7 @@ weight: 1 is_admin: false permissions: - 'access content' - - 'create content in disabled language' - 'use text format basic_html' - 'use text format simple_html' - - 'view disabled languages' - 'view media' - 'view unpublished paragraphs'