{"action":"created","comment":{"url":"https://api.github.com/repos/owncloud/user_management/pulls/comments/212283958","pull_request_review_id":148879922,"id":212283958,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjI4Mzk1OA==","diff_hunk":"@@ -0,0 +1,62 @@\n+OC.SetPassword = {\n+\tinit : function() {\n+\t\t$('#set-password #submit').click(OC.SetPassword.onClickSetPassword);\n+\t},\n+\n+\tonClickSetPassword : function(event){\n+\t\tevent.preventDefault();\n+\t\tvar passwordObj = $('#password');\n+\t\tif (passwordObj.val()){\n+\t\t\t$.post(\n+\t\t\t\t\tpasswordObj.parents('form').attr('action'),\n+\t\t\t\t\t{\n+\t\t\t\t\t\tpassword : passwordObj.val()\n+\t\t\t\t\t},\n+\t\t\t\t\tOC.SetPassword._resetDone","path":"js/setpassword.js","position":15,"original_position":15,"commit_id":"d7931ce250ae6ff1b76239c38956cb1b19bf7bf5","original_commit_id":"d7931ce250ae6ff1b76239c38956cb1b19bf7bf5","user":{"login":"jvillafanez","id":1477829,"node_id":"MDQ6VXNlcjE0Nzc4Mjk=","avatar_url":"https://avatars0.githubusercontent.com/u/1477829?v=4","gravatar_id":"","url":"https://api.github.com/users/jvillafanez","html_url":"https://github.com/jvillafanez","followers_url":"https://api.github.com/users/jvillafanez/followers","following_url":"https://api.github.com/users/jvillafanez/following{/other_user}","gists_url":"https://api.github.com/users/jvillafanez/gists{/gist_id}","starred_url":"https://api.github.com/users/jvillafanez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvillafanez/subscriptions","organizations_url":"https://api.github.com/users/jvillafanez/orgs","repos_url":"https://api.github.com/users/jvillafanez/repos","events_url":"https://api.github.com/users/jvillafanez/events{/privacy}","received_events_url":"https://api.github.com/users/jvillafanez/received_events","type":"User","site_admin":false},"body":"Keep consistency here:\r\n```\r\n$.post(url, data).done(function(result){\r\n    OC.SetPassword._resetDone(result);\r\n  }).fail(function(result){\r\n    OC.SetPassword._onSetPasswordFail(result);\r\n  });\r\n```\r\nor use the error callback.","created_at":"2018-08-23T12:11:48Z","updated_at":"2018-08-23T12:17:28Z","html_url":"https://github.com/owncloud/user_management/pull/48#discussion_r212283958","pull_request_url":"https://api.github.com/repos/owncloud/user_management/pulls/48","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/owncloud/user_management/pulls/comments/212283958"},"html":{"href":"https://github.com/owncloud/user_management/pull/48#discussion_r212283958"},"pull_request":{"href":"https://api.github.com/repos/owncloud/user_management/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/owncloud/user_management/pulls/48","id":207542921,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NTQyOTIx","html_url":"https://github.com/owncloud/user_management/pull/48","diff_url":"https://github.com/owncloud/user_management/pull/48.diff","patch_url":"https://github.com/owncloud/user_management/pull/48.patch","issue_url":"https://api.github.com/repos/owncloud/user_management/issues/48","number":48,"state":"open","locked":false,"title":"Make email field as default to create user","user":{"login":"sharidas","id":3600427,"node_id":"MDQ6VXNlcjM2MDA0Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/3600427?v=4","gravatar_id":"","url":"https://api.github.com/users/sharidas","html_url":"https://github.com/sharidas","followers_url":"https://api.github.com/users/sharidas/followers","following_url":"https://api.github.com/users/sharidas/following{/other_user}","gists_url":"https://api.github.com/users/sharidas/gists{/gist_id}","starred_url":"https://api.github.com/users/sharidas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharidas/subscriptions","organizations_url":"https://api.github.com/users/sharidas/orgs","repos_url":"https://api.github.com/users/sharidas/repos","events_url":"https://api.github.com/users/sharidas/events{/privacy}","received_events_url":"https://api.github.com/users/sharidas/received_events","type":"User","site_admin":false},"body":"Make email field as default to create user.\r\nPreviously we had username, password. With\r\nthis change it becomes username, email. This\r\nwould help admins to create users with email\r\naddress.\r\n\r\nSigned-off-by: Sujith H <sharidasan@owncloud.com>","created_at":"2018-08-10T08:36:23Z","updated_at":"2018-08-23T12:17:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bad01844423dc780358bcbc5e3f6352fca51d8f","assignee":{"login":"sharidas","id":3600427,"node_id":"MDQ6VXNlcjM2MDA0Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/3600427?v=4","gravatar_id":"","url":"https://api.github.com/users/sharidas","html_url":"https://github.com/sharidas","followers_url":"https://api.github.com/users/sharidas/followers","following_url":"https://api.github.com/users/sharidas/following{/other_user}","gists_url":"https://api.github.com/users/sharidas/gists{/gist_id}","starred_url":"https://api.github.com/users/sharidas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharidas/subscriptions","organizations_url":"https://api.github.com/users/sharidas/orgs","repos_url":"https://api.github.com/users/sharidas/repos","events_url":"https://api.github.com/users/sharidas/events{/privacy}","received_events_url":"https://api.github.com/users/sharidas/received_events","type":"User","site_admin":false},"assignees":[{"login":"sharidas","id":3600427,"node_id":"MDQ6VXNlcjM2MDA0Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/3600427?v=4","gravatar_id":"","url":"https://api.github.com/users/sharidas","html_url":"https://github.com/sharidas","followers_url":"https://api.github.com/users/sharidas/followers","following_url":"https://api.github.com/users/sharidas/following{/other_user}","gists_url":"https://api.github.com/users/sharidas/gists{/gist_id}","starred_url":"https://api.github.com/users/sharidas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharidas/subscriptions","organizations_url":"https://api.github.com/users/sharidas/orgs","repos_url":"https://api.github.com/users/sharidas/repos","events_url":"https://api.github.com/users/sharidas/events{/privacy}","received_events_url":"https://api.github.com/users/sharidas/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":857782191,"node_id":"MDU6TGFiZWw4NTc3ODIxOTE=","url":"https://api.github.com/repos/owncloud/user_management/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed","default":false}],"milestone":{"url":"https://api.github.com/repos/owncloud/user_management/milestones/1","html_url":"https://github.com/owncloud/user_management/milestone/1","labels_url":"https://api.github.com/repos/owncloud/user_management/milestones/1/labels","id":3165071,"node_id":"MDk6TWlsZXN0b25lMzE2NTA3MQ==","number":1,"title":"development","description":null,"creator":{"login":"DeepDiver1975","id":1005065,"node_id":"MDQ6VXNlcjEwMDUwNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1005065?v=4","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":28,"state":"open","created_at":"2018-03-06T11:17:43Z","updated_at":"2018-08-22T10:31:30Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/owncloud/user_management/pulls/48/commits","review_comments_url":"https://api.github.com/repos/owncloud/user_management/pulls/48/comments","review_comment_url":"https://api.github.com/repos/owncloud/user_management/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owncloud/user_management/issues/48/comments","statuses_url":"https://api.github.com/repos/owncloud/user_management/statuses/d7931ce250ae6ff1b76239c38956cb1b19bf7bf5","head":{"label":"owncloud:modify-create-new-user","ref":"modify-create-new-user","sha":"d7931ce250ae6ff1b76239c38956cb1b19bf7bf5","user":{"login":"owncloud","id":1645051,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDUwNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":123587039,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM1ODcwMzk=","name":"user_management","full_name":"owncloud/user_management","owner":{"login":"owncloud","id":1645051,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDUwNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/user_management","description":null,"fork":false,"url":"https://api.github.com/repos/owncloud/user_management","forks_url":"https://api.github.com/repos/owncloud/user_management/forks","keys_url":"https://api.github.com/repos/owncloud/user_management/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/user_management/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/user_management/teams","hooks_url":"https://api.github.com/repos/owncloud/user_management/hooks","issue_events_url":"https://api.github.com/repos/owncloud/user_management/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/user_management/events","assignees_url":"https://api.github.com/repos/owncloud/user_management/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/user_management/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/user_management/tags","blobs_url":"https://api.github.com/repos/owncloud/user_management/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/user_management/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/user_management/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/user_management/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/user_management/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/user_management/languages","stargazers_url":"https://api.github.com/repos/owncloud/user_management/stargazers","contributors_url":"https://api.github.com/repos/owncloud/user_management/contributors","subscribers_url":"https://api.github.com/repos/owncloud/user_management/subscribers","subscription_url":"https://api.github.com/repos/owncloud/user_management/subscription","commits_url":"https://api.github.com/repos/owncloud/user_management/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/user_management/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/user_management/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/user_management/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/user_management/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/user_management/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/user_management/merges","archive_url":"https://api.github.com/repos/owncloud/user_management/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/user_management/downloads","issues_url":"https://api.github.com/repos/owncloud/user_management/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/user_management/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/user_management/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/user_management/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/user_management/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/user_management/releases{/id}","deployments_url":"https://api.github.com/repos/owncloud/user_management/deployments","created_at":"2018-03-02T14:10:55Z","updated_at":"2018-08-22T00:32:35Z","pushed_at":"2018-08-23T11:45:38Z","git_url":"git://github.com/owncloud/user_management.git","ssh_url":"git@github.com:owncloud/user_management.git","clone_url":"https://github.com/owncloud/user_management.git","svn_url":"https://github.com/owncloud/user_management","homepage":null,"size":479,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":2,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"owncloud:master","ref":"master","sha":"023a73dc0b330103edb600ffbd4a2a5621f2c05a","user":{"login":"owncloud","id":1645051,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDUwNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":123587039,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM1ODcwMzk=","name":"user_management","full_name":"owncloud/user_management","owner":{"login":"owncloud","id":1645051,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDUwNTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/user_management","description":null,"fork":false,"url":"https://api.github.com/repos/owncloud/user_management","forks_url":"https://api.github.com/repos/owncloud/user_management/forks","keys_url":"https://api.github.com/repos/owncloud/user_management/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/user_management/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/user_management/teams","hooks_url":"https://api.github.com/repos/owncloud/user_management/hooks","issue_events_url":"https://api.github.com/repos/owncloud/user_management/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/user_management/events","assignees_url":"https://api.github.com/repos/owncloud/user_management/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/user_management/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/user_management/tags","blobs_url":"https://api.github.com/repos/owncloud/user_management/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/user_management/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/user_management/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/user_management/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/user_management/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/user_management/languages","stargazers_url":"https://api.github.com/repos/owncloud/user_management/stargazers","contributors_url":"https://api.github.com/repos/owncloud/user_management/contributors","subscribers_url":"https://api.github.com/repos/owncloud/user_management/subscribers","subscription_url":"https://api.github.com/repos/owncloud/user_management/subscription","commits_url":"https://api.github.com/repos/owncloud/user_management/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/user_management/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/user_management/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/user_management/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/user_management/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/user_management/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/user_management/merges","archive_url":"https://api.github.com/repos/owncloud/user_management/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/user_management/downloads","issues_url":"https://api.github.com/repos/owncloud/user_management/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/user_management/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/user_management/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/user_management/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/user_management/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/user_management/releases{/id}","deployments_url":"https://api.github.com/repos/owncloud/user_management/deployments","created_at":"2018-03-02T14:10:55Z","updated_at":"2018-08-22T00:32:35Z","pushed_at":"2018-08-23T11:45:38Z","git_url":"git://github.com/owncloud/user_management.git","ssh_url":"git@github.com:owncloud/user_management.git","clone_url":"https://github.com/owncloud/user_management.git","svn_url":"https://github.com/owncloud/user_management","homepage":null,"size":479,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":2,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owncloud/user_management/pulls/48"},"html":{"href":"https://github.com/owncloud/user_management/pull/48"},"issue":{"href":"https://api.github.com/repos/owncloud/user_management/issues/48"},"comments":{"href":"https://api.github.com/repos/owncloud/user_management/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/owncloud/user_management/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/owncloud/user_management/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owncloud/user_management/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/owncloud/user_management/statuses/d7931ce250ae6ff1b76239c38956cb1b19bf7bf5"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jvillafanez"}}