1. 29 Jan, 2016 1 commit
  2. 02 Dec, 2015 1 commit
    • CohortMembership Test Fixes · 88a38965
      There are 3 main changes in this commit:
      * CohortFactory now sets up memberships properly, so consuming tests do not
      need to explicitly touch CourseUserGroup.users to add() users.
      * test_get_cohort_sql_queries has been updated to 3 and 9 queries when using
      and not using the cache, respectively. This is needed due to each operation
      needing an extra queery to get the CourseUserGroup from the CohortMembership.
      * Adding remove_user_from_cohort(), the counterpart to add_user_to_cohort().
      This is also to keep tests from touching the users field directly, and keep
      CohortMembership data in sync.
      Eric Fischer committed
  3. 18 Nov, 2015 1 commit
  4. 10 Nov, 2015 1 commit
  5. 21 Oct, 2015 1 commit
  6. 07 Oct, 2015 1 commit
  7. 28 Sep, 2015 2 commits
  8. 25 Sep, 2015 1 commit
    • Upgrade djangorestframework to v3.1 · 8555630d
      * Upgrade edx-submissions
      * Upgrade edx-ora2
      * Upgrade edx-val
      * Upgrade edx-proctoring
      * Update all edx-platform code that depends on DRF, including:
        - auth_exchange
        - cors_csrf
        - embargo
        - enrollment
        - util
        - commerce
        - course_structure
        - discussion_api
        - mobile_api
        - notifier_api
        - teams
        - credit
        - profile_images
        - user_api
        - lib/api (OAuth2 and pagination)
      Will Daly committed
  9. 18 Sep, 2015 1 commit
  10. 28 Aug, 2015 1 commit
  11. 06 Aug, 2015 1 commit
  12. 04 Aug, 2015 1 commit
  13. 31 Jul, 2015 1 commit
  14. 30 Jul, 2015 1 commit
  15. 13 Jul, 2015 4 commits
  16. 02 Jun, 2015 1 commit
  17. 13 May, 2015 1 commit
  18. 12 May, 2015 1 commit
  19. 07 May, 2015 1 commit
  20. 23 Mar, 2015 4 commits
  21. 17 Mar, 2015 2 commits
  22. 14 Mar, 2015 2 commits
  23. 09 Mar, 2015 1 commit
  24. 06 Mar, 2015 1 commit
  25. 05 Mar, 2015 1 commit
  26. 03 Mar, 2015 1 commit
    • Fix issues with duplicate discussion targets. · 639ab0dc
      When two or more instances of Discussion XBlock were configured
      with the same discussion target (Category/Subcategory),
      only one of the blocks would be shown on the Course Discussion page.
      This was the source of several bugs when trying to edit discussion threads.
      
      This patch adds incrementing numbers to the title of each duplicate
      subcategory when rendering the Course Discussion to make sure that
      all of the threads are visible in Course Discussion.
      Matjaz Gregoric committed
  27. 25 Feb, 2015 1 commit
  28. 17 Feb, 2015 1 commit
  29. 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
  30. 11 Dec, 2014 1 commit