{"action":"closed","number":354,"pull_request":{"url":"https://api.github.com/repos/owncloud/gallery/pulls/354","id":45354460,"html_url":"https://github.com/owncloud/gallery/pull/354","diff_url":"https://github.com/owncloud/gallery/pull/354.diff","patch_url":"https://github.com/owncloud/gallery/pull/354.patch","issue_url":"https://api.github.com/repos/owncloud/gallery/issues/354","number":354,"state":"closed","locked":false,"title":"Retrieve the media type icon when loading an image fails","user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"body":"Problems are usually detected on the PHP side, when trying to generate a preview, but it's not the case for SVG and there could be other problems along the road, so we fetch the media type icon in case of failure\r\nFixes #346","created_at":"2015-09-17T23:29:59Z","updated_at":"2015-09-27T21:31:56Z","closed_at":"2015-09-27T21:31:56Z","merged_at":"2015-09-27T21:31:56Z","merge_commit_sha":"f22f7e249a1840d4bb5d62ca53e4626772ac3ab8","assignee":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/gallery/milestones/12","html_url":"https://github.com/owncloud/gallery/milestones/8.2-current","labels_url":"https://api.github.com/repos/owncloud/gallery/milestones/12/labels","id":1203146,"number":12,"title":"8.2-current","description":"","creator":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":76,"state":"open","created_at":"2015-07-10T23:34:09Z","updated_at":"2015-09-27T21:31:56Z","due_on":"2015-10-20T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/owncloud/gallery/pulls/354/commits","review_comments_url":"https://api.github.com/repos/owncloud/gallery/pulls/354/comments","review_comment_url":"https://api.github.com/repos/owncloud/gallery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owncloud/gallery/issues/354/comments","statuses_url":"https://api.github.com/repos/owncloud/gallery/statuses/5fe47822bdf22c5e5622561b3588b0ba8893cd3f","head":{"label":"owncloud:Dont-die-when-trying-to-load-a-bad-image","ref":"Dont-die-when-trying-to-load-a-bad-image","sha":"5fe47822bdf22c5e5622561b3588b0ba8893cd3f","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":27598583,"name":"gallery","full_name":"owncloud/gallery","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/gallery","description":"Gallery app for ownCloud, which includes previews for all supported media files","fork":false,"url":"https://api.github.com/repos/owncloud/gallery","forks_url":"https://api.github.com/repos/owncloud/gallery/forks","keys_url":"https://api.github.com/repos/owncloud/gallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/gallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/gallery/teams","hooks_url":"https://api.github.com/repos/owncloud/gallery/hooks","issue_events_url":"https://api.github.com/repos/owncloud/gallery/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/gallery/events","assignees_url":"https://api.github.com/repos/owncloud/gallery/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/gallery/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/gallery/tags","blobs_url":"https://api.github.com/repos/owncloud/gallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/gallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/gallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/gallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/gallery/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/gallery/languages","stargazers_url":"https://api.github.com/repos/owncloud/gallery/stargazers","contributors_url":"https://api.github.com/repos/owncloud/gallery/contributors","subscribers_url":"https://api.github.com/repos/owncloud/gallery/subscribers","subscription_url":"https://api.github.com/repos/owncloud/gallery/subscription","commits_url":"https://api.github.com/repos/owncloud/gallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/gallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/gallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/gallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/gallery/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/gallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/gallery/merges","archive_url":"https://api.github.com/repos/owncloud/gallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/gallery/downloads","issues_url":"https://api.github.com/repos/owncloud/gallery/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/gallery/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/gallery/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/gallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/gallery/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/gallery/releases{/id}","created_at":"2014-12-05T15:57:20Z","updated_at":"2015-09-06T21:39:12Z","pushed_at":"2015-09-27T21:31:56Z","git_url":"git://github.com/owncloud/gallery.git","ssh_url":"git@github.com:owncloud/gallery.git","clone_url":"https://github.com/owncloud/gallery.git","svn_url":"https://github.com/owncloud/gallery","homepage":"","size":11036,"stargazers_count":33,"watchers_count":33,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":103,"forks":13,"open_issues":103,"watchers":33,"default_branch":"master"}},"base":{"label":"owncloud:master","ref":"master","sha":"e531e99f44c13c51e0c2fac7bedf7b86109ba620","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":27598583,"name":"gallery","full_name":"owncloud/gallery","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/gallery","description":"Gallery app for ownCloud, which includes previews for all supported media files","fork":false,"url":"https://api.github.com/repos/owncloud/gallery","forks_url":"https://api.github.com/repos/owncloud/gallery/forks","keys_url":"https://api.github.com/repos/owncloud/gallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/gallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/gallery/teams","hooks_url":"https://api.github.com/repos/owncloud/gallery/hooks","issue_events_url":"https://api.github.com/repos/owncloud/gallery/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/gallery/events","assignees_url":"https://api.github.com/repos/owncloud/gallery/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/gallery/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/gallery/tags","blobs_url":"https://api.github.com/repos/owncloud/gallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/gallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/gallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/gallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/gallery/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/gallery/languages","stargazers_url":"https://api.github.com/repos/owncloud/gallery/stargazers","contributors_url":"https://api.github.com/repos/owncloud/gallery/contributors","subscribers_url":"https://api.github.com/repos/owncloud/gallery/subscribers","subscription_url":"https://api.github.com/repos/owncloud/gallery/subscription","commits_url":"https://api.github.com/repos/owncloud/gallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/gallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/gallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/gallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/gallery/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/gallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/gallery/merges","archive_url":"https://api.github.com/repos/owncloud/gallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/gallery/downloads","issues_url":"https://api.github.com/repos/owncloud/gallery/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/gallery/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/gallery/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/gallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/gallery/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/gallery/releases{/id}","created_at":"2014-12-05T15:57:20Z","updated_at":"2015-09-06T21:39:12Z","pushed_at":"2015-09-27T21:31:56Z","git_url":"git://github.com/owncloud/gallery.git","ssh_url":"git@github.com:owncloud/gallery.git","clone_url":"https://github.com/owncloud/gallery.git","svn_url":"https://github.com/owncloud/gallery","homepage":"","size":11036,"stargazers_count":33,"watchers_count":33,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":103,"forks":13,"open_issues":103,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owncloud/gallery/pulls/354"},"html":{"href":"https://github.com/owncloud/gallery/pull/354"},"issue":{"href":"https://api.github.com/repos/owncloud/gallery/issues/354"},"comments":{"href":"https://api.github.com/repos/owncloud/gallery/issues/354/comments"},"review_comments":{"href":"https://api.github.com/repos/owncloud/gallery/pulls/354/comments"},"review_comment":{"href":"https://api.github.com/repos/owncloud/gallery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owncloud/gallery/pulls/354/commits"},"statuses":{"href":"https://api.github.com/repos/owncloud/gallery/statuses/5fe47822bdf22c5e5622561b3588b0ba8893cd3f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"comments":11,"review_comments":0,"commits":1,"additions":21,"deletions":6,"changed_files":1}}