{"action":"opened","number":538,"pull_request":{"url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/538","id":208636557,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NjM2NTU3","html_url":"https://github.com/lucyparsons/OpenOversight/pull/538","diff_url":"https://github.com/lucyparsons/OpenOversight/pull/538.diff","patch_url":"https://github.com/lucyparsons/OpenOversight/pull/538.patch","issue_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/538","number":538,"state":"open","locked":false,"title":"Log who submitted photo","user":{"login":"nmanfred","id":18269914,"node_id":"MDQ6VXNlcjE4MjY5OTE0","avatar_url":"https://avatars0.githubusercontent.com/u/18269914?v=4","gravatar_id":"","url":"https://api.github.com/users/nmanfred","html_url":"https://github.com/nmanfred","followers_url":"https://api.github.com/users/nmanfred/followers","following_url":"https://api.github.com/users/nmanfred/following{/other_user}","gists_url":"https://api.github.com/users/nmanfred/gists{/gist_id}","starred_url":"https://api.github.com/users/nmanfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmanfred/subscriptions","organizations_url":"https://api.github.com/users/nmanfred/orgs","repos_url":"https://api.github.com/users/nmanfred/repos","events_url":"https://api.github.com/users/nmanfred/events{/privacy}","received_events_url":"https://api.github.com/users/nmanfred/received_events","type":"User","site_admin":false},"body":"## Status\r\n\r\nReady for review\r\n\r\n## Description of Changes\r\n\r\nFixes #376 .\r\n\r\nChanges proposed in this pull request:\r\n\r\n- If the user is logged in, their user ID will be added to the raw_images table along with the image information\r\n- A note has been added on the photo submission page asking logged out users to sign up and log in. For logged in users, a note is added that their user ID will be attached to their photo submission.\r\n\r\n## Notes for Deployment\r\n\r\n## Screenshots (if appropriate)\r\n\r\n## Tests and linting\r\n\r\n - [x] I have rebased my changes on current `develop`\r\n\r\n - [x] pytests pass in the development environment on my local machine\r\n\r\n - [x] `flake8` checks pass\r\n","created_at":"2018-08-15T18:05:26Z","updated_at":"2018-08-15T18:05:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/538/commits","review_comments_url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/538/comments","review_comment_url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/538/comments","statuses_url":"https://api.github.com/repos/lucyparsons/OpenOversight/statuses/616bb0973856bdc61205b43c4a4969a3f75c2643","head":{"label":"nmanfred:log_user_submitting_photo_376","ref":"log_user_submitting_photo_376","sha":"616bb0973856bdc61205b43c4a4969a3f75c2643","user":{"login":"nmanfred","id":18269914,"node_id":"MDQ6VXNlcjE4MjY5OTE0","avatar_url":"https://avatars0.githubusercontent.com/u/18269914?v=4","gravatar_id":"","url":"https://api.github.com/users/nmanfred","html_url":"https://github.com/nmanfred","followers_url":"https://api.github.com/users/nmanfred/followers","following_url":"https://api.github.com/users/nmanfred/following{/other_user}","gists_url":"https://api.github.com/users/nmanfred/gists{/gist_id}","starred_url":"https://api.github.com/users/nmanfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmanfred/subscriptions","organizations_url":"https://api.github.com/users/nmanfred/orgs","repos_url":"https://api.github.com/users/nmanfred/repos","events_url":"https://api.github.com/users/nmanfred/events{/privacy}","received_events_url":"https://api.github.com/users/nmanfred/received_events","type":"User","site_admin":false},"repo":{"id":141887996,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE4ODc5OTY=","name":"OpenOversight","full_name":"nmanfred/OpenOversight","owner":{"login":"nmanfred","id":18269914,"node_id":"MDQ6VXNlcjE4MjY5OTE0","avatar_url":"https://avatars0.githubusercontent.com/u/18269914?v=4","gravatar_id":"","url":"https://api.github.com/users/nmanfred","html_url":"https://github.com/nmanfred","followers_url":"https://api.github.com/users/nmanfred/followers","following_url":"https://api.github.com/users/nmanfred/following{/other_user}","gists_url":"https://api.github.com/users/nmanfred/gists{/gist_id}","starred_url":"https://api.github.com/users/nmanfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmanfred/subscriptions","organizations_url":"https://api.github.com/users/nmanfred/orgs","repos_url":"https://api.github.com/users/nmanfred/repos","events_url":"https://api.github.com/users/nmanfred/events{/privacy}","received_events_url":"https://api.github.com/users/nmanfred/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nmanfred/OpenOversight","description":"Police oversight and accountability through public data 👮","fork":true,"url":"https://api.github.com/repos/nmanfred/OpenOversight","forks_url":"https://api.github.com/repos/nmanfred/OpenOversight/forks","keys_url":"https://api.github.com/repos/nmanfred/OpenOversight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nmanfred/OpenOversight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nmanfred/OpenOversight/teams","hooks_url":"https://api.github.com/repos/nmanfred/OpenOversight/hooks","issue_events_url":"https://api.github.com/repos/nmanfred/OpenOversight/issues/events{/number}","events_url":"https://api.github.com/repos/nmanfred/OpenOversight/events","assignees_url":"https://api.github.com/repos/nmanfred/OpenOversight/assignees{/user}","branches_url":"https://api.github.com/repos/nmanfred/OpenOversight/branches{/branch}","tags_url":"https://api.github.com/repos/nmanfred/OpenOversight/tags","blobs_url":"https://api.github.com/repos/nmanfred/OpenOversight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nmanfred/OpenOversight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nmanfred/OpenOversight/git/refs{/sha}","trees_url":"https://api.github.com/repos/nmanfred/OpenOversight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nmanfred/OpenOversight/statuses/{sha}","languages_url":"https://api.github.com/repos/nmanfred/OpenOversight/languages","stargazers_url":"https://api.github.com/repos/nmanfred/OpenOversight/stargazers","contributors_url":"https://api.github.com/repos/nmanfred/OpenOversight/contributors","subscribers_url":"https://api.github.com/repos/nmanfred/OpenOversight/subscribers","subscription_url":"https://api.github.com/repos/nmanfred/OpenOversight/subscription","commits_url":"https://api.github.com/repos/nmanfred/OpenOversight/commits{/sha}","git_commits_url":"https://api.github.com/repos/nmanfred/OpenOversight/git/commits{/sha}","comments_url":"https://api.github.com/repos/nmanfred/OpenOversight/comments{/number}","issue_comment_url":"https://api.github.com/repos/nmanfred/OpenOversight/issues/comments{/number}","contents_url":"https://api.github.com/repos/nmanfred/OpenOversight/contents/{+path}","compare_url":"https://api.github.com/repos/nmanfred/OpenOversight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nmanfred/OpenOversight/merges","archive_url":"https://api.github.com/repos/nmanfred/OpenOversight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nmanfred/OpenOversight/downloads","issues_url":"https://api.github.com/repos/nmanfred/OpenOversight/issues{/number}","pulls_url":"https://api.github.com/repos/nmanfred/OpenOversight/pulls{/number}","milestones_url":"https://api.github.com/repos/nmanfred/OpenOversight/milestones{/number}","notifications_url":"https://api.github.com/repos/nmanfred/OpenOversight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nmanfred/OpenOversight/labels{/name}","releases_url":"https://api.github.com/repos/nmanfred/OpenOversight/releases{/id}","deployments_url":"https://api.github.com/repos/nmanfred/OpenOversight/deployments","created_at":"2018-07-22T10:58:28Z","updated_at":"2018-08-14T17:30:12Z","pushed_at":"2018-08-15T17:59:56Z","git_url":"git://github.com/nmanfred/OpenOversight.git","ssh_url":"git@github.com:nmanfred/OpenOversight.git","clone_url":"https://github.com/nmanfred/OpenOversight.git","svn_url":"https://github.com/nmanfred/OpenOversight","homepage":"https://openoversight.com","size":10452,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"lucyparsons:develop","ref":"develop","sha":"5c757aa6049bb644e156ea4cac263bfdcf34e626","user":{"login":"lucyparsons","id":14915368,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTE1MzY4","avatar_url":"https://avatars1.githubusercontent.com/u/14915368?v=4","gravatar_id":"","url":"https://api.github.com/users/lucyparsons","html_url":"https://github.com/lucyparsons","followers_url":"https://api.github.com/users/lucyparsons/followers","following_url":"https://api.github.com/users/lucyparsons/following{/other_user}","gists_url":"https://api.github.com/users/lucyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyparsons/subscriptions","organizations_url":"https://api.github.com/users/lucyparsons/orgs","repos_url":"https://api.github.com/users/lucyparsons/repos","events_url":"https://api.github.com/users/lucyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/lucyparsons/received_events","type":"Organization","site_admin":false},"repo":{"id":55662896,"node_id":"MDEwOlJlcG9zaXRvcnk1NTY2Mjg5Ng==","name":"OpenOversight","full_name":"lucyparsons/OpenOversight","owner":{"login":"lucyparsons","id":14915368,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTE1MzY4","avatar_url":"https://avatars1.githubusercontent.com/u/14915368?v=4","gravatar_id":"","url":"https://api.github.com/users/lucyparsons","html_url":"https://github.com/lucyparsons","followers_url":"https://api.github.com/users/lucyparsons/followers","following_url":"https://api.github.com/users/lucyparsons/following{/other_user}","gists_url":"https://api.github.com/users/lucyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyparsons/subscriptions","organizations_url":"https://api.github.com/users/lucyparsons/orgs","repos_url":"https://api.github.com/users/lucyparsons/repos","events_url":"https://api.github.com/users/lucyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/lucyparsons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lucyparsons/OpenOversight","description":"Police oversight and accountability through public data 👮","fork":false,"url":"https://api.github.com/repos/lucyparsons/OpenOversight","forks_url":"https://api.github.com/repos/lucyparsons/OpenOversight/forks","keys_url":"https://api.github.com/repos/lucyparsons/OpenOversight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucyparsons/OpenOversight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucyparsons/OpenOversight/teams","hooks_url":"https://api.github.com/repos/lucyparsons/OpenOversight/hooks","issue_events_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/events{/number}","events_url":"https://api.github.com/repos/lucyparsons/OpenOversight/events","assignees_url":"https://api.github.com/repos/lucyparsons/OpenOversight/assignees{/user}","branches_url":"https://api.github.com/repos/lucyparsons/OpenOversight/branches{/branch}","tags_url":"https://api.github.com/repos/lucyparsons/OpenOversight/tags","blobs_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucyparsons/OpenOversight/statuses/{sha}","languages_url":"https://api.github.com/repos/lucyparsons/OpenOversight/languages","stargazers_url":"https://api.github.com/repos/lucyparsons/OpenOversight/stargazers","contributors_url":"https://api.github.com/repos/lucyparsons/OpenOversight/contributors","subscribers_url":"https://api.github.com/repos/lucyparsons/OpenOversight/subscribers","subscription_url":"https://api.github.com/repos/lucyparsons/OpenOversight/subscription","commits_url":"https://api.github.com/repos/lucyparsons/OpenOversight/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucyparsons/OpenOversight/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucyparsons/OpenOversight/contents/{+path}","compare_url":"https://api.github.com/repos/lucyparsons/OpenOversight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucyparsons/OpenOversight/merges","archive_url":"https://api.github.com/repos/lucyparsons/OpenOversight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucyparsons/OpenOversight/downloads","issues_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues{/number}","pulls_url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls{/number}","milestones_url":"https://api.github.com/repos/lucyparsons/OpenOversight/milestones{/number}","notifications_url":"https://api.github.com/repos/lucyparsons/OpenOversight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucyparsons/OpenOversight/labels{/name}","releases_url":"https://api.github.com/repos/lucyparsons/OpenOversight/releases{/id}","deployments_url":"https://api.github.com/repos/lucyparsons/OpenOversight/deployments","created_at":"2016-04-07T04:10:42Z","updated_at":"2018-08-14T20:06:22Z","pushed_at":"2018-08-14T18:37:58Z","git_url":"git://github.com/lucyparsons/OpenOversight.git","ssh_url":"git@github.com:lucyparsons/OpenOversight.git","clone_url":"https://github.com/lucyparsons/OpenOversight.git","svn_url":"https://github.com/lucyparsons/OpenOversight","homepage":"https://openoversight.com","size":10442,"stargazers_count":91,"watchers_count":91,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":140,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":34,"open_issues":140,"watchers":91,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/538"},"html":{"href":"https://github.com/lucyparsons/OpenOversight/pull/538"},"issue":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/538"},"comments":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/538/comments"},"review_comments":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/538/comments"},"review_comment":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/538/commits"},"statuses":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/statuses/616bb0973856bdc61205b43c4a4969a3f75c2643"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":33,"deletions":5,"changed_files":3}}
{"actor":{"display_login":"nmanfred"}}