closes RECNVS-82
Test Plan:
- verify that an assignments state (workflow_state) can be accessed
using the `state` field
Change-Id: I3d25a50b47e11789e6622bf722042f1959e08be7
Reviewed-on: https://gerrit.instructure.com/133992
Tested-by: Jenkins
Reviewed-by: Cameron Matheson <cameron@instructure.com>
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Michael Jasper <mjasper@instructure.com>
closes RECNVS-26
Test plan:
- create a course with an assignment
- verify that you can access an assignment's parent course (context)
through that assignment
Change-Id: I3ed26e8ee2277742d3c9d79c4b9478544549134b
Reviewed-on: https://gerrit.instructure.com/133510
Tested-by: Jenkins
Reviewed-by: Cameron Matheson <cameron@instructure.com>
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Michael Jasper <mjasper@instructure.com>
closes RECNVS-29
Test Plan:
- Create an assignment with submissions
- verify that you can view submissions through Assignments using
the submissionsConnection
- Verify that you cannot access submissions when logged in as a
user who does not have permission to view them
Change-Id: I5a944fd1dce718d73e8af301a949cadc18db8727
Reviewed-on: https://gerrit.instructure.com/133176
Reviewed-by: Cameron Matheson <cameron@instructure.com>
QA-Review: Collin Parrish <cparrish@instructure.com>
Tested-by: Jenkins
Product-Review: Michael Jasper <mjasper@instructure.com>
Closes RECNVS-28
Test Plan:
- Create a quiz (legacy) and verify that you can access the quiz
ID through the quiz field on an Assignment through GraphQL
- Create a graded discussion and verify that you can access the
discussion ID through the discussion field on an Assignment
through GraphQL
Change-Id: Ifb6d812d0f48d9c5088735b4df656abfe361ffb1
Reviewed-on: https://gerrit.instructure.com/133078
Reviewed-by: Cameron Matheson <cameron@instructure.com>
Tested-by: Jenkins
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Michael Jasper <mjasper@instructure.com>
closes RECNVS-55
test plan
- verify that courses contain field assignment groups
- verify that assignment groups contain name, rules,
groupWeight, position, and workflowState
Change-Id: I103fb85d051b9faaf541a69a668eefea505e56cf
Reviewed-on: https://gerrit.instructure.com/129216
QA-Review: Collin Parrish <cparrish@instructure.com>
Reviewed-by: Cameron Matheson <cameron@instructure.com>
Tested-by: Jenkins
Product-Review: Michael Jasper <mjasper@instructure.com>
refactor rest api for submissions to use same logic and param names
closes CNVS-39777
test plan
- verify that `submissionStatus` and `gradingStatus` are
available on a submission type query in GraphQL
- verify that the fields `submission_status` and
`grading_status` are available on the REST enpoint for
submissions by using the params
`?include[]=submission_status&include[]=grading_status`
Change-Id: I6bcfdacc9e868b824d2c00082fdd52310c4869d0
Reviewed-on: https://gerrit.instructure.com/128714
Tested-by: Jenkins
Reviewed-by: Cameron Matheson <cameron@instructure.com>
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Michael Jasper <mjasper@instructure.com>
closes CNVS-39439
test plan:
- query the graphql api for assignments, courses, enrollments,
grading periods, sections, submissions, and users
- ensure that each type contains the fields `createdAt` and `updatedAt`
Change-Id: I9a2016d4a9bf3b4a6ec4e21c82a91fd9e43ddad2
Reviewed-on: https://gerrit.instructure.com/127033
Tested-by: Jenkins
Reviewed-by: Cameron Matheson <cameron@instructure.com>
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Michael Jasper <mjasper@instructure.com>
Test plan:
get the url for assignments using the graphql api
Change-Id: Ia195782286b9b3e0f58e7a21667eb6f24112deef
Reviewed-on: https://gerrit.instructure.com/125816
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
Tested-by: Jenkins
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
closes CNVS-39141
Test plan:
use the graphql api to fetch grades on enrollments in a course that
doesn't have grading periods
Change-Id: Ia0172670763e628bff72413c910617b4df9cbdc8
Reviewed-on: https://gerrit.instructure.com/125405
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
Tested-by: Jenkins
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
refs CNVS-37582, refs CNVS-37583
Test plan:
querying for a users summaryAnalytics should return null (the real
implementation is provided by the analytics plugin)
Change-Id: I6fb746ac0ed5b1ca6192e6b814eab0bf112bef9b
Reviewed-on: https://gerrit.instructure.com/123216
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
Tested-by: Jenkins
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
closes CNVS-37581
Test plan: list the submissions in a course (make sure to test the
studentIds and orderBy params)
Change-Id: Ica59cb08981ce37fb7e61e83fe891edda73a0b40
Reviewed-on: https://gerrit.instructure.com/121084
Tested-by: Jenkins
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
closes CNVS-37580
Test plan: get grades using the graphql api
Change-Id: Ic878ffb7356cd1e1ec6d3f3c90265900ca8a4e6d
Reviewed-on: https://gerrit.instructure.com/119975
Tested-by: Jenkins
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
closes CNVS-37579
Test plan:
* fetch grading periods for a course with the graphql api
Change-Id: I4c5afa186a31fdb7c303131f92a65d0a2b1ffaeb
Reviewed-on: https://gerrit.instructure.com/119374
Tested-by: Jenkins
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
closes CNVS-37185
Test plan:
* use graphql to query for users
* make sure you can't load users you don't have permission to see
Change-Id: I8d4a98c96cc6e718afc35df7852f28a3b8a1e755
Reviewed-on: https://gerrit.instructure.com/114972
Tested-by: Jenkins
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
closes CNVS-37182
Test plan:
* use the graphql api to view the sections in a course
Change-Id: I700ca1d401122932cefd62f8d3526be996b12750
Reviewed-on: https://gerrit.instructure.com/114965
Tested-by: Jenkins
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
closes CNVS-37180
Test plan:
* load a course and/or assignment with the new legacyNode field
{
legacyNode(type: Assignment, _id: 1234) {
... on Assignment {
id
_id
name
}
}
}
Change-Id: Iced9eaadd178458f0519c54509f60bd2c9b5832c
Reviewed-on: https://gerrit.instructure.com/113543
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
Tested-by: Jenkins
QA-Review: Collin Parrish <cparrish@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
DO NOT USE THIS YET. It is beautiful, but unready.
Test plan:
1. enable graphql feature flag
1. go to /graphiql
2. shed tears of joy
closes CNVS-37001, CNVS-37004
Change-Id: I94ae9c452fe987efcc5e88659ca9c932c280097e
Reviewed-on: https://gerrit.instructure.com/112867
Tested-by: Jenkins
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
QA-Review: Jonathan Featherstone <jfeatherstone@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>