Skip to content

Commit

Permalink
Merge pull request #21 from turnitin/develop
Browse files Browse the repository at this point in the history
Release 2020030501
  • Loading branch information
dwinn authored Mar 5, 2020
2 parents c547c1d + 47d959d commit 69467fe
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 27 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
TurnitinSim Plagiarism plugin for Moodle
Turnitin Integrity Plugin for Moodle
=

Description:
-
Utilize **Turnitin Integrity’s** Similarity Report and Authorship investigating tools within Moodle’s assignment workflow by integrating with the Turnitin Integrity plugin. **Turnitin Integrity** is a commercial plagiarism and authorship detection system whose features depend on which paid license has been selected. This plugin is developed and maintained by Turnitin.

Features:
-
- Plugin integrates into the existing Moodle assignment, Forum, and Workshop workflows
- Plugin provides Turnitin Originality, Similarity, and SimCheck services dependant on the license used
- Receive a similarity score for your Moodle assignment, Forum, and Workshop submissions
- Launch into the Turnitin viewer to review a detailed report on the similarity score produced
- Option for anonymized submissions which masks the student’s details when sent to Turnitin

Useful Links
-
[Creating the your Turnitin API key](https://help.turnitin.com/simcheck/integrations/moodle/administrator/account-basics/creating-an-API-key.htm)

Installation
-

Expand All @@ -10,7 +26,7 @@ Plagiarism plugins also need to be enabled before this plugin can be used. This

Configuring
-
To configure the plugin go to `"Site administration" > "Plugins" > "Plagiarism" > "TurnitinSim plagiarism plugin"` and enter your API key and API URL.
To configure the plugin go to `"Site administration" > "Plugins" > "Plagiarism" > "Turnitin Integrity plagiarism plugin"` and enter your API key and API URL.

Testing
-
Expand Down
22 changes: 11 additions & 11 deletions lang/en/plagiarism_turnitinsim.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
$string['messageprovider:new_eula'] = 'Turnitin new EULA release';
$string['neweula:subject'] = 'Turnitin new EULA released';
$string['neweula:message'] = 'Turnitin have released a new EULA, for further information please click <a href="{$a}">here</a>.';
$string['pluginname'] = 'Turnitin Similarity plagiarism plugin';
$string['pluginname'] = 'Turnitin Integrity plugin';
$string['pluginsetup'] = 'Setup';
$string['queuedrafts'] = 'Process draft submissions';
$string['queuedrafts_help'] = 'Please note that draft submissions will not be indexed in Turnitin for checking against';
Expand Down Expand Up @@ -108,8 +108,8 @@
$string['submissiondisplayerror:eulanotaccepted'] = 'EULA not accepted';
$string['submissiondisplayerror:eulanotaccepted_help'] = 'The Turnitin EULA needs to be accepted by the submitter before the submission can be checked for Similarity.';
$string['resubmittoturnitin'] = 'Resubmit to Turnitin';
$string['taskadminupdate'] = 'Update local configuration for Turnitin Similarity Plagiarism Plugin';
$string['taskgetreportscores'] = 'Fetch Report Scores for Turnitin Similarity Plagiarism Plugin';
$string['taskadminupdate'] = 'Update local configuration for Turnitin Integrity Plugin';
$string['taskgetreportscores'] = 'Fetch Report Scores for Turnitin Integrity Plugin';
$string['taskoutputenabledfeaturesretrieved'] = 'Turnitin enabled features retrieved';
$string['taskoutputenabledfeaturesnotretrieved'] = 'Turnitin enabled features could not be retrieved';
$string['taskoutputenabledfeaturesretrievalfailure'] = 'Turnitin enabled features call failed';
Expand All @@ -122,7 +122,7 @@
$string['taskoutputfailedscorerequest'] = 'There was a problem requesting an originality report score from the Turnitin API for submission id: {$a}';
$string['taskoutputfailedupload'] = 'There was a problem uploading a file to the Turnitin API for submission id: {$a}';
$string['taskoutputfileuploaded'] = 'File uploaded to Turnitin submission: {$a}';
$string['taskoutputpluginnotconfigured'] = 'The task to {$a} could not be run as the Turnitin Similarity plugin is not configured. <br/>Please go to the Plugin configuration page in Site Administration to add your Turnitin API Credentials.';
$string['taskoutputpluginnotconfigured'] = 'The task to {$a} could not be run as the Turnitin Integrity plugin is not configured. <br/>Please go to the Plugin configuration page in Site Administration to add your Turnitin API Credentials.';
$string['taskoutputsubmissioncreated'] = 'Submission created in Turnitin: {$a}';
$string['taskoutputsubmissionnotcreatedeula'] = 'The submission could not be created in Turnitin because the submitter has not accepted the EULA.';
$string['taskoutputsubmissionnotcreatedgeneral'] = 'The submission could not be created in Turnitin. Please consult your logs.';
Expand All @@ -135,27 +135,27 @@
$string['taskoutputwebhookretrieved'] = 'Webhook {$a} retrieved. Webhook is active.';
$string['taskoutputwebhooknotretrieved'] = 'Webhook {$a} could not be retrieved. A new webhook will be created';
$string['taskoutputwebhookretrievalfailure'] = 'Webhook {$a} retrieval call failed.';
$string['tasksendqueuedsubmissions'] = 'Send Queued Files from the Turnitin Similarity Plagiarism Plugin';
$string['turnitinsim'] = 'Turnitin Similarity plagiarism plugin';
$string['turnitinsim:enable'] = 'Enable Turnitin Similarity';
$string['tasksendqueuedsubmissions'] = 'Send Queued Files from the Turnitin Integrity Plugin';
$string['turnitinsim'] = 'Turnitin Integrity plugin';
$string['turnitinsim:enable'] = 'Enable Turnitin Integrity';
$string['turnitinsim:viewfullreport'] = 'View Originality Report';
$string['turnitinapikey'] = 'Turnitin API Key';
$string['turnitinapiurl'] = 'Turnitin API URL';
$string['turnitinsiminternet'] = 'Check against internet content';
$string['turnitinsimprivate'] = 'Check against private content';
$string['turnitinconfig'] = 'Plugin configuration';
$string['turnitinenablelogging'] = 'Enable diagnostic mode';
$string['turnitinfeatures'] = 'Turnitin Similarity features';
$string['turnitinfeatures::header'] = 'Turnitin Similarity features';
$string['turnitinfeatures'] = 'Turnitin Integrity features';
$string['turnitinfeatures::header'] = 'Turnitin Integrity features';
$string['turnitinfeatures::moreinfo'] = 'For more information on the enabled features and packages available from Turnitin please see <a href="http://www.turnitin.com" target="_blank">http://www.turnitin.com</a>.';
$string['turnitinfeatures::repositories'] = 'Repositories checked against: ';
$string['turnitinfeatures::viewoptions'] = 'Cloud Viewer options: ';
$string['turnitinfeatures::eularequired'] = 'Acceptance of the Turnitin EULA is required for all users';
$string['turnitinfeatures::eulanotrequired'] = 'Acceptance of the Turnitin EULA is not required by users';
$string['turnitinhideidentity'] = 'Hide student\'s identity from Turnitin';
$string['turnitinmodenabled'] = 'Enable Turnitin Similarity for {$a}';
$string['turnitinmodenabled'] = 'Enable Turnitin Integrity for {$a}';
$string['turnitinpluginenabled'] = 'Enable Turnitin';
$string['turnitinpluginsettings'] = 'Turnitin Similarity plagiarism plugin settings';
$string['turnitinpluginsettings'] = 'Turnitin Integrity plugin settings';
$string['turnitinviewerviewfullsource'] = 'Allow instructors within your institution to view the full text of submissions for internal matches';
$string['turnitinviewermatchsubinfo'] = 'Allow instructors within your institution to view submission information for internal matches';
$string['turnitinviewersavechanges'] = 'Save viewer changes';
Expand Down
2 changes: 1 addition & 1 deletion tests/classes/tscallback_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
require_once($CFG->dirroot . '/plagiarism/turnitinsim/tests/utilities.php');

/**
* Tests for TurnitinSim submission class
* Tests for Turnitin Integrity submission class
*
* @package turnitinsim
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/classes/tseula_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
require_once($CFG->dirroot . '/plagiarism/turnitinsim/tests/utilities.php');

/**
* Tests for TurnitinSim submission class
* Tests for Turnitin Integrity submission class
*
* @package turnitinsim
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/classes/tsgroup_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
require_once($CFG->dirroot . '/plagiarism/turnitinsim/classes/group.class.php');

/**
* Tests for TurnitinSim group class.
* Tests for Turnitin Integrity group class.
*
* @package turnitinsim
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/classes/tsrequest_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
require_once($CFG->dirroot . '/plagiarism/turnitinsim/tests/utilities.php');

/**
* Tests for TurnitinSim submission class
* Tests for Turnitin Integrity submission class
*
* @package turnitinsim
*/
Expand Down
12 changes: 6 additions & 6 deletions tests/classes/tssubmission_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
require_once($CFG->dirroot . '/plagiarism/turnitinsim/tests/utilities.php');

/**
* Tests for TurnitinSim submission class
* Tests for Turnitin Integrity submission class
*
* @package turnitinsim
*/
Expand Down Expand Up @@ -1096,7 +1096,7 @@ public function test_get_submission_details_file() {
"file" => $file
);

// Create a TurnitinSim submission record that is queued for sending to Turnitin.
// Create a Turnitin Integrity submission record that is queued for sending to Turnitin.
$tssubmission = new plagiarism_turnitinsim_submission(new plagiarism_turnitinsim_request());
$tssubmission->setcm($cm->id);
$tssubmission->setuserid($this->student1->id);
Expand Down Expand Up @@ -1218,7 +1218,7 @@ public function test_set_generation_time_immediate() {
"file" => $file
);

// Create a TurnitinSim submission record that is queued for sending to Turnitin.
// Create a Turnitin Integrity submission record that is queued for sending to Turnitin.
$tssubmission = new plagiarism_turnitinsim_submission(new plagiarism_turnitinsim_request());
$tssubmission->setcm($cm->id);
$tssubmission->setuserid($this->student1->id);
Expand Down Expand Up @@ -1287,7 +1287,7 @@ public function test_set_generation_time_immediate_duedate() {
"file" => $file
);

// Create a TurnitinSim submission record that is queued for sending to Turnitin.
// Create a Turnitin Integrity submission record that is queued for sending to Turnitin.
$tssubmission = new plagiarism_turnitinsim_submission(new plagiarism_turnitinsim_request());
$tssubmission->setcm($cm->id);
$tssubmission->setuserid($this->student1->id);
Expand Down Expand Up @@ -1365,7 +1365,7 @@ public function test_set_generation_time_duedate() {
"file" => $file
);

// Create a TurnitinSim submission record that is queued for sending to Turnitin.
// Create a Turnitin Integrity submission record that is queued for sending to Turnitin.
$tssubmission = new plagiarism_turnitinsim_submission(new plagiarism_turnitinsim_request());
$tssubmission->setcm($cm->id);
$tssubmission->setuserid($this->student1->id);
Expand Down Expand Up @@ -1437,7 +1437,7 @@ public function test_set_generation_time_no_course_module() {

$file = create_test_file($submission->id, $usercontext->id, 'mod_assign', 'submissions');

// Create a TurnitinSim submission record that is queued for sending to Turnitin.
// Create a Turnitin Integrity submission record that is queued for sending to Turnitin.
$tssubmission = new plagiarism_turnitinsim_submission(new plagiarism_turnitinsim_request());
$tssubmission->setcm($cm->id);
$tssubmission->setuserid($this->student1->id);
Expand Down
2 changes: 1 addition & 1 deletion tests/classes/tstask_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
require_once($CFG->dirroot . '/plagiarism/turnitinsim/classes/task.class.php');

/**
* Tests for TurnitinSim user class.
* Tests for Turnitin Integrity user class.
*
* @package turnitinsim
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/classes/tsuser_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
require_once($CFG->dirroot . '/plagiarism/turnitinsim/classes/user.class.php');

/**
* Tests for TurnitinSim user class.
* Tests for Turnitin Integrity user class.
*
* @package turnitinsim
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/lib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public function test_get_links_with_submission() {
"objectid" => $submission->id
);

// Create a TurnitinSim submission record that is queued for sending to Turnitin.
// Create a Turnitin Integrity submission record that is queued for sending to Turnitin.
$tssubmission = new plagiarism_turnitinsim_submission( new plagiarism_turnitinsim_request() );
$tssubmission->setcm($this->cm->id);
$tssubmission->setuserid($this->student1->id);
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2020022801;
$plugin->version = 2020030501;
$plugin->release = "v1.0";
$plugin->requires = 2017051500;
$plugin->component = 'plagiarism_turnitinsim';
Expand Down

0 comments on commit 69467fe

Please sign in to comment.