{"action":"opened","number":576,"pull_request":{"url":"https://api.github.com/repos/openannotation/annotator/pulls/576","id":50311962,"html_url":"https://github.com/openannotation/annotator/pull/576","diff_url":"https://github.com/openannotation/annotator/pull/576.diff","patch_url":"https://github.com/openannotation/annotator/pull/576.patch","issue_url":"https://api.github.com/repos/openannotation/annotator/issues/576","number":576,"state":"open","locked":false,"title":"Adding hook for setting identity in SimpleIdentityPolicy","user":{"login":"ianjevans","id":5760366,"avatar_url":"https://avatars.githubusercontent.com/u/5760366?v=3","gravatar_id":"","url":"https://api.github.com/users/ianjevans","html_url":"https://github.com/ianjevans","followers_url":"https://api.github.com/users/ianjevans/followers","following_url":"https://api.github.com/users/ianjevans/following{/other_user}","gists_url":"https://api.github.com/users/ianjevans/gists{/gist_id}","starred_url":"https://api.github.com/users/ianjevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianjevans/subscriptions","organizations_url":"https://api.github.com/users/ianjevans/orgs","repos_url":"https://api.github.com/users/ianjevans/repos","events_url":"https://api.github.com/users/ianjevans/events{/privacy}","received_events_url":"https://api.github.com/users/ianjevans/received_events","type":"User","site_admin":false},"body":"Modified identity.js so it sets the user before an annotation is created.","created_at":"2015-11-10T21:13:59Z","updated_at":"2015-11-10T21:13:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad6aa95d28962afafaea48576f846087e29fecdb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openannotation/annotator/pulls/576/commits","review_comments_url":"https://api.github.com/repos/openannotation/annotator/pulls/576/comments","review_comment_url":"https://api.github.com/repos/openannotation/annotator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openannotation/annotator/issues/576/comments","statuses_url":"https://api.github.com/repos/openannotation/annotator/statuses/1e10319ec774f58777fde28ef4d5a076b1c4e15b","head":{"label":"ianjevans:master","ref":"master","sha":"1e10319ec774f58777fde28ef4d5a076b1c4e15b","user":{"login":"ianjevans","id":5760366,"avatar_url":"https://avatars.githubusercontent.com/u/5760366?v=3","gravatar_id":"","url":"https://api.github.com/users/ianjevans","html_url":"https://github.com/ianjevans","followers_url":"https://api.github.com/users/ianjevans/followers","following_url":"https://api.github.com/users/ianjevans/following{/other_user}","gists_url":"https://api.github.com/users/ianjevans/gists{/gist_id}","starred_url":"https://api.github.com/users/ianjevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianjevans/subscriptions","organizations_url":"https://api.github.com/users/ianjevans/orgs","repos_url":"https://api.github.com/users/ianjevans/repos","events_url":"https://api.github.com/users/ianjevans/events{/privacy}","received_events_url":"https://api.github.com/users/ianjevans/received_events","type":"User","site_admin":false},"repo":{"id":45940134,"name":"annotator","full_name":"ianjevans/annotator","owner":{"login":"ianjevans","id":5760366,"avatar_url":"https://avatars.githubusercontent.com/u/5760366?v=3","gravatar_id":"","url":"https://api.github.com/users/ianjevans","html_url":"https://github.com/ianjevans","followers_url":"https://api.github.com/users/ianjevans/followers","following_url":"https://api.github.com/users/ianjevans/following{/other_user}","gists_url":"https://api.github.com/users/ianjevans/gists{/gist_id}","starred_url":"https://api.github.com/users/ianjevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianjevans/subscriptions","organizations_url":"https://api.github.com/users/ianjevans/orgs","repos_url":"https://api.github.com/users/ianjevans/repos","events_url":"https://api.github.com/users/ianjevans/events{/privacy}","received_events_url":"https://api.github.com/users/ianjevans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ianjevans/annotator","description":"Annotation tools for the web. Select text, images, or (nearly) anything else, and add your notes.","fork":true,"url":"https://api.github.com/repos/ianjevans/annotator","forks_url":"https://api.github.com/repos/ianjevans/annotator/forks","keys_url":"https://api.github.com/repos/ianjevans/annotator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ianjevans/annotator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ianjevans/annotator/teams","hooks_url":"https://api.github.com/repos/ianjevans/annotator/hooks","issue_events_url":"https://api.github.com/repos/ianjevans/annotator/issues/events{/number}","events_url":"https://api.github.com/repos/ianjevans/annotator/events","assignees_url":"https://api.github.com/repos/ianjevans/annotator/assignees{/user}","branches_url":"https://api.github.com/repos/ianjevans/annotator/branches{/branch}","tags_url":"https://api.github.com/repos/ianjevans/annotator/tags","blobs_url":"https://api.github.com/repos/ianjevans/annotator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ianjevans/annotator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ianjevans/annotator/git/refs{/sha}","trees_url":"https://api.github.com/repos/ianjevans/annotator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ianjevans/annotator/statuses/{sha}","languages_url":"https://api.github.com/repos/ianjevans/annotator/languages","stargazers_url":"https://api.github.com/repos/ianjevans/annotator/stargazers","contributors_url":"https://api.github.com/repos/ianjevans/annotator/contributors","subscribers_url":"https://api.github.com/repos/ianjevans/annotator/subscribers","subscription_url":"https://api.github.com/repos/ianjevans/annotator/subscription","commits_url":"https://api.github.com/repos/ianjevans/annotator/commits{/sha}","git_commits_url":"https://api.github.com/repos/ianjevans/annotator/git/commits{/sha}","comments_url":"https://api.github.com/repos/ianjevans/annotator/comments{/number}","issue_comment_url":"https://api.github.com/repos/ianjevans/annotator/issues/comments{/number}","contents_url":"https://api.github.com/repos/ianjevans/annotator/contents/{+path}","compare_url":"https://api.github.com/repos/ianjevans/annotator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ianjevans/annotator/merges","archive_url":"https://api.github.com/repos/ianjevans/annotator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ianjevans/annotator/downloads","issues_url":"https://api.github.com/repos/ianjevans/annotator/issues{/number}","pulls_url":"https://api.github.com/repos/ianjevans/annotator/pulls{/number}","milestones_url":"https://api.github.com/repos/ianjevans/annotator/milestones{/number}","notifications_url":"https://api.github.com/repos/ianjevans/annotator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ianjevans/annotator/labels{/name}","releases_url":"https://api.github.com/repos/ianjevans/annotator/releases{/id}","created_at":"2015-11-10T21:05:30Z","updated_at":"2015-11-10T21:05:31Z","pushed_at":"2015-11-10T21:11:47Z","git_url":"git://github.com/ianjevans/annotator.git","ssh_url":"git@github.com:ianjevans/annotator.git","clone_url":"https://github.com/ianjevans/annotator.git","svn_url":"https://github.com/ianjevans/annotator","homepage":"http://annotatorjs.org","size":8626,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"openannotation:master","ref":"master","sha":"e85e70e9515931ddbfdd62660e0ae18ab48c6c9d","user":{"login":"openannotation","id":3476110,"avatar_url":"https://avatars.githubusercontent.com/u/3476110?v=3","gravatar_id":"","url":"https://api.github.com/users/openannotation","html_url":"https://github.com/openannotation","followers_url":"https://api.github.com/users/openannotation/followers","following_url":"https://api.github.com/users/openannotation/following{/other_user}","gists_url":"https://api.github.com/users/openannotation/gists{/gist_id}","starred_url":"https://api.github.com/users/openannotation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openannotation/subscriptions","organizations_url":"https://api.github.com/users/openannotation/orgs","repos_url":"https://api.github.com/users/openannotation/repos","events_url":"https://api.github.com/users/openannotation/events{/privacy}","received_events_url":"https://api.github.com/users/openannotation/received_events","type":"Organization","site_admin":false},"repo":{"id":1219074,"name":"annotator","full_name":"openannotation/annotator","owner":{"login":"openannotation","id":3476110,"avatar_url":"https://avatars.githubusercontent.com/u/3476110?v=3","gravatar_id":"","url":"https://api.github.com/users/openannotation","html_url":"https://github.com/openannotation","followers_url":"https://api.github.com/users/openannotation/followers","following_url":"https://api.github.com/users/openannotation/following{/other_user}","gists_url":"https://api.github.com/users/openannotation/gists{/gist_id}","starred_url":"https://api.github.com/users/openannotation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openannotation/subscriptions","organizations_url":"https://api.github.com/users/openannotation/orgs","repos_url":"https://api.github.com/users/openannotation/repos","events_url":"https://api.github.com/users/openannotation/events{/privacy}","received_events_url":"https://api.github.com/users/openannotation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openannotation/annotator","description":"Annotation tools for the web. Select text, images, or (nearly) anything else, and add your notes.","fork":false,"url":"https://api.github.com/repos/openannotation/annotator","forks_url":"https://api.github.com/repos/openannotation/annotator/forks","keys_url":"https://api.github.com/repos/openannotation/annotator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openannotation/annotator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openannotation/annotator/teams","hooks_url":"https://api.github.com/repos/openannotation/annotator/hooks","issue_events_url":"https://api.github.com/repos/openannotation/annotator/issues/events{/number}","events_url":"https://api.github.com/repos/openannotation/annotator/events","assignees_url":"https://api.github.com/repos/openannotation/annotator/assignees{/user}","branches_url":"https://api.github.com/repos/openannotation/annotator/branches{/branch}","tags_url":"https://api.github.com/repos/openannotation/annotator/tags","blobs_url":"https://api.github.com/repos/openannotation/annotator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openannotation/annotator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openannotation/annotator/git/refs{/sha}","trees_url":"https://api.github.com/repos/openannotation/annotator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openannotation/annotator/statuses/{sha}","languages_url":"https://api.github.com/repos/openannotation/annotator/languages","stargazers_url":"https://api.github.com/repos/openannotation/annotator/stargazers","contributors_url":"https://api.github.com/repos/openannotation/annotator/contributors","subscribers_url":"https://api.github.com/repos/openannotation/annotator/subscribers","subscription_url":"https://api.github.com/repos/openannotation/annotator/subscription","commits_url":"https://api.github.com/repos/openannotation/annotator/commits{/sha}","git_commits_url":"https://api.github.com/repos/openannotation/annotator/git/commits{/sha}","comments_url":"https://api.github.com/repos/openannotation/annotator/comments{/number}","issue_comment_url":"https://api.github.com/repos/openannotation/annotator/issues/comments{/number}","contents_url":"https://api.github.com/repos/openannotation/annotator/contents/{+path}","compare_url":"https://api.github.com/repos/openannotation/annotator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openannotation/annotator/merges","archive_url":"https://api.github.com/repos/openannotation/annotator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openannotation/annotator/downloads","issues_url":"https://api.github.com/repos/openannotation/annotator/issues{/number}","pulls_url":"https://api.github.com/repos/openannotation/annotator/pulls{/number}","milestones_url":"https://api.github.com/repos/openannotation/annotator/milestones{/number}","notifications_url":"https://api.github.com/repos/openannotation/annotator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openannotation/annotator/labels{/name}","releases_url":"https://api.github.com/repos/openannotation/annotator/releases{/id}","created_at":"2011-01-04T10:40:39Z","updated_at":"2015-11-10T14:06:32Z","pushed_at":"2015-11-10T21:13:59Z","git_url":"git://github.com/openannotation/annotator.git","ssh_url":"git@github.com:openannotation/annotator.git","clone_url":"https://github.com/openannotation/annotator.git","svn_url":"https://github.com/openannotation/annotator","homepage":"http://annotatorjs.org","size":8626,"stargazers_count":1381,"watchers_count":1381,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":313,"mirror_url":null,"open_issues_count":23,"forks":313,"open_issues":23,"watchers":1381,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openannotation/annotator/pulls/576"},"html":{"href":"https://github.com/openannotation/annotator/pull/576"},"issue":{"href":"https://api.github.com/repos/openannotation/annotator/issues/576"},"comments":{"href":"https://api.github.com/repos/openannotation/annotator/issues/576/comments"},"review_comments":{"href":"https://api.github.com/repos/openannotation/annotator/pulls/576/comments"},"review_comment":{"href":"https://api.github.com/repos/openannotation/annotator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openannotation/annotator/pulls/576/commits"},"statuses":{"href":"https://api.github.com/repos/openannotation/annotator/statuses/1e10319ec774f58777fde28ef4d5a076b1c4e15b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":3,"deletions":0,"changed_files":1}}