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 06, 2020
  3. Jan 17, 2020
  4. Jan 06, 2020
  5. Jan 03, 2020
  6. Dec 30, 2019
  7. 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
  8. Dec 12, 2019
    • Robert Raposa's avatar
      remove /login_post endpoint · a9825889
      Robert Raposa authored
      - retires toggle DISABLE_DEPRECATED_LOGIN_POST
      - permanently removes /login_post
      
      Now that studio signin has been retired, we are able to remove the
      unused /login_post endpoint.
      
      ARCH-1253
      a9825889
  9. 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
  10. Nov 14, 2019
  11. Oct 31, 2019
  12. Oct 29, 2019
  13. Oct 21, 2019
  14. 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
    • Feanil Patel's avatar
      Use the default json session serializer. · 1e97de91
      Feanil Patel authored
      This will force a logout as sessions fail to load but this should be a
      more performant and secure serializer moving forward.  The reason we
      overwrote it in our config is that it previously used to be the default
      and we didn't want things to breake and force logouts when we changed
      it.  We're no more okay with people getting logged out.
      1e97de91
    • syedimranhassan's avatar
    • syedimranhassan's avatar
      6ad9458f
  15. Oct 17, 2019
  16. Oct 02, 2019
  17. Sep 26, 2019
  18. Sep 25, 2019
  19. Sep 17, 2019
  20. Sep 04, 2019
  21. Aug 30, 2019
  22. Aug 26, 2019
  23. Aug 20, 2019
  24. Aug 16, 2019
    • Ayub's avatar
      BOM-70 (#21327) · 658cd5c6
      Ayub authored
      * Update Financial Assistance logic
      
      Use the zendesk proxy app instead of the unsupported zendesk library.
      
      * Move to pre-fetching the group IDs.
      
      Rather than making extra requests to zendesk to list all groups and find
      a specific group ID. Just make a pre-filled list of group IDs for the
      groups we care about.  When a group name is passed in, it is checked
      against this list and the ticket is created in the correct group so the
      right people can respond to it.
      658cd5c6
    • Diana Huang's avatar
  25. Aug 08, 2019
  26. Aug 06, 2019
  27. Jul 30, 2019
  28. Jul 29, 2019