{"action":"created","comment":{"url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/comments/100381577","pull_request_review_id":21088164,"id":100381577,"diff_hunk":"@@ -7,6 +8,18 @@ def show\n     issue_listing(@user.issues)\n   end\n \n+  def feed\n+    current_user.check_notifications unless request.xhr?\n+    @events = current_user.events.ordered.page(params[:page]).per(3)\n+    respond_for_feed(@events)","path":"app/controllers/users_controller.rb","position":15,"original_position":13,"commit_id":"51f2897bec2aa45a351094dc691c8b8301602675","original_commit_id":"147195b762d6917dc3a3949a51b254fc53d7dcc1","user":{"login":"f1nwe","id":18554732,"avatar_url":"https://avatars.githubusercontent.com/u/18554732?v=3","gravatar_id":"","url":"https://api.github.com/users/f1nwe","html_url":"https://github.com/f1nwe","followers_url":"https://api.github.com/users/f1nwe/followers","following_url":"https://api.github.com/users/f1nwe/following{/other_user}","gists_url":"https://api.github.com/users/f1nwe/gists{/gist_id}","starred_url":"https://api.github.com/users/f1nwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f1nwe/subscriptions","organizations_url":"https://api.github.com/users/f1nwe/orgs","repos_url":"https://api.github.com/users/f1nwe/repos","events_url":"https://api.github.com/users/f1nwe/events{/privacy}","received_events_url":"https://api.github.com/users/f1nwe/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2017-02-09T18:51:06Z","updated_at":"2017-02-09T18:51:06Z","html_url":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky/pull/132#discussion_r100381577","pull_request_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/132","_links":{"self":{"href":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/comments/100381577"},"html":{"href":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky/pull/132#discussion_r100381577"},"pull_request":{"href":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/132"}}},"pull_request":{"url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/132","id":105244600,"html_url":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky/pull/132","diff_url":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky/pull/132.diff","patch_url":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky/pull/132.patch","issue_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/issues/132","number":132,"state":"open","locked":false,"title":"Feed and notifications","user":{"login":"f1nwe","id":18554732,"avatar_url":"https://avatars.githubusercontent.com/u/18554732?v=3","gravatar_id":"","url":"https://api.github.com/users/f1nwe","html_url":"https://github.com/f1nwe","followers_url":"https://api.github.com/users/f1nwe/followers","following_url":"https://api.github.com/users/f1nwe/following{/other_user}","gists_url":"https://api.github.com/users/f1nwe/gists{/gist_id}","starred_url":"https://api.github.com/users/f1nwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f1nwe/subscriptions","organizations_url":"https://api.github.com/users/f1nwe/orgs","repos_url":"https://api.github.com/users/f1nwe/repos","events_url":"https://api.github.com/users/f1nwe/events{/privacy}","received_events_url":"https://api.github.com/users/f1nwe/received_events","type":"User","site_admin":false},"body":"- [ ] @Kmalynss \r\n\r\n- [ ] @denys281 \r\n\r\n- [ ] @arsenlol \r\n\r\n- added users feed\r\n- added notifications for followers when issue changes its status\r\n- refactored comments infinity scroll script for using in feeds pages\r\n\r\nI`ll add some specs after mentors reviews.","created_at":"2017-02-08T15:50:40Z","updated_at":"2017-02-09T18:51:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f8af9b1efdb77473799b546a9151b7f9d5b4c5ad","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/132/commits","review_comments_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/132/comments","review_comment_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/issues/132/comments","statuses_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/statuses/51f2897bec2aa45a351094dc691c8b8301602675","head":{"label":"Kotany-IF070-WebUI-RoR:feed_and_notifications","ref":"feed_and_notifications","sha":"51f2897bec2aa45a351094dc691c8b8301602675","user":{"login":"Kotany-IF070-WebUI-RoR","id":24547938,"avatar_url":"https://avatars.githubusercontent.com/u/24547938?v=3","gravatar_id":"","url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR","html_url":"https://github.com/Kotany-IF070-WebUI-RoR","followers_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/followers","following_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/following{/other_user}","gists_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/subscriptions","organizations_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/orgs","repos_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/repos","events_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/events{/privacy}","received_events_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/received_events","type":"Organization","site_admin":false},"repo":{"id":76369589,"name":"NewVasjuky","full_name":"Kotany-IF070-WebUI-RoR/NewVasjuky","owner":{"login":"Kotany-IF070-WebUI-RoR","id":24547938,"avatar_url":"https://avatars.githubusercontent.com/u/24547938?v=3","gravatar_id":"","url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR","html_url":"https://github.com/Kotany-IF070-WebUI-RoR","followers_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/followers","following_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/following{/other_user}","gists_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/subscriptions","organizations_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/orgs","repos_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/repos","events_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/events{/privacy}","received_events_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky","description":null,"fork":false,"url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky","forks_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/forks","keys_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/teams","hooks_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/hooks","issue_events_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/issues/events{/number}","events_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/events","assignees_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/assignees{/user}","branches_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/branches{/branch}","tags_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/tags","blobs_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/statuses/{sha}","languages_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/languages","stargazers_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/stargazers","contributors_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/contributors","subscribers_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/subscribers","subscription_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/subscription","commits_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/contents/{+path}","compare_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/merges","archive_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/downloads","issues_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/issues{/number}","pulls_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls{/number}","milestones_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/milestones{/number}","notifications_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/labels{/name}","releases_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/releases{/id}","deployments_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/deployments","created_at":"2016-12-13T15:08:23Z","updated_at":"2017-01-22T20:37:08Z","pushed_at":"2017-02-09T18:22:29Z","git_url":"git://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky.git","ssh_url":"git@github.com:Kotany-IF070-WebUI-RoR/NewVasjuky.git","clone_url":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky.git","svn_url":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky","homepage":null,"size":4664,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":16,"forks":1,"open_issues":16,"watchers":1,"default_branch":"master"}},"base":{"label":"Kotany-IF070-WebUI-RoR:master","ref":"master","sha":"fc8b6397a900221aa204a40268c720b76f03bab2","user":{"login":"Kotany-IF070-WebUI-RoR","id":24547938,"avatar_url":"https://avatars.githubusercontent.com/u/24547938?v=3","gravatar_id":"","url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR","html_url":"https://github.com/Kotany-IF070-WebUI-RoR","followers_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/followers","following_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/following{/other_user}","gists_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/subscriptions","organizations_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/orgs","repos_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/repos","events_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/events{/privacy}","received_events_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/received_events","type":"Organization","site_admin":false},"repo":{"id":76369589,"name":"NewVasjuky","full_name":"Kotany-IF070-WebUI-RoR/NewVasjuky","owner":{"login":"Kotany-IF070-WebUI-RoR","id":24547938,"avatar_url":"https://avatars.githubusercontent.com/u/24547938?v=3","gravatar_id":"","url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR","html_url":"https://github.com/Kotany-IF070-WebUI-RoR","followers_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/followers","following_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/following{/other_user}","gists_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/subscriptions","organizations_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/orgs","repos_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/repos","events_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/events{/privacy}","received_events_url":"https://api.github.com/users/Kotany-IF070-WebUI-RoR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky","description":null,"fork":false,"url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky","forks_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/forks","keys_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/teams","hooks_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/hooks","issue_events_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/issues/events{/number}","events_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/events","assignees_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/assignees{/user}","branches_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/branches{/branch}","tags_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/tags","blobs_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/statuses/{sha}","languages_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/languages","stargazers_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/stargazers","contributors_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/contributors","subscribers_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/subscribers","subscription_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/subscription","commits_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/contents/{+path}","compare_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/merges","archive_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/downloads","issues_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/issues{/number}","pulls_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls{/number}","milestones_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/milestones{/number}","notifications_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/labels{/name}","releases_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/releases{/id}","deployments_url":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/deployments","created_at":"2016-12-13T15:08:23Z","updated_at":"2017-01-22T20:37:08Z","pushed_at":"2017-02-09T18:22:29Z","git_url":"git://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky.git","ssh_url":"git@github.com:Kotany-IF070-WebUI-RoR/NewVasjuky.git","clone_url":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky.git","svn_url":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky","homepage":null,"size":4664,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":16,"forks":1,"open_issues":16,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/132"},"html":{"href":"https://github.com/Kotany-IF070-WebUI-RoR/NewVasjuky/pull/132"},"issue":{"href":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/issues/132"},"comments":{"href":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/Kotany-IF070-WebUI-RoR/NewVasjuky/statuses/51f2897bec2aa45a351094dc691c8b8301602675"}}}}
{"actor":{"display_login":"f1nwe"}}