- 06 Nov, 2017 1 commit
-
-
- 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
-
- 09 Oct, 2017 1 commit
-
-
Aamish Baloch 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 1 commit
-
-
EDUCATOR-341
Kyle McCormick committed
-
- 10 Jul, 2017 1 commit
-
-
LEARNER-1696
Andy Armstrong 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
-
- 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
-
- 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
-
- 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 2 commits
-
-
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 -
Douglas Hall committed
-
- 08 Sep, 2016 1 commit
-
-
We're often grabbing the metadata of a specific thread to then be able to perform other operations, but we never need the actual responses or comments of a thread unless we're displaying it in the normal forum view. This change sets a default of with_responses=False, which instructs the comment service to not send back the responses/comments for the given thread. We only ask for responses in the case of rendering a single thread or inline discussion.
Toby Lawrence committed
-
- 03 Aug, 2016 2 commits
-
-
Calen Pennington committed
-
Ned Batchelder committed
-
- 25 Jul, 2016 1 commit
-
-
TNL-5002
cahrens committed
-
- 30 Jun, 2016 1 commit
-
-
2. Update COMPREHNSIVE_THEME_DIR to COMPREHENSIVE_THEME_DIRS 3. Update paver commands to support multi theme dirs 4. Updating template loaders 5. Add ENABLE_COMPREHENSIVE_THEMING flag to enable or disable theming via settings 6. Update tests 7. Add backward compatibility for COMPREHEHNSIVE_THEME_DIR
Matt Drayer committed
-
- 16 Jun, 2016 1 commit
-
-
David Ormsbee committed
-
- 01 Jun, 2016 1 commit
-
-
Hasnain committed
-
- 04 May, 2016 2 commits
-
-
By default, disable all caching in tests, to preserve test independence. In order to enable caching, inherit from CacheSetupMixin, and specify which cache configuration is needed. [EV-32]
Calen Pennington committed -
Instead, use a class attribute to define test behavior. This allows for easier addition of new mixins over time.
Calen Pennington committed
-
- 17 Mar, 2016 1 commit
-
-
This will leverage the nose attrib plugin to allow us to break tests apart on our build system to run in parallel on separate nodes.
Ben Patterson committed
-
- 01 Mar, 2016 1 commit
-
-
Also accelerates forums UnicodeTestCases
Renzo Lucioni committed
-
- 15 Jan, 2016 1 commit
-
-
Christine Lytwynec committed
-
- 11 Dec, 2015 1 commit
-
-
Nimisha Asthagiri committed
-
- 09 Dec, 2015 1 commit
-
-
Ned Batchelder committed
-
- 22 Nov, 2015 1 commit
-
-
Ned Batchelder committed
-
- 18 Nov, 2015 2 commits
-
-
The preferred form is to use CourseKey.from_string() instead of SlashSeparatedCourseKey.from_deprecated_string().
Sven Marnach committed -
Sven Marnach committed
-