1. 24 Jun, 2016 1 commit
  2. 10 Nov, 2015 1 commit
  3. 14 Mar, 2015 1 commit
  4. 04 Feb, 2015 1 commit
    • 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
  5. 19 Dec, 2014 1 commit
  6. 13 Dec, 2014 1 commit
  7. 02 Dec, 2014 1 commit
  8. 31 Oct, 2014 1 commit
  9. 10 Jul, 2014 1 commit
  10. 30 May, 2014 1 commit
  11. 06 May, 2014 1 commit
    • Make course ids and usage ids opaque to LMS and Studio [partial commit] · 9811926d
      This commit updates lms/djangoapps/courseware.
      
      These keys are now objects with a limited interface, and the particular
      internal representation is managed by the data storage layer (the
      modulestore).
      
      For the LMS, there should be no outward-facing changes to the system.
      The keys are, for now, a change to internal representation only. For
      Studio, the new serialized form of the keys is used in urls, to allow
      for further migration in the future.
      
      Co-Author: Andy Armstrong <andya@edx.org>
      Co-Author: Christina Roberts <christina@edx.org>
      Co-Author: David Baumgold <db@edx.org>
      Co-Author: Diana Huang <dkh@edx.org>
      Co-Author: Don Mitchell <dmitchell@edx.org>
      Co-Author: Julia Hansbrough <julia@edx.org>
      Co-Author: Nimisha Asthagiri <nasthagiri@edx.org>
      Co-Author: Sarina Canelake <sarina@edx.org>
      
      [LMS-2370]
      Calen Pennington committed
  12. 24 Feb, 2014 1 commit
  13. 22 Jan, 2014 1 commit
  14. 03 Dec, 2013 1 commit
  15. 19 Nov, 2013 1 commit
  16. 08 Nov, 2013 2 commits
  17. 25 Oct, 2013 1 commit
  18. 08 Oct, 2013 1 commit
  19. 03 Oct, 2013 1 commit
  20. 18 Sep, 2013 1 commit
  21. 10 Sep, 2013 1 commit
  22. 09 Sep, 2013 4 commits
  23. 06 Sep, 2013 1 commit
  24. 27 Aug, 2013 1 commit
  25. 21 Aug, 2013 1 commit
    • Removed unnecessary settings wrangling from ModuleStoreTestCase. · 48c6daac
      Modified navigation tests to use MixedModulestore
      Updated factories to find editable modulestore
      
      Updated test_submitting_problems
      
      Updated test_tabs.py
      
      Updated test_view_authentication
      
      Updated test_views
      
      Updated courseware/tests/tests.py
      
      Updated test_masquerade
      
      Updated test_module_render
      
      Pylint fixes
      
      Updated video and word cloud tests
      
      Updated course wiki tests
      
      Updated license and open_ended tests.
      One open_ended test still failing due to Mako initialization issues
      
      Updated staticbook
      
      Updated django_comment_client tests
      
      Updated instructor tests
      
      Updated instructor task tests
      
      Updated external_auth tests
      
      Updated course_groups
      Will Daly committed
  26. 16 Aug, 2013 1 commit
  27. 06 Aug, 2013 1 commit
  28. 31 Jul, 2013 2 commits
  29. 17 Jul, 2013 1 commit
  30. 16 Jul, 2013 1 commit
    • No longer persist XModule templates · 3722685e
      Instead, we use XModule field default values when creating an empty
      XModule. Driven by this use case, we also allow for XModules to be
      created in memory without being persisted to the database at all. This
      necessitates a change to the Modulestore api, replacing clone_item with
      create_draft and save_xmodule.
      Don Mitchell committed
  31. 03 Jul, 2013 1 commit
  32. 18 Jun, 2013 2 commits
  33. 17 Jun, 2013 1 commit
  34. 13 Jun, 2013 1 commit