{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/olympia/pulls/comments/36549687","id":36549687,"diff_hunk":"@@ -130,6 +134,24 @@\n         {{ _('Fetching file.') }}\n         </p>\n       </div>\n+      {% if automated_signing %}\n+        <div id=\"validation-options\">\n+          <div>\n+            <label>\n+              <input type=\"checkbox\" id=\"signing-hide-unnecessary\" checked=\"true\">\n+              {{ _('Hide messages not required for automated signing') }}\n+            </label>\n+          </div>\n+          <div id=\"signing-hide-ignored-container\"\n+                {% if not (validation_data and validation_data.signing_ignored_summary) %}class=\"js-hidden\"{% endif\n+            %}>\n+            <label>\n+              <input type=\"checkbox\" id=\"signing-hide-ignored\" checked=\"true\">\n+              {{ _('Hide messages present in previous version and ignored') }}","path":"apps/files/templates/files/viewer.html","position":37,"original_position":37,"commit_id":"6071c77dc0318c43ea8bb25115c6adabc207a07f","original_commit_id":"6071c77dc0318c43ea8bb25115c6adabc207a07f","user":{"login":"kmaglione","id":125842,"avatar_url":"https://avatars.githubusercontent.com/u/125842?v=3","gravatar_id":"","url":"https://api.github.com/users/kmaglione","html_url":"https://github.com/kmaglione","followers_url":"https://api.github.com/users/kmaglione/followers","following_url":"https://api.github.com/users/kmaglione/following{/other_user}","gists_url":"https://api.github.com/users/kmaglione/gists{/gist_id}","starred_url":"https://api.github.com/users/kmaglione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmaglione/subscriptions","organizations_url":"https://api.github.com/users/kmaglione/orgs","repos_url":"https://api.github.com/users/kmaglione/repos","events_url":"https://api.github.com/users/kmaglione/events{/privacy}","received_events_url":"https://api.github.com/users/kmaglione/received_events","type":"User","site_admin":false},"body":"That does sound a bit better, yeah. But this text is copied from the main validation viewer. I'm hoping to get some input from UX before I change it.","created_at":"2015-08-07T18:54:00Z","updated_at":"2015-08-07T18:54:00Z","html_url":"https://github.com/mozilla/olympia/pull/642#discussion_r36549687","pull_request_url":"https://api.github.com/repos/mozilla/olympia/pulls/642","_links":{"self":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/comments/36549687"},"html":{"href":"https://github.com/mozilla/olympia/pull/642#discussion_r36549687"},"pull_request":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/642"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/olympia/pulls/642","id":41744273,"html_url":"https://github.com/mozilla/olympia/pull/642","diff_url":"https://github.com/mozilla/olympia/pull/642.diff","patch_url":"https://github.com/mozilla/olympia/pull/642.patch","issue_url":"https://api.github.com/repos/mozilla/olympia/issues/642","number":642,"state":"open","locked":false,"title":"Improve validation integration with the file viewer","user":{"login":"kmaglione","id":125842,"avatar_url":"https://avatars.githubusercontent.com/u/125842?v=3","gravatar_id":"","url":"https://api.github.com/users/kmaglione","html_url":"https://github.com/kmaglione","followers_url":"https://api.github.com/users/kmaglione/followers","following_url":"https://api.github.com/users/kmaglione/following{/other_user}","gists_url":"https://api.github.com/users/kmaglione/gists{/gist_id}","starred_url":"https://api.github.com/users/kmaglione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmaglione/subscriptions","organizations_url":"https://api.github.com/users/kmaglione/orgs","repos_url":"https://api.github.com/users/kmaglione/repos","events_url":"https://api.github.com/users/kmaglione/events{/privacy}","received_events_url":"https://api.github.com/users/kmaglione/received_events","type":"User","site_admin":false},"body":"This is on top of #641, since it relies on those changes.","created_at":"2015-08-06T01:34:02Z","updated_at":"2015-08-07T18:54:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"311ea9fe34e303128e752b6afa7e4b30aa24cf3c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/olympia/pulls/642/commits","review_comments_url":"https://api.github.com/repos/mozilla/olympia/pulls/642/comments","review_comment_url":"https://api.github.com/repos/mozilla/olympia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/olympia/issues/642/comments","statuses_url":"https://api.github.com/repos/mozilla/olympia/statuses/6071c77dc0318c43ea8bb25115c6adabc207a07f","head":{"label":"kmaglione:file-viewer-validation","ref":"file-viewer-validation","sha":"6071c77dc0318c43ea8bb25115c6adabc207a07f","user":{"login":"kmaglione","id":125842,"avatar_url":"https://avatars.githubusercontent.com/u/125842?v=3","gravatar_id":"","url":"https://api.github.com/users/kmaglione","html_url":"https://github.com/kmaglione","followers_url":"https://api.github.com/users/kmaglione/followers","following_url":"https://api.github.com/users/kmaglione/following{/other_user}","gists_url":"https://api.github.com/users/kmaglione/gists{/gist_id}","starred_url":"https://api.github.com/users/kmaglione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmaglione/subscriptions","organizations_url":"https://api.github.com/users/kmaglione/orgs","repos_url":"https://api.github.com/users/kmaglione/repos","events_url":"https://api.github.com/users/kmaglione/events{/privacy}","received_events_url":"https://api.github.com/users/kmaglione/received_events","type":"User","site_admin":false},"repo":{"id":17609368,"name":"olympia","full_name":"kmaglione/olympia","owner":{"login":"kmaglione","id":125842,"avatar_url":"https://avatars.githubusercontent.com/u/125842?v=3","gravatar_id":"","url":"https://api.github.com/users/kmaglione","html_url":"https://github.com/kmaglione","followers_url":"https://api.github.com/users/kmaglione/followers","following_url":"https://api.github.com/users/kmaglione/following{/other_user}","gists_url":"https://api.github.com/users/kmaglione/gists{/gist_id}","starred_url":"https://api.github.com/users/kmaglione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmaglione/subscriptions","organizations_url":"https://api.github.com/users/kmaglione/orgs","repos_url":"https://api.github.com/users/kmaglione/repos","events_url":"https://api.github.com/users/kmaglione/events{/privacy}","received_events_url":"https://api.github.com/users/kmaglione/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kmaglione/olympia","description":"AMO, reloaded.","fork":true,"url":"https://api.github.com/repos/kmaglione/olympia","forks_url":"https://api.github.com/repos/kmaglione/olympia/forks","keys_url":"https://api.github.com/repos/kmaglione/olympia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kmaglione/olympia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kmaglione/olympia/teams","hooks_url":"https://api.github.com/repos/kmaglione/olympia/hooks","issue_events_url":"https://api.github.com/repos/kmaglione/olympia/issues/events{/number}","events_url":"https://api.github.com/repos/kmaglione/olympia/events","assignees_url":"https://api.github.com/repos/kmaglione/olympia/assignees{/user}","branches_url":"https://api.github.com/repos/kmaglione/olympia/branches{/branch}","tags_url":"https://api.github.com/repos/kmaglione/olympia/tags","blobs_url":"https://api.github.com/repos/kmaglione/olympia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kmaglione/olympia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kmaglione/olympia/git/refs{/sha}","trees_url":"https://api.github.com/repos/kmaglione/olympia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kmaglione/olympia/statuses/{sha}","languages_url":"https://api.github.com/repos/kmaglione/olympia/languages","stargazers_url":"https://api.github.com/repos/kmaglione/olympia/stargazers","contributors_url":"https://api.github.com/repos/kmaglione/olympia/contributors","subscribers_url":"https://api.github.com/repos/kmaglione/olympia/subscribers","subscription_url":"https://api.github.com/repos/kmaglione/olympia/subscription","commits_url":"https://api.github.com/repos/kmaglione/olympia/commits{/sha}","git_commits_url":"https://api.github.com/repos/kmaglione/olympia/git/commits{/sha}","comments_url":"https://api.github.com/repos/kmaglione/olympia/comments{/number}","issue_comment_url":"https://api.github.com/repos/kmaglione/olympia/issues/comments{/number}","contents_url":"https://api.github.com/repos/kmaglione/olympia/contents/{+path}","compare_url":"https://api.github.com/repos/kmaglione/olympia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kmaglione/olympia/merges","archive_url":"https://api.github.com/repos/kmaglione/olympia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kmaglione/olympia/downloads","issues_url":"https://api.github.com/repos/kmaglione/olympia/issues{/number}","pulls_url":"https://api.github.com/repos/kmaglione/olympia/pulls{/number}","milestones_url":"https://api.github.com/repos/kmaglione/olympia/milestones{/number}","notifications_url":"https://api.github.com/repos/kmaglione/olympia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kmaglione/olympia/labels{/name}","releases_url":"https://api.github.com/repos/kmaglione/olympia/releases{/id}","created_at":"2014-03-10T21:34:02Z","updated_at":"2015-06-16T23:09:57Z","pushed_at":"2015-08-07T05:54:03Z","git_url":"git://github.com/kmaglione/olympia.git","ssh_url":"git@github.com:kmaglione/olympia.git","clone_url":"https://github.com/kmaglione/olympia.git","svn_url":"https://github.com/kmaglione/olympia","homepage":"","size":399470,"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":"mozilla:master","ref":"master","sha":"df29c07ecbd96535e7664939742f9cbed435e49a","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":16416867,"name":"olympia","full_name":"mozilla/olympia","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/olympia","description":"addons.mozilla.org, reloaded.","fork":false,"url":"https://api.github.com/repos/mozilla/olympia","forks_url":"https://api.github.com/repos/mozilla/olympia/forks","keys_url":"https://api.github.com/repos/mozilla/olympia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/olympia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/olympia/teams","hooks_url":"https://api.github.com/repos/mozilla/olympia/hooks","issue_events_url":"https://api.github.com/repos/mozilla/olympia/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/olympia/events","assignees_url":"https://api.github.com/repos/mozilla/olympia/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/olympia/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/olympia/tags","blobs_url":"https://api.github.com/repos/mozilla/olympia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/olympia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/olympia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/olympia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/olympia/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/olympia/languages","stargazers_url":"https://api.github.com/repos/mozilla/olympia/stargazers","contributors_url":"https://api.github.com/repos/mozilla/olympia/contributors","subscribers_url":"https://api.github.com/repos/mozilla/olympia/subscribers","subscription_url":"https://api.github.com/repos/mozilla/olympia/subscription","commits_url":"https://api.github.com/repos/mozilla/olympia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/olympia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/olympia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/olympia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/olympia/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/olympia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/olympia/merges","archive_url":"https://api.github.com/repos/mozilla/olympia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/olympia/downloads","issues_url":"https://api.github.com/repos/mozilla/olympia/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/olympia/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/olympia/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/olympia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/olympia/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/olympia/releases{/id}","created_at":"2014-01-31T18:44:15Z","updated_at":"2015-08-06T11:04:26Z","pushed_at":"2015-08-07T05:54:04Z","git_url":"git://github.com/mozilla/olympia.git","ssh_url":"git@github.com:mozilla/olympia.git","clone_url":"https://github.com/mozilla/olympia.git","svn_url":"https://github.com/mozilla/olympia","homepage":"https://addons.mozilla.org/","size":450084,"stargazers_count":41,"watchers_count":41,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":15,"forks":91,"open_issues":15,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/642"},"html":{"href":"https://github.com/mozilla/olympia/pull/642"},"issue":{"href":"https://api.github.com/repos/mozilla/olympia/issues/642"},"comments":{"href":"https://api.github.com/repos/mozilla/olympia/issues/642/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/642/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/642/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/olympia/statuses/6071c77dc0318c43ea8bb25115c6adabc207a07f"}}}}