{"action":"closed","number":98,"pull_request":{"url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls/98","id":40166932,"html_url":"https://github.com/RCOS-Grading-Server/HWserver/pull/98","diff_url":"https://github.com/RCOS-Grading-Server/HWserver/pull/98.diff","patch_url":"https://github.com/RCOS-Grading-Server/HWserver/pull/98.patch","issue_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/98","number":98,"state":"closed","locked":false,"title":"Content display","user":{"login":"MarinaEspinoza","id":8645119,"avatar_url":"https://avatars.githubusercontent.com/u/8645119?v=3","gravatar_id":"","url":"https://api.github.com/users/MarinaEspinoza","html_url":"https://github.com/MarinaEspinoza","followers_url":"https://api.github.com/users/MarinaEspinoza/followers","following_url":"https://api.github.com/users/MarinaEspinoza/following{/other_user}","gists_url":"https://api.github.com/users/MarinaEspinoza/gists{/gist_id}","starred_url":"https://api.github.com/users/MarinaEspinoza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarinaEspinoza/subscriptions","organizations_url":"https://api.github.com/users/MarinaEspinoza/orgs","repos_url":"https://api.github.com/users/MarinaEspinoza/repos","events_url":"https://api.github.com/users/MarinaEspinoza/events{/privacy}","received_events_url":"https://api.github.com/users/MarinaEspinoza/received_events","type":"User","site_admin":false},"body":"Created a pop-up viewer for submitted files. \r\nTo use this feature, go to the class.json file for any course, add a new variable labeled \"files_to_view\" in an assignment, and then assign it to an array of wildcard patterns that matches the files you want others to view. Sorry if my wording is a bit off, here's an example:\r\n````\r\n     \"assignments\": [\r\n        {\r\n            \"assignment_id\":\"hw1\",\r\n            \"assignment_name\":\"Homework 1\",\r\n            \"released\":false,\r\n            \"ta_grade_released\":false,\r\n            \"files_to_view\":[ \"*.cpp\" , \"*.txt\" ]\r\n        },\r\n````\r\nSo in this example, only files that end with .txt or .cpp can be displayed with its contents. Under \"Submitted Files\" box, a button called \"View\" should appear to the right of the file name. ","created_at":"2015-07-16T19:36:05Z","updated_at":"2015-07-16T21:59:52Z","closed_at":"2015-07-16T21:59:52Z","merged_at":"2015-07-16T21:59:52Z","merge_commit_sha":"2df25c9b4a756d6e8bd1cf096566a9739bd3fa5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls/98/commits","review_comments_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls/98/comments","review_comment_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/98/comments","statuses_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/statuses/6ad9e6085a613a2c5f62a41167dd3d1ff488f4c7","head":{"label":"RCOS-Grading-Server:content_display","ref":"content_display","sha":"6ad9e6085a613a2c5f62a41167dd3d1ff488f4c7","user":{"login":"RCOS-Grading-Server","id":10768785,"avatar_url":"https://avatars.githubusercontent.com/u/10768785?v=3","gravatar_id":"","url":"https://api.github.com/users/RCOS-Grading-Server","html_url":"https://github.com/RCOS-Grading-Server","followers_url":"https://api.github.com/users/RCOS-Grading-Server/followers","following_url":"https://api.github.com/users/RCOS-Grading-Server/following{/other_user}","gists_url":"https://api.github.com/users/RCOS-Grading-Server/gists{/gist_id}","starred_url":"https://api.github.com/users/RCOS-Grading-Server/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RCOS-Grading-Server/subscriptions","organizations_url":"https://api.github.com/users/RCOS-Grading-Server/orgs","repos_url":"https://api.github.com/users/RCOS-Grading-Server/repos","events_url":"https://api.github.com/users/RCOS-Grading-Server/events{/privacy}","received_events_url":"https://api.github.com/users/RCOS-Grading-Server/received_events","type":"Organization","site_admin":false},"repo":{"id":16236118,"name":"HWserver","full_name":"RCOS-Grading-Server/HWserver","owner":{"login":"RCOS-Grading-Server","id":10768785,"avatar_url":"https://avatars.githubusercontent.com/u/10768785?v=3","gravatar_id":"","url":"https://api.github.com/users/RCOS-Grading-Server","html_url":"https://github.com/RCOS-Grading-Server","followers_url":"https://api.github.com/users/RCOS-Grading-Server/followers","following_url":"https://api.github.com/users/RCOS-Grading-Server/following{/other_user}","gists_url":"https://api.github.com/users/RCOS-Grading-Server/gists{/gist_id}","starred_url":"https://api.github.com/users/RCOS-Grading-Server/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RCOS-Grading-Server/subscriptions","organizations_url":"https://api.github.com/users/RCOS-Grading-Server/orgs","repos_url":"https://api.github.com/users/RCOS-Grading-Server/repos","events_url":"https://api.github.com/users/RCOS-Grading-Server/events{/privacy}","received_events_url":"https://api.github.com/users/RCOS-Grading-Server/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RCOS-Grading-Server/HWserver","description":"A suite of UX and autograding changes to the homework server used at RPI.","fork":false,"url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver","forks_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/forks","keys_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/teams","hooks_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/hooks","issue_events_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/events{/number}","events_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/events","assignees_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/assignees{/user}","branches_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/branches{/branch}","tags_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/tags","blobs_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/statuses/{sha}","languages_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/languages","stargazers_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/stargazers","contributors_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/contributors","subscribers_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/subscribers","subscription_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/subscription","commits_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/contents/{+path}","compare_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/merges","archive_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/downloads","issues_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues{/number}","pulls_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls{/number}","milestones_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/milestones{/number}","notifications_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/labels{/name}","releases_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/releases{/id}","created_at":"2014-01-25T17:43:57Z","updated_at":"2015-05-28T19:14:20Z","pushed_at":"2015-07-16T21:59:52Z","git_url":"git://github.com/RCOS-Grading-Server/HWserver.git","ssh_url":"git@github.com:RCOS-Grading-Server/HWserver.git","clone_url":"https://github.com/RCOS-Grading-Server/HWserver.git","svn_url":"https://github.com/RCOS-Grading-Server/HWserver","homepage":"","size":6826,"stargazers_count":8,"watchers_count":8,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":23,"forks":3,"open_issues":23,"watchers":8,"default_branch":"master"}},"base":{"label":"RCOS-Grading-Server:master","ref":"master","sha":"03eaefa0a6deee1aadbfebabacb9ffc93ae2f591","user":{"login":"RCOS-Grading-Server","id":10768785,"avatar_url":"https://avatars.githubusercontent.com/u/10768785?v=3","gravatar_id":"","url":"https://api.github.com/users/RCOS-Grading-Server","html_url":"https://github.com/RCOS-Grading-Server","followers_url":"https://api.github.com/users/RCOS-Grading-Server/followers","following_url":"https://api.github.com/users/RCOS-Grading-Server/following{/other_user}","gists_url":"https://api.github.com/users/RCOS-Grading-Server/gists{/gist_id}","starred_url":"https://api.github.com/users/RCOS-Grading-Server/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RCOS-Grading-Server/subscriptions","organizations_url":"https://api.github.com/users/RCOS-Grading-Server/orgs","repos_url":"https://api.github.com/users/RCOS-Grading-Server/repos","events_url":"https://api.github.com/users/RCOS-Grading-Server/events{/privacy}","received_events_url":"https://api.github.com/users/RCOS-Grading-Server/received_events","type":"Organization","site_admin":false},"repo":{"id":16236118,"name":"HWserver","full_name":"RCOS-Grading-Server/HWserver","owner":{"login":"RCOS-Grading-Server","id":10768785,"avatar_url":"https://avatars.githubusercontent.com/u/10768785?v=3","gravatar_id":"","url":"https://api.github.com/users/RCOS-Grading-Server","html_url":"https://github.com/RCOS-Grading-Server","followers_url":"https://api.github.com/users/RCOS-Grading-Server/followers","following_url":"https://api.github.com/users/RCOS-Grading-Server/following{/other_user}","gists_url":"https://api.github.com/users/RCOS-Grading-Server/gists{/gist_id}","starred_url":"https://api.github.com/users/RCOS-Grading-Server/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RCOS-Grading-Server/subscriptions","organizations_url":"https://api.github.com/users/RCOS-Grading-Server/orgs","repos_url":"https://api.github.com/users/RCOS-Grading-Server/repos","events_url":"https://api.github.com/users/RCOS-Grading-Server/events{/privacy}","received_events_url":"https://api.github.com/users/RCOS-Grading-Server/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RCOS-Grading-Server/HWserver","description":"A suite of UX and autograding changes to the homework server used at RPI.","fork":false,"url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver","forks_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/forks","keys_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/teams","hooks_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/hooks","issue_events_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/events{/number}","events_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/events","assignees_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/assignees{/user}","branches_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/branches{/branch}","tags_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/tags","blobs_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/statuses/{sha}","languages_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/languages","stargazers_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/stargazers","contributors_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/contributors","subscribers_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/subscribers","subscription_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/subscription","commits_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/contents/{+path}","compare_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/merges","archive_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/downloads","issues_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues{/number}","pulls_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls{/number}","milestones_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/milestones{/number}","notifications_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/labels{/name}","releases_url":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/releases{/id}","created_at":"2014-01-25T17:43:57Z","updated_at":"2015-05-28T19:14:20Z","pushed_at":"2015-07-16T21:59:52Z","git_url":"git://github.com/RCOS-Grading-Server/HWserver.git","ssh_url":"git@github.com:RCOS-Grading-Server/HWserver.git","clone_url":"https://github.com/RCOS-Grading-Server/HWserver.git","svn_url":"https://github.com/RCOS-Grading-Server/HWserver","homepage":"","size":6826,"stargazers_count":8,"watchers_count":8,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":23,"forks":3,"open_issues":23,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls/98"},"html":{"href":"https://github.com/RCOS-Grading-Server/HWserver/pull/98"},"issue":{"href":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/98"},"comments":{"href":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/RCOS-Grading-Server/HWserver/statuses/6ad9e6085a613a2c5f62a41167dd3d1ff488f4c7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bmcutler","id":5871417,"avatar_url":"https://avatars.githubusercontent.com/u/5871417?v=3","gravatar_id":"","url":"https://api.github.com/users/bmcutler","html_url":"https://github.com/bmcutler","followers_url":"https://api.github.com/users/bmcutler/followers","following_url":"https://api.github.com/users/bmcutler/following{/other_user}","gists_url":"https://api.github.com/users/bmcutler/gists{/gist_id}","starred_url":"https://api.github.com/users/bmcutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmcutler/subscriptions","organizations_url":"https://api.github.com/users/bmcutler/orgs","repos_url":"https://api.github.com/users/bmcutler/repos","events_url":"https://api.github.com/users/bmcutler/events{/privacy}","received_events_url":"https://api.github.com/users/bmcutler/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":195,"deletions":43,"changed_files":6}}