{"action":"created","comment":{"url":"https://api.github.com/repos/openrecord/vinyl/pulls/comments/212155166","pull_request_review_id":148725724,"id":212155166,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjE1NTE2Ng==","diff_hunk":"@@ -5,20 +5,35 @@ import {push} from 'connected-react-router';\n const REGISTER_REQ = 'auth/REGISTER_REQ';\n const REGISTER_REQ_SUCCESS = 'auth/REGISTER_REQ_SUCCESS';\n const REGISTER_REQ_FAIL = 'auth/REGISTER_REQ_FAIL';\n+const LOGIN_REQ = 'auth/LOGIN_REQ';\n+const LOGIN_REQ_SUCCESS = 'auth/LOGIN_REQ_SUCCESS';\n+const LOGIN_REQ_FAIL = 'auth/LOGIN_REQ_FAIL';\n+const AUTHENTICATE_REQ = 'auth/AUTHENTICATE_REQ';\n+const AUTHENTICATE_REQ_SUCCESS = 'auth/AUTHENTICATE_REQ_SUCCESS';\n+const AUTHENTICATE_REQ_FAIL = 'auth/AUTHENTICATE_REQ_FAIL';","path":"src/modules/auth/state.js","position":9,"original_position":9,"commit_id":"5bf1ba66adaa6470b5b4de087ec216302101be76","original_commit_id":"5bf1ba66adaa6470b5b4de087ec216302101be76","user":{"login":"jamesmcnamara","id":5115807,"node_id":"MDQ6VXNlcjUxMTU4MDc=","avatar_url":"https://avatars3.githubusercontent.com/u/5115807?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesmcnamara","html_url":"https://github.com/jamesmcnamara","followers_url":"https://api.github.com/users/jamesmcnamara/followers","following_url":"https://api.github.com/users/jamesmcnamara/following{/other_user}","gists_url":"https://api.github.com/users/jamesmcnamara/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesmcnamara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesmcnamara/subscriptions","organizations_url":"https://api.github.com/users/jamesmcnamara/orgs","repos_url":"https://api.github.com/users/jamesmcnamara/repos","events_url":"https://api.github.com/users/jamesmcnamara/events{/privacy}","received_events_url":"https://api.github.com/users/jamesmcnamara/received_events","type":"User","site_admin":false},"body":"Not tonight but maybe tomorrow if it's early my time","created_at":"2018-08-23T00:57:58Z","updated_at":"2018-08-23T00:57:58Z","html_url":"https://github.com/openrecord/vinyl/pull/23#discussion_r212155166","pull_request_url":"https://api.github.com/repos/openrecord/vinyl/pulls/23","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openrecord/vinyl/pulls/comments/212155166"},"html":{"href":"https://github.com/openrecord/vinyl/pull/23#discussion_r212155166"},"pull_request":{"href":"https://api.github.com/repos/openrecord/vinyl/pulls/23"}},"in_reply_to_id":212154601},"pull_request":{"url":"https://api.github.com/repos/openrecord/vinyl/pulls/23","id":210008975,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMDA4OTc1","html_url":"https://github.com/openrecord/vinyl/pull/23","diff_url":"https://github.com/openrecord/vinyl/pull/23.diff","patch_url":"https://github.com/openrecord/vinyl/pull/23.patch","issue_url":"https://api.github.com/repos/openrecord/vinyl/issues/23","number":23,"state":"open","locked":false,"title":"[Authentication] Added PrivateRoute component and login/authenticate api methods and actions.","user":{"login":"chasdevs","id":8482352,"node_id":"MDQ6VXNlcjg0ODIzNTI=","avatar_url":"https://avatars3.githubusercontent.com/u/8482352?v=4","gravatar_id":"","url":"https://api.github.com/users/chasdevs","html_url":"https://github.com/chasdevs","followers_url":"https://api.github.com/users/chasdevs/followers","following_url":"https://api.github.com/users/chasdevs/following{/other_user}","gists_url":"https://api.github.com/users/chasdevs/gists{/gist_id}","starred_url":"https://api.github.com/users/chasdevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasdevs/subscriptions","organizations_url":"https://api.github.com/users/chasdevs/orgs","repos_url":"https://api.github.com/users/chasdevs/repos","events_url":"https://api.github.com/users/chasdevs/events{/privacy}","received_events_url":"https://api.github.com/users/chasdevs/received_events","type":"User","site_admin":false},"body":"Eventually these will be used for protected pages and for login.","created_at":"2018-08-22T03:07:39Z","updated_at":"2018-08-23T00:57:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6909f9dd001204d2ae7c472d2c08938ec37a6cfa","assignee":{"login":"chasdevs","id":8482352,"node_id":"MDQ6VXNlcjg0ODIzNTI=","avatar_url":"https://avatars3.githubusercontent.com/u/8482352?v=4","gravatar_id":"","url":"https://api.github.com/users/chasdevs","html_url":"https://github.com/chasdevs","followers_url":"https://api.github.com/users/chasdevs/followers","following_url":"https://api.github.com/users/chasdevs/following{/other_user}","gists_url":"https://api.github.com/users/chasdevs/gists{/gist_id}","starred_url":"https://api.github.com/users/chasdevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasdevs/subscriptions","organizations_url":"https://api.github.com/users/chasdevs/orgs","repos_url":"https://api.github.com/users/chasdevs/repos","events_url":"https://api.github.com/users/chasdevs/events{/privacy}","received_events_url":"https://api.github.com/users/chasdevs/received_events","type":"User","site_admin":false},"assignees":[{"login":"chasdevs","id":8482352,"node_id":"MDQ6VXNlcjg0ODIzNTI=","avatar_url":"https://avatars3.githubusercontent.com/u/8482352?v=4","gravatar_id":"","url":"https://api.github.com/users/chasdevs","html_url":"https://github.com/chasdevs","followers_url":"https://api.github.com/users/chasdevs/followers","following_url":"https://api.github.com/users/chasdevs/following{/other_user}","gists_url":"https://api.github.com/users/chasdevs/gists{/gist_id}","starred_url":"https://api.github.com/users/chasdevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasdevs/subscriptions","organizations_url":"https://api.github.com/users/chasdevs/orgs","repos_url":"https://api.github.com/users/chasdevs/repos","events_url":"https://api.github.com/users/chasdevs/events{/privacy}","received_events_url":"https://api.github.com/users/chasdevs/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"rtluu","id":7230519,"node_id":"MDQ6VXNlcjcyMzA1MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/7230519?v=4","gravatar_id":"","url":"https://api.github.com/users/rtluu","html_url":"https://github.com/rtluu","followers_url":"https://api.github.com/users/rtluu/followers","following_url":"https://api.github.com/users/rtluu/following{/other_user}","gists_url":"https://api.github.com/users/rtluu/gists{/gist_id}","starred_url":"https://api.github.com/users/rtluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtluu/subscriptions","organizations_url":"https://api.github.com/users/rtluu/orgs","repos_url":"https://api.github.com/users/rtluu/repos","events_url":"https://api.github.com/users/rtluu/events{/privacy}","received_events_url":"https://api.github.com/users/rtluu/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openrecord/vinyl/pulls/23/commits","review_comments_url":"https://api.github.com/repos/openrecord/vinyl/pulls/23/comments","review_comment_url":"https://api.github.com/repos/openrecord/vinyl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openrecord/vinyl/issues/23/comments","statuses_url":"https://api.github.com/repos/openrecord/vinyl/statuses/5bf1ba66adaa6470b5b4de087ec216302101be76","head":{"label":"openrecord:chas/private-routes","ref":"chas/private-routes","sha":"5bf1ba66adaa6470b5b4de087ec216302101be76","user":{"login":"openrecord","id":39014371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MDE0Mzcx","avatar_url":"https://avatars1.githubusercontent.com/u/39014371?v=4","gravatar_id":"","url":"https://api.github.com/users/openrecord","html_url":"https://github.com/openrecord","followers_url":"https://api.github.com/users/openrecord/followers","following_url":"https://api.github.com/users/openrecord/following{/other_user}","gists_url":"https://api.github.com/users/openrecord/gists{/gist_id}","starred_url":"https://api.github.com/users/openrecord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openrecord/subscriptions","organizations_url":"https://api.github.com/users/openrecord/orgs","repos_url":"https://api.github.com/users/openrecord/repos","events_url":"https://api.github.com/users/openrecord/events{/privacy}","received_events_url":"https://api.github.com/users/openrecord/received_events","type":"Organization","site_admin":false},"repo":{"id":133158214,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxNTgyMTQ=","name":"vinyl","full_name":"openrecord/vinyl","owner":{"login":"openrecord","id":39014371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MDE0Mzcx","avatar_url":"https://avatars1.githubusercontent.com/u/39014371?v=4","gravatar_id":"","url":"https://api.github.com/users/openrecord","html_url":"https://github.com/openrecord","followers_url":"https://api.github.com/users/openrecord/followers","following_url":"https://api.github.com/users/openrecord/following{/other_user}","gists_url":"https://api.github.com/users/openrecord/gists{/gist_id}","starred_url":"https://api.github.com/users/openrecord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openrecord/subscriptions","organizations_url":"https://api.github.com/users/openrecord/orgs","repos_url":"https://api.github.com/users/openrecord/repos","events_url":"https://api.github.com/users/openrecord/events{/privacy}","received_events_url":"https://api.github.com/users/openrecord/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openrecord/vinyl","description":"Frontend for the openrecord platform.","fork":false,"url":"https://api.github.com/repos/openrecord/vinyl","forks_url":"https://api.github.com/repos/openrecord/vinyl/forks","keys_url":"https://api.github.com/repos/openrecord/vinyl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openrecord/vinyl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openrecord/vinyl/teams","hooks_url":"https://api.github.com/repos/openrecord/vinyl/hooks","issue_events_url":"https://api.github.com/repos/openrecord/vinyl/issues/events{/number}","events_url":"https://api.github.com/repos/openrecord/vinyl/events","assignees_url":"https://api.github.com/repos/openrecord/vinyl/assignees{/user}","branches_url":"https://api.github.com/repos/openrecord/vinyl/branches{/branch}","tags_url":"https://api.github.com/repos/openrecord/vinyl/tags","blobs_url":"https://api.github.com/repos/openrecord/vinyl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openrecord/vinyl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openrecord/vinyl/git/refs{/sha}","trees_url":"https://api.github.com/repos/openrecord/vinyl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openrecord/vinyl/statuses/{sha}","languages_url":"https://api.github.com/repos/openrecord/vinyl/languages","stargazers_url":"https://api.github.com/repos/openrecord/vinyl/stargazers","contributors_url":"https://api.github.com/repos/openrecord/vinyl/contributors","subscribers_url":"https://api.github.com/repos/openrecord/vinyl/subscribers","subscription_url":"https://api.github.com/repos/openrecord/vinyl/subscription","commits_url":"https://api.github.com/repos/openrecord/vinyl/commits{/sha}","git_commits_url":"https://api.github.com/repos/openrecord/vinyl/git/commits{/sha}","comments_url":"https://api.github.com/repos/openrecord/vinyl/comments{/number}","issue_comment_url":"https://api.github.com/repos/openrecord/vinyl/issues/comments{/number}","contents_url":"https://api.github.com/repos/openrecord/vinyl/contents/{+path}","compare_url":"https://api.github.com/repos/openrecord/vinyl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openrecord/vinyl/merges","archive_url":"https://api.github.com/repos/openrecord/vinyl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openrecord/vinyl/downloads","issues_url":"https://api.github.com/repos/openrecord/vinyl/issues{/number}","pulls_url":"https://api.github.com/repos/openrecord/vinyl/pulls{/number}","milestones_url":"https://api.github.com/repos/openrecord/vinyl/milestones{/number}","notifications_url":"https://api.github.com/repos/openrecord/vinyl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openrecord/vinyl/labels{/name}","releases_url":"https://api.github.com/repos/openrecord/vinyl/releases{/id}","deployments_url":"https://api.github.com/repos/openrecord/vinyl/deployments","created_at":"2018-05-12T15:24:16Z","updated_at":"2018-08-22T00:12:34Z","pushed_at":"2018-08-22T04:06:43Z","git_url":"git://github.com/openrecord/vinyl.git","ssh_url":"git@github.com:openrecord/vinyl.git","clone_url":"https://github.com/openrecord/vinyl.git","svn_url":"https://github.com/openrecord/vinyl","homepage":"","size":359,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":4,"license":null,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"openrecord:master","ref":"master","sha":"79e8220b513256fc90acff60e3af2e9e1c91ccfd","user":{"login":"openrecord","id":39014371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MDE0Mzcx","avatar_url":"https://avatars1.githubusercontent.com/u/39014371?v=4","gravatar_id":"","url":"https://api.github.com/users/openrecord","html_url":"https://github.com/openrecord","followers_url":"https://api.github.com/users/openrecord/followers","following_url":"https://api.github.com/users/openrecord/following{/other_user}","gists_url":"https://api.github.com/users/openrecord/gists{/gist_id}","starred_url":"https://api.github.com/users/openrecord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openrecord/subscriptions","organizations_url":"https://api.github.com/users/openrecord/orgs","repos_url":"https://api.github.com/users/openrecord/repos","events_url":"https://api.github.com/users/openrecord/events{/privacy}","received_events_url":"https://api.github.com/users/openrecord/received_events","type":"Organization","site_admin":false},"repo":{"id":133158214,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxNTgyMTQ=","name":"vinyl","full_name":"openrecord/vinyl","owner":{"login":"openrecord","id":39014371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MDE0Mzcx","avatar_url":"https://avatars1.githubusercontent.com/u/39014371?v=4","gravatar_id":"","url":"https://api.github.com/users/openrecord","html_url":"https://github.com/openrecord","followers_url":"https://api.github.com/users/openrecord/followers","following_url":"https://api.github.com/users/openrecord/following{/other_user}","gists_url":"https://api.github.com/users/openrecord/gists{/gist_id}","starred_url":"https://api.github.com/users/openrecord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openrecord/subscriptions","organizations_url":"https://api.github.com/users/openrecord/orgs","repos_url":"https://api.github.com/users/openrecord/repos","events_url":"https://api.github.com/users/openrecord/events{/privacy}","received_events_url":"https://api.github.com/users/openrecord/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openrecord/vinyl","description":"Frontend for the openrecord platform.","fork":false,"url":"https://api.github.com/repos/openrecord/vinyl","forks_url":"https://api.github.com/repos/openrecord/vinyl/forks","keys_url":"https://api.github.com/repos/openrecord/vinyl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openrecord/vinyl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openrecord/vinyl/teams","hooks_url":"https://api.github.com/repos/openrecord/vinyl/hooks","issue_events_url":"https://api.github.com/repos/openrecord/vinyl/issues/events{/number}","events_url":"https://api.github.com/repos/openrecord/vinyl/events","assignees_url":"https://api.github.com/repos/openrecord/vinyl/assignees{/user}","branches_url":"https://api.github.com/repos/openrecord/vinyl/branches{/branch}","tags_url":"https://api.github.com/repos/openrecord/vinyl/tags","blobs_url":"https://api.github.com/repos/openrecord/vinyl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openrecord/vinyl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openrecord/vinyl/git/refs{/sha}","trees_url":"https://api.github.com/repos/openrecord/vinyl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openrecord/vinyl/statuses/{sha}","languages_url":"https://api.github.com/repos/openrecord/vinyl/languages","stargazers_url":"https://api.github.com/repos/openrecord/vinyl/stargazers","contributors_url":"https://api.github.com/repos/openrecord/vinyl/contributors","subscribers_url":"https://api.github.com/repos/openrecord/vinyl/subscribers","subscription_url":"https://api.github.com/repos/openrecord/vinyl/subscription","commits_url":"https://api.github.com/repos/openrecord/vinyl/commits{/sha}","git_commits_url":"https://api.github.com/repos/openrecord/vinyl/git/commits{/sha}","comments_url":"https://api.github.com/repos/openrecord/vinyl/comments{/number}","issue_comment_url":"https://api.github.com/repos/openrecord/vinyl/issues/comments{/number}","contents_url":"https://api.github.com/repos/openrecord/vinyl/contents/{+path}","compare_url":"https://api.github.com/repos/openrecord/vinyl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openrecord/vinyl/merges","archive_url":"https://api.github.com/repos/openrecord/vinyl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openrecord/vinyl/downloads","issues_url":"https://api.github.com/repos/openrecord/vinyl/issues{/number}","pulls_url":"https://api.github.com/repos/openrecord/vinyl/pulls{/number}","milestones_url":"https://api.github.com/repos/openrecord/vinyl/milestones{/number}","notifications_url":"https://api.github.com/repos/openrecord/vinyl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openrecord/vinyl/labels{/name}","releases_url":"https://api.github.com/repos/openrecord/vinyl/releases{/id}","deployments_url":"https://api.github.com/repos/openrecord/vinyl/deployments","created_at":"2018-05-12T15:24:16Z","updated_at":"2018-08-22T00:12:34Z","pushed_at":"2018-08-22T04:06:43Z","git_url":"git://github.com/openrecord/vinyl.git","ssh_url":"git@github.com:openrecord/vinyl.git","clone_url":"https://github.com/openrecord/vinyl.git","svn_url":"https://github.com/openrecord/vinyl","homepage":"","size":359,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":4,"license":null,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openrecord/vinyl/pulls/23"},"html":{"href":"https://github.com/openrecord/vinyl/pull/23"},"issue":{"href":"https://api.github.com/repos/openrecord/vinyl/issues/23"},"comments":{"href":"https://api.github.com/repos/openrecord/vinyl/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/openrecord/vinyl/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/openrecord/vinyl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openrecord/vinyl/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/openrecord/vinyl/statuses/5bf1ba66adaa6470b5b4de087ec216302101be76"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jamesmcnamara"}}