{"action":"created","comment":{"url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments/32224958","id":32224958,"diff_hunk":"@@ -3,7 +3,7 @@ class UserSerializer\n   include RecentLinkSerializer\n   include MediaLinksSerializer\n \n-  attributes :id, :display_name, :credited_name, :email, :created_at,\n+  attributes :id, :login, :display_name, :credited_name, :email, :created_at,\n     :updated_at, :type, :firebase_auth_token, :global_email_communication,\n     :project_email_communication, :beta_email_communication,\n     :slug, :max_subjects, :uploaded_subjects_count, :admin","path":"app/serializers/user_serializer.rb","position":8,"original_position":8,"commit_id":"6e1167d6409a63e4ec9cfcd730a2831b613200ae","original_commit_id":"50834fb7598510cea0a8842ade4003a95ee81113","user":{"login":"edpaget","id":108177,"avatar_url":"https://avatars.githubusercontent.com/u/108177?v=3","gravatar_id":"","url":"https://api.github.com/users/edpaget","html_url":"https://github.com/edpaget","followers_url":"https://api.github.com/users/edpaget/followers","following_url":"https://api.github.com/users/edpaget/following{/other_user}","gists_url":"https://api.github.com/users/edpaget/gists{/gist_id}","starred_url":"https://api.github.com/users/edpaget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edpaget/subscriptions","organizations_url":"https://api.github.com/users/edpaget/orgs","repos_url":"https://api.github.com/users/edpaget/repos","events_url":"https://api.github.com/users/edpaget/events{/privacy}","received_events_url":"https://api.github.com/users/edpaget/received_events","type":"User","site_admin":false},"body":"Sorry the second one. ","created_at":"2015-06-11T14:19:41Z","updated_at":"2015-06-11T14:19:41Z","html_url":"https://github.com/zooniverse/Panoptes/pull/960#discussion_r32224958","pull_request_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/960","_links":{"self":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments/32224958"},"html":{"href":"https://github.com/zooniverse/Panoptes/pull/960#discussion_r32224958"},"pull_request":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/960"}}},"pull_request":{"url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/960","id":37305653,"html_url":"https://github.com/zooniverse/Panoptes/pull/960","diff_url":"https://github.com/zooniverse/Panoptes/pull/960.diff","patch_url":"https://github.com/zooniverse/Panoptes/pull/960.patch","issue_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/960","number":960,"state":"open","locked":false,"title":"User login","user":{"login":"parrish","id":122990,"avatar_url":"https://avatars.githubusercontent.com/u/122990?v=3","gravatar_id":"","url":"https://api.github.com/users/parrish","html_url":"https://github.com/parrish","followers_url":"https://api.github.com/users/parrish/followers","following_url":"https://api.github.com/users/parrish/following{/other_user}","gists_url":"https://api.github.com/users/parrish/gists{/gist_id}","starred_url":"https://api.github.com/users/parrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parrish/subscriptions","organizations_url":"https://api.github.com/users/parrish/orgs","repos_url":"https://api.github.com/users/parrish/repos","events_url":"https://api.github.com/users/parrish/events{/privacy}","received_events_url":"https://api.github.com/users/parrish/received_events","type":"User","site_admin":false},"body":"This is based on the discussion that came up on zooniverse/Panoptes-Front-End#513.\r\n\r\nThe gist is that we shouldn't be conflating what a user displays their name as publicly with what they login with.\r\n\r\nMoreover, we can restrict wacky characters in logins while supporting old zooniverse home logins via display_name.","created_at":"2015-06-09T22:07:59Z","updated_at":"2015-06-11T14:19:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3075ada14c790e05beb4eab1ebb5d3ee2d5964f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/960/commits","review_comments_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/960/comments","review_comment_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/960/comments","statuses_url":"https://api.github.com/repos/zooniverse/Panoptes/statuses/6e1167d6409a63e4ec9cfcd730a2831b613200ae","head":{"label":"parrish:user_login","ref":"user_login","sha":"6e1167d6409a63e4ec9cfcd730a2831b613200ae","user":{"login":"parrish","id":122990,"avatar_url":"https://avatars.githubusercontent.com/u/122990?v=3","gravatar_id":"","url":"https://api.github.com/users/parrish","html_url":"https://github.com/parrish","followers_url":"https://api.github.com/users/parrish/followers","following_url":"https://api.github.com/users/parrish/following{/other_user}","gists_url":"https://api.github.com/users/parrish/gists{/gist_id}","starred_url":"https://api.github.com/users/parrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parrish/subscriptions","organizations_url":"https://api.github.com/users/parrish/orgs","repos_url":"https://api.github.com/users/parrish/repos","events_url":"https://api.github.com/users/parrish/events{/privacy}","received_events_url":"https://api.github.com/users/parrish/received_events","type":"User","site_admin":false},"repo":{"id":21216042,"name":"Panoptes","full_name":"parrish/Panoptes","owner":{"login":"parrish","id":122990,"avatar_url":"https://avatars.githubusercontent.com/u/122990?v=3","gravatar_id":"","url":"https://api.github.com/users/parrish","html_url":"https://github.com/parrish","followers_url":"https://api.github.com/users/parrish/followers","following_url":"https://api.github.com/users/parrish/following{/other_user}","gists_url":"https://api.github.com/users/parrish/gists{/gist_id}","starred_url":"https://api.github.com/users/parrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parrish/subscriptions","organizations_url":"https://api.github.com/users/parrish/orgs","repos_url":"https://api.github.com/users/parrish/repos","events_url":"https://api.github.com/users/parrish/events{/privacy}","received_events_url":"https://api.github.com/users/parrish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/parrish/Panoptes","description":"It sees everything","fork":true,"url":"https://api.github.com/repos/parrish/Panoptes","forks_url":"https://api.github.com/repos/parrish/Panoptes/forks","keys_url":"https://api.github.com/repos/parrish/Panoptes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parrish/Panoptes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parrish/Panoptes/teams","hooks_url":"https://api.github.com/repos/parrish/Panoptes/hooks","issue_events_url":"https://api.github.com/repos/parrish/Panoptes/issues/events{/number}","events_url":"https://api.github.com/repos/parrish/Panoptes/events","assignees_url":"https://api.github.com/repos/parrish/Panoptes/assignees{/user}","branches_url":"https://api.github.com/repos/parrish/Panoptes/branches{/branch}","tags_url":"https://api.github.com/repos/parrish/Panoptes/tags","blobs_url":"https://api.github.com/repos/parrish/Panoptes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parrish/Panoptes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parrish/Panoptes/git/refs{/sha}","trees_url":"https://api.github.com/repos/parrish/Panoptes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parrish/Panoptes/statuses/{sha}","languages_url":"https://api.github.com/repos/parrish/Panoptes/languages","stargazers_url":"https://api.github.com/repos/parrish/Panoptes/stargazers","contributors_url":"https://api.github.com/repos/parrish/Panoptes/contributors","subscribers_url":"https://api.github.com/repos/parrish/Panoptes/subscribers","subscription_url":"https://api.github.com/repos/parrish/Panoptes/subscription","commits_url":"https://api.github.com/repos/parrish/Panoptes/commits{/sha}","git_commits_url":"https://api.github.com/repos/parrish/Panoptes/git/commits{/sha}","comments_url":"https://api.github.com/repos/parrish/Panoptes/comments{/number}","issue_comment_url":"https://api.github.com/repos/parrish/Panoptes/issues/comments{/number}","contents_url":"https://api.github.com/repos/parrish/Panoptes/contents/{+path}","compare_url":"https://api.github.com/repos/parrish/Panoptes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parrish/Panoptes/merges","archive_url":"https://api.github.com/repos/parrish/Panoptes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parrish/Panoptes/downloads","issues_url":"https://api.github.com/repos/parrish/Panoptes/issues{/number}","pulls_url":"https://api.github.com/repos/parrish/Panoptes/pulls{/number}","milestones_url":"https://api.github.com/repos/parrish/Panoptes/milestones{/number}","notifications_url":"https://api.github.com/repos/parrish/Panoptes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parrish/Panoptes/labels{/name}","releases_url":"https://api.github.com/repos/parrish/Panoptes/releases{/id}","created_at":"2014-06-25T19:38:54Z","updated_at":"2014-06-25T12:37:59Z","pushed_at":"2015-06-10T21:30:07Z","git_url":"git://github.com/parrish/Panoptes.git","ssh_url":"git@github.com:parrish/Panoptes.git","clone_url":"https://github.com/parrish/Panoptes.git","svn_url":"https://github.com/parrish/Panoptes","homepage":"","size":3684,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"base":{"label":"zooniverse:master","ref":"master","sha":"590c7a8400556a07cb648576a8762e4e27494cc2","user":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"repo":{"id":19036577,"name":"Panoptes","full_name":"zooniverse/Panoptes","owner":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zooniverse/Panoptes","description":"It sees everything","fork":false,"url":"https://api.github.com/repos/zooniverse/Panoptes","forks_url":"https://api.github.com/repos/zooniverse/Panoptes/forks","keys_url":"https://api.github.com/repos/zooniverse/Panoptes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zooniverse/Panoptes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zooniverse/Panoptes/teams","hooks_url":"https://api.github.com/repos/zooniverse/Panoptes/hooks","issue_events_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/events{/number}","events_url":"https://api.github.com/repos/zooniverse/Panoptes/events","assignees_url":"https://api.github.com/repos/zooniverse/Panoptes/assignees{/user}","branches_url":"https://api.github.com/repos/zooniverse/Panoptes/branches{/branch}","tags_url":"https://api.github.com/repos/zooniverse/Panoptes/tags","blobs_url":"https://api.github.com/repos/zooniverse/Panoptes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zooniverse/Panoptes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zooniverse/Panoptes/git/refs{/sha}","trees_url":"https://api.github.com/repos/zooniverse/Panoptes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zooniverse/Panoptes/statuses/{sha}","languages_url":"https://api.github.com/repos/zooniverse/Panoptes/languages","stargazers_url":"https://api.github.com/repos/zooniverse/Panoptes/stargazers","contributors_url":"https://api.github.com/repos/zooniverse/Panoptes/contributors","subscribers_url":"https://api.github.com/repos/zooniverse/Panoptes/subscribers","subscription_url":"https://api.github.com/repos/zooniverse/Panoptes/subscription","commits_url":"https://api.github.com/repos/zooniverse/Panoptes/commits{/sha}","git_commits_url":"https://api.github.com/repos/zooniverse/Panoptes/git/commits{/sha}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes/comments{/number}","issue_comment_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/comments{/number}","contents_url":"https://api.github.com/repos/zooniverse/Panoptes/contents/{+path}","compare_url":"https://api.github.com/repos/zooniverse/Panoptes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zooniverse/Panoptes/merges","archive_url":"https://api.github.com/repos/zooniverse/Panoptes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zooniverse/Panoptes/downloads","issues_url":"https://api.github.com/repos/zooniverse/Panoptes/issues{/number}","pulls_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls{/number}","milestones_url":"https://api.github.com/repos/zooniverse/Panoptes/milestones{/number}","notifications_url":"https://api.github.com/repos/zooniverse/Panoptes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zooniverse/Panoptes/labels{/name}","releases_url":"https://api.github.com/repos/zooniverse/Panoptes/releases{/id}","created_at":"2014-04-22T16:16:02Z","updated_at":"2015-06-09T14:21:27Z","pushed_at":"2015-06-11T14:04:02Z","git_url":"git://github.com/zooniverse/Panoptes.git","ssh_url":"git@github.com:zooniverse/Panoptes.git","clone_url":"https://github.com/zooniverse/Panoptes.git","svn_url":"https://github.com/zooniverse/Panoptes","homepage":"","size":7042,"stargazers_count":27,"watchers_count":27,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":44,"forks":12,"open_issues":44,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/960"},"html":{"href":"https://github.com/zooniverse/Panoptes/pull/960"},"issue":{"href":"https://api.github.com/repos/zooniverse/Panoptes/issues/960"},"comments":{"href":"https://api.github.com/repos/zooniverse/Panoptes/issues/960/comments"},"review_comments":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/960/comments"},"review_comment":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/960/commits"},"statuses":{"href":"https://api.github.com/repos/zooniverse/Panoptes/statuses/6e1167d6409a63e4ec9cfcd730a2831b613200ae"}}}}