- 09 Nov, 2017 1 commit
-
-
Troy Sankey committed
-
- 08 Nov, 2017 1 commit
-
-
Troy Sankey committed
-
- 12 Jun, 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
-
- 11 Oct, 2016 1 commit
-
-
improvements to the command line interface for caching
Adam Palay committed
-
- 07 Oct, 2016 1 commit
-
-
Adam Palay committed
-
- 28 Sep, 2016 1 commit
-
-
Adam Palay committed
-
- 02 Sep, 2016 1 commit
-
-
Some StudentModule entries were written with newlines at the end of the course_id. This script finds those entries within a given time range, archive them, and merges records if necessary (capa problems).
David Ormsbee committed
-
- 30 Aug, 2016 1 commit
-
-
clear request cache to avoid memory leak update to use https delete courses in the same transaction as writing them python3 compatibility
Adam Palay committed
-
- 03 Aug, 2016 1 commit
-
-
Calen Pennington committed
-
- 28 Jun, 2016 1 commit
-
-
* Renames discussion_module to discussion_xblock * Moves common/lib/xmodule/xmodule_discussion to openedx/core/lib/xblock_builtin/xblock_discussion
E. Kolpakov committed
-
- 26 May, 2016 1 commit
-
-
This moves the functionality of the 'export_course' management command from lms/djangoapps/courseware over to the Studio codebase. This reflects its use going forward to be run with cms settings, to export the content of the Studio modulestore instead of the LMS modulestore. The management command is used by an analytics workflow to output course content for researchers.
Brian Wilson committed
-
- 09 May, 2016 1 commit
-
-
add test case for discussion_id already set in XML
Adam Palay committed
-
- 02 May, 2016 2 commits
-
-
John Eskew committed
-
John Eskew committed
-
- 12 Apr, 2016 2 commits
-
-
John Eskew committed
-
John Eskew committed
-
- 08 Apr, 2016 1 commit
-
-
Ned Batchelder committed
-
- 07 Mar, 2016 1 commit
-
-
Hassan committed
-
- 29 Feb, 2016 1 commit
-
-
This is a clone (copy) of CSMH's declaration and methods with an added id of UnsignedBigInAutoField We should be able to delete the save_history code, but needs testing. Add error logging when capa failures happen Put StudentModuleHistory into its own database Bump out the primary key on CSMHE This gives us a gap to backfill as needed. Since the new table's pk is an unsigned bigint, even for people who don't consolidate CSMH into CSMHE, the lost rows are unlikely to matter. Remove StudentModuleHistory cleaner
Calen Pennington committed
-
- 11 Dec, 2015 3 commits
-
-
Sarina Canelake committed
-
Sarina Canelake committed
-
Also remove its corresponding ACCESS_REQUIRE_STAFF_FOR_COURSE feature flag.
Nimisha Asthagiri committed
-
- 10 Nov, 2015 1 commit
-
-
Please note that this is a squshed commit and the work of: Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
Usman Khalid committed
-
- 27 Aug, 2015 1 commit
-
-
The old line: from path import path produced pylint errors because of the baroque way that path.py defined "path". We tried to get them to change how they defined it, but they deleted the name instead: https://github.com/jaraco/path.py/issues/102 (Jason then changed his mind, but this is a better way to use path.py, it avoids the pylint error at least.)
Ned Batchelder committed
-
- 01 Aug, 2015 2 commits
-
-
Remove remove_input_state.py, as it was one-time fix code, and is not worth porting to the new interface
Calen Pennington committed -
This required the following changes to the DjangoXBlockUserStateClient semantics: 1) Changes get/get_many to return XBlockUserState tuples, rather than state dictionaries or (block_key, state) tuples. 2) Raises DoesNotExist if get_history is called on an XBlock that has had no data saved to it. 3) Returns XBlockUserState tuples as the results of get_history.
Calen Pennington committed
-
- 13 Jul, 2015 1 commit
-
-
Sarina Canelake committed
-
- 02 Jul, 2015 1 commit
-
-
Ned Batchelder committed
-
- 12 Jun, 2015 1 commit
-
-
Ali Mohammad committed
-
- 29 May, 2015 1 commit
-
-
alawibaba committed
-
- 07 May, 2015 1 commit
-
-
Christine Lytwynec committed
-
- 02 Apr, 2015 1 commit
-
-
PLAT-484
Waheed Ahmed committed
-
- 30 Mar, 2015 1 commit
-
-
Calen Pennington committed
-
- 10 Mar, 2015 1 commit
-
-
Jonathan Piacenti committed
-
- 20 Feb, 2015 1 commit
-
-
stv committed
-
- 17 Feb, 2015 1 commit
-
- 09 Feb, 2015 3 commits