{"action":"created","comment":{"url":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/comments/138542574","pull_request_review_id":62349608,"id":138542574,"diff_hunk":"@@ -0,0 +1,154 @@\n+<?php\n+/**\n+ * (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>\n+ *\n+ * This file is part of the Kitodo and TYPO3 projects.\n+ *\n+ * @license GNU General Public License version 3 or later.\n+ * For the full copyright and license information, please read the\n+ * LICENSE.txt file that was distributed with this source code.\n+ */\n+\n+/**\n+ * Tool 'Image Download' for the plugin 'DLF: Toolbox' of the 'dlf' extension.\n+ *\n+ * @author\tAlexander Bigga <alexander.bigga@slub-dresden.de>\n+ * @package\tTYPO3\n+ * @subpackage\ttx_dlf\n+ * @access\tpublic\n+ */\n+class tx_dlf_toolsImagedownload extends tx_dlf_plugin {\n+\n+\tpublic $scriptRelPath = 'plugins/toolbox/tools/pdf/class.tx_dlf_toolsImagedownload.php';","path":"dlf/plugins/toolbox/tools/imagedownload/class.tx_dlf_toolsImagedownload.php","position":22,"original_position":22,"commit_id":"14f808b8e122897d071cb130ccf193832248f16a","original_commit_id":"14f808b8e122897d071cb130ccf193832248f16a","user":{"login":"sebastian-meyer","id":1798167,"avatar_url":"https://avatars1.githubusercontent.com/u/1798167?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastian-meyer","html_url":"https://github.com/sebastian-meyer","followers_url":"https://api.github.com/users/sebastian-meyer/followers","following_url":"https://api.github.com/users/sebastian-meyer/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-meyer/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-meyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-meyer/subscriptions","organizations_url":"https://api.github.com/users/sebastian-meyer/orgs","repos_url":"https://api.github.com/users/sebastian-meyer/repos","events_url":"https://api.github.com/users/sebastian-meyer/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-meyer/received_events","type":"User","site_admin":false},"body":"There is a typo in the path. It should be \"plugins/toolbox/tools/**imagedownload**/\" instead of \"plugins/toolbox/tools/**pdf**/\".","created_at":"2017-09-13T07:27:48Z","updated_at":"2017-09-13T07:37:08Z","html_url":"https://github.com/kitodo/kitodo-presentation/pull/212#discussion_r138542574","pull_request_url":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/212","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/comments/138542574"},"html":{"href":"https://github.com/kitodo/kitodo-presentation/pull/212#discussion_r138542574"},"pull_request":{"href":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/212"}}},"pull_request":{"url":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/212","id":140375773,"html_url":"https://github.com/kitodo/kitodo-presentation/pull/212","diff_url":"https://github.com/kitodo/kitodo-presentation/pull/212.diff","patch_url":"https://github.com/kitodo/kitodo-presentation/pull/212.patch","issue_url":"https://api.github.com/repos/kitodo/kitodo-presentation/issues/212","number":212,"state":"open","locked":false,"title":"add image download tool","user":{"login":"albig","id":3354500,"avatar_url":"https://avatars3.githubusercontent.com/u/3354500?v=4","gravatar_id":"","url":"https://api.github.com/users/albig","html_url":"https://github.com/albig","followers_url":"https://api.github.com/users/albig/followers","following_url":"https://api.github.com/users/albig/following{/other_user}","gists_url":"https://api.github.com/users/albig/gists{/gist_id}","starred_url":"https://api.github.com/users/albig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albig/subscriptions","organizations_url":"https://api.github.com/users/albig/orgs","repos_url":"https://api.github.com/users/albig/repos","events_url":"https://api.github.com/users/albig/events{/privacy}","received_events_url":"https://api.github.com/users/albig/received_events","type":"User","site_admin":false},"body":"This patch adds a new download tool for the toolbox plugin.\r\n\r\nAs sub-tools have no flexform configuration, the configuration of the\r\nallowed fileGrps for download is put to toolbox flexform. As done in the\r\npageview plugin, the best found fileGrp will be used.\r\n\r\nTwo links will be generated in double mode with the translated labels\r\n\"Download left page (JPG)\" and \"Download right page (JPG)\". In single\r\nview mode the label is \"Download single page (JPG)\". The mime-type is\r\ndetected and appended to the label in case of JPG and TIFF.","created_at":"2017-09-11T16:16:04Z","updated_at":"2017-09-13T07:37:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ac63bb3bff2e1bb4f04075296cf55040468f367","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/212/commits","review_comments_url":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/212/comments","review_comment_url":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kitodo/kitodo-presentation/issues/212/comments","statuses_url":"https://api.github.com/repos/kitodo/kitodo-presentation/statuses/14f808b8e122897d071cb130ccf193832248f16a","head":{"label":"albig:add-download-jpg-tool","ref":"add-download-jpg-tool","sha":"14f808b8e122897d071cb130ccf193832248f16a","user":{"login":"albig","id":3354500,"avatar_url":"https://avatars3.githubusercontent.com/u/3354500?v=4","gravatar_id":"","url":"https://api.github.com/users/albig","html_url":"https://github.com/albig","followers_url":"https://api.github.com/users/albig/followers","following_url":"https://api.github.com/users/albig/following{/other_user}","gists_url":"https://api.github.com/users/albig/gists{/gist_id}","starred_url":"https://api.github.com/users/albig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albig/subscriptions","organizations_url":"https://api.github.com/users/albig/orgs","repos_url":"https://api.github.com/users/albig/repos","events_url":"https://api.github.com/users/albig/events{/privacy}","received_events_url":"https://api.github.com/users/albig/received_events","type":"User","site_admin":false},"repo":{"id":17173313,"name":"kitodo-presentation","full_name":"albig/kitodo-presentation","owner":{"login":"albig","id":3354500,"avatar_url":"https://avatars3.githubusercontent.com/u/3354500?v=4","gravatar_id":"","url":"https://api.github.com/users/albig","html_url":"https://github.com/albig","followers_url":"https://api.github.com/users/albig/followers","following_url":"https://api.github.com/users/albig/following{/other_user}","gists_url":"https://api.github.com/users/albig/gists{/gist_id}","starred_url":"https://api.github.com/users/albig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albig/subscriptions","organizations_url":"https://api.github.com/users/albig/orgs","repos_url":"https://api.github.com/users/albig/repos","events_url":"https://api.github.com/users/albig/events{/privacy}","received_events_url":"https://api.github.com/users/albig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/albig/kitodo-presentation","description":"Goobi.Presentation Community Edition","fork":true,"url":"https://api.github.com/repos/albig/kitodo-presentation","forks_url":"https://api.github.com/repos/albig/kitodo-presentation/forks","keys_url":"https://api.github.com/repos/albig/kitodo-presentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/albig/kitodo-presentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/albig/kitodo-presentation/teams","hooks_url":"https://api.github.com/repos/albig/kitodo-presentation/hooks","issue_events_url":"https://api.github.com/repos/albig/kitodo-presentation/issues/events{/number}","events_url":"https://api.github.com/repos/albig/kitodo-presentation/events","assignees_url":"https://api.github.com/repos/albig/kitodo-presentation/assignees{/user}","branches_url":"https://api.github.com/repos/albig/kitodo-presentation/branches{/branch}","tags_url":"https://api.github.com/repos/albig/kitodo-presentation/tags","blobs_url":"https://api.github.com/repos/albig/kitodo-presentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/albig/kitodo-presentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/albig/kitodo-presentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/albig/kitodo-presentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/albig/kitodo-presentation/statuses/{sha}","languages_url":"https://api.github.com/repos/albig/kitodo-presentation/languages","stargazers_url":"https://api.github.com/repos/albig/kitodo-presentation/stargazers","contributors_url":"https://api.github.com/repos/albig/kitodo-presentation/contributors","subscribers_url":"https://api.github.com/repos/albig/kitodo-presentation/subscribers","subscription_url":"https://api.github.com/repos/albig/kitodo-presentation/subscription","commits_url":"https://api.github.com/repos/albig/kitodo-presentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/albig/kitodo-presentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/albig/kitodo-presentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/albig/kitodo-presentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/albig/kitodo-presentation/contents/{+path}","compare_url":"https://api.github.com/repos/albig/kitodo-presentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/albig/kitodo-presentation/merges","archive_url":"https://api.github.com/repos/albig/kitodo-presentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/albig/kitodo-presentation/downloads","issues_url":"https://api.github.com/repos/albig/kitodo-presentation/issues{/number}","pulls_url":"https://api.github.com/repos/albig/kitodo-presentation/pulls{/number}","milestones_url":"https://api.github.com/repos/albig/kitodo-presentation/milestones{/number}","notifications_url":"https://api.github.com/repos/albig/kitodo-presentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/albig/kitodo-presentation/labels{/name}","releases_url":"https://api.github.com/repos/albig/kitodo-presentation/releases{/id}","deployments_url":"https://api.github.com/repos/albig/kitodo-presentation/deployments","created_at":"2014-02-25T13:11:26Z","updated_at":"2017-01-27T13:11:11Z","pushed_at":"2017-09-11T16:15:10Z","git_url":"git://github.com/albig/kitodo-presentation.git","ssh_url":"git@github.com:albig/kitodo-presentation.git","clone_url":"https://github.com/albig/kitodo-presentation.git","svn_url":"https://github.com/albig/kitodo-presentation","homepage":"","size":18155,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"kitodo:master","ref":"master","sha":"84eac43a8b63d9dff58bbafec661da6b209dbc20","user":{"login":"kitodo","id":18034325,"avatar_url":"https://avatars3.githubusercontent.com/u/18034325?v=4","gravatar_id":"","url":"https://api.github.com/users/kitodo","html_url":"https://github.com/kitodo","followers_url":"https://api.github.com/users/kitodo/followers","following_url":"https://api.github.com/users/kitodo/following{/other_user}","gists_url":"https://api.github.com/users/kitodo/gists{/gist_id}","starred_url":"https://api.github.com/users/kitodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitodo/subscriptions","organizations_url":"https://api.github.com/users/kitodo/orgs","repos_url":"https://api.github.com/users/kitodo/repos","events_url":"https://api.github.com/users/kitodo/events{/privacy}","received_events_url":"https://api.github.com/users/kitodo/received_events","type":"Organization","site_admin":false},"repo":{"id":4506912,"name":"kitodo-presentation","full_name":"kitodo/kitodo-presentation","owner":{"login":"kitodo","id":18034325,"avatar_url":"https://avatars3.githubusercontent.com/u/18034325?v=4","gravatar_id":"","url":"https://api.github.com/users/kitodo","html_url":"https://github.com/kitodo","followers_url":"https://api.github.com/users/kitodo/followers","following_url":"https://api.github.com/users/kitodo/following{/other_user}","gists_url":"https://api.github.com/users/kitodo/gists{/gist_id}","starred_url":"https://api.github.com/users/kitodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitodo/subscriptions","organizations_url":"https://api.github.com/users/kitodo/orgs","repos_url":"https://api.github.com/users/kitodo/repos","events_url":"https://api.github.com/users/kitodo/events{/privacy}","received_events_url":"https://api.github.com/users/kitodo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kitodo/kitodo-presentation","description":"Kitodo.Presentation","fork":false,"url":"https://api.github.com/repos/kitodo/kitodo-presentation","forks_url":"https://api.github.com/repos/kitodo/kitodo-presentation/forks","keys_url":"https://api.github.com/repos/kitodo/kitodo-presentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kitodo/kitodo-presentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kitodo/kitodo-presentation/teams","hooks_url":"https://api.github.com/repos/kitodo/kitodo-presentation/hooks","issue_events_url":"https://api.github.com/repos/kitodo/kitodo-presentation/issues/events{/number}","events_url":"https://api.github.com/repos/kitodo/kitodo-presentation/events","assignees_url":"https://api.github.com/repos/kitodo/kitodo-presentation/assignees{/user}","branches_url":"https://api.github.com/repos/kitodo/kitodo-presentation/branches{/branch}","tags_url":"https://api.github.com/repos/kitodo/kitodo-presentation/tags","blobs_url":"https://api.github.com/repos/kitodo/kitodo-presentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kitodo/kitodo-presentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kitodo/kitodo-presentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/kitodo/kitodo-presentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kitodo/kitodo-presentation/statuses/{sha}","languages_url":"https://api.github.com/repos/kitodo/kitodo-presentation/languages","stargazers_url":"https://api.github.com/repos/kitodo/kitodo-presentation/stargazers","contributors_url":"https://api.github.com/repos/kitodo/kitodo-presentation/contributors","subscribers_url":"https://api.github.com/repos/kitodo/kitodo-presentation/subscribers","subscription_url":"https://api.github.com/repos/kitodo/kitodo-presentation/subscription","commits_url":"https://api.github.com/repos/kitodo/kitodo-presentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/kitodo/kitodo-presentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/kitodo/kitodo-presentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/kitodo/kitodo-presentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/kitodo/kitodo-presentation/contents/{+path}","compare_url":"https://api.github.com/repos/kitodo/kitodo-presentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kitodo/kitodo-presentation/merges","archive_url":"https://api.github.com/repos/kitodo/kitodo-presentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kitodo/kitodo-presentation/downloads","issues_url":"https://api.github.com/repos/kitodo/kitodo-presentation/issues{/number}","pulls_url":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls{/number}","milestones_url":"https://api.github.com/repos/kitodo/kitodo-presentation/milestones{/number}","notifications_url":"https://api.github.com/repos/kitodo/kitodo-presentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kitodo/kitodo-presentation/labels{/name}","releases_url":"https://api.github.com/repos/kitodo/kitodo-presentation/releases{/id}","deployments_url":"https://api.github.com/repos/kitodo/kitodo-presentation/deployments","created_at":"2012-05-31T11:32:16Z","updated_at":"2017-08-04T07:06:42Z","pushed_at":"2017-09-11T16:16:04Z","git_url":"git://github.com/kitodo/kitodo-presentation.git","ssh_url":"git@github.com:kitodo/kitodo-presentation.git","clone_url":"https://github.com/kitodo/kitodo-presentation.git","svn_url":"https://github.com/kitodo/kitodo-presentation","homepage":"http://www.kitodo.org/software/kitodopresentation/","size":14336,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":22,"forks":15,"open_issues":22,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/212"},"html":{"href":"https://github.com/kitodo/kitodo-presentation/pull/212"},"issue":{"href":"https://api.github.com/repos/kitodo/kitodo-presentation/issues/212"},"comments":{"href":"https://api.github.com/repos/kitodo/kitodo-presentation/issues/212/comments"},"review_comments":{"href":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/212/comments"},"review_comment":{"href":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kitodo/kitodo-presentation/pulls/212/commits"},"statuses":{"href":"https://api.github.com/repos/kitodo/kitodo-presentation/statuses/14f808b8e122897d071cb130ccf193832248f16a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sebastian-meyer"}}