Skip to content
Snippets Groups Projects
  1. Aug 11, 2021
    • Ken Clary's avatar
      feat: add explicit courserun_key parameter to /event endpoint · 8c8450f6
      Ken Clary authored
      We add 'courserun_key' (aka "course_id" though that's technically a
      misnomer) as an optional parameter to the /event endpoint url. If it
      is not present, it will still be parsed out of the url, if the url is
      of the right format.
      
      Additionally, Logger.log() in js adds this parameter to its /event
      call, pulling it from the $$course_id global.
      
      This provides opportunity for MFEs to (separately) provide the key
      without concern about url parsing.
      
      TNL-7752
      8c8450f6
  2. Aug 05, 2021
  3. Jul 30, 2021
    • Ken Clary's avatar
      feat: add explicit courserun_key parameter to /event endpoint · 13b6ed90
      Ken Clary authored
      We add 'courserun_key' (aka "course_id" though that's technically a
      misnomer) as an optional parameter to the /event endpoint url. If it
      is not present, it will still be parsed out of the url, if the url is
      of the right format.
      
      Additionally, Logger.log() in js adds this parameter to its /event
      call, pulling it from the $$course_id global.
      
      This provides opportunity for MFEs to (separately) provide the key
      without concern about url parsing.
      
      TNL-7752
      13b6ed90
  4. Jul 08, 2021
  5. May 11, 2021
  6. May 10, 2021
  7. Mar 16, 2021
  8. Feb 23, 2021
  9. Feb 18, 2021
  10. Feb 03, 2021
  11. Jan 27, 2021
    • Tim McCormack's avatar
      Use more appropriate hash when making tracking ID; document SECRET_KEY use (#26134) · e0e03dec
      Tim McCormack authored
      - Make it easier to rotate `SECRET_KEY` by documenting this usage
        for both sensitivity and rotation process. (ARCHBOM-1676).
      - Just use a hash of the secret rather than HMAC + MD5. We're not
        authenticating a message, so HMAC isn't really needed -- it just needs
        to be unique, deterministic, and irreversible. SHAKE allows generation
        of an arbitrary length hash without needing to truncate.
      
      Also, rename tracking session ID generator for clarity -- there's no
      encryption happening here.
      
      Add additional test for existing claim of uniqueness.
  12. Nov 19, 2020
    • Robert Raposa's avatar
      track: catch unhandled exceptions and add monitoring · 186f5fbc
      Robert Raposa authored
      Add the following monitoring custom attributes:
      - segment_event_name
      - segment_event_source
      - segment_unexpected_context
      - segment_unexpected_data
      
      Also, this explicitly raises a validation error whenever context is a
      string instead of throwing a vague TypeError.
      
      Related to LEARNER-8034
      186f5fbc
  13. Nov 10, 2020
    • Kyle McCormick's avatar
      Use full names for common.djangoapps imports; warn when using old style (#25477) · 151bd136
      Kyle McCormick authored
      * Generate common/djangoapps import shims for LMS
      * Generate common/djangoapps import shims for Studio
      * Stop appending project root to sys.path
      * Stop appending common/djangoapps to sys.path
      * Import from common.djangoapps.course_action_state instead of course_action_state
      * Import from common.djangoapps.course_modes instead of course_modes
      * Import from common.djangoapps.database_fixups instead of database_fixups
      * Import from common.djangoapps.edxmako instead of edxmako
      * Import from common.djangoapps.entitlements instead of entitlements
      * Import from common.djangoapps.pipline_mako instead of pipeline_mako
      * Import from common.djangoapps.static_replace instead of static_replace
      * Import from common.djangoapps.student instead of student
      * Import from common.djangoapps.terrain instead of terrain
      * Import from common.djangoapps.third_party_auth instead of third_party_auth
      * Import from common.djangoapps.track instead of track
      * Import from common.djangoapps.util instead of util
      * Import from common.djangoapps.xblock_django instead of xblock_django
      * Add empty common/djangoapps/__init__.py to fix pytest collection
      * Fix pylint formatting violations
      * Exclude import_shims/ directory tree from linting
  14. Nov 03, 2020
  15. Jul 21, 2020
  16. Jun 26, 2020
  17. Jun 23, 2020
  18. May 01, 2020
  19. Mar 02, 2020
  20. Feb 11, 2020
  21. Feb 05, 2020
  22. Feb 04, 2020
  23. Jan 30, 2020
    • Aarif's avatar
      BOM-1121 · 97d327fe
      Aarif authored
      Old style mixin compatibility with django2.2
      97d327fe
  24. Dec 30, 2019
  25. Dec 12, 2019
  26. Dec 11, 2019
  27. Oct 23, 2019
    • Manjinder Singh's avatar
      BOM-933: Fix type mismatches in various migrations 2 (#22115) · a40f1d9b
      Manjinder Singh authored
      * Fix type mismatches in track migrations
      
      * Fix type mismatches in oauth_dispatch
      
      * Fix type mismatches in badges migrations
      
      * fix type mismatch in contentserver migrations
      
      * Fix type mismatches in mobile_api migrations
      
      * fix type mismatch in crawlers migrations
      
      * fix type mismatch in dark_lang migrations
      
      * fix type mismatch in branding  migrations
  28. Sep 25, 2019
  29. Sep 18, 2019
  30. Aug 19, 2019
  31. Aug 07, 2019