{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/Thunderbird301/react-addon/pulls/3","id":85516489,"html_url":"https://github.com/Thunderbird301/react-addon/pull/3","diff_url":"https://github.com/Thunderbird301/react-addon/pull/3.diff","patch_url":"https://github.com/Thunderbird301/react-addon/pull/3.patch","issue_url":"https://api.github.com/repos/Thunderbird301/react-addon/issues/3","number":3,"state":"closed","locked":false,"title":"integrate ICAL.js with database","user":{"login":"zyphrus","id":1145631,"avatar_url":"https://avatars.githubusercontent.com/u/1145631?v=3","gravatar_id":"","url":"https://api.github.com/users/zyphrus","html_url":"https://github.com/zyphrus","followers_url":"https://api.github.com/users/zyphrus/followers","following_url":"https://api.github.com/users/zyphrus/following{/other_user}","gists_url":"https://api.github.com/users/zyphrus/gists{/gist_id}","starred_url":"https://api.github.com/users/zyphrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyphrus/subscriptions","organizations_url":"https://api.github.com/users/zyphrus/orgs","repos_url":"https://api.github.com/users/zyphrus/repos","events_url":"https://api.github.com/users/zyphrus/events{/privacy}","received_events_url":"https://api.github.com/users/zyphrus/received_events","type":"User","site_admin":false},"body":"contacts retrieved via `getById` or `getAll` are converted from jCards\r\ninto [`ICAL.Component`](http://mozilla-comm.github.io/ical.js/api/ICAL.Component.html)'s.\r\n\r\nfix request from overriding in `_contactRequest`.\r\n\r\nexample usage:\r\n```javascript\r\nAddressbook.open(indexedDB)\r\n.then((ab) => ab.getById(1))\r\n.then((c) => c.jcard[0].getAllProperties())\r\n.then((p) => p.forEach((v) => console.log(v.name, v.type, v.getValues())))\r\n```\r\n\r\nfor our example Simon it will result in:\r\n\r\n```javascript\r\nversion text Array [ \"4.0\" ]\r\nfn text Array [ \"Simon Perreault\" ]\r\nn text Array [ Array[5] ]\r\nbday date-and-or-time Array [ Object ]\r\nanniversary date-and-or-time Array [ Object ]\r\ngender text Array [ \"M\" ]\r\nlang language-tag Array [ \"fr\" ]\r\nlang language-tag Array [ \"en\" ]\r\norg text Array [ \"Viagenie\" ]\r\nadr text Array [ Array[7] ]\r\ntel uri Array [ \"tel:+1-418-656-9254;ext=102\" ]\r\ntel uri Array [ \"tel:+1-418-262-6501\" ]\r\nemail text Array [ \"simon.perreault@viagenie.ca\" ]\r\ngeo uri Array [ \"geo:46.772673,-71.282945\" ]\r\n```\r\n\r\nleft todo: convert back into jCard when we write to the database through `update` and `new` (might need more logic here)","created_at":"2016-09-16T04:09:30Z","updated_at":"2016-09-20T01:12:17Z","closed_at":"2016-09-20T01:12:17Z","merged_at":"2016-09-20T01:12:17Z","merge_commit_sha":"d1c30417d766f67f557fdf1e798ec909aa9e1b75","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Thunderbird301/react-addon/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Thunderbird301/react-addon/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Thunderbird301/react-addon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Thunderbird301/react-addon/issues/3/comments","statuses_url":"https://api.github.com/repos/Thunderbird301/react-addon/statuses/9ad73ab47782d4056c5a175f517f29f0a07578fa","head":{"label":"Thunderbird301:db-ical","ref":"db-ical","sha":"9ad73ab47782d4056c5a175f517f29f0a07578fa","user":{"login":"Thunderbird301","id":18338667,"avatar_url":"https://avatars.githubusercontent.com/u/18338667?v=3","gravatar_id":"","url":"https://api.github.com/users/Thunderbird301","html_url":"https://github.com/Thunderbird301","followers_url":"https://api.github.com/users/Thunderbird301/followers","following_url":"https://api.github.com/users/Thunderbird301/following{/other_user}","gists_url":"https://api.github.com/users/Thunderbird301/gists{/gist_id}","starred_url":"https://api.github.com/users/Thunderbird301/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thunderbird301/subscriptions","organizations_url":"https://api.github.com/users/Thunderbird301/orgs","repos_url":"https://api.github.com/users/Thunderbird301/repos","events_url":"https://api.github.com/users/Thunderbird301/events{/privacy}","received_events_url":"https://api.github.com/users/Thunderbird301/received_events","type":"Organization","site_admin":false},"repo":{"id":58898913,"name":"react-addon","full_name":"Thunderbird301/react-addon","owner":{"login":"Thunderbird301","id":18338667,"avatar_url":"https://avatars.githubusercontent.com/u/18338667?v=3","gravatar_id":"","url":"https://api.github.com/users/Thunderbird301","html_url":"https://github.com/Thunderbird301","followers_url":"https://api.github.com/users/Thunderbird301/followers","following_url":"https://api.github.com/users/Thunderbird301/following{/other_user}","gists_url":"https://api.github.com/users/Thunderbird301/gists{/gist_id}","starred_url":"https://api.github.com/users/Thunderbird301/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thunderbird301/subscriptions","organizations_url":"https://api.github.com/users/Thunderbird301/orgs","repos_url":"https://api.github.com/users/Thunderbird301/repos","events_url":"https://api.github.com/users/Thunderbird301/events{/privacy}","received_events_url":"https://api.github.com/users/Thunderbird301/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Thunderbird301/react-addon","description":"Thunderbird add-on that uses React","fork":false,"url":"https://api.github.com/repos/Thunderbird301/react-addon","forks_url":"https://api.github.com/repos/Thunderbird301/react-addon/forks","keys_url":"https://api.github.com/repos/Thunderbird301/react-addon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Thunderbird301/react-addon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Thunderbird301/react-addon/teams","hooks_url":"https://api.github.com/repos/Thunderbird301/react-addon/hooks","issue_events_url":"https://api.github.com/repos/Thunderbird301/react-addon/issues/events{/number}","events_url":"https://api.github.com/repos/Thunderbird301/react-addon/events","assignees_url":"https://api.github.com/repos/Thunderbird301/react-addon/assignees{/user}","branches_url":"https://api.github.com/repos/Thunderbird301/react-addon/branches{/branch}","tags_url":"https://api.github.com/repos/Thunderbird301/react-addon/tags","blobs_url":"https://api.github.com/repos/Thunderbird301/react-addon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Thunderbird301/react-addon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Thunderbird301/react-addon/git/refs{/sha}","trees_url":"https://api.github.com/repos/Thunderbird301/react-addon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Thunderbird301/react-addon/statuses/{sha}","languages_url":"https://api.github.com/repos/Thunderbird301/react-addon/languages","stargazers_url":"https://api.github.com/repos/Thunderbird301/react-addon/stargazers","contributors_url":"https://api.github.com/repos/Thunderbird301/react-addon/contributors","subscribers_url":"https://api.github.com/repos/Thunderbird301/react-addon/subscribers","subscription_url":"https://api.github.com/repos/Thunderbird301/react-addon/subscription","commits_url":"https://api.github.com/repos/Thunderbird301/react-addon/commits{/sha}","git_commits_url":"https://api.github.com/repos/Thunderbird301/react-addon/git/commits{/sha}","comments_url":"https://api.github.com/repos/Thunderbird301/react-addon/comments{/number}","issue_comment_url":"https://api.github.com/repos/Thunderbird301/react-addon/issues/comments{/number}","contents_url":"https://api.github.com/repos/Thunderbird301/react-addon/contents/{+path}","compare_url":"https://api.github.com/repos/Thunderbird301/react-addon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Thunderbird301/react-addon/merges","archive_url":"https://api.github.com/repos/Thunderbird301/react-addon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Thunderbird301/react-addon/downloads","issues_url":"https://api.github.com/repos/Thunderbird301/react-addon/issues{/number}","pulls_url":"https://api.github.com/repos/Thunderbird301/react-addon/pulls{/number}","milestones_url":"https://api.github.com/repos/Thunderbird301/react-addon/milestones{/number}","notifications_url":"https://api.github.com/repos/Thunderbird301/react-addon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Thunderbird301/react-addon/labels{/name}","releases_url":"https://api.github.com/repos/Thunderbird301/react-addon/releases{/id}","deployments_url":"https://api.github.com/repos/Thunderbird301/react-addon/deployments","created_at":"2016-05-16T02:52:47Z","updated_at":"2016-09-16T00:31:31Z","pushed_at":"2016-09-20T01:12:18Z","git_url":"git://github.com/Thunderbird301/react-addon.git","ssh_url":"git@github.com:Thunderbird301/react-addon.git","clone_url":"https://github.com/Thunderbird301/react-addon.git","svn_url":"https://github.com/Thunderbird301/react-addon","homepage":null,"size":193,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"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":2,"default_branch":"master"}},"base":{"label":"Thunderbird301:master","ref":"master","sha":"ed1f9469e8be0f3c78a880dd078cfffda5fcb146","user":{"login":"Thunderbird301","id":18338667,"avatar_url":"https://avatars.githubusercontent.com/u/18338667?v=3","gravatar_id":"","url":"https://api.github.com/users/Thunderbird301","html_url":"https://github.com/Thunderbird301","followers_url":"https://api.github.com/users/Thunderbird301/followers","following_url":"https://api.github.com/users/Thunderbird301/following{/other_user}","gists_url":"https://api.github.com/users/Thunderbird301/gists{/gist_id}","starred_url":"https://api.github.com/users/Thunderbird301/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thunderbird301/subscriptions","organizations_url":"https://api.github.com/users/Thunderbird301/orgs","repos_url":"https://api.github.com/users/Thunderbird301/repos","events_url":"https://api.github.com/users/Thunderbird301/events{/privacy}","received_events_url":"https://api.github.com/users/Thunderbird301/received_events","type":"Organization","site_admin":false},"repo":{"id":58898913,"name":"react-addon","full_name":"Thunderbird301/react-addon","owner":{"login":"Thunderbird301","id":18338667,"avatar_url":"https://avatars.githubusercontent.com/u/18338667?v=3","gravatar_id":"","url":"https://api.github.com/users/Thunderbird301","html_url":"https://github.com/Thunderbird301","followers_url":"https://api.github.com/users/Thunderbird301/followers","following_url":"https://api.github.com/users/Thunderbird301/following{/other_user}","gists_url":"https://api.github.com/users/Thunderbird301/gists{/gist_id}","starred_url":"https://api.github.com/users/Thunderbird301/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thunderbird301/subscriptions","organizations_url":"https://api.github.com/users/Thunderbird301/orgs","repos_url":"https://api.github.com/users/Thunderbird301/repos","events_url":"https://api.github.com/users/Thunderbird301/events{/privacy}","received_events_url":"https://api.github.com/users/Thunderbird301/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Thunderbird301/react-addon","description":"Thunderbird add-on that uses React","fork":false,"url":"https://api.github.com/repos/Thunderbird301/react-addon","forks_url":"https://api.github.com/repos/Thunderbird301/react-addon/forks","keys_url":"https://api.github.com/repos/Thunderbird301/react-addon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Thunderbird301/react-addon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Thunderbird301/react-addon/teams","hooks_url":"https://api.github.com/repos/Thunderbird301/react-addon/hooks","issue_events_url":"https://api.github.com/repos/Thunderbird301/react-addon/issues/events{/number}","events_url":"https://api.github.com/repos/Thunderbird301/react-addon/events","assignees_url":"https://api.github.com/repos/Thunderbird301/react-addon/assignees{/user}","branches_url":"https://api.github.com/repos/Thunderbird301/react-addon/branches{/branch}","tags_url":"https://api.github.com/repos/Thunderbird301/react-addon/tags","blobs_url":"https://api.github.com/repos/Thunderbird301/react-addon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Thunderbird301/react-addon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Thunderbird301/react-addon/git/refs{/sha}","trees_url":"https://api.github.com/repos/Thunderbird301/react-addon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Thunderbird301/react-addon/statuses/{sha}","languages_url":"https://api.github.com/repos/Thunderbird301/react-addon/languages","stargazers_url":"https://api.github.com/repos/Thunderbird301/react-addon/stargazers","contributors_url":"https://api.github.com/repos/Thunderbird301/react-addon/contributors","subscribers_url":"https://api.github.com/repos/Thunderbird301/react-addon/subscribers","subscription_url":"https://api.github.com/repos/Thunderbird301/react-addon/subscription","commits_url":"https://api.github.com/repos/Thunderbird301/react-addon/commits{/sha}","git_commits_url":"https://api.github.com/repos/Thunderbird301/react-addon/git/commits{/sha}","comments_url":"https://api.github.com/repos/Thunderbird301/react-addon/comments{/number}","issue_comment_url":"https://api.github.com/repos/Thunderbird301/react-addon/issues/comments{/number}","contents_url":"https://api.github.com/repos/Thunderbird301/react-addon/contents/{+path}","compare_url":"https://api.github.com/repos/Thunderbird301/react-addon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Thunderbird301/react-addon/merges","archive_url":"https://api.github.com/repos/Thunderbird301/react-addon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Thunderbird301/react-addon/downloads","issues_url":"https://api.github.com/repos/Thunderbird301/react-addon/issues{/number}","pulls_url":"https://api.github.com/repos/Thunderbird301/react-addon/pulls{/number}","milestones_url":"https://api.github.com/repos/Thunderbird301/react-addon/milestones{/number}","notifications_url":"https://api.github.com/repos/Thunderbird301/react-addon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Thunderbird301/react-addon/labels{/name}","releases_url":"https://api.github.com/repos/Thunderbird301/react-addon/releases{/id}","deployments_url":"https://api.github.com/repos/Thunderbird301/react-addon/deployments","created_at":"2016-05-16T02:52:47Z","updated_at":"2016-09-16T00:31:31Z","pushed_at":"2016-09-20T01:12:18Z","git_url":"git://github.com/Thunderbird301/react-addon.git","ssh_url":"git@github.com:Thunderbird301/react-addon.git","clone_url":"https://github.com/Thunderbird301/react-addon.git","svn_url":"https://github.com/Thunderbird301/react-addon","homepage":null,"size":193,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"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":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Thunderbird301/react-addon/pulls/3"},"html":{"href":"https://github.com/Thunderbird301/react-addon/pull/3"},"issue":{"href":"https://api.github.com/repos/Thunderbird301/react-addon/issues/3"},"comments":{"href":"https://api.github.com/repos/Thunderbird301/react-addon/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Thunderbird301/react-addon/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Thunderbird301/react-addon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Thunderbird301/react-addon/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Thunderbird301/react-addon/statuses/9ad73ab47782d4056c5a175f517f29f0a07578fa"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hc09141","id":12262491,"avatar_url":"https://avatars.githubusercontent.com/u/12262491?v=3","gravatar_id":"","url":"https://api.github.com/users/hc09141","html_url":"https://github.com/hc09141","followers_url":"https://api.github.com/users/hc09141/followers","following_url":"https://api.github.com/users/hc09141/following{/other_user}","gists_url":"https://api.github.com/users/hc09141/gists{/gist_id}","starred_url":"https://api.github.com/users/hc09141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hc09141/subscriptions","organizations_url":"https://api.github.com/users/hc09141/orgs","repos_url":"https://api.github.com/users/hc09141/repos","events_url":"https://api.github.com/users/hc09141/events{/privacy}","received_events_url":"https://api.github.com/users/hc09141/received_events","type":"User","site_admin":false},"comments":0,"review_comments":4,"commits":3,"additions":9398,"deletions":65,"changed_files":3}}
{"actor":{"display_login":"hc09141"}}