{"action":"created","issue":{"url":"https://api.github.com/repos/UM-USElab/gradecraft-development/issues/2194","repository_url":"https://api.github.com/repos/UM-USElab/gradecraft-development","labels_url":"https://api.github.com/repos/UM-USElab/gradecraft-development/issues/2194/labels{/name}","comments_url":"https://api.github.com/repos/UM-USElab/gradecraft-development/issues/2194/comments","events_url":"https://api.github.com/repos/UM-USElab/gradecraft-development/issues/2194/events","html_url":"https://github.com/UM-USElab/gradecraft-development/pull/2194","id":164163820,"number":2194,"title":"2080 list canvas assignments","user":{"login":"jwright","id":35017,"avatar_url":"https://avatars.githubusercontent.com/u/35017?v=3","gravatar_id":"","url":"https://api.github.com/users/jwright","html_url":"https://github.com/jwright","followers_url":"https://api.github.com/users/jwright/followers","following_url":"https://api.github.com/users/jwright/following{/other_user}","gists_url":"https://api.github.com/users/jwright/gists{/gist_id}","starred_url":"https://api.github.com/users/jwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwright/subscriptions","organizations_url":"https://api.github.com/users/jwright/orgs","repos_url":"https://api.github.com/users/jwright/repos","events_url":"https://api.github.com/users/jwright/events{/privacy}","received_events_url":"https://api.github.com/users/jwright/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UM-USElab/gradecraft-development/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/UM-USElab/gradecraft-development/labels/needs%20review","name":"needs review","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"jwright","id":35017,"avatar_url":"https://avatars.githubusercontent.com/u/35017?v=3","gravatar_id":"","url":"https://api.github.com/users/jwright","html_url":"https://github.com/jwright","followers_url":"https://api.github.com/users/jwright/followers","following_url":"https://api.github.com/users/jwright/following{/other_user}","gists_url":"https://api.github.com/users/jwright/gists{/gist_id}","starred_url":"https://api.github.com/users/jwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwright/subscriptions","organizations_url":"https://api.github.com/users/jwright/orgs","repos_url":"https://api.github.com/users/jwright/repos","events_url":"https://api.github.com/users/jwright/events{/privacy}","received_events_url":"https://api.github.com/users/jwright/received_events","type":"User","site_admin":false},"assignees":[{"login":"jwright","id":35017,"avatar_url":"https://avatars.githubusercontent.com/u/35017?v=3","gravatar_id":"","url":"https://api.github.com/users/jwright","html_url":"https://github.com/jwright","followers_url":"https://api.github.com/users/jwright/followers","following_url":"https://api.github.com/users/jwright/following{/other_user}","gists_url":"https://api.github.com/users/jwright/gists{/gist_id}","starred_url":"https://api.github.com/users/jwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwright/subscriptions","organizations_url":"https://api.github.com/users/jwright/orgs","repos_url":"https://api.github.com/users/jwright/repos","events_url":"https://api.github.com/users/jwright/events{/privacy}","received_events_url":"https://api.github.com/users/jwright/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-07-06T20:15:55Z","updated_at":"2016-07-07T18:47:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/UM-USElab/gradecraft-development/pulls/2194","html_url":"https://github.com/UM-USElab/gradecraft-development/pull/2194","diff_url":"https://github.com/UM-USElab/gradecraft-development/pull/2194.diff","patch_url":"https://github.com/UM-USElab/gradecraft-development/pull/2194.patch"},"body":"Lists assignments from the [Canvas API](https://www.canvaslms.com) based on an access token provided in an environment variable.\r\n\r\nThe ability to OAuth for multiple users will be implemented in the next story #2170 and the ability to import these assignments from Canvas will be implemented in a following story #2171.\r\n\r\nThe flow is as follows:\r\n\r\nA staff member visits `/courses` and there is now an \"Import Courses\" on the button bar.\r\n\r\n<img width=\"1244\" alt=\"screen shot 2016-07-06 at 4 08 11 pm\" src=\"https://cloud.githubusercontent.com/assets/35017/16632917/96a87f04-4394-11e6-9a34-60edacf510f4.png\">\r\n\r\nOnce on the `/courses/import`, the user can select the provider. For now, we only provide Canvas.\r\n\r\n<img width=\"1233\" alt=\"screen shot 2016-07-06 at 4 09 45 pm\" src=\"https://cloud.githubusercontent.com/assets/35017/16632918/96a9bdba-4394-11e6-897a-de2cf9c488e0.png\">\r\n\r\nOnce on the `/courses/import/canvas` page, the user can view a list of courses they have access to in Canvas.\r\n\r\n<img width=\"1231\" alt=\"screen shot 2016-07-06 at 4 11 15 pm\" src=\"https://cloud.githubusercontent.com/assets/35017/16632922/a25dd826-4394-11e6-9ae2-17fb3276bcbc.png\">\r\n\r\nOnce the user selects \"Select Assignments to Import\", they will view a list of assignments available for the selected course.\r\n\r\n<img width=\"1242\" alt=\"screen shot 2016-07-06 at 4 11 47 pm\" src=\"https://cloud.githubusercontent.com/assets/35017/16632925/a7559f62-4394-11e6-8e0c-0241265dd81b.png\">\r\n\r\nTo get this to work for your specific canvas install, you can visit http://umich.instructure.com, sign in, and create a temporary access token. You can then update the environment variable `ENV[\"CANVAS_ACCESS_TOKEN\"]`.\r\n\r\nCloses #2080 "},"comment":{"url":"https://api.github.com/repos/UM-USElab/gradecraft-development/issues/comments/231171388","html_url":"https://github.com/UM-USElab/gradecraft-development/pull/2194#issuecomment-231171388","issue_url":"https://api.github.com/repos/UM-USElab/gradecraft-development/issues/2194","id":231171388,"user":{"login":"jwright","id":35017,"avatar_url":"https://avatars.githubusercontent.com/u/35017?v=3","gravatar_id":"","url":"https://api.github.com/users/jwright","html_url":"https://github.com/jwright","followers_url":"https://api.github.com/users/jwright/followers","following_url":"https://api.github.com/users/jwright/following{/other_user}","gists_url":"https://api.github.com/users/jwright/gists{/gist_id}","starred_url":"https://api.github.com/users/jwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwright/subscriptions","organizations_url":"https://api.github.com/users/jwright/orgs","repos_url":"https://api.github.com/users/jwright/repos","events_url":"https://api.github.com/users/jwright/events{/privacy}","received_events_url":"https://api.github.com/users/jwright/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T18:47:41Z","updated_at":"2016-07-07T18:47:41Z","body":"@acousticrobot I really like `importers` instead of `import`. I will change it then."}}
{"actor":{"display_login":"jwright"}}