{"action":"created","comment":{"url":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/comments/98337282","pull_request_review_id":18979187,"id":98337282,"diff_hunk":"@@ -7,67 +7,85 @@\n         .module('evalai')\n         .controller('ChangePwdCtrl', ChangePwdCtrl);\n \n-    ChangePwdCtrl.$inject = ['utilities', 'validationSvc', '$state', '$http', '$rootScope'];\n+    ChangePwdCtrl.$inject = ['utilities', '$state', '$http', '$rootScope'];\n \n-    function ChangePwdCtrl(utilities, validationSvc, $state, $http, $rootScope) {\n+    function ChangePwdCtrl(utilities, $state, $http, $rootScope) {\n         var vm = this;\n         var userKey = utilities.getData('userKey');\n         vm.wrnMsg = {};\n         vm.isValid = {};\n-\n+        vm.user = {};\n+        vm.isFormError = false;\n         // function to change password\n-        vm.changePassword = function() {\n-            vm.loginContainer = angular.element('.change-passowrd-card');\n+        vm.changePassword = function(resetconfirmFormValid) {\n+          if(resetconfirmFormValid){\n+            vm.changepassContainer = angular.element('.change-passowrd-card');","path":"frontend/src/js/controllers/changePwdCtrl.js","position":21,"original_position":21,"commit_id":"b3414f019deb8962b570e1941739d7330cc2f76d","original_commit_id":"b3414f019deb8962b570e1941739d7330cc2f76d","user":{"login":"spyshiv","id":7015220,"avatar_url":"https://avatars.githubusercontent.com/u/7015220?v=3","gravatar_id":"","url":"https://api.github.com/users/spyshiv","html_url":"https://github.com/spyshiv","followers_url":"https://api.github.com/users/spyshiv/followers","following_url":"https://api.github.com/users/spyshiv/following{/other_user}","gists_url":"https://api.github.com/users/spyshiv/gists{/gist_id}","starred_url":"https://api.github.com/users/spyshiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyshiv/subscriptions","organizations_url":"https://api.github.com/users/spyshiv/orgs","repos_url":"https://api.github.com/users/spyshiv/repos","events_url":"https://api.github.com/users/spyshiv/events{/privacy}","received_events_url":"https://api.github.com/users/spyshiv/received_events","type":"User","site_admin":false},"body":"Since this should be global for this controller","created_at":"2017-01-28T19:07:28Z","updated_at":"2017-01-28T19:07:28Z","html_url":"https://github.com/Cloud-CV/EvalAI/pull/593#discussion_r98337282","pull_request_url":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/593","_links":{"self":{"href":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/comments/98337282"},"html":{"href":"https://github.com/Cloud-CV/EvalAI/pull/593#discussion_r98337282"},"pull_request":{"href":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/593"}}},"pull_request":{"url":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/593","id":102865782,"html_url":"https://github.com/Cloud-CV/EvalAI/pull/593","diff_url":"https://github.com/Cloud-CV/EvalAI/pull/593.diff","patch_url":"https://github.com/Cloud-CV/EvalAI/pull/593.patch","issue_url":"https://api.github.com/repos/Cloud-CV/EvalAI/issues/593","number":593,"state":"open","locked":false,"title":"Integrate ng-messages in change password view","user":{"login":"anweshknayak","id":8139783,"avatar_url":"https://avatars.githubusercontent.com/u/8139783?v=3","gravatar_id":"","url":"https://api.github.com/users/anweshknayak","html_url":"https://github.com/anweshknayak","followers_url":"https://api.github.com/users/anweshknayak/followers","following_url":"https://api.github.com/users/anweshknayak/following{/other_user}","gists_url":"https://api.github.com/users/anweshknayak/gists{/gist_id}","starred_url":"https://api.github.com/users/anweshknayak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anweshknayak/subscriptions","organizations_url":"https://api.github.com/users/anweshknayak/orgs","repos_url":"https://api.github.com/users/anweshknayak/repos","events_url":"https://api.github.com/users/anweshknayak/events{/privacy}","received_events_url":"https://api.github.com/users/anweshknayak/received_events","type":"User","site_admin":false},"body":"fixes #582 \r\n@aka-jain @spyshiv please review","created_at":"2017-01-24T07:25:42Z","updated_at":"2017-01-28T19:07:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f10e5c01a07fdf2df81de0043571707a6950148e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/593/commits","review_comments_url":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/593/comments","review_comment_url":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cloud-CV/EvalAI/issues/593/comments","statuses_url":"https://api.github.com/repos/Cloud-CV/EvalAI/statuses/b3414f019deb8962b570e1941739d7330cc2f76d","head":{"label":"anweshknayak:ash-message","ref":"ash-message","sha":"b3414f019deb8962b570e1941739d7330cc2f76d","user":{"login":"anweshknayak","id":8139783,"avatar_url":"https://avatars.githubusercontent.com/u/8139783?v=3","gravatar_id":"","url":"https://api.github.com/users/anweshknayak","html_url":"https://github.com/anweshknayak","followers_url":"https://api.github.com/users/anweshknayak/followers","following_url":"https://api.github.com/users/anweshknayak/following{/other_user}","gists_url":"https://api.github.com/users/anweshknayak/gists{/gist_id}","starred_url":"https://api.github.com/users/anweshknayak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anweshknayak/subscriptions","organizations_url":"https://api.github.com/users/anweshknayak/orgs","repos_url":"https://api.github.com/users/anweshknayak/repos","events_url":"https://api.github.com/users/anweshknayak/events{/privacy}","received_events_url":"https://api.github.com/users/anweshknayak/received_events","type":"User","site_admin":false},"repo":{"id":75026286,"name":"EvalAI","full_name":"anweshknayak/EvalAI","owner":{"login":"anweshknayak","id":8139783,"avatar_url":"https://avatars.githubusercontent.com/u/8139783?v=3","gravatar_id":"","url":"https://api.github.com/users/anweshknayak","html_url":"https://github.com/anweshknayak","followers_url":"https://api.github.com/users/anweshknayak/followers","following_url":"https://api.github.com/users/anweshknayak/following{/other_user}","gists_url":"https://api.github.com/users/anweshknayak/gists{/gist_id}","starred_url":"https://api.github.com/users/anweshknayak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anweshknayak/subscriptions","organizations_url":"https://api.github.com/users/anweshknayak/orgs","repos_url":"https://api.github.com/users/anweshknayak/repos","events_url":"https://api.github.com/users/anweshknayak/events{/privacy}","received_events_url":"https://api.github.com/users/anweshknayak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anweshknayak/EvalAI","description":"EvalAI: A platform for hosting AI Challenges","fork":true,"url":"https://api.github.com/repos/anweshknayak/EvalAI","forks_url":"https://api.github.com/repos/anweshknayak/EvalAI/forks","keys_url":"https://api.github.com/repos/anweshknayak/EvalAI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anweshknayak/EvalAI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anweshknayak/EvalAI/teams","hooks_url":"https://api.github.com/repos/anweshknayak/EvalAI/hooks","issue_events_url":"https://api.github.com/repos/anweshknayak/EvalAI/issues/events{/number}","events_url":"https://api.github.com/repos/anweshknayak/EvalAI/events","assignees_url":"https://api.github.com/repos/anweshknayak/EvalAI/assignees{/user}","branches_url":"https://api.github.com/repos/anweshknayak/EvalAI/branches{/branch}","tags_url":"https://api.github.com/repos/anweshknayak/EvalAI/tags","blobs_url":"https://api.github.com/repos/anweshknayak/EvalAI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anweshknayak/EvalAI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anweshknayak/EvalAI/git/refs{/sha}","trees_url":"https://api.github.com/repos/anweshknayak/EvalAI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anweshknayak/EvalAI/statuses/{sha}","languages_url":"https://api.github.com/repos/anweshknayak/EvalAI/languages","stargazers_url":"https://api.github.com/repos/anweshknayak/EvalAI/stargazers","contributors_url":"https://api.github.com/repos/anweshknayak/EvalAI/contributors","subscribers_url":"https://api.github.com/repos/anweshknayak/EvalAI/subscribers","subscription_url":"https://api.github.com/repos/anweshknayak/EvalAI/subscription","commits_url":"https://api.github.com/repos/anweshknayak/EvalAI/commits{/sha}","git_commits_url":"https://api.github.com/repos/anweshknayak/EvalAI/git/commits{/sha}","comments_url":"https://api.github.com/repos/anweshknayak/EvalAI/comments{/number}","issue_comment_url":"https://api.github.com/repos/anweshknayak/EvalAI/issues/comments{/number}","contents_url":"https://api.github.com/repos/anweshknayak/EvalAI/contents/{+path}","compare_url":"https://api.github.com/repos/anweshknayak/EvalAI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anweshknayak/EvalAI/merges","archive_url":"https://api.github.com/repos/anweshknayak/EvalAI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anweshknayak/EvalAI/downloads","issues_url":"https://api.github.com/repos/anweshknayak/EvalAI/issues{/number}","pulls_url":"https://api.github.com/repos/anweshknayak/EvalAI/pulls{/number}","milestones_url":"https://api.github.com/repos/anweshknayak/EvalAI/milestones{/number}","notifications_url":"https://api.github.com/repos/anweshknayak/EvalAI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anweshknayak/EvalAI/labels{/name}","releases_url":"https://api.github.com/repos/anweshknayak/EvalAI/releases{/id}","deployments_url":"https://api.github.com/repos/anweshknayak/EvalAI/deployments","created_at":"2016-11-29T00:22:22Z","updated_at":"2016-11-29T00:22:24Z","pushed_at":"2017-01-28T18:54:16Z","git_url":"git://github.com/anweshknayak/EvalAI.git","ssh_url":"git@github.com:anweshknayak/EvalAI.git","clone_url":"https://github.com/anweshknayak/EvalAI.git","svn_url":"https://github.com/anweshknayak/EvalAI","homepage":null,"size":2601,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Cloud-CV:master","ref":"master","sha":"d664e1757f5743597570ecb8934200550df6ab4d","user":{"login":"Cloud-CV","id":20895851,"avatar_url":"https://avatars.githubusercontent.com/u/20895851?v=3","gravatar_id":"","url":"https://api.github.com/users/Cloud-CV","html_url":"https://github.com/Cloud-CV","followers_url":"https://api.github.com/users/Cloud-CV/followers","following_url":"https://api.github.com/users/Cloud-CV/following{/other_user}","gists_url":"https://api.github.com/users/Cloud-CV/gists{/gist_id}","starred_url":"https://api.github.com/users/Cloud-CV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cloud-CV/subscriptions","organizations_url":"https://api.github.com/users/Cloud-CV/orgs","repos_url":"https://api.github.com/users/Cloud-CV/repos","events_url":"https://api.github.com/users/Cloud-CV/events{/privacy}","received_events_url":"https://api.github.com/users/Cloud-CV/received_events","type":"Organization","site_admin":false},"repo":{"id":71516397,"name":"EvalAI","full_name":"Cloud-CV/EvalAI","owner":{"login":"Cloud-CV","id":20895851,"avatar_url":"https://avatars.githubusercontent.com/u/20895851?v=3","gravatar_id":"","url":"https://api.github.com/users/Cloud-CV","html_url":"https://github.com/Cloud-CV","followers_url":"https://api.github.com/users/Cloud-CV/followers","following_url":"https://api.github.com/users/Cloud-CV/following{/other_user}","gists_url":"https://api.github.com/users/Cloud-CV/gists{/gist_id}","starred_url":"https://api.github.com/users/Cloud-CV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cloud-CV/subscriptions","organizations_url":"https://api.github.com/users/Cloud-CV/orgs","repos_url":"https://api.github.com/users/Cloud-CV/repos","events_url":"https://api.github.com/users/Cloud-CV/events{/privacy}","received_events_url":"https://api.github.com/users/Cloud-CV/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cloud-CV/EvalAI","description":"EvalAI: A platform for hosting AI Challenges","fork":false,"url":"https://api.github.com/repos/Cloud-CV/EvalAI","forks_url":"https://api.github.com/repos/Cloud-CV/EvalAI/forks","keys_url":"https://api.github.com/repos/Cloud-CV/EvalAI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cloud-CV/EvalAI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cloud-CV/EvalAI/teams","hooks_url":"https://api.github.com/repos/Cloud-CV/EvalAI/hooks","issue_events_url":"https://api.github.com/repos/Cloud-CV/EvalAI/issues/events{/number}","events_url":"https://api.github.com/repos/Cloud-CV/EvalAI/events","assignees_url":"https://api.github.com/repos/Cloud-CV/EvalAI/assignees{/user}","branches_url":"https://api.github.com/repos/Cloud-CV/EvalAI/branches{/branch}","tags_url":"https://api.github.com/repos/Cloud-CV/EvalAI/tags","blobs_url":"https://api.github.com/repos/Cloud-CV/EvalAI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cloud-CV/EvalAI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cloud-CV/EvalAI/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cloud-CV/EvalAI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cloud-CV/EvalAI/statuses/{sha}","languages_url":"https://api.github.com/repos/Cloud-CV/EvalAI/languages","stargazers_url":"https://api.github.com/repos/Cloud-CV/EvalAI/stargazers","contributors_url":"https://api.github.com/repos/Cloud-CV/EvalAI/contributors","subscribers_url":"https://api.github.com/repos/Cloud-CV/EvalAI/subscribers","subscription_url":"https://api.github.com/repos/Cloud-CV/EvalAI/subscription","commits_url":"https://api.github.com/repos/Cloud-CV/EvalAI/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cloud-CV/EvalAI/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cloud-CV/EvalAI/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cloud-CV/EvalAI/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cloud-CV/EvalAI/contents/{+path}","compare_url":"https://api.github.com/repos/Cloud-CV/EvalAI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cloud-CV/EvalAI/merges","archive_url":"https://api.github.com/repos/Cloud-CV/EvalAI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cloud-CV/EvalAI/downloads","issues_url":"https://api.github.com/repos/Cloud-CV/EvalAI/issues{/number}","pulls_url":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls{/number}","milestones_url":"https://api.github.com/repos/Cloud-CV/EvalAI/milestones{/number}","notifications_url":"https://api.github.com/repos/Cloud-CV/EvalAI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cloud-CV/EvalAI/labels{/name}","releases_url":"https://api.github.com/repos/Cloud-CV/EvalAI/releases{/id}","deployments_url":"https://api.github.com/repos/Cloud-CV/EvalAI/deployments","created_at":"2016-10-21T00:51:45Z","updated_at":"2017-01-28T15:29:28Z","pushed_at":"2017-01-28T18:54:18Z","git_url":"git://github.com/Cloud-CV/EvalAI.git","ssh_url":"git@github.com:Cloud-CV/EvalAI.git","clone_url":"https://github.com/Cloud-CV/EvalAI.git","svn_url":"https://github.com/Cloud-CV/EvalAI","homepage":null,"size":2559,"stargazers_count":22,"watchers_count":22,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":29,"mirror_url":null,"open_issues_count":30,"forks":29,"open_issues":30,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/593"},"html":{"href":"https://github.com/Cloud-CV/EvalAI/pull/593"},"issue":{"href":"https://api.github.com/repos/Cloud-CV/EvalAI/issues/593"},"comments":{"href":"https://api.github.com/repos/Cloud-CV/EvalAI/issues/593/comments"},"review_comments":{"href":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/593/comments"},"review_comment":{"href":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cloud-CV/EvalAI/pulls/593/commits"},"statuses":{"href":"https://api.github.com/repos/Cloud-CV/EvalAI/statuses/b3414f019deb8962b570e1941739d7330cc2f76d"}}}}
{"actor":{"display_login":"spyshiv"}}