Commit Graph

7 Commits

Author SHA1 Message Date
Cody Cutrer c65d57737a RuboCop: Layout lib
Change-Id: I0655d9a9d750f2debd6378b03d8ddc1403ebc31b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274158
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2021-09-22 20:01:52 +00:00
Cody Cutrer 06763dd519 add # frozen_string_literal: true for lib
Change-Id: I59b751cac52367a89e03f572477f0cf1d607b405
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/251155
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2020-10-27 20:49:50 +00:00
Bryan Holladay 950a756f6f VeriCite: get all scores for an assignment in bulk
When loading speedgrader in a class with a lot of students, the VeriCite API is called per student. This patch gets all student scores in one call for the assignment and stores them in the cache for quick retrieval

Test Plan:
1) Setup an instance with VeriCite's native integration (plugins)
2) Setup a course with hundreds of students
3) Create an assignment with VeriCite enabled
4) Submit to this assignment for each student
5) wait for reports to be ready
6) load speedgrader as instructor. This page load time shouldn't be any (much) slower than if the assignment didn't have VeriCIte enabled.

Change-Id: Iede9f79e94972e260ba2aaf8ca20062770e80c64
Reviewed-on: https://gerrit.instructure.com/112406
Tested-by: Jenkins
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
QA-Review: Keith T. Garner <kgarner@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2017-05-24 17:09:57 +00:00
Landon Wilkins 45b8efda41 da licença part 36
add consistent license headers to all source files

Change-Id: I15e544768e7361fc050089a5ed4699f7ee96bb2c
Reviewed-on: https://gerrit.instructure.com/110064
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
2017-04-28 17:31:17 +00:00
Bryan Holladay 72b333f7cb VeriCite: add encryption flag for submissions to specify encryption type
Test Plan:
1) Enable VeriCite in plugins. Use a real key and secret.
2) Create an assignment with VeriCite enabled
3) Submit to this assignment
4) Make sure report is generated (~10-15 mins)
2017-03-20 19:38:34 -04:00
Keith Garner 2e0756de04 fix double key in vericite sendrequest calls
In the calls to sendRequest in vericite.rb, the :ptype key was specified
twice. This fix removes the extra key and maintains the one
supported/defined by the code.

test plan:
 - Confirm that both text entry and document submissions can be sent to
   vericite

Change-Id: I88b387016224251f7925f2abc2b2fb6d31803688
Reviewed-on: https://gerrit.instructure.com/93748
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Jenkins
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2016-10-27 20:18:37 +00:00
Bryan Holladay 4e9eb7c65d VeriCite plugin integration into Assignments, Gradebook, and Speedgrader 2016-10-07 08:10:56 -04:00