GitHub PullRequestReviewCommentEvent at 2014-08-17 19:31:40
Repository: community
Actor: zachallaun
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/hackerschool/community/pulls/comments/16331575","id":16331575,"diff_hunk":"@@ -1,6 +1,9 @@\n <%= markdown @thread.posts.first.body %>\n \n <div style=\"border-top: 1px solid #ccc;\">\n-  <p>You received this message because you are subscribed to the subforum \"<%= @thread.subforum.name %>.\"</p>\n-  <p>To reply, either respond to this email or <%= link_to \"click here\", thread_url(slug: @thread.slug, id: @thread.id) %>.</p>\n+  <p>\n+    You received this message because you are subscribed to the subforum \"<%= @thread.subforum.name %>.\"\n+    <%= link_to \"Unsubscribe from this thread.\", unsubscribe_thread_url(@thread) %>","path":"app/views/notification_mailer/new_thread_in_subscribed_subforum_email.html.erb","position":8,"original_position":8,"commit_id":"71640fd8068723614c12aba6fc5d75a6384abebd","original_commit_id":"71640fd8068723614c12aba6fc5d75a6384abebd","user":{"login":"zachallaun","id":503938,"avatar_url":"https://avatars.githubusercontent.com/u/503938?v=2","gravatar_id":"06625cbad0c69f5c2e673a4312e9fd7e","url":"https://api.github.com/users/zachallaun","html_url":"https://github.com/zachallaun","followers_url":"https://api.github.com/users/zachallaun/followers","following_url":"https://api.github.com/users/zachallaun/following{/other_user}","gists_url":"https://api.github.com/users/zachallaun/gists{/gist_id}","starred_url":"https://api.github.com/users/zachallaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachallaun/subscriptions","organizations_url":"https://api.github.com/users/zachallaun/orgs","repos_url":"https://api.github.com/users/zachallaun/repos","events_url":"https://api.github.com/users/zachallaun/events{/privacy}","received_events_url":"https://api.github.com/users/zachallaun/received_events","type":"User","site_admin":false},"body":"Hmm… I agree with you about the period when the link is just the last part of the sentence, but I think it's ugly when the link is the entire sentence and the period is omitted. We need a tie-breaker :)","created_at":"2014-08-17T19:31:40Z","updated_at":"2014-08-17T19:31:40Z","html_url":"https://github.com/hackerschool/community/pull/142#discussion_r16331575","pull_request_url":"https://api.github.com/repos/hackerschool/community/pulls/142","_links":{"self":{"href":"https://api.github.com/repos/hackerschool/community/pulls/comments/16331575"},"html":{"href":"https://github.com/hackerschool/community/pull/142#discussion_r16331575"},"pull_request":{"href":"https://api.github.com/repos/hackerschool/community/pulls/142"}}},"pull_request":{"url":"https://api.github.com/repos/hackerschool/community/pulls/142","id":19868050,"html_url":"https://github.com/hackerschool/community/pull/142","diff_url":"https://github.com/hackerschool/community/pull/142.diff","patch_url":"https://github.com/hackerschool/community/pull/142.patch","issue_url":"https://api.github.com/repos/hackerschool/community/issues/142","number":142,"state":"open","locked":false,"title":"Autosubscribe to new threads and unsubscribe links in email","user":{"login":"zachallaun","id":503938,"avatar_url":"https://avatars.githubusercontent.com/u/503938?v=2","gravatar_id":"06625cbad0c69f5c2e673a4312e9fd7e","url":"https://api.github.com/users/zachallaun","html_url":"https://github.com/zachallaun","followers_url":"https://api.github.com/users/zachallaun/followers","following_url":"https://api.github.com/users/zachallaun/following{/other_user}","gists_url":"https://api.github.com/users/zachallaun/gists{/gist_id}","starred_url":"https://api.github.com/users/zachallaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachallaun/subscriptions","organizations_url":"https://api.github.com/users/zachallaun/orgs","repos_url":"https://api.github.com/users/zachallaun/repos","events_url":"https://api.github.com/users/zachallaun/events{/privacy}","received_events_url":"https://api.github.com/users/zachallaun/received_events","type":"User","site_admin":false},"body":"There's now a new user setting: \"Subscribe me to new threads created in subforums I'm subscribed to.\" This will default to true. Since this means more email volume by default, this pull request also includes support for unsubscribing from threads or subforums using a link sent in the email.","created_at":"2014-08-15T21:18:10Z","updated_at":"2014-08-17T19:31:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8528a84b4c0e758a25834f0c5ccf87412be6e97d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hackerschool/community/pulls/142/commits","review_comments_url":"https://api.github.com/repos/hackerschool/community/pulls/142/comments","review_comment_url":"https://api.github.com/repos/hackerschool/community/pulls/comments/{number}","comments_url":"https://api.github.com/repos/hackerschool/community/issues/142/comments","statuses_url":"https://api.github.com/repos/hackerschool/community/statuses/71640fd8068723614c12aba6fc5d75a6384abebd","head":{"label":"hackerschool:autosubscribe-to-new-threads","ref":"autosubscribe-to-new-threads","sha":"71640fd8068723614c12aba6fc5d75a6384abebd","user":{"login":"hackerschool","id":1085202,"avatar_url":"https://avatars.githubusercontent.com/u/1085202?v=2","gravatar_id":"588308d511de92d8e642da998cdc5d06","url":"https://api.github.com/users/hackerschool","html_url":"https://github.com/hackerschool","followers_url":"https://api.github.com/users/hackerschool/followers","following_url":"https://api.github.com/users/hackerschool/following{/other_user}","gists_url":"https://api.github.com/users/hackerschool/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerschool/subscriptions","organizations_url":"https://api.github.com/users/hackerschool/orgs","repos_url":"https://api.github.com/users/hackerschool/repos","events_url":"https://api.github.com/users/hackerschool/events{/privacy}","received_events_url":"https://api.github.com/users/hackerschool/received_events","type":"Organization","site_admin":false},"repo":{"id":19648077,"name":"community","full_name":"hackerschool/community","owner":{"login":"hackerschool","id":1085202,"avatar_url":"https://avatars.githubusercontent.com/u/1085202?v=2","gravatar_id":"588308d511de92d8e642da998cdc5d06","url":"https://api.github.com/users/hackerschool","html_url":"https://github.com/hackerschool","followers_url":"https://api.github.com/users/hackerschool/followers","following_url":"https://api.github.com/users/hackerschool/following{/other_user}","gists_url":"https://api.github.com/users/hackerschool/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerschool/subscriptions","organizations_url":"https://api.github.com/users/hackerschool/orgs","repos_url":"https://api.github.com/users/hackerschool/repos","events_url":"https://api.github.com/users/hackerschool/events{/privacy}","received_events_url":"https://api.github.com/users/hackerschool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hackerschool/community","description":"community.hackerschool.com","fork":false,"url":"https://api.github.com/repos/hackerschool/community","forks_url":"https://api.github.com/repos/hackerschool/community/forks","keys_url":"https://api.github.com/repos/hackerschool/community/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hackerschool/community/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hackerschool/community/teams","hooks_url":"https://api.github.com/repos/hackerschool/community/hooks","issue_events_url":"https://api.github.com/repos/hackerschool/community/issues/events{/number}","events_url":"https://api.github.com/repos/hackerschool/community/events","assignees_url":"https://api.github.com/repos/hackerschool/community/assignees{/user}","branches_url":"https://api.github.com/repos/hackerschool/community/branches{/branch}","tags_url":"https://api.github.com/repos/hackerschool/community/tags","blobs_url":"https://api.github.com/repos/hackerschool/community/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hackerschool/community/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hackerschool/community/git/refs{/sha}","trees_url":"https://api.github.com/repos/hackerschool/community/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hackerschool/community/statuses/{sha}","languages_url":"https://api.github.com/repos/hackerschool/community/languages","stargazers_url":"https://api.github.com/repos/hackerschool/community/stargazers","contributors_url":"https://api.github.com/repos/hackerschool/community/contributors","subscribers_url":"https://api.github.com/repos/hackerschool/community/subscribers","subscription_url":"https://api.github.com/repos/hackerschool/community/subscription","commits_url":"https://api.github.com/repos/hackerschool/community/commits{/sha}","git_commits_url":"https://api.github.com/repos/hackerschool/community/git/commits{/sha}","comments_url":"https://api.github.com/repos/hackerschool/community/comments{/number}","issue_comment_url":"https://api.github.com/repos/hackerschool/community/issues/comments/{number}","contents_url":"https://api.github.com/repos/hackerschool/community/contents/{+path}","compare_url":"https://api.github.com/repos/hackerschool/community/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hackerschool/community/merges","archive_url":"https://api.github.com/repos/hackerschool/community/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hackerschool/community/downloads","issues_url":"https://api.github.com/repos/hackerschool/community/issues{/number}","pulls_url":"https://api.github.com/repos/hackerschool/community/pulls{/number}","milestones_url":"https://api.github.com/repos/hackerschool/community/milestones{/number}","notifications_url":"https://api.github.com/repos/hackerschool/community/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hackerschool/community/labels{/name}","releases_url":"https://api.github.com/repos/hackerschool/community/releases{/id}","created_at":"2014-05-10T17:51:10Z","updated_at":"2014-08-05T20:28:51Z","pushed_at":"2014-08-15T21:15:42Z","git_url":"git://github.com/hackerschool/community.git","ssh_url":"git@github.com:hackerschool/community.git","clone_url":"https://github.com/hackerschool/community.git","svn_url":"https://github.com/hackerschool/community","homepage":null,"size":11793,"stargazers_count":21,"watchers_count":21,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":8,"mirror_url":null,"open_issues_count":56,"forks":8,"open_issues":56,"watchers":21,"default_branch":"master"}},"base":{"label":"hackerschool:master","ref":"master","sha":"7a17148943f041a29b7c399e679f7b933dd65650","user":{"login":"hackerschool","id":1085202,"avatar_url":"https://avatars.githubusercontent.com/u/1085202?v=2","gravatar_id":"588308d511de92d8e642da998cdc5d06","url":"https://api.github.com/users/hackerschool","html_url":"https://github.com/hackerschool","followers_url":"https://api.github.com/users/hackerschool/followers","following_url":"https://api.github.com/users/hackerschool/following{/other_user}","gists_url":"https://api.github.com/users/hackerschool/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerschool/subscriptions","organizations_url":"https://api.github.com/users/hackerschool/orgs","repos_url":"https://api.github.com/users/hackerschool/repos","events_url":"https://api.github.com/users/hackerschool/events{/privacy}","received_events_url":"https://api.github.com/users/hackerschool/received_events","type":"Organization","site_admin":false},"repo":{"id":19648077,"name":"community","full_name":"hackerschool/community","owner":{"login":"hackerschool","id":1085202,"avatar_url":"https://avatars.githubusercontent.com/u/1085202?v=2","gravatar_id":"588308d511de92d8e642da998cdc5d06","url":"https://api.github.com/users/hackerschool","html_url":"https://github.com/hackerschool","followers_url":"https://api.github.com/users/hackerschool/followers","following_url":"https://api.github.com/users/hackerschool/following{/other_user}","gists_url":"https://api.github.com/users/hackerschool/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerschool/subscriptions","organizations_url":"https://api.github.com/users/hackerschool/orgs","repos_url":"https://api.github.com/users/hackerschool/repos","events_url":"https://api.github.com/users/hackerschool/events{/privacy}","received_events_url":"https://api.github.com/users/hackerschool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hackerschool/community","description":"community.hackerschool.com","fork":false,"url":"https://api.github.com/repos/hackerschool/community","forks_url":"https://api.github.com/repos/hackerschool/community/forks","keys_url":"https://api.github.com/repos/hackerschool/community/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hackerschool/community/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hackerschool/community/teams","hooks_url":"https://api.github.com/repos/hackerschool/community/hooks","issue_events_url":"https://api.github.com/repos/hackerschool/community/issues/events{/number}","events_url":"https://api.github.com/repos/hackerschool/community/events","assignees_url":"https://api.github.com/repos/hackerschool/community/assignees{/user}","branches_url":"https://api.github.com/repos/hackerschool/community/branches{/branch}","tags_url":"https://api.github.com/repos/hackerschool/community/tags","blobs_url":"https://api.github.com/repos/hackerschool/community/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hackerschool/community/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hackerschool/community/git/refs{/sha}","trees_url":"https://api.github.com/repos/hackerschool/community/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hackerschool/community/statuses/{sha}","languages_url":"https://api.github.com/repos/hackerschool/community/languages","stargazers_url":"https://api.github.com/repos/hackerschool/community/stargazers","contributors_url":"https://api.github.com/repos/hackerschool/community/contributors","subscribers_url":"https://api.github.com/repos/hackerschool/community/subscribers","subscription_url":"https://api.github.com/repos/hackerschool/community/subscription","commits_url":"https://api.github.com/repos/hackerschool/community/commits{/sha}","git_commits_url":"https://api.github.com/repos/hackerschool/community/git/commits{/sha}","comments_url":"https://api.github.com/repos/hackerschool/community/comments{/number}","issue_comment_url":"https://api.github.com/repos/hackerschool/community/issues/comments/{number}","contents_url":"https://api.github.com/repos/hackerschool/community/contents/{+path}","compare_url":"https://api.github.com/repos/hackerschool/community/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hackerschool/community/merges","archive_url":"https://api.github.com/repos/hackerschool/community/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hackerschool/community/downloads","issues_url":"https://api.github.com/repos/hackerschool/community/issues{/number}","pulls_url":"https://api.github.com/repos/hackerschool/community/pulls{/number}","milestones_url":"https://api.github.com/repos/hackerschool/community/milestones{/number}","notifications_url":"https://api.github.com/repos/hackerschool/community/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hackerschool/community/labels{/name}","releases_url":"https://api.github.com/repos/hackerschool/community/releases{/id}","created_at":"2014-05-10T17:51:10Z","updated_at":"2014-08-05T20:28:51Z","pushed_at":"2014-08-15T21:15:42Z","git_url":"git://github.com/hackerschool/community.git","ssh_url":"git@github.com:hackerschool/community.git","clone_url":"https://github.com/hackerschool/community.git","svn_url":"https://github.com/hackerschool/community","homepage":null,"size":11793,"stargazers_count":21,"watchers_count":21,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":8,"mirror_url":null,"open_issues_count":56,"forks":8,"open_issues":56,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hackerschool/community/pulls/142"},"html":{"href":"https://github.com/hackerschool/community/pull/142"},"issue":{"href":"https://api.github.com/repos/hackerschool/community/issues/142"},"comments":{"href":"https://api.github.com/repos/hackerschool/community/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/hackerschool/community/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/hackerschool/community/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/hackerschool/community/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/hackerschool/community/statuses/71640fd8068723614c12aba6fc5d75a6384abebd"}}}}