{"action":"created","issue":{"url":"https://api.github.com/repos/MarkUsProject/Markus/issues/3130","repository_url":"https://api.github.com/repos/MarkUsProject/Markus","labels_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/3130/labels{/name}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/3130/comments","events_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/3130/events","html_url":"https://github.com/MarkUsProject/Markus/pull/3130","id":242792195,"number":3130,"title":"Saved with raw page number in title (in error/raw directory)","user":{"login":"jenachoi","id":14116152,"avatar_url":"https://avatars4.githubusercontent.com/u/14116152?v=4","gravatar_id":"","url":"https://api.github.com/users/jenachoi","html_url":"https://github.com/jenachoi","followers_url":"https://api.github.com/users/jenachoi/followers","following_url":"https://api.github.com/users/jenachoi/following{/other_user}","gists_url":"https://api.github.com/users/jenachoi/gists{/gist_id}","starred_url":"https://api.github.com/users/jenachoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenachoi/subscriptions","organizations_url":"https://api.github.com/users/jenachoi/orgs","repos_url":"https://api.github.com/users/jenachoi/repos","events_url":"https://api.github.com/users/jenachoi/events{/privacy}","received_events_url":"https://api.github.com/users/jenachoi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-13T18:36:18Z","updated_at":"2017-07-14T18:41:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/3130","html_url":"https://github.com/MarkUsProject/Markus/pull/3130","diff_url":"https://github.com/MarkUsProject/Markus/pull/3130.diff","patch_url":"https://github.com/MarkUsProject/Markus/pull/3130.patch"},"body":"Modified it so that filenames saved into `error` and `raw` directory to have raw page number of the uploaded file instead, (e.g. **40** from `midterm1_scanned_sample-40.pdf`) because we need ways to handle the case when uploaded file consists of **multiple exam versions** and situation as in line **108-109** happens. \r\n\r\nWhen I uploaded `midterm1_scanned_sample.pdf` from `db/data/scanned_exams` twice to split them, only `midterm1_scanned_sample-1.pdf` ~ `midterm1_scanned_sample-8.pdf` were saved in error directory because of the overlaps in page number. Now, it saves `midterm1_scanned_sample-1.pdf` ~ `midterm1_scanned_sample-40.pdf` in the directory."},"comment":{"url":"https://api.github.com/repos/MarkUsProject/Markus/issues/comments/315436034","html_url":"https://github.com/MarkUsProject/Markus/pull/3130#issuecomment-315436034","issue_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/3130","id":315436034,"user":{"login":"jenachoi","id":14116152,"avatar_url":"https://avatars4.githubusercontent.com/u/14116152?v=4","gravatar_id":"","url":"https://api.github.com/users/jenachoi","html_url":"https://github.com/jenachoi","followers_url":"https://api.github.com/users/jenachoi/followers","following_url":"https://api.github.com/users/jenachoi/following{/other_user}","gists_url":"https://api.github.com/users/jenachoi/gists{/gist_id}","starred_url":"https://api.github.com/users/jenachoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenachoi/subscriptions","organizations_url":"https://api.github.com/users/jenachoi/orgs","repos_url":"https://api.github.com/users/jenachoi/repos","events_url":"https://api.github.com/users/jenachoi/events{/privacy}","received_events_url":"https://api.github.com/users/jenachoi/received_events","type":"User","site_admin":false},"created_at":"2017-07-14T18:41:32Z","updated_at":"2017-07-14T18:41:32Z","body":"still working on it"}}
{"actor":{"display_login":"jenachoi"}}