{"action":"created","comment":{"url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/comments/196772945","pull_request_review_id":130388523,"id":196772945,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Njc3Mjk0NQ==","diff_hunk":"@@ -0,0 +1,189 @@\n+<?php\n+/**\n+ * This program is free software; you can redistribute it and/or\n+ * modify it under the terms of the GNU General Public License\n+ * as published by the Free Software Foundation; under version 2\n+ * of the License (non-upgradable).\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU General Public License\n+ * along with this program; if not, write to the Free Software\n+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n+ *\n+ * Copyright (c) 2018 (original work) Open Assessment Technologies SA;\n+ *\n+ */\n+\n+namespace oat\\taoQtiItem\\model\\qti\\asset\\handler;\n+\n+use oat\\taoItems\\model\\media\\LocalItemSource;\n+use oat\\taoQtiItem\\model\\qti\\Element;\n+use oat\\taoQtiItem\\model\\qti\\Item;\n+\n+/**\n+ * Class StimulusHandler\n+ *\n+ * The purpose of this handler is to extract xml stimulus from item to copy them\n+ * If the included stimulus includes images, they should be encoded to avoid file dependencies\n+ *\n+ * @package oat\\taoQtiItem\\model\\qti\\asset\\handler\n+ */\n+class StimulusHandler implements AssetHandler\n+{\n+    /**\n+     * The object representation of qti item\n+     *\n+     * @var Item\n+     */\n+    protected $qtiItem;\n+\n+    /**\n+     * The destination of the item directory\n+     *\n+     * @var LocalItemSource\n+     */\n+    protected $itemSource;\n+\n+    /**\n+     * Applicable to all items that contain <xinclude> tag\n+     *\n+     * @param $relativePath\n+     * @return bool\n+     * @throws \\common_exception_MissingParameter\n+     */\n+    public function isApplicable($relativePath)\n+    {\n+        $xincluded = array();\n+        /** @var Element $xincludeElement */\n+        foreach ($this->getQtiItem()->getComposingElements('oat\\taoQtiItem\\model\\qti\\Xinclude') as $xincludeElement) {\n+            $xincluded[] = $xincludeElement->attr('href');\n+            \\common_Logger::i(\"Xinclude component found in resource '\" .\n+                $this->getQtiItem()->getIdentifier() . \"' with href '\" . $xincludeElement->attr('href') . \"'.\");\n+        }\n+\n+        if(in_array($relativePath, $xincluded)) {\n+            return true;\n+        }\n+\n+        return false;\n+    }\n+\n+    /**\n+     * Store locally, in a safe directory\n+     * Encoded all stimulus images to avoid file dependencies\n+     *\n+     * @param $absolutePath\n+     * @param $relativePath\n+     * @return array|mixed\n+     * @throws \\common_Exception\n+     */\n+    public function handle($absolutePath, $relativePath)\n+    {\n+        $safePath = $this->safePath($relativePath);\n+        $this->encodeStimulusImages($absolutePath);\n+\n+        $info = $this->getItemSource()->add($absolutePath, basename($absolutePath), $safePath);\n+        \\common_Logger::i('Stimulus file \\'' . $absolutePath . '\\' copied.');\n+\n+        return $info;\n+    }\n+\n+    /**\n+     * Remove ../ to secure path\n+     *\n+     * @param $path\n+     * @return string\n+     */\n+    protected function safePath($path)\n+    {\n+        $safePath = '';\n+        if (dirname($path) !== '.') {\n+            $safePath = str_replace('../', '', dirname($path)) . '/';\n+        }\n+        return $safePath;\n+    }\n+\n+    /**\n+     * Walk into stimulus file to transform images from path to base64encoded data:image\n+     *\n+     * @param $absolutePath\n+     */\n+    protected function encodeStimulusImages($absolutePath)\n+    {\n+        $dom = new \\DOMDocument('1.0', 'UTF-8');\n+        $dom->loadXML(file_get_contents($absolutePath));\n+        $images = $dom->getElementsByTagName('img');\n+\n+        for($i=0 ; $i<$images->length ; $i++) {\n+            $imageFile = dirname($absolutePath) . DIRECTORY_SEPARATOR . ltrim($images->item($i)->getAttribute('src'), DIRECTORY_SEPARATOR);\n+            if (file_exists($imageFile)) {\n+                $encodedSrc = 'data:image/png;base64,' . base64_encode(file_get_contents($imageFile));\n+                $images->item($i)->setAttribute('src', $encodedSrc);\n+            }\n+        }\n+        if (isset($encodedSrc)) {\n+            file_put_contents($absolutePath, $dom->saveXML());\n+        }\n+    }\n+\n+    public function finalize()\n+    {\n+        // Nothing to do\n+    }\n+\n+    /**\n+     * @param LocalItemSource $itemSource\n+     * @return $this\n+     */\n+    public function setItemSource(LocalItemSource $itemSource)\n+    {\n+        $this->itemSource = $itemSource;\n+        return $this;\n+    }\n+\n+    /**\n+     * @param Item $qtiItem\n+     * @return $this\n+     */\n+    public function setQtiItem(Item $qtiItem)\n+    {\n+        $this->qtiItem = $qtiItem;\n+        return $this;\n+    }\n+\n+    /**\n+     * @return LocalItemSource\n+     * @throws \\common_exception_MissingParameter\n+     */\n+    protected function getItemSource()\n+    {\n+        $this->assertAttribute('itemSource');\n+        return $this->itemSource;\n+    }\n+\n+    /**\n+     * @return Item\n+     * @throws \\common_exception_MissingParameter\n+     */\n+    protected function getQtiItem()\n+    {\n+        $this->assertAttribute('qtiItem');\n+        return $this->qtiItem;\n+    }\n+\n+    /**\n+     * @param $attribute\n+     * @throws \\common_exception_MissingParameter\n+     */\n+    private function assertAttribute($attribute)\n+    {\n+        $attributes = get_object_vars($this);\n+        if (!isset($attributes[$attribute])) {","path":"model/qti/asset/handler/StimulusHandler.php","position":190,"original_position":185,"commit_id":"42f6d70c139079f3c2ac167e0e5a9ff8d468439d","original_commit_id":"e35ed2fd78befe74a28c864e9382c5bd4d7ccbe9","user":{"login":"SergiiTao","id":36041347,"node_id":"MDQ6VXNlcjM2MDQxMzQ3","avatar_url":"https://avatars2.githubusercontent.com/u/36041347?v=4","gravatar_id":"","url":"https://api.github.com/users/SergiiTao","html_url":"https://github.com/SergiiTao","followers_url":"https://api.github.com/users/SergiiTao/followers","following_url":"https://api.github.com/users/SergiiTao/following{/other_user}","gists_url":"https://api.github.com/users/SergiiTao/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiiTao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiiTao/subscriptions","organizations_url":"https://api.github.com/users/SergiiTao/orgs","repos_url":"https://api.github.com/users/SergiiTao/repos","events_url":"https://api.github.com/users/SergiiTao/events{/privacy}","received_events_url":"https://api.github.com/users/SergiiTao/received_events","type":"User","site_admin":false},"body":"the easiest way just to check `if (!isset($this->$attribute))`","created_at":"2018-06-20T13:19:43Z","updated_at":"2018-06-20T13:19:44Z","html_url":"https://github.com/oat-sa/extension-tao-itemqti/pull/1167#discussion_r196772945","pull_request_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/1167","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/comments/196772945"},"html":{"href":"https://github.com/oat-sa/extension-tao-itemqti/pull/1167#discussion_r196772945"},"pull_request":{"href":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/1167"}}},"pull_request":{"url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/1167","id":196130640,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MTMwNjQw","html_url":"https://github.com/oat-sa/extension-tao-itemqti/pull/1167","diff_url":"https://github.com/oat-sa/extension-tao-itemqti/pull/1167.diff","patch_url":"https://github.com/oat-sa/extension-tao-itemqti/pull/1167.patch","issue_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/issues/1167","number":1167,"state":"open","locked":false,"title":"Fix/tao 6396 basic item stimulus import","user":{"login":"siwane","id":8009602,"node_id":"MDQ6VXNlcjgwMDk2MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/8009602?v=4","gravatar_id":"","url":"https://api.github.com/users/siwane","html_url":"https://github.com/siwane","followers_url":"https://api.github.com/users/siwane/followers","following_url":"https://api.github.com/users/siwane/following{/other_user}","gists_url":"https://api.github.com/users/siwane/gists{/gist_id}","starred_url":"https://api.github.com/users/siwane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siwane/subscriptions","organizations_url":"https://api.github.com/users/siwane/orgs","repos_url":"https://api.github.com/users/siwane/repos","events_url":"https://api.github.com/users/siwane/events{/privacy}","received_events_url":"https://api.github.com/users/siwane/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-20T13:02:31Z","updated_at":"2018-06-20T13:19:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63b451628dfee468ec9432e67882da072e730b79","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/1167/commits","review_comments_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/1167/comments","review_comment_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/issues/1167/comments","statuses_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/statuses/42f6d70c139079f3c2ac167e0e5a9ff8d468439d","head":{"label":"oat-sa:fix/TAO-6396_basic-item-stimulus-import","ref":"fix/TAO-6396_basic-item-stimulus-import","sha":"42f6d70c139079f3c2ac167e0e5a9ff8d468439d","user":{"login":"oat-sa","id":7581081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1ODEwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/7581081?v=4","gravatar_id":"","url":"https://api.github.com/users/oat-sa","html_url":"https://github.com/oat-sa","followers_url":"https://api.github.com/users/oat-sa/followers","following_url":"https://api.github.com/users/oat-sa/following{/other_user}","gists_url":"https://api.github.com/users/oat-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/oat-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oat-sa/subscriptions","organizations_url":"https://api.github.com/users/oat-sa/orgs","repos_url":"https://api.github.com/users/oat-sa/repos","events_url":"https://api.github.com/users/oat-sa/events{/privacy}","received_events_url":"https://api.github.com/users/oat-sa/received_events","type":"Organization","site_admin":false},"repo":{"id":22111399,"node_id":"MDEwOlJlcG9zaXRvcnkyMjExMTM5OQ==","name":"extension-tao-itemqti","full_name":"oat-sa/extension-tao-itemqti","owner":{"login":"oat-sa","id":7581081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1ODEwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/7581081?v=4","gravatar_id":"","url":"https://api.github.com/users/oat-sa","html_url":"https://github.com/oat-sa","followers_url":"https://api.github.com/users/oat-sa/followers","following_url":"https://api.github.com/users/oat-sa/following{/other_user}","gists_url":"https://api.github.com/users/oat-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/oat-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oat-sa/subscriptions","organizations_url":"https://api.github.com/users/oat-sa/orgs","repos_url":"https://api.github.com/users/oat-sa/repos","events_url":"https://api.github.com/users/oat-sa/events{/privacy}","received_events_url":"https://api.github.com/users/oat-sa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oat-sa/extension-tao-itemqti","description":"extension to create QTI items for TAO","fork":false,"url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti","forks_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/forks","keys_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/teams","hooks_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/hooks","issue_events_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/issues/events{/number}","events_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/events","assignees_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/assignees{/user}","branches_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/branches{/branch}","tags_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/tags","blobs_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/git/refs{/sha}","trees_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/statuses/{sha}","languages_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/languages","stargazers_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/stargazers","contributors_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/contributors","subscribers_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/subscribers","subscription_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/subscription","commits_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/commits{/sha}","git_commits_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/git/commits{/sha}","comments_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/comments{/number}","issue_comment_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/issues/comments{/number}","contents_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/contents/{+path}","compare_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/merges","archive_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/downloads","issues_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/issues{/number}","pulls_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls{/number}","milestones_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/milestones{/number}","notifications_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/labels{/name}","releases_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/releases{/id}","deployments_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/deployments","created_at":"2014-07-22T16:28:02Z","updated_at":"2018-06-15T12:28:36Z","pushed_at":"2018-06-20T13:13:11Z","git_url":"git://github.com/oat-sa/extension-tao-itemqti.git","ssh_url":"git@github.com:oat-sa/extension-tao-itemqti.git","clone_url":"https://github.com/oat-sa/extension-tao-itemqti.git","svn_url":"https://github.com/oat-sa/extension-tao-itemqti","homepage":"","size":118276,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":8,"open_issues":11,"watchers":3,"default_branch":"master"}},"base":{"label":"oat-sa:develop","ref":"develop","sha":"be365e7222070666376ea0c0134c1c19e0a06699","user":{"login":"oat-sa","id":7581081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1ODEwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/7581081?v=4","gravatar_id":"","url":"https://api.github.com/users/oat-sa","html_url":"https://github.com/oat-sa","followers_url":"https://api.github.com/users/oat-sa/followers","following_url":"https://api.github.com/users/oat-sa/following{/other_user}","gists_url":"https://api.github.com/users/oat-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/oat-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oat-sa/subscriptions","organizations_url":"https://api.github.com/users/oat-sa/orgs","repos_url":"https://api.github.com/users/oat-sa/repos","events_url":"https://api.github.com/users/oat-sa/events{/privacy}","received_events_url":"https://api.github.com/users/oat-sa/received_events","type":"Organization","site_admin":false},"repo":{"id":22111399,"node_id":"MDEwOlJlcG9zaXRvcnkyMjExMTM5OQ==","name":"extension-tao-itemqti","full_name":"oat-sa/extension-tao-itemqti","owner":{"login":"oat-sa","id":7581081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1ODEwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/7581081?v=4","gravatar_id":"","url":"https://api.github.com/users/oat-sa","html_url":"https://github.com/oat-sa","followers_url":"https://api.github.com/users/oat-sa/followers","following_url":"https://api.github.com/users/oat-sa/following{/other_user}","gists_url":"https://api.github.com/users/oat-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/oat-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oat-sa/subscriptions","organizations_url":"https://api.github.com/users/oat-sa/orgs","repos_url":"https://api.github.com/users/oat-sa/repos","events_url":"https://api.github.com/users/oat-sa/events{/privacy}","received_events_url":"https://api.github.com/users/oat-sa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oat-sa/extension-tao-itemqti","description":"extension to create QTI items for TAO","fork":false,"url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti","forks_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/forks","keys_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/teams","hooks_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/hooks","issue_events_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/issues/events{/number}","events_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/events","assignees_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/assignees{/user}","branches_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/branches{/branch}","tags_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/tags","blobs_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/git/refs{/sha}","trees_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/statuses/{sha}","languages_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/languages","stargazers_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/stargazers","contributors_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/contributors","subscribers_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/subscribers","subscription_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/subscription","commits_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/commits{/sha}","git_commits_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/git/commits{/sha}","comments_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/comments{/number}","issue_comment_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/issues/comments{/number}","contents_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/contents/{+path}","compare_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/merges","archive_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/downloads","issues_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/issues{/number}","pulls_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls{/number}","milestones_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/milestones{/number}","notifications_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/labels{/name}","releases_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/releases{/id}","deployments_url":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/deployments","created_at":"2014-07-22T16:28:02Z","updated_at":"2018-06-15T12:28:36Z","pushed_at":"2018-06-20T13:13:11Z","git_url":"git://github.com/oat-sa/extension-tao-itemqti.git","ssh_url":"git@github.com:oat-sa/extension-tao-itemqti.git","clone_url":"https://github.com/oat-sa/extension-tao-itemqti.git","svn_url":"https://github.com/oat-sa/extension-tao-itemqti","homepage":"","size":118276,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":8,"open_issues":11,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/1167"},"html":{"href":"https://github.com/oat-sa/extension-tao-itemqti/pull/1167"},"issue":{"href":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/issues/1167"},"comments":{"href":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/issues/1167/comments"},"review_comments":{"href":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/1167/comments"},"review_comment":{"href":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/pulls/1167/commits"},"statuses":{"href":"https://api.github.com/repos/oat-sa/extension-tao-itemqti/statuses/42f6d70c139079f3c2ac167e0e5a9ff8d468439d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"SergiiTao"}}