{"action":"created","comment":{"url":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/comments/121453918","pull_request_review_id":43483170,"id":121453918,"diff_hunk":"@@ -35,4 +36,108 @@ public String deleteAllUser(@ModelAttribute User user) {\n         userRepository.deleteAll();\n         return \"All users as been deleted\";\n     }\n+    @PostMapping(\"/{userId}/sendFriendRequest\")\n+    public String sendFriendRequest(@PathVariable String userId, Authentication authentication){\n+        String myUsername = authentication.getName();","path":"src/main/java/com/arachidsocial/controllers/api/UserAPI.java","position":14,"original_position":14,"commit_id":"d6f546057144b28e15d103cafdc32f61c9a47f3f","original_commit_id":"d6f546057144b28e15d103cafdc32f61c9a47f3f","user":{"login":"banctilrobitaille","id":5373064,"avatar_url":"https://avatars2.githubusercontent.com/u/5373064?v=3","gravatar_id":"","url":"https://api.github.com/users/banctilrobitaille","html_url":"https://github.com/banctilrobitaille","followers_url":"https://api.github.com/users/banctilrobitaille/followers","following_url":"https://api.github.com/users/banctilrobitaille/following{/other_user}","gists_url":"https://api.github.com/users/banctilrobitaille/gists{/gist_id}","starred_url":"https://api.github.com/users/banctilrobitaille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banctilrobitaille/subscriptions","organizations_url":"https://api.github.com/users/banctilrobitaille/orgs","repos_url":"https://api.github.com/users/banctilrobitaille/repos","events_url":"https://api.github.com/users/banctilrobitaille/events{/privacy}","received_events_url":"https://api.github.com/users/banctilrobitaille/received_events","type":"User","site_admin":false},"body":"Est ce qu'on a vraiment besoin de le garder dans une variable puisqu'on travaille avec un objet user par la suite ? ","created_at":"2017-06-12T16:00:53Z","updated_at":"2017-06-12T16:28:20Z","html_url":"https://github.com/gti525/e17-reseau-social/pull/78#discussion_r121453918","pull_request_url":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/comments/121453918"},"html":{"href":"https://github.com/gti525/e17-reseau-social/pull/78#discussion_r121453918"},"pull_request":{"href":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/78","id":125036718,"html_url":"https://github.com/gti525/e17-reseau-social/pull/78","diff_url":"https://github.com/gti525/e17-reseau-social/pull/78.diff","patch_url":"https://github.com/gti525/e17-reseau-social/pull/78.patch","issue_url":"https://api.github.com/repos/gti525/e17-reseau-social/issues/78","number":78,"state":"open","locked":false,"title":"Feature/see real friend list","user":{"login":"alexandremalo","id":9504524,"avatar_url":"https://avatars3.githubusercontent.com/u/9504524?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandremalo","html_url":"https://github.com/alexandremalo","followers_url":"https://api.github.com/users/alexandremalo/followers","following_url":"https://api.github.com/users/alexandremalo/following{/other_user}","gists_url":"https://api.github.com/users/alexandremalo/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandremalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandremalo/subscriptions","organizations_url":"https://api.github.com/users/alexandremalo/orgs","repos_url":"https://api.github.com/users/alexandremalo/repos","events_url":"https://api.github.com/users/alexandremalo/events{/privacy}","received_events_url":"https://api.github.com/users/alexandremalo/received_events","type":"User","site_admin":false},"body":"Real data about friend list and pending friend requests (Side bar and friend list)\r\nClicking on a user, in any of those list, will redirect to its public_profile.html page","created_at":"2017-06-11T19:14:26Z","updated_at":"2017-06-12T16:28:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23c8a08f39187a87c887f17bb7ba5df35d85af27","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/78/commits","review_comments_url":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/78/comments","review_comment_url":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gti525/e17-reseau-social/issues/78/comments","statuses_url":"https://api.github.com/repos/gti525/e17-reseau-social/statuses/d6f546057144b28e15d103cafdc32f61c9a47f3f","head":{"label":"gti525:feature/see-real-friend-list","ref":"feature/see-real-friend-list","sha":"d6f546057144b28e15d103cafdc32f61c9a47f3f","user":{"login":"gti525","id":7242100,"avatar_url":"https://avatars3.githubusercontent.com/u/7242100?v=3","gravatar_id":"","url":"https://api.github.com/users/gti525","html_url":"https://github.com/gti525","followers_url":"https://api.github.com/users/gti525/followers","following_url":"https://api.github.com/users/gti525/following{/other_user}","gists_url":"https://api.github.com/users/gti525/gists{/gist_id}","starred_url":"https://api.github.com/users/gti525/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gti525/subscriptions","organizations_url":"https://api.github.com/users/gti525/orgs","repos_url":"https://api.github.com/users/gti525/repos","events_url":"https://api.github.com/users/gti525/events{/privacy}","received_events_url":"https://api.github.com/users/gti525/received_events","type":"Organization","site_admin":false},"repo":{"id":91755670,"name":"e17-reseau-social","full_name":"gti525/e17-reseau-social","owner":{"login":"gti525","id":7242100,"avatar_url":"https://avatars3.githubusercontent.com/u/7242100?v=3","gravatar_id":"","url":"https://api.github.com/users/gti525","html_url":"https://github.com/gti525","followers_url":"https://api.github.com/users/gti525/followers","following_url":"https://api.github.com/users/gti525/following{/other_user}","gists_url":"https://api.github.com/users/gti525/gists{/gist_id}","starred_url":"https://api.github.com/users/gti525/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gti525/subscriptions","organizations_url":"https://api.github.com/users/gti525/orgs","repos_url":"https://api.github.com/users/gti525/repos","events_url":"https://api.github.com/users/gti525/events{/privacy}","received_events_url":"https://api.github.com/users/gti525/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gti525/e17-reseau-social","description":"e17-reseau-social-social-1 created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/gti525/e17-reseau-social","forks_url":"https://api.github.com/repos/gti525/e17-reseau-social/forks","keys_url":"https://api.github.com/repos/gti525/e17-reseau-social/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gti525/e17-reseau-social/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gti525/e17-reseau-social/teams","hooks_url":"https://api.github.com/repos/gti525/e17-reseau-social/hooks","issue_events_url":"https://api.github.com/repos/gti525/e17-reseau-social/issues/events{/number}","events_url":"https://api.github.com/repos/gti525/e17-reseau-social/events","assignees_url":"https://api.github.com/repos/gti525/e17-reseau-social/assignees{/user}","branches_url":"https://api.github.com/repos/gti525/e17-reseau-social/branches{/branch}","tags_url":"https://api.github.com/repos/gti525/e17-reseau-social/tags","blobs_url":"https://api.github.com/repos/gti525/e17-reseau-social/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gti525/e17-reseau-social/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gti525/e17-reseau-social/git/refs{/sha}","trees_url":"https://api.github.com/repos/gti525/e17-reseau-social/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gti525/e17-reseau-social/statuses/{sha}","languages_url":"https://api.github.com/repos/gti525/e17-reseau-social/languages","stargazers_url":"https://api.github.com/repos/gti525/e17-reseau-social/stargazers","contributors_url":"https://api.github.com/repos/gti525/e17-reseau-social/contributors","subscribers_url":"https://api.github.com/repos/gti525/e17-reseau-social/subscribers","subscription_url":"https://api.github.com/repos/gti525/e17-reseau-social/subscription","commits_url":"https://api.github.com/repos/gti525/e17-reseau-social/commits{/sha}","git_commits_url":"https://api.github.com/repos/gti525/e17-reseau-social/git/commits{/sha}","comments_url":"https://api.github.com/repos/gti525/e17-reseau-social/comments{/number}","issue_comment_url":"https://api.github.com/repos/gti525/e17-reseau-social/issues/comments{/number}","contents_url":"https://api.github.com/repos/gti525/e17-reseau-social/contents/{+path}","compare_url":"https://api.github.com/repos/gti525/e17-reseau-social/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gti525/e17-reseau-social/merges","archive_url":"https://api.github.com/repos/gti525/e17-reseau-social/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gti525/e17-reseau-social/downloads","issues_url":"https://api.github.com/repos/gti525/e17-reseau-social/issues{/number}","pulls_url":"https://api.github.com/repos/gti525/e17-reseau-social/pulls{/number}","milestones_url":"https://api.github.com/repos/gti525/e17-reseau-social/milestones{/number}","notifications_url":"https://api.github.com/repos/gti525/e17-reseau-social/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gti525/e17-reseau-social/labels{/name}","releases_url":"https://api.github.com/repos/gti525/e17-reseau-social/releases{/id}","deployments_url":"https://api.github.com/repos/gti525/e17-reseau-social/deployments","created_at":"2017-05-19T02:10:30Z","updated_at":"2017-05-30T19:55:00Z","pushed_at":"2017-06-11T21:48:20Z","git_url":"git://github.com/gti525/e17-reseau-social.git","ssh_url":"git@github.com:gti525/e17-reseau-social.git","clone_url":"https://github.com/gti525/e17-reseau-social.git","svn_url":"https://github.com/gti525/e17-reseau-social","homepage":"http://gti525-social.herokuapp.com/","size":1380,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":26,"forks":0,"open_issues":26,"watchers":1,"default_branch":"master"}},"base":{"label":"gti525:master","ref":"master","sha":"0917b6795bd2b57d70504fdbd845156ee6bdc512","user":{"login":"gti525","id":7242100,"avatar_url":"https://avatars3.githubusercontent.com/u/7242100?v=3","gravatar_id":"","url":"https://api.github.com/users/gti525","html_url":"https://github.com/gti525","followers_url":"https://api.github.com/users/gti525/followers","following_url":"https://api.github.com/users/gti525/following{/other_user}","gists_url":"https://api.github.com/users/gti525/gists{/gist_id}","starred_url":"https://api.github.com/users/gti525/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gti525/subscriptions","organizations_url":"https://api.github.com/users/gti525/orgs","repos_url":"https://api.github.com/users/gti525/repos","events_url":"https://api.github.com/users/gti525/events{/privacy}","received_events_url":"https://api.github.com/users/gti525/received_events","type":"Organization","site_admin":false},"repo":{"id":91755670,"name":"e17-reseau-social","full_name":"gti525/e17-reseau-social","owner":{"login":"gti525","id":7242100,"avatar_url":"https://avatars3.githubusercontent.com/u/7242100?v=3","gravatar_id":"","url":"https://api.github.com/users/gti525","html_url":"https://github.com/gti525","followers_url":"https://api.github.com/users/gti525/followers","following_url":"https://api.github.com/users/gti525/following{/other_user}","gists_url":"https://api.github.com/users/gti525/gists{/gist_id}","starred_url":"https://api.github.com/users/gti525/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gti525/subscriptions","organizations_url":"https://api.github.com/users/gti525/orgs","repos_url":"https://api.github.com/users/gti525/repos","events_url":"https://api.github.com/users/gti525/events{/privacy}","received_events_url":"https://api.github.com/users/gti525/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gti525/e17-reseau-social","description":"e17-reseau-social-social-1 created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/gti525/e17-reseau-social","forks_url":"https://api.github.com/repos/gti525/e17-reseau-social/forks","keys_url":"https://api.github.com/repos/gti525/e17-reseau-social/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gti525/e17-reseau-social/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gti525/e17-reseau-social/teams","hooks_url":"https://api.github.com/repos/gti525/e17-reseau-social/hooks","issue_events_url":"https://api.github.com/repos/gti525/e17-reseau-social/issues/events{/number}","events_url":"https://api.github.com/repos/gti525/e17-reseau-social/events","assignees_url":"https://api.github.com/repos/gti525/e17-reseau-social/assignees{/user}","branches_url":"https://api.github.com/repos/gti525/e17-reseau-social/branches{/branch}","tags_url":"https://api.github.com/repos/gti525/e17-reseau-social/tags","blobs_url":"https://api.github.com/repos/gti525/e17-reseau-social/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gti525/e17-reseau-social/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gti525/e17-reseau-social/git/refs{/sha}","trees_url":"https://api.github.com/repos/gti525/e17-reseau-social/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gti525/e17-reseau-social/statuses/{sha}","languages_url":"https://api.github.com/repos/gti525/e17-reseau-social/languages","stargazers_url":"https://api.github.com/repos/gti525/e17-reseau-social/stargazers","contributors_url":"https://api.github.com/repos/gti525/e17-reseau-social/contributors","subscribers_url":"https://api.github.com/repos/gti525/e17-reseau-social/subscribers","subscription_url":"https://api.github.com/repos/gti525/e17-reseau-social/subscription","commits_url":"https://api.github.com/repos/gti525/e17-reseau-social/commits{/sha}","git_commits_url":"https://api.github.com/repos/gti525/e17-reseau-social/git/commits{/sha}","comments_url":"https://api.github.com/repos/gti525/e17-reseau-social/comments{/number}","issue_comment_url":"https://api.github.com/repos/gti525/e17-reseau-social/issues/comments{/number}","contents_url":"https://api.github.com/repos/gti525/e17-reseau-social/contents/{+path}","compare_url":"https://api.github.com/repos/gti525/e17-reseau-social/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gti525/e17-reseau-social/merges","archive_url":"https://api.github.com/repos/gti525/e17-reseau-social/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gti525/e17-reseau-social/downloads","issues_url":"https://api.github.com/repos/gti525/e17-reseau-social/issues{/number}","pulls_url":"https://api.github.com/repos/gti525/e17-reseau-social/pulls{/number}","milestones_url":"https://api.github.com/repos/gti525/e17-reseau-social/milestones{/number}","notifications_url":"https://api.github.com/repos/gti525/e17-reseau-social/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gti525/e17-reseau-social/labels{/name}","releases_url":"https://api.github.com/repos/gti525/e17-reseau-social/releases{/id}","deployments_url":"https://api.github.com/repos/gti525/e17-reseau-social/deployments","created_at":"2017-05-19T02:10:30Z","updated_at":"2017-05-30T19:55:00Z","pushed_at":"2017-06-11T21:48:20Z","git_url":"git://github.com/gti525/e17-reseau-social.git","ssh_url":"git@github.com:gti525/e17-reseau-social.git","clone_url":"https://github.com/gti525/e17-reseau-social.git","svn_url":"https://github.com/gti525/e17-reseau-social","homepage":"http://gti525-social.herokuapp.com/","size":1380,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":26,"forks":0,"open_issues":26,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/78"},"html":{"href":"https://github.com/gti525/e17-reseau-social/pull/78"},"issue":{"href":"https://api.github.com/repos/gti525/e17-reseau-social/issues/78"},"comments":{"href":"https://api.github.com/repos/gti525/e17-reseau-social/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gti525/e17-reseau-social/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/gti525/e17-reseau-social/statuses/d6f546057144b28e15d103cafdc32f61c9a47f3f"}}}}
{"actor":{"display_login":"banctilrobitaille"}}