Commit Graph

7 Commits

Author SHA1 Message Date
Nathan Mills 2ddd5e7e67 add error message for exceded turnitin lti retries
fixes PLAT-1208

test-plan:
submit a turnitin assignment via lti
make sure it doesn't break
there isn't a good way to simulate an error so the focus should be on us not breaking anything

Change-Id: I4d1dc2ca15af2226e0151be2ce1837435fea1fa0
Reviewed-on: https://gerrit.instructure.com/62408
Tested-by: Jenkins
Reviewed-by: Brad Horrocks <bhorrocks@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
2015-09-15 20:55:57 +00:00
Nathan Mills 894b1c9db4 set the status of lti turnitin sumbissions to pending
fixes PLAT-1207

test-plan:
submit a doc using the turnitin assignment
the UI should show it as pending in speedgrader until it is done.

Change-Id: I02f8736c4c5c63d82ddba3ff741e4efd4cf15205
Reviewed-on: https://gerrit.instructure.com/61771
Tested-by: Jenkins
Reviewed-by: Josh Orr <jgorr@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
2015-08-31 15:54:51 +00:00
Brad Horrocks 6ee329eebc The turnitin submission endpoint should save originality data
Fires off delayed job that hits the turnitin callback url,
creates a submission, and maps originality data into the turnitin_data
field.

Fixes PLAT-1167
Fixes PLAT-1169

Test Plan:
You'll need to have the TurnItIn LTI tool installed, and delayed_jobs
running

Create an assignment with the submission set to the External Tool for
turnitin.
As a student, submit the assignment.
wait for the delayed job to run. check out /jobs to see whats going on
After the job has ran you should see turnitin data, as you would
normally with the plugin

Change-Id: I5d60d250e91b422b5e77255d715abf2e4712f130
Reviewed-on: https://gerrit.instructure.com/59942
Tested-by: Jenkins
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
QA-Review: Nathan Mills <nathanm@instructure.com>
2015-08-05 15:43:30 +00:00
Nathan Mills ac14a09bd1 submit orginal turnitin submission
Fixes Plat-1168

Test-plan:
Submit a turnitin assignment using the lti tool
it should create a submission with the submitted file as an attachment

Change-Id: I37b24f8d2cb5c78f1247a0096f1afe2f3528abcb
Reviewed-on: https://gerrit.instructure.com/59701
Reviewed-by: Brad Horrocks <bhorrocks@instructure.com>
Tested-by: Jenkins
Product-Review: Nathan Mills <nathanm@instructure.com>
QA-Review: Nathan Mills <nathanm@instructure.com>
2015-08-04 21:00:42 +00:00
Brad Horrocks 7fa01132d0 Turnitin gem and delayed job skeleton
Fixes PLAT-1168

Test Plan:
run the tests :D

Change-Id: Ica5967b249c3b58b73070c75ac53f188e91fea7e
Reviewed-on: https://gerrit.instructure.com/59453
Tested-by: Jenkins
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
QA-Review: Nathan Mills <nathanm@instructure.com>
2015-07-30 14:02:15 +00:00
Cody Cutrer 9834937c8c don't autorequire a bunch of gems that are rarely used
Change-Id: I09ed3686629b62849d392684d587f30cb2047013
Reviewed-on: https://gerrit.instructure.com/51853
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-04-09 18:47:50 +00:00
Tyler Pickett 5b413bb2f8 capture additional failure info from turnitin
fixes CNVS-12682

Test Plan:
  make sure turnitin still works

Change-Id: Ifd3d8d560b89add408a0a2e9134b109e6cd999eb
Reviewed-on: https://gerrit.instructure.com/35155
Reviewed-by: Strand McCutchen <smccutchen@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Josh Simpson <jsimpson@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Hilary Scharton <hilary@instructure.com>
2014-12-05 00:04:06 +00:00