{"action":"opened","number":114,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/isp/pulls/114","id":98084822,"html_url":"https://github.com/CenterForOpenScience/isp/pull/114","diff_url":"https://github.com/CenterForOpenScience/isp/pull/114.diff","patch_url":"https://github.com/CenterForOpenScience/isp/pull/114.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/isp/issues/114","number":114,"state":"open","locked":false,"title":"Special manager section of site with separate login","user":{"login":"abought","id":2957073,"avatar_url":"https://avatars.githubusercontent.com/u/2957073?v=3","gravatar_id":"","url":"https://api.github.com/users/abought","html_url":"https://github.com/abought","followers_url":"https://api.github.com/users/abought/followers","following_url":"https://api.github.com/users/abought/following{/other_user}","gists_url":"https://api.github.com/users/abought/gists{/gist_id}","starred_url":"https://api.github.com/users/abought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abought/subscriptions","organizations_url":"https://api.github.com/users/abought/orgs","repos_url":"https://api.github.com/users/abought/repos","events_url":"https://api.github.com/users/abought/events{/privacy}","received_events_url":"https://api.github.com/users/abought/received_events","type":"User","site_admin":false},"body":"Refs: https://openscience.atlassian.net/browse/LEI-326\r\n\r\n## Purpose\r\n- Let site coordinators log in via a special portal section\r\n- Rename `/site-admin` to `/manage/who-completed`\r\n\r\n\r\n## Summary of changes\r\n\r\n\r\n## TODO\r\n- [ ] Finish testing basic behavior\r\n- [ ] Add a logout button to the manager view\r\n- [ ] Clean up `manage/index` template: link text, and show ID of currently logged-in user\r\n\r\n## Testing notes\r\nIn general, there will now be two login pages: `/` (for participants) and `/manage` (aka `/manage/login`, for site coordinators to see data). A user will want to log in as one or the other. \r\n\r\n\r\n- [ ] Log in as a regular user and take the study\r\n- [ ] Visit the `/manage` url. When logged in as *any* person, the user should go straight to `/manage/index` or `/manage/who-completed` (depending on final implementation)- eg whether or not the login action causes the aborted transition to be retried.\r\n- [ ] Visit the `/manage/who-completed` page. A designated admin should be able to see all participants and their completion status.","created_at":"2016-12-15T04:19:43Z","updated_at":"2016-12-15T04:19:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/isp/pulls/114/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/isp/pulls/114/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/isp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/isp/issues/114/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/isp/statuses/c36bdd1a0b5a40ac8abaa4d58339a84de4905280","head":{"label":"abought:feature/lei326-admin-login","ref":"feature/lei326-admin-login","sha":"c36bdd1a0b5a40ac8abaa4d58339a84de4905280","user":{"login":"abought","id":2957073,"avatar_url":"https://avatars.githubusercontent.com/u/2957073?v=3","gravatar_id":"","url":"https://api.github.com/users/abought","html_url":"https://github.com/abought","followers_url":"https://api.github.com/users/abought/followers","following_url":"https://api.github.com/users/abought/following{/other_user}","gists_url":"https://api.github.com/users/abought/gists{/gist_id}","starred_url":"https://api.github.com/users/abought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abought/subscriptions","organizations_url":"https://api.github.com/users/abought/orgs","repos_url":"https://api.github.com/users/abought/repos","events_url":"https://api.github.com/users/abought/events{/privacy}","received_events_url":"https://api.github.com/users/abought/received_events","type":"User","site_admin":false},"repo":{"id":68031674,"name":"isp","full_name":"abought/isp","owner":{"login":"abought","id":2957073,"avatar_url":"https://avatars.githubusercontent.com/u/2957073?v=3","gravatar_id":"","url":"https://api.github.com/users/abought","html_url":"https://github.com/abought","followers_url":"https://api.github.com/users/abought/followers","following_url":"https://api.github.com/users/abought/following{/other_user}","gists_url":"https://api.github.com/users/abought/gists{/gist_id}","starred_url":"https://api.github.com/users/abought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abought/subscriptions","organizations_url":"https://api.github.com/users/abought/orgs","repos_url":"https://api.github.com/users/abought/repos","events_url":"https://api.github.com/users/abought/events{/privacy}","received_events_url":"https://api.github.com/users/abought/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abought/isp","description":null,"fork":true,"url":"https://api.github.com/repos/abought/isp","forks_url":"https://api.github.com/repos/abought/isp/forks","keys_url":"https://api.github.com/repos/abought/isp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abought/isp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abought/isp/teams","hooks_url":"https://api.github.com/repos/abought/isp/hooks","issue_events_url":"https://api.github.com/repos/abought/isp/issues/events{/number}","events_url":"https://api.github.com/repos/abought/isp/events","assignees_url":"https://api.github.com/repos/abought/isp/assignees{/user}","branches_url":"https://api.github.com/repos/abought/isp/branches{/branch}","tags_url":"https://api.github.com/repos/abought/isp/tags","blobs_url":"https://api.github.com/repos/abought/isp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abought/isp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abought/isp/git/refs{/sha}","trees_url":"https://api.github.com/repos/abought/isp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abought/isp/statuses/{sha}","languages_url":"https://api.github.com/repos/abought/isp/languages","stargazers_url":"https://api.github.com/repos/abought/isp/stargazers","contributors_url":"https://api.github.com/repos/abought/isp/contributors","subscribers_url":"https://api.github.com/repos/abought/isp/subscribers","subscription_url":"https://api.github.com/repos/abought/isp/subscription","commits_url":"https://api.github.com/repos/abought/isp/commits{/sha}","git_commits_url":"https://api.github.com/repos/abought/isp/git/commits{/sha}","comments_url":"https://api.github.com/repos/abought/isp/comments{/number}","issue_comment_url":"https://api.github.com/repos/abought/isp/issues/comments{/number}","contents_url":"https://api.github.com/repos/abought/isp/contents/{+path}","compare_url":"https://api.github.com/repos/abought/isp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abought/isp/merges","archive_url":"https://api.github.com/repos/abought/isp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abought/isp/downloads","issues_url":"https://api.github.com/repos/abought/isp/issues{/number}","pulls_url":"https://api.github.com/repos/abought/isp/pulls{/number}","milestones_url":"https://api.github.com/repos/abought/isp/milestones{/number}","notifications_url":"https://api.github.com/repos/abought/isp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abought/isp/labels{/name}","releases_url":"https://api.github.com/repos/abought/isp/releases{/id}","deployments_url":"https://api.github.com/repos/abought/isp/deployments","created_at":"2016-09-12T17:31:04Z","updated_at":"2016-09-12T17:31:06Z","pushed_at":"2016-12-14T21:28:38Z","git_url":"git://github.com/abought/isp.git","ssh_url":"git@github.com:abought/isp.git","clone_url":"https://github.com/abought/isp.git","svn_url":"https://github.com/abought/isp","homepage":null,"size":484,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"CenterForOpenScience:develop","ref":"develop","sha":"3103e3105e116f99000e50a4476a4806d1b50d8f","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":50365703,"name":"isp","full_name":"CenterForOpenScience/isp","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/isp","description":"The International Situations Project (ISP) is a cross-cultural study examining the situations people experience and how they behave in those situations.","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/isp","forks_url":"https://api.github.com/repos/CenterForOpenScience/isp/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/isp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/isp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/isp/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/isp/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/isp/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/isp/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/isp/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/isp/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/isp/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/isp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/isp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/isp/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/isp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/isp/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/isp/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/isp/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/isp/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/isp/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/isp/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/isp/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/isp/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/isp/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/isp/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/isp/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/isp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/isp/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/isp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/isp/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/isp/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/isp/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/isp/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/isp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/isp/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/isp/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/isp/deployments","created_at":"2016-01-25T16:54:43Z","updated_at":"2016-10-24T13:19:11Z","pushed_at":"2016-12-15T04:19:43Z","git_url":"git://github.com/CenterForOpenScience/isp.git","ssh_url":"git@github.com:CenterForOpenScience/isp.git","clone_url":"https://github.com/CenterForOpenScience/isp.git","svn_url":"https://github.com/CenterForOpenScience/isp","homepage":"","size":478,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/isp/pulls/114"},"html":{"href":"https://github.com/CenterForOpenScience/isp/pull/114"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/isp/issues/114"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/isp/issues/114/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/isp/pulls/114/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/isp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/isp/pulls/114/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/isp/statuses/c36bdd1a0b5a40ac8abaa4d58339a84de4905280"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":113,"deletions":13,"changed_files":12}}
{"actor":{"display_login":"abought"}}