{"action":"closed","number":231,"pull_request":{"url":"https://api.github.com/repos/cozy/cozy-photos/pulls/231","id":89185888,"html_url":"https://github.com/cozy/cozy-photos/pull/231","diff_url":"https://github.com/cozy/cozy-photos/pull/231.diff","patch_url":"https://github.com/cozy/cozy-photos/pull/231.patch","issue_url":"https://api.github.com/repos/cozy/cozy-photos/issues/231","number":231,"state":"closed","locked":false,"title":"Extract date from exif if available","user":{"login":"MonsieurLanza","id":4181623,"avatar_url":"https://avatars.githubusercontent.com/u/4181623?v=3","gravatar_id":"","url":"https://api.github.com/users/MonsieurLanza","html_url":"https://github.com/MonsieurLanza","followers_url":"https://api.github.com/users/MonsieurLanza/followers","following_url":"https://api.github.com/users/MonsieurLanza/following{/other_user}","gists_url":"https://api.github.com/users/MonsieurLanza/gists{/gist_id}","starred_url":"https://api.github.com/users/MonsieurLanza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MonsieurLanza/subscriptions","organizations_url":"https://api.github.com/users/MonsieurLanza/orgs","repos_url":"https://api.github.com/users/MonsieurLanza/repos","events_url":"https://api.github.com/users/MonsieurLanza/events{/privacy}","received_events_url":"https://api.github.com/users/MonsieurLanza/received_events","type":"User","site_admin":false},"body":"I'm continuing my simple debugging tweaks...\r\nAs of today, photos' date is the uploaded file creation date, which is of little use. \r\nThis PR extract date from exifs, and fallback as follow if values are not set :\r\n- Original creation date,\r\n- Digitized creation date,\r\n- Modification date\r\n- Uploaded file creation date.\r\n\r\nIs there a way to fire a script right after an app update ? This would be useful if we want to sort already uploaded photos, as there is quite some Cozy instances with no dates on photos in the wild.","created_at":"2016-10-13T11:44:39Z","updated_at":"2016-10-14T13:14:17Z","closed_at":"2016-10-14T13:14:17Z","merged_at":"2016-10-14T13:14:17Z","merge_commit_sha":"c32d234ca5f33c41f63d3c87b5fd1d89a4e4a2e2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cozy/cozy-photos/pulls/231/commits","review_comments_url":"https://api.github.com/repos/cozy/cozy-photos/pulls/231/comments","review_comment_url":"https://api.github.com/repos/cozy/cozy-photos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cozy/cozy-photos/issues/231/comments","statuses_url":"https://api.github.com/repos/cozy/cozy-photos/statuses/0f9d01a184bdeebb87dcbbb202fe47ea2d7c93f1","head":{"label":"MonsieurLanza:master","ref":"master","sha":"0f9d01a184bdeebb87dcbbb202fe47ea2d7c93f1","user":{"login":"MonsieurLanza","id":4181623,"avatar_url":"https://avatars.githubusercontent.com/u/4181623?v=3","gravatar_id":"","url":"https://api.github.com/users/MonsieurLanza","html_url":"https://github.com/MonsieurLanza","followers_url":"https://api.github.com/users/MonsieurLanza/followers","following_url":"https://api.github.com/users/MonsieurLanza/following{/other_user}","gists_url":"https://api.github.com/users/MonsieurLanza/gists{/gist_id}","starred_url":"https://api.github.com/users/MonsieurLanza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MonsieurLanza/subscriptions","organizations_url":"https://api.github.com/users/MonsieurLanza/orgs","repos_url":"https://api.github.com/users/MonsieurLanza/repos","events_url":"https://api.github.com/users/MonsieurLanza/events{/privacy}","received_events_url":"https://api.github.com/users/MonsieurLanza/received_events","type":"User","site_admin":false},"repo":{"id":70595354,"name":"cozy-photos","full_name":"MonsieurLanza/cozy-photos","owner":{"login":"MonsieurLanza","id":4181623,"avatar_url":"https://avatars.githubusercontent.com/u/4181623?v=3","gravatar_id":"","url":"https://api.github.com/users/MonsieurLanza","html_url":"https://github.com/MonsieurLanza","followers_url":"https://api.github.com/users/MonsieurLanza/followers","following_url":"https://api.github.com/users/MonsieurLanza/following{/other_user}","gists_url":"https://api.github.com/users/MonsieurLanza/gists{/gist_id}","starred_url":"https://api.github.com/users/MonsieurLanza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MonsieurLanza/subscriptions","organizations_url":"https://api.github.com/users/MonsieurLanza/orgs","repos_url":"https://api.github.com/users/MonsieurLanza/repos","events_url":"https://api.github.com/users/MonsieurLanza/events{/privacy}","received_events_url":"https://api.github.com/users/MonsieurLanza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MonsieurLanza/cozy-photos","description":"Personal Photo Gallery Manager","fork":true,"url":"https://api.github.com/repos/MonsieurLanza/cozy-photos","forks_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/forks","keys_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/teams","hooks_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/hooks","issue_events_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/issues/events{/number}","events_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/events","assignees_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/assignees{/user}","branches_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/branches{/branch}","tags_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/tags","blobs_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/git/refs{/sha}","trees_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/statuses/{sha}","languages_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/languages","stargazers_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/stargazers","contributors_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/contributors","subscribers_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/subscribers","subscription_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/subscription","commits_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/commits{/sha}","git_commits_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/git/commits{/sha}","comments_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/comments{/number}","issue_comment_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/issues/comments{/number}","contents_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/contents/{+path}","compare_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/merges","archive_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/downloads","issues_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/issues{/number}","pulls_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/pulls{/number}","milestones_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/milestones{/number}","notifications_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/labels{/name}","releases_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/releases{/id}","deployments_url":"https://api.github.com/repos/MonsieurLanza/cozy-photos/deployments","created_at":"2016-10-11T13:19:33Z","updated_at":"2016-10-11T13:19:35Z","pushed_at":"2016-10-13T11:34:13Z","git_url":"git://github.com/MonsieurLanza/cozy-photos.git","ssh_url":"git@github.com:MonsieurLanza/cozy-photos.git","clone_url":"https://github.com/MonsieurLanza/cozy-photos.git","svn_url":"https://github.com/MonsieurLanza/cozy-photos","homepage":"http://cozy.io","size":6548,"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":"cozy:master","ref":"master","sha":"1b99cfce5720250c85c21e6d5131e3d5f010424e","user":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"repo":{"id":9580887,"name":"cozy-photos","full_name":"cozy/cozy-photos","owner":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cozy/cozy-photos","description":"Personal Photo Gallery Manager","fork":false,"url":"https://api.github.com/repos/cozy/cozy-photos","forks_url":"https://api.github.com/repos/cozy/cozy-photos/forks","keys_url":"https://api.github.com/repos/cozy/cozy-photos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy/cozy-photos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy/cozy-photos/teams","hooks_url":"https://api.github.com/repos/cozy/cozy-photos/hooks","issue_events_url":"https://api.github.com/repos/cozy/cozy-photos/issues/events{/number}","events_url":"https://api.github.com/repos/cozy/cozy-photos/events","assignees_url":"https://api.github.com/repos/cozy/cozy-photos/assignees{/user}","branches_url":"https://api.github.com/repos/cozy/cozy-photos/branches{/branch}","tags_url":"https://api.github.com/repos/cozy/cozy-photos/tags","blobs_url":"https://api.github.com/repos/cozy/cozy-photos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy/cozy-photos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy/cozy-photos/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy/cozy-photos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy/cozy-photos/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy/cozy-photos/languages","stargazers_url":"https://api.github.com/repos/cozy/cozy-photos/stargazers","contributors_url":"https://api.github.com/repos/cozy/cozy-photos/contributors","subscribers_url":"https://api.github.com/repos/cozy/cozy-photos/subscribers","subscription_url":"https://api.github.com/repos/cozy/cozy-photos/subscription","commits_url":"https://api.github.com/repos/cozy/cozy-photos/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy/cozy-photos/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy/cozy-photos/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy/cozy-photos/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy/cozy-photos/contents/{+path}","compare_url":"https://api.github.com/repos/cozy/cozy-photos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy/cozy-photos/merges","archive_url":"https://api.github.com/repos/cozy/cozy-photos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy/cozy-photos/downloads","issues_url":"https://api.github.com/repos/cozy/cozy-photos/issues{/number}","pulls_url":"https://api.github.com/repos/cozy/cozy-photos/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy/cozy-photos/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy/cozy-photos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy/cozy-photos/labels{/name}","releases_url":"https://api.github.com/repos/cozy/cozy-photos/releases{/id}","deployments_url":"https://api.github.com/repos/cozy/cozy-photos/deployments","created_at":"2013-04-21T14:53:55Z","updated_at":"2016-10-12T11:09:18Z","pushed_at":"2016-10-14T13:14:17Z","git_url":"git://github.com/cozy/cozy-photos.git","ssh_url":"git@github.com:cozy/cozy-photos.git","clone_url":"https://github.com/cozy/cozy-photos.git","svn_url":"https://github.com/cozy/cozy-photos","homepage":"http://cozy.io","size":6549,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":56,"forks":27,"open_issues":56,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cozy/cozy-photos/pulls/231"},"html":{"href":"https://github.com/cozy/cozy-photos/pull/231"},"issue":{"href":"https://api.github.com/repos/cozy/cozy-photos/issues/231"},"comments":{"href":"https://api.github.com/repos/cozy/cozy-photos/issues/231/comments"},"review_comments":{"href":"https://api.github.com/repos/cozy/cozy-photos/pulls/231/comments"},"review_comment":{"href":"https://api.github.com/repos/cozy/cozy-photos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cozy/cozy-photos/pulls/231/commits"},"statuses":{"href":"https://api.github.com/repos/cozy/cozy-photos/statuses/0f9d01a184bdeebb87dcbbb202fe47ea2d7c93f1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nono","id":2767,"avatar_url":"https://avatars.githubusercontent.com/u/2767?v=3","gravatar_id":"","url":"https://api.github.com/users/nono","html_url":"https://github.com/nono","followers_url":"https://api.github.com/users/nono/followers","following_url":"https://api.github.com/users/nono/following{/other_user}","gists_url":"https://api.github.com/users/nono/gists{/gist_id}","starred_url":"https://api.github.com/users/nono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nono/subscriptions","organizations_url":"https://api.github.com/users/nono/orgs","repos_url":"https://api.github.com/users/nono/repos","events_url":"https://api.github.com/users/nono/events{/privacy}","received_events_url":"https://api.github.com/users/nono/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":10,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"nono"}}