GitHub PullRequestReviewCommentEvent at 2014-06-09 21:28:14
Repository: WebsiteOne
Actor: yggie
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/13566025","id":13566025,"diff_hunk":"@@ -0,0 +1,14 @@\n+module DisqusHelper\n+  def render_disqus_for(type)\n+    case type\n+    when :article\n+      render partial: 'shared/disqus', locals: {id: 'article_' + @article.id.to_s, title: @article.title, url: article_path(@article, only_path: false)}","path":"app/helpers/disqus_helper.rb","position":5,"original_position":5,"commit_id":"29409ccd360831db8a41de0580018c2d1ddc12b4","original_commit_id":"29409ccd360831db8a41de0580018c2d1ddc12b4","user":{"login":"yggie","id":2663402,"avatar_url":"https://avatars.githubusercontent.com/u/2663402?","gravatar_id":"e9514be1f2c0b2817b530e0c2de6c4fa","url":"https://api.github.com/users/yggie","html_url":"https://github.com/yggie","followers_url":"https://api.github.com/users/yggie/followers","following_url":"https://api.github.com/users/yggie/following{/other_user}","gists_url":"https://api.github.com/users/yggie/gists{/gist_id}","starred_url":"https://api.github.com/users/yggie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yggie/subscriptions","organizations_url":"https://api.github.com/users/yggie/orgs","repos_url":"https://api.github.com/users/yggie/repos","events_url":"https://api.github.com/users/yggie/events{/privacy}","received_events_url":"https://api.github.com/users/yggie/received_events","type":"User","site_admin":false},"body":"do you mind breaking this line up? Also could you use the articles `friendly_id` instead of the database ID?","created_at":"2014-06-09T21:28:14Z","updated_at":"2014-06-09T21:28:14Z","html_url":"https://github.com/AgileVentures/WebsiteOne/pull/426#discussion_r13566025","pull_request_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/426","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/13566025"},"html":{"href":"https://github.com/AgileVentures/WebsiteOne/pull/426#discussion_r13566025"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/426"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/426","id":16621183,"html_url":"https://github.com/AgileVentures/WebsiteOne/pull/426","diff_url":"https://github.com/AgileVentures/WebsiteOne/pull/426.diff","patch_url":"https://github.com/AgileVentures/WebsiteOne/pull/426.patch","issue_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/426","number":426,"state":"open","title":"Adding Disqus commenting engine","user":{"login":"YaroSpace","id":5670940,"avatar_url":"https://avatars.githubusercontent.com/u/5670940?","gravatar_id":"70b1babe87aa249dc295cb16c2579733","url":"https://api.github.com/users/YaroSpace","html_url":"https://github.com/YaroSpace","followers_url":"https://api.github.com/users/YaroSpace/followers","following_url":"https://api.github.com/users/YaroSpace/following{/other_user}","gists_url":"https://api.github.com/users/YaroSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/YaroSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaroSpace/subscriptions","organizations_url":"https://api.github.com/users/YaroSpace/orgs","repos_url":"https://api.github.com/users/YaroSpace/repos","events_url":"https://api.github.com/users/YaroSpace/events{/privacy}","received_events_url":"https://api.github.com/users/YaroSpace/received_events","type":"User","site_admin":false},"body":"PT story https://www.pivotaltracker.com/story/show/63446652\r\n\r\nI only wanted to make a spike, but this turned out to be ridiculously easy - sign up at Disqus.com and insert their javascript into the view that we want to have comments.\r\n\r\nThe generic javascript resides in a partial, that can be included into any view.\r\n\r\nBasic functionality is in place (i.e. commenting, anti-spam)\r\n\r\nTODO:\r\n0. Add a feature and specs\r\n1. Implement single sign-on, so that users can comment by signing into WSO.\r\n2. Add comments counters to links for docs and articles\r\n3. Think of unique identifiers for docs and resources (currently uses their url, which can change, when doc/article is renamed)","created_at":"2014-06-02T20:43:52Z","updated_at":"2014-06-09T21:28:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd7cf520f0c0155bc7a5b041153c58cff23ad797","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/426/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/426/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/426/comments","statuses_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/statuses/29409ccd360831db8a41de0580018c2d1ddc12b4","head":{"label":"YaroSpace:disqus","ref":"disqus","sha":"29409ccd360831db8a41de0580018c2d1ddc12b4","user":{"login":"YaroSpace","id":5670940,"avatar_url":"https://avatars.githubusercontent.com/u/5670940?","gravatar_id":"70b1babe87aa249dc295cb16c2579733","url":"https://api.github.com/users/YaroSpace","html_url":"https://github.com/YaroSpace","followers_url":"https://api.github.com/users/YaroSpace/followers","following_url":"https://api.github.com/users/YaroSpace/following{/other_user}","gists_url":"https://api.github.com/users/YaroSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/YaroSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaroSpace/subscriptions","organizations_url":"https://api.github.com/users/YaroSpace/orgs","repos_url":"https://api.github.com/users/YaroSpace/repos","events_url":"https://api.github.com/users/YaroSpace/events{/privacy}","received_events_url":"https://api.github.com/users/YaroSpace/received_events","type":"User","site_admin":false},"repo":{"id":15742675,"name":"WebsiteOne","full_name":"YaroSpace/WebsiteOne","owner":{"login":"YaroSpace","id":5670940,"avatar_url":"https://avatars.githubusercontent.com/u/5670940?","gravatar_id":"70b1babe87aa249dc295cb16c2579733","url":"https://api.github.com/users/YaroSpace","html_url":"https://github.com/YaroSpace","followers_url":"https://api.github.com/users/YaroSpace/followers","following_url":"https://api.github.com/users/YaroSpace/following{/other_user}","gists_url":"https://api.github.com/users/YaroSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/YaroSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaroSpace/subscriptions","organizations_url":"https://api.github.com/users/YaroSpace/orgs","repos_url":"https://api.github.com/users/YaroSpace/repos","events_url":"https://api.github.com/users/YaroSpace/events{/privacy}","received_events_url":"https://api.github.com/users/YaroSpace/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YaroSpace/WebsiteOne","description":"A website for Agile Ventures","fork":true,"url":"https://api.github.com/repos/YaroSpace/WebsiteOne","forks_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/forks","keys_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/teams","hooks_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/hooks","issue_events_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/issues/events{/number}","events_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/events","assignees_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/assignees{/user}","branches_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/branches{/branch}","tags_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/tags","blobs_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/git/refs{/sha}","trees_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/statuses/{sha}","languages_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/languages","stargazers_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/stargazers","contributors_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/contributors","subscribers_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/subscribers","subscription_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/subscription","commits_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/commits{/sha}","git_commits_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/git/commits{/sha}","comments_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/comments{/number}","issue_comment_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/issues/comments/{number}","contents_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/contents/{+path}","compare_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/merges","archive_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/downloads","issues_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/issues{/number}","pulls_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/pulls{/number}","milestones_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/milestones{/number}","notifications_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/labels{/name}","releases_url":"https://api.github.com/repos/YaroSpace/WebsiteOne/releases{/id}","created_at":"2014-01-08T17:32:48Z","updated_at":"2014-06-09T20:53:56Z","pushed_at":"2014-06-09T20:48:04Z","git_url":"git://github.com/YaroSpace/WebsiteOne.git","ssh_url":"git@github.com:YaroSpace/WebsiteOne.git","clone_url":"https://github.com/YaroSpace/WebsiteOne.git","svn_url":"https://github.com/YaroSpace/WebsiteOne","homepage":null,"size":27456,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"AgileVentures:develop","ref":"develop","sha":"77b330f0461cadb5bfded0c7fc0d436cdf524e47","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?","gravatar_id":"cb33b32bd5d675db7be148542976e510","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":15742370,"name":"WebsiteOne","full_name":"AgileVentures/WebsiteOne","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?","gravatar_id":"cb33b32bd5d675db7be148542976e510","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/WebsiteOne","description":"A website for Agile Ventures","fork":false,"url":"https://api.github.com/repos/AgileVentures/WebsiteOne","forks_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/forks","keys_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/teams","hooks_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/events","assignees_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/tags","blobs_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/subscription","commits_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/comments/{number}","contents_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/merges","archive_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/downloads","issues_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/releases{/id}","created_at":"2014-01-08T17:20:22Z","updated_at":"2014-06-05T10:56:25Z","pushed_at":"2014-06-05T10:56:26Z","git_url":"git://github.com/AgileVentures/WebsiteOne.git","ssh_url":"git@github.com:AgileVentures/WebsiteOne.git","clone_url":"https://github.com/AgileVentures/WebsiteOne.git","svn_url":"https://github.com/AgileVentures/WebsiteOne","homepage":null,"size":35777,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":49,"mirror_url":null,"open_issues_count":8,"forks":49,"open_issues":8,"watchers":14,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/426"},"html":{"href":"https://github.com/AgileVentures/WebsiteOne/pull/426"},"issue":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/426"},"comments":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/426/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/426/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/pulls/426/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/WebsiteOne/statuses/29409ccd360831db8a41de0580018c2d1ddc12b4"}}}}