From 9b1878096ec2f104bd31d52ffbdda146ba6a7d1b Mon Sep 17 00:00:00 2001 From: David Winn Date: Tue, 9 Mar 2021 12:12:04 +0000 Subject: [PATCH 1/6] Fix issue where students could not submit if intro file attached --- amd/build/eula_response.min.js | 2 +- amd/build/eula_response.min.js.map | 2 +- amd/src/eula_response.js | 4 +++- db/upgrade.php | 6 ++++++ lib.php | 4 ++-- styles.css | 9 +++++++-- version.php | 2 +- 7 files changed, 21 insertions(+), 8 deletions(-) diff --git a/amd/build/eula_response.min.js b/amd/build/eula_response.min.js index 1e1fadb..f1342c4 100644 --- a/amd/build/eula_response.min.js +++ b/amd/build/eula_response.min.js @@ -1,2 +1,2 @@ -define ("plagiarism_turnitinsim/eula_response",["jquery","core/str"],function(a,b){return{eulaResponse:function eulaResponse(){a(document).ready(function(){a("input[name=submitbutton]").prop("disabled","disabled")});a(document).on("click","#pp-eula-accept",function(){a("input[name=submitbutton]").prop("disabled","");a.ajax({type:"POST",url:M.cfg.wwwroot+"/plagiarism/turnitinsim/ajax/eula_response.php",dataType:"text",data:{action:"accept_eula",sesskey:M.cfg.sesskey},success:function success(){b.get_string("eulaaccepted","plagiarism_turnitinsim").done(function(c){a(".turnitinsim_eulacontainer").hide().html(c).fadeIn();b.get_string("submissiondisplaystatus:queued","plagiarism_turnitinsim").done(function(b){a(".tii_status_text").html(b)})})}})});a(document).on("click","#pp-eula-decline",function(){b.get_string("euladeclined","plagiarism_turnitinsim").done(function(b){a(".turnitinsim_eulacontainer").hide().html(b).fadeIn()});a("input[name=submitbutton]").prop("disabled","")})}}}); +define ("plagiarism_turnitinsim/eula_response",["jquery","core/str"],function(a,b){return{eulaResponse:function eulaResponse(){a(document).ready(function(){if(a("#turnitinsim_eulacontainer").length){a("input[name=submitbutton]").prop("disabled","disabled")}});a(document).on("click","#pp-eula-accept",function(){a("input[name=submitbutton]").prop("disabled","");a.ajax({type:"POST",url:M.cfg.wwwroot+"/plagiarism/turnitinsim/ajax/eula_response.php",dataType:"text",data:{action:"accept_eula",sesskey:M.cfg.sesskey},success:function success(){b.get_string("eulaaccepted","plagiarism_turnitinsim").done(function(c){a(".turnitinsim_eulacontainer").hide().html(c).fadeIn();b.get_string("submissiondisplaystatus:queued","plagiarism_turnitinsim").done(function(b){a(".tii_status_text").html(b)})})}})});a(document).on("click","#pp-eula-decline",function(){b.get_string("euladeclined","plagiarism_turnitinsim").done(function(b){a(".turnitinsim_eulacontainer").hide().html(b).fadeIn()});a("input[name=submitbutton]").prop("disabled","")})}}}); //# sourceMappingURL=eula_response.min.js.map diff --git a/amd/build/eula_response.min.js.map b/amd/build/eula_response.min.js.map index c004984..a820c02 100644 --- a/amd/build/eula_response.min.js.map +++ b/amd/build/eula_response.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["../src/eula_response.js"],"names":["define","$","str","eulaResponse","document","ready","prop","on","ajax","type","url","M","cfg","wwwroot","dataType","data","action","sesskey","success","get_string","done","text","hide","html","fadeIn"],"mappings":"AA4BAA,OAAM,wCAAC,CAAC,QAAD,CAAW,UAAX,CAAD,CAAyB,SAASC,CAAT,CAAYC,CAAZ,CAAiB,CAC5C,MAAO,CACHC,YAAY,CAAE,uBAAW,CACrBF,CAAC,CAACG,QAAD,CAAD,CAAYC,KAAZ,CAAkB,UAAW,CACzBJ,CAAC,CAAC,0BAAD,CAAD,CAA8BK,IAA9B,CAAmC,UAAnC,CAA+C,UAA/C,CACH,CAFD,EAIAL,CAAC,CAACG,QAAD,CAAD,CAAYG,EAAZ,CAAe,OAAf,CAAwB,iBAAxB,CAA2C,UAAW,CAClDN,CAAC,CAAC,0BAAD,CAAD,CAA8BK,IAA9B,CAAmC,UAAnC,CAA+C,EAA/C,EAGAL,CAAC,CAACO,IAAF,CAAO,CACHC,IAAI,CAAE,MADH,CAEHC,GAAG,CAAEC,CAAC,CAACC,GAAF,CAAMC,OAAN,CAAgB,gDAFlB,CAGHC,QAAQ,CAAE,MAHP,CAIHC,IAAI,CAAE,CAACC,MAAM,CAAE,aAAT,CAAwBC,OAAO,CAAEN,CAAC,CAACC,GAAF,CAAMK,OAAvC,CAJH,CAKHC,OAAO,CAAE,kBAAW,CAChBhB,CAAG,CAACiB,UAAJ,CAAe,cAAf,CAA+B,wBAA/B,EAAyDC,IAAzD,CAA8D,SAASC,CAAT,CAAe,CACzEpB,CAAC,CAAC,4BAAD,CAAD,CAAgCqB,IAAhC,GAAuCC,IAAvC,CAA4CF,CAA5C,EAAkDG,MAAlD,GAEAtB,CAAG,CAACiB,UAAJ,CAAe,gCAAf,CAAiD,wBAAjD,EAA2EC,IAA3E,CAAgF,SAASC,CAAT,CAAe,CAC3FpB,CAAC,CAAC,kBAAD,CAAD,CAAsBsB,IAAtB,CAA2BF,CAA3B,CACH,CAFD,CAGH,CAND,CAOH,CAbE,CAAP,CAeH,CAnBD,EAqBApB,CAAC,CAACG,QAAD,CAAD,CAAYG,EAAZ,CAAe,OAAf,CAAwB,kBAAxB,CAA4C,UAAW,CACnDL,CAAG,CAACiB,UAAJ,CAAe,cAAf,CAA+B,wBAA/B,EAAyDC,IAAzD,CAA8D,SAASC,CAAT,CAAe,CACzEpB,CAAC,CAAC,4BAAD,CAAD,CAAgCqB,IAAhC,GAAuCC,IAAvC,CAA4CF,CAA5C,EAAkDG,MAAlD,EACH,CAFD,EAIAvB,CAAC,CAAC,0BAAD,CAAD,CAA8BK,IAA9B,CAAmC,UAAnC,CAA+C,EAA/C,CACH,CAND,CAOH,CAlCE,CAoCV,CArCK,CAAN","sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle 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 Moodle. If not, see .\n\n/**\n * Javascript controller for handling the EULA response.\n *\n * @package plagiarism_turnitinsim\n * @copyright 2018 Turnitin\n * @author John McGettrick \n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\n\n/**\n * @module plagiarism_turnitinsim/handleEulaResponse\n */\n\ndefine(['jquery', 'core/str'], function($, str) {\n return {\n eulaResponse: function() {\n $(document).ready(function() {\n $('input[name=submitbutton]').prop('disabled', 'disabled');\n });\n\n $(document).on('click', '#pp-eula-accept', function() {\n $('input[name=submitbutton]').prop('disabled', '');\n\n // Hide the EULA link.\n $.ajax({\n type: \"POST\",\n url: M.cfg.wwwroot + \"/plagiarism/turnitinsim/ajax/eula_response.php\",\n dataType: \"text\",\n data: {action: \"accept_eula\", sesskey: M.cfg.sesskey},\n success: function() {\n str.get_string('eulaaccepted', 'plagiarism_turnitinsim').done(function(text) {\n $('.turnitinsim_eulacontainer').hide().html(text).fadeIn();\n\n str.get_string('submissiondisplaystatus:queued', 'plagiarism_turnitinsim').done(function(text) {\n $('.tii_status_text').html(text);\n });\n });\n }\n });\n });\n\n $(document).on('click', '#pp-eula-decline', function() {\n str.get_string('euladeclined', 'plagiarism_turnitinsim').done(function(text) {\n $('.turnitinsim_eulacontainer').hide().html(text).fadeIn();\n });\n\n $('input[name=submitbutton]').prop('disabled', '');\n });\n }\n };\n});"],"file":"eula_response.min.js"} \ No newline at end of file +{"version":3,"sources":["../src/eula_response.js"],"names":["define","$","str","eulaResponse","document","ready","length","prop","on","ajax","type","url","M","cfg","wwwroot","dataType","data","action","sesskey","success","get_string","done","text","hide","html","fadeIn"],"mappings":"AA4BAA,OAAM,wCAAC,CAAC,QAAD,CAAW,UAAX,CAAD,CAAyB,SAASC,CAAT,CAAYC,CAAZ,CAAiB,CAC5C,MAAO,CACHC,YAAY,CAAE,uBAAW,CACrBF,CAAC,CAACG,QAAD,CAAD,CAAYC,KAAZ,CAAkB,UAAW,CACzB,GAAIJ,CAAC,CAAC,4BAAD,CAAD,CAAgCK,MAApC,CAA4C,CACxCL,CAAC,CAAC,0BAAD,CAAD,CAA8BM,IAA9B,CAAmC,UAAnC,CAA+C,UAA/C,CACH,CACJ,CAJD,EAMAN,CAAC,CAACG,QAAD,CAAD,CAAYI,EAAZ,CAAe,OAAf,CAAwB,iBAAxB,CAA2C,UAAW,CAClDP,CAAC,CAAC,0BAAD,CAAD,CAA8BM,IAA9B,CAAmC,UAAnC,CAA+C,EAA/C,EAGAN,CAAC,CAACQ,IAAF,CAAO,CACHC,IAAI,CAAE,MADH,CAEHC,GAAG,CAAEC,CAAC,CAACC,GAAF,CAAMC,OAAN,CAAgB,gDAFlB,CAGHC,QAAQ,CAAE,MAHP,CAIHC,IAAI,CAAE,CAACC,MAAM,CAAE,aAAT,CAAwBC,OAAO,CAAEN,CAAC,CAACC,GAAF,CAAMK,OAAvC,CAJH,CAKHC,OAAO,CAAE,kBAAW,CAChBjB,CAAG,CAACkB,UAAJ,CAAe,cAAf,CAA+B,wBAA/B,EAAyDC,IAAzD,CAA8D,SAASC,CAAT,CAAe,CACzErB,CAAC,CAAC,4BAAD,CAAD,CAAgCsB,IAAhC,GAAuCC,IAAvC,CAA4CF,CAA5C,EAAkDG,MAAlD,GAEAvB,CAAG,CAACkB,UAAJ,CAAe,gCAAf,CAAiD,wBAAjD,EAA2EC,IAA3E,CAAgF,SAASC,CAAT,CAAe,CAC3FrB,CAAC,CAAC,kBAAD,CAAD,CAAsBuB,IAAtB,CAA2BF,CAA3B,CACH,CAFD,CAGH,CAND,CAOH,CAbE,CAAP,CAeH,CAnBD,EAqBArB,CAAC,CAACG,QAAD,CAAD,CAAYI,EAAZ,CAAe,OAAf,CAAwB,kBAAxB,CAA4C,UAAW,CACnDN,CAAG,CAACkB,UAAJ,CAAe,cAAf,CAA+B,wBAA/B,EAAyDC,IAAzD,CAA8D,SAASC,CAAT,CAAe,CACzErB,CAAC,CAAC,4BAAD,CAAD,CAAgCsB,IAAhC,GAAuCC,IAAvC,CAA4CF,CAA5C,EAAkDG,MAAlD,EACH,CAFD,EAIAxB,CAAC,CAAC,0BAAD,CAAD,CAA8BM,IAA9B,CAAmC,UAAnC,CAA+C,EAA/C,CACH,CAND,CAOH,CApCE,CAsCV,CAvCK,CAAN","sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle 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 Moodle. If not, see .\n\n/**\n * Javascript controller for handling the EULA response.\n *\n * @package plagiarism_turnitinsim\n * @copyright 2018 Turnitin\n * @author John McGettrick \n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\n\n/**\n * @module plagiarism_turnitinsim/handleEulaResponse\n */\n\ndefine(['jquery', 'core/str'], function($, str) {\n return {\n eulaResponse: function() {\n $(document).ready(function() {\n if ($(\"#turnitinsim_eulacontainer\").length) {\n $('input[name=submitbutton]').prop('disabled', 'disabled');\n }\n });\n\n $(document).on('click', '#pp-eula-accept', function() {\n $('input[name=submitbutton]').prop('disabled', '');\n\n // Hide the EULA link.\n $.ajax({\n type: \"POST\",\n url: M.cfg.wwwroot + \"/plagiarism/turnitinsim/ajax/eula_response.php\",\n dataType: \"text\",\n data: {action: \"accept_eula\", sesskey: M.cfg.sesskey},\n success: function() {\n str.get_string('eulaaccepted', 'plagiarism_turnitinsim').done(function(text) {\n $('.turnitinsim_eulacontainer').hide().html(text).fadeIn();\n\n str.get_string('submissiondisplaystatus:queued', 'plagiarism_turnitinsim').done(function(text) {\n $('.tii_status_text').html(text);\n });\n });\n }\n });\n });\n\n $(document).on('click', '#pp-eula-decline', function() {\n str.get_string('euladeclined', 'plagiarism_turnitinsim').done(function(text) {\n $('.turnitinsim_eulacontainer').hide().html(text).fadeIn();\n });\n\n $('input[name=submitbutton]').prop('disabled', '');\n });\n }\n };\n});"],"file":"eula_response.min.js"} \ No newline at end of file diff --git a/amd/src/eula_response.js b/amd/src/eula_response.js index 237623a..745004c 100644 --- a/amd/src/eula_response.js +++ b/amd/src/eula_response.js @@ -30,7 +30,9 @@ define(['jquery', 'core/str'], function($, str) { return { eulaResponse: function() { $(document).ready(function() { - $('input[name=submitbutton]').prop('disabled', 'disabled'); + if ($("#turnitinsim_eulacontainer").length) { + $('input[name=submitbutton]').prop('disabled', 'disabled'); + } }); $(document).on('click', '#pp-eula-accept', function() { diff --git a/db/upgrade.php b/db/upgrade.php index fad110e..44b4e06 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -321,5 +321,11 @@ function xmldb_plagiarism_turnitinsim_upgrade($oldversion) { upgrade_plugin_savepoint(true, 2021030201, 'plagiarism', 'turnitinsim'); } + + if ($oldversion < 2021030301) { + (new handle_deprecation)->unset_turnitinsim_use(); + upgrade_plugin_savepoint(true, 2021030301, 'plagiarism', 'turnitinsim'); + } + return true; } \ No newline at end of file diff --git a/lib.php b/lib.php index aa4d69b..be9c88b 100644 --- a/lib.php +++ b/lib.php @@ -498,7 +498,7 @@ public function print_disclosure($cmid, $submissiontype = 'file') { return html_writer::tag( 'div', get_string('eulaalreadyaccepted', 'plagiarism_turnitinsim'), - array('class' => 'turnitinsim_eulacontainer', 'id' => 'turnitinsim_eulacontainer') + array('class' => 'turnitinsim_eulacontainer', 'id' => 'turnitinsim_eulaaccepted') ); } @@ -506,7 +506,7 @@ public function print_disclosure($cmid, $submissiontype = 'file') { return html_writer::tag( 'div', get_string('eulanotrequired', 'plagiarism_turnitinsim'), - array('class' => 'turnitinsim_eulacontainer', 'id' => 'turnitinsim_eulacontainer') + array('class' => 'turnitinsim_eulacontainer', 'id' => 'turnitinsim_eulanotrequired') ); } diff --git a/styles.css b/styles.css index 8f52a39..7d2cc32 100644 --- a/styles.css +++ b/styles.css @@ -34,14 +34,19 @@ } /* EULA */ -.turnitinsim_eulacontainer { +.turnitinsim_eulacontainer, +#turnitinsim_eulaaccepted, +#turnitinsim_eulanotrequired { border: 1px solid #db4221; padding: 10px; text-align: center; margin-bottom: 10px; } -.turnitinsim_eulacontainer #pp-eula-accept { +.turnitinsim_eulacontainer, +#turnitinsim_eulaaccepted, +#turnitinsim_eulanotrequired, +#pp-eula-accept { margin-right: 5px; } diff --git a/version.php b/version.php index 554de8c..f3c9292 100644 --- a/version.php +++ b/version.php @@ -25,7 +25,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2021030201; +$plugin->version = 2021030301; $plugin->release = "v1.2"; $plugin->requires = 2017051500; $plugin->component = 'plagiarism_turnitinsim'; From 02e2337930c760a0ec24aae46d40ffffd292f445 Mon Sep 17 00:00:00 2001 From: David Winn Date: Tue, 9 Mar 2021 12:13:26 +0000 Subject: [PATCH 2/6] Change quizanswer default --- db/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/upgrade.php b/db/upgrade.php index 44b4e06..69c0617 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -294,7 +294,7 @@ function xmldb_plagiarism_turnitinsim_upgrade($oldversion) { (new handle_deprecation)->unset_turnitinsim_use(); $table = new xmldb_table('plagiarism_turnitinsim_sub'); - $field = new xmldb_field('quizanswer', XMLDB_TYPE_CHAR, '32', null, false, null, null, 'tiiretrytime'); + $field = new xmldb_field('quizanswer', XMLDB_TYPE_CHAR, '32', null, false, null, 0, 'tiiretrytime'); if (!$dbman->field_exists($table, $field)) { $dbman->add_field($table, $field); From c315e38ca8427d3f2144521225549111a105e253 Mon Sep 17 00:00:00 2001 From: David Winn Date: Tue, 9 Mar 2021 12:18:17 +0000 Subject: [PATCH 3/6] Remove unnecessary lines --- db/upgrade.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/db/upgrade.php b/db/upgrade.php index 69c0617..ff95f45 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -321,11 +321,5 @@ function xmldb_plagiarism_turnitinsim_upgrade($oldversion) { upgrade_plugin_savepoint(true, 2021030201, 'plagiarism', 'turnitinsim'); } - - if ($oldversion < 2021030301) { - (new handle_deprecation)->unset_turnitinsim_use(); - upgrade_plugin_savepoint(true, 2021030301, 'plagiarism', 'turnitinsim'); - } - return true; } \ No newline at end of file From f47434a51fba2ad901ecdb8eaac8befbdf5af1b9 Mon Sep 17 00:00:00 2001 From: Jordan Marshall Date: Tue, 9 Mar 2021 12:49:11 +0000 Subject: [PATCH 4/6] Update help links to instructor site --- lang/da/plagiarism_turnitinsim.php | 2 +- lang/de/plagiarism_turnitinsim.php | 2 +- lang/en/plagiarism_turnitinsim.php | 2 +- lang/es_mx/plagiarism_turnitinsim.php | 2 +- lang/fr/plagiarism_turnitinsim.php | 2 +- lang/ja/plagiarism_turnitinsim.php | 2 +- lang/ko/plagiarism_turnitinsim.php | 2 +- lang/nl/plagiarism_turnitinsim.php | 2 +- lang/no/plagiarism_turnitinsim.php | 2 +- lang/pt_br/plagiarism_turnitinsim.php | 2 +- lang/sv/plagiarism_turnitinsim.php | 2 +- lang/zh_cn/plagiarism_turnitinsim.php | 2 +- lang/zh_tw/plagiarism_turnitinsim.php | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lang/da/plagiarism_turnitinsim.php b/lang/da/plagiarism_turnitinsim.php index 69cdff9..548cbcb 100644 --- a/lang/da/plagiarism_turnitinsim.php +++ b/lang/da/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/da/integrity/administrator/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/da/integrity/instruktor/moodle.htm'; diff --git a/lang/de/plagiarism_turnitinsim.php b/lang/de/plagiarism_turnitinsim.php index 49a6503..8dc1fa2 100644 --- a/lang/de/plagiarism_turnitinsim.php +++ b/lang/de/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/de/integrity/administratoren/verwenden-von-turnitin-mit-moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/de/integrity/lehrkrafte/moodle.htm'; diff --git a/lang/en/plagiarism_turnitinsim.php b/lang/en/plagiarism_turnitinsim.php index 0254b5c..573d88a 100644 --- a/lang/en/plagiarism_turnitinsim.php +++ b/lang/en/plagiarism_turnitinsim.php @@ -198,4 +198,4 @@ $string['errorgettingsubmissioninfo'] = 'There was an error attempting to get the submission info.'; $string['errorprocessingdeletedsubmission'] = 'This submission belongs to a deleted assignment and cannot be processed.'; $string['errorquizattemptnotfound'] = 'The quiz attempt for this submission could not be found.'; -$string['help_link'] = 'https://help.turnitin.com/integrity/administrator/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/integrity/instructor/moodle.htm'; diff --git a/lang/es_mx/plagiarism_turnitinsim.php b/lang/es_mx/plagiarism_turnitinsim.php index 2d888e8..1df35df 100644 --- a/lang/es_mx/plagiarism_turnitinsim.php +++ b/lang/es_mx/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/es/integrity/administrador/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/es/integrity/instructor/moodle.htm'; diff --git a/lang/fr/plagiarism_turnitinsim.php b/lang/fr/plagiarism_turnitinsim.php index 5c60025..35c64e2 100644 --- a/lang/fr/plagiarism_turnitinsim.php +++ b/lang/fr/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/fr/integrity/administrateur/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/fr/integrity/enseignants/moodle.htm'; diff --git a/lang/ja/plagiarism_turnitinsim.php b/lang/ja/plagiarism_turnitinsim.php index f8af95d..15e8441 100644 --- a/lang/ja/plagiarism_turnitinsim.php +++ b/lang/ja/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/jp/integrity/管理者/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/jp/integrity/講師用/moodle.htm'; diff --git a/lang/ko/plagiarism_turnitinsim.php b/lang/ko/plagiarism_turnitinsim.php index b40fd14..866013b 100644 --- a/lang/ko/plagiarism_turnitinsim.php +++ b/lang/ko/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/ko/integrity/관리자/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/ko/integrity/강사/moodle.htm'; diff --git a/lang/nl/plagiarism_turnitinsim.php b/lang/nl/plagiarism_turnitinsim.php index f445164..48a64d4 100644 --- a/lang/nl/plagiarism_turnitinsim.php +++ b/lang/nl/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/nl/integrity/beheerder/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/nl/integrity/docenten/moodle.htm '; diff --git a/lang/no/plagiarism_turnitinsim.php b/lang/no/plagiarism_turnitinsim.php index e2bfe98..4af9eb1 100644 --- a/lang/no/plagiarism_turnitinsim.php +++ b/lang/no/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/nb/integrity/administrer/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/nb/integrity/instruktor/moodle.htm'; diff --git a/lang/pt_br/plagiarism_turnitinsim.php b/lang/pt_br/plagiarism_turnitinsim.php index 965a22d..9b31f52 100644 --- a/lang/pt_br/plagiarism_turnitinsim.php +++ b/lang/pt_br/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/pt-br/integrity/administrador/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/pt-br/integrity/professor/moodle.htm'; diff --git a/lang/sv/plagiarism_turnitinsim.php b/lang/sv/plagiarism_turnitinsim.php index 63e5a4c..7af8e22 100644 --- a/lang/sv/plagiarism_turnitinsim.php +++ b/lang/sv/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/sv/integrity/administrator/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/sv/integrity/instruktorer/moodle.htm'; diff --git a/lang/zh_cn/plagiarism_turnitinsim.php b/lang/zh_cn/plagiarism_turnitinsim.php index e605ddd..1bb0442 100644 --- a/lang/zh_cn/plagiarism_turnitinsim.php +++ b/lang/zh_cn/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/zh-hans/integrity/管理员身/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/zh-hans/integrity/教师/moodle.htm'; diff --git a/lang/zh_tw/plagiarism_turnitinsim.php b/lang/zh_tw/plagiarism_turnitinsim.php index 4fa6c5f..6be7cb0 100644 --- a/lang/zh_tw/plagiarism_turnitinsim.php +++ b/lang/zh_tw/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/zh-tw/integrity/管理員/moodle.htm#step-four'; +$string['help_link'] = 'https://help.turnitin.com/zh-tw/integrity/教師/moodle.htm'; From b10aaf3fa3fe048eeea19bc94cbf02b75de77359 Mon Sep 17 00:00:00 2001 From: Jordan Marshall Date: Tue, 9 Mar 2021 12:52:24 +0000 Subject: [PATCH 5/6] Remove white space --- lang/nl/plagiarism_turnitinsim.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/nl/plagiarism_turnitinsim.php b/lang/nl/plagiarism_turnitinsim.php index 48a64d4..a8724f9 100644 --- a/lang/nl/plagiarism_turnitinsim.php +++ b/lang/nl/plagiarism_turnitinsim.php @@ -25,4 +25,4 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['help_link'] = 'https://help.turnitin.com/nl/integrity/docenten/moodle.htm '; +$string['help_link'] = 'https://help.turnitin.com/nl/integrity/docenten/moodle.htm'; From 1500904eb03806b9ee41a6eeb2b0b0febfc938c9 Mon Sep 17 00:00:00 2001 From: David Winn Date: Tue, 9 Mar 2021 15:21:57 +0000 Subject: [PATCH 6/6] Release notes for v2021030901 --- CHANGELOG.md | 13 +++++++++++++ version.php | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73047de..00814e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +### Date: 2021-March-09 +### Release: v2021030901 + +#### :wrench: Fixes and enhancements + +--- + +#### Intro files no longer prevent submissions + +As of our last release, a bug caused when attaching an intro file to a submission prevented students from submitting. We have fixed this bug as a matter of urgency, and the intended functionality has been restored. + +--- + ### Date: 2021-March-02 ### Release: v2021030201 diff --git a/version.php b/version.php index f3c9292..3892d1f 100644 --- a/version.php +++ b/version.php @@ -25,7 +25,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2021030301; +$plugin->version = 2021030901; $plugin->release = "v1.2"; $plugin->requires = 2017051500; $plugin->component = 'plagiarism_turnitinsim';