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
edx
edx-proctoring
Commits
a4cf90f2
Commit
a4cf90f2
authored
Sep 03, 2015
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
we need to send as an HTML email
parent
d3fffc84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
edx_proctoring/api.py
+5
-3
setup.py
+1
-1
No files found.
edx_proctoring/api.py
View file @
a4cf90f2
...
@@ -701,7 +701,7 @@ def send_proctoring_attempt_status_email(exam_attempt_obj, course_name):
...
@@ -701,7 +701,7 @@ def send_proctoring_attempt_status_email(exam_attempt_obj, course_name):
'exam_name'
:
exam_attempt_obj
.
proctored_exam
.
exam_name
,
'exam_name'
:
exam_attempt_obj
.
proctored_exam
.
exam_name
,
'status'
:
ProctoredExamStudentAttemptStatus
.
get_status_alias
(
exam_attempt_obj
.
status
),
'status'
:
ProctoredExamStudentAttemptStatus
.
get_status_alias
(
exam_attempt_obj
.
status
),
'platform'
:
constants
.
PLATFORM_NAME
,
'platform'
:
constants
.
PLATFORM_NAME
,
'contact_email'
:
constants
.
CONTACT_EMAIL
'contact_email'
:
constants
.
CONTACT_EMAIL
,
})
})
)
)
...
@@ -712,12 +712,14 @@ def send_proctoring_attempt_status_email(exam_attempt_obj, course_name):
...
@@ -712,12 +712,14 @@ def send_proctoring_attempt_status_email(exam_attempt_obj, course_name):
)
)
)
)
EmailMessage
(
email
=
EmailMessage
(
body
=
body
,
body
=
body
,
from_email
=
constants
.
FROM_EMAIL
,
from_email
=
constants
.
FROM_EMAIL
,
to
=
[
exam_attempt_obj
.
user
.
email
],
to
=
[
exam_attempt_obj
.
user
.
email
],
subject
=
subject
subject
=
subject
)
.
send
()
)
email
.
content_subtype
=
"html"
email
.
send
()
def
remove_exam_attempt
(
attempt_id
):
def
remove_exam_attempt
(
attempt_id
):
...
...
setup.py
View file @
a4cf90f2
...
@@ -34,7 +34,7 @@ def load_requirements(*requirements_paths):
...
@@ -34,7 +34,7 @@ def load_requirements(*requirements_paths):
setup
(
setup
(
name
=
'edx-proctoring'
,
name
=
'edx-proctoring'
,
version
=
'0.8.
2
'
,
version
=
'0.8.
3
'
,
description
=
'Proctoring subsystem for Open edX'
,
description
=
'Proctoring subsystem for Open edX'
,
long_description
=
open
(
'README.md'
)
.
read
(),
long_description
=
open
(
'README.md'
)
.
read
(),
author
=
'edX'
,
author
=
'edX'
,
...
...
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