diff --git a/cms/djangoapps/contentstore/views/item.py b/cms/djangoapps/contentstore/views/item.py index 330eb0ee35..240a7dc2d4 100644 --- a/cms/djangoapps/contentstore/views/item.py +++ b/cms/djangoapps/contentstore/views/item.py @@ -1194,6 +1194,7 @@ def create_xblock_info(xblock, data=None, metadata=None, include_ancestor_info=F elif xblock.category == 'sequential': xblock_info.update({ 'is_proctored_exam': xblock.is_proctored_exam, + 'online_proctoring_rules': settings.PROCTORING_SETTINGS.get('LINK_URLS', {}).get('online_proctoring_rules', {}), 'is_practice_exam': xblock.is_practice_exam, 'is_time_limited': xblock.is_time_limited, 'exam_review_rules': xblock.exam_review_rules, diff --git a/cms/templates/js/timed-examination-preference-editor.underscore b/cms/templates/js/timed-examination-preference-editor.underscore index a72e72996a..fad00198d3 100644 --- a/cms/templates/js/timed-examination-preference-editor.underscore +++ b/cms/templates/js/timed-examination-preference-editor.underscore @@ -42,7 +42,18 @@ -
+ <% var online_proctoring_rules = xblockInfo.get('online_proctoring_rules'); %> + diff --git a/requirements/edx/github.txt b/requirements/edx/github.txt index 41d61d2227..0922c6c963 100644 --- a/requirements/edx/github.txt +++ b/requirements/edx/github.txt @@ -95,7 +95,7 @@ git+https://github.com/edx/xblock-utils.git@v1.0.5#egg=xblock-utils==1.0.5 -e git+https://github.com/edx-solutions/xblock-google-drive.git@138e6fa0bf3a2013e904a085b9fed77dab7f3f21#egg=xblock-google-drive git+https://github.com/edx/edx-user-state-client.git@1.0.1#egg=edx-user-state-client==1.0.1 git+https://github.com/edx/xblock-lti-consumer.git@v1.1.5#egg=lti_consumer-xblock==1.1.5 -git+https://github.com/edx/edx-proctoring.git@0.18.2#egg=edx-proctoring==0.18.2 +git+https://github.com/edx/edx-proctoring.git@0.19.0#egg=edx-proctoring==0.19.0 # Third Party XBlocks git+https://github.com/open-craft/xblock-poll@v1.2.7#egg=xblock-poll==1.2.7