{"action":"closed","number":86,"pull_request":{"url":"https://api.github.com/repos/levelhq/level/pulls/86","id":192850188,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyODUwMTg4","html_url":"https://github.com/levelhq/level/pull/86","diff_url":"https://github.com/levelhq/level/pull/86.diff","patch_url":"https://github.com/levelhq/level/pull/86.patch","issue_url":"https://api.github.com/repos/levelhq/level/issues/86","number":86,"state":"closed","locked":false,"title":"Fix redirection when missing auth on graphiql","user":{"login":"sleepiejohn","id":5256711,"node_id":"MDQ6VXNlcjUyNTY3MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/5256711?v=4","gravatar_id":"","url":"https://api.github.com/users/sleepiejohn","html_url":"https://github.com/sleepiejohn","followers_url":"https://api.github.com/users/sleepiejohn/followers","following_url":"https://api.github.com/users/sleepiejohn/following{/other_user}","gists_url":"https://api.github.com/users/sleepiejohn/gists{/gist_id}","starred_url":"https://api.github.com/users/sleepiejohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleepiejohn/subscriptions","organizations_url":"https://api.github.com/users/sleepiejohn/orgs","repos_url":"https://api.github.com/users/sleepiejohn/repos","events_url":"https://api.github.com/users/sleepiejohn/events{/privacy}","received_events_url":"https://api.github.com/users/sleepiejohn/received_events","type":"User","site_admin":false},"body":"Here we add the already present `redirect_unless_signed_in` plug\r\nto the pieline that GraphiQL is run\r\nThis asserts that the current user is set and if not itt redirects to \r\nthe login page, not even going to any controller\r\n\r\nFix #83","created_at":"2018-06-05T22:08:43Z","updated_at":"2018-06-06T03:21:11Z","closed_at":"2018-06-06T03:21:11Z","merged_at":"2018-06-06T03:21:11Z","merge_commit_sha":"e5591ca2ac94bc31606a2ffcb146423f5edb31aa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/levelhq/level/pulls/86/commits","review_comments_url":"https://api.github.com/repos/levelhq/level/pulls/86/comments","review_comment_url":"https://api.github.com/repos/levelhq/level/pulls/comments{/number}","comments_url":"https://api.github.com/repos/levelhq/level/issues/86/comments","statuses_url":"https://api.github.com/repos/levelhq/level/statuses/3236ddc9ca064141ba202e1b50bea5979a7dc4f7","head":{"label":"sleepiejohn:auth_graphiql","ref":"auth_graphiql","sha":"3236ddc9ca064141ba202e1b50bea5979a7dc4f7","user":{"login":"sleepiejohn","id":5256711,"node_id":"MDQ6VXNlcjUyNTY3MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/5256711?v=4","gravatar_id":"","url":"https://api.github.com/users/sleepiejohn","html_url":"https://github.com/sleepiejohn","followers_url":"https://api.github.com/users/sleepiejohn/followers","following_url":"https://api.github.com/users/sleepiejohn/following{/other_user}","gists_url":"https://api.github.com/users/sleepiejohn/gists{/gist_id}","starred_url":"https://api.github.com/users/sleepiejohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleepiejohn/subscriptions","organizations_url":"https://api.github.com/users/sleepiejohn/orgs","repos_url":"https://api.github.com/users/sleepiejohn/repos","events_url":"https://api.github.com/users/sleepiejohn/events{/privacy}","received_events_url":"https://api.github.com/users/sleepiejohn/received_events","type":"User","site_admin":false},"repo":{"id":136202445,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYyMDI0NDU=","name":"level","full_name":"sleepiejohn/level","owner":{"login":"sleepiejohn","id":5256711,"node_id":"MDQ6VXNlcjUyNTY3MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/5256711?v=4","gravatar_id":"","url":"https://api.github.com/users/sleepiejohn","html_url":"https://github.com/sleepiejohn","followers_url":"https://api.github.com/users/sleepiejohn/followers","following_url":"https://api.github.com/users/sleepiejohn/following{/other_user}","gists_url":"https://api.github.com/users/sleepiejohn/gists{/gist_id}","starred_url":"https://api.github.com/users/sleepiejohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleepiejohn/subscriptions","organizations_url":"https://api.github.com/users/sleepiejohn/orgs","repos_url":"https://api.github.com/users/sleepiejohn/repos","events_url":"https://api.github.com/users/sleepiejohn/events{/privacy}","received_events_url":"https://api.github.com/users/sleepiejohn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sleepiejohn/level","description":"Distraction-free communication for software teams","fork":true,"url":"https://api.github.com/repos/sleepiejohn/level","forks_url":"https://api.github.com/repos/sleepiejohn/level/forks","keys_url":"https://api.github.com/repos/sleepiejohn/level/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sleepiejohn/level/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sleepiejohn/level/teams","hooks_url":"https://api.github.com/repos/sleepiejohn/level/hooks","issue_events_url":"https://api.github.com/repos/sleepiejohn/level/issues/events{/number}","events_url":"https://api.github.com/repos/sleepiejohn/level/events","assignees_url":"https://api.github.com/repos/sleepiejohn/level/assignees{/user}","branches_url":"https://api.github.com/repos/sleepiejohn/level/branches{/branch}","tags_url":"https://api.github.com/repos/sleepiejohn/level/tags","blobs_url":"https://api.github.com/repos/sleepiejohn/level/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sleepiejohn/level/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sleepiejohn/level/git/refs{/sha}","trees_url":"https://api.github.com/repos/sleepiejohn/level/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sleepiejohn/level/statuses/{sha}","languages_url":"https://api.github.com/repos/sleepiejohn/level/languages","stargazers_url":"https://api.github.com/repos/sleepiejohn/level/stargazers","contributors_url":"https://api.github.com/repos/sleepiejohn/level/contributors","subscribers_url":"https://api.github.com/repos/sleepiejohn/level/subscribers","subscription_url":"https://api.github.com/repos/sleepiejohn/level/subscription","commits_url":"https://api.github.com/repos/sleepiejohn/level/commits{/sha}","git_commits_url":"https://api.github.com/repos/sleepiejohn/level/git/commits{/sha}","comments_url":"https://api.github.com/repos/sleepiejohn/level/comments{/number}","issue_comment_url":"https://api.github.com/repos/sleepiejohn/level/issues/comments{/number}","contents_url":"https://api.github.com/repos/sleepiejohn/level/contents/{+path}","compare_url":"https://api.github.com/repos/sleepiejohn/level/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sleepiejohn/level/merges","archive_url":"https://api.github.com/repos/sleepiejohn/level/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sleepiejohn/level/downloads","issues_url":"https://api.github.com/repos/sleepiejohn/level/issues{/number}","pulls_url":"https://api.github.com/repos/sleepiejohn/level/pulls{/number}","milestones_url":"https://api.github.com/repos/sleepiejohn/level/milestones{/number}","notifications_url":"https://api.github.com/repos/sleepiejohn/level/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sleepiejohn/level/labels{/name}","releases_url":"https://api.github.com/repos/sleepiejohn/level/releases{/id}","deployments_url":"https://api.github.com/repos/sleepiejohn/level/deployments","created_at":"2018-06-05T16:03:36Z","updated_at":"2018-06-05T16:03:38Z","pushed_at":"2018-06-06T03:01:56Z","git_url":"git://github.com/sleepiejohn/level.git","ssh_url":"git@github.com:sleepiejohn/level.git","clone_url":"https://github.com/sleepiejohn/level.git","svn_url":"https://github.com/sleepiejohn/level","homepage":"https://level.app","size":1621,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"levelhq:master","ref":"master","sha":"391b701ed1562b70e6f4c55f3d4bc23391ff245b","user":{"login":"levelhq","id":35783970,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NzgzOTcw","avatar_url":"https://avatars3.githubusercontent.com/u/35783970?v=4","gravatar_id":"","url":"https://api.github.com/users/levelhq","html_url":"https://github.com/levelhq","followers_url":"https://api.github.com/users/levelhq/followers","following_url":"https://api.github.com/users/levelhq/following{/other_user}","gists_url":"https://api.github.com/users/levelhq/gists{/gist_id}","starred_url":"https://api.github.com/users/levelhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levelhq/subscriptions","organizations_url":"https://api.github.com/users/levelhq/orgs","repos_url":"https://api.github.com/users/levelhq/repos","events_url":"https://api.github.com/users/levelhq/events{/privacy}","received_events_url":"https://api.github.com/users/levelhq/received_events","type":"Organization","site_admin":false},"repo":{"id":127781753,"node_id":"MDEwOlJlcG9zaXRvcnkxMjc3ODE3NTM=","name":"level","full_name":"levelhq/level","owner":{"login":"levelhq","id":35783970,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NzgzOTcw","avatar_url":"https://avatars3.githubusercontent.com/u/35783970?v=4","gravatar_id":"","url":"https://api.github.com/users/levelhq","html_url":"https://github.com/levelhq","followers_url":"https://api.github.com/users/levelhq/followers","following_url":"https://api.github.com/users/levelhq/following{/other_user}","gists_url":"https://api.github.com/users/levelhq/gists{/gist_id}","starred_url":"https://api.github.com/users/levelhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levelhq/subscriptions","organizations_url":"https://api.github.com/users/levelhq/orgs","repos_url":"https://api.github.com/users/levelhq/repos","events_url":"https://api.github.com/users/levelhq/events{/privacy}","received_events_url":"https://api.github.com/users/levelhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/levelhq/level","description":"Distraction-free communication for software teams","fork":false,"url":"https://api.github.com/repos/levelhq/level","forks_url":"https://api.github.com/repos/levelhq/level/forks","keys_url":"https://api.github.com/repos/levelhq/level/keys{/key_id}","collaborators_url":"https://api.github.com/repos/levelhq/level/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/levelhq/level/teams","hooks_url":"https://api.github.com/repos/levelhq/level/hooks","issue_events_url":"https://api.github.com/repos/levelhq/level/issues/events{/number}","events_url":"https://api.github.com/repos/levelhq/level/events","assignees_url":"https://api.github.com/repos/levelhq/level/assignees{/user}","branches_url":"https://api.github.com/repos/levelhq/level/branches{/branch}","tags_url":"https://api.github.com/repos/levelhq/level/tags","blobs_url":"https://api.github.com/repos/levelhq/level/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/levelhq/level/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/levelhq/level/git/refs{/sha}","trees_url":"https://api.github.com/repos/levelhq/level/git/trees{/sha}","statuses_url":"https://api.github.com/repos/levelhq/level/statuses/{sha}","languages_url":"https://api.github.com/repos/levelhq/level/languages","stargazers_url":"https://api.github.com/repos/levelhq/level/stargazers","contributors_url":"https://api.github.com/repos/levelhq/level/contributors","subscribers_url":"https://api.github.com/repos/levelhq/level/subscribers","subscription_url":"https://api.github.com/repos/levelhq/level/subscription","commits_url":"https://api.github.com/repos/levelhq/level/commits{/sha}","git_commits_url":"https://api.github.com/repos/levelhq/level/git/commits{/sha}","comments_url":"https://api.github.com/repos/levelhq/level/comments{/number}","issue_comment_url":"https://api.github.com/repos/levelhq/level/issues/comments{/number}","contents_url":"https://api.github.com/repos/levelhq/level/contents/{+path}","compare_url":"https://api.github.com/repos/levelhq/level/compare/{base}...{head}","merges_url":"https://api.github.com/repos/levelhq/level/merges","archive_url":"https://api.github.com/repos/levelhq/level/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/levelhq/level/downloads","issues_url":"https://api.github.com/repos/levelhq/level/issues{/number}","pulls_url":"https://api.github.com/repos/levelhq/level/pulls{/number}","milestones_url":"https://api.github.com/repos/levelhq/level/milestones{/number}","notifications_url":"https://api.github.com/repos/levelhq/level/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/levelhq/level/labels{/name}","releases_url":"https://api.github.com/repos/levelhq/level/releases{/id}","deployments_url":"https://api.github.com/repos/levelhq/level/deployments","created_at":"2018-04-02T16:23:02Z","updated_at":"2018-06-06T01:05:22Z","pushed_at":"2018-06-06T03:21:11Z","git_url":"git://github.com/levelhq/level.git","ssh_url":"git@github.com:levelhq/level.git","clone_url":"https://github.com/levelhq/level.git","svn_url":"https://github.com/levelhq/level","homepage":"https://level.app","size":1617,"stargazers_count":290,"watchers_count":290,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":18,"open_issues":16,"watchers":290,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/levelhq/level/pulls/86"},"html":{"href":"https://github.com/levelhq/level/pull/86"},"issue":{"href":"https://api.github.com/repos/levelhq/level/issues/86"},"comments":{"href":"https://api.github.com/repos/levelhq/level/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/levelhq/level/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/levelhq/level/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/levelhq/level/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/levelhq/level/statuses/3236ddc9ca064141ba202e1b50bea5979a7dc4f7"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"derrickreimer","id":341387,"node_id":"MDQ6VXNlcjM0MTM4Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/341387?v=4","gravatar_id":"","url":"https://api.github.com/users/derrickreimer","html_url":"https://github.com/derrickreimer","followers_url":"https://api.github.com/users/derrickreimer/followers","following_url":"https://api.github.com/users/derrickreimer/following{/other_user}","gists_url":"https://api.github.com/users/derrickreimer/gists{/gist_id}","starred_url":"https://api.github.com/users/derrickreimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derrickreimer/subscriptions","organizations_url":"https://api.github.com/users/derrickreimer/orgs","repos_url":"https://api.github.com/users/derrickreimer/repos","events_url":"https://api.github.com/users/derrickreimer/events{/privacy}","received_events_url":"https://api.github.com/users/derrickreimer/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"maintainer_can_modify":false,"commits":3,"additions":37,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"derrickreimer"}}