1. 07 May, 2015 1 commit
  2. 17 Mar, 2015 2 commits
  3. 10 Mar, 2015 1 commit
  4. 09 Feb, 2015 1 commit
  5. 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
  6. 02 Dec, 2014 1 commit
  7. 17 Jul, 2014 1 commit
  8. 11 Jul, 2014 1 commit
  9. 27 Jun, 2014 1 commit
  10. 26 Jun, 2014 1 commit
  11. 29 May, 2014 1 commit
  12. 12 May, 2014 1 commit
  13. 09 May, 2014 1 commit
  14. 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
  15. 24 Apr, 2014 1 commit
    • Additional logic to handle more course_image URL edge cases · c4ea3380
      This changes logic to allow more missed use cases of course_image to
      work properly.  The cases are:
      
      . XML courses with the course_image attribute set
      . Mongo courses that are imported without a contentstore
      . Mongo courses that have course_image set but don't have a content store
      
      It also exports default images_static_course.jpg to
      images/static_course.jpg to handle a use case where a course author
      uploaded an image to the default location in studio without using the
      studio interface for adding course images, they then export the course, and then
      import it without a contentstore
      Carson Gee committed
  16. 04 Apr, 2014 1 commit
  17. 19 Mar, 2014 1 commit
  18. 22 Jan, 2014 2 commits
  19. 08 Nov, 2013 1 commit
  20. 17 Oct, 2013 1 commit
  21. 16 Oct, 2013 1 commit
  22. 10 Oct, 2013 1 commit
  23. 09 Oct, 2013 1 commit
    • add some middleware to determine whether draft modulestore or non-draft modulestore should be used · 8f9d815f
      change to use regex to do the domain mappings. Also add config to AWS to be able to set from configuration file.
      
      handle cases where HTTP_HOST is none, like in unit tests
      
      add linefeed at end
      
      fix up regex matches
      
      switch to use thread local storage to hold the request itself
      
      .
      
      .
      
      convert over to use open source 3rd party library
      
      convert over to use django-cum
      
      add unit test
      
      remove comment
      
      .
      
      add comment to config setting
      
      fix comment
      
      use better regex for localdev
      
      no need to break
      
      no need to wrap an imported function, it's visible to any file that is importing us
      
      add comment
      
      add unit test
      
      clean up test
      
      use a separate env file to set the preview hostname
      Chris Dodge committed
  24. 04 Sep, 2013 1 commit
  25. 31 Aug, 2013 1 commit
  26. 26 Jun, 2013 1 commit
  27. 05 Mar, 2013 1 commit
  28. 28 Jan, 2013 1 commit
  29. 25 Jan, 2013 1 commit
  30. 22 Jan, 2013 2 commits