-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store VS assignments on the DB #3341
Store VS assignments on the DB #3341
Conversation
c68e341
to
cdb1992
Compare
422fae8
to
513d42c
Compare
513d42c
to
88c0c5d
Compare
@@ -235,7 +235,7 @@ export default function BasicLTILaunchApp() { | |||
} | |||
|
|||
// Don't report a submission until the URL has been successfully fetched. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how to rephrase this comment "... until the content has been configured"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest something like "Don't report a submission until we have the data needed to display the assignment content".
self.store_lti_data() | ||
self.context.js_config.maybe_enable_grading() | ||
self.context.js_config.add_vitalsource_launch_config( | ||
self.request.params["book_id"], self.request.params.get("cfi") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to send any params to SpeedGrader as we can read the information from the DB assignment.
@@ -186,13 +186,6 @@ def __call__(self, context, request): | |||
return ("canvas_file" in request.params) == self.value | |||
|
|||
|
|||
class VitalSourceBook(Base): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VitalSource assignments become regular DB-Configured ones.
88c0c5d
to
d6a3407
Compare
For #3329
Handles VitalSource assignments like any other type of assignment on Canvas.
Testing as #3126 but using VS assignments as well.