Commit Graph

7878 Commits

Author SHA1 Message Date
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
Calen Pennington
7cb95aad47 WIP: Add grade publishing functionality 2012-12-28 14:55:32 -05:00
Calen Pennington
e1ca413b6f Fix import of metadata 2012-12-28 14:55:32 -05:00
Calen Pennington
9d822fc359 Make sequences record whether they have been visited or not (done somewhat implicitly now, would be nice to be more explicit) 2012-12-28 14:55:32 -05:00
Calen Pennington
f3032ba7cf Make course textbooks and wiki slugs work 2012-12-28 14:55:32 -05:00
Calen Pennington
7679fda172 Remove debugging print statements 2012-12-28 14:54:13 -05:00
Calen Pennington
81e065bdb6 Fix more errors in tests 2012-12-28 14:54:13 -05:00
Calen Pennington
d61c91c139 Fix errors around error descriptors and custom tag modules 2012-12-28 14:53:30 -05:00
Calen Pennington
8693d288c8 Fix errors from running unit tests (some tests still fail) 2012-12-28 14:51:50 -05:00
Calen Pennington
2879853eee Pep8 fixes 2012-12-28 14:51:50 -05:00
Calen Pennington
fbd9499c51 Make debug message use the available request.user object 2012-12-28 14:51:50 -05:00
Calen Pennington
64848a32ee Delete get_instance_module and get_shared_instance_module, as they are obsolete with the new properties 2012-12-28 14:51:50 -05:00
Calen Pennington
13cab34a7d Always use the url form of the location when making StudentModules 2012-12-28 14:51:50 -05:00
Calen Pennington
306dbcff9c Rationalize StudentModule unicode and repr strings 2012-12-28 14:51:50 -05:00
Calen Pennington
3adb1e7109 Make grading not require get_instance_module 2012-12-28 14:51:50 -05:00
Calen Pennington
5cb31c0e32 Make load_from_json on descriptors pass the right sort of arguments 2012-12-28 14:51:50 -05:00
Calen Pennington
8c42e0f52e Import course objects first, so that later updates that try and edit the course object don't fail 2012-12-28 14:51:50 -05:00
Calen Pennington
040abfcc68 Don't call update_metadata anymore when updating course tabs, because the updates are implicit 2012-12-28 14:51:50 -05:00
Calen Pennington
d11a9b1d21 Convert ABTest module to new property based format. Doesn't account for definition_to_xml needing redefinition 2012-12-28 14:51:50 -05:00
Calen Pennington
8991cdd3b5 Stop raising BaseExceptions 2012-12-28 14:51:50 -05:00
Calen Pennington
7977491ddf WIP: LMS Courseware appears to be working 2012-12-28 14:51:50 -05:00
Calen Pennington
b1c9b2ca0e Add more tests of DbModel 2012-12-28 14:48:47 -05:00
Calen Pennington
eb1ab3ea7d Add tests of xmodule.model and xmodule.runtime, and fix some exposed bugs 2012-12-28 14:48:47 -05:00
Calen Pennington
01411ae66e WIP: Trying to get tests working 2012-12-28 14:48:47 -05:00
Calen Pennington
7e224f5847 Convert a bunch more references from metadata to fields 2012-12-28 14:45:46 -05:00
Calen Pennington
57b3ceba27 Add a field type that treats a string as an int 2012-12-28 14:45:46 -05:00
Calen Pennington
45544396a8 Make computed defaults work, even in namespaces 2012-12-28 14:45:46 -05:00
Calen Pennington
25754b50ff WIP. Trying to fix inheritance 2012-12-28 14:45:46 -05:00
Calen Pennington
c5e3380b71 WIP: Save student state via StudentModule. Inheritance doesn't work 2012-12-28 14:45:46 -05:00
Calen Pennington
cbfc7b201a WIP more changes to model definitions. Next Up: actually wiring model data into the rdbms 2012-12-28 14:44:31 -05:00
Calen Pennington
8ba4163557 WIP. Data loads, but not all of it 2012-12-28 14:39:13 -05:00
chrisndodge
3d6cbf4709 Merge pull request #1214 from MITx/fix/cdodge/handout-links
add a comment. Namely we just want to trigger another build.
2012-12-28 11:28:18 -08:00
Chris Dodge
f343052711 add a comment. Namely we just want to trigger another build. 2012-12-28 14:26:52 -05:00
chrisndodge
4834ed3574 Merge pull request #1213 from MITx/fix/cdodge/handout-links
add forgotten new file
2012-12-28 10:53:39 -08:00
Chris Dodge
725805f1cf add forgotten new file 2012-12-28 13:52:49 -05:00
Don Mitchell
cba888c615 Merge pull request #1212 from MITx/fix/cdodge/handout-links
Fix/cdodge/handout links
2012-12-28 09:43:58 -08:00
Chris Dodge
6d20292ae8 add unit test to make sure rewriting is occuring when querying the handouts 2012-12-28 12:21:14 -05:00
Chris Dodge
7a4d89b1ad add in static asset link rewriting to the Course Handout section 2012-12-28 11:34:45 -05:00
Don Mitchell
bd8661a8b5 Merge pull request #1211 from MITx/feature/cdodge/export
Feature/cdodge/export
2012-12-27 13:38:28 -08:00
Chris Dodge
507a1dc073 remove unused white space and imports 2012-12-27 16:33:10 -05:00
Don Mitchell
a0fa8c98bc Merge pull request #1210 from MITx/fix/cdodge/wiki-slug-setting
append some character, in this case a '_', if the course number is reall...
2012-12-27 13:20:40 -08:00