{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/power10dan/tldrResearchPaper/pulls/27","id":151446278,"html_url":"https://github.com/power10dan/tldrResearchPaper/pull/27","diff_url":"https://github.com/power10dan/tldrResearchPaper/pull/27.diff","patch_url":"https://github.com/power10dan/tldrResearchPaper/pull/27.patch","issue_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/issues/27","number":27,"state":"open","locked":false,"title":"Redux/React front end Upload File","user":{"login":"doyougnu","id":7284712,"avatar_url":"https://avatars0.githubusercontent.com/u/7284712?v=4","gravatar_id":"","url":"https://api.github.com/users/doyougnu","html_url":"https://github.com/doyougnu","followers_url":"https://api.github.com/users/doyougnu/followers","following_url":"https://api.github.com/users/doyougnu/following{/other_user}","gists_url":"https://api.github.com/users/doyougnu/gists{/gist_id}","starred_url":"https://api.github.com/users/doyougnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doyougnu/subscriptions","organizations_url":"https://api.github.com/users/doyougnu/orgs","repos_url":"https://api.github.com/users/doyougnu/repos","events_url":"https://api.github.com/users/doyougnu/events{/privacy}","received_events_url":"https://api.github.com/users/doyougnu/received_events","type":"User","site_admin":false},"body":"# What does this PR do\r\nThis PR adds working upload file calls to the backend server via react and redux. It also implements a lot of quality of life changes: non-logged in users are unable to access the uploadFile and about buttons, the app will successfully display error messages received from the server as well.\r\n\r\n# How to test\r\nThe only real way to test this PR is going to be to load up GROBID, load up Django, and load our front end and then do the following:\r\n1) Create a new user, this should automatically log you in\r\n2) Click Upload File\r\n3) Upload a FIle and observe the output of each\r\n\r\nHere is the output from my machine:\r\nDjango:\r\n```\r\nPerforming system checks...\r\n\r\nSystem check identified no issues (0 silenced).\r\nNovember 08, 2017 - 17:12:24\r\nDjango version 1.11.5, using settings 'uploads.settings.settings_dev'\r\nStarting development server at http://127.0.0.1:8000/\r\nQuit the server with CONTROL-C.\r\n[08/Nov/2017 17:12:42] \"OPTIONS /rest-auth/registration/ HTTP/1.1\" 200 0\r\n[08/Nov/2017 17:12:42] \"POST /rest-auth/registration/ HTTP/1.1\" 201 50\r\n[08/Nov/2017 17:12:42] \"OPTIONS /login/ HTTP/1.1\" 200 0\r\n[08/Nov/2017 17:12:42] \"POST /login/ HTTP/1.1\" 200 173\r\n[08/Nov/2017 17:12:51] \"OPTIONS /api/uploadFile/Applicative.pdf HTTP/1.1\" 200 0\r\nGrobid Working\r\nGrobid Finished\r\n[08/Nov/2017 17:13:35] \"POST /api/uploadFile/Applicative.pdf HTTP/1.1\" 204 0\r\n```\r\n\r\nGROBID:\r\n```\r\nSLF4J: Class path contains multiple SLF4J bindings.\r\nSLF4J: Found binding in [jar:file:/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/AppBackEnd/lib/grobid-core-0.4.4-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]\r\nSLF4J: Found binding in [jar:file:/home/doyougnu/.m2/repository/org/slf4j/slf4j-log4j12/1.6.6/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]\r\nSLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.\r\nSLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/fulltext/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/fulltext/model.wapiti\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/segmentation/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/segmentation/model.wapiti\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/figure/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/figure/model.wapiti\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/header/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/header/model.wapiti\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/name/header/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/name/header/model.wapiti\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/name/citation/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/name/citation/model.wapiti\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/affiliation-address/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/affiliation-address/model.wapiti\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/citation/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/citation/model.wapiti\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/reference-segmenter/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/reference-segmenter/model.wapiti\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/date/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/date/model.wapiti\r\n[Wapiti] Loading model: \"/home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/table/model.wapiti\"\r\nModel path: /home/doyougnu/School_Files/Hoops_17-18/Fall/SE/tldrResearchPaper/grobid-grobid-parent-0.4.4/grobid-home/models/table/model.wapiti\r\n```","created_at":"2017-11-08T17:28:44Z","updated_at":"2017-11-08T17:28:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/pulls/27/commits","review_comments_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/pulls/27/comments","review_comment_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/issues/27/comments","statuses_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/statuses/252594932a7ded4e1b8fd6cc0740aacabfd8fb48","head":{"label":"power10dan:toRedux","ref":"toRedux","sha":"252594932a7ded4e1b8fd6cc0740aacabfd8fb48","user":{"login":"power10dan","id":6438716,"avatar_url":"https://avatars1.githubusercontent.com/u/6438716?v=4","gravatar_id":"","url":"https://api.github.com/users/power10dan","html_url":"https://github.com/power10dan","followers_url":"https://api.github.com/users/power10dan/followers","following_url":"https://api.github.com/users/power10dan/following{/other_user}","gists_url":"https://api.github.com/users/power10dan/gists{/gist_id}","starred_url":"https://api.github.com/users/power10dan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/power10dan/subscriptions","organizations_url":"https://api.github.com/users/power10dan/orgs","repos_url":"https://api.github.com/users/power10dan/repos","events_url":"https://api.github.com/users/power10dan/events{/privacy}","received_events_url":"https://api.github.com/users/power10dan/received_events","type":"User","site_admin":false},"repo":{"id":104799346,"name":"tldrResearchPaper","full_name":"power10dan/tldrResearchPaper","owner":{"login":"power10dan","id":6438716,"avatar_url":"https://avatars1.githubusercontent.com/u/6438716?v=4","gravatar_id":"","url":"https://api.github.com/users/power10dan","html_url":"https://github.com/power10dan","followers_url":"https://api.github.com/users/power10dan/followers","following_url":"https://api.github.com/users/power10dan/following{/other_user}","gists_url":"https://api.github.com/users/power10dan/gists{/gist_id}","starred_url":"https://api.github.com/users/power10dan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/power10dan/subscriptions","organizations_url":"https://api.github.com/users/power10dan/orgs","repos_url":"https://api.github.com/users/power10dan/repos","events_url":"https://api.github.com/users/power10dan/events{/privacy}","received_events_url":"https://api.github.com/users/power10dan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/power10dan/tldrResearchPaper","description":"A tl;dr program for research papers","fork":false,"url":"https://api.github.com/repos/power10dan/tldrResearchPaper","forks_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/forks","keys_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/teams","hooks_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/hooks","issue_events_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/issues/events{/number}","events_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/events","assignees_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/assignees{/user}","branches_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/branches{/branch}","tags_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/tags","blobs_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/git/refs{/sha}","trees_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/statuses/{sha}","languages_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/languages","stargazers_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/stargazers","contributors_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/contributors","subscribers_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/subscribers","subscription_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/subscription","commits_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/commits{/sha}","git_commits_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/git/commits{/sha}","comments_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/comments{/number}","issue_comment_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/issues/comments{/number}","contents_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/contents/{+path}","compare_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/merges","archive_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/downloads","issues_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/issues{/number}","pulls_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/pulls{/number}","milestones_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/milestones{/number}","notifications_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/labels{/name}","releases_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/releases{/id}","deployments_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/deployments","created_at":"2017-09-25T20:34:53Z","updated_at":"2017-10-20T02:34:59Z","pushed_at":"2017-11-08T17:25:01Z","git_url":"git://github.com/power10dan/tldrResearchPaper.git","ssh_url":"git@github.com:power10dan/tldrResearchPaper.git","clone_url":"https://github.com/power10dan/tldrResearchPaper.git","svn_url":"https://github.com/power10dan/tldrResearchPaper","homepage":null,"size":184447,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"power10dan:master","ref":"master","sha":"e7c19acaadd8cb855a463bffeb3a4c398b738a87","user":{"login":"power10dan","id":6438716,"avatar_url":"https://avatars1.githubusercontent.com/u/6438716?v=4","gravatar_id":"","url":"https://api.github.com/users/power10dan","html_url":"https://github.com/power10dan","followers_url":"https://api.github.com/users/power10dan/followers","following_url":"https://api.github.com/users/power10dan/following{/other_user}","gists_url":"https://api.github.com/users/power10dan/gists{/gist_id}","starred_url":"https://api.github.com/users/power10dan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/power10dan/subscriptions","organizations_url":"https://api.github.com/users/power10dan/orgs","repos_url":"https://api.github.com/users/power10dan/repos","events_url":"https://api.github.com/users/power10dan/events{/privacy}","received_events_url":"https://api.github.com/users/power10dan/received_events","type":"User","site_admin":false},"repo":{"id":104799346,"name":"tldrResearchPaper","full_name":"power10dan/tldrResearchPaper","owner":{"login":"power10dan","id":6438716,"avatar_url":"https://avatars1.githubusercontent.com/u/6438716?v=4","gravatar_id":"","url":"https://api.github.com/users/power10dan","html_url":"https://github.com/power10dan","followers_url":"https://api.github.com/users/power10dan/followers","following_url":"https://api.github.com/users/power10dan/following{/other_user}","gists_url":"https://api.github.com/users/power10dan/gists{/gist_id}","starred_url":"https://api.github.com/users/power10dan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/power10dan/subscriptions","organizations_url":"https://api.github.com/users/power10dan/orgs","repos_url":"https://api.github.com/users/power10dan/repos","events_url":"https://api.github.com/users/power10dan/events{/privacy}","received_events_url":"https://api.github.com/users/power10dan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/power10dan/tldrResearchPaper","description":"A tl;dr program for research papers","fork":false,"url":"https://api.github.com/repos/power10dan/tldrResearchPaper","forks_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/forks","keys_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/teams","hooks_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/hooks","issue_events_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/issues/events{/number}","events_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/events","assignees_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/assignees{/user}","branches_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/branches{/branch}","tags_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/tags","blobs_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/git/refs{/sha}","trees_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/statuses/{sha}","languages_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/languages","stargazers_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/stargazers","contributors_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/contributors","subscribers_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/subscribers","subscription_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/subscription","commits_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/commits{/sha}","git_commits_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/git/commits{/sha}","comments_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/comments{/number}","issue_comment_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/issues/comments{/number}","contents_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/contents/{+path}","compare_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/merges","archive_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/downloads","issues_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/issues{/number}","pulls_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/pulls{/number}","milestones_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/milestones{/number}","notifications_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/labels{/name}","releases_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/releases{/id}","deployments_url":"https://api.github.com/repos/power10dan/tldrResearchPaper/deployments","created_at":"2017-09-25T20:34:53Z","updated_at":"2017-10-20T02:34:59Z","pushed_at":"2017-11-08T17:25:01Z","git_url":"git://github.com/power10dan/tldrResearchPaper.git","ssh_url":"git@github.com:power10dan/tldrResearchPaper.git","clone_url":"https://github.com/power10dan/tldrResearchPaper.git","svn_url":"https://github.com/power10dan/tldrResearchPaper","homepage":null,"size":184447,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/power10dan/tldrResearchPaper/pulls/27"},"html":{"href":"https://github.com/power10dan/tldrResearchPaper/pull/27"},"issue":{"href":"https://api.github.com/repos/power10dan/tldrResearchPaper/issues/27"},"comments":{"href":"https://api.github.com/repos/power10dan/tldrResearchPaper/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/power10dan/tldrResearchPaper/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/power10dan/tldrResearchPaper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/power10dan/tldrResearchPaper/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/power10dan/tldrResearchPaper/statuses/252594932a7ded4e1b8fd6cc0740aacabfd8fb48"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":14,"additions":556,"deletions":243,"changed_files":24}}
{"actor":{"display_login":"doyougnu"}}