{"action":"created","comment":{"url":"https://api.github.com/repos/jfreyre/albasim/pulls/comments/26224191","id":26224191,"diff_hunk":"@@ -1,5 +1,5 @@\n 'use strict';\n-var ServiceURL = \"/api/\"\n+var ServiceURL =  \"/api/\" // \"http://localhost:8080/Wegas/\"; // \"/api/\"; ","path":"src/app/wegas.js","position":3,"original_position":3,"commit_id":"932141af4531bfaf7b6c3b4c3d342c3d037d8cff","original_commit_id":"932141af4531bfaf7b6c3b4c3d342c3d037d8cff","user":{"login":"jfreyre","id":1135557,"avatar_url":"https://avatars.githubusercontent.com/u/1135557?v=3","gravatar_id":"","url":"https://api.github.com/users/jfreyre","html_url":"https://github.com/jfreyre","followers_url":"https://api.github.com/users/jfreyre/followers","following_url":"https://api.github.com/users/jfreyre/following{/other_user}","gists_url":"https://api.github.com/users/jfreyre/gists{/gist_id}","starred_url":"https://api.github.com/users/jfreyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfreyre/subscriptions","organizations_url":"https://api.github.com/users/jfreyre/orgs","repos_url":"https://api.github.com/users/jfreyre/repos","events_url":"https://api.github.com/users/jfreyre/events{/privacy}","received_events_url":"https://api.github.com/users/jfreyre/received_events","type":"User","site_admin":false},"body":"Pas vraiment utile ?","created_at":"2015-03-11T15:46:50Z","updated_at":"2015-03-11T15:46:50Z","html_url":"https://github.com/jfreyre/albasim/pull/5#discussion_r26224191","pull_request_url":"https://api.github.com/repos/jfreyre/albasim/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/jfreyre/albasim/pulls/comments/26224191"},"html":{"href":"https://github.com/jfreyre/albasim/pull/5#discussion_r26224191"},"pull_request":{"href":"https://api.github.com/repos/jfreyre/albasim/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/jfreyre/albasim/pulls/5","id":30944226,"html_url":"https://github.com/jfreyre/albasim/pull/5","diff_url":"https://github.com/jfreyre/albasim/pull/5.diff","patch_url":"https://github.com/jfreyre/albasim/pull/5.patch","issue_url":"https://api.github.com/repos/jfreyre/albasim/issues/5","number":5,"state":"open","locked":false,"title":"Implement Login/Logout and authenticated User","user":{"login":"Rapou","id":4618876,"avatar_url":"https://avatars.githubusercontent.com/u/4618876?v=3","gravatar_id":"","url":"https://api.github.com/users/Rapou","html_url":"https://github.com/Rapou","followers_url":"https://api.github.com/users/Rapou/followers","following_url":"https://api.github.com/users/Rapou/following{/other_user}","gists_url":"https://api.github.com/users/Rapou/gists{/gist_id}","starred_url":"https://api.github.com/users/Rapou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rapou/subscriptions","organizations_url":"https://api.github.com/users/Rapou/orgs","repos_url":"https://api.github.com/users/Rapou/repos","events_url":"https://api.github.com/users/Rapou/events{/privacy}","received_events_url":"https://api.github.com/users/Rapou/received_events","type":"User","site_admin":false},"body":"Authentification via le service Users : \r\n - Méthode getAuthenticatedUser qui permet de récupérer l'utilisateur courrant, \r\n - Login pour se connecter en donnant username et mot de passe, \r\n - Logout pour se déconnecter\r\n\r\nLe contrôleur lié au routing \"users\" va vérifier si un user est connecté, et le rediriger si c'est le cas. \r\nLes contrôleurs liés aux routings \"users.player\" et \"users.trainer\" vont vérifier si un user est connecté et le rediriger sur \"users\" si ce n'est pas le cas. \r\n","created_at":"2015-03-11T13:49:36Z","updated_at":"2015-03-11T15:46:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"jfreyre","id":1135557,"avatar_url":"https://avatars.githubusercontent.com/u/1135557?v=3","gravatar_id":"","url":"https://api.github.com/users/jfreyre","html_url":"https://github.com/jfreyre","followers_url":"https://api.github.com/users/jfreyre/followers","following_url":"https://api.github.com/users/jfreyre/following{/other_user}","gists_url":"https://api.github.com/users/jfreyre/gists{/gist_id}","starred_url":"https://api.github.com/users/jfreyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfreyre/subscriptions","organizations_url":"https://api.github.com/users/jfreyre/orgs","repos_url":"https://api.github.com/users/jfreyre/repos","events_url":"https://api.github.com/users/jfreyre/events{/privacy}","received_events_url":"https://api.github.com/users/jfreyre/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/jfreyre/albasim/pulls/5/commits","review_comments_url":"https://api.github.com/repos/jfreyre/albasim/pulls/5/comments","review_comment_url":"https://api.github.com/repos/jfreyre/albasim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jfreyre/albasim/issues/5/comments","statuses_url":"https://api.github.com/repos/jfreyre/albasim/statuses/932141af4531bfaf7b6c3b4c3d342c3d037d8cff","head":{"label":"jfreyre:login-authUser","ref":"login-authUser","sha":"932141af4531bfaf7b6c3b4c3d342c3d037d8cff","user":{"login":"jfreyre","id":1135557,"avatar_url":"https://avatars.githubusercontent.com/u/1135557?v=3","gravatar_id":"","url":"https://api.github.com/users/jfreyre","html_url":"https://github.com/jfreyre","followers_url":"https://api.github.com/users/jfreyre/followers","following_url":"https://api.github.com/users/jfreyre/following{/other_user}","gists_url":"https://api.github.com/users/jfreyre/gists{/gist_id}","starred_url":"https://api.github.com/users/jfreyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfreyre/subscriptions","organizations_url":"https://api.github.com/users/jfreyre/orgs","repos_url":"https://api.github.com/users/jfreyre/repos","events_url":"https://api.github.com/users/jfreyre/events{/privacy}","received_events_url":"https://api.github.com/users/jfreyre/received_events","type":"User","site_admin":false},"repo":{"id":31901177,"name":"albasim","full_name":"jfreyre/albasim","owner":{"login":"jfreyre","id":1135557,"avatar_url":"https://avatars.githubusercontent.com/u/1135557?v=3","gravatar_id":"","url":"https://api.github.com/users/jfreyre","html_url":"https://github.com/jfreyre","followers_url":"https://api.github.com/users/jfreyre/followers","following_url":"https://api.github.com/users/jfreyre/following{/other_user}","gists_url":"https://api.github.com/users/jfreyre/gists{/gist_id}","starred_url":"https://api.github.com/users/jfreyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfreyre/subscriptions","organizations_url":"https://api.github.com/users/jfreyre/orgs","repos_url":"https://api.github.com/users/jfreyre/repos","events_url":"https://api.github.com/users/jfreyre/events{/privacy}","received_events_url":"https://api.github.com/users/jfreyre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jfreyre/albasim","description":"","fork":false,"url":"https://api.github.com/repos/jfreyre/albasim","forks_url":"https://api.github.com/repos/jfreyre/albasim/forks","keys_url":"https://api.github.com/repos/jfreyre/albasim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jfreyre/albasim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jfreyre/albasim/teams","hooks_url":"https://api.github.com/repos/jfreyre/albasim/hooks","issue_events_url":"https://api.github.com/repos/jfreyre/albasim/issues/events{/number}","events_url":"https://api.github.com/repos/jfreyre/albasim/events","assignees_url":"https://api.github.com/repos/jfreyre/albasim/assignees{/user}","branches_url":"https://api.github.com/repos/jfreyre/albasim/branches{/branch}","tags_url":"https://api.github.com/repos/jfreyre/albasim/tags","blobs_url":"https://api.github.com/repos/jfreyre/albasim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jfreyre/albasim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jfreyre/albasim/git/refs{/sha}","trees_url":"https://api.github.com/repos/jfreyre/albasim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jfreyre/albasim/statuses/{sha}","languages_url":"https://api.github.com/repos/jfreyre/albasim/languages","stargazers_url":"https://api.github.com/repos/jfreyre/albasim/stargazers","contributors_url":"https://api.github.com/repos/jfreyre/albasim/contributors","subscribers_url":"https://api.github.com/repos/jfreyre/albasim/subscribers","subscription_url":"https://api.github.com/repos/jfreyre/albasim/subscription","commits_url":"https://api.github.com/repos/jfreyre/albasim/commits{/sha}","git_commits_url":"https://api.github.com/repos/jfreyre/albasim/git/commits{/sha}","comments_url":"https://api.github.com/repos/jfreyre/albasim/comments{/number}","issue_comment_url":"https://api.github.com/repos/jfreyre/albasim/issues/comments{/number}","contents_url":"https://api.github.com/repos/jfreyre/albasim/contents/{+path}","compare_url":"https://api.github.com/repos/jfreyre/albasim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jfreyre/albasim/merges","archive_url":"https://api.github.com/repos/jfreyre/albasim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jfreyre/albasim/downloads","issues_url":"https://api.github.com/repos/jfreyre/albasim/issues{/number}","pulls_url":"https://api.github.com/repos/jfreyre/albasim/pulls{/number}","milestones_url":"https://api.github.com/repos/jfreyre/albasim/milestones{/number}","notifications_url":"https://api.github.com/repos/jfreyre/albasim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jfreyre/albasim/labels{/name}","releases_url":"https://api.github.com/repos/jfreyre/albasim/releases{/id}","created_at":"2015-03-09T13:56:28Z","updated_at":"2015-03-11T12:57:39Z","pushed_at":"2015-03-11T13:43:32Z","git_url":"git://github.com/jfreyre/albasim.git","ssh_url":"git@github.com:jfreyre/albasim.git","clone_url":"https://github.com/jfreyre/albasim.git","svn_url":"https://github.com/jfreyre/albasim","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"jfreyre:master","ref":"master","sha":"b3a3bc182790ed326f4e7bb724c3e4659dec830a","user":{"login":"jfreyre","id":1135557,"avatar_url":"https://avatars.githubusercontent.com/u/1135557?v=3","gravatar_id":"","url":"https://api.github.com/users/jfreyre","html_url":"https://github.com/jfreyre","followers_url":"https://api.github.com/users/jfreyre/followers","following_url":"https://api.github.com/users/jfreyre/following{/other_user}","gists_url":"https://api.github.com/users/jfreyre/gists{/gist_id}","starred_url":"https://api.github.com/users/jfreyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfreyre/subscriptions","organizations_url":"https://api.github.com/users/jfreyre/orgs","repos_url":"https://api.github.com/users/jfreyre/repos","events_url":"https://api.github.com/users/jfreyre/events{/privacy}","received_events_url":"https://api.github.com/users/jfreyre/received_events","type":"User","site_admin":false},"repo":{"id":31901177,"name":"albasim","full_name":"jfreyre/albasim","owner":{"login":"jfreyre","id":1135557,"avatar_url":"https://avatars.githubusercontent.com/u/1135557?v=3","gravatar_id":"","url":"https://api.github.com/users/jfreyre","html_url":"https://github.com/jfreyre","followers_url":"https://api.github.com/users/jfreyre/followers","following_url":"https://api.github.com/users/jfreyre/following{/other_user}","gists_url":"https://api.github.com/users/jfreyre/gists{/gist_id}","starred_url":"https://api.github.com/users/jfreyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfreyre/subscriptions","organizations_url":"https://api.github.com/users/jfreyre/orgs","repos_url":"https://api.github.com/users/jfreyre/repos","events_url":"https://api.github.com/users/jfreyre/events{/privacy}","received_events_url":"https://api.github.com/users/jfreyre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jfreyre/albasim","description":"","fork":false,"url":"https://api.github.com/repos/jfreyre/albasim","forks_url":"https://api.github.com/repos/jfreyre/albasim/forks","keys_url":"https://api.github.com/repos/jfreyre/albasim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jfreyre/albasim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jfreyre/albasim/teams","hooks_url":"https://api.github.com/repos/jfreyre/albasim/hooks","issue_events_url":"https://api.github.com/repos/jfreyre/albasim/issues/events{/number}","events_url":"https://api.github.com/repos/jfreyre/albasim/events","assignees_url":"https://api.github.com/repos/jfreyre/albasim/assignees{/user}","branches_url":"https://api.github.com/repos/jfreyre/albasim/branches{/branch}","tags_url":"https://api.github.com/repos/jfreyre/albasim/tags","blobs_url":"https://api.github.com/repos/jfreyre/albasim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jfreyre/albasim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jfreyre/albasim/git/refs{/sha}","trees_url":"https://api.github.com/repos/jfreyre/albasim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jfreyre/albasim/statuses/{sha}","languages_url":"https://api.github.com/repos/jfreyre/albasim/languages","stargazers_url":"https://api.github.com/repos/jfreyre/albasim/stargazers","contributors_url":"https://api.github.com/repos/jfreyre/albasim/contributors","subscribers_url":"https://api.github.com/repos/jfreyre/albasim/subscribers","subscription_url":"https://api.github.com/repos/jfreyre/albasim/subscription","commits_url":"https://api.github.com/repos/jfreyre/albasim/commits{/sha}","git_commits_url":"https://api.github.com/repos/jfreyre/albasim/git/commits{/sha}","comments_url":"https://api.github.com/repos/jfreyre/albasim/comments{/number}","issue_comment_url":"https://api.github.com/repos/jfreyre/albasim/issues/comments{/number}","contents_url":"https://api.github.com/repos/jfreyre/albasim/contents/{+path}","compare_url":"https://api.github.com/repos/jfreyre/albasim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jfreyre/albasim/merges","archive_url":"https://api.github.com/repos/jfreyre/albasim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jfreyre/albasim/downloads","issues_url":"https://api.github.com/repos/jfreyre/albasim/issues{/number}","pulls_url":"https://api.github.com/repos/jfreyre/albasim/pulls{/number}","milestones_url":"https://api.github.com/repos/jfreyre/albasim/milestones{/number}","notifications_url":"https://api.github.com/repos/jfreyre/albasim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jfreyre/albasim/labels{/name}","releases_url":"https://api.github.com/repos/jfreyre/albasim/releases{/id}","created_at":"2015-03-09T13:56:28Z","updated_at":"2015-03-11T12:57:39Z","pushed_at":"2015-03-11T13:43:32Z","git_url":"git://github.com/jfreyre/albasim.git","ssh_url":"git@github.com:jfreyre/albasim.git","clone_url":"https://github.com/jfreyre/albasim.git","svn_url":"https://github.com/jfreyre/albasim","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jfreyre/albasim/pulls/5"},"html":{"href":"https://github.com/jfreyre/albasim/pull/5"},"issue":{"href":"https://api.github.com/repos/jfreyre/albasim/issues/5"},"comments":{"href":"https://api.github.com/repos/jfreyre/albasim/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/jfreyre/albasim/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/jfreyre/albasim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jfreyre/albasim/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/jfreyre/albasim/statuses/932141af4531bfaf7b6c3b4c3d342c3d037d8cff"}}}}