Skip to content
Snippets Groups Projects
  1. Apr 13, 2021
    • Giovanni Cimolin da Silva's avatar
      feat: Improve grade publishing handling on LTI 1.3 · d5d83acf
      Giovanni Cimolin da Silva authored
      This commit improves the functionality of the grade publishing method. Improvements:
      * Doesn't publish grade to LMS if this isn't a graded block.
      * Doesn't try to publish grades when LineItem is not linked (`resourceLinkId` is empty)
      * Improves logging and properly logs exceptions
      d5d83acf
  2. Nov 20, 2020
    • Ned Batchelder's avatar
      b5c1f66f
    • Shimul Chowdhury's avatar
      [BD-24] [TNL-7661] [BB-3172] LTI Improvements - Use declarative grading model... · 8b72fb9a
      Shimul Chowdhury authored
      [BD-24] [TNL-7661] [BB-3172] LTI Improvements - Use declarative grading model on XBlock launch (#116)
      
      * create default LineItem, WIP grade save
      
      * add score to django admin
      
      * WIP: find user and save grade to xblock
      
      * boolean pragramatic grade interaction flag and optional params in enable_ags method
      
      * Submit grades using grade signals
      
      * lineitem urls should be optional
      
      * lineitem is now readonly in declarative method
      
      * test grade_submit called properly
      
      * quality issue
      
      * raise LTIError
      
      * moved listener to signal.py, refactored models.py, added due and start date, updated tests.
      
      * use load_block_as_anonymous_user and remove load_block, refactor tests
      
      * refactor test to fix quality issue
      
      * make lineitems_url required
      
      * refactor tests, accept_grades_past_due on check
      
      * test accept_grades_past_due
      
      * add comma to last items
      
      * refactor get_lti_ags_lineitems_url
      
      * make sure crum returns user and not None
      
      * nitpicks & use maximum score when given score is larger than maximum
      
      * fix docstring of load_block_as_anonymous_user
      8b72fb9a
Loading