1. 07 Oct, 2016 1 commit
  2. 19 Sep, 2016 1 commit
  3. 15 Sep, 2016 1 commit
  4. 03 Aug, 2016 3 commits
  5. 16 May, 2016 1 commit
  6. 04 May, 2016 1 commit
  7. 02 May, 2016 2 commits
  8. 28 Apr, 2016 1 commit
  9. 12 Apr, 2016 1 commit
  10. 08 Apr, 2016 1 commit
  11. 01 Mar, 2016 3 commits
  12. 04 Dec, 2015 1 commit
  13. 23 Nov, 2015 1 commit
  14. 22 Nov, 2015 1 commit
  15. 10 Nov, 2015 1 commit
  16. 27 Aug, 2015 1 commit
  17. 12 Aug, 2015 1 commit
  18. 03 Aug, 2015 1 commit
  19. 13 Jul, 2015 1 commit
  20. 12 Jun, 2015 2 commits
    • MIT CCX: Use CCX Keys: further revisions in response to code review · cb431ccb
      only require ccx-keys once
      
      get_current_ccx will now expect a CourseKey instance as its argument, and will raise a value error if this expectation is not met.
      
      document reason for local import
      
      add special methods to pass attribute setting and deletion through to the wrapped modulestore
      
      add __setattr__ and __delattr__ per code review, update __init__ to work with new methods
      
      style change per code review
      
      clean up context manager usage as recommended by code review
      
      remove unused code and imports
      
      convert modulestore type tests to use the `get_modulestore_type` api, remove unused imports
      
      code quality: add docstrings
      
      increase coverage for utils tests
      
      fix bug found in testing.
      
      increase test coverage on modulestore wrapper
      
      code quality fixes
      
      code-quality: ignore import error, but mark site for future consideration
      cewing committed
    • 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
  21. 06 Jun, 2015 1 commit
  22. 07 May, 2015 1 commit
  23. 30 Apr, 2015 1 commit
  24. 17 Mar, 2015 2 commits
  25. 10 Mar, 2015 1 commit
  26. 26 Feb, 2015 1 commit
  27. 20 Feb, 2015 1 commit
  28. 18 Feb, 2015 1 commit
  29. 09 Feb, 2015 1 commit
  30. 04 Feb, 2015 2 commits
    • Better support specifying of modulestore configuration in test cases · b353ed2e
      The existing pattern of using `override_settings(MODULESTORE=...)` prevented
      us from having more than one layer of subclassing in modulestore tests.
      
      In a structure like:
      
          @override_settings(MODULESTORE=store_a)
          class BaseTestCase(ModuleStoreTestCase):
              def setUp(self):
                  # use store
      
          @override_settings(MODULESTORE=store_b)
          class ChildTestCase(BaseTestCase):
              def setUp(self):
                  # use store
      
      In this case, the store actions performed in `BaseTestCase` on behalf of
      `ChildTestCase` would still use `store_a`, even though the `ChildTestCase`
      had specified to use `store_b`. This is because the `override_settings`
      decorator would be the innermost wrapper around the `BaseTestCase.setUp` method,
      no matter what `ChildTestCase` does.
      
      To remedy this, we move the call to `override_settings` into the
      `ModuleStoreTestCase.setUp` method, and use a cleanup to remove the override.
      Subclasses can just defined the `MODULESTORE` class attribute to specify which
      modulestore to use _for the entire `setUp` chain_.
      
      [PLAT-419]
      Calen Pennington committed
  31. 03 Feb, 2015 1 commit
  32. 27 Jan, 2015 1 commit