{"action":"created","comment":{"url":"https://api.github.com/repos/koding/koding/pulls/comments/75039178","id":75039178,"diff_hunk":"@@ -337,6 +337,112 @@ checkAuthorizationBearerHeader = (req) ->\n \n   return token\n \n+fetchGroupMembersAndInvitations = (client, data, callback, params) ->\n+\n+  { JGroup, JInvitation } = koding.models\n+  { group: slug } = client.context\n+  { connection: { delegate: account } } = client\n+\n+  queue = {","path":"servers/lib/server/helpers.coffee","position":22,"original_position":22,"commit_id":"d7def0af0b15186c81d8e8c3ed460f1c61b83c96","original_commit_id":"d7def0af0b15186c81d8e8c3ed460f1c61b83c96","user":{"login":"sinan","id":440086,"avatar_url":"https://avatars.githubusercontent.com/u/440086?v=3","gravatar_id":"","url":"https://api.github.com/users/sinan","html_url":"https://github.com/sinan","followers_url":"https://api.github.com/users/sinan/followers","following_url":"https://api.github.com/users/sinan/following{/other_user}","gists_url":"https://api.github.com/users/sinan/gists{/gist_id}","starred_url":"https://api.github.com/users/sinan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinan/subscriptions","organizations_url":"https://api.github.com/users/sinan/orgs","repos_url":"https://api.github.com/users/sinan/repos","events_url":"https://api.github.com/users/sinan/events{/privacy}","received_events_url":"https://api.github.com/users/sinan/received_events","type":"User","site_admin":false},"body":"make this an array","created_at":"2016-08-16T23:22:50Z","updated_at":"2016-08-16T23:22:50Z","html_url":"https://github.com/koding/koding/pull/8676#discussion_r75039178","pull_request_url":"https://api.github.com/repos/koding/koding/pulls/8676","_links":{"self":{"href":"https://api.github.com/repos/koding/koding/pulls/comments/75039178"},"html":{"href":"https://github.com/koding/koding/pull/8676#discussion_r75039178"},"pull_request":{"href":"https://api.github.com/repos/koding/koding/pulls/8676"}}},"pull_request":{"url":"https://api.github.com/repos/koding/koding/pulls/8676","id":79662163,"html_url":"https://github.com/koding/koding/pull/8676","diff_url":"https://github.com/koding/koding/pull/8676.diff","patch_url":"https://github.com/koding/koding/pull/8676.patch","issue_url":"https://api.github.com/repos/koding/koding/issues/8676","number":8676,"state":"open","locked":false,"title":"Front-end implementation of sending invitations by uploading CSV files.","user":{"login":"hakankaradis","id":5847301,"avatar_url":"https://avatars.githubusercontent.com/u/5847301?v=3","gravatar_id":"","url":"https://api.github.com/users/hakankaradis","html_url":"https://github.com/hakankaradis","followers_url":"https://api.github.com/users/hakankaradis/followers","following_url":"https://api.github.com/users/hakankaradis/following{/other_user}","gists_url":"https://api.github.com/users/hakankaradis/gists{/gist_id}","starred_url":"https://api.github.com/users/hakankaradis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hakankaradis/subscriptions","organizations_url":"https://api.github.com/users/hakankaradis/orgs","repos_url":"https://api.github.com/users/hakankaradis/repos","events_url":"https://api.github.com/users/hakankaradis/events{/privacy}","received_events_url":"https://api.github.com/users/hakankaradis/received_events","type":"User","site_admin":false},"body":"fixes #8541 \r\n","created_at":"2016-08-02T01:09:25Z","updated_at":"2016-08-16T23:22:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af0cb50153120356b1a2cdb0bd4491887609b192","assignee":{"login":"sinan","id":440086,"avatar_url":"https://avatars.githubusercontent.com/u/440086?v=3","gravatar_id":"","url":"https://api.github.com/users/sinan","html_url":"https://github.com/sinan","followers_url":"https://api.github.com/users/sinan/followers","following_url":"https://api.github.com/users/sinan/following{/other_user}","gists_url":"https://api.github.com/users/sinan/gists{/gist_id}","starred_url":"https://api.github.com/users/sinan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinan/subscriptions","organizations_url":"https://api.github.com/users/sinan/orgs","repos_url":"https://api.github.com/users/sinan/repos","events_url":"https://api.github.com/users/sinan/events{/privacy}","received_events_url":"https://api.github.com/users/sinan/received_events","type":"User","site_admin":false},"assignees":[{"login":"sinan","id":440086,"avatar_url":"https://avatars.githubusercontent.com/u/440086?v=3","gravatar_id":"","url":"https://api.github.com/users/sinan","html_url":"https://github.com/sinan","followers_url":"https://api.github.com/users/sinan/followers","following_url":"https://api.github.com/users/sinan/following{/other_user}","gists_url":"https://api.github.com/users/sinan/gists{/gist_id}","starred_url":"https://api.github.com/users/sinan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinan/subscriptions","organizations_url":"https://api.github.com/users/sinan/orgs","repos_url":"https://api.github.com/users/sinan/repos","events_url":"https://api.github.com/users/sinan/events{/privacy}","received_events_url":"https://api.github.com/users/sinan/received_events","type":"User","site_admin":false},{"login":"cihangir","id":879660,"avatar_url":"https://avatars.githubusercontent.com/u/879660?v=3","gravatar_id":"","url":"https://api.github.com/users/cihangir","html_url":"https://github.com/cihangir","followers_url":"https://api.github.com/users/cihangir/followers","following_url":"https://api.github.com/users/cihangir/following{/other_user}","gists_url":"https://api.github.com/users/cihangir/gists{/gist_id}","starred_url":"https://api.github.com/users/cihangir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cihangir/subscriptions","organizations_url":"https://api.github.com/users/cihangir/orgs","repos_url":"https://api.github.com/users/cihangir/repos","events_url":"https://api.github.com/users/cihangir/events{/privacy}","received_events_url":"https://api.github.com/users/cihangir/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/koding/koding/pulls/8676/commits","review_comments_url":"https://api.github.com/repos/koding/koding/pulls/8676/comments","review_comment_url":"https://api.github.com/repos/koding/koding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/koding/koding/issues/8676/comments","statuses_url":"https://api.github.com/repos/koding/koding/statuses/d7def0af0b15186c81d8e8c3ed460f1c61b83c96","head":{"label":"koding:8541","ref":"8541","sha":"d7def0af0b15186c81d8e8c3ed460f1c61b83c96","user":{"login":"koding","id":1066754,"avatar_url":"https://avatars.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"repo":{"id":21317360,"name":"koding","full_name":"koding/koding","owner":{"login":"koding","id":1066754,"avatar_url":"https://avatars.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koding/koding","description":"KODING IS NOW OPEN SOURCE!","fork":false,"url":"https://api.github.com/repos/koding/koding","forks_url":"https://api.github.com/repos/koding/koding/forks","keys_url":"https://api.github.com/repos/koding/koding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koding/koding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koding/koding/teams","hooks_url":"https://api.github.com/repos/koding/koding/hooks","issue_events_url":"https://api.github.com/repos/koding/koding/issues/events{/number}","events_url":"https://api.github.com/repos/koding/koding/events","assignees_url":"https://api.github.com/repos/koding/koding/assignees{/user}","branches_url":"https://api.github.com/repos/koding/koding/branches{/branch}","tags_url":"https://api.github.com/repos/koding/koding/tags","blobs_url":"https://api.github.com/repos/koding/koding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koding/koding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koding/koding/git/refs{/sha}","trees_url":"https://api.github.com/repos/koding/koding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koding/koding/statuses/{sha}","languages_url":"https://api.github.com/repos/koding/koding/languages","stargazers_url":"https://api.github.com/repos/koding/koding/stargazers","contributors_url":"https://api.github.com/repos/koding/koding/contributors","subscribers_url":"https://api.github.com/repos/koding/koding/subscribers","subscription_url":"https://api.github.com/repos/koding/koding/subscription","commits_url":"https://api.github.com/repos/koding/koding/commits{/sha}","git_commits_url":"https://api.github.com/repos/koding/koding/git/commits{/sha}","comments_url":"https://api.github.com/repos/koding/koding/comments{/number}","issue_comment_url":"https://api.github.com/repos/koding/koding/issues/comments{/number}","contents_url":"https://api.github.com/repos/koding/koding/contents/{+path}","compare_url":"https://api.github.com/repos/koding/koding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koding/koding/merges","archive_url":"https://api.github.com/repos/koding/koding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koding/koding/downloads","issues_url":"https://api.github.com/repos/koding/koding/issues{/number}","pulls_url":"https://api.github.com/repos/koding/koding/pulls{/number}","milestones_url":"https://api.github.com/repos/koding/koding/milestones{/number}","notifications_url":"https://api.github.com/repos/koding/koding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koding/koding/labels{/name}","releases_url":"https://api.github.com/repos/koding/koding/releases{/id}","deployments_url":"https://api.github.com/repos/koding/koding/deployments","created_at":"2014-06-29T05:46:24Z","updated_at":"2016-08-16T05:56:54Z","pushed_at":"2016-08-16T23:08:29Z","git_url":"git://github.com/koding/koding.git","ssh_url":"git@github.com:koding/koding.git","clone_url":"https://github.com/koding/koding.git","svn_url":"https://github.com/koding/koding","homepage":"http://venturebeat.com/2016/07/26/koding-gitlab/","size":610413,"stargazers_count":262,"watchers_count":262,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":136,"forks":32,"open_issues":136,"watchers":262,"default_branch":"master"}},"base":{"label":"koding:master","ref":"master","sha":"1a641161f4e285c4423fcb0d05b31b076c12549b","user":{"login":"koding","id":1066754,"avatar_url":"https://avatars.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"repo":{"id":21317360,"name":"koding","full_name":"koding/koding","owner":{"login":"koding","id":1066754,"avatar_url":"https://avatars.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koding/koding","description":"KODING IS NOW OPEN SOURCE!","fork":false,"url":"https://api.github.com/repos/koding/koding","forks_url":"https://api.github.com/repos/koding/koding/forks","keys_url":"https://api.github.com/repos/koding/koding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koding/koding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koding/koding/teams","hooks_url":"https://api.github.com/repos/koding/koding/hooks","issue_events_url":"https://api.github.com/repos/koding/koding/issues/events{/number}","events_url":"https://api.github.com/repos/koding/koding/events","assignees_url":"https://api.github.com/repos/koding/koding/assignees{/user}","branches_url":"https://api.github.com/repos/koding/koding/branches{/branch}","tags_url":"https://api.github.com/repos/koding/koding/tags","blobs_url":"https://api.github.com/repos/koding/koding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koding/koding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koding/koding/git/refs{/sha}","trees_url":"https://api.github.com/repos/koding/koding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koding/koding/statuses/{sha}","languages_url":"https://api.github.com/repos/koding/koding/languages","stargazers_url":"https://api.github.com/repos/koding/koding/stargazers","contributors_url":"https://api.github.com/repos/koding/koding/contributors","subscribers_url":"https://api.github.com/repos/koding/koding/subscribers","subscription_url":"https://api.github.com/repos/koding/koding/subscription","commits_url":"https://api.github.com/repos/koding/koding/commits{/sha}","git_commits_url":"https://api.github.com/repos/koding/koding/git/commits{/sha}","comments_url":"https://api.github.com/repos/koding/koding/comments{/number}","issue_comment_url":"https://api.github.com/repos/koding/koding/issues/comments{/number}","contents_url":"https://api.github.com/repos/koding/koding/contents/{+path}","compare_url":"https://api.github.com/repos/koding/koding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koding/koding/merges","archive_url":"https://api.github.com/repos/koding/koding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koding/koding/downloads","issues_url":"https://api.github.com/repos/koding/koding/issues{/number}","pulls_url":"https://api.github.com/repos/koding/koding/pulls{/number}","milestones_url":"https://api.github.com/repos/koding/koding/milestones{/number}","notifications_url":"https://api.github.com/repos/koding/koding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koding/koding/labels{/name}","releases_url":"https://api.github.com/repos/koding/koding/releases{/id}","deployments_url":"https://api.github.com/repos/koding/koding/deployments","created_at":"2014-06-29T05:46:24Z","updated_at":"2016-08-16T05:56:54Z","pushed_at":"2016-08-16T23:08:29Z","git_url":"git://github.com/koding/koding.git","ssh_url":"git@github.com:koding/koding.git","clone_url":"https://github.com/koding/koding.git","svn_url":"https://github.com/koding/koding","homepage":"http://venturebeat.com/2016/07/26/koding-gitlab/","size":610413,"stargazers_count":262,"watchers_count":262,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":136,"forks":32,"open_issues":136,"watchers":262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koding/koding/pulls/8676"},"html":{"href":"https://github.com/koding/koding/pull/8676"},"issue":{"href":"https://api.github.com/repos/koding/koding/issues/8676"},"comments":{"href":"https://api.github.com/repos/koding/koding/issues/8676/comments"},"review_comments":{"href":"https://api.github.com/repos/koding/koding/pulls/8676/comments"},"review_comment":{"href":"https://api.github.com/repos/koding/koding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/koding/koding/pulls/8676/commits"},"statuses":{"href":"https://api.github.com/repos/koding/koding/statuses/d7def0af0b15186c81d8e8c3ed460f1c61b83c96"}}}}
{"actor":{"display_login":"sinan"}}