1. 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
  2. 02 Dec, 2014 1 commit
  3. 01 Dec, 2014 2 commits
  4. 25 Nov, 2014 1 commit
  5. 31 Oct, 2014 1 commit
  6. 03 Oct, 2014 2 commits
  7. 24 Sep, 2014 1 commit
  8. 12 Sep, 2014 1 commit
  9. 10 Sep, 2014 1 commit
  10. 05 Sep, 2014 1 commit
  11. 03 Sep, 2014 1 commit
  12. 29 Aug, 2014 2 commits
  13. 10 Jul, 2014 1 commit
  14. 16 Jun, 2014 1 commit
  15. 08 May, 2014 1 commit
    • Make course ids and usage ids opaque to LMS and Studio [partial commit] · cd746bf8
      This commit adds the non-courseware lms/djangoapps and lms/lib.
      
      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
  16. 28 Mar, 2014 1 commit
  17. 12 Mar, 2014 1 commit
  18. 20 Feb, 2014 1 commit
  19. 18 Feb, 2014 1 commit
  20. 13 Feb, 2014 1 commit
    • Check for forum data errors in LMS · 9ae6bb0b
      Some messages generated by the comments service are not readily
      translated because they come from third-party libraries. Thus, we plan
      to try to avoid showing any comments service generated message to the
      user. This check preempts the only end-user-visible CS-generated error
      message that we are presently aware of.
      Greg Price committed
  21. 12 Feb, 2014 1 commit
  22. 14 Jan, 2014 2 commits
  23. 03 Dec, 2013 1 commit
  24. 08 Nov, 2013 1 commit
  25. 16 Oct, 2013 1 commit
    • Log all comments service requests · bd477581
      Logging the duration of each request will allow us to determine
      whether there is a significant difference in the latency reported by
      the comments service and that observed by the LMS. Each request will
      be assigned a unique identifier to allow correlation of the reported
      latency on each end.
      Greg Price committed
  26. 11 Oct, 2013 1 commit
    • Use HTTP header for comments service auth · 62cc9e77
      Previously, authentication was done using a URL parameter, which would
      appear in various logs. Now, authentication is done more appropriately
      with an HTTP header. Note that this requires cs_comments_service commit
      cf39aabdd160176ebf206ca19d3ee030161a0b47 or later.
      Greg Price committed
  27. 27 Aug, 2013 1 commit
  28. 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
  29. 27 Jun, 2013 1 commit
  30. 10 Jun, 2013 1 commit
  31. 16 May, 2013 5 commits