Skip to content

Commit

Permalink
VOTE-967: disable disable_language module for non production environm…
Browse files Browse the repository at this point in the history
…ents. (#613)
  • Loading branch information
daniel-crowder authored Mar 19, 2024
1 parent 032d6fb commit 27d7aef
Show file tree
Hide file tree
Showing 24 changed files with 106 additions and 55 deletions.
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: { }
File renamed without changes.
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'

0 comments on commit 27d7aef

Please sign in to comment.