{"action":"created","comment":{"url":"https://api.github.com/repos/zulip/zulip-android/pulls/comments/65819261","id":65819261,"diff_hunk":"@@ -16,23 +19,28 @@\n     public static final String UNREGISTERED = \"unregistered\";\n     public static final String DISABLED = \"disabled\";\n \n-    LoginActivity context;\n+    Context context;\n     boolean userDefinitelyInvalid = false;\n+    boolean devServer = true; //If this is a DevAuthBackend server!\n \n-    public AsyncLogin(LoginActivity loginActivity, String username, String password) {\n-        super((ZulipApp) loginActivity.getApplication());\n-        context = loginActivity;\n+    public AsyncLogin(Context context, String username, String password, boolean devServer) {","path":"app/src/main/java/com/zulip/android/networking/AsyncLogin.java","position":null,"original_position":25,"commit_id":"a878fc45bc0391265158dcf911194fbe0c009f2a","original_commit_id":"93b7a2452027e0add75155d4d04c60df3d3c8b57","user":{"login":"kunall17","id":12700799,"avatar_url":"https://avatars.githubusercontent.com/u/12700799?v=3","gravatar_id":"","url":"https://api.github.com/users/kunall17","html_url":"https://github.com/kunall17","followers_url":"https://api.github.com/users/kunall17/followers","following_url":"https://api.github.com/users/kunall17/following{/other_user}","gists_url":"https://api.github.com/users/kunall17/gists{/gist_id}","starred_url":"https://api.github.com/users/kunall17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunall17/subscriptions","organizations_url":"https://api.github.com/users/kunall17/orgs","repos_url":"https://api.github.com/users/kunall17/repos","events_url":"https://api.github.com/users/kunall17/events{/privacy}","received_events_url":"https://api.github.com/users/kunall17/received_events","type":"User","site_admin":false},"body":"Yeah, didn't notice this thing .. Updated now. :+1: ","created_at":"2016-06-05T15:26:52Z","updated_at":"2016-06-05T15:26:52Z","html_url":"https://github.com/zulip/zulip-android/pull/65#discussion_r65819261","pull_request_url":"https://api.github.com/repos/zulip/zulip-android/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip-android/pulls/comments/65819261"},"html":{"href":"https://github.com/zulip/zulip-android/pull/65#discussion_r65819261"},"pull_request":{"href":"https://api.github.com/repos/zulip/zulip-android/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/zulip/zulip-android/pulls/65","id":72109363,"html_url":"https://github.com/zulip/zulip-android/pull/65","diff_url":"https://github.com/zulip/zulip-android/pull/65.diff","patch_url":"https://github.com/zulip/zulip-android/pull/65.patch","issue_url":"https://api.github.com/repos/zulip/zulip-android/issues/65","number":65,"state":"open","locked":false,"title":"Developed Login for DevAuthBackEnd #48","user":{"login":"kunall17","id":12700799,"avatar_url":"https://avatars.githubusercontent.com/u/12700799?v=3","gravatar_id":"","url":"https://api.github.com/users/kunall17","html_url":"https://github.com/kunall17","followers_url":"https://api.github.com/users/kunall17/followers","following_url":"https://api.github.com/users/kunall17/following{/other_user}","gists_url":"https://api.github.com/users/kunall17/gists{/gist_id}","starred_url":"https://api.github.com/users/kunall17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunall17/subscriptions","organizations_url":"https://api.github.com/users/kunall17/orgs","repos_url":"https://api.github.com/users/kunall17/repos","events_url":"https://api.github.com/users/kunall17/events{/privacy}","received_events_url":"https://api.github.com/users/kunall17/received_events","type":"User","site_admin":false},"body":"Now we can directly login using the devAuthBackEnd using a developement server! (#48)\r\n\r\n\r\nHas a menu same as the Web UI\r\n<img src=\"https://cloud.githubusercontent.com/assets/12700799/15695247/db98fc6c-27c2-11e6-8abd-cbd01eb2e446.png\" width=\"49%\" />\r\n\r\n\r\nIf the devAuthBackEnd is not enabled then it shows a toast error message like this\r\n<img src=\"https://cloud.githubusercontent.com/assets/12700799/15695248/db9e03ba-27c2-11e6-9e7f-d9fa2f953ecc.png\" width=\"49%\" />\r\n\r\n\r\n[Server code here](https://github.com/zulip/zulip/pull/851)","created_at":"2016-06-01T01:10:10Z","updated_at":"2016-06-05T15:26:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbf6fe52872c916db616935ac584651033232463","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zulip/zulip-android/pulls/65/commits","review_comments_url":"https://api.github.com/repos/zulip/zulip-android/pulls/65/comments","review_comment_url":"https://api.github.com/repos/zulip/zulip-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zulip/zulip-android/issues/65/comments","statuses_url":"https://api.github.com/repos/zulip/zulip-android/statuses/a878fc45bc0391265158dcf911194fbe0c009f2a","head":{"label":"kunall17:patch-6-slicklogin","ref":"patch-6-slicklogin","sha":"a878fc45bc0391265158dcf911194fbe0c009f2a","user":{"login":"kunall17","id":12700799,"avatar_url":"https://avatars.githubusercontent.com/u/12700799?v=3","gravatar_id":"","url":"https://api.github.com/users/kunall17","html_url":"https://github.com/kunall17","followers_url":"https://api.github.com/users/kunall17/followers","following_url":"https://api.github.com/users/kunall17/following{/other_user}","gists_url":"https://api.github.com/users/kunall17/gists{/gist_id}","starred_url":"https://api.github.com/users/kunall17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunall17/subscriptions","organizations_url":"https://api.github.com/users/kunall17/orgs","repos_url":"https://api.github.com/users/kunall17/repos","events_url":"https://api.github.com/users/kunall17/events{/privacy}","received_events_url":"https://api.github.com/users/kunall17/received_events","type":"User","site_admin":false},"repo":{"id":52900233,"name":"zulip-android","full_name":"kunall17/zulip-android","owner":{"login":"kunall17","id":12700799,"avatar_url":"https://avatars.githubusercontent.com/u/12700799?v=3","gravatar_id":"","url":"https://api.github.com/users/kunall17","html_url":"https://github.com/kunall17","followers_url":"https://api.github.com/users/kunall17/followers","following_url":"https://api.github.com/users/kunall17/following{/other_user}","gists_url":"https://api.github.com/users/kunall17/gists{/gist_id}","starred_url":"https://api.github.com/users/kunall17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunall17/subscriptions","organizations_url":"https://api.github.com/users/kunall17/orgs","repos_url":"https://api.github.com/users/kunall17/repos","events_url":"https://api.github.com/users/kunall17/events{/privacy}","received_events_url":"https://api.github.com/users/kunall17/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kunall17/zulip-android","description":"Zulip Android app","fork":true,"url":"https://api.github.com/repos/kunall17/zulip-android","forks_url":"https://api.github.com/repos/kunall17/zulip-android/forks","keys_url":"https://api.github.com/repos/kunall17/zulip-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kunall17/zulip-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kunall17/zulip-android/teams","hooks_url":"https://api.github.com/repos/kunall17/zulip-android/hooks","issue_events_url":"https://api.github.com/repos/kunall17/zulip-android/issues/events{/number}","events_url":"https://api.github.com/repos/kunall17/zulip-android/events","assignees_url":"https://api.github.com/repos/kunall17/zulip-android/assignees{/user}","branches_url":"https://api.github.com/repos/kunall17/zulip-android/branches{/branch}","tags_url":"https://api.github.com/repos/kunall17/zulip-android/tags","blobs_url":"https://api.github.com/repos/kunall17/zulip-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kunall17/zulip-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kunall17/zulip-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/kunall17/zulip-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kunall17/zulip-android/statuses/{sha}","languages_url":"https://api.github.com/repos/kunall17/zulip-android/languages","stargazers_url":"https://api.github.com/repos/kunall17/zulip-android/stargazers","contributors_url":"https://api.github.com/repos/kunall17/zulip-android/contributors","subscribers_url":"https://api.github.com/repos/kunall17/zulip-android/subscribers","subscription_url":"https://api.github.com/repos/kunall17/zulip-android/subscription","commits_url":"https://api.github.com/repos/kunall17/zulip-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/kunall17/zulip-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/kunall17/zulip-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/kunall17/zulip-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/kunall17/zulip-android/contents/{+path}","compare_url":"https://api.github.com/repos/kunall17/zulip-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kunall17/zulip-android/merges","archive_url":"https://api.github.com/repos/kunall17/zulip-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kunall17/zulip-android/downloads","issues_url":"https://api.github.com/repos/kunall17/zulip-android/issues{/number}","pulls_url":"https://api.github.com/repos/kunall17/zulip-android/pulls{/number}","milestones_url":"https://api.github.com/repos/kunall17/zulip-android/milestones{/number}","notifications_url":"https://api.github.com/repos/kunall17/zulip-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kunall17/zulip-android/labels{/name}","releases_url":"https://api.github.com/repos/kunall17/zulip-android/releases{/id}","deployments_url":"https://api.github.com/repos/kunall17/zulip-android/deployments","created_at":"2016-03-01T18:35:15Z","updated_at":"2016-03-01T18:35:17Z","pushed_at":"2016-06-04T20:32:46Z","git_url":"git://github.com/kunall17/zulip-android.git","ssh_url":"git@github.com:kunall17/zulip-android.git","clone_url":"https://github.com/kunall17/zulip-android.git","svn_url":"https://github.com/kunall17/zulip-android","homepage":null,"size":6242,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zulip:master","ref":"master","sha":"4cfc4d3a78ad40b950640bd427d9e7632bd83a09","user":{"login":"zulip","id":4921959,"avatar_url":"https://avatars.githubusercontent.com/u/4921959?v=3","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"repo":{"id":43160849,"name":"zulip-android","full_name":"zulip/zulip-android","owner":{"login":"zulip","id":4921959,"avatar_url":"https://avatars.githubusercontent.com/u/4921959?v=3","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zulip/zulip-android","description":"Zulip Android app","fork":false,"url":"https://api.github.com/repos/zulip/zulip-android","forks_url":"https://api.github.com/repos/zulip/zulip-android/forks","keys_url":"https://api.github.com/repos/zulip/zulip-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zulip/zulip-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zulip/zulip-android/teams","hooks_url":"https://api.github.com/repos/zulip/zulip-android/hooks","issue_events_url":"https://api.github.com/repos/zulip/zulip-android/issues/events{/number}","events_url":"https://api.github.com/repos/zulip/zulip-android/events","assignees_url":"https://api.github.com/repos/zulip/zulip-android/assignees{/user}","branches_url":"https://api.github.com/repos/zulip/zulip-android/branches{/branch}","tags_url":"https://api.github.com/repos/zulip/zulip-android/tags","blobs_url":"https://api.github.com/repos/zulip/zulip-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zulip/zulip-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zulip/zulip-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/zulip/zulip-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zulip/zulip-android/statuses/{sha}","languages_url":"https://api.github.com/repos/zulip/zulip-android/languages","stargazers_url":"https://api.github.com/repos/zulip/zulip-android/stargazers","contributors_url":"https://api.github.com/repos/zulip/zulip-android/contributors","subscribers_url":"https://api.github.com/repos/zulip/zulip-android/subscribers","subscription_url":"https://api.github.com/repos/zulip/zulip-android/subscription","commits_url":"https://api.github.com/repos/zulip/zulip-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/zulip/zulip-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/zulip/zulip-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/zulip/zulip-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/zulip/zulip-android/contents/{+path}","compare_url":"https://api.github.com/repos/zulip/zulip-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zulip/zulip-android/merges","archive_url":"https://api.github.com/repos/zulip/zulip-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zulip/zulip-android/downloads","issues_url":"https://api.github.com/repos/zulip/zulip-android/issues{/number}","pulls_url":"https://api.github.com/repos/zulip/zulip-android/pulls{/number}","milestones_url":"https://api.github.com/repos/zulip/zulip-android/milestones{/number}","notifications_url":"https://api.github.com/repos/zulip/zulip-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zulip/zulip-android/labels{/name}","releases_url":"https://api.github.com/repos/zulip/zulip-android/releases{/id}","deployments_url":"https://api.github.com/repos/zulip/zulip-android/deployments","created_at":"2015-09-25T16:39:37Z","updated_at":"2016-06-04T11:32:47Z","pushed_at":"2016-06-04T20:32:46Z","git_url":"git://github.com/zulip/zulip-android.git","ssh_url":"git@github.com:zulip/zulip-android.git","clone_url":"https://github.com/zulip/zulip-android.git","svn_url":"https://github.com/zulip/zulip-android","homepage":null,"size":19156,"stargazers_count":267,"watchers_count":267,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":124,"mirror_url":null,"open_issues_count":21,"forks":124,"open_issues":21,"watchers":267,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip-android/pulls/65"},"html":{"href":"https://github.com/zulip/zulip-android/pull/65"},"issue":{"href":"https://api.github.com/repos/zulip/zulip-android/issues/65"},"comments":{"href":"https://api.github.com/repos/zulip/zulip-android/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/zulip/zulip-android/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/zulip/zulip-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zulip/zulip-android/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/zulip/zulip-android/statuses/a878fc45bc0391265158dcf911194fbe0c009f2a"}}}}
{"actor":{"display_login":"kunall17"}}