{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/85495371","pull_request_review_id":6208446,"id":85495371,"diff_hunk":"@@ -0,0 +1,14 @@\n+'use strict';\n+var exports = module.exports = {};\n+var buildLog = [];\n+\n+exports.addLog = function(type, smallMessage, socket, largeMessage) {\n+    if (typeof(largeMessage) === 'undefined') {\n+        largeMessage = smallMessage;\n+    }\n+\n+    buildLog.push({'type':type, 'smallMessage' : smallMessage, 'largeMessage': largeMessage});\n+    largeMessage = largeMessage.toString();\n+    var obj = {'type' : type, 'smallMessage' : smallMessage, 'largeMessage': largeMessage};","path":"src/backend/buildlogger.js","position":12,"original_position":12,"commit_id":"201e459776f132c1c85649cbc385d70f7cd6e146","original_commit_id":"201e459776f132c1c85649cbc385d70f7cd6e146","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Expected blank line after variable declarations. (newline-after-var)](https://www.codacy.com/app/dev_19/open-event-webapp/file/4310293814/issues/source?bid=3439863&fileBranchId=3844440#l12)","created_at":"2016-10-28T09:05:19Z","updated_at":"2016-10-28T09:05:19Z","html_url":"https://github.com/fossasia/open-event-webapp/pull/879#discussion_r85495371","pull_request_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/879","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/85495371"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/879#discussion_r85495371"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/879"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/879","id":91081120,"html_url":"https://github.com/fossasia/open-event-webapp/pull/879","diff_url":"https://github.com/fossasia/open-event-webapp/pull/879.diff","patch_url":"https://github.com/fossasia/open-event-webapp/pull/879.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/879","number":879,"state":"open","locked":false,"title":"Added logging support for the app","user":{"login":"Princu7","id":8847265,"avatar_url":"https://avatars.githubusercontent.com/u/8847265?v=3","gravatar_id":"","url":"https://api.github.com/users/Princu7","html_url":"https://github.com/Princu7","followers_url":"https://api.github.com/users/Princu7/followers","following_url":"https://api.github.com/users/Princu7/following{/other_user}","gists_url":"https://api.github.com/users/Princu7/gists{/gist_id}","starred_url":"https://api.github.com/users/Princu7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Princu7/subscriptions","organizations_url":"https://api.github.com/users/Princu7/orgs","repos_url":"https://api.github.com/users/Princu7/repos","events_url":"https://api.github.com/users/Princu7/events{/privacy}","received_events_url":"https://api.github.com/users/Princu7/received_events","type":"User","site_admin":false},"body":"Solves the issue #819. @mariobehling @aayusharora  Please test and review the app at\r\nhttps://floating-tor-16309.herokuapp.com/\r\n\r\nHere are some screenshots\r\n![screenshot from 2016-10-27 01-42-26](https://cloud.githubusercontent.com/assets/8847265/19743564/574a350e-9be7-11e6-9fd7-dc9ee9048d48.png)\r\n![screenshot from 2016-10-27 01-42-17](https://cloud.githubusercontent.com/assets/8847265/19743569/5e61f53e-9be7-11e6-84ec-283b2c5df2d3.png)\r\nAn error which I created myself. You have the option to view the detailed information of an error\r\n![screenshot from 2016-10-27 01-50-36](https://cloud.githubusercontent.com/assets/8847265/19743699/e9bcac14-9be7-11e6-9387-4939248edf61.png)\r\n![screenshot from 2016-10-27 01-50-41](https://cloud.githubusercontent.com/assets/8847265/19743718/fb4fb764-9be7-11e6-8df4-d7080f04a2c2.png)\r\n\r\nThe logging is not perfect but it is a good start for us. We will keep improving it as the time progresses. Please give you suggestions and reviews. Thanks.","created_at":"2016-10-26T20:24:32Z","updated_at":"2016-10-28T09:05:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e6df425faa897873df77f07fc3e3629b478bcc6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/879/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/879/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/879/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/201e459776f132c1c85649cbc385d70f7cd6e146","head":{"label":"Princu7:log","ref":"log","sha":"201e459776f132c1c85649cbc385d70f7cd6e146","user":{"login":"Princu7","id":8847265,"avatar_url":"https://avatars.githubusercontent.com/u/8847265?v=3","gravatar_id":"","url":"https://api.github.com/users/Princu7","html_url":"https://github.com/Princu7","followers_url":"https://api.github.com/users/Princu7/followers","following_url":"https://api.github.com/users/Princu7/following{/other_user}","gists_url":"https://api.github.com/users/Princu7/gists{/gist_id}","starred_url":"https://api.github.com/users/Princu7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Princu7/subscriptions","organizations_url":"https://api.github.com/users/Princu7/orgs","repos_url":"https://api.github.com/users/Princu7/repos","events_url":"https://api.github.com/users/Princu7/events{/privacy}","received_events_url":"https://api.github.com/users/Princu7/received_events","type":"User","site_admin":false},"repo":{"id":67641576,"name":"open-event-webapp","full_name":"Princu7/open-event-webapp","owner":{"login":"Princu7","id":8847265,"avatar_url":"https://avatars.githubusercontent.com/u/8847265?v=3","gravatar_id":"","url":"https://api.github.com/users/Princu7","html_url":"https://github.com/Princu7","followers_url":"https://api.github.com/users/Princu7/followers","following_url":"https://api.github.com/users/Princu7/following{/other_user}","gists_url":"https://api.github.com/users/Princu7/gists{/gist_id}","starred_url":"https://api.github.com/users/Princu7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Princu7/subscriptions","organizations_url":"https://api.github.com/users/Princu7/orgs","repos_url":"https://api.github.com/users/Princu7/repos","events_url":"https://api.github.com/users/Princu7/events{/privacy}","received_events_url":"https://api.github.com/users/Princu7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Princu7/open-event-webapp","description":"Open Event Web App Generator","fork":true,"url":"https://api.github.com/repos/Princu7/open-event-webapp","forks_url":"https://api.github.com/repos/Princu7/open-event-webapp/forks","keys_url":"https://api.github.com/repos/Princu7/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Princu7/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Princu7/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/Princu7/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/Princu7/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/Princu7/open-event-webapp/events","assignees_url":"https://api.github.com/repos/Princu7/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/Princu7/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/Princu7/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/Princu7/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Princu7/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Princu7/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Princu7/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Princu7/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/Princu7/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/Princu7/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/Princu7/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/Princu7/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/Princu7/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/Princu7/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Princu7/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Princu7/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Princu7/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Princu7/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/Princu7/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Princu7/open-event-webapp/merges","archive_url":"https://api.github.com/repos/Princu7/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Princu7/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/Princu7/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/Princu7/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/Princu7/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/Princu7/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Princu7/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/Princu7/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/Princu7/open-event-webapp/deployments","created_at":"2016-09-07T20:36:22Z","updated_at":"2016-09-07T20:36:23Z","pushed_at":"2016-10-28T09:02:11Z","git_url":"git://github.com/Princu7/open-event-webapp.git","ssh_url":"git@github.com:Princu7/open-event-webapp.git","clone_url":"https://github.com/Princu7/open-event-webapp.git","svn_url":"https://github.com/Princu7/open-event-webapp","homepage":"http://opev-webgen-dev.herokuapp.com","size":58356,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"fossasia:development","ref":"development","sha":"acdd0a07204b3f664ec84733d3c3df651d4695eb","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35269905,"name":"open-event-webapp","full_name":"fossasia/open-event-webapp","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-webapp","description":"Open Event Web App Generator http://opev-webgen-dev.herokuapp.com","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-webapp","forks_url":"https://api.github.com/repos/fossasia/open-event-webapp/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-webapp/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-webapp/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-webapp/deployments","created_at":"2015-05-08T09:11:00Z","updated_at":"2016-10-27T03:17:57Z","pushed_at":"2016-10-28T09:02:11Z","git_url":"git://github.com/fossasia/open-event-webapp.git","ssh_url":"git@github.com:fossasia/open-event-webapp.git","clone_url":"https://github.com/fossasia/open-event-webapp.git","svn_url":"https://github.com/fossasia/open-event-webapp","homepage":"http://fossasia.github.io/open-event-webapp/","size":376127,"stargazers_count":39,"watchers_count":39,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":93,"mirror_url":null,"open_issues_count":27,"forks":93,"open_issues":27,"watchers":39,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/879"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/879"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/879"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/879/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/879/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/879/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/201e459776f132c1c85649cbc385d70f7cd6e146"}}}}
{"actor":{"display_login":"codacy-bot"}}