Skip to content
Snippets Groups Projects
  1. Apr 08, 2020
  2. Apr 07, 2020
  3. Apr 06, 2020
    • hunytalk's avatar
      Add writes to new field · 42503dd7
      hunytalk authored
      42503dd7
    • Diana Huang's avatar
      Remove `course_id` field from CourseMode. · 99863aeb
      Diana Huang authored
      Handle this change appropriately in CourseModeFactory.
      99863aeb
    • Feanil Patel's avatar
      Limit the last_name field to 30 chars. · e4798e49
      Feanil Patel authored
      We don't use this field in edx-platform since we rely on UserProfile
      instead.  But we need to do this to prevent accidental incorrect use of
      this field.  Django adds a migration between 1.11 and 2.2 to increase
      the length of this field that we are opting to skip.  This change
      enforces the old limit.
      e4798e49
    • Feanil Patel's avatar
      Fix tests that were creating Enrollments via a course_id. · 7a52a251
      Feanil Patel authored
      We now either pass in the relevant courseoverview or when creating the
      enrollement we use the factory which automatically creates the relevant
      CourseOverview object for testing purposes.
      7a52a251
    • Feanil Patel's avatar
      Fixup CourseEnrollmentFactory · 3c618ad0
      Feanil Patel authored
      Historically, the CourseEnrollment model used to have a `course_id`
      field.  A lot of tests still call the factory using that.  Instead of a
      `course_id` field this model now has a `course` field which is a foreign
      key to the CourseOverview model.
      
      The factory still accepts the course_id but uses it to create the
      relevant CourseOverview object where necessary.  This commit fixes two
      issues with the factory.
      
      1. If the course id is passed in as`course_id` instead of `course__id`
      then, the generated CourseOverview does not have the correct course_id.
      
      2. Even though the CourseEnrollment model no longer needs the
      `course_id` parameter, we were still passing it through.  We now remove
      it so that it is not passed through to the CourseEnrollment model
      instantiation.
      3c618ad0
    • Feanil Patel's avatar
      Remove the course_id property on student.CourseEnrollment. · 7c115cca
      Feanil Patel authored
      It conflicts with an underlying related field on that model which seems
      to be getting at the same value from the related table.
      
      Add logging for incorrectly instantiating CourseEnrollment models.
      This is to catch any places that might break this that are outside of
      edx-platform. Django won't accept `course` values that aren't
      course_overviews so we don't need extra logic to test that `course`
      values are of the correct type.
      
      fixup! Remove the course_id property on student.CourseEnrollment.
      7c115cca
    • Awais Jibran's avatar
      Adds retry logic for ss. · 4ead2156
      Awais Jibran authored
      1. Created a new celery queue with key `SOFTWARE_SECURE_VERIFICATION_ROUTING_KEY`.
      2. Added a celery task with retry logic.
      3. sorted imports with isort.
      4. Changed deprecated `log.warn` => `log.warning`.
      4ead2156
  4. Apr 04, 2020
    • Awais Qureshi's avatar
      BOM-1491 · bdba07a1
      Awais Qureshi authored
      Group name
      Changed in Django 2.2:
      The max_length increased from 80 to 150 characters.
      bdba07a1
  5. Apr 03, 2020
    • Manjinder Singh's avatar
      Fixing django 2.1 probs in student management commands (#23587) · b45ac858
      Manjinder Singh authored
      * Requiring at least one args in a mutually exclusive group to be set
      
      bulk_change_enrollment requires one of agrs: org or course to be set
      for it to function correctly.
      
      * Creating new function to verify initial password hash
      
      Starting with django 2.1, the function is_password_usable no longer checks whether encode
      is a valid password created by a django hasher(hasher in  PASSWORD_HASHERS setting)
      
      Adding this function to create constant behavior as we upgrade django versions
    • uzairr's avatar
      Refactor bulk unenroll mgmt cmd · 4563b872
      uzairr authored
      Bulk unenroll command is not supporting unenrolling all the learners
      from multiple courses.This PR will enhance this mgmt cmd so that
      it can support un-enrollment of learners from multiple courses.
      
      PROD-1347
      4563b872
  6. Apr 02, 2020
  7. Apr 01, 2020
  8. Mar 28, 2020
  9. Mar 25, 2020
  10. Mar 20, 2020
  11. Mar 18, 2020
  12. Mar 17, 2020
  13. Mar 16, 2020
  14. Mar 13, 2020
    • Matt Tuchfarber's avatar
      Update with suggestions: · fc3bc032
      Matt Tuchfarber authored
      - Add ADR describing Plugin Contexts
      - Remove app-specific constants from framework-level code
      - Add dashboard constants to student app with README
      fc3bc032
  15. Mar 12, 2020
  16. Mar 11, 2020
  17. Mar 09, 2020
  18. Mar 06, 2020
  19. Mar 04, 2020
  20. Mar 03, 2020
  21. Mar 02, 2020
Loading