1. 27 Sep, 2013 1 commit
    • Stanford paid course registration · 667a1ead
      With tests, some settings changes
      (all should default to not breaking anything for edx)
      
      Added styling for shopping cart User Experience
      - Styled shoppingcart list page
      - Styled navigation shopping cart button
      - Styled receipt page
      - Styled course about page for shopping cart courses
      
      Addressed HTML/SCSS issues
      
      Remove offending body class and unnecessary sass changes
      
      Addresses many review comments on stanford shopping cart
      
      * framework for generating order instructions on receipt page
        in shoppingcart.models
      * move user_cart_has_item into shoppingcart.models
      * move min_course_price_for_currency into course_modes.models
      * remove auto activation on purchase
      * 2-space indents in templates
      * etc
      
      revert indentation on navigation.html for ease of review
      
      pep8 pylint
      
      move logging/error handling from shoppingcart view to model
      
      Addressing @dave changes
      Jason Bau committed
  2. 24 Sep, 2013 1 commit
  3. 06 Sep, 2013 2 commits
    • Address @brianhw review comments · 6a850e27
      * Fix open redirect vulnerability
      * Add Logging To AUDIT_LOG : Note I had to change existing tests
        that mocked AUDIT_LOG with this
      * Use external_auth.views.SHIBBOLETH_DOMAIN_PREFIX in student.views
      * Add a bunch of documentation
      * PEP8 / Pylint
      Jason Bau committed
    • Revamped + Enhanced Shibboleth support · 948c07c4
      * If a shib users type in their email on the regular login page,
        redirects them to /shib-login/
      * Modify student.views.accounts_login to handle redirects
        generated by @login_required for courses that use shib for
        access control.
        Redirect those logins to /shib-login/?next=
      Jason Bau committed
  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. 08 Aug, 2013 2 commits
  6. 06 Aug, 2013 1 commit
  7. 02 Aug, 2013 1 commit
  8. 31 Jul, 2013 1 commit
  9. 24 Jul, 2013 1 commit
    • csrf test fix · 56883d65
      remove test that csrf middleware is disabled (since we can't seem to reload middleware between tests)
      
      move definitions from setuo into test method
      ihoover committed
  10. 23 Jul, 2013 2 commits
  11. 20 Jul, 2013 3 commits
  12. 08 Jul, 2013 1 commit
  13. 26 Jun, 2013 1 commit
  14. 24 Jun, 2013 1 commit
  15. 21 Jun, 2013 1 commit
  16. 13 Jun, 2013 1 commit
  17. 23 May, 2013 3 commits
  18. 03 May, 2013 1 commit
    • Modify UserFactory to create a profile for the user · 0f7378a1
      This allows specification of profile parameters when creating a user. Because
      the profile contents are always accessed from the database, the user must be
      saved to the database before the profile is created. This means that the
      profile cannot be created if the user is merely being built (and not saved)
      rather than created.
      Greg Price committed
  19. 18 Apr, 2013 2 commits
  20. 16 Apr, 2013 1 commit
  21. 27 Mar, 2013 2 commits
  22. 20 Mar, 2013 5 commits