Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOTE-967: Disable disable_language module for non production environments. #613

Merged
merged 3 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/local/config_split.patch.core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ adding:
module:
dblog: 0
devel: 0
disable_language: 0
removing: { }
9 changes: 9 additions & 0 deletions config/local/config_split.patch.language.entity.am.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
adding:
dependencies:
module:
- disable_language
third_party_settings:
disable_language:
disable: true
redirect_language: en
removing: { }
9 changes: 9 additions & 0 deletions config/local/config_split.patch.language.entity.hmn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
adding:
dependencies:
module:
- disable_language
third_party_settings:
disable_language:
disable: true
redirect_language: en
removing: { }
8 changes: 8 additions & 0 deletions config/local/config_split.patch.user.role.content_editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
adding:
dependencies:
module:
- disable_language
permissions:
- 'create content in disabled language'
- 'view disabled languages'
removing: { }
8 changes: 8 additions & 0 deletions config/local/config_split.patch.user.role.content_manager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
adding:
dependencies:
module:
- disable_language
permissions:
- 'create content in disabled language'
- 'view disabled languages'
removing: { }
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ adding:
samlauth: 0
usagov_login: 0
externalauth: 10
removing: { }
removing: { }
10 changes: 10 additions & 0 deletions config/non_production/config_split.patch.system.performance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
adding:
css:
preprocess: true
js:
preprocess: true
removing:
css:
preprocess: false
js:
preprocess: false
17 changes: 0 additions & 17 deletions config/non_production/system.performance.yml

This file was deleted.

1 change: 1 addition & 0 deletions config/production/config_split.patch.core.extension.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
adding:
module:
new_relic_rpm: -20
disable_language: 0
log_stdout: 0
s3fs: 0
samlauth: 0
Expand Down
9 changes: 9 additions & 0 deletions config/production/config_split.patch.language.entity.am.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
adding:
dependencies:
module:
- disable_language
third_party_settings:
disable_language:
disable: true
redirect_language: en
removing: { }
9 changes: 9 additions & 0 deletions config/production/config_split.patch.language.entity.hmn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
adding:
dependencies:
module:
- disable_language
third_party_settings:
disable_language:
disable: true
redirect_language: en
removing: { }
10 changes: 10 additions & 0 deletions config/production/config_split.patch.system.performance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
adding:
css:
preprocess: true
js:
preprocess: true
removing:
css:
preprocess: false
js:
preprocess: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
adding:
dependencies:
module:
- disable_language
permissions:
- 'create content in disabled language'
- 'view disabled languages'
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
adding:
dependencies:
module:
- disable_language
permissions:
- 'create content in disabled language'
- 'view disabled languages'
removing: { }
7 changes: 7 additions & 0 deletions config/production/disable_language.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
_core:
default_config_hash: 6zW_rU8a954fIICyUPwbzqTIo1LijBemdAEjafOYQ2s
redirect_override_routes:
- user.reset.login
- entity.user.edit_form
exclude_request_path:
pages: ''
17 changes: 0 additions & 17 deletions config/production/system.performance.yml

This file was deleted.

3 changes: 2 additions & 1 deletion config/sync/config_split.config_split.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ stackable: false
no_patching: false
storage: folder
folder: ../config/local
module: { }
module:
disable_language: 0
theme: { }
complete_list:
- dblog.settings
Expand Down
1 change: 1 addition & 0 deletions config/sync/config_split.config_split.non_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ complete_list:
- views.view.watchdog
partial_list:
- core.extension
- system.performance
4 changes: 3 additions & 1 deletion config/sync/config_split.config_split.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,3 +22,4 @@ complete_list:
- views.view.samlauth_map
partial_list:
- core.extension
- system.performance
1 change: 0 additions & 1 deletion config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 1 addition & 7 deletions config/sync/language.entity.am.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 1 addition & 7 deletions config/sync/language.entity.hmn.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 0 additions & 3 deletions config/sync/user.role.authenticated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ dependencies:
- filter.format.basic_html
- filter.format.simple_html
module:
- disable_language
- filter
- media
- paragraphs
Expand All @@ -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'