{"action":"created","comment":{"url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/comments/69072327","id":69072327,"diff_hunk":"@@ -0,0 +1,48 @@\n+import template from './login.directive.html';\n+import './login.scss';\n+\n+\n+export default class LoginDirective {\n+   constructor() {\n+      this.restrict = 'E';\n+      this.template = template;\n+      this.scope = true;\n+      this.controller = LoginController;\n+      this.replace = true;\n+   }\n+\n+   static createInstance() {\n+      'ngInject';\n+      LoginDirective.instance = new LoginDirective();\n+      return LoginDirective.instance;\n+   }\n+}\n+\n+function LoginController(\n+   $q,\n+   $scope,\n+   $state,\n+   $translate,\n+   UserService,\n+   LoginService\n+   ) {\n+   'ngInject';\n+\n+   let vm = $scope;\n+   vm.currentUser = UserService.getCurrentUser();\n+\n+   //vm.getFullName = () => `${vm.currentUser.firstName} ${vm.currentUser.lastName}`;","path":"src/wwwroot/app/directives/login/login.js","position":34,"original_position":34,"commit_id":"9f9f4d82e40d2571cbce742dc20e1ad7309cc0a0","original_commit_id":"9f9f4d82e40d2571cbce742dc20e1ad7309cc0a0","user":{"login":"gasty","id":11043173,"avatar_url":"https://avatars.githubusercontent.com/u/11043173?v=3","gravatar_id":"","url":"https://api.github.com/users/gasty","html_url":"https://github.com/gasty","followers_url":"https://api.github.com/users/gasty/followers","following_url":"https://api.github.com/users/gasty/following{/other_user}","gists_url":"https://api.github.com/users/gasty/gists{/gist_id}","starred_url":"https://api.github.com/users/gasty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gasty/subscriptions","organizations_url":"https://api.github.com/users/gasty/orgs","repos_url":"https://api.github.com/users/gasty/repos","events_url":"https://api.github.com/users/gasty/events{/privacy}","received_events_url":"https://api.github.com/users/gasty/received_events","type":"User","site_admin":false},"body":"do you need this comment?","created_at":"2016-06-30T05:30:23Z","updated_at":"2016-06-30T05:30:23Z","html_url":"https://github.com/kulish-alina/HR_Project/pull/222#discussion_r69072327","pull_request_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/222","_links":{"self":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/comments/69072327"},"html":{"href":"https://github.com/kulish-alina/HR_Project/pull/222#discussion_r69072327"},"pull_request":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/222"}}},"pull_request":{"url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/222","id":75760108,"html_url":"https://github.com/kulish-alina/HR_Project/pull/222","diff_url":"https://github.com/kulish-alina/HR_Project/pull/222.diff","patch_url":"https://github.com/kulish-alina/HR_Project/pull/222.patch","issue_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/222","number":222,"state":"open","locked":false,"title":"Feature: frontend side authentification implemented #73","user":{"login":"msvaillant","id":10694632,"avatar_url":"https://avatars.githubusercontent.com/u/10694632?v=3","gravatar_id":"","url":"https://api.github.com/users/msvaillant","html_url":"https://github.com/msvaillant","followers_url":"https://api.github.com/users/msvaillant/followers","following_url":"https://api.github.com/users/msvaillant/following{/other_user}","gists_url":"https://api.github.com/users/msvaillant/gists{/gist_id}","starred_url":"https://api.github.com/users/msvaillant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msvaillant/subscriptions","organizations_url":"https://api.github.com/users/msvaillant/orgs","repos_url":"https://api.github.com/users/msvaillant/repos","events_url":"https://api.github.com/users/msvaillant/events{/privacy}","received_events_url":"https://api.github.com/users/msvaillant/received_events","type":"User","site_admin":false},"body":"Feature: base login service implementation\r\n\r\nFeature: login directive configuration and some image changes\r\n\r\nFeature: interceptor\r\n\r\nFeature: services implementation and some config refactoring\r\n\r\nFeature: login dialog form\r\n\r\nFeature: logout and session, loading view\r\n\r\nFeature: separating of login views and directives","created_at":"2016-06-30T04:57:37Z","updated_at":"2016-06-30T05:30:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f26afaae15f1ff289f19ef26a47ec00195588c9b","assignee":{"login":"akozenko","id":4434095,"avatar_url":"https://avatars.githubusercontent.com/u/4434095?v=3","gravatar_id":"","url":"https://api.github.com/users/akozenko","html_url":"https://github.com/akozenko","followers_url":"https://api.github.com/users/akozenko/followers","following_url":"https://api.github.com/users/akozenko/following{/other_user}","gists_url":"https://api.github.com/users/akozenko/gists{/gist_id}","starred_url":"https://api.github.com/users/akozenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akozenko/subscriptions","organizations_url":"https://api.github.com/users/akozenko/orgs","repos_url":"https://api.github.com/users/akozenko/repos","events_url":"https://api.github.com/users/akozenko/events{/privacy}","received_events_url":"https://api.github.com/users/akozenko/received_events","type":"User","site_admin":false},"assignees":[{"login":"akozenko","id":4434095,"avatar_url":"https://avatars.githubusercontent.com/u/4434095?v=3","gravatar_id":"","url":"https://api.github.com/users/akozenko","html_url":"https://github.com/akozenko","followers_url":"https://api.github.com/users/akozenko/followers","following_url":"https://api.github.com/users/akozenko/following{/other_user}","gists_url":"https://api.github.com/users/akozenko/gists{/gist_id}","starred_url":"https://api.github.com/users/akozenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akozenko/subscriptions","organizations_url":"https://api.github.com/users/akozenko/orgs","repos_url":"https://api.github.com/users/akozenko/repos","events_url":"https://api.github.com/users/akozenko/events{/privacy}","received_events_url":"https://api.github.com/users/akozenko/received_events","type":"User","site_admin":false},{"login":"gasty","id":11043173,"avatar_url":"https://avatars.githubusercontent.com/u/11043173?v=3","gravatar_id":"","url":"https://api.github.com/users/gasty","html_url":"https://github.com/gasty","followers_url":"https://api.github.com/users/gasty/followers","following_url":"https://api.github.com/users/gasty/following{/other_user}","gists_url":"https://api.github.com/users/gasty/gists{/gist_id}","starred_url":"https://api.github.com/users/gasty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gasty/subscriptions","organizations_url":"https://api.github.com/users/gasty/orgs","repos_url":"https://api.github.com/users/gasty/repos","events_url":"https://api.github.com/users/gasty/events{/privacy}","received_events_url":"https://api.github.com/users/gasty/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/222/commits","review_comments_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/222/comments","review_comment_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/222/comments","statuses_url":"https://api.github.com/repos/kulish-alina/HR_Project/statuses/9f9f4d82e40d2571cbce742dc20e1ad7309cc0a0","head":{"label":"kulish-alina:feature/frontend-auth","ref":"feature/frontend-auth","sha":"9f9f4d82e40d2571cbce742dc20e1ad7309cc0a0","user":{"login":"kulish-alina","id":10714587,"avatar_url":"https://avatars.githubusercontent.com/u/10714587?v=3","gravatar_id":"","url":"https://api.github.com/users/kulish-alina","html_url":"https://github.com/kulish-alina","followers_url":"https://api.github.com/users/kulish-alina/followers","following_url":"https://api.github.com/users/kulish-alina/following{/other_user}","gists_url":"https://api.github.com/users/kulish-alina/gists{/gist_id}","starred_url":"https://api.github.com/users/kulish-alina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulish-alina/subscriptions","organizations_url":"https://api.github.com/users/kulish-alina/orgs","repos_url":"https://api.github.com/users/kulish-alina/repos","events_url":"https://api.github.com/users/kulish-alina/events{/privacy}","received_events_url":"https://api.github.com/users/kulish-alina/received_events","type":"User","site_admin":false},"repo":{"id":49066127,"name":"HR_Project","full_name":"kulish-alina/HR_Project","owner":{"login":"kulish-alina","id":10714587,"avatar_url":"https://avatars.githubusercontent.com/u/10714587?v=3","gravatar_id":"","url":"https://api.github.com/users/kulish-alina","html_url":"https://github.com/kulish-alina","followers_url":"https://api.github.com/users/kulish-alina/followers","following_url":"https://api.github.com/users/kulish-alina/following{/other_user}","gists_url":"https://api.github.com/users/kulish-alina/gists{/gist_id}","starred_url":"https://api.github.com/users/kulish-alina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulish-alina/subscriptions","organizations_url":"https://api.github.com/users/kulish-alina/orgs","repos_url":"https://api.github.com/users/kulish-alina/repos","events_url":"https://api.github.com/users/kulish-alina/events{/privacy}","received_events_url":"https://api.github.com/users/kulish-alina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kulish-alina/HR_Project","description":"","fork":false,"url":"https://api.github.com/repos/kulish-alina/HR_Project","forks_url":"https://api.github.com/repos/kulish-alina/HR_Project/forks","keys_url":"https://api.github.com/repos/kulish-alina/HR_Project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kulish-alina/HR_Project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kulish-alina/HR_Project/teams","hooks_url":"https://api.github.com/repos/kulish-alina/HR_Project/hooks","issue_events_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/events{/number}","events_url":"https://api.github.com/repos/kulish-alina/HR_Project/events","assignees_url":"https://api.github.com/repos/kulish-alina/HR_Project/assignees{/user}","branches_url":"https://api.github.com/repos/kulish-alina/HR_Project/branches{/branch}","tags_url":"https://api.github.com/repos/kulish-alina/HR_Project/tags","blobs_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/refs{/sha}","trees_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kulish-alina/HR_Project/statuses/{sha}","languages_url":"https://api.github.com/repos/kulish-alina/HR_Project/languages","stargazers_url":"https://api.github.com/repos/kulish-alina/HR_Project/stargazers","contributors_url":"https://api.github.com/repos/kulish-alina/HR_Project/contributors","subscribers_url":"https://api.github.com/repos/kulish-alina/HR_Project/subscribers","subscription_url":"https://api.github.com/repos/kulish-alina/HR_Project/subscription","commits_url":"https://api.github.com/repos/kulish-alina/HR_Project/commits{/sha}","git_commits_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/commits{/sha}","comments_url":"https://api.github.com/repos/kulish-alina/HR_Project/comments{/number}","issue_comment_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/comments{/number}","contents_url":"https://api.github.com/repos/kulish-alina/HR_Project/contents/{+path}","compare_url":"https://api.github.com/repos/kulish-alina/HR_Project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kulish-alina/HR_Project/merges","archive_url":"https://api.github.com/repos/kulish-alina/HR_Project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kulish-alina/HR_Project/downloads","issues_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues{/number}","pulls_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls{/number}","milestones_url":"https://api.github.com/repos/kulish-alina/HR_Project/milestones{/number}","notifications_url":"https://api.github.com/repos/kulish-alina/HR_Project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kulish-alina/HR_Project/labels{/name}","releases_url":"https://api.github.com/repos/kulish-alina/HR_Project/releases{/id}","deployments_url":"https://api.github.com/repos/kulish-alina/HR_Project/deployments","created_at":"2016-01-05T13:00:58Z","updated_at":"2016-02-11T11:25:01Z","pushed_at":"2016-06-30T04:57:37Z","git_url":"git://github.com/kulish-alina/HR_Project.git","ssh_url":"git@github.com:kulish-alina/HR_Project.git","clone_url":"https://github.com/kulish-alina/HR_Project.git","svn_url":"https://github.com/kulish-alina/HR_Project","homepage":null,"size":18587,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":29,"forks":6,"open_issues":29,"watchers":2,"default_branch":"master"}},"base":{"label":"kulish-alina:new_dev_server","ref":"new_dev_server","sha":"29e11d790024d12f743273bd153bdfbb637ca16c","user":{"login":"kulish-alina","id":10714587,"avatar_url":"https://avatars.githubusercontent.com/u/10714587?v=3","gravatar_id":"","url":"https://api.github.com/users/kulish-alina","html_url":"https://github.com/kulish-alina","followers_url":"https://api.github.com/users/kulish-alina/followers","following_url":"https://api.github.com/users/kulish-alina/following{/other_user}","gists_url":"https://api.github.com/users/kulish-alina/gists{/gist_id}","starred_url":"https://api.github.com/users/kulish-alina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulish-alina/subscriptions","organizations_url":"https://api.github.com/users/kulish-alina/orgs","repos_url":"https://api.github.com/users/kulish-alina/repos","events_url":"https://api.github.com/users/kulish-alina/events{/privacy}","received_events_url":"https://api.github.com/users/kulish-alina/received_events","type":"User","site_admin":false},"repo":{"id":49066127,"name":"HR_Project","full_name":"kulish-alina/HR_Project","owner":{"login":"kulish-alina","id":10714587,"avatar_url":"https://avatars.githubusercontent.com/u/10714587?v=3","gravatar_id":"","url":"https://api.github.com/users/kulish-alina","html_url":"https://github.com/kulish-alina","followers_url":"https://api.github.com/users/kulish-alina/followers","following_url":"https://api.github.com/users/kulish-alina/following{/other_user}","gists_url":"https://api.github.com/users/kulish-alina/gists{/gist_id}","starred_url":"https://api.github.com/users/kulish-alina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulish-alina/subscriptions","organizations_url":"https://api.github.com/users/kulish-alina/orgs","repos_url":"https://api.github.com/users/kulish-alina/repos","events_url":"https://api.github.com/users/kulish-alina/events{/privacy}","received_events_url":"https://api.github.com/users/kulish-alina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kulish-alina/HR_Project","description":"","fork":false,"url":"https://api.github.com/repos/kulish-alina/HR_Project","forks_url":"https://api.github.com/repos/kulish-alina/HR_Project/forks","keys_url":"https://api.github.com/repos/kulish-alina/HR_Project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kulish-alina/HR_Project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kulish-alina/HR_Project/teams","hooks_url":"https://api.github.com/repos/kulish-alina/HR_Project/hooks","issue_events_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/events{/number}","events_url":"https://api.github.com/repos/kulish-alina/HR_Project/events","assignees_url":"https://api.github.com/repos/kulish-alina/HR_Project/assignees{/user}","branches_url":"https://api.github.com/repos/kulish-alina/HR_Project/branches{/branch}","tags_url":"https://api.github.com/repos/kulish-alina/HR_Project/tags","blobs_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/refs{/sha}","trees_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kulish-alina/HR_Project/statuses/{sha}","languages_url":"https://api.github.com/repos/kulish-alina/HR_Project/languages","stargazers_url":"https://api.github.com/repos/kulish-alina/HR_Project/stargazers","contributors_url":"https://api.github.com/repos/kulish-alina/HR_Project/contributors","subscribers_url":"https://api.github.com/repos/kulish-alina/HR_Project/subscribers","subscription_url":"https://api.github.com/repos/kulish-alina/HR_Project/subscription","commits_url":"https://api.github.com/repos/kulish-alina/HR_Project/commits{/sha}","git_commits_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/commits{/sha}","comments_url":"https://api.github.com/repos/kulish-alina/HR_Project/comments{/number}","issue_comment_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/comments{/number}","contents_url":"https://api.github.com/repos/kulish-alina/HR_Project/contents/{+path}","compare_url":"https://api.github.com/repos/kulish-alina/HR_Project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kulish-alina/HR_Project/merges","archive_url":"https://api.github.com/repos/kulish-alina/HR_Project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kulish-alina/HR_Project/downloads","issues_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues{/number}","pulls_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls{/number}","milestones_url":"https://api.github.com/repos/kulish-alina/HR_Project/milestones{/number}","notifications_url":"https://api.github.com/repos/kulish-alina/HR_Project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kulish-alina/HR_Project/labels{/name}","releases_url":"https://api.github.com/repos/kulish-alina/HR_Project/releases{/id}","deployments_url":"https://api.github.com/repos/kulish-alina/HR_Project/deployments","created_at":"2016-01-05T13:00:58Z","updated_at":"2016-02-11T11:25:01Z","pushed_at":"2016-06-30T04:57:37Z","git_url":"git://github.com/kulish-alina/HR_Project.git","ssh_url":"git@github.com:kulish-alina/HR_Project.git","clone_url":"https://github.com/kulish-alina/HR_Project.git","svn_url":"https://github.com/kulish-alina/HR_Project","homepage":null,"size":18587,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":29,"forks":6,"open_issues":29,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/222"},"html":{"href":"https://github.com/kulish-alina/HR_Project/pull/222"},"issue":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/issues/222"},"comments":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/statuses/9f9f4d82e40d2571cbce742dc20e1ad7309cc0a0"}}}}
{"actor":{"display_login":"gasty"}}