{"action":"created","comment":{"url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/comments/36463407","id":36463407,"diff_hunk":"@@ -0,0 +1,336 @@\n+<?php\n+\n+// must be run within Dokuwiki\n+if (!defined('DOKU_INC')) die();\n+\n+if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC.'lib/plugins/');\n+\n+class helper_plugin_dw2pdf extends DokuWiki_Plugin {\n+\n+\tprivate $settings_helper = false;\t// false: not initialized, null: disabled/not available, object: the helper.\n+\tprivate $_folder_confs = array();\n+\tprivate $exportConfig = null;\n+\t\n+\tprivate function get_settingstree(){\n+\t\tif ($this->settings_helper === false){\n+\t\t\tif (parent::getConf('enable_settingstree') || parent::getConf('enable_export_config_popup')){ \t// the config settings which require settingstree \n+\t\t\t\t$this->settings_helper = plugin_load('helper','settingstree');\n+\t\t\t}else{\t// else settingstree is not required.\n+\t\t\t\t$this->settings_helper = null;\n+\t\t\t\treturn null;\n+\t\t\t}\n+\t\t}else{\n+\t\t\treturn $this->settings_helper;\n+\t\t}\n+\t\t$confdir = DOKU_INC.'lib/plugins/dw2pdf/conf/';\n+\t\t// check if the already stored version is the same as the current one we offer, and reregister options if the settingstree version is older.\n+\t\tif ($this->settings_helper->checkSettingsVersion('dw2pdf',\t\t\t\n+\t\t\t$ver = max(\t\t\t\n+\t\t\t\t// we're comparing the registered settings versus the configuration files' last change.\n+\t\t\t\t// metadata may have an extra '_ignore_for_settingstree' =>true, in which case it won't be configurable by settingstree\n+\t\t\t\tfilemtime($confdir.'metadata.php'),\n+\t\t\t\tfilemtime($confdir.'default.php'),\n+\t\t\t\t// extends.php have exactly the same syntax as default.php + metadata.php (in the same file), but these settings are only configurable by settingstree plugin and not by config.\n+\t\t\t\t@filemtime($confdir.'extends.php')\n+\t\t\t))){\n+\t\t\t$meta = array();\n+\t\t\t$conf = array();\n+\t\t\tinclude($confdir.'metadata.php');\n+\t\t\tinclude($confdir.'default.php');\n+\t\t\tif (file_exists($confdir.'extends.php')) {include($confdir.'extends.php');}\t// this file may not exist\n+\t\t\t$this->settings_helper->registerSettings('dw2pdf',$ver,$meta,$conf);\t// (re)register settings for this plugin..\n+\t\t}\n+\t\treturn $this->settings_helper;\n+\t}\n+\t\n+\t\n+\tfunction __construct(){\n+\t\t\n+    }\n+\t/**\n+\t * Overrides the configuration settings when 'co' (abbr. for config override) is present in the input and it is an actual export\n+\t */\n+\tfunction _checkExportOverride(){\n+\t\tglobal $INPUT;\n+\t\tif (is_array($co = $INPUT->arr('co',null)) && strncasecmp($INPUT->str('do',''),'export_pdf',10) === 0){\n+\t\t\t$this->_overrideExportConfig($co);\n+\t\t}\n+\t}\n+\t\n+    function getMethods() {\n+\t\t$result = array();\n+\t\t$result[] = array(\n+\t\t\t'name'   => 'getSettingstreeAdminHtml',\n+\t\t\t'desc'   => 'Returns html for admin page.',\n+\t\t\t'parameters' => array(\n+\t\t\t),\n+\t\t\t'return' => 'string html or null on error.'\n+\t\t);\n+\t\t$result[] = array(\n+\t\t\t'name'   => 'checkSettingstree',\n+\t\t\t'desc'   => 'Checks if settingstree is available.',\n+\t\t\t'parameters' => array(\n+\t\t\t),\n+\t\t\t'return' => 'boolean availability'\n+\t\t);\n+\t\t$result[] = array(\n+\t\t\t'name'   => 'getConf',\n+\t\t\t'desc'   => 'Returns a configuration value for a key including overrides/extends from settingstree for a given folder',\n+\t\t\t'parameters' => array(\n+\t\t\t\t'key'\t=> \"string the setting's name (e.g. 'pagesize')\",\n+\t\t\t\t'notset' => \"mixed what to return if the setting is not available\",\n+\t\t\t\t'folder' => \"string path of to look up (e.g. ':mynamespace:mypage'), if null use current page.\",\n+\t\t\t),\n+\t\t\t'return' => 'mixed value or null on error or if value not defined.',\n+\t\t);\n+\t\t$result[] = array(\n+\t\t\t'name'   => 'getAllConf',\n+\t\t\t'desc'   => 'Returns all configuration value including overrides/extends from settingstree for a given folder.',\n+\t\t\t'parameters' => array(\n+\t\t\t\t'folder' => \"string path of to look up (e.g. ':mynamespace:mypage'), if null use current page.\",\n+\t\t\t),\n+\t\t\t'return' => \"array the config settings key=>value array, e.g. array('pagesize'=>'A4', 'orientation'=>'protrait' ...)\",\n+\t\t);\n+\t\t$result[] = array(\n+\t\t\t'name'   => 'loadExportConfig',\n+\t\t\t'desc'   => \"Returns an array of config settings that are going to be used. This includes checking $INPUT for overrides and using current page's hierarchical settings if enabled.\",\n+\t\t\t'return' => \"array the config settings key=>value array, e.g. array('pagesize'=>'A4', 'orientation'=>'protrait' ...)\",\n+\t\t);\n+\t\t$result[] = array(\n+\t\t\t'name'   => 'addExportButton',\n+\t\t\t'desc'   => \"Adds the export by (hierarchical) settings.\",\n+\t\t\t'return' => \"void\",\n+\t\t);\n+\t\t$result[] = array(\n+\t\t\t'name'   => 'replyAjax',\n+\t\t\t'desc'   => \"Handles calls.\",\n+\t\t\t'return' => \"void (it handled the call so nothing more to do)\",\n+\t\t);\n+\t\treturn $result;\n+\t}\n+\t\n+\tfunction checkSettingstree(){\n+\t\treturn !!$this->get_settingstree();\n+\t}\n+\n+\tfunction getSettingstreeAdminHtml(){\n+\t\tif (!$this->get_settingstree()){ return null;}\n+\t\treturn $this->settings_helper->showAdmin('dw2pdf',$this->_getFolder(null));\n+\t}\n+\tprivate function _getFolder($folder = null){\n+\t\tif (is_null($folder)){\n+\t\t\tglobal $ID;\n+\t\t\t$folder = $ID;\n+\t\t}\n+\t\treturn ':'.ltrim(strtr($folder,'/',':'),':');\n+\t}\n+\n+\tfunction getConf($key,$notset = false, $folder = null){\n+\t\t$folder = $this->_getFolder($folder);\n+\t\tif (!is_array(@$this->_folder_confs[$folder])){\n+\t\t\t$this->getAllConf($folder);\n+\t\t}\n+\t\t\n+\t\treturn (array_key_exists($key, (array)$this->_folder_confs[$folder]) ? $this->_folder_confs[$folder][$key] : $notset);\n+\t}\n+\t\n+\tfunction getAllConf($folder = null){\n+\t\t$folder = $this->_getFolder($folder);\n+\t\tif (!is_array(@$this->_folder_confs[$folder])){\n+\t\t\tglobal $conf;\n+\t\t\t$cnf = $conf['plugin']['dw2pdf'];\n+\t\t\tif ($this->get_settingstree()){\n+\t\t\t\t$cnf = array_merge($cnf,$this->settings_helper->getConf('dw2pdf',$folder));\n+\t\t\t}\n+\t\t\tif (!is_array($cnf)) {$cnf = array();}\t// should never happen if the plugin have configs, and this plugin have configs.\n+\t\t\t$this->_folder_confs[$folder] = $cnf;\n+\t\t}\n+\t\treturn $this->_folder_confs[$folder];\n+\n+\t}\n+\t\n+\t// CODE MOVED HERE FROM action.php\n+\tfunction addExportButton(&$event){\n+        if($this->getConf('showexportbutton') && $event->data['view'] == 'main') {\n+\t\t\t// insert button at position before last (up to top)\n+\t\t\t$event->data['items'] = array_slice($event->data['items'], 0, -1, true) +\n+\t\t\t\tarray('export_pdf' => \n+\t\t\t\t\t\t  '<li>'\n+\t\t\t\t\t\t  .'<a ' . $this->_exportButtonHtml()\t// this is the htmlcode for the opening a tag's href and onclick attributes.\n+\t\t\t\t\t\t  . '\"  class=\"action export_pdf\" rel=\"nofollow\" title=\"' . $this->getLang('export_pdf_button') . '\">'\n+\t\t\t\t\t\t  . '<span>' . $this->getLang('export_pdf_button') . '</span>'\n+\t\t\t\t\t\t  . '</a>'\n+\t\t\t\t\t\t  . '</li>'\n+\t\t\t\t) +\n+\t\t\t\tarray_slice($event->data['items'], -1, 1, true);","path":"helper.php","position":165,"original_position":165,"commit_id":"9d86d0834798f87b49999685fc827690836aa2e1","original_commit_id":"9d86d0834798f87b49999685fc827690836aa2e1","user":{"login":"Klap-in","id":183250,"avatar_url":"https://avatars.githubusercontent.com/u/183250?v=3","gravatar_id":"","url":"https://api.github.com/users/Klap-in","html_url":"https://github.com/Klap-in","followers_url":"https://api.github.com/users/Klap-in/followers","following_url":"https://api.github.com/users/Klap-in/following{/other_user}","gists_url":"https://api.github.com/users/Klap-in/gists{/gist_id}","starred_url":"https://api.github.com/users/Klap-in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Klap-in/subscriptions","organizations_url":"https://api.github.com/users/Klap-in/orgs","repos_url":"https://api.github.com/users/Klap-in/repos","events_url":"https://api.github.com/users/Klap-in/events{/privacy}","received_events_url":"https://api.github.com/users/Klap-in/received_events","type":"User","site_admin":false},"body":"Why is the addExportButtion here in the helper.php?\r\n\r\n**General note**:\r\nI splitted action.php into two components that live in the action/ directory. Unfortunately, for backward compatibility the old action.php is still left, but all code changes could should also be copied to these components. (note that the export button now live in its own component. It is fine for me if you create a 3rd component for your ajax actions)\r\n\r\nPlease don't hesitate to group functionalities in own components.","created_at":"2015-08-06T20:46:37Z","updated_at":"2015-08-06T20:46:37Z","html_url":"https://github.com/splitbrain/dokuwiki-plugin-dw2pdf/pull/204#discussion_r36463407","pull_request_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/204","_links":{"self":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/comments/36463407"},"html":{"href":"https://github.com/splitbrain/dokuwiki-plugin-dw2pdf/pull/204#discussion_r36463407"},"pull_request":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/204"}}},"pull_request":{"url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/204","id":40657807,"html_url":"https://github.com/splitbrain/dokuwiki-plugin-dw2pdf/pull/204","diff_url":"https://github.com/splitbrain/dokuwiki-plugin-dw2pdf/pull/204.diff","patch_url":"https://github.com/splitbrain/dokuwiki-plugin-dw2pdf/pull/204.patch","issue_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/issues/204","number":204,"state":"open","locked":false,"title":"Embed settingstree + some minor restructure","user":{"login":"fajan","id":2583751,"avatar_url":"https://avatars.githubusercontent.com/u/2583751?v=3","gravatar_id":"","url":"https://api.github.com/users/fajan","html_url":"https://github.com/fajan","followers_url":"https://api.github.com/users/fajan/followers","following_url":"https://api.github.com/users/fajan/following{/other_user}","gists_url":"https://api.github.com/users/fajan/gists{/gist_id}","starred_url":"https://api.github.com/users/fajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fajan/subscriptions","organizations_url":"https://api.github.com/users/fajan/orgs","repos_url":"https://api.github.com/users/fajan/repos","events_url":"https://api.github.com/users/fajan/events{/privacy}","received_events_url":"https://api.github.com/users/fajan/received_events","type":"User","site_admin":false},"body":"This PR will be extended with additional features, this is yet the initial commit which include only the hierarchical settings.\r\n\r\nAdditional features will be (probably by end of this month):\r\n- extended templates (template variables, styling options, minimal tag-conditions, fallback to normal template)\r\n- export popup (popup layer before export to change settings only for current export)\r\n- publish states from publish plugin (i.e. approved content only)\r\n- link and content filters (disable external / internal / not-in-exported links, filter out some content classes)\r\n- export in background process.\r\n\r\nTo allow the changes to be relative compact and modular: external plugins are used, and helpers get bigger role in handling configurable logic keeping it transparent to the payload code.\r\n\r\nTo keep backward compatibility and dependencies intact, all the added features are optional and disabled by default.\r\n\r\nInitial commit (hierarchical settings feature):\r\n- added helper\r\n - `loadExportConfig` moved to helper\r\n - `loadExportConfig` now checks for hierarchical settings as well (if feature enabled).\r\n- added admin page to set up hierarchical settings (if feature enabled)\r\n- changed plugin config options\r\n - enable / configure current feature\r\n - added ignore meta tags to non-export options.\r\n(NOTE: some options are added but commented out, as they will be \"added\" only in followup commits.)","created_at":"2015-07-23T10:33:22Z","updated_at":"2015-08-06T20:46:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"531be426e412b2ce492052c8bbc4754a574fe046","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/204/commits","review_comments_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/204/comments","review_comment_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/issues/204/comments","statuses_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/statuses/9d86d0834798f87b49999685fc827690836aa2e1","head":{"label":"fajan:master","ref":"master","sha":"9d86d0834798f87b49999685fc827690836aa2e1","user":{"login":"fajan","id":2583751,"avatar_url":"https://avatars.githubusercontent.com/u/2583751?v=3","gravatar_id":"","url":"https://api.github.com/users/fajan","html_url":"https://github.com/fajan","followers_url":"https://api.github.com/users/fajan/followers","following_url":"https://api.github.com/users/fajan/following{/other_user}","gists_url":"https://api.github.com/users/fajan/gists{/gist_id}","starred_url":"https://api.github.com/users/fajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fajan/subscriptions","organizations_url":"https://api.github.com/users/fajan/orgs","repos_url":"https://api.github.com/users/fajan/repos","events_url":"https://api.github.com/users/fajan/events{/privacy}","received_events_url":"https://api.github.com/users/fajan/received_events","type":"User","site_admin":false},"repo":{"id":38234945,"name":"dokuwiki-plugin-dw2pdf","full_name":"fajan/dokuwiki-plugin-dw2pdf","owner":{"login":"fajan","id":2583751,"avatar_url":"https://avatars.githubusercontent.com/u/2583751?v=3","gravatar_id":"","url":"https://api.github.com/users/fajan","html_url":"https://github.com/fajan","followers_url":"https://api.github.com/users/fajan/followers","following_url":"https://api.github.com/users/fajan/following{/other_user}","gists_url":"https://api.github.com/users/fajan/gists{/gist_id}","starred_url":"https://api.github.com/users/fajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fajan/subscriptions","organizations_url":"https://api.github.com/users/fajan/orgs","repos_url":"https://api.github.com/users/fajan/repos","events_url":"https://api.github.com/users/fajan/events{/privacy}","received_events_url":"https://api.github.com/users/fajan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fajan/dokuwiki-plugin-dw2pdf","description":"A fork of Luigi Micco's PDF export plugin for DokuWiki","fork":true,"url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf","forks_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/forks","keys_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/teams","hooks_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/hooks","issue_events_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/issues/events{/number}","events_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/events","assignees_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/assignees{/user}","branches_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/branches{/branch}","tags_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/tags","blobs_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/git/refs{/sha}","trees_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/statuses/{sha}","languages_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/languages","stargazers_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/stargazers","contributors_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/contributors","subscribers_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/subscribers","subscription_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/subscription","commits_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/commits{/sha}","git_commits_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/git/commits{/sha}","comments_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/comments{/number}","issue_comment_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/issues/comments{/number}","contents_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/contents/{+path}","compare_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/merges","archive_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/downloads","issues_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/issues{/number}","pulls_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/pulls{/number}","milestones_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/milestones{/number}","notifications_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/labels{/name}","releases_url":"https://api.github.com/repos/fajan/dokuwiki-plugin-dw2pdf/releases{/id}","created_at":"2015-06-29T07:57:45Z","updated_at":"2015-06-29T07:57:47Z","pushed_at":"2015-08-03T10:04:47Z","git_url":"git://github.com/fajan/dokuwiki-plugin-dw2pdf.git","ssh_url":"git@github.com:fajan/dokuwiki-plugin-dw2pdf.git","clone_url":"https://github.com/fajan/dokuwiki-plugin-dw2pdf.git","svn_url":"https://github.com/fajan/dokuwiki-plugin-dw2pdf","homepage":"http://www.dokuwiki.org/plugin:dw2pdf","size":70602,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"splitbrain:master","ref":"master","sha":"103cc2487f86c9ccc15b15850c9eecb230378d44","user":{"login":"splitbrain","id":86426,"avatar_url":"https://avatars.githubusercontent.com/u/86426?v=3","gravatar_id":"","url":"https://api.github.com/users/splitbrain","html_url":"https://github.com/splitbrain","followers_url":"https://api.github.com/users/splitbrain/followers","following_url":"https://api.github.com/users/splitbrain/following{/other_user}","gists_url":"https://api.github.com/users/splitbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/splitbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splitbrain/subscriptions","organizations_url":"https://api.github.com/users/splitbrain/orgs","repos_url":"https://api.github.com/users/splitbrain/repos","events_url":"https://api.github.com/users/splitbrain/events{/privacy}","received_events_url":"https://api.github.com/users/splitbrain/received_events","type":"User","site_admin":false},"repo":{"id":1883719,"name":"dokuwiki-plugin-dw2pdf","full_name":"splitbrain/dokuwiki-plugin-dw2pdf","owner":{"login":"splitbrain","id":86426,"avatar_url":"https://avatars.githubusercontent.com/u/86426?v=3","gravatar_id":"","url":"https://api.github.com/users/splitbrain","html_url":"https://github.com/splitbrain","followers_url":"https://api.github.com/users/splitbrain/followers","following_url":"https://api.github.com/users/splitbrain/following{/other_user}","gists_url":"https://api.github.com/users/splitbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/splitbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splitbrain/subscriptions","organizations_url":"https://api.github.com/users/splitbrain/orgs","repos_url":"https://api.github.com/users/splitbrain/repos","events_url":"https://api.github.com/users/splitbrain/events{/privacy}","received_events_url":"https://api.github.com/users/splitbrain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/splitbrain/dokuwiki-plugin-dw2pdf","description":"A fork of Luigi Micco's PDF export plugin for DokuWiki","fork":false,"url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf","forks_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/forks","keys_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/teams","hooks_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/hooks","issue_events_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/issues/events{/number}","events_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/events","assignees_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/assignees{/user}","branches_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/branches{/branch}","tags_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/tags","blobs_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/git/refs{/sha}","trees_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/statuses/{sha}","languages_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/languages","stargazers_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/stargazers","contributors_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/contributors","subscribers_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/subscribers","subscription_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/subscription","commits_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/commits{/sha}","git_commits_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/git/commits{/sha}","comments_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/comments{/number}","issue_comment_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/issues/comments{/number}","contents_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/contents/{+path}","compare_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/merges","archive_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/downloads","issues_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/issues{/number}","pulls_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls{/number}","milestones_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/milestones{/number}","notifications_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/labels{/name}","releases_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/releases{/id}","created_at":"2011-06-12T06:03:01Z","updated_at":"2015-08-06T13:32:00Z","pushed_at":"2015-08-03T10:04:48Z","git_url":"git://github.com/splitbrain/dokuwiki-plugin-dw2pdf.git","ssh_url":"git@github.com:splitbrain/dokuwiki-plugin-dw2pdf.git","clone_url":"https://github.com/splitbrain/dokuwiki-plugin-dw2pdf.git","svn_url":"https://github.com/splitbrain/dokuwiki-plugin-dw2pdf","homepage":"http://www.dokuwiki.org/plugin:dw2pdf","size":71232,"stargazers_count":28,"watchers_count":28,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":29,"forks":29,"open_issues":29,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/204"},"html":{"href":"https://github.com/splitbrain/dokuwiki-plugin-dw2pdf/pull/204"},"issue":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/issues/204"},"comments":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/204/comments"},"review_comment":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/pulls/204/commits"},"statuses":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-dw2pdf/statuses/9d86d0834798f87b49999685fc827690836aa2e1"}}}}