Commit Graph

7918 Commits

Author SHA1 Message Date
Calen Pennington
592d044864 Fix more tests 2013-01-24 14:37:46 -05:00
Calen Pennington
9a3e122a48 Fix a few failing tests 2013-01-24 14:04:03 -05:00
Ned Batchelder
cad3a19b4d A script to run just one test, based on the test failure description. 2013-01-24 13:56:46 -05:00
Ned Batchelder
7257a728aa Get the latest version of XBlock automatically 2013-01-24 13:52:43 -05:00
Ned Batchelder
ac9d162d86 Fix a failing test. Pennington's Law strikes again. 2013-01-24 13:07:55 -05:00
Ned Batchelder
037fe5f722 When checking types to convert data, don't forget about longs. 32-bit Pythons make longs from values that are ints on 64-bit Pythons. 2013-01-23 17:11:02 -05:00
Calen Pennington
27b57bb48b Don't update settings based on data from content for discussion modules during init 2013-01-23 14:51:07 -05:00
Calen Pennington
993c24b72b WIP: Model data caching work 2013-01-23 14:51:07 -05:00
Calen Pennington
507d2021cd Remove unused reference to StudentModuleCache 2013-01-23 14:47:06 -05:00
Calen Pennington
abb21ab111 staff_problem_info.html only renders for staff, so don't check for staff access 2013-01-23 14:47:06 -05:00
Calen Pennington
4779043a5f Add message during 404 for debugging 2013-01-23 14:47:05 -05:00
Calen Pennington
c44898b1de Remove random printing during XModuleDescriptor equality check 2013-01-23 14:47:05 -05:00
Calen Pennington
2eca8bd0e9 Set default video position to 0, but don't overwrite it during __init__ 2013-01-23 14:47:05 -05:00
Calen Pennington
e5a6509bb0 Add a first_time_user attribute to CourseModule so that we can check for that explicitly, rather than looking for an implicitly created StudentModule 2013-01-23 14:47:05 -05:00
Calen Pennington
ce76b64bae Handle problem resets in such a way that the LoncapaProblem generates the new random seed, and the CapaModule saves that seed 2013-01-23 14:47:05 -05:00
Calen Pennington
9d66169d06 Don't set a seed to None that's already None 2013-01-23 14:47:05 -05:00
Calen Pennington
8e5373f993 Make Randomization return un-adjusted values as a passthrough 2013-01-23 14:47:05 -05:00
Calen Pennington
6e7afb968d Move xqueue handler to new module format, and continue to distinguish grades set by xqueue from those set by ajax in stats 2013-01-23 14:47:05 -05:00
Ned Batchelder
6f322bcd81 Simplify the construction of the ErrorDescriptor 2013-01-23 11:34:42 -05:00
Ned Batchelder
376575dedd Make system.xblock_model_data more explicit to fix the problem where error descriptors can't get any data because the schema and the data don't match. 2013-01-23 11:34:24 -05:00
Ned Batchelder
532285e558 Only need one of these lines. 2013-01-22 15:22:30 -05:00
Ned Batchelder
85c3779286 Use the v0.1 tag in the XBlock repo. 2013-01-22 15:21:18 -05:00
Calen Pennington
789ac3fc87 Use the XBlock library as the base for XModule, so that we can incrementally rely on more and more of the XBlock api 2013-01-04 16:19:58 -05:00
Calen Pennington
8874d9d7f8 Add a draft implementation of the Poll module for Justice 2013-01-03 12:21:13 -05:00
Calen Pennington
465c85b04b Make model classes inherit their parents fields attribute 2013-01-02 15:08:49 -05:00
Calen Pennington
0bed19648e Remove filename and giturl references 2013-01-02 15:08:27 -05:00
Calen Pennington
4040f9749d Correctly parse timetuple into datetime 2013-01-02 15:08:09 -05:00
Calen Pennington
7f39dd974b Minor whitespace cleanup 2013-01-02 15:07:56 -05:00
Calen Pennington
4bec871b0f Don't return BadRequest classes, return instances 2013-01-02 15:07:12 -05:00
Calen Pennington
8e0d218c7d Stop using .definition and .metadata directly 2013-01-02 15:06:43 -05:00
Calen Pennington
60fa8619cb Fixing tests 2013-01-02 10:37:49 -05:00
Calen Pennington
6427dd6742 WIP: Get the cms running. Component previews work 2013-01-02 09:07:02 -05:00
Calen Pennington
85e109da57 Allow field scope of None 2013-01-02 09:05:49 -05:00
Calen Pennington
344cb133aa Make import/export tests pass 2013-01-02 09:05:49 -05:00
Calen Pennington
6a612a6e02 Trim down list of equality attributes for descriptors 2013-01-02 09:05:49 -05:00
Calen Pennington
2509308ce9 Remove reference to shared_state_key 2013-01-02 09:05:48 -05:00
Calen Pennington
265a2e7630 Give children the None scope 2013-01-02 09:05:48 -05:00
Calen Pennington
fa75245e8a WIP: Start cleaning up CMS to work with new field format 2013-01-02 09:05:48 -05:00
Calen Pennington
16d5a769d2 Add a fasttest rake command that runs both fasttest_cms and fasttest_lms 2012-12-28 14:56:43 -05:00
Calen Pennington
6ece7fd541 Fieldify the video module 2012-12-28 14:56:43 -05:00
Calen Pennington
84cb0ce99b Move inheritance logic out into a separate file in the modulestore 2012-12-28 14:56:42 -05:00
Calen Pennington
7f8b79694c Grade problems that have ungraded student modules 2012-12-28 14:55:32 -05:00
Calen Pennington
48a1e09133 Pass in state to LCP on reset 2012-12-28 14:55:32 -05:00
Calen Pennington
c7069be2a4 Centralize logic for standardizing rerandomize values 2012-12-28 14:55:32 -05:00
Calen Pennington
e4c06fab4a Cleaning up ABTest properties 2012-12-28 14:55:32 -05:00
Calen Pennington
9bd42278e9 Don't hide the logs in tests 2012-12-28 14:55:32 -05:00
Calen Pennington
4b6ec85dcb Minor cleanups 2012-12-28 14:55:32 -05:00
Calen Pennington
db55001bf6 Use named scope for student_preferences in abtests 2012-12-28 14:55:32 -05:00
Calen Pennington
9c5a922eee Create tables for all known scopes, and add tests of the LmsKeyValueStore 2012-12-28 14:55:32 -05:00
Calen Pennington
6e933ae756 Fix typo 2012-12-28 14:55:32 -05:00