kimth
d2db4134cd
CodeResponse does basic error handling from xqueue submission
2012-08-02 17:28:12 -04:00
kimth
6de2fa5e1e
LMS interface to xqueue in separate file
2012-08-02 17:10:35 -04:00
kimth
c7084e5240
Comments for 'check_fd'
2012-08-02 15:35:25 -04:00
kimth
541f5ecdd2
Filesubmission frontend
2012-08-02 14:32:40 -04:00
kimth
8a983b3ced
Queuekey does not need to be integer
2012-08-01 10:39:09 -04:00
kimth
fac7659315
Use xqueue cname
2012-08-01 10:23:30 -04:00
kimth
11495563fa
Tweaks to CodeMirror: fix indentation, textarea is vertically resizable
2012-07-31 16:42:17 -04:00
kimth
2e3c5de1a5
Remove hardcoding of LMS callback URL and default queuename
2012-07-31 14:08:02 -04:00
kimth
a773df588a
Merge branch 'master' into kimth/lms-coderesponse
2012-07-31 13:02:48 -04:00
Kyle Fiedler
2bbb19790d
Fixed jquery ui image problem and added a base style sheet for lms to override fonts
2012-07-31 11:06:39 -04:00
kimth
e2f4995bc9
LMS provides fully qualified callback URL
2012-07-31 08:57:28 -04:00
ichuang
94e73936fc
Merge pull request #319 from MITx/kimth/lms-coderesponse
...
Kimth/lms coderesponse
2012-07-30 18:51:16 -07:00
kimth
6d600ecf2c
Merge branch 'master' into kimth/lms-coderesponse
2012-07-30 20:42:10 -04:00
kimth
b9e5e9f0ee
Read XML for queuename
2012-07-30 20:18:25 -04:00
kimth
6244412c28
Simplify default linenumbers behavior
2012-07-30 18:59:11 -04:00
kimth
bd66a28d32
Add TODO note
2012-07-30 15:23:14 -04:00
Calen Pennington
ab0055c201
Add update_schematic to window in schematic.js
2012-07-30 14:04:39 -04:00
Calen Pennington
395cf147be
Look up data_dir in the metadata, not in the top of the json object when loading from mongodb
2012-07-30 14:04:39 -04:00
Calen Pennington
2caf1024f1
Force mongodb fs_root to be a path object
2012-07-30 14:04:15 -04:00
Calen Pennington
d0c99151f0
Continue during backcompat imports by replacing contents with error xml
2012-07-30 14:04:15 -04:00
Calen Pennington
66d5c8effd
Add more detail to error messages during loading from xml
2012-07-30 13:50:50 -04:00
Calen Pennington
6997fc579e
Continue on errors when syncing with github
2012-07-30 13:50:00 -04:00
kimth
bd0b20bb60
xqueue_callback uses 'xqueue_body' tag rather than 'response' tag for main message
2012-07-30 13:35:13 -04:00
Calen Pennington
05add5818b
Return a custom error for duplicate elements, and ignore it when loading into mongo
2012-07-30 13:16:21 -04:00
kimth
4e43b662fa
CodeResponse admits only one student response
2012-07-30 13:10:24 -04:00
Calen Pennington
c9e637d719
Make cms and lms tests run independently (they had been colliding on collectstatic)
2012-07-30 12:58:45 -04:00
kimth
80b62bf026
Serialize xqueue payload
2012-07-30 12:30:08 -04:00
Victor Shnayder
59defd33b6
Formatting and little bugfixes
...
* add course and org to full/course.xml
* fix error path in clean_xml script
* commit rakefile change needed by c5334f150c
2012-07-27 16:09:25 -04:00
Victor Shnayder
a8afe5ed17
Change modulestore to use a logging error handler
...
* log errors, but don't fail
2012-07-27 16:09:25 -04:00
Victor Shnayder
9c92aef669
Tweaks to test data for full course
...
* Add extra nested html file
* add a start date
2012-07-27 16:09:25 -04:00
Victor Shnayder
73b3826820
Initial integration tests!
...
* new env file to run integration tests with mongo backend
- needs askbot to get db in the right state
- needs wiki to load pages successfully
- not using migrations to make it run faster
* import test courses, check that each page loads without erroring.
* fix NonePointerException in index view to make tests pass
* misc formatting cleanups
2012-07-27 16:09:25 -04:00
Victor Shnayder
1251686359
xml format cleanups
...
* rename slug->url_name
* rename name->display_name
* docstring cleanups
* comments :)
2012-07-27 16:09:25 -04:00
Victor Shnayder
3c3bbd114e
minor formatting tweaks
2012-07-27 16:08:24 -04:00
Victor Shnayder
da29d88d04
Add import-export round-trip check.
...
* add fix for the file export code--remove tag tail and text,
not just the children.
2012-07-27 16:08:24 -04:00
Victor Shnayder
128d11e20e
line length fixes
2012-07-27 16:08:24 -04:00
Victor Shnayder
168f76ce5a
Add jump_to functionality to lms on mongo
...
* More tests for mongo modulestore, including tweaks to test files
* add location_to_id method to CourseDescriptors
* Implement path_to_location method in mongo.py
- TODO: does not handle position in sequences yet.
* fix bug in jump_to view.
2012-07-27 16:08:24 -04:00
Victor Shnayder
eb5989aa99
Ready to implement path_to_location
...
* Clean up test data for simple, toy courses
* clean up test_mongo.py
* write initial test for path_to_location
* hook up view to use path_to_location
Next: actually implement it :)
2012-07-27 16:08:24 -04:00
Victor Shnayder
f10c4c06b6
Start adding tests for mongo modulestore
...
* fix up toy course to match current format
* fix github sync test that referred to toy course
2012-07-27 16:08:23 -04:00
Victor Shnayder
60cba3d95f
Move import_from_xml to xmodule/modulestore
2012-07-27 16:08:23 -04:00
Victor Shnayder
3cc601b398
Clean up course_info views
...
* catch exceptions and return a 404 if course not found
* add Location.is_valid(), tests
* stub of jumpto/ view.
2012-07-27 16:08:23 -04:00
Victor Shnayder
dae9b16a42
Clean up DescriptorSystem constructor hierarchy
...
In response to spending an hour with a strange argument passing bug that neither I nor Cale could figure out.
* pass all arguments explicitly
* pass arguments in a consistent order between classes
2012-07-27 16:08:23 -04:00
Victor Shnayder
e5117dba13
Mostly fix tests.
...
* change custom tags in test/data/full to new single-tag format
* fix broken file references
* fix argument to import_from_xml
* error_handler fix in mongo.py in next commit
2012-07-27 16:08:23 -04:00
Victor Shnayder
a5bacb4696
add now-mandatory metadata to toy course.xml
2012-07-27 16:08:23 -04:00
Victor Shnayder
a7159716f9
fix out-of-date code
...
* no more __xmltree.
2012-07-27 16:08:23 -04:00
Victor Shnayder
00da2b48e9
make sure course "org" and "course" are preserved on export
2012-07-27 16:08:23 -04:00
Victor Shnayder
9461148b6e
make customtag take impl as attribute rather than child
2012-07-27 16:08:22 -04:00
Victor Shnayder
94ac61ffe2
Make decision about export file splitting overrideable
...
* create split_to_file() function
* chapters, html, problems always split
* course never split
* others based on size of subtree for now
2012-07-27 16:08:22 -04:00
Victor Shnayder
e0513f5f24
Fix course tag name on export of definition
2012-07-27 16:08:22 -04:00
Victor Shnayder
5f84e61925
Add hook for error handling during xml import
...
* add error_handler member to DescriptorSystem
* call it where import errors happen
* also includes some refactoring in xml.py
* some more line length and docstring cleanups
2012-07-27 16:08:22 -04:00
Victor Shnayder
63f34f2e70
Line length and doc string cleanups
...
* no functionality changed in this commit.
2012-07-27 16:08:22 -04:00