{"action":"created","comment":{"url":"https://api.github.com/repos/andela/ET-cfh/pulls/comments/202041678","pull_request_review_id":136659011,"id":202041678,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjA0MTY3OA==","diff_hunk":"@@ -0,0 +1,69 @@\n+import request from 'supertest';\n+import { expect } from 'chai';\n+import mongoose from 'mongoose';","path":"backend-test/integration/findUsers.test.js","position":3,"original_position":3,"commit_id":"7b11fff51107748711bab37d79aad3ad8661c67e","original_commit_id":"7b11fff51107748711bab37d79aad3ad8661c67e","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Missing file extension for \"mongoose\"                     import/extensions","created_at":"2018-07-12T13:50:51Z","updated_at":"2018-07-12T13:50:53Z","html_url":"https://github.com/andela/ET-cfh/pull/12#discussion_r202041678","pull_request_url":"https://api.github.com/repos/andela/ET-cfh/pulls/12","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/comments/202041678"},"html":{"href":"https://github.com/andela/ET-cfh/pull/12#discussion_r202041678"},"pull_request":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/andela/ET-cfh/pulls/12","id":200798855,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNzk4ODU1","html_url":"https://github.com/andela/ET-cfh/pull/12","diff_url":"https://github.com/andela/ET-cfh/pull/12.diff","patch_url":"https://github.com/andela/ET-cfh/pull/12.patch","issue_url":"https://api.github.com/repos/andela/ET-cfh/issues/12","number":12,"state":"open","locked":false,"title":"#158457036 Send invites to player and control number of players","user":{"login":"Onnassiz","id":12707248,"node_id":"MDQ6VXNlcjEyNzA3MjQ4","avatar_url":"https://avatars0.githubusercontent.com/u/12707248?v=4","gravatar_id":"","url":"https://api.github.com/users/Onnassiz","html_url":"https://github.com/Onnassiz","followers_url":"https://api.github.com/users/Onnassiz/followers","following_url":"https://api.github.com/users/Onnassiz/following{/other_user}","gists_url":"https://api.github.com/users/Onnassiz/gists{/gist_id}","starred_url":"https://api.github.com/users/Onnassiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Onnassiz/subscriptions","organizations_url":"https://api.github.com/users/Onnassiz/orgs","repos_url":"https://api.github.com/users/Onnassiz/repos","events_url":"https://api.github.com/users/Onnassiz/events{/privacy}","received_events_url":"https://api.github.com/users/Onnassiz/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nThis PR allows users to search for other users and send an invitation to these users. It also prevents a game start when the number of connected users is less than 3 and notifies the 13th user trying to join a game that the game slot is full.\r\n\r\n#### Description of Task to be completed?\r\n\r\n- search for users\r\n- send an email invitation to users\r\n- secure search and send-invitation endpoints\r\n- design reusable modal\r\n- implement modal warnings when necessary\r\n- test backend and frontend features\r\n- etc.\r\n#### How should this be manually tested?\r\nThis PR can be tested using the review app link below\r\n#### What are the relevant pivotal tracker stories?\r\n[158457036]\r\n#### Any background context you want to add?\r\n\r\n#### Screenshots\r\n<img width=\"1119\" alt=\"screen shot 2018-07-11 at 8 09 54 pm\" src=\"https://user-images.githubusercontent.com/12707248/42594321-cbb6320e-8546-11e8-86dc-76399305d7b3.png\">\r\n<img width=\"1129\" alt=\"screen shot 2018-07-11 at 8 11 00 pm\" src=\"https://user-images.githubusercontent.com/12707248/42594322-cbdf09ae-8546-11e8-8eca-f4990cba042c.png\">\r\n<img width=\"1437\" alt=\"screen shot 2018-07-11 at 8 11 52 pm\" src=\"https://user-images.githubusercontent.com/12707248/42594323-cc062fc0-8546-11e8-8a33-d847a371fbce.png\">\r\n","created_at":"2018-07-11T19:13:09Z","updated_at":"2018-07-12T13:50:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7b9c4a9e563c3ae0a887997e4f290048bf20ebd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/ET-cfh/pulls/12/commits","review_comments_url":"https://api.github.com/repos/andela/ET-cfh/pulls/12/comments","review_comment_url":"https://api.github.com/repos/andela/ET-cfh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/ET-cfh/issues/12/comments","statuses_url":"https://api.github.com/repos/andela/ET-cfh/statuses/7b11fff51107748711bab37d79aad3ad8661c67e","head":{"label":"andela:ft-send-invites-to-at-most-11-users-158457036","ref":"ft-send-invites-to-at-most-11-users-158457036","sha":"7b11fff51107748711bab37d79aad3ad8661c67e","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":139054775,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkwNTQ3NzU=","name":"ET-cfh","full_name":"andela/ET-cfh","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/ET-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ET-cfh","forks_url":"https://api.github.com/repos/andela/ET-cfh/forks","keys_url":"https://api.github.com/repos/andela/ET-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ET-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ET-cfh/teams","hooks_url":"https://api.github.com/repos/andela/ET-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/ET-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ET-cfh/events","assignees_url":"https://api.github.com/repos/andela/ET-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ET-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ET-cfh/tags","blobs_url":"https://api.github.com/repos/andela/ET-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ET-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ET-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ET-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ET-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ET-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/ET-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/ET-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/ET-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/ET-cfh/subscription","commits_url":"https://api.github.com/repos/andela/ET-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ET-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ET-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ET-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ET-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ET-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ET-cfh/merges","archive_url":"https://api.github.com/repos/andela/ET-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ET-cfh/downloads","issues_url":"https://api.github.com/repos/andela/ET-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ET-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ET-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ET-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ET-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/ET-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ET-cfh/deployments","created_at":"2018-06-28T18:29:33Z","updated_at":"2018-07-12T10:36:23Z","pushed_at":"2018-07-12T13:44:36Z","git_url":"git://github.com/andela/ET-cfh.git","ssh_url":"git@github.com:andela/ET-cfh.git","clone_url":"https://github.com/andela/ET-cfh.git","svn_url":"https://github.com/andela/ET-cfh","homepage":null,"size":13437,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"652b405e8930a0307097aa520386a78e615ca0e5","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":139054775,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkwNTQ3NzU=","name":"ET-cfh","full_name":"andela/ET-cfh","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/ET-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ET-cfh","forks_url":"https://api.github.com/repos/andela/ET-cfh/forks","keys_url":"https://api.github.com/repos/andela/ET-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ET-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ET-cfh/teams","hooks_url":"https://api.github.com/repos/andela/ET-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/ET-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ET-cfh/events","assignees_url":"https://api.github.com/repos/andela/ET-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ET-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ET-cfh/tags","blobs_url":"https://api.github.com/repos/andela/ET-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ET-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ET-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ET-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ET-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ET-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/ET-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/ET-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/ET-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/ET-cfh/subscription","commits_url":"https://api.github.com/repos/andela/ET-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ET-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ET-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ET-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ET-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ET-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ET-cfh/merges","archive_url":"https://api.github.com/repos/andela/ET-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ET-cfh/downloads","issues_url":"https://api.github.com/repos/andela/ET-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ET-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ET-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ET-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ET-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/ET-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ET-cfh/deployments","created_at":"2018-06-28T18:29:33Z","updated_at":"2018-07-12T10:36:23Z","pushed_at":"2018-07-12T13:44:36Z","git_url":"git://github.com/andela/ET-cfh.git","ssh_url":"git@github.com:andela/ET-cfh.git","clone_url":"https://github.com/andela/ET-cfh.git","svn_url":"https://github.com/andela/ET-cfh","homepage":null,"size":13437,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/12"},"html":{"href":"https://github.com/andela/ET-cfh/pull/12"},"issue":{"href":"https://api.github.com/repos/andela/ET-cfh/issues/12"},"comments":{"href":"https://api.github.com/repos/andela/ET-cfh/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/andela/ET-cfh/statuses/7b11fff51107748711bab37d79aad3ad8661c67e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}