refactor: rename toggle_warnings to toggle_warning (#30458)
Rename toggle_warnings to toggle_warning for consistency with setting_warning.
This commit is contained in:
@@ -34,7 +34,7 @@ SHOW_REVIEW_RULES_FLAG = CourseWaffleFlag( # lint-amnesty, pylint: disable=togg
|
||||
# .. toggle_use_cases: temporary, open_edx
|
||||
# .. toggle_creation_date: 2020-08-03
|
||||
# .. toggle_target_removal_date: 2020-12-31
|
||||
# .. toggle_warnings: Also set settings.LIBRARY_AUTHORING_MICROFRONTEND_URL and ENABLE_LIBRARY_AUTHORING_MICROFRONTEND.
|
||||
# .. toggle_warning: Also set settings.LIBRARY_AUTHORING_MICROFRONTEND_URL and ENABLE_LIBRARY_AUTHORING_MICROFRONTEND.
|
||||
# .. toggle_tickets: https://openedx.atlassian.net/wiki/spaces/COMM/pages/1545011241/BD-14+Blockstore+Powered+Content+Libraries+Taxonomies
|
||||
REDIRECT_TO_LIBRARY_AUTHORING_MICROFRONTEND = WaffleFlag(
|
||||
f'{WAFFLE_NAMESPACE}.library_authoring_mfe', __name__, LOG_PREFIX
|
||||
@@ -50,6 +50,6 @@ REDIRECT_TO_LIBRARY_AUTHORING_MICROFRONTEND = WaffleFlag(
|
||||
# .. toggle_use_cases: temporary
|
||||
# .. toggle_creation_date: 2021-07-12
|
||||
# .. toggle_target_removal_date: 2021-12-31
|
||||
# .. toggle_warnings: Flag course_experience.relative_dates should also be active for relative dates functionalities to work.
|
||||
# .. toggle_warning: Flag course_experience.relative_dates should also be active for relative dates functionalities to work.
|
||||
# .. toggle_tickets: https://openedx.atlassian.net/browse/AA-844
|
||||
CUSTOM_RELATIVE_DATES = CourseWaffleFlag(f'{WAFFLE_NAMESPACE}.custom_relative_dates', __name__)
|
||||
|
||||
@@ -11,7 +11,7 @@ from openedx.core.djangoapps.waffle_utils import CourseWaffleFlag
|
||||
# valid "giturl" attribute. Exporting a course to git causes the course to be exported in the directory indicated by
|
||||
# the GIT_REPO_EXPORT_DIR setting. Note that when this feature is disabled, courses can still be exported to git with
|
||||
# the git_export management command.
|
||||
# .. toggle_warnings: To enable this feature, the GIT_REPO_EXPORT_DIR setting must be properly defined and point to an
|
||||
# .. toggle_warning: To enable this feature, the GIT_REPO_EXPORT_DIR setting must be properly defined and point to an
|
||||
# existing directory.
|
||||
# .. toggle_use_cases: open_edx
|
||||
# .. toggle_creation_date: 2014-02-13
|
||||
@@ -70,7 +70,7 @@ def bypass_olx_failure_enabled():
|
||||
# .. toggle_implementation: SettingDictToggle
|
||||
# .. toggle_default: False
|
||||
# .. toggle_description: When enabled, users can access the new course authoring view for proctoring exams
|
||||
# .. toggle_warnings: None
|
||||
# .. toggle_warning: None
|
||||
# .. toggle_creation_date: 2020-07-23
|
||||
ENABLE_EXAM_SETTINGS_HTML_VIEW = SettingDictToggle(
|
||||
"FEATURES", "ENABLE_EXAM_SETTINGS_HTML_VIEW", default=False, module_name=__name__
|
||||
@@ -92,7 +92,7 @@ def exam_setting_view_enabled():
|
||||
# .. toggle_creation_date: 2021-12-1
|
||||
# .. toggle_target_removal_date: 2022-1-30
|
||||
# .. toggle_tickets: TNL-9306
|
||||
# .. toggle_warnings:
|
||||
# .. toggle_warning:
|
||||
ENABLE_NEW_TEXT_EDITOR_FLAG = WaffleFlag('new_core_editors.use_new_text_editor', __name__)
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ def use_new_text_editor():
|
||||
# .. toggle_creation_date: 2021-12-1
|
||||
# .. toggle_target_removal_date: 2022-1-30
|
||||
# .. toggle_tickets: TNL-9306
|
||||
# .. toggle_warnings:
|
||||
# .. toggle_warning:
|
||||
ENABLE_NEW_VIDEO_EDITOR_FLAG = WaffleFlag('new_core_editors.use_new_video_editor', __name__)
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ def use_new_video_editor():
|
||||
# .. toggle_creation_date: 2021-12-1
|
||||
# .. toggle_target_removal_date: 2022-1-30
|
||||
# .. toggle_tickets: TNL-9306
|
||||
# .. toggle_warnings:
|
||||
# .. toggle_warning:
|
||||
ENABLE_NEW_PROBLEM_EDITOR_FLAG = WaffleFlag('new_core_editors.use_new_problem_editor', __name__)
|
||||
|
||||
|
||||
|
||||
@@ -404,7 +404,7 @@ FEATURES = {
|
||||
# .. toggle_creation_date: 2020-03-03
|
||||
# .. toggle_target_removal_date: None
|
||||
# .. toggle_tickets: https://openedx.atlassian.net/browse/EDUCATOR-4951
|
||||
# .. toggle_warnings: This temporary feature toggle does not have a target removal date.
|
||||
# .. toggle_warning: This temporary feature toggle does not have a target removal date.
|
||||
'ENABLE_ORA_ALL_FILE_URLS': False,
|
||||
|
||||
# .. toggle_name: FEATURES['ENABLE_ORA_USER_STATE_UPLOAD_DATA']
|
||||
@@ -416,7 +416,7 @@ FEATURES = {
|
||||
# .. toggle_creation_date: 2020-03-03
|
||||
# .. toggle_target_removal_date: None
|
||||
# .. toggle_tickets: https://openedx.atlassian.net/browse/EDUCATOR-4951
|
||||
# .. toggle_warnings: This temporary feature toggle does not have a target removal date.
|
||||
# .. toggle_warning: This temporary feature toggle does not have a target removal date.
|
||||
'ENABLE_ORA_USER_STATE_UPLOAD_DATA': False,
|
||||
|
||||
# .. toggle_name: FEATURES['DEPRECATE_OLD_COURSE_KEYS_IN_STUDIO']
|
||||
@@ -430,7 +430,7 @@ FEATURES = {
|
||||
# .. toggle_use_cases: temporary
|
||||
# .. toggle_creation_date: 2020-06-12
|
||||
# .. toggle_target_removal_date: 2021-04-01
|
||||
# .. toggle_warnings: This can be removed once support is removed for deprecated
|
||||
# .. toggle_warning: This can be removed once support is removed for deprecated
|
||||
# course keys.
|
||||
# .. toggle_tickets: https://openedx.atlassian.net/browse/DEPR-58
|
||||
'DEPRECATE_OLD_COURSE_KEYS_IN_STUDIO': True,
|
||||
@@ -443,7 +443,7 @@ FEATURES = {
|
||||
# .. toggle_creation_date: 2020-06-20
|
||||
# .. toggle_target_removal_date: 2020-12-31
|
||||
# .. toggle_tickets: https://openedx.atlassian.net/wiki/spaces/COMM/pages/1545011241/BD-14+Blockstore+Powered+Content+Libraries+Taxonomies
|
||||
# .. toggle_warnings: Also set settings.LIBRARY_AUTHORING_MICROFRONTEND_URL and see
|
||||
# .. toggle_warning: Also set settings.LIBRARY_AUTHORING_MICROFRONTEND_URL and see
|
||||
# REDIRECT_TO_LIBRARY_AUTHORING_MICROFRONTEND for rollout.
|
||||
'ENABLE_LIBRARY_AUTHORING_MICROFRONTEND': False,
|
||||
|
||||
@@ -456,7 +456,7 @@ FEATURES = {
|
||||
# otherwise the course creation functionality will work as it should.
|
||||
# .. toggle_use_cases: open_edx
|
||||
# .. toggle_creation_date: 2013-12-02
|
||||
# .. toggle_warnings: Another toggle DISABLE_LIBRARY_CREATION overrides DISABLE_COURSE_CREATION, if present.
|
||||
# .. toggle_warning: Another toggle DISABLE_LIBRARY_CREATION overrides DISABLE_COURSE_CREATION, if present.
|
||||
'DISABLE_COURSE_CREATION': False,
|
||||
|
||||
# Can be turned off to disable the help link in the navbar
|
||||
@@ -501,7 +501,7 @@ FEATURES = {
|
||||
# .. toggle_creation_date: 2022-03-22
|
||||
# .. toggle_target_removal_date: None
|
||||
# .. toggle_tickets: https://github.com/edx/edx-platform/pull/28268
|
||||
# .. toggle_warnings: For consistency in user-experience, keep the value in sync with the setting of the same name
|
||||
# .. toggle_warning: For consistency in user-experience, keep the value in sync with the setting of the same name
|
||||
# in the LMS and CMS.
|
||||
'MARK_LIBRARY_CONTENT_BLOCK_COMPLETE_ON_VIEW': False,
|
||||
|
||||
@@ -512,7 +512,7 @@ FEATURES = {
|
||||
# This also hides the "Unenroll" button on the Learner Dashboard.
|
||||
# .. toggle_use_cases: open_edx
|
||||
# .. toggle_creation_date: 2021-10-11
|
||||
# .. toggle_warnings: For consistency in user experience, keep the value in sync with the setting of the same name
|
||||
# .. toggle_warning: For consistency in user experience, keep the value in sync with the setting of the same name
|
||||
# in the LMS and CMS.
|
||||
# .. toggle_tickets: 'https://github.com/open-craft/edx-platform/pull/429'
|
||||
'DISABLE_UNENROLLMENT': False,
|
||||
@@ -2578,7 +2578,7 @@ EDXAPP_PARSE_KEYS = {}
|
||||
# .. toggle_use_cases: temporary
|
||||
# .. toggle_creation_date: 2019-12-02
|
||||
# .. toggle_target_removal_date: 2020-06-01
|
||||
# .. toggle_warnings: This url can be removed once it no longer has any real traffic.
|
||||
# .. toggle_warning: This url can be removed once it no longer has any real traffic.
|
||||
# .. toggle_tickets: ARCH-1253
|
||||
DISABLE_DEPRECATED_SIGNIN_URL = False
|
||||
|
||||
@@ -2589,7 +2589,7 @@ DISABLE_DEPRECATED_SIGNIN_URL = False
|
||||
# .. toggle_use_cases: temporary
|
||||
# .. toggle_creation_date: 2019-12-02
|
||||
# .. toggle_target_removal_date: 2020-06-01
|
||||
# .. toggle_warnings: This url can be removed once it no longer has any real traffic.
|
||||
# .. toggle_warning: This url can be removed once it no longer has any real traffic.
|
||||
# .. toggle_tickets: ARCH-1253
|
||||
DISABLE_DEPRECATED_SIGNUP_URL = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user