{"action":"created","comment":{"url":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/comments/224815094","pull_request_review_id":164281627,"id":224815094,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDgxNTA5NA==","diff_hunk":"@@ -168,23 +142,24 @@\n         </div>\n     </div>\n </div>\n-<div class=\"modal\" tabindex=\"-1\" role=\"dialog\" id=\"edit\" data-id=\"\">\n+<div class=\"modal\" tabindex=\"-1\" role=\"dialog\" id=\"edit\" data-id=\"-1\">\n     <div class=\"modal-dialog\">\n         <div class=\"modal-content\">\n             <div class=\"modal-header\">\n                 <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">&times;</span></button>\n-                <h4>Edit account information</h4>\n+                <h4 class=\"editOnly\">Edit account information</h4>\n+                <h4 class=\"addOnly\">Add a new account</h4>\n             </div>\n             <div class=\"modal-body\">\n             <form method=\"post\">\n                 <div class=\"form-group\">\n-                    <label for=\"edititeminput\" class=\"control-label\">Account (Item):</label>\n+                    <label for=\"edititeminput\" class=\"control-label\">Account (Item)</label>\n                     <input class=\"form-control\" id=\"edititeminput\" type=\"text\" />\n                 </div>\n                 <div class=\"form-group\">\n-                    <label for=\"edititeminputpw\" class=\"control-label\">Password:</label>\n+                    <label for=\"edititeminputpw\" class=\"control-label\">Password</label>\n                     <div class=\"input-group\">\n-                        <input class=\"form-control passwordText\" id=\"edititeminputpw\" type=\"text\" autocomplete=\"off\" placeholder=\"Leave blank to generate one\"/>\n+                        <input class=\"form-control passwordText\" id=\"edititeminputpw\" type=\"password\" autocomplete=\"off\" placeholder=\"Leave blank to generate one\"/>\n                         <span class=\"input-group-btn\">\n                             <button id=\"editPasswordInput\" class=\"btn btn-warning\" type=\"button\" title=\"generate new password\"><i class=\"glyphicon glyphicon-refresh\"></i></button>\n                             <button class=\"btn btn-default\" type=\"button\" id=\"editAccountShowPassword\" title=\"show current password\"><i class=\"glyphicon glyphicon-eye-open\"></i></button>","path":"src/password.php","position":71,"original_position":71,"commit_id":"8a0a3fedf08a1564c154bf7504180232b3b9e135","original_commit_id":"8a0a3fedf08a1564c154bf7504180232b3b9e135","user":{"login":"BenjaminHae","id":7386033,"node_id":"MDQ6VXNlcjczODYwMzM=","avatar_url":"https://avatars2.githubusercontent.com/u/7386033?v=4","gravatar_id":"","url":"https://api.github.com/users/BenjaminHae","html_url":"https://github.com/BenjaminHae","followers_url":"https://api.github.com/users/BenjaminHae/followers","following_url":"https://api.github.com/users/BenjaminHae/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminHae/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminHae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminHae/subscriptions","organizations_url":"https://api.github.com/users/BenjaminHae/orgs","repos_url":"https://api.github.com/users/BenjaminHae/repos","events_url":"https://api.github.com/users/BenjaminHae/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminHae/received_events","type":"User","site_admin":false},"body":"Is this the same as the one above or did you mean another line?","created_at":"2018-10-12T14:59:56Z","updated_at":"2018-10-12T14:59:56Z","html_url":"https://github.com/zeruniverse/Password-Manager/pull/223#discussion_r224815094","pull_request_url":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/223","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/comments/224815094"},"html":{"href":"https://github.com/zeruniverse/Password-Manager/pull/223#discussion_r224815094"},"pull_request":{"href":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/223"}},"in_reply_to_id":224714457},"pull_request":{"url":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/223","id":222220122,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyMjIwMTIy","html_url":"https://github.com/zeruniverse/Password-Manager/pull/223","diff_url":"https://github.com/zeruniverse/Password-Manager/pull/223.diff","patch_url":"https://github.com/zeruniverse/Password-Manager/pull/223.patch","issue_url":"https://api.github.com/repos/zeruniverse/Password-Manager/issues/223","number":223,"state":"open","locked":false,"title":"Hide passwords in edit/add form","user":{"login":"BenjaminHae","id":7386033,"node_id":"MDQ6VXNlcjczODYwMzM=","avatar_url":"https://avatars2.githubusercontent.com/u/7386033?v=4","gravatar_id":"","url":"https://api.github.com/users/BenjaminHae","html_url":"https://github.com/BenjaminHae","followers_url":"https://api.github.com/users/BenjaminHae/followers","following_url":"https://api.github.com/users/BenjaminHae/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminHae/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminHae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminHae/subscriptions","organizations_url":"https://api.github.com/users/BenjaminHae/orgs","repos_url":"https://api.github.com/users/BenjaminHae/repos","events_url":"https://api.github.com/users/BenjaminHae/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminHae/received_events","type":"User","site_admin":false},"body":"@Pofilo Could you please take a look at it? I've merged the add and edit forms, so there is some potential for errors.\r\n\r\nImplements #222 ","created_at":"2018-10-11T17:33:02Z","updated_at":"2018-10-12T14:59:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c55e9c040118efd5a4aa9e76fd026c569040c946","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/223/commits","review_comments_url":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/223/comments","review_comment_url":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zeruniverse/Password-Manager/issues/223/comments","statuses_url":"https://api.github.com/repos/zeruniverse/Password-Manager/statuses/8a0a3fedf08a1564c154bf7504180232b3b9e135","head":{"label":"BenjaminHae:editPasswordVisibility","ref":"editPasswordVisibility","sha":"8a0a3fedf08a1564c154bf7504180232b3b9e135","user":{"login":"BenjaminHae","id":7386033,"node_id":"MDQ6VXNlcjczODYwMzM=","avatar_url":"https://avatars2.githubusercontent.com/u/7386033?v=4","gravatar_id":"","url":"https://api.github.com/users/BenjaminHae","html_url":"https://github.com/BenjaminHae","followers_url":"https://api.github.com/users/BenjaminHae/followers","following_url":"https://api.github.com/users/BenjaminHae/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminHae/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminHae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminHae/subscriptions","organizations_url":"https://api.github.com/users/BenjaminHae/orgs","repos_url":"https://api.github.com/users/BenjaminHae/repos","events_url":"https://api.github.com/users/BenjaminHae/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminHae/received_events","type":"User","site_admin":false},"repo":{"id":50666160,"node_id":"MDEwOlJlcG9zaXRvcnk1MDY2NjE2MA==","name":"Password-Manager","full_name":"BenjaminHae/Password-Manager","private":false,"owner":{"login":"BenjaminHae","id":7386033,"node_id":"MDQ6VXNlcjczODYwMzM=","avatar_url":"https://avatars2.githubusercontent.com/u/7386033?v=4","gravatar_id":"","url":"https://api.github.com/users/BenjaminHae","html_url":"https://github.com/BenjaminHae","followers_url":"https://api.github.com/users/BenjaminHae/followers","following_url":"https://api.github.com/users/BenjaminHae/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminHae/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminHae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminHae/subscriptions","organizations_url":"https://api.github.com/users/BenjaminHae/orgs","repos_url":"https://api.github.com/users/BenjaminHae/repos","events_url":"https://api.github.com/users/BenjaminHae/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminHae/received_events","type":"User","site_admin":false},"html_url":"https://github.com/BenjaminHae/Password-Manager","description":"An online keepass-like tool to manage password. client-side AES encryption!","fork":true,"url":"https://api.github.com/repos/BenjaminHae/Password-Manager","forks_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/forks","keys_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/teams","hooks_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/hooks","issue_events_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/issues/events{/number}","events_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/events","assignees_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/assignees{/user}","branches_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/branches{/branch}","tags_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/tags","blobs_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/statuses/{sha}","languages_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/languages","stargazers_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/stargazers","contributors_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/contributors","subscribers_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/subscribers","subscription_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/subscription","commits_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/contents/{+path}","compare_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/merges","archive_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/downloads","issues_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/issues{/number}","pulls_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/pulls{/number}","milestones_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/milestones{/number}","notifications_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/labels{/name}","releases_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/releases{/id}","deployments_url":"https://api.github.com/repos/BenjaminHae/Password-Manager/deployments","created_at":"2016-01-29T14:08:30Z","updated_at":"2018-10-11T18:19:37Z","pushed_at":"2018-10-11T18:19:36Z","git_url":"git://github.com/BenjaminHae/Password-Manager.git","ssh_url":"git@github.com:BenjaminHae/Password-Manager.git","clone_url":"https://github.com/BenjaminHae/Password-Manager.git","svn_url":"https://github.com/BenjaminHae/Password-Manager","homepage":"","size":2794,"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":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"zeruniverse:master","ref":"master","sha":"a58c39b4bbb1986dba6fe6f0a1631c321b346d84","user":{"login":"zeruniverse","id":4648756,"node_id":"MDQ6VXNlcjQ2NDg3NTY=","avatar_url":"https://avatars2.githubusercontent.com/u/4648756?v=4","gravatar_id":"","url":"https://api.github.com/users/zeruniverse","html_url":"https://github.com/zeruniverse","followers_url":"https://api.github.com/users/zeruniverse/followers","following_url":"https://api.github.com/users/zeruniverse/following{/other_user}","gists_url":"https://api.github.com/users/zeruniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zeruniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeruniverse/subscriptions","organizations_url":"https://api.github.com/users/zeruniverse/orgs","repos_url":"https://api.github.com/users/zeruniverse/repos","events_url":"https://api.github.com/users/zeruniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zeruniverse/received_events","type":"User","site_admin":false},"repo":{"id":25439016,"node_id":"MDEwOlJlcG9zaXRvcnkyNTQzOTAxNg==","name":"Password-Manager","full_name":"zeruniverse/Password-Manager","private":false,"owner":{"login":"zeruniverse","id":4648756,"node_id":"MDQ6VXNlcjQ2NDg3NTY=","avatar_url":"https://avatars2.githubusercontent.com/u/4648756?v=4","gravatar_id":"","url":"https://api.github.com/users/zeruniverse","html_url":"https://github.com/zeruniverse","followers_url":"https://api.github.com/users/zeruniverse/followers","following_url":"https://api.github.com/users/zeruniverse/following{/other_user}","gists_url":"https://api.github.com/users/zeruniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zeruniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeruniverse/subscriptions","organizations_url":"https://api.github.com/users/zeruniverse/orgs","repos_url":"https://api.github.com/users/zeruniverse/repos","events_url":"https://api.github.com/users/zeruniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zeruniverse/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zeruniverse/Password-Manager","description":"An online keepass-like tool to manage password. client-side AES encryption!","fork":false,"url":"https://api.github.com/repos/zeruniverse/Password-Manager","forks_url":"https://api.github.com/repos/zeruniverse/Password-Manager/forks","keys_url":"https://api.github.com/repos/zeruniverse/Password-Manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeruniverse/Password-Manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeruniverse/Password-Manager/teams","hooks_url":"https://api.github.com/repos/zeruniverse/Password-Manager/hooks","issue_events_url":"https://api.github.com/repos/zeruniverse/Password-Manager/issues/events{/number}","events_url":"https://api.github.com/repos/zeruniverse/Password-Manager/events","assignees_url":"https://api.github.com/repos/zeruniverse/Password-Manager/assignees{/user}","branches_url":"https://api.github.com/repos/zeruniverse/Password-Manager/branches{/branch}","tags_url":"https://api.github.com/repos/zeruniverse/Password-Manager/tags","blobs_url":"https://api.github.com/repos/zeruniverse/Password-Manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeruniverse/Password-Manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeruniverse/Password-Manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeruniverse/Password-Manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeruniverse/Password-Manager/statuses/{sha}","languages_url":"https://api.github.com/repos/zeruniverse/Password-Manager/languages","stargazers_url":"https://api.github.com/repos/zeruniverse/Password-Manager/stargazers","contributors_url":"https://api.github.com/repos/zeruniverse/Password-Manager/contributors","subscribers_url":"https://api.github.com/repos/zeruniverse/Password-Manager/subscribers","subscription_url":"https://api.github.com/repos/zeruniverse/Password-Manager/subscription","commits_url":"https://api.github.com/repos/zeruniverse/Password-Manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeruniverse/Password-Manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeruniverse/Password-Manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeruniverse/Password-Manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeruniverse/Password-Manager/contents/{+path}","compare_url":"https://api.github.com/repos/zeruniverse/Password-Manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeruniverse/Password-Manager/merges","archive_url":"https://api.github.com/repos/zeruniverse/Password-Manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeruniverse/Password-Manager/downloads","issues_url":"https://api.github.com/repos/zeruniverse/Password-Manager/issues{/number}","pulls_url":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls{/number}","milestones_url":"https://api.github.com/repos/zeruniverse/Password-Manager/milestones{/number}","notifications_url":"https://api.github.com/repos/zeruniverse/Password-Manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeruniverse/Password-Manager/labels{/name}","releases_url":"https://api.github.com/repos/zeruniverse/Password-Manager/releases{/id}","deployments_url":"https://api.github.com/repos/zeruniverse/Password-Manager/deployments","created_at":"2014-10-19T20:21:39Z","updated_at":"2018-10-11T18:19:31Z","pushed_at":"2018-10-11T18:19:29Z","git_url":"git://github.com/zeruniverse/Password-Manager.git","ssh_url":"git@github.com:zeruniverse/Password-Manager.git","clone_url":"https://github.com/zeruniverse/Password-Manager.git","svn_url":"https://github.com/zeruniverse/Password-Manager","homepage":"","size":2683,"stargazers_count":124,"watchers_count":124,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":30,"open_issues":3,"watchers":124,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/223"},"html":{"href":"https://github.com/zeruniverse/Password-Manager/pull/223"},"issue":{"href":"https://api.github.com/repos/zeruniverse/Password-Manager/issues/223"},"comments":{"href":"https://api.github.com/repos/zeruniverse/Password-Manager/issues/223/comments"},"review_comments":{"href":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/223/comments"},"review_comment":{"href":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zeruniverse/Password-Manager/pulls/223/commits"},"statuses":{"href":"https://api.github.com/repos/zeruniverse/Password-Manager/statuses/8a0a3fedf08a1564c154bf7504180232b3b9e135"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"BenjaminHae"}}