{"action":"created","comment":{"url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/comments/34633989","id":34633989,"diff_hunk":"@@ -0,0 +1,54 @@\n+<% @title = t('.title') %>\n+\n+<div class=\"l-colspan t-body\">\n+  <p><%= t '.header', :site => t('title') %></p>\n+\n+  <h2><%= t('.reporting.title') %></h2>\n+  <% contacts = Rails.configuration.contacts.security %>\n+  <p>\n+    <%= t('.reporting.contacting', :contacts => contacts.names).html_safe %>\n+  </p>\n+  <% contacts.each do |contact| %>\n+    <p>\n+      <%= t('.reporting.person', :name => contact.name,\n+                                :key_id => contact.key_id,\n+                                :full_fingerprint => contact.full_fingerprint,\n+                                :email => contact.email\n+           ).html_safe %>\n+    </p>\n+  <% end %>\n+  <p>\n+  <%= t('.reporting.list', :link => link_to(t('.list_name'), contacts.list_url)\n+       ).html_safe %>\n+  </p>\n+\n+  <h2><%= t('.your_security.title', :title => t('.title')) %></h2>\n+  <p>\n+    <%= t('.your_security.sign_uploads', :command => \"nc -l 3000\").html_safe %>\n+  </p>\n+  <p>\n+    <%= t('.your_security.alternative', :link => link_to(t('.your_security.alternative_text'), \"http://localhost/dont-pwn-me-bro\")\n+         ).html_safe %>\n+  </p>\n+  <p>\n+    <%= t('.your_security.disclaimer') %>\n+  </p>\n+\n+  <%# got tired of possible over-engineering above %>\n+  <h2>Reporting Website Problems</h2>\n+\n+  <p>\n+    To report a bug or to suggest an enhancement,\n+    send an e-mail to <webmaster@python.org>.","path":"app/views/pages/security.html.erb","position":42,"original_position":42,"commit_id":"658717690df7e05148fc538cdbc1384a61f57ac8","original_commit_id":"658717690df7e05148fc538cdbc1384a61f57ac8","user":{"login":"qrush","id":12610,"avatar_url":"https://avatars.githubusercontent.com/u/12610?v=3","gravatar_id":"","url":"https://api.github.com/users/qrush","html_url":"https://github.com/qrush","followers_url":"https://api.github.com/users/qrush/followers","following_url":"https://api.github.com/users/qrush/following{/other_user}","gists_url":"https://api.github.com/users/qrush/gists{/gist_id}","starred_url":"https://api.github.com/users/qrush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qrush/subscriptions","organizations_url":"https://api.github.com/users/qrush/orgs","repos_url":"https://api.github.com/users/qrush/repos","events_url":"https://api.github.com/users/qrush/events{/privacy}","received_events_url":"https://api.github.com/users/qrush/received_events","type":"User","site_admin":false},"body":"This page does not need i18n imo. +1 for removing.\n\nSent from my iPhone\n\n> On Jul 14, 2015, at 7:00 PM, Benjamin Fleischer <notifications@github.com> wrote:\n> \n> In app/views/pages/security.html.erb:\n> \n> > +    <%= t('.your_security.sign_uploads', :command => \"nc -l 3000\").html_safe %>\n> > +  </p>\n> > +  <p>\n> > +    <%= t('.your_security.alternative', :link => link_to(t('.your_security.alternative_text'), \"http://localhost/dont-pwn-me-bro\")\n> > +         ).html_safe %>\n> > +  </p>\n> > +  <p>\n> > +    <%= t('.your_security.disclaimer') %>\n> > +  </p>\n> > +\n> > +  <%# got tired of possible over-engineering above %>\n> > +  <h2>Reporting Website Problems</h2>\n> > +\n> > +  <p>\n> > +    To report a bug or to suggest an enhancement,\n> > +    send an e-mail to <webmaster@python.org>.\n> Maybe I'll back out the i18n to make this easier to review\n> …\n> ―\n> Reply to this email directly or view it on GitHub.\n> \n","created_at":"2015-07-15T00:01:32Z","updated_at":"2015-07-15T00:01:32Z","html_url":"https://github.com/rubygems/rubygems.org/pull/1016#discussion_r34633989","pull_request_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1016","_links":{"self":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/comments/34633989"},"html":{"href":"https://github.com/rubygems/rubygems.org/pull/1016#discussion_r34633989"},"pull_request":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1016"}}},"pull_request":{"url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1016","id":39969959,"html_url":"https://github.com/rubygems/rubygems.org/pull/1016","diff_url":"https://github.com/rubygems/rubygems.org/pull/1016.diff","patch_url":"https://github.com/rubygems/rubygems.org/pull/1016.patch","issue_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1016","number":1016,"state":"open","locked":false,"title":"Spike out a security page","user":{"login":"bf4","id":142914,"avatar_url":"https://avatars.githubusercontent.com/u/142914?v=3","gravatar_id":"","url":"https://api.github.com/users/bf4","html_url":"https://github.com/bf4","followers_url":"https://api.github.com/users/bf4/followers","following_url":"https://api.github.com/users/bf4/following{/other_user}","gists_url":"https://api.github.com/users/bf4/gists{/gist_id}","starred_url":"https://api.github.com/users/bf4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bf4/subscriptions","organizations_url":"https://api.github.com/users/bf4/orgs","repos_url":"https://api.github.com/users/bf4/repos","events_url":"https://api.github.com/users/bf4/events{/privacy}","received_events_url":"https://api.github.com/users/bf4/received_events","type":"User","site_admin":false},"body":"at `/pages/security`\r\n\r\nper discussion with @qrush \r\n\r\nObviously, language is all TBD, and it's missing tests.\r\n\r\ninspired by\r\n\r\n- https://pypi.python.org/security\r\n- https://www.python.org/about/website/\r\n\r\nScreenshot for convenience of how it renders\r\n\r\n<img width=\"365\" alt=\"screen shot 2015-07-14 at 5 23 25 pm\" src=\"https://cloud.githubusercontent.com/assets/142914/8686595/59d43962-2a4d-11e5-9464-8f766e754786.png\">","created_at":"2015-07-14T22:24:43Z","updated_at":"2015-07-15T00:01:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0925d5c15ac3528fc38f9223d706073eb796a548","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1016/commits","review_comments_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1016/comments","review_comment_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1016/comments","statuses_url":"https://api.github.com/repos/rubygems/rubygems.org/statuses/658717690df7e05148fc538cdbc1384a61f57ac8","head":{"label":"bf4:security_page","ref":"security_page","sha":"658717690df7e05148fc538cdbc1384a61f57ac8","user":{"login":"bf4","id":142914,"avatar_url":"https://avatars.githubusercontent.com/u/142914?v=3","gravatar_id":"","url":"https://api.github.com/users/bf4","html_url":"https://github.com/bf4","followers_url":"https://api.github.com/users/bf4/followers","following_url":"https://api.github.com/users/bf4/following{/other_user}","gists_url":"https://api.github.com/users/bf4/gists{/gist_id}","starred_url":"https://api.github.com/users/bf4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bf4/subscriptions","organizations_url":"https://api.github.com/users/bf4/orgs","repos_url":"https://api.github.com/users/bf4/repos","events_url":"https://api.github.com/users/bf4/events{/privacy}","received_events_url":"https://api.github.com/users/bf4/received_events","type":"User","site_admin":false},"repo":{"id":25642634,"name":"rubygems.org","full_name":"bf4/rubygems.org","owner":{"login":"bf4","id":142914,"avatar_url":"https://avatars.githubusercontent.com/u/142914?v=3","gravatar_id":"","url":"https://api.github.com/users/bf4","html_url":"https://github.com/bf4","followers_url":"https://api.github.com/users/bf4/followers","following_url":"https://api.github.com/users/bf4/following{/other_user}","gists_url":"https://api.github.com/users/bf4/gists{/gist_id}","starred_url":"https://api.github.com/users/bf4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bf4/subscriptions","organizations_url":"https://api.github.com/users/bf4/orgs","repos_url":"https://api.github.com/users/bf4/repos","events_url":"https://api.github.com/users/bf4/events{/privacy}","received_events_url":"https://api.github.com/users/bf4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bf4/rubygems.org","description":"The Ruby community's gem hosting service.","fork":true,"url":"https://api.github.com/repos/bf4/rubygems.org","forks_url":"https://api.github.com/repos/bf4/rubygems.org/forks","keys_url":"https://api.github.com/repos/bf4/rubygems.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bf4/rubygems.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bf4/rubygems.org/teams","hooks_url":"https://api.github.com/repos/bf4/rubygems.org/hooks","issue_events_url":"https://api.github.com/repos/bf4/rubygems.org/issues/events{/number}","events_url":"https://api.github.com/repos/bf4/rubygems.org/events","assignees_url":"https://api.github.com/repos/bf4/rubygems.org/assignees{/user}","branches_url":"https://api.github.com/repos/bf4/rubygems.org/branches{/branch}","tags_url":"https://api.github.com/repos/bf4/rubygems.org/tags","blobs_url":"https://api.github.com/repos/bf4/rubygems.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bf4/rubygems.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bf4/rubygems.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/bf4/rubygems.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bf4/rubygems.org/statuses/{sha}","languages_url":"https://api.github.com/repos/bf4/rubygems.org/languages","stargazers_url":"https://api.github.com/repos/bf4/rubygems.org/stargazers","contributors_url":"https://api.github.com/repos/bf4/rubygems.org/contributors","subscribers_url":"https://api.github.com/repos/bf4/rubygems.org/subscribers","subscription_url":"https://api.github.com/repos/bf4/rubygems.org/subscription","commits_url":"https://api.github.com/repos/bf4/rubygems.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/bf4/rubygems.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/bf4/rubygems.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/bf4/rubygems.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/bf4/rubygems.org/contents/{+path}","compare_url":"https://api.github.com/repos/bf4/rubygems.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bf4/rubygems.org/merges","archive_url":"https://api.github.com/repos/bf4/rubygems.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bf4/rubygems.org/downloads","issues_url":"https://api.github.com/repos/bf4/rubygems.org/issues{/number}","pulls_url":"https://api.github.com/repos/bf4/rubygems.org/pulls{/number}","milestones_url":"https://api.github.com/repos/bf4/rubygems.org/milestones{/number}","notifications_url":"https://api.github.com/repos/bf4/rubygems.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bf4/rubygems.org/labels{/name}","releases_url":"https://api.github.com/repos/bf4/rubygems.org/releases{/id}","created_at":"2014-10-23T14:58:08Z","updated_at":"2014-10-22T00:55:47Z","pushed_at":"2015-07-14T22:24:31Z","git_url":"git://github.com/bf4/rubygems.org.git","ssh_url":"git@github.com:bf4/rubygems.org.git","clone_url":"https://github.com/bf4/rubygems.org.git","svn_url":"https://github.com/bf4/rubygems.org","homepage":"https://rubygems.org","size":482079,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rubygems:master","ref":"master","sha":"b1ef404867d8300852f6eef91412f5dae6b3737c","user":{"login":"rubygems","id":208761,"avatar_url":"https://avatars.githubusercontent.com/u/208761?v=3","gravatar_id":"","url":"https://api.github.com/users/rubygems","html_url":"https://github.com/rubygems","followers_url":"https://api.github.com/users/rubygems/followers","following_url":"https://api.github.com/users/rubygems/following{/other_user}","gists_url":"https://api.github.com/users/rubygems/gists{/gist_id}","starred_url":"https://api.github.com/users/rubygems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubygems/subscriptions","organizations_url":"https://api.github.com/users/rubygems/orgs","repos_url":"https://api.github.com/users/rubygems/repos","events_url":"https://api.github.com/users/rubygems/events{/privacy}","received_events_url":"https://api.github.com/users/rubygems/received_events","type":"Organization","site_admin":false},"repo":{"id":117646,"name":"rubygems.org","full_name":"rubygems/rubygems.org","owner":{"login":"rubygems","id":208761,"avatar_url":"https://avatars.githubusercontent.com/u/208761?v=3","gravatar_id":"","url":"https://api.github.com/users/rubygems","html_url":"https://github.com/rubygems","followers_url":"https://api.github.com/users/rubygems/followers","following_url":"https://api.github.com/users/rubygems/following{/other_user}","gists_url":"https://api.github.com/users/rubygems/gists{/gist_id}","starred_url":"https://api.github.com/users/rubygems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubygems/subscriptions","organizations_url":"https://api.github.com/users/rubygems/orgs","repos_url":"https://api.github.com/users/rubygems/repos","events_url":"https://api.github.com/users/rubygems/events{/privacy}","received_events_url":"https://api.github.com/users/rubygems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubygems/rubygems.org","description":"The Ruby community's gem hosting service.","fork":false,"url":"https://api.github.com/repos/rubygems/rubygems.org","forks_url":"https://api.github.com/repos/rubygems/rubygems.org/forks","keys_url":"https://api.github.com/repos/rubygems/rubygems.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubygems/rubygems.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubygems/rubygems.org/teams","hooks_url":"https://api.github.com/repos/rubygems/rubygems.org/hooks","issue_events_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/events{/number}","events_url":"https://api.github.com/repos/rubygems/rubygems.org/events","assignees_url":"https://api.github.com/repos/rubygems/rubygems.org/assignees{/user}","branches_url":"https://api.github.com/repos/rubygems/rubygems.org/branches{/branch}","tags_url":"https://api.github.com/repos/rubygems/rubygems.org/tags","blobs_url":"https://api.github.com/repos/rubygems/rubygems.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubygems/rubygems.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubygems/rubygems.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubygems/rubygems.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubygems/rubygems.org/statuses/{sha}","languages_url":"https://api.github.com/repos/rubygems/rubygems.org/languages","stargazers_url":"https://api.github.com/repos/rubygems/rubygems.org/stargazers","contributors_url":"https://api.github.com/repos/rubygems/rubygems.org/contributors","subscribers_url":"https://api.github.com/repos/rubygems/rubygems.org/subscribers","subscription_url":"https://api.github.com/repos/rubygems/rubygems.org/subscription","commits_url":"https://api.github.com/repos/rubygems/rubygems.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubygems/rubygems.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubygems/rubygems.org/contents/{+path}","compare_url":"https://api.github.com/repos/rubygems/rubygems.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubygems/rubygems.org/merges","archive_url":"https://api.github.com/repos/rubygems/rubygems.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubygems/rubygems.org/downloads","issues_url":"https://api.github.com/repos/rubygems/rubygems.org/issues{/number}","pulls_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls{/number}","milestones_url":"https://api.github.com/repos/rubygems/rubygems.org/milestones{/number}","notifications_url":"https://api.github.com/repos/rubygems/rubygems.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubygems/rubygems.org/labels{/name}","releases_url":"https://api.github.com/repos/rubygems/rubygems.org/releases{/id}","created_at":"2009-01-29T22:30:46Z","updated_at":"2015-07-11T15:29:46Z","pushed_at":"2015-07-14T22:24:43Z","git_url":"git://github.com/rubygems/rubygems.org.git","ssh_url":"git@github.com:rubygems/rubygems.org.git","clone_url":"https://github.com/rubygems/rubygems.org.git","svn_url":"https://github.com/rubygems/rubygems.org","homepage":"https://rubygems.org","size":639996,"stargazers_count":1200,"watchers_count":1200,"language":"HTML","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":461,"mirror_url":null,"open_issues_count":47,"forks":461,"open_issues":47,"watchers":1200,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1016"},"html":{"href":"https://github.com/rubygems/rubygems.org/pull/1016"},"issue":{"href":"https://api.github.com/repos/rubygems/rubygems.org/issues/1016"},"comments":{"href":"https://api.github.com/repos/rubygems/rubygems.org/issues/1016/comments"},"review_comments":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1016/comments"},"review_comment":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1016/commits"},"statuses":{"href":"https://api.github.com/repos/rubygems/rubygems.org/statuses/658717690df7e05148fc538cdbc1384a61f57ac8"}}}}