Skip to content

Commit 7d4238b

Browse files
authored
Merge pull request #783 from turnitin/develop
Release v2024120501
2 parents ffa502c + be1a287 commit 7d4238b

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

+2167
-16862
lines changed

CHANGELOG.md

+49
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
### Date: 2024-December-05
2+
### Release: v2024120501
3+
4+
---
5+
6+
#### Extra Classes No Longer Created in Turnitin
7+
Previously classes would be created in Turnitin for some Moodle assignments even if the plagiarism plugin was disabled for those assignments. This has now been fixed.
8+
9+
#### Course Backups Fixed
10+
An issue with database collation was causing course backup and deletion to fail for some users. This has now been resolved.
11+
12+
#### Cron Handling of Large Files Improved
13+
Previously there was an issue with our cron task which would occasionally cause the server to run out of memory when sending a high number of submissions to Turnitin. This has now been resolved.
14+
15+
#### Error Files No Longer Stuck in Submission Queue
16+
Previously there was an issue which would cause some files flagged with errors to be stuck in the submission queue. This would eventually cause the queue to fill and prevent other submissions from being sent. This issue has now been fixed.
17+
18+
#### Migration to AMD Modules
19+
We have migrated our javascript code to use AMD modules. This should help reduce loading times for Moodle sites.
20+
21+
#### Unnecessary Database Reads Removed
22+
We have increased the efficiency of our database reads during cron task runs.
23+
24+
#### Local Role Assignment Implemented
25+
We now fully support assignment of roles at the activity module level. Similarity scores should now appear as expected for participants locally assigned the role of Teacher or above.
26+
27+
#### Error Checking For Large Files
28+
Previously there was an issue when a file over 100MB was attempted to be sent to Turnitin which would cause further submissions not to be sent. This issue has now been resolved and we now handle this error correctly.
29+
30+
#### Similarity Scores Now Displayed For Forum Topics
31+
We fixed an error that was preventing similarity scores from being displayed in forum topics.
32+
33+
#### Similarity Scores Now Displaying For Forum Posts Containing Images
34+
Previously adding an image to a forum submission could cause the similarity score for that submission to fail to be displayed. This issue has now been resolved.
35+
36+
#### Fixed Database Export for Moodle 4.4+
37+
The Database Export tab is now working as expected in Moodle versions 4.4+.
38+
39+
#### Error 404 Fixed
40+
Previously there was an error where a javascript module would be loaded incorrectly on the assignment settings page, causing an error 404 to display. This has now been fixed.
41+
42+
#### Detaching Rubrics Fixed
43+
Previously an error prevented detaching of rubrics from assignments. This has now been fixed.
44+
45+
#### Rubric Modal Close Button Fixed
46+
Previously the close button for the rubric modal window was not working. This now closes the window as expected.
47+
48+
---
49+
150
### Date: 2024-July-24
251
### Release: v2024072401
352

LICENSE

+674
Large diffs are not rendered by default.

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,19 @@ If you are having issues, please consult our [TROUBLE SHOOTING](https://github.c
1414
Installation
1515
------------
1616

17-
Before installing this plugin firstly make sure you are logged in as an Administrator and that you are using Moodle 3.5 or higher.
17+
Before installing this plugin firstly make sure you are logged in as an Administrator and that you are using Moodle 4.1 or higher.
1818

1919
The Plagiarism Plugin can be used within the following Moodle modules:
2020

2121
- Assignments
2222
- Forums
23-
- Quiz *
23+
- Quiz
2424
- Workshops
2525

26-
\* This is currently only essay type answers and is also reliant on Moodle merging [this code patch](https://github.com/moodle/moodle/commit/7a8e3ec4b13408d18734ab46bdb03b2da55f317d) into their core offering. For more information see: [MDL-32226](https://tracker.moodle.org/browse/MDL-32226).
27-
2826
To install, you need to copy all the files into the plagiarism/turnitin directory in your Moodle installation. You should then go to `"Site Administration" > "Notifications"` where you should follow the on screen instructions.
2927

3028
Plagiarism plugins also need to be enabled before this plugin can be used. You can do this by going to `"Site Administration" > "Advanced Features"` and ticking the "Enable plagiarism plugins" box before saving.
3129

3230
You can set default values and whether the plugin is enabled within Moodle modules by going to `"Site Administration" > "Plugins" > "Plagiarism prevention" > "Turnitin plagiarism plugin"`.
3331

34-
To create/update assignments, process submissions and update grades your moodle environment will need to have cron job running regularly. For information on how to do this please consult https://docs.moodle.org/37/en/Cron.
32+
To create/update assignments, process submissions and update grades your moodle environment will need to have cron job running regularly. For information on how to do this please consult https://docs.moodle.org/en/Cron.

ajax.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@
346346
$instructor->set_user_values_from_tii();
347347
$instructorrubrics = $instructor->get_instructor_rubrics();
348348

349-
$options = array('' => get_string('norubric', 'plagiarism_turnitin')) + $instructorrubrics;
349+
$options = array(0 => get_string('norubric', 'plagiarism_turnitin')) + $instructorrubrics;
350350

351351
// Get rubrics that are shared on the Turnitin account.
352352
$turnitinclass = new turnitin_class($courseid);

amd/build/modal_rubric_manager_launch.min.js

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

amd/build/modal_rubric_manager_launch.min.js.map

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

amd/build/new_rubric.min.js

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

0 commit comments

Comments
 (0)