1. 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
  2. 02 Aug, 2013 1 commit
  3. 31 Jul, 2013 1 commit
  4. 28 Jun, 2013 1 commit
  5. 27 Jun, 2013 2 commits
  6. 25 Jun, 2013 1 commit
  7. 21 Jun, 2013 1 commit
  8. 19 Jun, 2013 2 commits
    • The bulk of Shibboleth authentication for Stanford · 824fb9a3
      Highlights:
      * The url '/shib-login/' interfaces with apache/mod_shib via
        request.META to handle shibboleth login and registrations
      * Courses can designate 'enrollment_domains' to limit enrollment
        to users with a linked ExternalAuthMap verified by a particular
        identity provider
      * Tests
      * Logging
      
       Changes to be committed:
      
      	new file:   common/djangoapps/external_auth/migrations/0001_initial.py
      	new file:   common/djangoapps/external_auth/migrations/__init__.py
      	new file:   common/djangoapps/external_auth/tests/test_shib.py
      	modified:   common/djangoapps/external_auth/views.py
      	modified:   common/djangoapps/student/views.py
      	modified:   common/lib/xmodule/xmodule/course_module.py
      	modified:   lms/djangoapps/courseware/access.py
      	modified:   lms/djangoapps/courseware/tests/test_access.py
      	modified:   lms/envs/common.py
      	modified:   lms/envs/dev.py
      	modified:   lms/envs/test.py
      	modified:   lms/templates/courseware/course_about.html
      	modified:   lms/templates/dashboard.html
      	modified:   lms/templates/extauth_failure.html
      	modified:   lms/templates/navigation.html
      	modified:   lms/templates/register.html
      	modified:   lms/templates/signup_modal.html
      	modified:   lms/urls.py
      	renamed:    lms/wsgi_apache.py -> lms/wsgi_apache_lms.py
      Jason Bau committed
  9. 06 Feb, 2013 1 commit
  10. 23 Jan, 2013 1 commit
  11. 22 Jan, 2013 1 commit