From 652dee611fb70bf3375ef44d3fd53010f3929c89 Mon Sep 17 00:00:00 2001 From: DawoudSheraz Date: Fri, 30 Aug 2019 16:13:57 +0500 Subject: [PATCH] send grace period info to edx-proctoring --- common/lib/xmodule/xmodule/seq_module.py | 3 ++- requirements/edx/base.txt | 8 ++++---- requirements/edx/development.txt | 12 ++++++------ requirements/edx/paver.txt | 2 +- requirements/edx/testing.txt | 12 ++++++------ scripts/xblock/requirements.txt | 2 +- 6 files changed, 20 insertions(+), 19 deletions(-) diff --git a/common/lib/xmodule/xmodule/seq_module.py b/common/lib/xmodule/xmodule/seq_module.py index 82a66bd3c8..249c00cc53 100644 --- a/common/lib/xmodule/xmodule/seq_module.py +++ b/common/lib/xmodule/xmodule/seq_module.py @@ -625,7 +625,8 @@ class SequenceModule(SequenceFields, ProctoringFields, XModule): ), 'is_practice_exam': self.is_practice_exam, 'allow_proctoring_opt_out': self.allow_proctoring_opt_out, - 'due_date': self.due + 'due_date': self.due, + 'grace_period': self.graceperiod, } # inject the user's credit requirements and fulfillments diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 717e4e6e00..a29b80b647 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -21,7 +21,7 @@ -e common/lib/xmodule amqp==1.4.9 # via kombu analytics-python==1.2.9 -aniso8601==7.0.0 # via tincan +aniso8601==8.0.0 # via tincan anyjson==0.3.3 # via kombu appdirs==1.4.3 # via fs argh==0.26.2 @@ -38,7 +38,7 @@ botocore==1.8.17 git+https://github.com/edx/bridgekeeper.git@4e34894e4ac5d0467ed1901811a81fd87ee01937#egg=bridgekeeper==0.0 git+https://github.com/edx/openedx-calc.git@e9b698c85ad1152002bc0868f475f153dce88952#egg=calc==0.4 celery==3.1.25 -certifi==2019.6.16 +certifi==2019.9.11 cffi==1.12.3 chardet==3.0.4 git+https://github.com/edx/openedx-chem.git@ff4e3a03d3c7610e47a9af08eb648d8aabe2eb18#egg=chem==1.0.0 @@ -113,7 +113,7 @@ edx-oauth2-provider==1.3.0 edx-opaque-keys[django]==1.0.1 edx-organizations==2.1.0 edx-proctoring-proctortrack==1.0.5 -edx-proctoring==2.0.7 +edx-proctoring==2.0.8 edx-rbac==1.0.2 # via edx-enterprise edx-rest-api-client==1.9.2 edx-search==1.2.2 @@ -171,7 +171,7 @@ nodeenv==1.1.1 numpy==1.16.5 git+https://github.com/joestump/python-oauth2.git@b94f69b1ad195513547924e380d9265133e995fa#egg=oauth2 oauthlib==2.1.0 -git+https://github.com/edx/edx-ora2.git@2.3.1#egg=ora2==2.3.1 +git+https://github.com/edx/edx-ora2.git@2.2.7#egg=ora2==2.2.7 path.py==8.2.1 pathtools==0.1.2 paver==1.3.4 diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 05230dd8ab..22abbc87f9 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -23,7 +23,7 @@ alabaster==0.7.12 # via sphinx amqp==1.4.9 analytics-python==1.2.9 -aniso8601==7.0.0 +aniso8601==8.0.0 anyjson==0.3.3 apipkg==1.5 appdirs==1.4.3 @@ -51,7 +51,7 @@ git+https://github.com/edx/bridgekeeper.git@4e34894e4ac5d0467ed1901811a81fd87ee0 git+https://github.com/edx/openedx-calc.git@e9b698c85ad1152002bc0868f475f153dce88952#egg=calc==0.4 caniusepython3==7.1.0 celery==3.1.25 -certifi==2019.6.16 +certifi==2019.9.11 cffi==1.12.3 chardet==3.0.4 git+https://github.com/edx/openedx-chem.git@ff4e3a03d3c7610e47a9af08eb648d8aabe2eb18#egg=chem==1.0.0 @@ -59,7 +59,7 @@ click-log==0.3.2 click==7.0 code-annotations==0.3.2 colorama==0.4.1 -configparser==4.0.1 +configparser==4.0.2 contextlib2==0.5.5 cookies==2.2.1 coreapi==2.3.3 @@ -138,7 +138,7 @@ edx-oauth2-provider==1.3.0 edx-opaque-keys[django]==1.0.1 edx-organizations==2.1.0 edx-proctoring-proctortrack==1.0.5 -edx-proctoring==2.0.7 +edx-proctoring==2.0.8 edx-rbac==1.0.2 edx-rest-api-client==1.9.2 edx-search==1.2.2 @@ -176,7 +176,7 @@ httplib2==0.13.1 httpretty==0.9.6 idna==2.8 imagesize==1.1.0 # via sphinx -importlib-metadata==0.21 +importlib-metadata==0.22 inflect==2.1.0 inflection==0.3.1 ipaddress==1.0.22 @@ -233,7 +233,7 @@ piexif==1.0.2 pillow==6.1.0 pip-tools==3.8.0 pkgconfig==1.5.1 -pluggy==0.12.0 +pluggy==0.13.0 polib==1.1.0 psutil==1.2.1 py2neo==3.1.2 diff --git a/requirements/edx/paver.txt b/requirements/edx/paver.txt index 2472859bcc..eef8f1fa12 100644 --- a/requirements/edx/paver.txt +++ b/requirements/edx/paver.txt @@ -5,7 +5,7 @@ # make upgrade # argh==0.26.2 # via watchdog -certifi==2019.6.16 # via requests +certifi==2019.9.11 # via requests chardet==3.0.4 # via requests edx-opaque-keys==1.0.1 idna==2.8 # via requests diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index ba44894ed0..3d3a7f091a 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -21,7 +21,7 @@ -e common/lib/xmodule amqp==1.4.9 analytics-python==1.2.9 -aniso8601==7.0.0 +aniso8601==8.0.0 anyjson==0.3.3 apipkg==1.5 # via execnet appdirs==1.4.3 @@ -49,7 +49,7 @@ git+https://github.com/edx/bridgekeeper.git@4e34894e4ac5d0467ed1901811a81fd87ee0 git+https://github.com/edx/openedx-calc.git@e9b698c85ad1152002bc0868f475f153dce88952#egg=calc==0.4 caniusepython3==7.1.0 celery==3.1.25 -certifi==2019.6.16 +certifi==2019.9.11 cffi==1.12.3 chardet==3.0.4 git+https://github.com/edx/openedx-chem.git@ff4e3a03d3c7610e47a9af08eb648d8aabe2eb18#egg=chem==1.0.0 @@ -57,7 +57,7 @@ click-log==0.3.2 # via edx-lint click==7.0 code-annotations==0.3.2 colorama==0.4.1 # via radon -configparser==4.0.1 # via entrypoints, flake8, importlib-metadata, pylint +configparser==4.0.2 # via entrypoints, flake8, importlib-metadata, pylint contextlib2==0.5.5 cookies==2.2.1 # via moto coreapi==2.3.3 @@ -134,7 +134,7 @@ edx-oauth2-provider==1.3.0 edx-opaque-keys[django]==1.0.1 edx-organizations==2.1.0 edx-proctoring-proctortrack==1.0.5 -edx-proctoring==2.0.7 +edx-proctoring==2.0.8 edx-rbac==1.0.2 edx-rest-api-client==1.9.2 edx-search==1.2.2 @@ -170,7 +170,7 @@ html5lib==1.0.1 httplib2==0.13.1 httpretty==0.9.6 idna==2.8 -importlib-metadata==0.21 # via pluggy, tox +importlib-metadata==0.22 # via pluggy, tox inflect==2.1.0 inflection==0.3.1 ipaddress==1.0.22 @@ -225,7 +225,7 @@ pdfminer.six==20181108 piexif==1.0.2 pillow==6.1.0 pkgconfig==1.5.1 -pluggy==0.12.0 # via pytest, tox +pluggy==0.13.0 # via pytest, tox polib==1.1.0 psutil==1.2.1 py2neo==3.1.2 diff --git a/scripts/xblock/requirements.txt b/scripts/xblock/requirements.txt index f732e44d0b..dcf4970ad6 100644 --- a/scripts/xblock/requirements.txt +++ b/scripts/xblock/requirements.txt @@ -4,7 +4,7 @@ # # make upgrade # -certifi==2019.6.16 # via requests +certifi==2019.9.11 # via requests chardet==3.0.4 # via requests idna==2.8 # via requests requests==2.22.0