Commit Graph

45731 Commits

Author SHA1 Message Date
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
Diana Huang
d23eb93fbb add new peer grading service with some rudimentary logic 2012-12-28 13:35:35 -05:00
Diana Huang
125945de90 Refactor get and post logic into new GradingService 2012-12-28 13:34:07 -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
Diana Huang
ecf04b3e49 Refactor existing grading logic into a new app. 2012-12-28 11:29:29 -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
Chris Dodge
c0f12e69f7 fixes on the export. There's some attributes not being handled correctly 2012-12-27 16:15:52 -05:00
Chris Dodge
239b118abe add service entry point to generate tar.gz file and return to caller. Use of the NamedTemporaryFile will auto cleanup. 2012-12-27 15:31:12 -05:00
Chris Dodge
8e5fc2917a Merge branch 'feature/btalbot/cms-export' into feature/cdodge/export 2012-12-27 14:43:36 -05:00
Chris Dodge
3fa425c5d0 add unit test for import->export->import simple flow 2012-12-27 14:40:38 -05:00
Chris Dodge
625237601f Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/export
Conflicts:
	common/lib/xmodule/xmodule/contentstore/content.py
	common/lib/xmodule/xmodule/contentstore/mongo.py
2012-12-27 14:16:40 -05:00
Don Mitchell
53b73ca3da Merge pull request #1208 from MITx/feature/cdodge/clone-course
fix up some thumbnail issues. Also we need to manage the user permission...
2012-12-27 09:26:51 -08:00
Chris Dodge
6951865229 add unit tests for course cloning and deleting 2012-12-27 12:20:45 -05:00
chrisndodge
a2d283d9e9 Merge pull request #1209 from MITx/bug/dhm/dec12
Got settings details unit tests to invoke the view handlers
2012-12-27 08:34:58 -08:00
Chris Dodge
9dff39dd6d start adding clone unit test 2012-12-27 11:25:04 -05:00