-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: Added Canvas support #274
Conversation
fb120f9
to
a6e73aa
Compare
ea7c10d
to
7a68882
Compare
3a1c1af
to
66c92ec
Compare
53023a0
to
5b8acfc
Compare
@gsidebo This also requires your review if possible, This is the corresponding PR for |
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.
One comment in addition to the docstring code comment: this PR does not appear to be "removing Remote gradebook & canvas_integration Django apps". Given the branch you're merging into, it's not removing anything. It's just adding Canvas support. If that sounds right to you, can you change your commit message and the title of this PR to something like "Added Canvas plugin support"?
Once that's done, feel free to merge! 👍
@@ -68,6 +69,34 @@ def get_running_instructor_tasks(course_id): | |||
return instructor_tasks.order_by('-id') | |||
|
|||
|
|||
def _get_filtered_instructor_tasks(course_id, user, task_types): | |||
""" | |||
Returns a filtered query of InstructorTask to use for listing canvas tasks |
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.
This was probably moved over directly, but this docstring isn't really accurate
Returns a filtered query of InstructorTask to use for listing canvas tasks | |
Returns a filtered query of InstructorTasks based on the course, user, and desired task types |
97f4138
to
4df12f4
Compare
4df12f4
to
97a51d2
Compare
Related Ticket:
mitodl/open-edx-plugins#6
Side Note 1: Once this PR is merged we'll be adding only that code which would be part of this PR(and probably future cherry-picks) instead of this whole chunk
What's this PR do?
remote_gradebook
and its dependenciescanvas_integration
into a separate plugincanvas_integration
plugin supporting counterpart(Mostly instructor functionality that the canvas depended upon)How to test?
This might need a counterpart a plugin to completely test. The counterpart to test this PR with is currently a WIP (mitodl/open-edx-plugins#8). Once that PR is finalized we can test this one:
/src
dir & then move tomake lms-shell
& thenpip install /edx/src/dist/<plugin>
) OR any other way suitablemake dev.provision.lms
/make lms-restart
Canvas
tab under the instructor tabCanvas
tab should enable you to test the canvas functionality