To toggle proctored exam advanced settings waffle flag - test_settings.show_review_rules To toggle proctored exam advanced settings waffle flag - test_settings.show_review_rules To toggle proctored exam advanced settings acceptance testing update. waffle flag - test_settings.show_review_rules To toggle proctored exam advanced settings acceptance testing update. waffle flag - test_settings.show_review_rules To toggle proctored exam advanced settings acceptance testing update. waffle flag - studio.show_review_rules To toggle proctored exam advanced settings acceptance testing update. Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py waffle flag - studio.show_review_rules To toggle proctored exam advanced settings acceptance testing update. Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py waffle flag - studio.show_review_rules To toggle proctored exam advanced settings acceptance testing update. Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py Updated JS UT and acceptance Move common/djangoapps/enrollment to openedx/core/djangoapps/enrollments Fix Pylint for enrollments README for enrollments app Move command arguments to common settings Move command parameter arguments, resend-days and days-range, to common settings. This will help in creating a consistency when the default values are changed in the future. LEARNER-7313 Bumped edx-enterprise version and added cornerstone app Updating Bokchoy testing database cache (#20713) complete waiting enrollments. fixed Remove microsites from user_authn DEPR-30 Remove microsites from certificates DEPR-26 Remove microsites from shoppingcart DEPR-27 Updating Bokchoy testing database cache (#20715) add arch decision of computation of course-user discount Mark missing string for internationalization Remove microsites from static_template_view DEPR-28 README for commerce and shoppingcart README for certificates README for course_experience geoip2: update maxmind geolite country database user existence check updated to use email only Bumped edx-when Use our fork of this repo instead of the mitocw one. Make platform bootstrap footer match other footer Changes: - Add logo back - Fix up spacing - Change font sizes and color Mark alt text for translation waffle flag - test_settings.show_review_rules To toggle proctored exam advanced settings waffle flag - test_settings.show_review_rules To toggle proctored exam advanced settings waffle flag - test_settings.show_review_rules To toggle proctored exam advanced settings acceptance testing update. waffle flag - test_settings.show_review_rules To toggle proctored exam advanced settings acceptance testing update. waffle flag - test_settings.show_review_rules To toggle proctored exam advanced settings acceptance testing update. waffle flag - studio.show_review_rules To toggle proctored exam advanced settings acceptance testing update. Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py waffle flag - studio.show_review_rules To toggle proctored exam advanced settings acceptance testing update. Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py waffle flag - studio.show_review_rules To toggle proctored exam advanced settings acceptance testing update. Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py Updated JS UT and acceptance Move common/djangoapps/enrollment to openedx/core/djangoapps/enrollments Fix Pylint for enrollments README for enrollments app Move command arguments to common settings Move command parameter arguments, resend-days and days-range, to common settings. This will help in creating a consistency when the default values are changed in the future. LEARNER-7313 Bumped edx-enterprise version and added cornerstone app Updating Bokchoy testing database cache (#20713) complete waiting enrollments. fixed Remove microsites from user_authn DEPR-30 Remove microsites from certificates DEPR-26 Remove microsites from shoppingcart DEPR-27 Updating Bokchoy testing database cache (#20715) add arch decision of computation of course-user discount Mark missing string for internationalization Remove microsites from static_template_view DEPR-28 README for commerce and shoppingcart README for certificates README for course_experience geoip2: update maxmind geolite country database user existence check updated to use email only Bumped edx-when Use our fork of this repo instead of the mitocw one. Make platform bootstrap footer match other footer Changes: - Add logo back - Fix up spacing - Change font sizes and color Mark alt text for translation
45 lines
1.2 KiB
Python
45 lines
1.2 KiB
Python
"""
|
|
This module contains various configuration settings via
|
|
waffle switches for the contentstore app.
|
|
"""
|
|
from openedx.core.djangoapps.waffle_utils import CourseWaffleFlag, WaffleFlagNamespace, WaffleSwitchNamespace
|
|
|
|
# Namespace
|
|
WAFFLE_NAMESPACE = u'studio'
|
|
|
|
# Switches
|
|
ENABLE_ACCESSIBILITY_POLICY_PAGE = u'enable_policy_page'
|
|
|
|
|
|
def waffle():
|
|
"""
|
|
Returns the namespaced, cached, audited Waffle Switch class for Studio pages.
|
|
"""
|
|
return WaffleSwitchNamespace(name=WAFFLE_NAMESPACE, log_prefix=u'Studio: ')
|
|
|
|
|
|
def waffle_flags():
|
|
"""
|
|
Returns the namespaced, cached, audited Waffle Flag class for Studio pages.
|
|
"""
|
|
return WaffleFlagNamespace(name=WAFFLE_NAMESPACE, log_prefix=u'Studio: ')
|
|
|
|
# Flags
|
|
ENABLE_PROCTORING_PROVIDER_OVERRIDES = CourseWaffleFlag(
|
|
waffle_namespace=waffle_flags(),
|
|
flag_name=u'enable_proctoring_provider_overrides',
|
|
flag_undefined_default=False
|
|
)
|
|
|
|
ENABLE_CHECKLISTS_QUALITY = CourseWaffleFlag(
|
|
waffle_namespace=waffle_flags(),
|
|
flag_name=u'enable_checklists_quality',
|
|
flag_undefined_default=True
|
|
)
|
|
|
|
SHOW_REVIEW_RULES_FLAG = CourseWaffleFlag(
|
|
waffle_namespace=waffle_flags(),
|
|
flag_name=u'show_review_rules',
|
|
flag_undefined_default=False
|
|
)
|