Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-47453

Add function plagiarism_verify_eula() to prevent events queue congestion




      The new version of the plagiarism_turnitin plugin from Turnitin (the one that replaces the Dan Marsden plugin) holds submissions in the events_queue table until the student has accepted the TII EULA (and the link to accept it is very easy to miss). In our case this resulted in a queue of over 5000 assignment submissions that had yet to be submitted to TII, because it only takes a single failed submission at the head of the queue, and any subsequent events with the same handler ID will not be processed.

      We have fixed this by adding a method to check that the student has agreed to the EULA before accepting the submission to Moodle. The improvement allows to trigger pre-submission validation on plagiarism plugin side (if required) and stop form processing before external requirements have been met. This could be useful not only for TII but for any plagiarism plugin.




            • Assignee:
              tonybutler Tony Butler
              tonybutler Tony Butler
              Peer reviewer:
              Dan Marsden
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              1 Vote for this issue
              3 Start watching this issue


              • Created: