Skip to content
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
4 changes: 2 additions & 2 deletions cms/envs/devstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def should_show_debug_toolbar(request):
XBLOCK_SETTINGS.update({'VideoDescriptor': {'licensing_enabled': True}})

################################ SEARCH INDEX ################################
FEATURES['ENABLE_COURSEWARE_INDEX'] = True
FEATURES['ENABLE_LIBRARY_INDEX'] = True
FEATURES['ENABLE_COURSEWARE_INDEX'] = FEATURES.get('ENABLE_COURSEWARE_INDEX', True)
FEATURES['ENABLE_LIBRARY_INDEX'] = FEATURES.get('ENABLE_LIBRARY_INDEX', True)
SEARCH_ENGINE = "search.elastic.ElasticSearchEngine"

########################## Certificates Web/HTML View #######################
Expand Down
5 changes: 3 additions & 2 deletions cms/envs/devstack_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
LMS_ROOT_URL = 'http://{}'.format(LMS_BASE)

FEATURES.update({
'ENABLE_COURSEWARE_INDEX': False,
'ENABLE_LIBRARY_INDEX': False,
# Appsembler: Hack to allow overriding those values from cms.env.json
# 'ENABLE_COURSEWARE_INDEX': True,
# 'ENABLE_LIBRARY_INDEX': True,
'ENABLE_DISCUSSION_SERVICE': True,
})

Expand Down
6 changes: 3 additions & 3 deletions lms/envs/devstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@ def should_show_debug_toolbar(request):


########################## Courseware Search #######################
FEATURES['ENABLE_COURSEWARE_SEARCH'] = True
FEATURES['ENABLE_COURSEWARE_SEARCH'] = FEATURES.get('ENABLE_COURSEWARE_SEARCH', True)
SEARCH_ENGINE = "search.elastic.ElasticSearchEngine"


########################## Dashboard Search #######################
FEATURES['ENABLE_DASHBOARD_SEARCH'] = True
FEATURES['ENABLE_DASHBOARD_SEARCH'] = FEATURES.get('ENABLE_DASHBOARD_SEARCH', True)


########################## Certificates Web/HTML View #######################
Expand All @@ -188,7 +188,7 @@ def should_show_debug_toolbar(request):
'language': LANGUAGE_MAP,
}

FEATURES['ENABLE_COURSE_DISCOVERY'] = True
FEATURES['ENABLE_COURSE_DISCOVERY'] = FEATURES.get('ENABLE_COURSE_DISCOVERY', True)
# Setting for overriding default filtering facets for Course discovery
# COURSE_DISCOVERY_FILTERS = ["org", "language", "modes"]
FEATURES['COURSES_ARE_BROWSEABLE'] = True
Expand Down
7 changes: 4 additions & 3 deletions lms/envs/devstack_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@

FEATURES.update({
'AUTOMATIC_AUTH_FOR_TESTING': True,
'ENABLE_COURSEWARE_SEARCH': False,
'ENABLE_COURSE_DISCOVERY': False,
'ENABLE_DASHBOARD_SEARCH': False,
# Appsembler: Hack to allow overriding those values from lms.env.json
# 'ENABLE_COURSEWARE_SEARCH': True,
# 'ENABLE_COURSE_DISCOVERY': True,
# 'ENABLE_DASHBOARD_SEARCH': True,
'ENABLE_DISCUSSION_SERVICE': True,
'SHOW_HEADER_LANGUAGE_SELECTOR': True,
'ENABLE_ENTERPRISE_INTEGRATION': False,
Expand Down