1. 15 Jan, 2014 1 commit
  2. 05 Dec, 2013 1 commit
    • Change forum role granted to staff on enrollment · 88610cb8
      This applies to global staff (is_staff=True), not course staff.
      Previously, staff were granted the Moderator role but not the Student
      role upon enrolling in a course. If the Moderator role were later
      revoked, then the user would have no role and be unable to post in the
      forums, which is confusing for the user. edX staff indicated they would
      prefer to not automatically receive the Moderator role, so the Student
      role is granted instead. Note that staff will still be able to grant
      themselves Moderator privileges through the instructor dashboard if
      they wish.
      
      JIRA: FOR-338
      Greg Price committed
  3. 12 Sep, 2013 3 commits
  4. 14 Aug, 2013 1 commit
    • Shift enroll/unenroll logic to CourseEnrollment model, add is_active and mode. · 3ce87583
      Features coming down the pipe will want to be able to:
      * Refer to enrollments before they are actually activated (approval step).
      * See what courses a user used to be enrolled in for when they re-enroll in
        the same course, or a different run of that course.
      * Have different "modes" of enrolling in a course, representing things like
        honor certificate enrollment, auditing (no certs), etc.
      
      This change adds an is_active flag and mode (with default being "honor").
      The commit is only as large as it is because many parts of the codebase were
      manipulating enrollments by adding and removing CourseEnrollment objects
      directly. It was necessary to create classmethods on CourseEnrollment to
      encapsulate this functionality and then port everything over to using them.
      
      The migration to add columns has been tested on a prod replica, and seems to be
      fine for running on a live system with single digit millions of rows of
      enrollments.
      David Ormsbee committed
  5. 22 May, 2013 1 commit
  6. 10 May, 2013 1 commit
  7. 07 May, 2013 2 commits
  8. 06 May, 2013 2 commits