1. 17 Sep, 2015 1 commit
  2. 17 Aug, 2015 1 commit
  3. 13 Aug, 2015 1 commit
  4. 11 Aug, 2015 1 commit
  5. 07 Aug, 2015 1 commit
  6. 01 Aug, 2015 1 commit
    • Use the standard enrollment table instead of a custom CCX table for CCX · 458ed0a6
      enrollments.
      
      The goal for this PR is to have a single mechanism for registering users and
      reducing the number of places where special-casing for ccx courses is needed. The
      migration at this point is purposefully limited to convert ccx memberships into
      student enrollments when moving forward. No backward migration is in place at the
      moment. The ccx membership tables are not removed at this time. It is possible to go
      backwards and forwards multiple times with no errors or data loss.
      Carlos de la Guardia committed
  7. 20 Jul, 2015 1 commit
  8. 08 Jul, 2015 1 commit
  9. 12 Jun, 2015 2 commits
    • MIT CCX: Use CCX Keys - responses to code review · ef483650
      remove references to middleware that were missed previously
      
      use key apis rather than local implementation of key conversion.  remove local implementationa
      
      remove spurious test for attribute
      
      fix test setUp to avoid unneeded flattening
      
      code quality fixes
      
      add security check ensuring that the coach is coach for *this* CCX.
      
      prevent ccx/deprecated course id problems
      
      1.  do not allow ccx objects to be created if the course id is deprecated
      2.  filter out any ccx memberships that involve deprecated course ids (in case there are bad ccxs in the database)
      
      Fix test failures and errors arising from incorrect code path execution
      
      Create context manager to handle unwrapping and restoring ccx values for the modulestore wrapper, employ it throughout modulestore wrapper implementation
      cewing committed
    • MIT CCX: Use CCX Keys · 6a0c9aee
      Implement the use of CCX opaque keys throughout the ccx code base
      
      include the new custom ccx id package in the github checkouts list
      
      update the coach dashboard wrapper to get CCX information from the incoming course_id, if possible
      
      update function signatures for all view functions to expect CCX as passed by the dashboard wrapper (default to None), remove calls to get_ccx_for_coach as the ccx is passed in.
      
      update reverse calls in python view code to use a CCXLocator for the URL instead of a CourseLocator
      
      use CCXLocator where necessary
      
      use course id to find ccx, instead of thread local
      
      remove unused method and related tests
      
      use course id for getting ccx
      
      provide course id to the get_current_ccx method
      
      ensure the course id passed in is a CourseKey instance of some type whether it starts out as a string or not
      
      use the provided block to figure out what the course_id should be, then get the ccx for that
      
      redirect to ccx dashboard using coach ccx if no ccx is passed in
      
      update student dashboard listing for ccx to build an appropriate url from a CCXLocator, not from the course locator.
      
      refactor building the ccx locator so we don't have to do it repeatedly
      
      begin test refactoring after ccx_keys introduction
      
      Ensure that when access checking happens, the course_locator form of a ccx locator is used.  This ensures that the access check happens against the course and it is not necesarry to duplicate the entire access control structure for the course.
      
      pick up api change in ccx-keys
      
      create and conditionally use a wrapper for the mixed modulestore returned by xmodule.modulestore.django.modulestore
      
      the wrapper will strip and restore ccx values from CourseKey and UsageKey objects
      
      fix return values on a few methods
      
      remove unused symbol
      
      pull updated ccx-keys package
      
      set course_id on the caching descriptor system to avoid api incompatibilities in some subsystems
      
      use ccx.course instead of self.course
      
      fix get method to find course keys from blocks that are not themselves keys but have a location attribute (which will be a key)
      
      if an item coming out of the db has children, restore the ccx to them as well
      
      if the block passed in has a CCX key, unwrap that before we try to look up the override, otherwise it will never be found.
      
      pick up a change in the ccx keys package that allows for stripping CCX identity from a usage key
      
      begin writing tests to cover this modulestore wrapper
      
      remove the switch_pocs view, the url pattern for it, and the tests that covered it
      
      remove the ccx context and the middleware responsible for setting the current CCX.  These are no longer needed
      
      all dashboard views should raise 404 if a ccx is not provided by the coach_dashboard decorator
      
      code quality
      
      prevent errors resulting from trying to `get` a ccx based on non-unique criteria.
      
      remove obsolete usage of ACTIVE_CCX_KEY
      
      fix setUp method for grading tests to properly create grades for the ccx rather than for the course.
      
      clean up reverse calls
      
      code quality
      
      adding docstrings to clarify purpose of this patch
      
      fix bug in getting ccx for coach
      
      fix grading views to properly fetch a ccx-ified course so that grades for that version will be calculated
      
      fix small errors in modulestore implementation
      
      fix errant merge marker
      
      update call to get_current_ccx after key refactoring merged with tab changes
      cewing committed
  10. 09 Jun, 2015 1 commit
  11. 03 Jun, 2015 1 commit
  12. 29 Apr, 2015 1 commit
  13. 23 Apr, 2015 1 commit
  14. 11 Apr, 2015 2 commits
    • MIT: CCX. Fixes for issues identified in code review · b315b4d7
      Switch to font awesome icons, to fix issue with toggling collapsible sections of the schedule in ccx coach dashboard
      
      Ensure access check takes place after descriptor is bound to the user, or field override checks will never happen
      Carlos de la Guardia committed
    • MIT: CCX. Rename POC to CCX · 7f691e4a
      Final official name is Custom Courses for EdX (CCX), rename all code to remove previous name.
      
      Rename the FEATURE constant used to identify this feature
      
      Rename the middleware for the CCX change
      
      rename the constant used for storing the current poc id on the session.
      
      rename the _PocContext threading local
      
      rename the override provider in all places where it is referenced
      
      `PersonalOnlineCoursesOverrideProvider` -> `CustomCoursesForEdxOverrideProvider`
      
      generally rename symbols from overrides.py to replace `poc` with `ccx` where possible without changing model names or attributes
      
      rename more symbols from poc to ccx
      rename util functions from app utils module
      
      general symbol renaming poc -> ccx in views.py and related url changes
      
      Rename the coach role wherever it is used.
      
      reword poc_coach to ccx_coach
      
      UI rename
      
      replace POC with CCX globally
      
      template context variable renamed
      
      rename poc_ to ccx_ in urls and all related locations (views, js, scss etc)
      
      remove pocs migrations
      
      Final massive renaming, including models.  Re-built migration.
      
      cleaning up a few tailing references
      
      Fix reference typo in schedule template JS
      
      undo modifications made on the fly in test setup to ensure that our tests are properly isolated from the rest of the system tests.
      
      Fixes jazkarta/edx-platform#38
      
      Clean up some leftover strings and comments
      
      fixing more strings and comments in python files
      
      fix a naming error in the schedule tab that was causing problems in deleting courseware items.
      
      Fixes jazkarta/edx-platform#36
      
      updating tests and utility code to match changes in infrastructure from latest rebase
      cewing committed