- 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
-
- 22 Feb, 2017 1 commit
-
-
We need to be able to track which site a given user account was created on. This change will create a UserAttribute model with a key of 'created_on_site' and a value containing the domain of the site on which the user accounted was created. WL-977
Hasnain committed
-
- 17 Feb, 2017 1 commit
-
-
This reverts commit bc418c47.
Simon Chen committed
-
- 16 Feb, 2017 1 commit
-
-
ECOM-6463
Ahsan Ulhaq committed
-
- 13 Feb, 2017 1 commit
-
-
Ayesha Baig committed
-
- 07 Feb, 2017 1 commit
-
-
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
-
- 01 Feb, 2017 1 commit
-
-
We should not be using custom signing keys for each service at this time. We may want to return to this strategy in the future; but, this is not the direction any of our other services are going in. ECOM-6541
Clinton Blackburn committed
-
- 31 Jan, 2017 1 commit
-
-
Vedran Karacic committed
-
- 21 Nov, 2016 1 commit
-
-
Douglas Hall committed
-
- 18 Nov, 2016 2 commits
-
-
The user info is now updated every time a user loads the learner dashboard. Given that this is the page most learners land on after enrolling in a course, updating this cookie here will ensure that the enrollment status hash is relatively up-to-date. ECOM-4895
Clinton Blackburn committed -
This will allow the marketing site to determine if locally-stored enrollment data needs to be refreshed. ECOM-4896
Clinton Blackburn committed
-
- 14 Nov, 2016 1 commit
-
-
Sven Marnach committed
-
- 09 Nov, 2016 2 commits
-
-
Douglas Hall committed
-
Douglas Hall committed
-
- 07 Nov, 2016 3 commits
-
-
Will fall back to stored certificate grade if needed as we've discussed. TNL-5314
Sanford Student committed -
John Eskew committed
-
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
-
- 01 Nov, 2016 2 commits
-
-
Jesse Shapiro committed
-
Jesse Shapiro committed
-
- 26 Oct, 2016 1 commit
-
-
Ibrahim committed
-
- 25 Oct, 2016 2 commits
-
-
Ahsan Ulhaq committed
-
ECOM-5968
Ahsan Ulhaq committed
-
- 17 Oct, 2016 1 commit
-
-
Bill DeRusha committed
-
- 13 Oct, 2016 1 commit
-
-
Andy Armstrong committed
-
- 11 Oct, 2016 1 commit
-
-
Robert Raposa committed
-
- 08 Oct, 2016 1 commit
-
-
Show verification expiration message on learner dashboard and allow them to reverify if expiration is X days away. ECOM-2979
Tasawer committed
-
- 07 Oct, 2016 2 commits
-
-
Nimisha Asthagiri committed
-
Add UTM cookie tracking for registrations. Add config model for cookie names. ECOM-5539
Bill DeRusha committed
-
- 06 Oct, 2016 1 commit
-
-
Move oauth_dispatch from lms to openedx/core.
Nimisha Asthagiri committed
-
- 03 Oct, 2016 1 commit
-
-
ECOM-4641
Ahsan committed
-
- 27 Sep, 2016 2 commits
-
-
This reverts commit fe136122.
attiyaishaque committed -
Awais Jibran committed
-
- 26 Sep, 2016 1 commit
-
-
Celery need to serialize the arguments for a task. Here, user is not serializable,replace it with ID. ECOM-5784
Awais Jibran committed
-
- 23 Sep, 2016 2 commits
-
-
It should help catch unicode encoding problems earlier. This also updates python-saml dependency to a version that includes a patch for unicode strings.
Matjaz Gregoric committed -
attiyaishaque committed
-
- 22 Sep, 2016 1 commit
-
-
Awais Jibran committed
-
- 12 Sep, 2016 1 commit
-
-
Nimisha Asthagiri committed
-
- 08 Sep, 2016 1 commit
-
-
Jesse Shapiro committed
-
- 02 Sep, 2016 1 commit
-
-
Clinton Blackburn committed
-