{"action":"created","comment":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments/32391252","id":32391252,"diff_hunk":"@@ -436,124 +436,73 @@ function showQuestion(\n                 $s .='</tr>';\n \n             } elseif ($answerType == FILL_IN_BLANKS) {\n-                /*\n-                 * In the FILL_IN_BLANKS test\n-                 * you mustn't have [ and ] in the textarea\n-                 * you mustn't have :: in the textarea\n-                 * the text to find mustn't be empty or contains only spaces\n-                 * the text to find mustn't contains HTML tags\n-                 * the text to find mustn't contains char \"\n-                 */\n+                // display the question, with field empty, for student to fill it,\n+                // or filled to display the answer in the Question preview of the exercice/admin.php page\n+                $displayForStudent = true;\n+                $listAnswerInformations = FillBlanks::getAnswerInfo($answer);\n+                $separatorStartRegexp = FillBlanks::escapeForRegexp($listAnswerInformations['blankseparatorstart']);\n+                $separatorEndRegexp = FillBlanks::escapeForRegexp($listAnswerInformations['blankseparatorend']);\n \n                 list($answer) = explode('::', $answer);\n \n-                // $correct_answer_list array of array with correct anwsers 0=> [0=>[\\p] 1=>[plop]]\n-                api_preg_match_all('/\\[[^]]+\\]/', $answer, $correct_answer_list);\n+                //Correct answer\n+                $correctAnswerList = $listAnswerInformations['tabwords'];\n \n-                // get student answer to display it if student go back to previous fillBlank answer question in a test\n+                //Student's answer\n+                $studentAnswerList = array();\n                 if (isset($user_choice[0]['answer'])) {\n-                    api_preg_match_all('/\\[[^]]+\\]/', $user_choice[0]['answer'], $student_answer_list);\n-                    $student_answer_list_tobecleaned = $student_answer_list[0];\n-                    $student_answer_list = array();\n-                    // here we got the student answer in a test\n-                    // let's clean up the results\n-                    /*\n-                    Array\n-                    (\n-                        [0] => Array\n-                        (\n-                            [0] => [<font color=\"red\"><s>yer</s></font> / <font color=\"green\"><b>ici</b></font>]\n-                            [1] => [<font color=\"red\"><s>plop</s></font> / <font color=\"green\"><b>/p</b></font>]\n-                        )\n-                    )\n-                    */\n-                    for ($i=0; $i < count($student_answer_list_tobecleaned); $i++) {\n-                        $answer_corrected = $student_answer_list_tobecleaned[$i];\n-                        /*\n-                         * we got if student answer is wrong\n-                         * [<font color=\"red\"><s>rrr</s></font> / <font color=\"green\"><b>/p</b></font>]\n-                         * or if student answer is good\n-                         * [plop / <font color=\"green\"><b>plop</b></font>]\n-                         * or if student didn't answer []\n-                         */\n-                        $answer_corrected = api_preg_replace('| / <font color=\"green\"><b>.*$|', '', $answer_corrected);\n-                        /*\n-                         * we got [<font color=\"red\"><s>rrr</s></font> or [plop or [\n-                         */\n-                        $answer_corrected = api_preg_replace('/^\\[/', '', $answer_corrected);\n-                        /*\n-                         * we got <font color=\"red\"><s>rrr</s></font> or plop\n-                         * non breakable spaces &nbsp;&nbsp;&nbsp; from /main/exercice/exercise.class.php have been removed l 2391 and l 2370\n-                         */\n-                        $answer_corrected = api_preg_replace('|^<font color=\"red\"><s>|', '', $answer_corrected);\n-                        $answer_corrected = api_preg_replace('|</s></font>$|', '', $answer_corrected);\n-                        $answer_corrected = '['.$answer_corrected.']';\n-                        /*\n-                         * we got [rrr] or [plop] or []\n-                         */\n-                        $student_answer_list[] = $answer_corrected;\n-                    }\n+                    $arrayStudentAnswer = FillBlanks::getAnswerInfo($user_choice[0]['answer'], true);\n+                    $studentAnswerList = $arrayStudentAnswer['studentanswer'];\n                 }\n \n-                // If display preview of answer in test view for exemple, set the student answer to the correct answers\n+                // If display the question with answer (in page exercice/admin.php) for teacher preview\n+                // set the student-answer to the correct answer\n                 if ($debug_mark_answer) {\n-                    // contain the rights answers surronded with brackets\n-                    $student_answer_list = $correct_answer_list[0];\n+                    $studentAnswerList = $correctAnswerList;\n+                    $displayForStudent = false;\n                 }\n \n-                /*\n-                Split the response by bracket\n-                tab_comments is an array with text surrounding the text to find\n-                we add a space before and after the answer_question to be sure to\n-                have a block of text before and after [xxx] patterns\n-                so we have n text to find ([xxx]) and n+1 block of texts before,\n-                between and after the text to find\n-                */\n-                $tab_comments = api_preg_split('/\\[[^]]+\\]/', ' '.$answer.' ');\n-\n-                if (!empty($correct_answer_list) && !empty($student_answer_list)) {\n+                if (!empty($correctAnswerList) && !empty($studentAnswerList)) {\n                     $answer = \"\";\n-                    $i = 0;\n-                    foreach ($student_answer_list as $student_item) {\n-                        // remove surronding brackets\n-                        $student_response = api_substr($student_item, 1, api_strlen($student_item) - 2);\n-\n-                        $size = strlen($student_item);\n-                        $attributes['class'] = detectInputAppropriateClass($size);\n-\n-                        $answer .= $tab_comments[$i].\n-                            Display::input(\n-                                'text',\n-                                \"choice[$questionId][]\",\n-                                $student_response,\n-                                $attributes\n-                            );\n-                        $i++;\n+                    for ($i = 0; $i < count($listAnswerInformations[\"commonwords\"]) - 1; $i++) {\n+                        // display the common word\n+                        $answer .= $listAnswerInformations[\"commonwords\"][$i];\n+                        // display the blank word\n+                        $correctItem = $listAnswerInformations[\"tabwords\"][$i];\n+                        $correctItemRegexp = $correctItem;\n+                        // replace / with \\/ to allow the preg_replace bellow and all the regexp char\n+                        $correctItemRegexp = FillBlanks::getRegexpProtected($correctItemRegexp);\n+                        if (isset($studentAnswerList[$i])) {\n+                            // student already start this test and this question\n+                            // fill the blank with his previous answers\n+                            // may be \"\" if student did the question, but not fill the blanks\n+                            $correctItem = $studentAnswerList[$i];\n+                        }\n+                        $attributes[\"style\"] = \"width:\".$listAnswerInformations[\"tabinputsize\"][$i].\"px\";\n+                        $answer .= FillBlanks::getFillTheBlankHtml($separatorStartRegexp, $separatorEndRegexp, $correctItemRegexp, $questionId, $correctItem, $attributes, $answer, $listAnswerInformations, $displayForStudent, $i);\n                     }\n-                    $answer .= $tab_comments[$i];\n+                    // display the last common word\n+                    $answer .= $listAnswerInformations[\"commonwords\"][$i];\n                 } else {\n-                    // display exercise with empty input fields\n-                    // every [xxx] are replaced with an empty input field\n-                    foreach ($correct_answer_list[0] as $item) {\n-                        $size = strlen($item);\n-                        $attributes['class'] = detectInputAppropriateClass($size);\n-                        $answer = str_replace(\n-                            $item,\n-                            Display::input('text', \"choice[$questionId][]\", '', $attributes),\n-                            $answer\n-                        );\n+                    // display empty [input] with the right width for student to fill it\n+                    $separatorStartRegexp = FillBlanks::escapeForRegexp($listAnswerInformations['blankseparatorstart']);\n+                    $separatorEndRegexp = FillBlanks::escapeForRegexp($listAnswerInformations['blankseparatorend']);\n+                    $answer = \"\";\n+                    for ($i = 0; $i < count($listAnswerInformations[\"commonwords\"]) - 1; $i++) {\n+                        // display the common words\n+                        $answer .= $listAnswerInformations[\"commonwords\"][$i];\n+                        // display the blank word\n+                        $attributes[\"style\"] = \"width:\".$listAnswerInformations[\"tabinputsize\"][$i].\"px\";\n+                        $correctItem = $listAnswerInformations[\"tabwords\"][$i];\n+                        $correctItemRegexp = $correctItem;\n+                        // replace / with \\/ to allow the preg_replace bellow and all the regexp char","path":"main/exercice/exercise.lib.php","position":156,"original_position":156,"commit_id":"badd895cd96fcca6e474eb6246ebd000b0f2f383","original_commit_id":"badd895cd96fcca6e474eb6246ebd000b0f2f383","user":{"login":"ywarnier","id":609839,"avatar_url":"https://avatars.githubusercontent.com/u/609839?v=3","gravatar_id":"","url":"https://api.github.com/users/ywarnier","html_url":"https://github.com/ywarnier","followers_url":"https://api.github.com/users/ywarnier/followers","following_url":"https://api.github.com/users/ywarnier/following{/other_user}","gists_url":"https://api.github.com/users/ywarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ywarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywarnier/subscriptions","organizations_url":"https://api.github.com/users/ywarnier/orgs","repos_url":"https://api.github.com/users/ywarnier/repos","events_url":"https://api.github.com/users/ywarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ywarnier/received_events","type":"User","site_admin":false},"body":"Will have to check if there is no regression here, because I remember we removed a few changes that were escaping slashes after users complained.","created_at":"2015-06-15T04:29:52Z","updated_at":"2015-06-15T04:29:52Z","html_url":"https://github.com/chamilo/chamilo-lms/pull/718#discussion_r32391252","pull_request_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/718","_links":{"self":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments/32391252"},"html":{"href":"https://github.com/chamilo/chamilo-lms/pull/718#discussion_r32391252"},"pull_request":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/718"}}},"pull_request":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/718","id":37262460,"html_url":"https://github.com/chamilo/chamilo-lms/pull/718","diff_url":"https://github.com/chamilo/chamilo-lms/pull/718.diff","patch_url":"https://github.com/chamilo/chamilo-lms/pull/718.patch","issue_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/718","number":718,"state":"open","locked":false,"title":"Menu,several choice,resize for Fill the blank question 1.9.10","user":{"login":"baelmyhu","id":4034795,"avatar_url":"https://avatars.githubusercontent.com/u/4034795?v=3","gravatar_id":"","url":"https://api.github.com/users/baelmyhu","html_url":"https://github.com/baelmyhu","followers_url":"https://api.github.com/users/baelmyhu/followers","following_url":"https://api.github.com/users/baelmyhu/following{/other_user}","gists_url":"https://api.github.com/users/baelmyhu/gists{/gist_id}","starred_url":"https://api.github.com/users/baelmyhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baelmyhu/subscriptions","organizations_url":"https://api.github.com/users/baelmyhu/orgs","repos_url":"https://api.github.com/users/baelmyhu/repos","events_url":"https://api.github.com/users/baelmyhu/events{/privacy}","received_events_url":"https://api.github.com/users/baelmyhu/received_events","type":"User","site_admin":false},"body":"Add several features for Fill the blank questions.\r\nSee https://support.chamilo.org/issues/7598\r\nYou can resize the input field\r\nSee https://chamilosimsu.wordpress.com/2014/06/25/exercice-remplir-les-blancs-choisissez-la-largeur-de-la-zone-de-saisie/\r\n\r\n![2015-06-10_0906](https://cloud.githubusercontent.com/assets/4034795/8076848/d092f36c-0f50-11e5-9e9e-d1c08bc91da5.png)\r\n\r\n\r\nYou can create a menu of choices and allow several answers for an input.\r\n![2015-06-10_0907](https://cloud.githubusercontent.com/assets/4034795/8076863/f2d3d4d2-0f50-11e5-9bcb-421e05ffbd0b.png)\r\n\r\nMenu : one|two|three\r\nSeveral right answers : 1||01||one  (like the programming 'or')\r\n\r\nYou can choose your separator for answers to replace brackets if you need it as an answer\r\n![2015-06-10_0907_001](https://cloud.githubusercontent.com/assets/4034795/8076869/fefba3e8-0f50-11e5-9fdc-a73a17ee4fbc.png)\r\n\r\nFor technical aspect see\r\nhttps://docs.google.com/document/d/1XbJE8C5F-3YsMr70gMBGRkR4Tupyiv7tmbxtHt9nmTQ/edit#heading=h.cfmz8ahv85v5\r\n\r\nAdd a RefreshBlanks button for people that copy/paste in the Code view.\r\n\r\nCorrection form last pull request done.\r\n","created_at":"2015-06-09T14:56:39Z","updated_at":"2015-06-15T04:29:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b9fc351e0799fcd6845e99b5d793e4cdb042369","assignee":{"login":"ywarnier","id":609839,"avatar_url":"https://avatars.githubusercontent.com/u/609839?v=3","gravatar_id":"","url":"https://api.github.com/users/ywarnier","html_url":"https://github.com/ywarnier","followers_url":"https://api.github.com/users/ywarnier/followers","following_url":"https://api.github.com/users/ywarnier/following{/other_user}","gists_url":"https://api.github.com/users/ywarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ywarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywarnier/subscriptions","organizations_url":"https://api.github.com/users/ywarnier/orgs","repos_url":"https://api.github.com/users/ywarnier/repos","events_url":"https://api.github.com/users/ywarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ywarnier/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/milestones/3","html_url":"https://github.com/chamilo/chamilo-lms/milestones/1.9.10","labels_url":"https://api.github.com/repos/chamilo/chamilo-lms/milestones/3/labels","id":822437,"number":3,"title":"1.9.10","description":"","creator":{"login":"ywarnier","id":609839,"avatar_url":"https://avatars.githubusercontent.com/u/609839?v=3","gravatar_id":"","url":"https://api.github.com/users/ywarnier","html_url":"https://github.com/ywarnier","followers_url":"https://api.github.com/users/ywarnier/followers","following_url":"https://api.github.com/users/ywarnier/following{/other_user}","gists_url":"https://api.github.com/users/ywarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ywarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywarnier/subscriptions","organizations_url":"https://api.github.com/users/ywarnier/orgs","repos_url":"https://api.github.com/users/ywarnier/repos","events_url":"https://api.github.com/users/ywarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ywarnier/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"closed","created_at":"2014-10-11T19:52:41Z","updated_at":"2015-06-11T09:09:54Z","due_on":"2014-11-19T08:00:00Z","closed_at":"2015-02-05T16:01:25Z"},"commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/718/commits","review_comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/718/comments","review_comment_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/718/comments","statuses_url":"https://api.github.com/repos/chamilo/chamilo-lms/statuses/badd895cd96fcca6e474eb6246ebd000b0f2f383","head":{"label":"baelmyhu:chamilo19102remote2","ref":"chamilo19102remote2","sha":"badd895cd96fcca6e474eb6246ebd000b0f2f383","user":{"login":"baelmyhu","id":4034795,"avatar_url":"https://avatars.githubusercontent.com/u/4034795?v=3","gravatar_id":"","url":"https://api.github.com/users/baelmyhu","html_url":"https://github.com/baelmyhu","followers_url":"https://api.github.com/users/baelmyhu/followers","following_url":"https://api.github.com/users/baelmyhu/following{/other_user}","gists_url":"https://api.github.com/users/baelmyhu/gists{/gist_id}","starred_url":"https://api.github.com/users/baelmyhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baelmyhu/subscriptions","organizations_url":"https://api.github.com/users/baelmyhu/orgs","repos_url":"https://api.github.com/users/baelmyhu/repos","events_url":"https://api.github.com/users/baelmyhu/events{/privacy}","received_events_url":"https://api.github.com/users/baelmyhu/received_events","type":"User","site_admin":false},"repo":{"id":16542091,"name":"chamilo-lms","full_name":"baelmyhu/chamilo-lms","owner":{"login":"baelmyhu","id":4034795,"avatar_url":"https://avatars.githubusercontent.com/u/4034795?v=3","gravatar_id":"","url":"https://api.github.com/users/baelmyhu","html_url":"https://github.com/baelmyhu","followers_url":"https://api.github.com/users/baelmyhu/followers","following_url":"https://api.github.com/users/baelmyhu/following{/other_user}","gists_url":"https://api.github.com/users/baelmyhu/gists{/gist_id}","starred_url":"https://api.github.com/users/baelmyhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baelmyhu/subscriptions","organizations_url":"https://api.github.com/users/baelmyhu/orgs","repos_url":"https://api.github.com/users/baelmyhu/repos","events_url":"https://api.github.com/users/baelmyhu/events{/privacy}","received_events_url":"https://api.github.com/users/baelmyhu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/baelmyhu/chamilo-lms","description":"Chamilo is a learning management system focusing on ease of use, re-usability, collaboration and sharing.","fork":true,"url":"https://api.github.com/repos/baelmyhu/chamilo-lms","forks_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/forks","keys_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/teams","hooks_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/hooks","issue_events_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/issues/events{/number}","events_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/events","assignees_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/assignees{/user}","branches_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/branches{/branch}","tags_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/tags","blobs_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/git/refs{/sha}","trees_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/statuses/{sha}","languages_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/languages","stargazers_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/stargazers","contributors_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/contributors","subscribers_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/subscribers","subscription_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/subscription","commits_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/commits{/sha}","git_commits_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/git/commits{/sha}","comments_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/comments{/number}","issue_comment_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/issues/comments{/number}","contents_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/contents/{+path}","compare_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/merges","archive_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/downloads","issues_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/issues{/number}","pulls_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/pulls{/number}","milestones_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/milestones{/number}","notifications_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/labels{/name}","releases_url":"https://api.github.com/repos/baelmyhu/chamilo-lms/releases{/id}","created_at":"2014-02-05T10:49:44Z","updated_at":"2015-03-31T14:53:23Z","pushed_at":"2015-06-09T14:53:26Z","git_url":"git://github.com/baelmyhu/chamilo-lms.git","ssh_url":"git@github.com:baelmyhu/chamilo-lms.git","clone_url":"https://github.com/baelmyhu/chamilo-lms.git","svn_url":"https://github.com/baelmyhu/chamilo-lms","homepage":"http://www.chamilo.org","size":776081,"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":"1.9.x"}},"base":{"label":"chamilo:1.9.x","ref":"1.9.x","sha":"fb7aa5cef7000a6b3f7c702d641bf2b6836f6234","user":{"login":"chamilo","id":3460664,"avatar_url":"https://avatars.githubusercontent.com/u/3460664?v=3","gravatar_id":"","url":"https://api.github.com/users/chamilo","html_url":"https://github.com/chamilo","followers_url":"https://api.github.com/users/chamilo/followers","following_url":"https://api.github.com/users/chamilo/following{/other_user}","gists_url":"https://api.github.com/users/chamilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chamilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamilo/subscriptions","organizations_url":"https://api.github.com/users/chamilo/orgs","repos_url":"https://api.github.com/users/chamilo/repos","events_url":"https://api.github.com/users/chamilo/events{/privacy}","received_events_url":"https://api.github.com/users/chamilo/received_events","type":"Organization","site_admin":false},"repo":{"id":9103211,"name":"chamilo-lms","full_name":"chamilo/chamilo-lms","owner":{"login":"chamilo","id":3460664,"avatar_url":"https://avatars.githubusercontent.com/u/3460664?v=3","gravatar_id":"","url":"https://api.github.com/users/chamilo","html_url":"https://github.com/chamilo","followers_url":"https://api.github.com/users/chamilo/followers","following_url":"https://api.github.com/users/chamilo/following{/other_user}","gists_url":"https://api.github.com/users/chamilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chamilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamilo/subscriptions","organizations_url":"https://api.github.com/users/chamilo/orgs","repos_url":"https://api.github.com/users/chamilo/repos","events_url":"https://api.github.com/users/chamilo/events{/privacy}","received_events_url":"https://api.github.com/users/chamilo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chamilo/chamilo-lms","description":"Chamilo is a learning management system focusing on ease of use, re-usability, collaboration and sharing.","fork":false,"url":"https://api.github.com/repos/chamilo/chamilo-lms","forks_url":"https://api.github.com/repos/chamilo/chamilo-lms/forks","keys_url":"https://api.github.com/repos/chamilo/chamilo-lms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chamilo/chamilo-lms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chamilo/chamilo-lms/teams","hooks_url":"https://api.github.com/repos/chamilo/chamilo-lms/hooks","issue_events_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/events{/number}","events_url":"https://api.github.com/repos/chamilo/chamilo-lms/events","assignees_url":"https://api.github.com/repos/chamilo/chamilo-lms/assignees{/user}","branches_url":"https://api.github.com/repos/chamilo/chamilo-lms/branches{/branch}","tags_url":"https://api.github.com/repos/chamilo/chamilo-lms/tags","blobs_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/refs{/sha}","trees_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chamilo/chamilo-lms/statuses/{sha}","languages_url":"https://api.github.com/repos/chamilo/chamilo-lms/languages","stargazers_url":"https://api.github.com/repos/chamilo/chamilo-lms/stargazers","contributors_url":"https://api.github.com/repos/chamilo/chamilo-lms/contributors","subscribers_url":"https://api.github.com/repos/chamilo/chamilo-lms/subscribers","subscription_url":"https://api.github.com/repos/chamilo/chamilo-lms/subscription","commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/commits{/sha}","git_commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/commits{/sha}","comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/comments{/number}","issue_comment_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/comments{/number}","contents_url":"https://api.github.com/repos/chamilo/chamilo-lms/contents/{+path}","compare_url":"https://api.github.com/repos/chamilo/chamilo-lms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chamilo/chamilo-lms/merges","archive_url":"https://api.github.com/repos/chamilo/chamilo-lms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chamilo/chamilo-lms/downloads","issues_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues{/number}","pulls_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls{/number}","milestones_url":"https://api.github.com/repos/chamilo/chamilo-lms/milestones{/number}","notifications_url":"https://api.github.com/repos/chamilo/chamilo-lms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chamilo/chamilo-lms/labels{/name}","releases_url":"https://api.github.com/repos/chamilo/chamilo-lms/releases{/id}","created_at":"2013-03-29T17:31:19Z","updated_at":"2015-06-11T19:13:07Z","pushed_at":"2015-06-15T02:08:06Z","git_url":"git://github.com/chamilo/chamilo-lms.git","ssh_url":"git@github.com:chamilo/chamilo-lms.git","clone_url":"https://github.com/chamilo/chamilo-lms.git","svn_url":"https://github.com/chamilo/chamilo-lms","homepage":"http://www.chamilo.org","size":983375,"stargazers_count":86,"watchers_count":86,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":2,"forks":97,"open_issues":2,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/718"},"html":{"href":"https://github.com/chamilo/chamilo-lms/pull/718"},"issue":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/issues/718"},"comments":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/issues/718/comments"},"review_comments":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/718/comments"},"review_comment":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/718/commits"},"statuses":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/statuses/badd895cd96fcca6e474eb6246ebd000b0f2f383"}}}}