Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.54.0 Stable version #7

Merged
merged 38 commits into from
Jul 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
15b94bd
2017051800 development version
mcagigas-at-wiris May 17, 2017
ab56139
2017052200 development version
mcagigas-at-wiris May 22, 2017
4daa8e8
2017052400 development version
mcagigas-at-wiris May 24, 2017
484ece7
2017052500 development version
mcagigas-at-wiris May 25, 2017
054b43c
2017052700 development version
mcagigas-at-wiris May 26, 2017
2a50c33
2017052800 development version
mcagigas-at-wiris May 28, 2017
27f2aaf
2017052900 development version
mcagigas-at-wiris May 29, 2017
e13ae19
2017053000 development version
mcagigas-at-wiris May 30, 2017
6cd6dbb
2017053100 development version
mcagigas-at-wiris May 31, 2017
e6f82e4
2017060100 development version
mcagigas-at-wiris Jun 1, 2017
c64abcb
2017060300 development version
mcagigas-at-wiris Jun 2, 2017
499de30
2017060500 development version
mcagigas-at-wiris Jun 4, 2017
a4743e1
2017060600 development version
mcagigas-at-wiris Jun 5, 2017
3fb1ce1
2017060800 development version
mcagigas-at-wiris Jun 7, 2017
d0bd468
2017060900 development version
mcagigas-at-wiris Jun 9, 2017
361d3d6
2017061000 development version
mcagigas-at-wiris Jun 10, 2017
c4beb37
2017061100 development version
mcagigas-at-wiris Jun 11, 2017
df8f83d
2017061300 development version
mcagigas-at-wiris Jun 12, 2017
fad3be5
2017061500 development version
mcagigas-at-wiris Jun 14, 2017
f709417
2017061600 development version
mcagigas-at-wiris Jun 15, 2017
f480d58
2017061700 development version
mcagigas-at-wiris Jun 16, 2017
f432165
2017061800 development version
mcagigas-at-wiris Jun 17, 2017
c430189
2017061900 development version
mcagigas-at-wiris Jun 18, 2017
0bad1ec
2017062100 development version
mcagigas-at-wiris Jun 20, 2017
c8f44f6
2017062200 development version
mcagigas-at-wiris Jun 22, 2017
1edd9b9
2017062300 development version
mcagigas-at-wiris Jun 23, 2017
303dd79
2017062400 development version
mcagigas-at-wiris Jun 24, 2017
39a2bc3
2017062600 development version
mcagigas-at-wiris Jun 26, 2017
cdacde2
2017062900 development version
mcagigas-at-wiris Jun 28, 2017
8aed74f
2017062900 development version
mcagigas-at-wiris Jun 29, 2017
c18d11a
2017063000 development version
mcagigas-at-wiris Jun 30, 2017
02488bf
2017070300 development version
mcagigas-at-wiris Jul 3, 2017
b9fc5e8
2017070400 development version
mcagigas-at-wiris Jul 4, 2017
104489d
2017070600 development version
mcagigas-at-wiris Jul 5, 2017
98b0ab0
2017070700 development version
mcagigas-at-wiris Jul 7, 2017
f967b99
2017070800 development version
mcagigas-at-wiris Jul 8, 2017
412fb2f
2017070900 development version
mcagigas-at-wiris Jul 9, 2017
e23366b
2017070900 Stable version
mcagigas-at-wiris Jul 10, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# WIRIS Quizzes Commons question type
### Master Build Status
[![Build Status](https://travis-ci.org/wiris/moodle-qtype_wq.svg?branch=master)](https://travis-ci.org/wiris/moodle-qtype_wq)
### Development Build Status
[![Build Status](https://travis-ci.org/wiris/moodle-qtype_wq.svg?branch=development)](https://travis-ci.org/wiris/moodle-qtype_wq)

## Information
The WIRIS Quizzes question type belongs to the WIRIS Quizzes set of questions which enhances the usual Moodle question types with mathematical functionality.
Expand Down
8 changes: 0 additions & 8 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,6 @@ function xmldb_qtype_wq_upgrade($oldversion) {
return true;
}

function decode_html_entities($xml) {
$htmlentitiestable = get_entities_table(HTML_ENTITIES, ENT_QUOTES);
$xmlentitiestable = get_entities_table(HTML_SPECIALCHARS , ENT_COMPAT);
$entitiestable = array_diff($htmlentitiestable, $xmlentitiestable);
$decodetable = array_flip($entitiestable);
$xml = str_replace(array_keys($decodetable), array_values($decodetable), $xml);
return $xml;
}
function get_entities_table($table, $flags) {
if ((version_compare(PHP_VERSION, '5.3.4') >= 0)) {
return get_html_translation_taquestionble($table, $flags, 'UTF-8');
Expand Down
53 changes: 0 additions & 53 deletions lang/ca/qtype_wq.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,56 +16,3 @@

$string['wq'] = 'Matemàtiques i Ciències - WIRIS';
$string['pluginname'] = 'Matemàtiques i Ciències - WIRIS';
$string['pluginnamesummary'] = '';
$string['wq_help'] = 'Generic WIRIS quizzes Help';
$string['editingwq'] = 'Editing a generic WIRIS question';
$string['addingwq'] = 'Adding a generic WIRIS question';
$string['wqsummary'] = 'This adds a generic WIRIS question. Only for test purpose. It will be hide from here.';
$string['wirisquestionincorrect'] = 'Sorry! The system can not generate one of the questions of the quiz. <br />Maybe there is a temporary connection problem right now. <br />Maybe the question algorithm has a bug, and fails sometimes. <br />Maybe it will fail always. <br />Don\'t panic... <br />You can retry the quiz, without penalty, just clicking Continue. <br />You can also tell the Teachers that there is an issue with the question titled: \'{$a->questionname}\'';
$string['wirisquizzeserror'] = 'Sorry! There was an error in WIRIS quizzes.';
$string['cachedef_images'] = "WIRIS Quizzes images.";
$string['info_maintitle'] = "Moodle 2.x WIRIS quizzes test page";
$string['info_tableheader_test'] = "Test";
$string['info_tableheader_report'] = "Report";
$string['info_tableheader_status'] = "Status";
$string['info_disabled'] = "DISABLED";
$string['info_enabled'] = "ENABLED";
$string['info_enabled'] = "ENABLED";
$string['info_information'] = "For more information or if you have any doubt contact WIRIS Support:";
$string['info_test1_name'] = "WIRIS quizzes version";
$string['info_test1_rt1'] = "WIRIS quizzes version is ";
$string['info_test1_rt2'] = "Impossible to find WIRIS quizzes version.";
$string['info_test2_name'] = "WIRIS plugin version";
$string['info_test2_info'] = "Check WIRIS plugin ";
$string['info_test2_infopage'] = "info page";
$string['info_test2_rt1'] = "WIRIS plugin is properly installed.";
$string['info_test2_rt2'] = "WIRIS quizzes requires WIRIS plugin 3.17.20 or greater. Your version is";
$string['info_test2_rt3'] = "Impossible to find WIRIS plugin version file.";
$string['info_test3_name'] = "Moodle version";
$string['info_test3_rt1'] = "Your moodle version is sufficiently new.";
$string['info_test3_rt2'] = "Your Moodle version is %s. WIRIS quizzes could not work correctly with Moodle version prior to 2011060313";
$string['info_test3_rt3'] = "Impossible to find Moodle version file.";
$string['info_test4_name'] = "Plugins";
$string['info_test4_pluginname1'] = "True/False question type";
$string['info_test4_pluginname2'] = "Short-Answer question type";
$string['info_test4_pluginname3'] = "Embedded answer (Cloze) question type";
$string['info_test4_pluginname4'] = "Multi Choice question type";
$string['info_test4_pluginname5'] = "Matching question type";
$string['info_test4_pluginname6'] = "Essay question type";
$string['info_test4_pluginname7'] = "Commons question type";
$string['info_test4_rt1'] = "The following WIRIS question plugins are installed:";
$string['info_test4_rt2'] = "The following WIRIS question plugins are missing:";
$string['info_test4_rt3'] = "Install";
$string['info_test5_name'] = "Database";
$string['info_test5_rt1'] = "All WIRIS tables are present.";
$string['info_test5_rt2'] = "One or more of WIRIS tables are missing.";
$string['info_test6_name'] = "WIRIS quizzes";
$string['info_test7_name'] = "Checking WIRIS configuration";
$string['info_test8_name'] = "Checking if WIRIS server is reachable";
$string['info_test8_rt1'] = "Connecting to %s at port %s";
$string['info_test9_name'] = "WIRIS quizzes service";
$string['info_test10_name'] = "Checking WIRIS quizzes functionality (variable)";
$string['info_test11_name'] = "Checking WIRIS quizzes functionality (plot)";
$string['info_test12_name'] = "Max server connections";
$string['info_test12_rt1'] = "There are currently %s active concurrent connections out of a maximum of %s. Greatest number of concurrent connections is %s.";
$string['info_test12_rt2'] = "Error with the maximum connections security system. See details: <br/><pre>%s<br/>%s</pre>";
53 changes: 0 additions & 53 deletions lang/de/qtype_wq.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,56 +16,3 @@

$string['wq'] = 'Mathematik und Naturwissenschaften von WIRIS';
$string['pluginname'] = 'Mathematik und Naturwissenschaften von WIRIS';
$string['pluginnamesummary'] = '';
$string['wq_help'] = 'Generic WIRIS quizzes Help';
$string['editingwq'] = 'Editing a generic WIRIS question';
$string['addingwq'] = 'Adding a generic WIRIS question';
$string['wqsummary'] = 'This adds a generic WIRIS question. Only for test purpose. It will be hide from here.';
$string['wirisquestionincorrect'] = 'Sorry! The system can not generate one of the questions of the quiz. <br />Maybe there is a temporary connection problem right now. <br />Maybe the question algorithm has a bug, and fails sometimes. <br />Maybe it will fail always. <br />Don\'t panic... <br />You can retry the quiz, without penalty, just clicking Continue. <br />You can also tell the Teachers that there is an issue with the question titled: \'{$a->questionname}\'';
$string['wirisquizzeserror'] = 'Sorry! There was an error in WIRIS quizzes.';
$string['cachedef_images'] = "WIRIS Quizzes images.";
$string['info_maintitle'] = "Moodle 2.x WIRIS quizzes test page";
$string['info_tableheader_test'] = "Test";
$string['info_tableheader_report'] = "Report";
$string['info_tableheader_status'] = "Status";
$string['info_disabled'] = "DISABLED";
$string['info_enabled'] = "ENABLED";
$string['info_enabled'] = "ENABLED";
$string['info_information'] = "For more information or if you have any doubt contact WIRIS Support:";
$string['info_test1_name'] = "WIRIS quizzes version";
$string['info_test1_rt1'] = "WIRIS quizzes version is ";
$string['info_test1_rt2'] = "Impossible to find WIRIS quizzes version.";
$string['info_test2_name'] = "WIRIS plugin version";
$string['info_test2_info'] = "Check WIRIS plugin ";
$string['info_test2_infopage'] = "info page";
$string['info_test2_rt1'] = "WIRIS plugin is properly installed.";
$string['info_test2_rt2'] = "WIRIS quizzes requires WIRIS plugin 3.17.20 or greater. Your version is";
$string['info_test2_rt3'] = "Impossible to find WIRIS plugin version file.";
$string['info_test3_name'] = "Moodle version";
$string['info_test3_rt1'] = "Your moodle version is sufficiently new.";
$string['info_test3_rt2'] = "Your Moodle version is %s. WIRIS quizzes could not work correctly with Moodle version prior to 2011060313";
$string['info_test3_rt3'] = "Impossible to find Moodle version file.";
$string['info_test4_name'] = "Plugins";
$string['info_test4_pluginname1'] = "True/False question type";
$string['info_test4_pluginname2'] = "Short-Answer question type";
$string['info_test4_pluginname3'] = "Embedded answer (Cloze) question type";
$string['info_test4_pluginname4'] = "Multi Choice question type";
$string['info_test4_pluginname5'] = "Matching question type";
$string['info_test4_pluginname6'] = "Essay question type";
$string['info_test4_pluginname7'] = "Commons question type";
$string['info_test4_rt1'] = "The following WIRIS question plugins are installed:";
$string['info_test4_rt2'] = "The following WIRIS question plugins are missing:";
$string['info_test4_rt3'] = "Install";
$string['info_test5_name'] = "Database";
$string['info_test5_rt1'] = "All WIRIS tables are present.";
$string['info_test5_rt2'] = "One or more of WIRIS tables are missing.";
$string['info_test6_name'] = "WIRIS quizzes";
$string['info_test7_name'] = "Checking WIRIS configuration";
$string['info_test8_name'] = "Checking if WIRIS server is reachable";
$string['info_test8_rt1'] = "Connecting to %s at port %s";
$string['info_test9_name'] = "WIRIS quizzes service";
$string['info_test10_name'] = "Checking WIRIS quizzes functionality (variable)";
$string['info_test11_name'] = "Checking WIRIS quizzes functionality (plot)";
$string['info_test12_name'] = "Max server connections";
$string['info_test12_rt1'] = "There are currently %s active concurrent connections out of a maximum of %s. Greatest number of concurrent connections is %s.";
$string['info_test12_rt2'] = "Error with the maximum connections security system. See details: <br/><pre>%s<br/>%s</pre>";
53 changes: 0 additions & 53 deletions lang/el/qtype_wq.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,56 +16,3 @@

$string['wq'] = 'Μαθηματικά και επιστήμη από τη WIRIS';
$string['pluginname'] = 'Μαθηματικά και επιστήμη από τη WIRIS';
$string['pluginnamesummary'] = '';
$string['wq_help'] = 'Generic WIRIS quizzes Help';
$string['editingwq'] = 'Editing a generic WIRIS question';
$string['addingwq'] = 'Adding a generic WIRIS question';
$string['wqsummary'] = 'This adds a generic WIRIS question. Only for test purpose. It will be hide from here.';
$string['wirisquestionincorrect'] = 'Sorry! The system can not generate one of the questions of the quiz. <br />Maybe there is a temporary connection problem right now. <br />Maybe the question algorithm has a bug, and fails sometimes. <br />Maybe it will fail always. <br />Don\'t panic... <br />You can retry the quiz, without penalty, just clicking Continue. <br />You can also tell the Teachers that there is an issue with the question titled: \'{$a->questionname}\'';
$string['wirisquizzeserror'] = 'Sorry! There was an error in WIRIS quizzes.';
$string['cachedef_images'] = "WIRIS Quizzes images.";
$string['info_maintitle'] = "Moodle 2.x WIRIS quizzes test page";
$string['info_tableheader_test'] = "Test";
$string['info_tableheader_report'] = "Report";
$string['info_tableheader_status'] = "Status";
$string['info_disabled'] = "DISABLED";
$string['info_enabled'] = "ENABLED";
$string['info_enabled'] = "ENABLED";
$string['info_information'] = "For more information or if you have any doubt contact WIRIS Support:";
$string['info_test1_name'] = "WIRIS quizzes version";
$string['info_test1_rt1'] = "WIRIS quizzes version is ";
$string['info_test1_rt2'] = "Impossible to find WIRIS quizzes version.";
$string['info_test2_name'] = "WIRIS plugin version";
$string['info_test2_info'] = "Check WIRIS plugin ";
$string['info_test2_infopage'] = "info page";
$string['info_test2_rt1'] = "WIRIS plugin is properly installed.";
$string['info_test2_rt2'] = "WIRIS quizzes requires WIRIS plugin 3.17.20 or greater. Your version is";
$string['info_test2_rt3'] = "Impossible to find WIRIS plugin version file.";
$string['info_test3_name'] = "Moodle version";
$string['info_test3_rt1'] = "Your moodle version is sufficiently new.";
$string['info_test3_rt2'] = "Your Moodle version is %s. WIRIS quizzes could not work correctly with Moodle version prior to 2011060313";
$string['info_test3_rt3'] = "Impossible to find Moodle version file.";
$string['info_test4_name'] = "Plugins";
$string['info_test4_pluginname1'] = "True/False question type";
$string['info_test4_pluginname2'] = "Short-Answer question type";
$string['info_test4_pluginname3'] = "Embedded answer (Cloze) question type";
$string['info_test4_pluginname4'] = "Multi Choice question type";
$string['info_test4_pluginname5'] = "Matching question type";
$string['info_test4_pluginname6'] = "Essay question type";
$string['info_test4_pluginname7'] = "Commons question type";
$string['info_test4_rt1'] = "The following WIRIS question plugins are installed:";
$string['info_test4_rt2'] = "The following WIRIS question plugins are missing:";
$string['info_test4_rt3'] = "Install";
$string['info_test5_name'] = "Database";
$string['info_test5_rt1'] = "All WIRIS tables are present.";
$string['info_test5_rt2'] = "One or more of WIRIS tables are missing.";
$string['info_test6_name'] = "WIRIS quizzes";
$string['info_test7_name'] = "Checking WIRIS configuration";
$string['info_test8_name'] = "Checking if WIRIS server is reachable";
$string['info_test8_rt1'] = "Connecting to %s at port %s";
$string['info_test9_name'] = "WIRIS quizzes service";
$string['info_test10_name'] = "Checking WIRIS quizzes functionality (variable)";
$string['info_test11_name'] = "Checking WIRIS quizzes functionality (plot)";
$string['info_test12_name'] = "Max server connections";
$string['info_test12_rt1'] = "There are currently %s active concurrent connections out of a maximum of %s. Greatest number of concurrent connections is %s.";
$string['info_test12_rt2'] = "Error with the maximum connections security system. See details: <br/><pre>%s<br/>%s</pre>";
3 changes: 1 addition & 2 deletions lang/en/qtype_wq.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

$string['wq'] = 'Math & Science by WIRIS';
$string['pluginname'] = 'Math & Science by WIRIS';
$string['pluginnamesummary'] = '';
$string['pluginname'] = 'Math & Science by WIRIS';$string['pluginnamesummary'] = '';
$string['wq_help'] = 'Generic WIRIS quizzes Help';
$string['editingwq'] = 'Editing a generic WIRIS question';
$string['addingwq'] = 'Adding a generic WIRIS question';
Expand Down
53 changes: 0 additions & 53 deletions lang/es/qtype_wq.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,56 +16,3 @@

$string['wq'] = 'Matemáticas y Ciencias - WIRIS';
$string['pluginname'] = 'Matemáticas y Ciencias - WIRIS';
$string['pluginnamesummary'] = '';
$string['wq_help'] = 'Generic WIRIS quizzes Help';
$string['editingwq'] = 'Editing a generic WIRIS question';
$string['addingwq'] = 'Adding a generic WIRIS question';
$string['wqsummary'] = 'This adds a generic WIRIS question. Only for test purpose. It will be hide from here.';
$string['wirisquestionincorrect'] = 'Sorry! The system can not generate one of the questions of the quiz. <br />Maybe there is a temporary connection problem right now. <br />Maybe the question algorithm has a bug, and fails sometimes. <br />Maybe it will fail always. <br />Don\'t panic... <br />You can retry the quiz, without penalty, just clicking Continue. <br />You can also tell the Teachers that there is an issue with the question titled: \'{$a->questionname}\'';
$string['wirisquizzeserror'] = 'Sorry! There was an error in WIRIS quizzes.';
$string['cachedef_images'] = "WIRIS Quizzes images.";
$string['info_maintitle'] = "Moodle 2.x WIRIS quizzes test page";
$string['info_tableheader_test'] = "Test";
$string['info_tableheader_report'] = "Report";
$string['info_tableheader_status'] = "Status";
$string['info_disabled'] = "DISABLED";
$string['info_enabled'] = "ENABLED";
$string['info_enabled'] = "ENABLED";
$string['info_information'] = "For more information or if you have any doubt contact WIRIS Support:";
$string['info_test1_name'] = "WIRIS quizzes version";
$string['info_test1_rt1'] = "WIRIS quizzes version is ";
$string['info_test1_rt2'] = "Impossible to find WIRIS quizzes version.";
$string['info_test2_name'] = "WIRIS plugin version";
$string['info_test2_info'] = "Check WIRIS plugin ";
$string['info_test2_infopage'] = "info page";
$string['info_test2_rt1'] = "WIRIS plugin is properly installed.";
$string['info_test2_rt2'] = "WIRIS quizzes requires WIRIS plugin 3.17.20 or greater. Your version is";
$string['info_test2_rt3'] = "Impossible to find WIRIS plugin version file.";
$string['info_test3_name'] = "Moodle version";
$string['info_test3_rt1'] = "Your moodle version is sufficiently new.";
$string['info_test3_rt2'] = "Your Moodle version is %s. WIRIS quizzes could not work correctly with Moodle version prior to 2011060313";
$string['info_test3_rt3'] = "Impossible to find Moodle version file.";
$string['info_test4_name'] = "Plugins";
$string['info_test4_pluginname1'] = "True/False question type";
$string['info_test4_pluginname2'] = "Short-Answer question type";
$string['info_test4_pluginname3'] = "Embedded answer (Cloze) question type";
$string['info_test4_pluginname4'] = "Multi Choice question type";
$string['info_test4_pluginname5'] = "Matching question type";
$string['info_test4_pluginname6'] = "Essay question type";
$string['info_test4_pluginname7'] = "Commons question type";
$string['info_test4_rt1'] = "The following WIRIS question plugins are installed:";
$string['info_test4_rt2'] = "The following WIRIS question plugins are missing:";
$string['info_test4_rt3'] = "Install";
$string['info_test5_name'] = "Database";
$string['info_test5_rt1'] = "All WIRIS tables are present.";
$string['info_test5_rt2'] = "One or more of WIRIS tables are missing.";
$string['info_test6_name'] = "WIRIS quizzes";
$string['info_test7_name'] = "Checking WIRIS configuration";
$string['info_test8_name'] = "Checking if WIRIS server is reachable";
$string['info_test8_rt1'] = "Connecting to %s at port %s";
$string['info_test9_name'] = "WIRIS quizzes service";
$string['info_test10_name'] = "Checking WIRIS quizzes functionality (variable)";
$string['info_test11_name'] = "Checking WIRIS quizzes functionality (plot)";
$string['info_test12_name'] = "Max server connections";
$string['info_test12_rt1'] = "There are currently %s active concurrent connections out of a maximum of %s. Greatest number of concurrent connections is %s.";
$string['info_test12_rt2'] = "Error with the maximum connections security system. See details: <br/><pre>%s<br/>%s</pre>";
Loading