From 98a13d6a7e1148d65f85de81f6626ea20044c367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 10 Sep 2020 18:23:27 +0200 Subject: [PATCH] Remove deprecated `toggle_status` annotation This annotation is deprecated since code-annotations==0.7.0 --- cms/djangoapps/contentstore/config/waffle.py | 1 - cms/envs/common.py | 8 ----- lms/djangoapps/bulk_email/models.py | 1 - lms/djangoapps/course_api/__init__.py | 2 -- lms/djangoapps/course_api/blocks/toggles.py | 1 - lms/djangoapps/courseware/toggles.py | 2 -- lms/djangoapps/discussion/config/settings.py | 1 - lms/djangoapps/experiments/utils.py | 3 -- lms/djangoapps/grades/config/models.py | 1 - lms/djangoapps/grades/config/waffle.py | 6 ---- lms/djangoapps/verify_student/toggles.py | 2 -- lms/envs/common.py | 33 ++----------------- .../djangoapps/user_api/accounts/toggles.py | 2 -- .../djangoapps/user_authn/config/waffle.py | 1 - .../djangoapps/user_authn/views/register.py | 1 - .../core/djangoapps/video_config/models.py | 2 -- .../video_pipeline/config/waffle.py | 2 -- .../core/djangoapps/video_pipeline/models.py | 3 -- .../core/djangoapps/waffle_utils/__init__.py | 1 - .../features/course_duration_limits/models.py | 1 - .../features/course_experience/__init__.py | 3 -- openedx/features/course_experience/waffle.py | 1 - openedx/features/learner_profile/toggles.py | 1 - 23 files changed, 3 insertions(+), 76 deletions(-) diff --git a/cms/djangoapps/contentstore/config/waffle.py b/cms/djangoapps/contentstore/config/waffle.py index b378ad9afa..d63db9f519 100644 --- a/cms/djangoapps/contentstore/config/waffle.py +++ b/cms/djangoapps/contentstore/config/waffle.py @@ -55,7 +55,6 @@ SHOW_REVIEW_RULES_FLAG = CourseWaffleFlag( # .. toggle_expiration_date: 2020-12-31 # .. toggle_warnings: 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 -# .. toggle_status: supported REDIRECT_TO_LIBRARY_AUTHORING_MICROFRONTEND = WaffleFlag( waffle_namespace=waffle_flags(), flag_name='library_authoring_mfe', diff --git a/cms/envs/common.py b/cms/envs/common.py index d764fd6bd7..3d64fd8d3d 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -343,7 +343,6 @@ FEATURES = { # .. toggle_creation_date: 2020-02-21 # .. toggle_expiration_date: None # .. toggle_tickets: 'https://github.com/edx/edx-platform/pull/21616' - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_CHANGE_USER_PASSWORD_ADMIN': False, @@ -357,7 +356,6 @@ FEATURES = { # .. toggle_creation_date: 2020-03-03 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/EDUCATOR-4951 - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_ORA_TEAM_SUBMISSIONS': False, @@ -371,7 +369,6 @@ FEATURES = { # .. toggle_creation_date: 2020-03-03 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/EDUCATOR-4951 - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_ORA_ALL_FILE_URLS': False, @@ -384,7 +381,6 @@ FEATURES = { # .. toggle_creation_date: 2020-03-03 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/EDUCATOR-4951 - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_ORA_USER_STATE_UPLOAD_DATA': False, @@ -402,7 +398,6 @@ FEATURES = { # .. toggle_warnings: This can be removed once support is removed for deprecated # course keys. # .. toggle_tickets: https://openedx.atlassian.net/browse/DEPR-58 - # .. toggle_status: supported 'DEPRECATE_OLD_COURSE_KEYS_IN_STUDIO': True, # .. toggle_name: ENABLE_LIBRARY_AUTHORING_MICROFRONTEND @@ -413,7 +408,6 @@ FEATURES = { # .. toggle_creation_date: 2020-06-20 # .. toggle_expiration_date: 2020-12-31 # .. toggle_tickets: https://openedx.atlassian.net/wiki/spaces/COMM/pages/1545011241/BD-14+Blockstore+Powered+Content+Libraries+Taxonomies - # .. toggle_status: supported # .. toggle_warnings: Also set settings.LIBRARY_AUTHORING_MICROFRONTEND_URL and see # REDIRECT_TO_LIBRARY_AUTHORING_MICROFRONTEND for rollout. 'ENABLE_LIBRARY_AUTHORING_MICROFRONTEND': False, @@ -2272,7 +2266,6 @@ EDXAPP_PARSE_KEYS = {} # .. toggle_expiration_date: 2020-06-01 # .. toggle_warnings: This url can be removed once it no longer has any real traffic. # .. toggle_tickets: ARCH-1253 -# .. toggle_status: supported DISABLE_DEPRECATED_SIGNIN_URL = False # .. toggle_name: DISABLE_DEPRECATED_SIGNUP_URL @@ -2284,7 +2277,6 @@ DISABLE_DEPRECATED_SIGNIN_URL = False # .. toggle_expiration_date: 2020-06-01 # .. toggle_warnings: This url can be removed once it no longer has any real traffic. # .. toggle_tickets: ARCH-1253 -# .. toggle_status: supported DISABLE_DEPRECATED_SIGNUP_URL = False ##### LOGISTRATION RATE LIMIT SETTINGS ##### diff --git a/lms/djangoapps/bulk_email/models.py b/lms/djangoapps/bulk_email/models.py index 184ed6448b..cfa9e17fdd 100644 --- a/lms/djangoapps/bulk_email/models.py +++ b/lms/djangoapps/bulk_email/models.py @@ -491,7 +491,6 @@ class BulkEmailFlag(ConfigurationModel): .. toggle_expiration_date: None .. toggle_warnings: None .. toggle_tickets: None - .. toggle_status: supported """ # boolean field 'enabled' inherited from parent ConfigurationModel require_course_email_auth = models.BooleanField(default=True) diff --git a/lms/djangoapps/course_api/__init__.py b/lms/djangoapps/course_api/__init__.py index 03514d0c89..edefafdf96 100644 --- a/lms/djangoapps/course_api/__init__.py +++ b/lms/djangoapps/course_api/__init__.py @@ -15,7 +15,6 @@ WAFFLE_SWITCH_NAMESPACE = WaffleSwitchNamespace(name='course_list_api_rate_limit # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://openedx.atlassian.net/browse/LEARNER-5527 -# .. toggle_status: supported USE_RATE_LIMIT_2_FOR_COURSE_LIST_API = WaffleSwitch(WAFFLE_SWITCH_NAMESPACE, 'rate_limit_2', __name__) # .. toggle_name: course_list_api_rate_limit.rate_limit_10 # .. toggle_implementation: WaffleSwitch @@ -27,5 +26,4 @@ USE_RATE_LIMIT_2_FOR_COURSE_LIST_API = WaffleSwitch(WAFFLE_SWITCH_NAMESPACE, 'ra # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://openedx.atlassian.net/browse/LEARNER-5527 -# .. toggle_status: supported USE_RATE_LIMIT_10_FOR_COURSE_LIST_API = WaffleSwitch(WAFFLE_SWITCH_NAMESPACE, 'rate_limit_10', __name__) diff --git a/lms/djangoapps/course_api/blocks/toggles.py b/lms/djangoapps/course_api/blocks/toggles.py index c818228949..476b7b32d4 100644 --- a/lms/djangoapps/course_api/blocks/toggles.py +++ b/lms/djangoapps/course_api/blocks/toggles.py @@ -17,7 +17,6 @@ COURSE_BLOCKS_API_NAMESPACE = WaffleFlagNamespace(name=u'course_blocks_api') # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: ?? -# .. toggle_status: supported HIDE_ACCESS_DENIALS_FLAG = WaffleFlag( waffle_namespace=COURSE_BLOCKS_API_NAMESPACE, flag_name=u'hide_access_denials', diff --git a/lms/djangoapps/courseware/toggles.py b/lms/djangoapps/courseware/toggles.py index e7b3a833c3..7ca6df2b41 100644 --- a/lms/djangoapps/courseware/toggles.py +++ b/lms/djangoapps/courseware/toggles.py @@ -19,7 +19,6 @@ WAFFLE_FLAG_NAMESPACE = WaffleFlagNamespace(name='courseware') # .. toggle_warnings: Also set settings.LEARNING_MICROFRONTEND_URL and # ENABLE_COURSEWARE_MICROFRONTEND. # .. toggle_tickets: TNL-7000 -# .. toggle_status: supported REDIRECT_TO_COURSEWARE_MICROFRONTEND = ExperimentWaffleFlag( WAFFLE_FLAG_NAMESPACE, 'courseware_mfe', __name__, use_course_aware_bucketing=False ) @@ -36,7 +35,6 @@ REDIRECT_TO_COURSEWARE_MICROFRONTEND = ExperimentWaffleFlag( # .. toggle_warnings: Also set settings.LEARNING_MICROFRONTEND_URL and # ENABLE_COURSEWARE_MICROFRONTEND. # .. toggle_tickets: TNL-6982 -# .. toggle_status: supported COURSEWARE_MICROFRONTEND_COURSE_TEAM_PREVIEW = CourseWaffleFlag( WAFFLE_FLAG_NAMESPACE, 'microfrontend_course_team_preview', __name__ ) diff --git a/lms/djangoapps/discussion/config/settings.py b/lms/djangoapps/discussion/config/settings.py index 4e29d95a06..6fa2a241fd 100644 --- a/lms/djangoapps/discussion/config/settings.py +++ b/lms/djangoapps/discussion/config/settings.py @@ -13,7 +13,6 @@ from django.conf import settings # .. toggle_creation_date: 2020-03-09 # .. toggle_expiration_date: None # .. toggle_tickets: None -# .. toggle_status: supported # .. toggle_warnings: None ENABLE_FORUM_DAILY_DIGEST = 'enable_forum_daily_digest' diff --git a/lms/djangoapps/experiments/utils.py b/lms/djangoapps/experiments/utils.py index 91f7331d59..2928853db2 100644 --- a/lms/djangoapps/experiments/utils.py +++ b/lms/djangoapps/experiments/utils.py @@ -43,7 +43,6 @@ experiments_namespace = WaffleFlagNamespace(name=u'experiments') # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: REVEM-63, REVEM-198 -# .. toggle_status: supported PROGRAM_INFO_FLAG = WaffleFlag( waffle_namespace=experiments_namespace, flag_name=u'add_programs', @@ -59,7 +58,6 @@ PROGRAM_INFO_FLAG = WaffleFlag( # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: REVEM-118 -# .. toggle_status: supported DASHBOARD_INFO_FLAG = WaffleFlag(experiments_namespace, u'add_dashboard_info', __name__) # TODO END: clean up as part of REVEM-199 (End) @@ -73,7 +71,6 @@ DASHBOARD_INFO_FLAG = WaffleFlag(experiments_namespace, u'add_dashboard_info', _ # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: REV-1205 -# .. toggle_status: supported UPSELL_TRACKING_FLAG = WaffleFlag( waffle_namespace=experiments_namespace, flag_name=u'add_upsell_tracking', diff --git a/lms/djangoapps/grades/config/models.py b/lms/djangoapps/grades/config/models.py index e805044e68..ea60c08540 100644 --- a/lms/djangoapps/grades/config/models.py +++ b/lms/djangoapps/grades/config/models.py @@ -36,7 +36,6 @@ class PersistentGradesEnabledFlag(ConfigurationModel): .. toggle_use_cases: temporary .. toggle_creation_date: 2016-08-26 .. toggle_tickets: https://github.com/edx/edx-platform/pull/13329 - .. toggle_status: supported """ # this field overrides course-specific settings to enable the feature for all courses enabled_for_all_courses = BooleanField(default=False) diff --git a/lms/djangoapps/grades/config/waffle.py b/lms/djangoapps/grades/config/waffle.py index a62c21c1ab..41a171428c 100644 --- a/lms/djangoapps/grades/config/waffle.py +++ b/lms/djangoapps/grades/config/waffle.py @@ -20,7 +20,6 @@ WAFFLE_NAMESPACE = u'grades' # .. toggle_use_cases: open_edx # .. toggle_creation_date: 2017-04-11 # .. toggle_tickets: https://github.com/edx/edx-platform/pull/14771 -# .. toggle_status: supported # .. toggle_warnings: This requires the PersistentGradesEnabledFlag to be enabled. ASSUME_ZERO_GRADE_IF_ABSENT = u'assume_zero_grade_if_absent' # .. toggle_name: grades.disable_regrade_on_policy_change @@ -30,7 +29,6 @@ ASSUME_ZERO_GRADE_IF_ABSENT = u'assume_zero_grade_if_absent' # .. toggle_use_cases: open_edx # .. toggle_creation_date: 2017-08-03 # .. toggle_tickets: https://github.com/edx/edx-platform/pull/15733 -# .. toggle_status: supported DISABLE_REGRADE_ON_POLICY_CHANGE = u'disable_regrade_on_policy_change' # Course Flags @@ -43,7 +41,6 @@ DISABLE_REGRADE_ON_POLICY_CHANGE = u'disable_regrade_on_policy_change' # .. toggle_use_cases: open_edx # .. toggle_creation_date: 2019-05-29 # .. toggle_tickets: https://github.com/edx/edx-platform/pull/20719 -# .. toggle_status: supported REJECTED_EXAM_OVERRIDES_GRADE = u'rejected_exam_overrides_grade' # .. toggle_name: grades.rejected_exam_overrides_grade # .. toggle_implementation: CourseWaffleFlag @@ -53,7 +50,6 @@ REJECTED_EXAM_OVERRIDES_GRADE = u'rejected_exam_overrides_grade' # .. toggle_use_cases: open_edx # .. toggle_creation_date: 2018-10-01 # .. toggle_tickets: https://github.com/edx/edx-platform/pull/19026 -# .. toggle_status: supported ENFORCE_FREEZE_GRADE_AFTER_COURSE_END = u'enforce_freeze_grade_after_course_end' # .. toggle_name: grades.writable_gradebook @@ -65,7 +61,6 @@ ENFORCE_FREEZE_GRADE_AFTER_COURSE_END = u'enforce_freeze_grade_after_course_end' # .. toggle_creation_date: 2018-10-03 # .. toggle_tickets: https://github.com/edx/edx-platform/pull/19054 # .. toggle_warnings: Enabling this requires that the `WRITABLE_GRADEBOOK_URL` setting be properly defined. -# .. toggle_status: supported WRITABLE_GRADEBOOK = u'writable_gradebook' # .. toggle_name: grades.bulk_management @@ -76,7 +71,6 @@ WRITABLE_GRADEBOOK = u'writable_gradebook' # .. toggle_use_cases: open_edx # .. toggle_creation_date: 2019-08-20 # .. toggle_tickets: https://github.com/edx/edx-platform/pull/21389 -# .. toggle_status: supported BULK_MANAGEMENT = u'bulk_management' diff --git a/lms/djangoapps/verify_student/toggles.py b/lms/djangoapps/verify_student/toggles.py index 4342a289fb..243351caee 100644 --- a/lms/djangoapps/verify_student/toggles.py +++ b/lms/djangoapps/verify_student/toggles.py @@ -18,7 +18,6 @@ WAFFLE_FLAG_NAMESPACE = WaffleFlagNamespace(name='verify_student') # .. toggle_expiration_date: n/a # .. toggle_warnings: n/a # .. toggle_tickets: PROD-1639 -# .. toggle_status: supported USE_NEW_EMAIL_TEMPLATES = WaffleFlag( waffle_namespace=WAFFLE_FLAG_NAMESPACE, flag_name='use_new_email_templates', @@ -40,7 +39,6 @@ def use_new_templates_for_id_verification_emails(): # .. toggle_expiration_date: n/a # .. toggle_warnings: n/a # .. toggle_tickets: MST-318 -# .. toggle_status: supported REDIRECT_TO_IDV_MICROFRONTEND = WaffleFlag( waffle_namespace=WAFFLE_FLAG_NAMESPACE, flag_name='redirect_to_idv_microfrontend', diff --git a/lms/envs/common.py b/lms/envs/common.py index 822461c0de..e11deebbe0 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -92,7 +92,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://github.com/edx/edx-platform/pull/2425 - # .. toggle_status: supported 'DISPLAY_DEBUG_INFO_TO_STAFF': True, 'DISPLAY_HISTOGRAMS_TO_STAFF': False, # For large courses this slows down courseware access for staff. @@ -108,7 +107,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: This will cause ALL courses to be immediately visible. # .. toggle_tickets: https://github.com/edx/edx-platform/pull/17913 - # .. toggle_status: supported ## DO NOT SET TO True IN THIS FILE ## Doing so will cause all courses to be released on production 'DISABLE_START_DATES': False, @@ -126,7 +124,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://github.com/edx/edx-platform/pull/3064 - # .. toggle_status: supported 'ENABLE_TEXTBOOK': True, # discussion home panel, which includes a subscription on/off setting for discussion digest emails. @@ -147,7 +144,6 @@ FEATURES = { # digests in that case will only be able to unsubscribe via links embedded in # their emails, and they will have no way to resubscribe. # .. toggle_tickets: https://github.com/edx/edx-platform/pull/4891 - # .. toggle_status: supported 'ENABLE_DISCUSSION_EMAIL_DIGEST': False, # toggle_name: ENABLE_UNICODE_USERNAME @@ -178,20 +174,19 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: None - # .. toggle_status: supported 'ENABLE_MASQUERADE': True, # .. toggle_name: ENABLE_SYSADMIN_DASHBOARD # .. toggle_implementation: DjangoSetting # .. toggle_default: False # .. toggle_description: enables dashboard at /syadmin/ for django staff, for seeing overview of system status, for - # deleting and loading courses, for seeing log of git imports of courseware. + # deleting and loading courses, for seeing log of git imports of courseware. Note that some views are not + # performant when there are more than 100 courses. # .. toggle_use_cases: open_edx # .. toggle_creation_date: 2013-12-12 # .. toggle_expiration_date: None - # .. toggle_warnings: some views are not performant when there are more than 100 courses + # .. toggle_warnings: This feature is not supported anymore. # .. toggle_tickets: None - # .. toggle_status: unsupported 'ENABLE_SYSADMIN_DASHBOARD': False, # sysadmin dashboard, to see what courses are loaded, to delete & load courses 'DISABLE_LOGIN_BUTTON': False, # used in systems where login is automatic, eg MIT SSL @@ -204,7 +199,6 @@ FEATURES = { # .. toggle_use_cases: temporary # .. toggle_creation_date: 2014-09-09 # .. toggle_expiration_date: None - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_OAUTH2_PROVIDER': False, @@ -219,7 +213,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://github.com/edx/edx-platform/pull/2968 - # .. toggle_status: supported 'ENABLE_XBLOCK_VIEW_ENDPOINT': False, # Allows to configure the LMS to provide CORS headers to serve requests from other @@ -276,7 +269,6 @@ FEATURES = { # .. toggle_creation_date: 2019-05-14 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/PROD-269 - # .. toggle_status: supported # .. toggle_warnings: ??? 'DISABLE_HONOR_CERTIFICATES': False, # Toggle to disable honor certificates @@ -296,7 +288,6 @@ FEATURES = { # .. toggle_creation_date: 2018-05-07 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/TE-2545 - # .. toggle_status: supported 'RESTRICT_AUTOMATIC_AUTH': True, # toggle_name: ENABLE_LOGIN_MICROFRONTEND @@ -342,7 +333,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://github.com/edx/edx-platform/pull/6876 - # .. toggle_status: supported 'ENABLE_COSMETIC_DISPLAY_PRICE': False, # Automatically approve student identity verification attempts @@ -397,7 +387,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: When this is enabled, the MKTG_URLS setting should be defined. # .. toggle_tickets: ? - # .. toggle_status: supported 'ENABLE_MKTG_SITE': False, # Prevent concurrent logins per user @@ -419,7 +408,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://github.com/edx/edx-platform/pull/7548 - # .. toggle_status: supported 'ENABLE_COURSE_SORTING_BY_START_DATE': True, # .. toggle_name: ENABLE_COURSE_HOME_REDIRECT @@ -433,7 +421,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://github.com/edx/edx-platform/pull/19604 - # .. toggle_status: supported 'ENABLE_COURSE_HOME_REDIRECT': True, # Expose Mobile REST API. Note that if you use this, you must also set @@ -449,7 +436,6 @@ FEATURES = { # .. toggle_creation_date: 2016-06-24 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/OSPR-1320 - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_COMBINED_LOGIN_REGISTRATION_FOOTER': False, @@ -501,7 +487,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://github.com/edx/edx-platform/pull/7315 - # .. toggle_status: supported 'LICENSING': False, # Certificates Web/HTML Views @@ -518,7 +503,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: The COURSE_DISCOVERY_MEANINGS setting should be properly defined. # .. toggle_tickets: https://github.com/edx/edx-platform/pull/7845 - # .. toggle_status: supported 'ENABLE_COURSE_DISCOVERY': False, # Setting for overriding default filtering facets for Course discovery @@ -545,7 +529,6 @@ FEATURES = { # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://github.com/edx/edx-platform/pull/9744 - # .. toggle_status: supported 'ENABLE_SPECIAL_EXAMS': False, # Enable OpenBadge support. See the BADGR_* settings later in this file. @@ -577,7 +560,6 @@ FEATURES = { # the case. When disabling this feature flag, remember to remove "coursewarehistoryextended" from the # INSTALLED_APPS and the "StudentModuleHistoryExtendedRouter" from the DATABASE_ROUTERS. # .. toggle_tickets: None - # .. toggle_status: supported 'ENABLE_CSMH_EXTENDED': True, # Read from both the CSMH and CSMHE history tables. @@ -598,7 +580,6 @@ FEATURES = { # .. toggle_creation_date: 2017-04-12 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/YONK-513 - # .. toggle_status: supported # .. toggle_warnings: None 'ALLOW_PUBLIC_ACCOUNT_CREATION': True, @@ -639,7 +620,6 @@ FEATURES = { # .. toggle_creation_date: 2017-07-20 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/OSPR-1832 - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_PASSWORD_RESET_FAILURE_EMAIL': False, @@ -662,7 +642,6 @@ FEATURES = { # .. toggle_creation_date: 2020-02-21 # .. toggle_expiration_date: None # .. toggle_tickets: 'https://github.com/edx/edx-platform/pull/21616' - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_CHANGE_USER_PASSWORD_ADMIN': False, @@ -675,7 +654,6 @@ FEATURES = { # .. toggle_creation_date: 2020-03-05 # .. toggle_expiration_date: None # .. toggle_tickets: 'https://github.com/edx/edx-platform/pull/23317' - # .. toggle_status: supported # .. toggle_warnings: Also set settings.LEARNING_MICROFRONTEND_URL and see REDIRECT_TO_COURSEWARE_MICROFRONTEND for # rollout. 'ENABLE_COURSEWARE_MICROFRONTEND': False, @@ -688,7 +666,6 @@ FEATURES = { # .. toggle_creation_date: 2020-09-08 # .. toggle_expiration_date: None # .. toggle_tickets: 'https://github.com/edx/edx-platform/pull/24908' - # .. toggle_status: supported # .. toggle_warnings: Also set settings.ACCOUNT_MICROFRONTEND_URL and set REDIRECT_TO_ACCOUNT_MICROFRONTEND for rollout. 'ENABLE_LOGISTRATION_MICROFRONTEND': False, @@ -702,7 +679,6 @@ FEATURES = { # .. toggle_creation_date: 2020-03-03 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/EDUCATOR-4951 - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_ORA_TEAM_SUBMISSIONS': False, @@ -716,7 +692,6 @@ FEATURES = { # .. toggle_creation_date: 2020-03-03 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/EDUCATOR-4951 - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_ORA_ALL_FILE_URLS': False, @@ -729,7 +704,6 @@ FEATURES = { # .. toggle_creation_date: 2020-03-03 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/EDUCATOR-4951 - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_ORA_USER_STATE_UPLOAD_DATA': False, @@ -742,7 +716,6 @@ FEATURES = { # .. toggle_creation_date: 2020-06-11 # .. toggle_expiration_date: None # .. toggle_tickets: https://openedx.atlassian.net/browse/TNL-7273 - # .. toggle_status: supported # .. toggle_warnings: None 'ENABLE_ORA_USERNAMES_ON_DATA_EXPORT': False, } diff --git a/openedx/core/djangoapps/user_api/accounts/toggles.py b/openedx/core/djangoapps/user_api/accounts/toggles.py index 7e96214822..eee40ef9c6 100644 --- a/openedx/core/djangoapps/user_api/accounts/toggles.py +++ b/openedx/core/djangoapps/user_api/accounts/toggles.py @@ -17,7 +17,6 @@ from openedx.core.djangoapps.waffle_utils import WaffleFlag # .. toggle_warnings: Also set settings.ORDER_HISTORY_MICROFRONTEND_URL and site's # ENABLE_ORDER_HISTORY_MICROFRONTEND. # .. toggle_tickets: DEPR-17 -# .. toggle_status: supported REDIRECT_TO_ORDER_HISTORY_MICROFRONTEND = WaffleFlag('order_history', 'redirect_to_microfrontend', __name__) @@ -37,7 +36,6 @@ def should_redirect_to_order_history_microfrontend(): # .. toggle_expiration_date: 2020-12-31 # .. toggle_warnings: Also set settings.ACCOUNT_MICROFRONTEND_URL and site's ENABLE_ACCOUNT_MICROFRONTEND. # .. toggle_tickets: DEPR-17 -# .. toggle_status: supported REDIRECT_TO_ACCOUNT_MICROFRONTEND = WaffleFlag('account', 'redirect_to_microfrontend', __name__) diff --git a/openedx/core/djangoapps/user_authn/config/waffle.py b/openedx/core/djangoapps/user_authn/config/waffle.py index 536e985aa7..22d813e745 100644 --- a/openedx/core/djangoapps/user_authn/config/waffle.py +++ b/openedx/core/djangoapps/user_authn/config/waffle.py @@ -18,7 +18,6 @@ _WAFFLE_SWITCH_NAMESPACE = WaffleSwitchNamespace(name=_WAFFLE_NAMESPACE, log_pre # .. toggle_expiration_date: 2020-01-31 # .. toggle_warnings: Requires THIRD_PARTY_AUTH_ONLY_DOMAIN to also be set. # .. toggle_tickets: ENT-2461 -# .. toggle_status: supported ENABLE_LOGIN_USING_THIRDPARTY_AUTH_ONLY = WaffleSwitch( _WAFFLE_SWITCH_NAMESPACE, 'enable_login_using_thirdparty_auth_only', diff --git a/openedx/core/djangoapps/user_authn/views/register.py b/openedx/core/djangoapps/user_authn/views/register.py index ab84a6d19b..3b6703e104 100644 --- a/openedx/core/djangoapps/user_authn/views/register.py +++ b/openedx/core/djangoapps/user_authn/views/register.py @@ -105,7 +105,6 @@ REGISTER_USER = Signal(providing_args=["user", "registration"]) # .. toggle_expiration_date: 2020-06-01 # .. toggle_warnings: None # .. toggle_tickets: None -# .. toggle_status: supported REGISTRATION_FAILURE_LOGGING_FLAG = WaffleFlag( waffle_namespace=WaffleFlagNamespace(name=u'registration'), flag_name=u'enable_failure_logging', diff --git a/openedx/core/djangoapps/video_config/models.py b/openedx/core/djangoapps/video_config/models.py index a641f0b53c..4eb29492c7 100644 --- a/openedx/core/djangoapps/video_config/models.py +++ b/openedx/core/djangoapps/video_config/models.py @@ -35,7 +35,6 @@ class HLSPlaybackEnabledFlag(ConfigurationModel): .. toggle_expiration_date: None .. toggle_warnings: None .. toggle_tickets: https://github.com/edx/edx-platform/pull/14924 - .. toggle_status: supported """ # this field overrides course-specific settings enabled_for_all_courses = BooleanField(default=False) @@ -90,7 +89,6 @@ class CourseHLSPlaybackEnabledFlag(ConfigurationModel): .. toggle_expiration_date: None .. toggle_warnings: None .. toggle_tickets: https://github.com/edx/edx-platform/pull/14924 - .. toggle_status: supported """ KEY_FIELDS = ('course_id',) diff --git a/openedx/core/djangoapps/video_pipeline/config/waffle.py b/openedx/core/djangoapps/video_pipeline/config/waffle.py index f50a700c2a..56eff4f8c6 100644 --- a/openedx/core/djangoapps/video_pipeline/config/waffle.py +++ b/openedx/core/djangoapps/video_pipeline/config/waffle.py @@ -18,7 +18,6 @@ WAFFLE_NAMESPACE = 'videos' # .. toggle_expiration_date: None # .. toggle_warnings: None # .. toggle_tickets: https://github.com/edx/edx-platform/pull/18765 -# .. toggle_status: supported DEPRECATE_YOUTUBE = 'deprecate_youtube' # .. toggle_name: videos.enable_devstack_video_uploads # .. toggle_implementation: WaffleFlag @@ -32,7 +31,6 @@ DEPRECATE_YOUTUBE = 'deprecate_youtube' # .. toggle_warnings: Enabling this feature requires that the ROLE_ARN, # MFA_SERIAL_NUMBER, MFA_TOKEN settings are properly defined. # .. toggle_tickets: https://github.com/edx/edx-platform/pull/23375 -# .. toggle_status: supported ENABLE_DEVSTACK_VIDEO_UPLOADS = 'enable_devstack_video_uploads' ENABLE_VEM_PIPELINE = 'enable_vem_pipeline' diff --git a/openedx/core/djangoapps/video_pipeline/models.py b/openedx/core/djangoapps/video_pipeline/models.py index d1550e5500..d0b9d50415 100644 --- a/openedx/core/djangoapps/video_pipeline/models.py +++ b/openedx/core/djangoapps/video_pipeline/models.py @@ -62,7 +62,6 @@ class VEMPipelineIntegration(ConfigurationModel): .. toggle_expiration_date: None .. toggle_warnings: None .. toggle_tickets: https://github.com/edx/edx-platform/pull/24093 - .. toggle_status: supported """ client_name = models.CharField( max_length=100, @@ -108,7 +107,6 @@ class VideoUploadsEnabledByDefault(ConfigurationModel): .. toggle_expiration_date: None .. toggle_warnings: None .. toggle_tickets: https://github.com/edx/edx-platform/pull/16536 - .. toggle_status: supported """ # this field overrides course-specific settings enabled_for_all_courses = models.BooleanField(default=False) @@ -163,7 +161,6 @@ class CourseVideoUploadsEnabledByDefault(ConfigurationModel): .. toggle_expiration_date: None .. toggle_warnings: None .. toggle_tickets: https://github.com/edx/edx-platform/pull/16536 - .. toggle_status: supported """ KEY_FIELDS = ('course_id',) diff --git a/openedx/core/djangoapps/waffle_utils/__init__.py b/openedx/core/djangoapps/waffle_utils/__init__.py index f2ad83ec9b..7eb7f20454 100644 --- a/openedx/core/djangoapps/waffle_utils/__init__.py +++ b/openedx/core/djangoapps/waffle_utils/__init__.py @@ -387,7 +387,6 @@ def _get_waffle_flag_custom_metrics_set(): # .. toggle_creation_date: 2020-06-17 # .. toggle_expiration_date: None # .. toggle_tickets: None - # .. toggle_status: supported # .. toggle_warnings: Intent is for temporary research (1 day - several weeks) of a flag's usage. _WAFFLE_FLAG_CUSTOM_METRICS = 'WAFFLE_FLAG_CUSTOM_METRICS' diff --git a/openedx/features/course_duration_limits/models.py b/openedx/features/course_duration_limits/models.py index 34efbca54c..66137704b7 100644 --- a/openedx/features/course_duration_limits/models.py +++ b/openedx/features/course_duration_limits/models.py @@ -31,7 +31,6 @@ class CourseDurationLimitConfig(StackedConfigurationModel): .. toggle_expiration_date: None .. toggle_warnings: None .. toggle_tickets: None - .. toggle_status: supported """ STACKABLE_FIELDS = ('enabled', 'enabled_as_of') diff --git a/openedx/features/course_experience/__init__.py b/openedx/features/course_experience/__init__.py index e8554c9cb0..7159ac4955 100644 --- a/openedx/features/course_experience/__init__.py +++ b/openedx/features/course_experience/__init__.py @@ -96,7 +96,6 @@ COURSE_PRE_START_ACCESS_FLAG = WaffleFlag(WAFFLE_FLAG_NAMESPACE, 'pre_start_acce # .. toggle_warnings: We are no longer integrating with CourseTalk, so this probably should be deprecated and the code # for reviews should be removed. # .. toggle_tickets: DEPR-48 -# .. toggle_status: unsupported SHOW_REVIEWS_TOOL_FLAG = CourseWaffleFlag(WAFFLE_FLAG_NAMESPACE, 'show_reviews_tool', __name__) # Waffle flag to enable the setting of course goals. @@ -109,7 +108,6 @@ SHOW_REVIEWS_TOOL_FLAG = CourseWaffleFlag(WAFFLE_FLAG_NAMESPACE, 'show_reviews_t # .. toggle_expiration_date: ??? # .. toggle_warnings: N/A # .. toggle_tickets: N/A -# .. toggle_status: supported ENABLE_COURSE_GOALS = CourseWaffleFlag(WAFFLE_FLAG_NAMESPACE, 'enable_course_goals', __name__) # Waffle flag to control the display of the hero @@ -129,7 +127,6 @@ UPGRADE_DEADLINE_MESSAGE = CourseWaffleFlag(WAFFLE_FLAG_NAMESPACE, 'upgrade_dead # .. toggle_warnings: This is meant to be configured using waffle_utils course override only. Either do not create the # actual waffle flag, or be sure to unset the flag even for Superusers. # .. toggle_tickets: N/A -# .. toggle_status: supported LATEST_UPDATE_FLAG = CourseWaffleFlag(WAFFLE_FLAG_NAMESPACE, 'latest_update', __name__) # Waffle flag to enable anonymous access to a course diff --git a/openedx/features/course_experience/waffle.py b/openedx/features/course_experience/waffle.py index 45decea082..6e246a849b 100644 --- a/openedx/features/course_experience/waffle.py +++ b/openedx/features/course_experience/waffle.py @@ -18,7 +18,6 @@ WAFFLE_NAMESPACE = u'course_experience' # .. toggle_expiration_date: ??? # .. toggle_warnings: N/A # .. toggle_tickets: N/A -# .. toggle_status: supported ENABLE_COURSE_ABOUT_SIDEBAR_HTML = u'enable_about_sidebar_html' diff --git a/openedx/features/learner_profile/toggles.py b/openedx/features/learner_profile/toggles.py index 5156103948..47341e59b9 100644 --- a/openedx/features/learner_profile/toggles.py +++ b/openedx/features/learner_profile/toggles.py @@ -20,7 +20,6 @@ WAFFLE_FLAG_NAMESPACE = WaffleFlagNamespace(name='learner_profile') # .. toggle_expiration_date: 2020-12-31 # .. toggle_warnings: Also set settings.PROFILE_MICROFRONTEND_URL and site's ENABLE_PROFILE_MICROFRONTEND. # .. toggle_tickets: DEPR-17 -# .. toggle_status: supported REDIRECT_TO_PROFILE_MICROFRONTEND = WaffleFlag(WAFFLE_FLAG_NAMESPACE, 'redirect_to_microfrontend', __name__)