diff --git a/lms/envs/common.py b/lms/envs/common.py index 3b7133836d9c..828c7874152b 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -3281,22 +3281,6 @@ def _should_send_certificate_events(settings): # The project ID should be obtained from the Google Cloud Console when creating a reCAPTCHA RECAPTCHA_PROJECT_ID = None -# .. setting_name: OPEN_EDX_FILTERS_CONFIG -# .. setting_default: {} -# .. setting_description: Configuration dict for openedx-filters pipeline steps. -# Keys are filter type strings; values are dicts with 'fail_silently' (bool) and -# 'pipeline' (list of dotted-path strings to PipelineStep subclasses). -OPEN_EDX_FILTERS_CONFIG = { - "org.openedx.learning.account.settings.read_only_fields.requested.v1": { - "fail_silently": True, - "pipeline": ["enterprise.filters.accounts.AccountSettingsReadOnlyFieldsStep"], - }, - "org.openedx.learning.dashboard.render.started.v1": { - "fail_silently": False, - "pipeline": ["enterprise.filters.dashboard.DashboardContextEnricher"], - }, -} - ############################## Miscellaneous ############################### # To limit the number of courses displayed on learner dashboard diff --git a/lms/envs/production.py b/lms/envs/production.py index 51283e940b2c..b954841d59bc 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -85,7 +85,6 @@ def get_env_setting(setting): 'EVENT_BUS_PRODUCER_CONFIG', 'DEFAULT_FILE_STORAGE', 'STATICFILES_STORAGE', - 'OPEN_EDX_FILTERS_CONFIG', ] }) @@ -280,19 +279,6 @@ def get_env_setting(setting): EVENT_TRACKING_SEGMENTIO_EMIT_WHITELIST # noqa: F405 ) -# Merge OPEN_EDX_FILTERS_CONFIG from YAML into the default defined in common.py. -# Pipeline steps from YAML are appended after steps defined in common.py. -# The fail_silently value from YAML takes precedence over the one in common.py. -for _filter_type, _filter_config in _YAML_TOKENS.get('OPEN_EDX_FILTERS_CONFIG', {}).items(): - if _filter_type in OPEN_EDX_FILTERS_CONFIG: # noqa: F405 - OPEN_EDX_FILTERS_CONFIG[_filter_type]['pipeline'].extend( # noqa: F405 - _filter_config.get('pipeline', []) - ) - if 'fail_silently' in _filter_config: - OPEN_EDX_FILTERS_CONFIG[_filter_type]['fail_silently'] = _filter_config['fail_silently'] # noqa: F405 - else: - OPEN_EDX_FILTERS_CONFIG[_filter_type] = _filter_config # noqa: F405 - if ENABLE_THIRD_PARTY_AUTH: # noqa: F405 AUTHENTICATION_BACKENDS = _YAML_TOKENS.get('THIRD_PARTY_AUTH_BACKENDS', [ 'social_core.backends.google.GoogleOAuth2', diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 277670e74a79..13de37bf96a3 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -44,7 +44,7 @@ django-stubs<6 # The team that owns this package will manually bump this package rather than having it pulled in automatically. # This is to allow them to better control its deployment and to do it in a process that works better # for them. -edx-enterprise==8.0.10 +edx-enterprise==8.0.11 # Date: 2023-07-26 # Our legacy Sass code is incompatible with anything except this ancient libsass version. diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index b60565318e48..457892fcc46b 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -483,7 +483,7 @@ edx-drf-extensions==10.6.0 # enterprise-integrated-channels # openedx-authz # openedx-core -edx-enterprise==8.0.10 +edx-enterprise==8.0.11 # via # -c requirements/constraints.txt # -r requirements/edx/kernel.in diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index c6fa858b6356..a591a07c2ade 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -756,7 +756,7 @@ edx-drf-extensions==10.6.0 # enterprise-integrated-channels # openedx-authz # openedx-core -edx-enterprise==8.0.10 +edx-enterprise==8.0.11 # via # -c requirements/constraints.txt # -r requirements/edx/doc.txt diff --git a/requirements/edx/doc.txt b/requirements/edx/doc.txt index 0a5de9ac771c..4c5c6bc3b280 100644 --- a/requirements/edx/doc.txt +++ b/requirements/edx/doc.txt @@ -573,7 +573,7 @@ edx-drf-extensions==10.6.0 # enterprise-integrated-channels # openedx-authz # openedx-core -edx-enterprise==8.0.10 +edx-enterprise==8.0.11 # via # -c requirements/constraints.txt # -r requirements/edx/base.txt diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index eb46087641e6..667c0e81127d 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -589,7 +589,7 @@ edx-drf-extensions==10.6.0 # enterprise-integrated-channels # openedx-authz # openedx-core -edx-enterprise==8.0.10 +edx-enterprise==8.0.11 # via # -c requirements/constraints.txt # -r requirements/edx/base.txt