Skip to content
Snippets Groups Projects
  1. Jan 24, 2023
  2. Nov 29, 2022
  3. Nov 16, 2022
    • michaelroytman's avatar
      feat: adds support for LTI 1.3 Proctoring Service specification in-browser proctoring launch. · 6288b2a0
      michaelroytman authored
        * Adds an Lti1p3ProctoringLaunchData data class. It should be included as an attribute of the Lti1p3LaunchData
          data class to provide necessary proctoring data for a proctoring launch.
        * Adds an LtiProctoringConsumer class. This class is used to generate LTI proctoring launch requests and to decode
          and validate the JWT send back by the Tool with the LtiStartAssessment message.
        * Adds an lti_1p3_proctoring_enabled BooleanField to the LtiConfiguration model. This field controls whether
          proctoring is enabled for a particular LTI integration.
        * Modifies the launch_gate_endpoint to support LtiStartProctoring and LtiEndAssessment LTI launch messages.
        * Adds an start_proctoring_assessment_endpoint to support LtiStartAssessment messages from the Tool.
        * Adds an LTI_1P3_PROCTORING_ASSESSMENT_STARTED signal. This signal is emitted when the LtiStartAssessment message is
          sent from the Tool to inform users of the library that the LtiStartAssessment message has been received.
      6288b2a0
  4. Oct 20, 2022
    • Andy Shultz's avatar
      feat: only use anonymous user if there is no other choice · c14aa1c4
      Andy Shultz authored
      Sometimes we need to load the block. Current code always rebinds the
      block to the anonymous user because we might not have a user.
      
      But in many cases we do have a user and may have already loaded and
      bound the block in question. Check for user and request and if the
      block is already bound and just use that block if possible or at least
      load the block with the user you actually have.
      c14aa1c4
  5. 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
  6. Nov 20, 2020
    • Ned Batchelder's avatar
    • 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
      Unverified
      8b72fb9a
Loading