Skip to content
Snippets Groups Projects
  1. Feb 11, 2020
    • Ayub-khan's avatar
      BOM-1121 · d3a02bc3
      Ayub-khan authored
      -Updated middleware setting to use use middleware insted of
      middleware_classes
      -github install of django-method-override fork to support
      new style middleware in django1.11
      d3a02bc3
  2. Feb 10, 2020
  3. Feb 07, 2020
    • zia.fazal@arbisoft.com's avatar
      Added ability to logout from IDP · d7ed021b
      zia.fazal@arbisoft.com authored
      Logout link should be displayed only for learner portal
      
      Added changed to display only for learner portal
      Added unit tests
      
      check third_party_auth is enabled
      
      Changes to extend SSO logout link feature to Oauth providers
      
      Fixed quality violations
      
      Removed unncessary assert
      
      Reviewer feedback changes
      d7ed021b
  4. Feb 06, 2020
  5. Feb 05, 2020
  6. Jan 29, 2020
  7. Jan 28, 2020
  8. Jan 26, 2020
    • Aarif's avatar
      BOM-1141 · 8cc86d3a
      Aarif authored
      Updating the django-rate-limit requirement.
      updated the django-ratelimit to use unreleased version that supports Django 2.2
      8cc86d3a
  9. Jan 21, 2020
  10. Jan 17, 2020
  11. Jan 13, 2020
  12. Jan 07, 2020
  13. Jan 06, 2020
  14. Jan 03, 2020
  15. Jan 02, 2020
  16. Dec 30, 2019
  17. Dec 20, 2019
    • Braden MacDonald's avatar
      Support anonymous users in the Blockstore-based XBlock runtime · f31dc198
      Braden MacDonald authored
      Implementation details:
      * Anonymous users are assigned a unique ID (like 
        `anon42c08f9996194e2a9339`) which gets stored in the django session.
        `block.scope_ids.user_id` and `block.runtime.anonymous_student_id`
        will both return this value.
      * User state for anonymous users is stored in the django cache and
        automatically expires as the cache gets pruned. Because user state is
        stored, anonymous users can use interactive blocks like capa problems.
      * There is no mechanism for upgrading to a registered account and
        keeping user state since the user state store for anonymous users
        (EphemeralKeyValueStore) is completely different than the one for
        registered users (DjangoKeyValueStore/"CSM"), and has no "list all
        keys" functionality.
      * "User State Summary" field values are shared among [recently active]
        anonymous users but are not shared with registered users.
      * Anonymous users can only access the `public_view` of XBlocks, not the
        regular `student_view`.
      f31dc198
  18. Dec 19, 2019
  19. Dec 17, 2019
  20. Dec 12, 2019
  21. Dec 11, 2019
  22. Dec 05, 2019
  23. Dec 04, 2019
    • Robert Raposa's avatar
      remove studio signin and signup pages · 2202545a
      Robert Raposa authored
      This completes the work started in https://github.com/edx/edx-platform/pull/19453
      to use the LMS login and registration for Studio, rather than Studio
      providing its own implementation.
      
      LMS login/registration are being used for the following reasons:
      1. LMS logistration properly handles all SSO integrations.
      2. A single logistration is simpler to maintain and understand.
      3. Allows Studio to work more like all other IDAs that use LMS
      logistration.
      
      The original switch to use LMS logistration for Studio also added the
      toggle `DISABLE_STUDIO_SSO_OVER_LMS` to provide the community some
      additional time for switching. This commit removes this toggle, which
      at this point means all deployments will use the LMS logistration.
      
      This change requires sharing cookies across LMS and Studio. Should that
      prove to be a problem for certain Open edX instances, there are
      discussions of possible alternative solutions.
      See https://github.com/edx/edx-platform/pull/19845#issuecomment-55915425...
      2202545a
  24. Dec 03, 2019
  25. Dec 02, 2019
  26. Nov 27, 2019
  27. Nov 21, 2019
  28. Nov 19, 2019
    • Zia Fazal's avatar
      Removed EnterpriseMiddleware · e1cb10b4
      Zia Fazal authored
      EnterpriseMiddleware set value of user's enterprise customer in session. In order to get value of enterprise customer it calls `enterprise/api/v1/enterprise-learner` API. Sometimes this middleware is called many times which result in many call to the under lying API and throttling of API causes 429 http errors.
      We are not removing that middleware and storing value of user's enterprise customer in session inside underlying method.
      ENT-1849
      
      Removed pdb statement
      e1cb10b4
  29. Nov 18, 2019
    • Adeel Khan's avatar
      Fixing error message for consistency · 6b04b574
      Adeel Khan authored
      This patch would make financial
      assistance form help message to be
      consistent with implementation. Using
      characters limit instead of word limit.
      
      PROD-733
      6b04b574
  30. Nov 12, 2019
    • Robert Raposa's avatar
      upgrade edx-drf-extensions to 2.4.5 (#22269) · ddc34bd0
      Robert Raposa authored
      - Upgrade edx-drf-extensions to 2.4.5
      - Removed constraint to 2.4.0, because 2.4.2 introduces a workaround for
      ARCH-1210 by putting the problematic code behind a django setting.
      - Remove unused JWT_AUTH_REFRESH_COOKIE setting.
      
      ARCH-418, ARCH-1269, ARCH-1044
      
      fix broken toggle
  31. Oct 29, 2019
  32. Oct 24, 2019
    • Ayub khan's avatar
      BOM-949 · 897bd25b
      Ayub khan authored
      student: Explicitly Set fields to unicode to avoid migration
      897bd25b
  33. Oct 21, 2019
  34. Oct 18, 2019
    • Feanil Patel's avatar
      Create custom pickle serializer. · bfc02dc3
      Feanil Patel authored
      We need to do this because when I tride to go to the JSON serializer a
      bunch of tests started failing because various parts of our code are
      putting things into the session that are not JSON serializable.
      
      We can't keep using the default pickle serializer because it defaluts to
      using the highest available protocol and that will cause issues with the
      python 2 to 3 upgrade since both will be running in production at the
      same time.  We need to use a version of the pickle protocol that both
      can use interchangably.
      
      We also need to make sure we read with latin1 encoding to make datetimes
      work correctly between the two versions of python.
      bfc02dc3