- 06 Nov, 2017 4 commits
-
-
- Remove usage of django.urls.patterns - Change urls tuples to lists - Make all string view names callables - This is the second of several urls updates for LMS; a work in progress
bmedx committed -
Troy Sankey committed
-
Troy Sankey committed
-
Troy Sankey committed
-
- 09 Oct, 2017 1 commit
-
-
Aamish Baloch committed
-
- 05 Oct, 2017 2 commits
-
-
John Eskew committed
-
John Eskew committed
-
- 22 Sep, 2017 1 commit
-
-
Jeremy Bowman committed
-
- 06 Sep, 2017 1 commit
-
-
Jeremy Bowman committed
-
- 27 Jul, 2017 1 commit
-
-
LEARNER-2017
Andy Armstrong committed
-
- 25 Jul, 2017 1 commit
-
-
This has been causing a huge memory leak, wrapping the call in this context manager properly cleans up the 'records' entries. EDUCATOR-274
Eric Fischer committed
-
- 21 Jul, 2017 1 commit
-
-
Jesse Shapiro committed
-
- 14 Jul, 2017 1 commit
-
-
LEARNER-1854
Andy Armstrong committed
-
- 11 Jul, 2017 2 commits
-
-
EDUCATOR-341
Kyle McCormick committed -
cahrens committed
-
- 10 Jul, 2017 2 commits
-
-
LEARNER-1696
Andy Armstrong committed -
Sofiya Semenova committed
-
- 07 Jul, 2017 1 commit
-
-
Sofiya Semenova committed
-
- 06 Jul, 2017 1 commit
-
-
Albert St. Aubin committed
-
- 20 Jun, 2017 2 commits
-
-
PSA was monolothic, now split, with new features, like a DB-backed partial pipeline. FB OAuth2 version also upped. Partial pipelines don't get cleared except when necessary. They persist for special cases like change of browser while still mid-pipeline (i.e. email validation step). Refactor, cleanup, and update of a lot of small things as well. PLEASE NOTE the new `social_auth_partial` table.
Uman Shahzad committed -
EDUCATOR-341
Kyle McCormick committed
-
- 12 Jun, 2017 1 commit
-
-
Andy Armstrong committed
-
- 06 Jun, 2017 1 commit
-
-
Albert St. Aubin committed
-
- 05 Jun, 2017 4 commits
-
-
cahrens committed
-
EDUCATOR-229
cahrens committed -
Albert St. Aubin committed
-
EDUCATOR-11
cahrens committed
-
- 28 Apr, 2017 1 commit
-
-
Calen Pennington committed
-
- 27 Apr, 2017 2 commits
-
-
cahrens committed
-
Ned Batchelder committed
-
- 18 Apr, 2017 1 commit
-
-
Omar Al-Ithawi committed
-
- 12 Apr, 2017 1 commit
-
-
LEARNER-76
Andy Armstrong committed
-
- 07 Apr, 2017 1 commit
-
-
TNL-6815
cahrens committed
-
- 06 Apr, 2017 1 commit
-
-
attiyaishaque committed
-
- 09 Mar, 2017 1 commit
-
-
rabiaiftikhar committed
-
- 01 Mar, 2017 1 commit
-
-
Andy Armstrong committed
-
- 23 Feb, 2017 1 commit
-
-
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
-
- 09 Nov, 2016 1 commit
-
-
attiyaishaque committed
-
- 03 Nov, 2016 1 commit
-
-
This specifically enables/disables the underlying comment service client used to make calls to the service. When disabled, this client will now throw an exception which can be propagated upwards so that callers can make the right decision about how to notify users of the error, or handle retry, etc etc.
Toby Lawrence committed
-
- 18 Oct, 2016 1 commit
-
-
Firstly, we're now explicitly instructing the comments service to not return thread responses/comments if the request isn't AJAX. So, if you load the URL for a single discussion thread in your browser, this would be a non-AJAX call and we'll avoid loading the responses for the entire thread behind-the-scenes. Big win here for large threads. Next, we removed a redundant "get threads" call which was also happening behind-the-scenes. This call was redundant as the front-end JS also grabs the thread list when a topic is chosen, so we were making an extranenous call for no benefit. Poof, gone! Finally, we added some caching of database queries that are required to drive a lot of the permissions/cohorts machinery around discussion. This will have a minimal effect but introduced a cleaner way to apply general memoization at the per-request level which will let us further cache things as we identify them as issues.
Toby Lawrence committed
-