Skip to content

Commit 802e09e

Browse files
authored
Merge pull request #588 from turnitin/develop
Release 2021060801
2 parents 35b5a30 + 5141ea6 commit 802e09e

File tree

64 files changed

+332
-275
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+332
-275
lines changed

CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
### Date: 2021-June-08
2+
### Release: 2021060801
3+
4+
#### :wrench: Fixes and enhancements
5+
6+
####Support for Moodle 3.11
7+
You can now confidently use this integration with Moodle 3.11.
8+
9+
####Use Turnitin with Moodle Quizzes
10+
We can now check for similarity on any files that are uploaded as a part of a Moodle quiz.
11+
12+
####Cron tasks will no longer run when Moodle is not configured
13+
Thanks to alexmorrisnz for the pull request!
14+
15+
####Removed grades change the grade in Moodle
16+
When a grade is removed from Turnitin, this removal will also be reflected within Moodle as the submission being ungraded.
17+
18+
####Turnitin classes will now be expired along with a Moodle course
19+
We will now sync dates in Moodle with the Turnitin database. When the Moodle course expires, we will close out those classes in Turnitin. This will free up the active student count for those classes.
20+
21+
####Create or access Moodle assignments, forums, and workshops when Turnitin is disabled
22+
If Turnitin is disabled for an assignment, forum, or workshop and Turnitin is unavailable by having the wrong configuration options or being under maintenance, then an error message would be shown. This bug has been fixed, and Turnitin being unreachable will no longer impact your ability to create or access your content.
23+
24+
####Changes to the Moodle course name will be reflected everywhere
25+
When a Moodle course title is changed, this will now be updated in Turnitin too. This will include the digital receipts students receive when they submit their paper.
26+
27+
---
28+
129
### Date: 2020-November-30
230
### Release: 2020113001
331

ajax.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
$user->join_user_to_class($coursedata->turnitin_cid);
6262
}
6363

64+
// Update course data in Turnitin.
65+
$turnitinassignment = new turnitin_assignment(0);
66+
$turnitinassignment->edit_tii_course($coursedata);
67+
6468
// Edit assignment in Turnitin in case any changes have been made that would affect DV.
6569
$pluginturnitin = new plagiarism_plugin_turnitin();
6670
$syncassignment = $pluginturnitin->sync_tii_assignment($cm, $coursedata->turnitin_cid);
@@ -94,17 +98,16 @@
9498
$return["status"] = $pluginturnitin->update_grades_from_tii($cm);
9599

96100
$moduleconfigvalue = new stdClass();
101+
$moduleconfigvalue->value = time();
97102

98103
// If we have a turnitin timestamp stored then update it, otherwise create it.
99104
if ($timestampid = $DB->get_record('plagiarism_turnitin_config',
100105
array('cm' => $cm->id, 'name' => 'grades_last_synced'), 'id')) {
101106
$moduleconfigvalue->id = $timestampid->id;
102-
$moduleconfigvalue->value = time();
103107
$DB->update_record('plagiarism_turnitin_config', $moduleconfigvalue);
104108
} else {
105109
$moduleconfigvalue->cm = $cm->id;
106110
$moduleconfigvalue->name = 'grades_last_synced';
107-
$moduleconfigvalue->value = time();
108111
$moduleconfigvalue->config_hash = $moduleconfigvalue->cm."_".$moduleconfigvalue->name;
109112
$DB->insert_record('plagiarism_turnitin_config', $moduleconfigvalue);
110113
}

amd/build/eula.min.js

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/build/eula.min.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/build/modal_eula_launch.min.js

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/build/modal_eula_launch.min.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/build/modal_peermark_manager_launch.min.js

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)