1. 06 Jul, 2017 1 commit
  2. 04 Jul, 2017 1 commit
  3. 29 Jun, 2017 1 commit
  4. 20 Jun, 2017 1 commit
  5. 12 Jun, 2017 1 commit
  6. 17 May, 2017 1 commit
  7. 15 May, 2017 1 commit
  8. 23 Feb, 2017 1 commit
    • Test Speedup: Isolate Modulestore Signals · 2051c909
      There are a number of Django Signals that are on the modulestore's
      SignalHandler class, such as SignalHandler.course_published. These
      signals can trigger very expensive processes to occur, such as course
      overview or block structures generation. Most of the time, the test
      author doesn't care about these side-effects.
      
      This commit does a few things:
      
      * Converts the signals on SignalHandler to be instances of a new
        SwitchedSignal class, that allows signal sending to be disabled.
      
      * Creates a SignalIsolationMixin helper similar in spirit to the
        CacheIsolationMixin, and adds it to the ModuleStoreIsolationMixin
        (and thus to ModuleStoreTestCase and SharedModuleStoreTestCase).
      
      * Converts our various tests to use this new mechanism. In some cases,
        this means adjusting query counts downwards because they no longer
        have to account for publishing listener actions.
      
      Modulestore generated signals are now muted by default during test runs.
      Calls to send() them will result in no-ops. You can choose to enable
      specific signals for a given subclass of ModuleStoreTestCase or
      SharedModuleStoreTestCase by specifying an ENABLED_SIGNALS class
      attribute, like the following example:
      
          from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
      
          class MyPublishTestCase(ModuleStoreTestCase):
              ENABLED_SIGNALS = ['course_published', 'pre_publish']
      
      You should take great care when disabling signals outside of a
      ModuleStoreTestCase or SharedModuleStoreTestCase, since they can leak
      out into other tests. Be sure to always clean up, and never disable
      signals outside of testing. Because signals are essentially process
      globals, it can have a lot of unpleasant side-effects if we start
      mucking around with them during live requests.
      
      Overall, this change has cut the total test execution time for
      edx-platform by a bit over a third, though we still spend a lot in
      pre-test setup during our test builds.
      
      [PERF-413]
      David Ormsbee committed
  9. 14 Feb, 2017 2 commits
  10. 07 Feb, 2017 1 commit
    • Load all programs from the catalog · e7771148
      This commit contains back end changes necessary to load programs from the catalog in all contexts. The existing program munging utility is applied as late as possible to avoid conflating this work with changes to the front end; those will be made separately.
      
      ECOM-4422
      Renzo Lucioni committed
  11. 15 Dec, 2016 1 commit
  12. 07 Dec, 2016 1 commit
  13. 22 Nov, 2016 1 commit
  14. 07 Oct, 2016 1 commit
  15. 23 Sep, 2016 1 commit
  16. 22 Sep, 2016 1 commit
  17. 04 Aug, 2016 1 commit
  18. 03 Aug, 2016 2 commits
  19. 27 Jul, 2016 1 commit
  20. 13 Jul, 2016 1 commit
  21. 30 Jun, 2016 1 commit
  22. 22 Jun, 2016 2 commits
  23. 08 Jun, 2016 1 commit
  24. 03 May, 2016 1 commit
  25. 12 Apr, 2016 1 commit
  26. 28 Mar, 2016 1 commit
    • saleem-latif/WL-328: Multi-Site Comprehensive Theming · a796b563
      ziafazal: improvements need for multi-tenancy
      ziafazal: fixed broken tests
      ziafazal: no need to add setting in test.py
      ziafazal: added hostname validation
      ziafazal: changes after feedback from mattdrayer
      ziafazal: fixed branding and microsite broken tests
      ziafazal: make STATICFILES_DIRS to list
      ziafazal: added theme directory to mako lookup for tests
      ziafazal: added more protection in test_util
      saleem-latif: Enable SCSS Overrides for Comprehensive Theming
      saleem-latif: Incoporate feedback changes, Correct test failures, add tests and enable theming for django templates
      saleem-latif: Correct errors in python tests
      mattdrayer: Fix invalid release reference
      mattdrayer: Update django-wiki reference to latest release
      saleem-latif: Update Theme storages to work with Caching, Pipeline and collectstatic
      saleem-latif: Incorporate feedback changes
      mattdrayer: Pylint violation fix
      mattdrayer: Fix broken pavelib test
      Zia Fazal committed
  27. 16 Mar, 2016 1 commit
  28. 14 Mar, 2016 1 commit
    • ziafazal/WL-328: Multi-Site Comprehensive Theming · 954dae58
      ziafazal: improvements need for multi-tenancy
      ziafazal: fixed broken tests
      ziafazal: no need to add setting in test.py
      ziafazal: added hostname validation
      ziafazal: changes after feedback from mattdrayer
      ziafazal: fixed branding and microsite broken tests
      ziafazal: make STATICFILES_DIRS to list
      ziafazal: added theme directory to mako lookup for tests
      ziafazal: added more protection in test_util
      saleem-latif: Enable SCSS Overrides for Comprehensive Theming
      saleem-latif: Incoporate feedback changes, Correct test failures, add tests and enable theming for django templates
      saleem-latif: Correct errors in python tests
      mattdrayer: Fix invalid release reference
      mattdrayer: Update django-wiki reference to latest release
      Zia Fazal committed
  29. 28 Jan, 2016 1 commit
  30. 22 Jan, 2016 1 commit
  31. 23 Dec, 2015 1 commit
  32. 22 Dec, 2015 2 commits
  33. 14 Dec, 2015 2 commits
  34. 11 Dec, 2015 1 commit
  35. 09 Dec, 2015 1 commit
    • Remove COURSEWARE_ENABLED flag · 2ee80e84
      Per Dave Ormsbee:
      > That was from way back when, when we actually had Django server pools,
      > proxied differently by nginx; one was the courseware, and the other
      > was askbot, a discussion forum.
      >
      > They shared all the same code, but different parts were live. It was
      > about as good an idea as it sounds.
      >
      > There is no reason that I can think of in the current day and age where
      > you would ever want to run the LMS and *turn off courseware*.
      stv committed