canvas-lms/app
Brian Whitmer c54670da94 update cached turnitin data when redirecting to originality report
Turnitin has no way to register callbacks when a submission's
originality score changes.  However, teachers are able to
modify originality scores for submissions by marking certain
sources as being ignored when checking for originality.  If a
teacher does this then the data we've cached will get out of
date.

We don't really want to have to regularly poll for updated
info, so this will just schedule a background job to check
for updates whenever someone goes to view the full
originality report.  There will still be plenty of time
when the data it out of sync, but it at least gives a
way in the UI to update the data.

Change-Id: Ia8cc814a2e9cf5ec140d3fd22acedfbb00da1b8a
Reviewed-on: https://gerrit.instructure.com/2163
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
2011-02-08 12:42:51 -07:00
..
controllers publish multiple quizzes at the same time 2011-02-07 15:00:36 -07:00
helpers add equella settings to the account UI 2011-02-03 13:56:39 -07:00
messages Initial commit. 2011-01-31 18:57:29 -07:00
middleware Initial commit. 2011-01-31 18:57:29 -07:00
models update cached turnitin data when redirecting to originality report 2011-02-08 12:42:51 -07:00
stylesheets add flash (swf) mime-type 2011-02-08 09:29:23 -07:00
views publish multiple quizzes at the same time 2011-02-07 15:00:36 -07:00