{"action":"created","comment":{"url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/comments/85615350","pull_request_review_id":6324379,"id":85615350,"diff_hunk":"@@ -0,0 +1,99 @@\n+package comcmput301f16t01.github.carrier;\n+\n+import android.os.AsyncTask;\n+import android.util.Log;\n+\n+import com.searchly.jestdroid.DroidClientConfig;\n+import com.searchly.jestdroid.JestClientFactory;\n+import com.searchly.jestdroid.JestDroidClient;\n+\n+import java.io.IOException;\n+\n+import io.searchbox.core.DocumentResult;\n+import io.searchbox.core.Index;\n+import io.searchbox.core.Search;\n+import io.searchbox.core.SearchResult;\n+\n+/**\n+ * Created by Ben on 2016-10-27.\n+ */\n+\n+public class ElasticUserController {","path":"app/src/main/java/comcmput301f16t01/github/carrier/ElasticUserController.java","position":21,"original_position":21,"commit_id":"3aebbc588051889a38d9eb50328b3c489a7ddb36","original_commit_id":"3aebbc588051889a38d9eb50328b3c489a7ddb36","user":{"login":"kieter","id":17482064,"avatar_url":"https://avatars.githubusercontent.com/u/17482064?v=3","gravatar_id":"","url":"https://api.github.com/users/kieter","html_url":"https://github.com/kieter","followers_url":"https://api.github.com/users/kieter/followers","following_url":"https://api.github.com/users/kieter/following{/other_user}","gists_url":"https://api.github.com/users/kieter/gists{/gist_id}","starred_url":"https://api.github.com/users/kieter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kieter/subscriptions","organizations_url":"https://api.github.com/users/kieter/orgs","repos_url":"https://api.github.com/users/kieter/repos","events_url":"https://api.github.com/users/kieter/events{/privacy}","received_events_url":"https://api.github.com/users/kieter/received_events","type":"User","site_admin":false},"body":"So I'm kind of just comparing this to the LonelyTwitter one because that's how much I know about elastic search.","created_at":"2016-10-28T21:43:12Z","updated_at":"2016-10-28T21:43:13Z","html_url":"https://github.com/CMPUT301F16T01/Carrier/pull/65#discussion_r85615350","pull_request_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/comments/85615350"},"html":{"href":"https://github.com/CMPUT301F16T01/Carrier/pull/65#discussion_r85615350"},"pull_request":{"href":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/65","id":91341749,"html_url":"https://github.com/CMPUT301F16T01/Carrier/pull/65","diff_url":"https://github.com/CMPUT301F16T01/Carrier/pull/65.diff","patch_url":"https://github.com/CMPUT301F16T01/Carrier/pull/65.patch","issue_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/issues/65","number":65,"state":"open","locked":false,"title":"New User Activity","user":{"login":"Hreherch","id":10092939,"avatar_url":"https://avatars.githubusercontent.com/u/10092939?v=3","gravatar_id":"","url":"https://api.github.com/users/Hreherch","html_url":"https://github.com/Hreherch","followers_url":"https://api.github.com/users/Hreherch/followers","following_url":"https://api.github.com/users/Hreherch/following{/other_user}","gists_url":"https://api.github.com/users/Hreherch/gists{/gist_id}","starred_url":"https://api.github.com/users/Hreherch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hreherch/subscriptions","organizations_url":"https://api.github.com/users/Hreherch/orgs","repos_url":"https://api.github.com/users/Hreherch/repos","events_url":"https://api.github.com/users/Hreherch/events{/privacy}","received_events_url":"https://api.github.com/users/Hreherch/received_events","type":"User","site_admin":false},"body":"Please check over my code and **test** it for yourself.\r\n\r\nI have implemented checks to prevent users from entering without having a username, the ability to create a new user, and the ability to log in as that user. These actions are attached to elastic search.\r\n \r\nThere are no check for if someone is online or offline and I have not tested the behavior for it.","created_at":"2016-10-28T08:33:07Z","updated_at":"2016-10-28T21:43:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0d7f77ec917a2d9b11cd69b4e4e7e63d6032334","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/65/commits","review_comments_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/65/comments","review_comment_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/issues/65/comments","statuses_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/statuses/3aebbc588051889a38d9eb50328b3c489a7ddb36","head":{"label":"CMPUT301F16T01:new-user-activity","ref":"new-user-activity","sha":"3aebbc588051889a38d9eb50328b3c489a7ddb36","user":{"login":"CMPUT301F16T01","id":22565369,"avatar_url":"https://avatars.githubusercontent.com/u/22565369?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301F16T01","html_url":"https://github.com/CMPUT301F16T01","followers_url":"https://api.github.com/users/CMPUT301F16T01/followers","following_url":"https://api.github.com/users/CMPUT301F16T01/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301F16T01/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301F16T01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301F16T01/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301F16T01/orgs","repos_url":"https://api.github.com/users/CMPUT301F16T01/repos","events_url":"https://api.github.com/users/CMPUT301F16T01/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301F16T01/received_events","type":"Organization","site_admin":false},"repo":{"id":69756953,"name":"Carrier","full_name":"CMPUT301F16T01/Carrier","owner":{"login":"CMPUT301F16T01","id":22565369,"avatar_url":"https://avatars.githubusercontent.com/u/22565369?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301F16T01","html_url":"https://github.com/CMPUT301F16T01","followers_url":"https://api.github.com/users/CMPUT301F16T01/followers","following_url":"https://api.github.com/users/CMPUT301F16T01/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301F16T01/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301F16T01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301F16T01/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301F16T01/orgs","repos_url":"https://api.github.com/users/CMPUT301F16T01/repos","events_url":"https://api.github.com/users/CMPUT301F16T01/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301F16T01/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMPUT301F16T01/Carrier","description":null,"fork":false,"url":"https://api.github.com/repos/CMPUT301F16T01/Carrier","forks_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/forks","keys_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/teams","hooks_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/hooks","issue_events_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/issues/events{/number}","events_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/events","assignees_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/assignees{/user}","branches_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/branches{/branch}","tags_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/tags","blobs_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/statuses/{sha}","languages_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/languages","stargazers_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/stargazers","contributors_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/contributors","subscribers_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/subscribers","subscription_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/subscription","commits_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/contents/{+path}","compare_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/merges","archive_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/downloads","issues_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/issues{/number}","pulls_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls{/number}","milestones_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/milestones{/number}","notifications_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/labels{/name}","releases_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/releases{/id}","deployments_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/deployments","created_at":"2016-10-01T18:48:36Z","updated_at":"2016-10-24T15:26:04Z","pushed_at":"2016-10-28T21:42:46Z","git_url":"git://github.com/CMPUT301F16T01/Carrier.git","ssh_url":"git@github.com:CMPUT301F16T01/Carrier.git","clone_url":"https://github.com/CMPUT301F16T01/Carrier.git","svn_url":"https://github.com/CMPUT301F16T01/Carrier","homepage":null,"size":12764,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"CMPUT301F16T01:master","ref":"master","sha":"da8fd6daf0161d9f2cb68f46a0f86467798374fb","user":{"login":"CMPUT301F16T01","id":22565369,"avatar_url":"https://avatars.githubusercontent.com/u/22565369?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301F16T01","html_url":"https://github.com/CMPUT301F16T01","followers_url":"https://api.github.com/users/CMPUT301F16T01/followers","following_url":"https://api.github.com/users/CMPUT301F16T01/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301F16T01/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301F16T01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301F16T01/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301F16T01/orgs","repos_url":"https://api.github.com/users/CMPUT301F16T01/repos","events_url":"https://api.github.com/users/CMPUT301F16T01/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301F16T01/received_events","type":"Organization","site_admin":false},"repo":{"id":69756953,"name":"Carrier","full_name":"CMPUT301F16T01/Carrier","owner":{"login":"CMPUT301F16T01","id":22565369,"avatar_url":"https://avatars.githubusercontent.com/u/22565369?v=3","gravatar_id":"","url":"https://api.github.com/users/CMPUT301F16T01","html_url":"https://github.com/CMPUT301F16T01","followers_url":"https://api.github.com/users/CMPUT301F16T01/followers","following_url":"https://api.github.com/users/CMPUT301F16T01/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301F16T01/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301F16T01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301F16T01/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301F16T01/orgs","repos_url":"https://api.github.com/users/CMPUT301F16T01/repos","events_url":"https://api.github.com/users/CMPUT301F16T01/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301F16T01/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMPUT301F16T01/Carrier","description":null,"fork":false,"url":"https://api.github.com/repos/CMPUT301F16T01/Carrier","forks_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/forks","keys_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/teams","hooks_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/hooks","issue_events_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/issues/events{/number}","events_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/events","assignees_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/assignees{/user}","branches_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/branches{/branch}","tags_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/tags","blobs_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/statuses/{sha}","languages_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/languages","stargazers_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/stargazers","contributors_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/contributors","subscribers_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/subscribers","subscription_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/subscription","commits_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/contents/{+path}","compare_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/merges","archive_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/downloads","issues_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/issues{/number}","pulls_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls{/number}","milestones_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/milestones{/number}","notifications_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/labels{/name}","releases_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/releases{/id}","deployments_url":"https://api.github.com/repos/CMPUT301F16T01/Carrier/deployments","created_at":"2016-10-01T18:48:36Z","updated_at":"2016-10-24T15:26:04Z","pushed_at":"2016-10-28T21:42:46Z","git_url":"git://github.com/CMPUT301F16T01/Carrier.git","ssh_url":"git@github.com:CMPUT301F16T01/Carrier.git","clone_url":"https://github.com/CMPUT301F16T01/Carrier.git","svn_url":"https://github.com/CMPUT301F16T01/Carrier","homepage":null,"size":12764,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/65"},"html":{"href":"https://github.com/CMPUT301F16T01/Carrier/pull/65"},"issue":{"href":"https://api.github.com/repos/CMPUT301F16T01/Carrier/issues/65"},"comments":{"href":"https://api.github.com/repos/CMPUT301F16T01/Carrier/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CMPUT301F16T01/Carrier/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/CMPUT301F16T01/Carrier/statuses/3aebbc588051889a38d9eb50328b3c489a7ddb36"}}}}
{"actor":{"display_login":"kieter"}}