closes EVAL-3897
flag=none
Adds the include_concluded, include_deactivated, and
apply_gradebook_enrollment_filters filters to the submissionsConnection.
These filters allow for submissions belonging to concluded/deactivated
students to be returned.
Test Plan:
- specs pass
Change-Id: Ie6b6fa213a2d31d3c60fef5ce75c28bb6107b295
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337515
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Spencer Olson <solson@instructure.com>
Product-Review: Cameron Ray <cameron.ray@instructure.com>
the user_search required 3 characters, however the grade summary
needs to be able to query ids that have less than 3 characters
flag=restrict_quantitative_data
refs VICE-3566
Test Plan
1. Create a course with a student
2. Verify that as a teacher you can look up the student's submissions
3. User graphiql and the user_id filter
Change-Id: I5676c72e4e3351404251d1c815d4f5e11ed4f607
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/321045
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com>
Product-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
refs VICE-3566
flag=restrict_quantitative_data
Test Plan
1. Create a course with an observer and student
2. Link the observer to the student
3. Verify that as the observer you can see the student's submissions
3a use graphiql to test this
Change-Id: Iecd133f3e492e9f566792cae221f187ccf6e36d5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/321019
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com>
Product-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
test plan:
* should not throw a 500 error viewing an assignment
as an invited user
closes #WOKE-42
Change-Id: I5da5cc1203680ad580dc93490b399cb46d9da396
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/217052
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
Test plan:
* create a course with multiple sections and section-limited teachers
* make submissions for students on an assignment
* conclude a student's enrollment
* when querying the assignment's submissionConnection:
* only students belonging to the same section as the teacher should
be returned
* submissions belonging to concluded enrollments should not be
returned
closes GQL-86
flag = none
Change-Id: Ie5244e368644b9ad6e3357d9e0f3e2bec8898a54
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/216038
Reviewed-by: Marc Phillips <mphillips@instructure.com>
QA-Review: Cameron Matheson <cameron@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
Tested-by: Jenkins
refs: MBL-12809
Test Plan:
- Create an assignment with a submission that needs grading, and
a submission that is already graded
- request submissions for the assignment through gql using the
gradingStatus filter for needs_grading
- It should return the submission requiring grading and
not the other one
Change-Id: I2ac6b7e95819122d085898255a352a002aefa9f7
Reviewed-on: https://gerrit.instructure.com/202156
Tested-by: Jenkins
Reviewed-by: Cameron Matheson <cameron@instructure.com>
QA-Review: Matt Sessions <msessions@instructure.com>
Product-Review: Matt Sessions <msessions@instructure.com>
Test Plan:
- late, missing and gradeMatchesCurrentSubmission should all be
available on a submission in graphql
- Filtering the submission connection by late should work in graphql
Change-Id: I603b81964ad57833009e741f47cca1023eac370e
refs: MBL-12809
Reviewed-on: https://gerrit.instructure.com/201349
Tested-by: Jenkins
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
QA-Review: Matt Sessions <msessions@instructure.com>
Product-Review: Matt Sessions <msessions@instructure.com>
This adds a bunch of search options to the assignment
submissionsConnection in graphql. Not all of the potentially needed
orders and filters are implemented, but this gets the basic concept and
the simple stuff implemented.
closes ADMIN-2324
test plan:
- go to the graphiql interface and query an assignment and its
submissionsConnection. You should see a bunch of options in the filter
input of the submissionsConnection.
- try out all the filters and orders and see that you get the results
that you'd expect
car
Change-Id: I541e333dc544f2258c9c2359124bac0d24277abc
Reviewed-on: https://gerrit.instructure.com/184727
Tested-by: Jenkins
QA-Review: Carl Kibler <ckibler@instructure.com>
Product-Review: Jon Willesen <jonw+gerrit@instructure.com>
Reviewed-by: Carl Kibler <ckibler@instructure.com>