{"action":"opened","number":1458,"pull_request":{"url":"https://api.github.com/repos/MrRio/jsPDF/pulls/1458","id":142707590,"html_url":"https://github.com/MrRio/jsPDF/pull/1458","diff_url":"https://github.com/MrRio/jsPDF/pull/1458.diff","patch_url":"https://github.com/MrRio/jsPDF/pull/1458.patch","issue_url":"https://api.github.com/repos/MrRio/jsPDF/issues/1458","number":1458,"state":"open","locked":false,"title":"Add securityhandlers plugin [WiP] (not working yet)","user":{"login":"arasabbasi","id":5059100,"avatar_url":"https://avatars1.githubusercontent.com/u/5059100?v=4","gravatar_id":"","url":"https://api.github.com/users/arasabbasi","html_url":"https://github.com/arasabbasi","followers_url":"https://api.github.com/users/arasabbasi/followers","following_url":"https://api.github.com/users/arasabbasi/following{/other_user}","gists_url":"https://api.github.com/users/arasabbasi/gists{/gist_id}","starred_url":"https://api.github.com/users/arasabbasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arasabbasi/subscriptions","organizations_url":"https://api.github.com/users/arasabbasi/orgs","repos_url":"https://api.github.com/users/arasabbasi/repos","events_url":"https://api.github.com/users/arasabbasi/events{/privacy}","received_events_url":"https://api.github.com/users/arasabbasi/received_events","type":"User","site_admin":false},"body":"I publish it anyway, in hope that  somebody wants/can help to get the functionality to work. \r\n\r\nI got it to ask for the password, but it seems that i generate a wrong password\r\n\r\nto test it:\r\n\r\n```\r\n    var doc = jsPDF();\r\n    doc.text(10, 10, 'This is a test')\r\n    doc.securityHandlers({\r\n    \tuserPassword: 'test'\r\n    });\r\n    doc.save(\"test.pdf\");\r\n```","created_at":"2017-09-23T09:31:52Z","updated_at":"2017-09-23T09:31:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/MrRio/jsPDF/pulls/1458/commits","review_comments_url":"https://api.github.com/repos/MrRio/jsPDF/pulls/1458/comments","review_comment_url":"https://api.github.com/repos/MrRio/jsPDF/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MrRio/jsPDF/issues/1458/comments","statuses_url":"https://api.github.com/repos/MrRio/jsPDF/statuses/e29762bec47734df09305eea1cbc66a2752267f4","head":{"label":"arasabbasi:add_securityhandlers_plugin","ref":"add_securityhandlers_plugin","sha":"e29762bec47734df09305eea1cbc66a2752267f4","user":{"login":"arasabbasi","id":5059100,"avatar_url":"https://avatars1.githubusercontent.com/u/5059100?v=4","gravatar_id":"","url":"https://api.github.com/users/arasabbasi","html_url":"https://github.com/arasabbasi","followers_url":"https://api.github.com/users/arasabbasi/followers","following_url":"https://api.github.com/users/arasabbasi/following{/other_user}","gists_url":"https://api.github.com/users/arasabbasi/gists{/gist_id}","starred_url":"https://api.github.com/users/arasabbasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arasabbasi/subscriptions","organizations_url":"https://api.github.com/users/arasabbasi/orgs","repos_url":"https://api.github.com/users/arasabbasi/repos","events_url":"https://api.github.com/users/arasabbasi/events{/privacy}","received_events_url":"https://api.github.com/users/arasabbasi/received_events","type":"User","site_admin":false},"repo":{"id":86108803,"name":"jsPDF","full_name":"arasabbasi/jsPDF","owner":{"login":"arasabbasi","id":5059100,"avatar_url":"https://avatars1.githubusercontent.com/u/5059100?v=4","gravatar_id":"","url":"https://api.github.com/users/arasabbasi","html_url":"https://github.com/arasabbasi","followers_url":"https://api.github.com/users/arasabbasi/followers","following_url":"https://api.github.com/users/arasabbasi/following{/other_user}","gists_url":"https://api.github.com/users/arasabbasi/gists{/gist_id}","starred_url":"https://api.github.com/users/arasabbasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arasabbasi/subscriptions","organizations_url":"https://api.github.com/users/arasabbasi/orgs","repos_url":"https://api.github.com/users/arasabbasi/repos","events_url":"https://api.github.com/users/arasabbasi/events{/privacy}","received_events_url":"https://api.github.com/users/arasabbasi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arasabbasi/jsPDF","description":"Client-side JavaScript PDF generation for everyone.","fork":true,"url":"https://api.github.com/repos/arasabbasi/jsPDF","forks_url":"https://api.github.com/repos/arasabbasi/jsPDF/forks","keys_url":"https://api.github.com/repos/arasabbasi/jsPDF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arasabbasi/jsPDF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arasabbasi/jsPDF/teams","hooks_url":"https://api.github.com/repos/arasabbasi/jsPDF/hooks","issue_events_url":"https://api.github.com/repos/arasabbasi/jsPDF/issues/events{/number}","events_url":"https://api.github.com/repos/arasabbasi/jsPDF/events","assignees_url":"https://api.github.com/repos/arasabbasi/jsPDF/assignees{/user}","branches_url":"https://api.github.com/repos/arasabbasi/jsPDF/branches{/branch}","tags_url":"https://api.github.com/repos/arasabbasi/jsPDF/tags","blobs_url":"https://api.github.com/repos/arasabbasi/jsPDF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arasabbasi/jsPDF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arasabbasi/jsPDF/git/refs{/sha}","trees_url":"https://api.github.com/repos/arasabbasi/jsPDF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arasabbasi/jsPDF/statuses/{sha}","languages_url":"https://api.github.com/repos/arasabbasi/jsPDF/languages","stargazers_url":"https://api.github.com/repos/arasabbasi/jsPDF/stargazers","contributors_url":"https://api.github.com/repos/arasabbasi/jsPDF/contributors","subscribers_url":"https://api.github.com/repos/arasabbasi/jsPDF/subscribers","subscription_url":"https://api.github.com/repos/arasabbasi/jsPDF/subscription","commits_url":"https://api.github.com/repos/arasabbasi/jsPDF/commits{/sha}","git_commits_url":"https://api.github.com/repos/arasabbasi/jsPDF/git/commits{/sha}","comments_url":"https://api.github.com/repos/arasabbasi/jsPDF/comments{/number}","issue_comment_url":"https://api.github.com/repos/arasabbasi/jsPDF/issues/comments{/number}","contents_url":"https://api.github.com/repos/arasabbasi/jsPDF/contents/{+path}","compare_url":"https://api.github.com/repos/arasabbasi/jsPDF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arasabbasi/jsPDF/merges","archive_url":"https://api.github.com/repos/arasabbasi/jsPDF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arasabbasi/jsPDF/downloads","issues_url":"https://api.github.com/repos/arasabbasi/jsPDF/issues{/number}","pulls_url":"https://api.github.com/repos/arasabbasi/jsPDF/pulls{/number}","milestones_url":"https://api.github.com/repos/arasabbasi/jsPDF/milestones{/number}","notifications_url":"https://api.github.com/repos/arasabbasi/jsPDF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arasabbasi/jsPDF/labels{/name}","releases_url":"https://api.github.com/repos/arasabbasi/jsPDF/releases{/id}","deployments_url":"https://api.github.com/repos/arasabbasi/jsPDF/deployments","created_at":"2017-03-24T20:41:14Z","updated_at":"2017-03-24T20:41:17Z","pushed_at":"2017-09-23T09:28:30Z","git_url":"git://github.com/arasabbasi/jsPDF.git","ssh_url":"git@github.com:arasabbasi/jsPDF.git","clone_url":"https://github.com/arasabbasi/jsPDF.git","svn_url":"https://github.com/arasabbasi/jsPDF","homepage":"https://parall.ax/products/jspdf","size":18368,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"MrRio:master","ref":"master","sha":"5ac03d93cc44872125fe4356dea284e5cbe3b39d","user":{"login":"MrRio","id":47539,"avatar_url":"https://avatars3.githubusercontent.com/u/47539?v=4","gravatar_id":"","url":"https://api.github.com/users/MrRio","html_url":"https://github.com/MrRio","followers_url":"https://api.github.com/users/MrRio/followers","following_url":"https://api.github.com/users/MrRio/following{/other_user}","gists_url":"https://api.github.com/users/MrRio/gists{/gist_id}","starred_url":"https://api.github.com/users/MrRio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrRio/subscriptions","organizations_url":"https://api.github.com/users/MrRio/orgs","repos_url":"https://api.github.com/users/MrRio/repos","events_url":"https://api.github.com/users/MrRio/events{/privacy}","received_events_url":"https://api.github.com/users/MrRio/received_events","type":"User","site_admin":false},"repo":{"id":402046,"name":"jsPDF","full_name":"MrRio/jsPDF","owner":{"login":"MrRio","id":47539,"avatar_url":"https://avatars3.githubusercontent.com/u/47539?v=4","gravatar_id":"","url":"https://api.github.com/users/MrRio","html_url":"https://github.com/MrRio","followers_url":"https://api.github.com/users/MrRio/followers","following_url":"https://api.github.com/users/MrRio/following{/other_user}","gists_url":"https://api.github.com/users/MrRio/gists{/gist_id}","starred_url":"https://api.github.com/users/MrRio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrRio/subscriptions","organizations_url":"https://api.github.com/users/MrRio/orgs","repos_url":"https://api.github.com/users/MrRio/repos","events_url":"https://api.github.com/users/MrRio/events{/privacy}","received_events_url":"https://api.github.com/users/MrRio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MrRio/jsPDF","description":"Client-side JavaScript PDF generation for everyone.","fork":false,"url":"https://api.github.com/repos/MrRio/jsPDF","forks_url":"https://api.github.com/repos/MrRio/jsPDF/forks","keys_url":"https://api.github.com/repos/MrRio/jsPDF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrRio/jsPDF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrRio/jsPDF/teams","hooks_url":"https://api.github.com/repos/MrRio/jsPDF/hooks","issue_events_url":"https://api.github.com/repos/MrRio/jsPDF/issues/events{/number}","events_url":"https://api.github.com/repos/MrRio/jsPDF/events","assignees_url":"https://api.github.com/repos/MrRio/jsPDF/assignees{/user}","branches_url":"https://api.github.com/repos/MrRio/jsPDF/branches{/branch}","tags_url":"https://api.github.com/repos/MrRio/jsPDF/tags","blobs_url":"https://api.github.com/repos/MrRio/jsPDF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrRio/jsPDF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrRio/jsPDF/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrRio/jsPDF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrRio/jsPDF/statuses/{sha}","languages_url":"https://api.github.com/repos/MrRio/jsPDF/languages","stargazers_url":"https://api.github.com/repos/MrRio/jsPDF/stargazers","contributors_url":"https://api.github.com/repos/MrRio/jsPDF/contributors","subscribers_url":"https://api.github.com/repos/MrRio/jsPDF/subscribers","subscription_url":"https://api.github.com/repos/MrRio/jsPDF/subscription","commits_url":"https://api.github.com/repos/MrRio/jsPDF/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrRio/jsPDF/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrRio/jsPDF/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrRio/jsPDF/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrRio/jsPDF/contents/{+path}","compare_url":"https://api.github.com/repos/MrRio/jsPDF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrRio/jsPDF/merges","archive_url":"https://api.github.com/repos/MrRio/jsPDF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrRio/jsPDF/downloads","issues_url":"https://api.github.com/repos/MrRio/jsPDF/issues{/number}","pulls_url":"https://api.github.com/repos/MrRio/jsPDF/pulls{/number}","milestones_url":"https://api.github.com/repos/MrRio/jsPDF/milestones{/number}","notifications_url":"https://api.github.com/repos/MrRio/jsPDF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrRio/jsPDF/labels{/name}","releases_url":"https://api.github.com/repos/MrRio/jsPDF/releases{/id}","deployments_url":"https://api.github.com/repos/MrRio/jsPDF/deployments","created_at":"2009-12-06T14:56:32Z","updated_at":"2017-09-22T19:05:54Z","pushed_at":"2017-09-23T08:19:07Z","git_url":"git://github.com/MrRio/jsPDF.git","ssh_url":"git@github.com:MrRio/jsPDF.git","clone_url":"https://github.com/MrRio/jsPDF.git","svn_url":"https://github.com/MrRio/jsPDF","homepage":"https://parall.ax/products/jspdf","size":24943,"stargazers_count":9066,"watchers_count":9066,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2103,"mirror_url":null,"open_issues_count":508,"forks":2103,"open_issues":508,"watchers":9066,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MrRio/jsPDF/pulls/1458"},"html":{"href":"https://github.com/MrRio/jsPDF/pull/1458"},"issue":{"href":"https://api.github.com/repos/MrRio/jsPDF/issues/1458"},"comments":{"href":"https://api.github.com/repos/MrRio/jsPDF/issues/1458/comments"},"review_comments":{"href":"https://api.github.com/repos/MrRio/jsPDF/pulls/1458/comments"},"review_comment":{"href":"https://api.github.com/repos/MrRio/jsPDF/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MrRio/jsPDF/pulls/1458/commits"},"statuses":{"href":"https://api.github.com/repos/MrRio/jsPDF/statuses/e29762bec47734df09305eea1cbc66a2752267f4"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":6,"additions":636,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"arasabbasi"}}