{"action":"created","comment":{"url":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/comments/78689510","id":78689510,"diff_hunk":"@@ -0,0 +1,71 @@\n+(function (angular) {\n+    'use strict';\n+\n+    angular.module('znk.infra.znkQuestionReport').controller('znkReportCtrl',\n+        function($log, $mdDialog, $timeout, $http, ENV, AuthService, MailSenderService, reportData) {\n+            'ngInject';\n+\n+            var self = this;\n+            var userAuth = AuthService.getAuth();\n+            var MAIL_TO_SEND = 'ofir@zinkerz.com';\n+            var TEMPLATE_KEY = 'reportQuestion';\n+            var EMAIL_SUBJECT = 'Report Question';\n+\n+            self.success = false;\n+            self.reportData = reportData;\n+            self.reportData.app = ENV.firebaseAppScopeName.split('_')[0].toUpperCase();\n+            self.reportData.email = userAuth.auth.email;\n+            self.reportData.message = 'Hello Support,\\r\\n' +","path":"src/components/znkQuestionReport/controllers/znkReport.controller.js","position":18,"original_position":18,"commit_id":"27f174b20a68183f914edf2765a0ba0c969fd8e2","original_commit_id":"27f174b20a68183f914edf2765a0ba0c969fd8e2","user":{"login":"assafshp","id":5521401,"avatar_url":"https://avatars.githubusercontent.com/u/5521401?v=3","gravatar_id":"","url":"https://api.github.com/users/assafshp","html_url":"https://github.com/assafshp","followers_url":"https://api.github.com/users/assafshp/followers","following_url":"https://api.github.com/users/assafshp/following{/other_user}","gists_url":"https://api.github.com/users/assafshp/gists{/gist_id}","starred_url":"https://api.github.com/users/assafshp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assafshp/subscriptions","organizations_url":"https://api.github.com/users/assafshp/orgs","repos_url":"https://api.github.com/users/assafshp/repos","events_url":"https://api.github.com/users/assafshp/events{/privacy}","received_events_url":"https://api.github.com/users/assafshp/received_events","type":"User","site_admin":false},"body":"Has to be translated","created_at":"2016-09-14T05:55:09Z","updated_at":"2016-09-14T05:55:09Z","html_url":"https://github.com/Knowledge-OTP/infra/pull/378#discussion_r78689510","pull_request_url":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/378","_links":{"self":{"href":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/comments/78689510"},"html":{"href":"https://github.com/Knowledge-OTP/infra/pull/378#discussion_r78689510"},"pull_request":{"href":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/378"}}},"pull_request":{"url":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/378","id":85011512,"html_url":"https://github.com/Knowledge-OTP/infra/pull/378","diff_url":"https://github.com/Knowledge-OTP/infra/pull/378.diff","patch_url":"https://github.com/Knowledge-OTP/infra/pull/378.patch","issue_url":"https://api.github.com/repos/Knowledge-OTP/infra/issues/378","number":378,"state":"open","locked":false,"title":"Ofir/tfl_1201","user":{"login":"OfirZinkerz","id":21983129,"avatar_url":"https://avatars.githubusercontent.com/u/21983129?v=3","gravatar_id":"","url":"https://api.github.com/users/OfirZinkerz","html_url":"https://github.com/OfirZinkerz","followers_url":"https://api.github.com/users/OfirZinkerz/followers","following_url":"https://api.github.com/users/OfirZinkerz/following{/other_user}","gists_url":"https://api.github.com/users/OfirZinkerz/gists{/gist_id}","starred_url":"https://api.github.com/users/OfirZinkerz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OfirZinkerz/subscriptions","organizations_url":"https://api.github.com/users/OfirZinkerz/orgs","repos_url":"https://api.github.com/users/OfirZinkerz/repos","events_url":"https://api.github.com/users/OfirZinkerz/events{/privacy}","received_events_url":"https://api.github.com/users/OfirZinkerz/received_events","type":"User","site_admin":false},"body":"Every question should have a \"report question\" button","created_at":"2016-09-13T09:16:01Z","updated_at":"2016-09-14T05:55:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56f6d6bf3891a81592eb72d1a2bc81852c50732f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/378/commits","review_comments_url":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/378/comments","review_comment_url":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Knowledge-OTP/infra/issues/378/comments","statuses_url":"https://api.github.com/repos/Knowledge-OTP/infra/statuses/27f174b20a68183f914edf2765a0ba0c969fd8e2","head":{"label":"Knowledge-OTP:ofir/tfl-1201","ref":"ofir/tfl-1201","sha":"27f174b20a68183f914edf2765a0ba0c969fd8e2","user":{"login":"Knowledge-OTP","id":6382607,"avatar_url":"https://avatars.githubusercontent.com/u/6382607?v=3","gravatar_id":"","url":"https://api.github.com/users/Knowledge-OTP","html_url":"https://github.com/Knowledge-OTP","followers_url":"https://api.github.com/users/Knowledge-OTP/followers","following_url":"https://api.github.com/users/Knowledge-OTP/following{/other_user}","gists_url":"https://api.github.com/users/Knowledge-OTP/gists{/gist_id}","starred_url":"https://api.github.com/users/Knowledge-OTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Knowledge-OTP/subscriptions","organizations_url":"https://api.github.com/users/Knowledge-OTP/orgs","repos_url":"https://api.github.com/users/Knowledge-OTP/repos","events_url":"https://api.github.com/users/Knowledge-OTP/events{/privacy}","received_events_url":"https://api.github.com/users/Knowledge-OTP/received_events","type":"Organization","site_admin":false},"repo":{"id":44325496,"name":"infra","full_name":"Knowledge-OTP/infra","owner":{"login":"Knowledge-OTP","id":6382607,"avatar_url":"https://avatars.githubusercontent.com/u/6382607?v=3","gravatar_id":"","url":"https://api.github.com/users/Knowledge-OTP","html_url":"https://github.com/Knowledge-OTP","followers_url":"https://api.github.com/users/Knowledge-OTP/followers","following_url":"https://api.github.com/users/Knowledge-OTP/following{/other_user}","gists_url":"https://api.github.com/users/Knowledge-OTP/gists{/gist_id}","starred_url":"https://api.github.com/users/Knowledge-OTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Knowledge-OTP/subscriptions","organizations_url":"https://api.github.com/users/Knowledge-OTP/orgs","repos_url":"https://api.github.com/users/Knowledge-OTP/repos","events_url":"https://api.github.com/users/Knowledge-OTP/events{/privacy}","received_events_url":"https://api.github.com/users/Knowledge-OTP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Knowledge-OTP/infra","description":"","fork":false,"url":"https://api.github.com/repos/Knowledge-OTP/infra","forks_url":"https://api.github.com/repos/Knowledge-OTP/infra/forks","keys_url":"https://api.github.com/repos/Knowledge-OTP/infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Knowledge-OTP/infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Knowledge-OTP/infra/teams","hooks_url":"https://api.github.com/repos/Knowledge-OTP/infra/hooks","issue_events_url":"https://api.github.com/repos/Knowledge-OTP/infra/issues/events{/number}","events_url":"https://api.github.com/repos/Knowledge-OTP/infra/events","assignees_url":"https://api.github.com/repos/Knowledge-OTP/infra/assignees{/user}","branches_url":"https://api.github.com/repos/Knowledge-OTP/infra/branches{/branch}","tags_url":"https://api.github.com/repos/Knowledge-OTP/infra/tags","blobs_url":"https://api.github.com/repos/Knowledge-OTP/infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Knowledge-OTP/infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Knowledge-OTP/infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/Knowledge-OTP/infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Knowledge-OTP/infra/statuses/{sha}","languages_url":"https://api.github.com/repos/Knowledge-OTP/infra/languages","stargazers_url":"https://api.github.com/repos/Knowledge-OTP/infra/stargazers","contributors_url":"https://api.github.com/repos/Knowledge-OTP/infra/contributors","subscribers_url":"https://api.github.com/repos/Knowledge-OTP/infra/subscribers","subscription_url":"https://api.github.com/repos/Knowledge-OTP/infra/subscription","commits_url":"https://api.github.com/repos/Knowledge-OTP/infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/Knowledge-OTP/infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/Knowledge-OTP/infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/Knowledge-OTP/infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/Knowledge-OTP/infra/contents/{+path}","compare_url":"https://api.github.com/repos/Knowledge-OTP/infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Knowledge-OTP/infra/merges","archive_url":"https://api.github.com/repos/Knowledge-OTP/infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Knowledge-OTP/infra/downloads","issues_url":"https://api.github.com/repos/Knowledge-OTP/infra/issues{/number}","pulls_url":"https://api.github.com/repos/Knowledge-OTP/infra/pulls{/number}","milestones_url":"https://api.github.com/repos/Knowledge-OTP/infra/milestones{/number}","notifications_url":"https://api.github.com/repos/Knowledge-OTP/infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Knowledge-OTP/infra/labels{/name}","releases_url":"https://api.github.com/repos/Knowledge-OTP/infra/releases{/id}","deployments_url":"https://api.github.com/repos/Knowledge-OTP/infra/deployments","created_at":"2015-10-15T15:05:15Z","updated_at":"2016-01-11T15:47:16Z","pushed_at":"2016-09-13T21:08:43Z","git_url":"git://github.com/Knowledge-OTP/infra.git","ssh_url":"git@github.com:Knowledge-OTP/infra.git","clone_url":"https://github.com/Knowledge-OTP/infra.git","svn_url":"https://github.com/Knowledge-OTP/infra","homepage":null,"size":41255,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"zinkerz/dev"}},"base":{"label":"Knowledge-OTP:zinkerz/dev","ref":"zinkerz/dev","sha":"b19bfdd5888f4223178bb30709d5d854a3b8aef7","user":{"login":"Knowledge-OTP","id":6382607,"avatar_url":"https://avatars.githubusercontent.com/u/6382607?v=3","gravatar_id":"","url":"https://api.github.com/users/Knowledge-OTP","html_url":"https://github.com/Knowledge-OTP","followers_url":"https://api.github.com/users/Knowledge-OTP/followers","following_url":"https://api.github.com/users/Knowledge-OTP/following{/other_user}","gists_url":"https://api.github.com/users/Knowledge-OTP/gists{/gist_id}","starred_url":"https://api.github.com/users/Knowledge-OTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Knowledge-OTP/subscriptions","organizations_url":"https://api.github.com/users/Knowledge-OTP/orgs","repos_url":"https://api.github.com/users/Knowledge-OTP/repos","events_url":"https://api.github.com/users/Knowledge-OTP/events{/privacy}","received_events_url":"https://api.github.com/users/Knowledge-OTP/received_events","type":"Organization","site_admin":false},"repo":{"id":44325496,"name":"infra","full_name":"Knowledge-OTP/infra","owner":{"login":"Knowledge-OTP","id":6382607,"avatar_url":"https://avatars.githubusercontent.com/u/6382607?v=3","gravatar_id":"","url":"https://api.github.com/users/Knowledge-OTP","html_url":"https://github.com/Knowledge-OTP","followers_url":"https://api.github.com/users/Knowledge-OTP/followers","following_url":"https://api.github.com/users/Knowledge-OTP/following{/other_user}","gists_url":"https://api.github.com/users/Knowledge-OTP/gists{/gist_id}","starred_url":"https://api.github.com/users/Knowledge-OTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Knowledge-OTP/subscriptions","organizations_url":"https://api.github.com/users/Knowledge-OTP/orgs","repos_url":"https://api.github.com/users/Knowledge-OTP/repos","events_url":"https://api.github.com/users/Knowledge-OTP/events{/privacy}","received_events_url":"https://api.github.com/users/Knowledge-OTP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Knowledge-OTP/infra","description":"","fork":false,"url":"https://api.github.com/repos/Knowledge-OTP/infra","forks_url":"https://api.github.com/repos/Knowledge-OTP/infra/forks","keys_url":"https://api.github.com/repos/Knowledge-OTP/infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Knowledge-OTP/infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Knowledge-OTP/infra/teams","hooks_url":"https://api.github.com/repos/Knowledge-OTP/infra/hooks","issue_events_url":"https://api.github.com/repos/Knowledge-OTP/infra/issues/events{/number}","events_url":"https://api.github.com/repos/Knowledge-OTP/infra/events","assignees_url":"https://api.github.com/repos/Knowledge-OTP/infra/assignees{/user}","branches_url":"https://api.github.com/repos/Knowledge-OTP/infra/branches{/branch}","tags_url":"https://api.github.com/repos/Knowledge-OTP/infra/tags","blobs_url":"https://api.github.com/repos/Knowledge-OTP/infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Knowledge-OTP/infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Knowledge-OTP/infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/Knowledge-OTP/infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Knowledge-OTP/infra/statuses/{sha}","languages_url":"https://api.github.com/repos/Knowledge-OTP/infra/languages","stargazers_url":"https://api.github.com/repos/Knowledge-OTP/infra/stargazers","contributors_url":"https://api.github.com/repos/Knowledge-OTP/infra/contributors","subscribers_url":"https://api.github.com/repos/Knowledge-OTP/infra/subscribers","subscription_url":"https://api.github.com/repos/Knowledge-OTP/infra/subscription","commits_url":"https://api.github.com/repos/Knowledge-OTP/infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/Knowledge-OTP/infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/Knowledge-OTP/infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/Knowledge-OTP/infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/Knowledge-OTP/infra/contents/{+path}","compare_url":"https://api.github.com/repos/Knowledge-OTP/infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Knowledge-OTP/infra/merges","archive_url":"https://api.github.com/repos/Knowledge-OTP/infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Knowledge-OTP/infra/downloads","issues_url":"https://api.github.com/repos/Knowledge-OTP/infra/issues{/number}","pulls_url":"https://api.github.com/repos/Knowledge-OTP/infra/pulls{/number}","milestones_url":"https://api.github.com/repos/Knowledge-OTP/infra/milestones{/number}","notifications_url":"https://api.github.com/repos/Knowledge-OTP/infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Knowledge-OTP/infra/labels{/name}","releases_url":"https://api.github.com/repos/Knowledge-OTP/infra/releases{/id}","deployments_url":"https://api.github.com/repos/Knowledge-OTP/infra/deployments","created_at":"2015-10-15T15:05:15Z","updated_at":"2016-01-11T15:47:16Z","pushed_at":"2016-09-13T21:08:43Z","git_url":"git://github.com/Knowledge-OTP/infra.git","ssh_url":"git@github.com:Knowledge-OTP/infra.git","clone_url":"https://github.com/Knowledge-OTP/infra.git","svn_url":"https://github.com/Knowledge-OTP/infra","homepage":null,"size":41255,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"zinkerz/dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/378"},"html":{"href":"https://github.com/Knowledge-OTP/infra/pull/378"},"issue":{"href":"https://api.github.com/repos/Knowledge-OTP/infra/issues/378"},"comments":{"href":"https://api.github.com/repos/Knowledge-OTP/infra/issues/378/comments"},"review_comments":{"href":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/378/comments"},"review_comment":{"href":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Knowledge-OTP/infra/pulls/378/commits"},"statuses":{"href":"https://api.github.com/repos/Knowledge-OTP/infra/statuses/27f174b20a68183f914edf2765a0ba0c969fd8e2"}}}}
{"actor":{"display_login":"assafshp"}}