- 11 Apr, 2017 1 commit
-
-
Add a new waffle switch that allows us to assume zero grades for learners who have no entry previously recorded, and another to disable persisting grades for unengaged learners. TNL-6691
Nimisha Asthagiri committed
-
- 30 Mar, 2017 1 commit
-
-
TNL-6674
cahrens committed
-
- 23 Mar, 2017 1 commit
-
-
Diana Huang committed
-
- 22 Mar, 2017 1 commit
-
-
Diana Huang 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 Feb, 2017 1 commit
-
-
Add consent check to course access prerequisites; add utility functions to provide interface to course-specific consent in Enterprise app
Jesse Shapiro committed
-
- 03 Jan, 2017 1 commit
-
-
Gregory Martin committed
-
- 22 Dec, 2016 1 commit
-
-
This reverts commit 8c009881, reversing changes made to 5b6e2dd5.
Calen Pennington committed
-
- 20 Dec, 2016 1 commit
-
-
Gregory Martin committed
-
- 19 Dec, 2016 1 commit
-
-
nit: css
asadiqbal committed
-
- 30 Nov, 2016 2 commits
-
-
TNL-5990
Nimisha Asthagiri committed -
Remove deprecated SingleSectionGrader. TNL-5987 Remove display_name and module_id from Scores objects Update CourseGradeFactory.__init__ to not be user-specific Update some callers to use CourseGrade class instead of "summary" dict Remove no longer needed course_grades.py module. Renamed django signal from GRADES_UPDATED to COURSE_GRADE_CHANGED
Nimisha Asthagiri committed
-
- 07 Nov, 2016 1 commit
-
-
This reverts commit d59ab18b, reversing changes made to 0ebab35e.
Gregory Martin committed
-
- 04 Nov, 2016 1 commit
-
-
Jesse Zoldak committed
-
- 03 Nov, 2016 1 commit
-
-
Gregory Martin committed
-
- 27 Oct, 2016 1 commit
-
-
Initial commit TNL-5484
Sanford Student committed
-
- 26 Oct, 2016 1 commit
-
-
TNL-5835
Nimisha Asthagiri committed
-
- 18 Oct, 2016 4 commits
-
-
Nimisha Asthagiri committed
-
Amir Qayyum Khan committed
-
Amir Qayyum Khan committed
-
Amir Qayyum Khan committed
-
- 12 Oct, 2016 1 commit
-
-
Sanford Student committed
-
- 07 Oct, 2016 2 commits
-
-
Brandon DeRosier committed
-
Jesse Shapiro committed
-
- 06 Oct, 2016 1 commit
-
-
John Eskew committed
-
- 22 Sep, 2016 1 commit
-
-
Felipe Volpone committed
-
- 14 Sep, 2016 2 commits
-
-
As part of the Robust Grades rollout, we expect to see some DatabaseErrors in various methods that write to the database. Since the success of this write operation is not needed for the end-user, we just log and swallow the error. In the future, we'll also enqueue an async task to finish the write operation that failed.
Eric Fischer committed -
Nimisha Asthagiri committed
-
- 12 Sep, 2016 2 commits
-
-
Nimisha Asthagiri committed
-
Discussion is restricted to the CCX course (there is no sharing of discussions with the parent course or other CCX instances).
Matjaz Gregoric committed
-
- 11 Sep, 2016 1 commit
-
-
Nimisha Asthagiri committed
-
- 02 Sep, 2016 1 commit
-
-
Sanford Student committed
-
- 22 Aug, 2016 1 commit
-
-
Hooks the pre-existing grades code into our new PersistentSubsectionGrade data model. Includes test updates, and some minor changes to the data model that were discovered in testing.
Eric Fischer committed
-
- 10 Aug, 2016 1 commit
-
-
ECOM-4890
Awais Jibran committed
-
- 03 Aug, 2016 3 commits
-
-
Calen Pennington committed
-
Adds ENABLE_SUBSECTION_GRADES_SAVED feature flag to both lms and cms. Also installs the wiring that will allow robust grades to be used for courses that enable it. This functionality is still gated by the feature flag and should not be used until the remaining robust grades work is finished.
Nimisha Asthagiri committed -
Ned Batchelder committed
-
- 29 Jul, 2016 2 commits
-
-
Amir Qayyum Khan committed
-
Amir Qayyum Khan committed
-
- 25 Jul, 2016 1 commit
-
-
TNL-5002
cahrens committed
-