Skip to content
Snippets Groups Projects
  1. Apr 02, 2021
  2. Mar 25, 2021
  3. Mar 22, 2021
  4. Mar 08, 2021
  5. Feb 24, 2021
  6. Feb 23, 2021
  7. Feb 12, 2021
    • Feanil Patel's avatar
      refactor Replace django-ratelimit-backend with django-ratelimit · 6fb93463
      Feanil Patel authored
      We use django-ratelimit to limit per IP login attempts, and then we use
      django-ratelimit-backend to limit per username login attempts. This
      change replaces the usage of django-ratelimit-backend with another
      instance of django-ratelimit so that both limits can be managed by one
      library.
      
      This is the first step in being able to fully excise
      django-ratelimit-backend from edx-platform. Note that we're still using
      the `RateLimitMixin` in openedx/core/djangoapps/oauth_dispatch/dot_overrides/backends.py
      because studio and the admin UI still relies on that for rate limiting.
      Those login paths will have to be updated before we can remove the mixin
      from our auth backend.
      6fb93463
  8. Feb 08, 2021
  9. Feb 05, 2021
  10. Feb 02, 2021
  11. Feb 01, 2021
  12. Jan 29, 2021
  13. Jan 21, 2021
    • Kyle McCormick's avatar
      Add setting for error'ing on deprecated imports · 44d5060c
      Kyle McCormick authored
      Deprecated edx-platform import paths
      (for example, `student` instead of
      `common.djangoapps.student`) currently raise
      warnings when used. We want to fully remove
      support for those paths.
      
      As an easily reversible way to initially remove
      support, we add a new setting to LMS and Studio
      called `ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS`,
      defaulting to False. We set it to True for devstack
      and will set it to True in Stage and Production
      soon. If critical errors occur, we can easily
      flip the setting back to False.
      44d5060c
  14. Dec 04, 2020
  15. Dec 02, 2020
  16. Dec 01, 2020
  17. 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 in...
      151bd136
  18. Nov 05, 2020
  19. Nov 04, 2020
    • Kyle McCormick's avatar
      Use full names for lms.djangoapps imports (#25401) · d1a775d3
      Kyle McCormick authored
      * Use full LMS imports paths in LMS settings and urls modules
      * Use full LMS import paths in Studio settings and urls modules
      * Import from lms.djangoapps.badges instead of badges
      * Import from lms.djangoapps.branding instead of branding
      * Import from lms.djangoapps.bulk_email instead of bulk_email
      * Import from lms.djangoapps.bulk_enroll instead of bulk_enroll
      * Import from lms.djangoapps.ccx instead of ccx
      * Import from lms.djangoapps.course_api instead of course_api
      * Import from lms.djangoapps.course_blocks instead of course_blocks
      * Import from lms.djangoapps.course_wiki instead of course_wiki
      * Import from lms.djangoapps.courseware instead of courseware
      * Import from lms.djangoapps.dashboard instead of dashboard
      * Import from lms.djangoapps.discussion import discussion
      * Import from lms.djangoapps.email_marketing instead of email_marketing
      * Import from lms.djangoapps.experiments instead of experiments
      * Import from lms.djangoapps.gat...
      d1a775d3
  20. Oct 29, 2020
  21. Oct 23, 2020
  22. Oct 14, 2020
  23. Sep 23, 2020
  24. Sep 22, 2020
  25. Sep 18, 2020
  26. Aug 20, 2020
  27. Aug 12, 2020
  28. Aug 06, 2020
  29. Jul 24, 2020
  30. Jun 30, 2020
  31. Jun 10, 2020
  32. May 01, 2020
  33. Apr 23, 2020
  34. Apr 09, 2020
  35. Apr 08, 2020
  36. Mar 04, 2020
  37. Feb 21, 2020