turnitin / moodle-plagiarism_turnitin

Turnitin Plagiarism plugin for Moodle
http://www.turnitin.com
45 stars 65 forks source link

Consier allowing teacher to hide plagiarism links on large pages. #593

Open danmarsden opened 3 years ago

danmarsden commented 3 years ago

The Moodle assignment grading page allows the teacher to view all submissions on a single page without pagination - this is useful when using marking workflow or marking allocation and making bulk changes at the same time.

But - Turnitin makes quite a significant number of back-end api calls/db call/EULA checks for each user in the page, causing a page displaying 1000 or more students to be un-usable.

I have just created a plugin that adds a button into the header of the grading page allow the teacher to disable plagiarism links on the page which makes a big impact, but ideally it would be preferable for Turnitin to implement something within the plagiarism plugin rather than relying on a separate plugin to do this.

I've used the before_standard_top_of_body_html callback and added it into the $PAGE->button area, but the other user preferences for that page appear at the bottom of the page, so if you decide to add this feature to the plugin, you may want to consider dropping it in at the bottom of the page using the footer callback instead.

feel free to close this as "won't" fix if it's something you don't see the value in though!

thanks!

danmarsden commented 3 years ago

here's the plugin I created to do this: https://github.com/catalyst/moodle-local_disableplagiarism All the work is in the callback in the lib.php file here: https://github.com/catalyst/moodle-local_disableplagiarism/blob/main/lib.php#L29