1. 02 Mar, 2016 1 commit
  2. 20 Jul, 2015 1 commit
  3. 17 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. 02 Dec, 2014 1 commit
  6. 11 Nov, 2014 1 commit
  7. 10 Nov, 2014 1 commit
  8. 31 Oct, 2014 1 commit
  9. 01 Oct, 2014 1 commit
  10. 23 Jun, 2014 1 commit
  11. 29 May, 2014 1 commit
  12. 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
  13. 28 Apr, 2014 1 commit
  14. 16 Apr, 2014 1 commit
  15. 14 Apr, 2014 2 commits
  16. 08 Apr, 2014 1 commit
  17. 20 Mar, 2014 1 commit
  18. 27 Jan, 2014 1 commit
    • annotation tools · 7e2652b5
      First set of fixes from the pull request
      
      This does not include some of the testing files. The textannotation and
      videoannotation test files are not ready. waiting for an answer on the
      issue.
      
      Deleted token line in api.py and added test for token generator
      
      Added notes_spec.coffee
      
      remove spec file
      
      fixed minor error with the test
      
      fixes some quality errors
      
      fixed unit test
      
      fixed unit test
      
      added advanced module
      
      Added notes_spec.coffee
      
      remove spec file
      
      Quality and  Testing Coverage
      
      1. in test_textannotation.py I already check for line 75 as it states
      in the diff in line 43, same with test_videoanntotation
      2. Like you said, exceptions cannot be checked for
      firebase_token_generator.py. The version of python that is active on
      the edx server is 2.7 or higher, but the code is there for correctness.
      Error checking works the same way.
      3. I added a test for student/views/.py within tests and deleted the
      unused secret assignment.
      4. test_token_generator.py is now its own file
      
      Added Secret Token data input
      
      fixed token generator
      
      Annotation Tools in Place
      
      The purpose of this pull request is to install two major modules: (1) a
      module to annotate text and (2) a module to annotate video. In either
      case an instructor can declare them in advanced settings under
      advanced_modules and input content (HTML in text, mp4 or YouTube videos
      for video). Students will be able to highlight portions and add their
      comments as well as reply to each other. There needs to be a storage
      server set up per course as well as a secret token to talk with said
      storage.
      
      Changes:
      1. Added test to check for the creation of a token in tests.py (along
      with the rest of the tests for student/view.py)
      2. Removed items in cms pertaining to annotation as this will only be
      possible in the lms
      3. Added more comments to firebase_token_generator.py, the test files,
      students/views.py
      4. Added some internationalization stuff to textannotation.html and
      videoannotation.html. I need some help with doing it in javascript, but
      the html is covered.
      
      incorporated lib for traslate
      
      fixed quality errors
      
      fixed my notes with catch token
      
      Text and Video Annotation Modules - First Iteration
      
      The following code-change is the first iteration of the modules for
      text and video annotation.
      
      Installing Modules:
      1. Under “Advanced Settings”, add “textannotation” and
      “videoannotation” to the list of advanced_modules.
      2. Add link to an external storage for annotations under
      “annotation_storage_url”
      3. Add the secret token for talking with said storage under
      “annotation_token_secret”
      
      Using Modules
      1. When creating  new unit, you can find Text and Video annotation
      modules under “Advanced” component
      2. Make sure you have either Text or Video in one unit, but not both.
      3. Annotations are only allowed on Live/Public version and not Studio.
      
      Added missing templates and fixed more of the quality errors
      
      Fixed annotator not existing issue in cmd and tried to find the get_html() from the annotation module class to the descriptor
      
      Added a space after # in comments
      
      Fixed issue with an empty Module and token links
      
      Added licenses and fixed vis naming scheme and location.
      daniel cebrian committed
  19. 03 Dec, 2013 1 commit
  20. 23 Sep, 2013 1 commit
  21. 19 Sep, 2013 1 commit
  22. 21 Aug, 2013 2 commits
    • Pep8/pylint fixes · 8165a033
      Fixed test_masquerade failure due to not clearing the modulestore
      between tests.
      Will Daly committed
    • 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
  23. 16 Aug, 2013 2 commits
  24. 03 Jul, 2013 1 commit
  25. 02 Jul, 2013 7 commits
  26. 27 Jun, 2013 1 commit
  27. 19 Jun, 2013 1 commit
  28. 06 May, 2013 1 commit
  29. 12 Apr, 2013 1 commit
  30. 11 Apr, 2013 1 commit
  31. 26 Mar, 2013 1 commit