Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-proctoring
Commits
4eeda948
Commit
4eeda948
authored
Aug 01, 2016
by
Andy Armstrong
Committed by
GitHub
Aug 01, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #297 from edx/andya/improve-error-message
Improve the error message when proctoring fails
parents
e7599a59
aa04c786
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
10 deletions
+8
-10
edx_proctoring/api.py
+1
-0
edx_proctoring/templates/proctored_exam/error.html
+5
-9
edx_proctoring/tests/test_api.py
+1
-1
settings.py
+1
-0
No files found.
edx_proctoring/api.py
View file @
4eeda948
...
@@ -1587,6 +1587,7 @@ def _get_proctored_exam_context(exam, attempt, course_id, is_practice_exam=False
...
@@ -1587,6 +1587,7 @@ def _get_proctored_exam_context(exam, attempt, course_id, is_practice_exam=False
args
=
[
attempt
[
'id'
]]
args
=
[
attempt
[
'id'
]]
)
if
attempt
else
''
,
)
if
attempt
else
''
,
'link_urls'
:
settings
.
PROCTORING_SETTINGS
.
get
(
'LINK_URLS'
,
{}),
'link_urls'
:
settings
.
PROCTORING_SETTINGS
.
get
(
'LINK_URLS'
,
{}),
'tech_support_email'
:
settings
.
TECH_SUPPORT_EMAIL
,
}
}
...
...
edx_proctoring/templates/proctored_exam/error.html
View file @
4eeda948
...
@@ -2,20 +2,16 @@
...
@@ -2,20 +2,16 @@
<div
class=
"failure sequence proctored-exam"
data-exam-id=
"{{exam_id}}"
>
<div
class=
"failure sequence proctored-exam"
data-exam-id=
"{{exam_id}}"
>
<h3>
<h3>
{% blocktrans %}
{% blocktrans %}
There was a problem with your proctoring session
Error with proctored exam
{% endblocktrans %}
{% endblocktrans %}
</h3>
</h3>
<h4>
{% blocktrans %}
Your proctoring session results:
<b
class=
"failure"
>
Unsatisfactory
</b>
{% endblocktrans %}
</h4>
<p>
<p>
{% blocktrans %}
{% blocktrans %}
Your proctoring session ended before you completed this exam, so your proctoring results are incomplete.
A technical error has occurred with your proctored exam. To resolve this problem, contact
You will not be eligible to use this course for academic credit, even if you achieve a passing grade.
<a
href=
"mailto:{{tech_support_email}}"
>
technical support
</a>
. All exam data, including answers
for completed problems, has been lost. When the problem is resolved you will need to restart
the exam and complete all problems again.
{% endblocktrans %}
{% endblocktrans %}
</p>
</p>
<hr>
<hr>
...
...
edx_proctoring/tests/test_api.py
View file @
4eeda948
...
@@ -126,7 +126,7 @@ class ProctoredExamApiTests(LoggedInTestCase):
...
@@ -126,7 +126,7 @@ class ProctoredExamApiTests(LoggedInTestCase):
self
.
timed_exam_expired
=
'The time allotted for this exam has expired.'
self
.
timed_exam_expired
=
'The time allotted for this exam has expired.'
self
.
submitted_timed_exam_msg_with_due_date
=
'After the due date has passed,'
self
.
submitted_timed_exam_msg_with_due_date
=
'After the due date has passed,'
self
.
exam_time_expired_msg
=
'You did not complete the exam in the allotted time'
self
.
exam_time_expired_msg
=
'You did not complete the exam in the allotted time'
self
.
exam_time_error_msg
=
'
There was a problem with your proctoring session
'
self
.
exam_time_error_msg
=
'
A technical error has occurred with your proctored exam
'
self
.
chose_proctored_exam_msg
=
'Follow these steps to set up and start your proctored exam'
self
.
chose_proctored_exam_msg
=
'Follow these steps to set up and start your proctored exam'
self
.
proctored_exam_optout_msg
=
'Take this exam as an open exam instead'
self
.
proctored_exam_optout_msg
=
'Take this exam as an open exam instead'
self
.
proctored_exam_completed_msg
=
'Are you sure you want to end your proctored exam'
self
.
proctored_exam_completed_msg
=
'Are you sure you want to end your proctored exam'
...
...
settings.py
View file @
4eeda948
...
@@ -93,3 +93,4 @@ PROCTORING_SETTINGS = {
...
@@ -93,3 +93,4 @@ PROCTORING_SETTINGS = {
DEFAULT_FROM_EMAIL
=
'no-reply@example.com'
DEFAULT_FROM_EMAIL
=
'no-reply@example.com'
CONTACT_EMAIL
=
'info@edx.org'
CONTACT_EMAIL
=
'info@edx.org'
TECH_SUPPORT_EMAIL
=
'technical@example.com'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment