From d50086a84bb879edf3f764fc01f982b756faaf07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Tue, 26 Jan 2021 11:39:26 +0100 Subject: [PATCH] Annotate course_experience.calendar_sync This simply adds code annotations to the course waffle flag, but does not affect behaviour. --- openedx/features/course_experience/__init__.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/openedx/features/course_experience/__init__.py b/openedx/features/course_experience/__init__.py index e7626ef46d..3f720cb503 100644 --- a/openedx/features/course_experience/__init__.py +++ b/openedx/features/course_experience/__init__.py @@ -75,7 +75,18 @@ COURSE_ENABLE_UNENROLLED_ACCESS_FLAG = CourseWaffleFlag( # Waffle flag to enable relative dates for course content RELATIVE_DATES_FLAG = ExperimentWaffleFlag(WAFFLE_FLAG_NAMESPACE, 'relative_dates', __name__, experiment_id=17) -# Waffle flag to enable user calendar syncing +# .. toggle_name: course_experience.calendar_sync +# .. toggle_implementation: CourseWaffleFlag +# .. toggle_default: False +# .. toggle_description: This course flag enables a course tool (which is a tool that is added on a course home page) +# that sends course assignment calendars to course students, whenever they click on the "Subscribe to calendar +# updates" button. The email contains an ics attachment that students can then use to sync with their own calendar +# apps. +# .. toggle_warnings: For this toggle to have an effect, the RELATIVE_DATES_FLAG toggle must be enabled, too. +# .. toggle_use_cases: temporary +# .. toggle_creation_date: 2021-01-26 +# .. toggle_target_removal_date: 2021-04-26 +# .. toggle_tickets: https://openedx.atlassian.net/browse/AA-36 CALENDAR_SYNC_FLAG = CourseWaffleFlag(WAFFLE_FLAG_NAMESPACE, 'calendar_sync', __name__)