{"action":"created","comment":{"url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments/51721193","id":51721193,"diff_hunk":"@@ -33,11 +34,20 @@\n        this.initFeedback = function(opts) {\n          options['button'] = opts['button'] || 'Send';\n          options['close'] = opts['close'] || 'Close';\n-         options['error'] = opts['error'] ||\n+         options['emailError'] = opts['emailError'] ||\n+           '<strong>Oh snap!</strong> We need your email to follow up on your feedback.';\n+         options['emailLabel'] = opts['emailLabel'] ||\n+           'Please enter your email:';\n+         options['feedbackError'] = opts['feedbackError'] ||\n            '<strong>Oh snap!</strong> It seems like you forgot to input your feedback?';\n-         options['label'] = opts['label'] ||\n-           'We welcome problem reports, feature ideas and general comments:';\n+         options['feedbackLabel'] = opts['feedbackLabel'] ||\n+           'INSPIRE Labs welcomes problem reports, feature ideas and general \\\n+           comments. For missing citations in the current INSPIRE please refer \\\n+           to <a href=\"https://inspirehep.net/info/hep/corrections_reference\"> \\","path":"inspirehep/base/static/js/feedback/feedback.js","position":null,"original_position":36,"commit_id":"3dc8dc4d39df82c4b77d41827f443647494be266","original_commit_id":"a5b0d3a562fd886b910b66f0776cea6dde57bc9e","user":{"login":"jacquerie","id":381280,"avatar_url":"https://avatars.githubusercontent.com/u/381280?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquerie","html_url":"https://github.com/jacquerie","followers_url":"https://api.github.com/users/jacquerie/followers","following_url":"https://api.github.com/users/jacquerie/following{/other_user}","gists_url":"https://api.github.com/users/jacquerie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquerie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquerie/subscriptions","organizations_url":"https://api.github.com/users/jacquerie/orgs","repos_url":"https://api.github.com/users/jacquerie/repos","events_url":"https://api.github.com/users/jacquerie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquerie/received_events","type":"User","site_admin":false},"body":":+1: \r\n\r\nGood catch!","created_at":"2016-02-03T13:41:49Z","updated_at":"2016-02-03T13:41:49Z","html_url":"https://github.com/inspirehep/inspire-next/pull/599#discussion_r51721193","pull_request_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/599","_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments/51721193"},"html":{"href":"https://github.com/inspirehep/inspire-next/pull/599#discussion_r51721193"},"pull_request":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/599"}}},"pull_request":{"url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/599","id":52341021,"html_url":"https://github.com/inspirehep/inspire-next/pull/599","diff_url":"https://github.com/inspirehep/inspire-next/pull/599.diff","patch_url":"https://github.com/inspirehep/inspire-next/pull/599.patch","issue_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/599","number":599,"state":"open","locked":false,"title":"Disallow anonymous feedback","user":{"login":"jacquerie","id":381280,"avatar_url":"https://avatars.githubusercontent.com/u/381280?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquerie","html_url":"https://github.com/jacquerie","followers_url":"https://api.github.com/users/jacquerie/followers","following_url":"https://api.github.com/users/jacquerie/following{/other_user}","gists_url":"https://api.github.com/users/jacquerie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquerie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquerie/subscriptions","organizations_url":"https://api.github.com/users/jacquerie/orgs","repos_url":"https://api.github.com/users/jacquerie/repos","events_url":"https://api.github.com/users/jacquerie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquerie/received_events","type":"User","site_admin":false},"body":"As requested in #465, disallow anonymous feedback. Instead of implementing the solution proposed by @jmartinm I decided for another flow:\r\n\r\nIf the user is logged in, she can submit her feedback exactly like today. If the user is not logged in, when she tries to submit her feedback, a new field is added to the popup, requesting the email.","created_at":"2015-12-02T01:15:49Z","updated_at":"2016-02-03T13:41:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44ffc34861195af99797ae374bd78f4597e1644e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/599/commits","review_comments_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/599/comments","review_comment_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/599/comments","statuses_url":"https://api.github.com/repos/inspirehep/inspire-next/statuses/3dc8dc4d39df82c4b77d41827f443647494be266","head":{"label":"jacquerie:disallow-anonymous-feedback","ref":"disallow-anonymous-feedback","sha":"3dc8dc4d39df82c4b77d41827f443647494be266","user":{"login":"jacquerie","id":381280,"avatar_url":"https://avatars.githubusercontent.com/u/381280?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquerie","html_url":"https://github.com/jacquerie","followers_url":"https://api.github.com/users/jacquerie/followers","following_url":"https://api.github.com/users/jacquerie/following{/other_user}","gists_url":"https://api.github.com/users/jacquerie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquerie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquerie/subscriptions","organizations_url":"https://api.github.com/users/jacquerie/orgs","repos_url":"https://api.github.com/users/jacquerie/repos","events_url":"https://api.github.com/users/jacquerie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquerie/received_events","type":"User","site_admin":false},"repo":{"id":30241195,"name":"inspire-next","full_name":"jacquerie/inspire-next","owner":{"login":"jacquerie","id":381280,"avatar_url":"https://avatars.githubusercontent.com/u/381280?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquerie","html_url":"https://github.com/jacquerie","followers_url":"https://api.github.com/users/jacquerie/followers","following_url":"https://api.github.com/users/jacquerie/following{/other_user}","gists_url":"https://api.github.com/users/jacquerie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquerie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquerie/subscriptions","organizations_url":"https://api.github.com/users/jacquerie/orgs","repos_url":"https://api.github.com/users/jacquerie/repos","events_url":"https://api.github.com/users/jacquerie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquerie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacquerie/inspire-next","description":"INSPIRE overlay repository to be used with Invenio's NEXT branch","fork":true,"url":"https://api.github.com/repos/jacquerie/inspire-next","forks_url":"https://api.github.com/repos/jacquerie/inspire-next/forks","keys_url":"https://api.github.com/repos/jacquerie/inspire-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacquerie/inspire-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacquerie/inspire-next/teams","hooks_url":"https://api.github.com/repos/jacquerie/inspire-next/hooks","issue_events_url":"https://api.github.com/repos/jacquerie/inspire-next/issues/events{/number}","events_url":"https://api.github.com/repos/jacquerie/inspire-next/events","assignees_url":"https://api.github.com/repos/jacquerie/inspire-next/assignees{/user}","branches_url":"https://api.github.com/repos/jacquerie/inspire-next/branches{/branch}","tags_url":"https://api.github.com/repos/jacquerie/inspire-next/tags","blobs_url":"https://api.github.com/repos/jacquerie/inspire-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacquerie/inspire-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacquerie/inspire-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacquerie/inspire-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacquerie/inspire-next/statuses/{sha}","languages_url":"https://api.github.com/repos/jacquerie/inspire-next/languages","stargazers_url":"https://api.github.com/repos/jacquerie/inspire-next/stargazers","contributors_url":"https://api.github.com/repos/jacquerie/inspire-next/contributors","subscribers_url":"https://api.github.com/repos/jacquerie/inspire-next/subscribers","subscription_url":"https://api.github.com/repos/jacquerie/inspire-next/subscription","commits_url":"https://api.github.com/repos/jacquerie/inspire-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacquerie/inspire-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacquerie/inspire-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacquerie/inspire-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacquerie/inspire-next/contents/{+path}","compare_url":"https://api.github.com/repos/jacquerie/inspire-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacquerie/inspire-next/merges","archive_url":"https://api.github.com/repos/jacquerie/inspire-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacquerie/inspire-next/downloads","issues_url":"https://api.github.com/repos/jacquerie/inspire-next/issues{/number}","pulls_url":"https://api.github.com/repos/jacquerie/inspire-next/pulls{/number}","milestones_url":"https://api.github.com/repos/jacquerie/inspire-next/milestones{/number}","notifications_url":"https://api.github.com/repos/jacquerie/inspire-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacquerie/inspire-next/labels{/name}","releases_url":"https://api.github.com/repos/jacquerie/inspire-next/releases{/id}","deployments_url":"https://api.github.com/repos/jacquerie/inspire-next/deployments","created_at":"2015-02-03T12:17:40Z","updated_at":"2016-02-01T10:08:02Z","pushed_at":"2016-02-03T13:41:17Z","git_url":"git://github.com/jacquerie/inspire-next.git","ssh_url":"git@github.com:jacquerie/inspire-next.git","clone_url":"https://github.com/jacquerie/inspire-next.git","svn_url":"https://github.com/jacquerie/inspire-next","homepage":null,"size":45772,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"inspirehep:master","ref":"master","sha":"7e2e4937f5c11026d698f9a724d03cde34c41768","user":{"login":"inspirehep","id":356664,"avatar_url":"https://avatars.githubusercontent.com/u/356664?v=3","gravatar_id":"","url":"https://api.github.com/users/inspirehep","html_url":"https://github.com/inspirehep","followers_url":"https://api.github.com/users/inspirehep/followers","following_url":"https://api.github.com/users/inspirehep/following{/other_user}","gists_url":"https://api.github.com/users/inspirehep/gists{/gist_id}","starred_url":"https://api.github.com/users/inspirehep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspirehep/subscriptions","organizations_url":"https://api.github.com/users/inspirehep/orgs","repos_url":"https://api.github.com/users/inspirehep/repos","events_url":"https://api.github.com/users/inspirehep/events{/privacy}","received_events_url":"https://api.github.com/users/inspirehep/received_events","type":"Organization","site_admin":false},"repo":{"id":15221515,"name":"inspire-next","full_name":"inspirehep/inspire-next","owner":{"login":"inspirehep","id":356664,"avatar_url":"https://avatars.githubusercontent.com/u/356664?v=3","gravatar_id":"","url":"https://api.github.com/users/inspirehep","html_url":"https://github.com/inspirehep","followers_url":"https://api.github.com/users/inspirehep/followers","following_url":"https://api.github.com/users/inspirehep/following{/other_user}","gists_url":"https://api.github.com/users/inspirehep/gists{/gist_id}","starred_url":"https://api.github.com/users/inspirehep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspirehep/subscriptions","organizations_url":"https://api.github.com/users/inspirehep/orgs","repos_url":"https://api.github.com/users/inspirehep/repos","events_url":"https://api.github.com/users/inspirehep/events{/privacy}","received_events_url":"https://api.github.com/users/inspirehep/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inspirehep/inspire-next","description":"INSPIRE overlay repository to be used with https://github.com/inspirehep/invenio@labs branch","fork":false,"url":"https://api.github.com/repos/inspirehep/inspire-next","forks_url":"https://api.github.com/repos/inspirehep/inspire-next/forks","keys_url":"https://api.github.com/repos/inspirehep/inspire-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inspirehep/inspire-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inspirehep/inspire-next/teams","hooks_url":"https://api.github.com/repos/inspirehep/inspire-next/hooks","issue_events_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/events{/number}","events_url":"https://api.github.com/repos/inspirehep/inspire-next/events","assignees_url":"https://api.github.com/repos/inspirehep/inspire-next/assignees{/user}","branches_url":"https://api.github.com/repos/inspirehep/inspire-next/branches{/branch}","tags_url":"https://api.github.com/repos/inspirehep/inspire-next/tags","blobs_url":"https://api.github.com/repos/inspirehep/inspire-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inspirehep/inspire-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inspirehep/inspire-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/inspirehep/inspire-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inspirehep/inspire-next/statuses/{sha}","languages_url":"https://api.github.com/repos/inspirehep/inspire-next/languages","stargazers_url":"https://api.github.com/repos/inspirehep/inspire-next/stargazers","contributors_url":"https://api.github.com/repos/inspirehep/inspire-next/contributors","subscribers_url":"https://api.github.com/repos/inspirehep/inspire-next/subscribers","subscription_url":"https://api.github.com/repos/inspirehep/inspire-next/subscription","commits_url":"https://api.github.com/repos/inspirehep/inspire-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/inspirehep/inspire-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/inspirehep/inspire-next/contents/{+path}","compare_url":"https://api.github.com/repos/inspirehep/inspire-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inspirehep/inspire-next/merges","archive_url":"https://api.github.com/repos/inspirehep/inspire-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inspirehep/inspire-next/downloads","issues_url":"https://api.github.com/repos/inspirehep/inspire-next/issues{/number}","pulls_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls{/number}","milestones_url":"https://api.github.com/repos/inspirehep/inspire-next/milestones{/number}","notifications_url":"https://api.github.com/repos/inspirehep/inspire-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inspirehep/inspire-next/labels{/name}","releases_url":"https://api.github.com/repos/inspirehep/inspire-next/releases{/id}","deployments_url":"https://api.github.com/repos/inspirehep/inspire-next/deployments","created_at":"2013-12-16T09:11:58Z","updated_at":"2016-01-16T14:30:46Z","pushed_at":"2016-02-03T13:41:18Z","git_url":"git://github.com/inspirehep/inspire-next.git","ssh_url":"git@github.com:inspirehep/inspire-next.git","clone_url":"https://github.com/inspirehep/inspire-next.git","svn_url":"https://github.com/inspirehep/inspire-next","homepage":"https://labs.inspirehep.net","size":50053,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":107,"forks":23,"open_issues":107,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/599"},"html":{"href":"https://github.com/inspirehep/inspire-next/pull/599"},"issue":{"href":"https://api.github.com/repos/inspirehep/inspire-next/issues/599"},"comments":{"href":"https://api.github.com/repos/inspirehep/inspire-next/issues/599/comments"},"review_comments":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/599/comments"},"review_comment":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/599/commits"},"statuses":{"href":"https://api.github.com/repos/inspirehep/inspire-next/statuses/3dc8dc4d39df82c4b77d41827f443647494be266"}}}}