Skip to content
Snippets Groups Projects
  1. Apr 02, 2021
    • Ben Holt's avatar
      feat: added another 'Date' expose-headers for outline api clients (#27221) · ec3c31eb
      Ben Holt authored
      Exposed the Date header on the outline api so clients can accurately compute times relative to the dates returned by the API; this was previously done with the course API (#26979)
      
      Browser time is notoriously unreliable for this, especially for a Learner-facing countdown call-to-action based on the access expiration date. (REV-2126)
      
      Using the Date header for this allows the client to make use of information that is already sent, does not require additional calls nor modifying the API, and could be generalized to more or all our APIs without modifying them.
    • Jawayria's avatar
      refactor: Removed unused imports · 55b692ae
      Jawayria authored
      Removed unused imports from openedx/core/djangoapps/{api_admin, catalog, ccxcon, certificates}
      55b692ae
  2. Apr 01, 2021
  3. Mar 31, 2021
  4. Mar 29, 2021
  5. Mar 26, 2021
    • Feanil Patel's avatar
      fix: Don't make request change logging a waffle flag. · c1bdf018
      Feanil Patel authored
      Waffle flags are useful for gradual rollout but that's not possible this
      high in the middleware because a lot of the data needed (request.user)
      to partition incoming requests is not availabale this high in the
      middleware.
      
      Convert this to a WaffleSwitch which will be safer to operate.
      
      Also increase the number of frames in the stack to print per change.
      Printing just 1 did not provide enough info because DRF requests wrap
      WSGI requests and have a setter proxy.  It will be useful to figure out
      how they do this in case it's better that what we're doing in the safe
      sessions middleware.
      
      Ticket: https://openedx.atlassian.net/browse/ARCHBOM-1718
      c1bdf018
  6. Mar 25, 2021
  7. Mar 24, 2021
  8. Mar 23, 2021
    • Régis Behmo's avatar
      fix: TypeError in toggle state report view · dae4403b
      Régis Behmo authored
      We were attempting to add course overrides twice to objects returned in
      the toggle state report view. This was causing a TypeError (and thus a
      500 error) because the second time, we were attempting to add entries to
      an incorrect object.
      
      This issue was not caught by unit tests because we were not testing the
      view with WaffleFlagCourseOverride objects. This commit adds a unit test
      to prevent future errors.
      
      This is another fix for PR #27108.
      dae4403b
    • David Joy's avatar
      fix: adjust discussions app APIs to match consuming frontend (#27085) · 8c6a06cf
      David Joy authored
      This commit adjusts a few values in our discussions configuration APIs to make them match what the frontend needs, as well as to more accurately reflect the providers available today.
      
      - The `active` provider ID is expressed as None if it doesn’t exist
      - The “cs_comments_service” provider has been renamed “legacy” - when we implement the new discussions micro-frontend, we’ll also have a separate provider for that, so they can’t both be “cs_comments_service”.  Also, cs_comments_service is such a bad name for anything.
      - The hard-coded providers list in get_supported_providers now includes ‘legacy’ and ‘piazza’, our two known providers.  This list will be updated as more known providers come online.
      - The PROVIDER_FEATURE_MAP has similarly been updated.
      
      Part of this task: TNL-8093
    • Robert Raposa's avatar
      feat!: remove old waffle classes (#27069) · cbc803cd
      Robert Raposa authored
      BREAKING CHANGE: Remove WaffleSwitchNamespace, WaffleSwitch, WaffleFlagNamespace,
      and WaffleFlag from waffle_utils, in favor of the Legecy* classes
      in edx-toggles. Although this is a breaking change, we have
      preemptively removed all known uses.
      
      BD-21
  9. Mar 22, 2021
  10. Mar 19, 2021
  11. Mar 18, 2021
  12. Mar 17, 2021
  13. Mar 16, 2021
Loading