Skip to content
Snippets Groups Projects
  1. Oct 03, 2022
  2. Aug 22, 2022
    • michaelroytman's avatar
      feat: handle 500 errors that occur when user is unauthenticated during LTI 1.1 launch · e52699f3
      michaelroytman authored
      In the LTI 1.1 launch handler, we set the user context, including the user_id. We do this by calling to the LMS's DjangoXBlockUserService to get information about the user. Sometimes, the user is unauthenticated. Sometimes, this is because the user is a web crawler. Other times, the user is a real user, but we do not know why the user is unauthenticated. We have some theories, but we have been unable to confirm them. Regardless, we should not surface a 500 error to the user.
      
      This commit adds handling for the LtiError that is raised when a user is unauthenticated during an LTI 1.1 launch. It catches the LtiError and renders an error page. The error page that was used for LTI 1.3 launches, formerly named "lti_1p3_launch_error.html", has been renamed to "lti_launch_error.html" to reflect the fact that it is used for both LTI 1.1 and 1.3 launches. It was modified to remove the reference to the version of LTI used by the XBlock; these details are unnecessary for a learner, and removing them allows us to reuse a single template for both LTI versions.
      e52699f3
  3. Aug 17, 2022
    • Arunmozhi's avatar
      feat: Decouple LTI 1.3 from LTI Consumer XBlock functionality · ec43c30d
      Arunmozhi authored
      Move XBlock endpoints to Django models and implement backwards compatible views.
      
      Relevant commits:
      * refactor: move LTI 1.3 access token endpoint to plugin view
      * refactor: remove the xblock handler and add tests to api view
      * refactor: move the lti_1p3_launch_callback logic to the django view
      * feat: adds access token view for backward compatibility
      * refactor: make launch urls use config_id when block is missing
      * refactor: remove launch_callback_handler from XBlock
      Unverified
      ec43c30d
  4. Mar 18, 2022
  5. Jan 18, 2022
  6. Oct 06, 2021
  7. Jul 01, 2021
    • Kshitij Sobti's avatar
      refactor: Rename CourseEditLTIFieldsEnabledFlag to... · 6fb86793
      Kshitij Sobti authored
      refactor: Rename CourseEditLTIFieldsEnabledFlag to CourseAllowPIISharingInLTIFlag and use it for LTI1.3
      This commit renames the CourseEditLTIFieldsEnabledFlag to CourseAllowPIISharingInLTIFlag since the aim is to expand its scope to all LTI-related PII sharing. It also removes the current LTI1.3 waffle flag for PII sharing.
      Unverified
      6fb86793
  8. Jun 09, 2021
  9. Jun 03, 2021
  10. Apr 13, 2021
  11. Mar 18, 2021
  12. Mar 03, 2021
  13. Feb 16, 2021
  14. Jan 29, 2021
  15. Jan 15, 2021
  16. Nov 12, 2020
  17. Oct 23, 2020
    • Patrick Cockwell's avatar
      [BD-24] Implement LTI AGS Score Publish Service and Results (#108) · 5fc16b38
      Patrick Cockwell authored
      * BD-24 Implement LTI AGS Score Publish Service and Results Service
      
      * Address PR comments and add more validation
      
      * Address PR comments
      
      * Add tests; Fix error with scoreMaximum; Fix quality issues; Adjust user_id results url slightly
      
      * Add permissions tests and address other PR comments
      
      * Fix quality test
      
      * Address PR comments
      Unverified
      5fc16b38
  18. Oct 05, 2020
  19. Sep 29, 2020
  20. Sep 04, 2020
  21. Jun 25, 2020
Loading