Bridger Maxwell
694520ebb2
StudentModuleCache now allows a list of descriptors. This speeds up grading significantly.
2012-08-03 17:00:04 -04:00
kimth
c25eded4fc
Move xqueue_interface to lib/capa
2012-08-03 15:32:02 -04:00
kimth
af22761778
modx_dispatch doesn't need xqueue_interface
2012-08-03 15:27:39 -04:00
Victor Shnayder
94e24c1626
Leftover name->url_name fixes
2012-08-03 14:45:43 -04:00
Bridger Maxwell
854508b006
Removed the unnecessary creation of StudentModules when calling module_render's get_module.
2012-08-03 14:30:45 -04:00
kimth
7a9489a9b8
modx_dispatch combines file and non-file submission into single answer dict
2012-08-03 13:53:31 -04:00
Victor Shnayder
0b2069c619
make clean_xml script work with stringified errors
2012-08-03 11:53:35 -04:00
kimth
1be3057d3c
xqueue interface in LMS not responsible for S3 upload
2012-08-03 11:49:20 -04:00
Bridger Maxwell
408e988fbc
Started working on fast_grade method. It skips loading sections that a student doesn't have any answers for.
2012-08-03 11:41:06 -04:00
Victor Shnayder
b46172da9b
Rename module.name and descriptor.name to url_name
...
* update templates and code references
* also a display_name property that defaults to cleaned url_name
2012-08-03 11:36:54 -04:00
Rocky Duan
7ab137328f
Merge branch 'master' of github.com:MITx/mitx into discussion2
2012-08-03 10:16:35 -04:00
kimth
f023dc6e26
xqueue_interface generates hashkeys
2012-08-03 10:10:06 -04:00
kimth
fbed664d4f
Auth saved as dict rather than tuple
2012-08-03 09:39:18 -04:00
kimth
3d8ee671b3
Adjust comments
2012-08-03 09:34:47 -04:00
kimth
843f8ae9c3
Basic uploads to S3
2012-08-02 21:51:36 -04:00
kimth
3b3482b394
Skeleton for S3 upload by LMS
2012-08-02 20:43:09 -04:00
kimth
35a461d917
Empty file inputs insert empty string as their submission in ajax; LMS reacts accordingly
2012-08-02 20:22:33 -04:00
kimth
ea36eef6e0
modx_dispatch uses copied variable rather than source
2012-08-02 19:38:33 -04:00
kimth
236c3dc576
modx_dispatch handles new/old problem_check ajax
2012-08-02 19:34:33 -04:00
kimth
988136c401
LMS must login before submitting to xqueue
2012-08-02 18:34:14 -04:00
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
541f5ecdd2
Filesubmission frontend
2012-08-02 14:32:40 -04:00
Victor Shnayder
987b9c11a9
Use url_name for chapters and sections in lms views
...
* got rid of the hackish conversions between ' ' and '_'
* use url_name and display_name where appropriate
* update templates to match.
2012-08-02 14:28:44 -04:00
Victor Shnayder
64346d727b
todos and comments
2012-08-02 11:33:53 -04:00
Brittany Cheng
8febbf249f
Merge branch 'master' of github.com:MITx/mitx into discussion2
2012-08-02 10:06:43 -04:00
Victor Shnayder
b63f05b651
update clean_xml script to use error trackers properly
2012-08-01 19:25:47 -04:00
Rocky Duan
ce15faf6a0
Merge branch 'discussion2' of github.com:dementrock/mitx into discussion2
2012-08-01 16:52:06 -04:00
Rocky Duan
fc31885d2e
Merge branch 'master' into discussion2
2012-08-01 16:51:54 -04:00
Rocky Duan
5d3b187540
Merge branch 'master' of github.com:MITx/mitx
2012-08-01 16:45:21 -04:00
Brittany Cheng
07ebc83368
fixing merge error
2012-08-01 14:39:26 -04:00
Brittany Cheng
bdab90190f
trying to fix merge conflicts
2012-08-01 14:29:00 -04:00
Brittany Cheng
01623ddbfb
merge with origin master
2012-08-01 14:24:46 -04:00
Rocky Duan
777c3ee42c
Merge branch 'master' of github.com:MITx/mitx
...
Conflicts:
lms/djangoapps/courseware/views.py
lms/templates/profile.html
2012-08-01 12:49:00 -04:00
Rocky Duan
75c478771e
fixed histogram bug under staff view
2012-08-01 12:42:57 -04:00
Victor Shnayder
32253510d1
Import error cleanup
...
* call error tracker when needed
* remove duplicate logging--just add info and re-raise
* xml modulestore uses error tracker to capture load errors
* add unstyled list of import errors to courseware homepage!
2012-08-01 11:48:19 -04:00
Victor Shnayder
463b758434
fixed args in call to add_histogram
2012-08-01 11:48:18 -04:00
Victor Shnayder
0b67d1c401
Turn error_handlers into error_trackers
...
* simplify logic--tracker just tracks errors. Trackers should not raise,
and are not be responsible for logging.
* adapted code to use trackers.
* Started cleanup of error handling code:
- if need to add info and re-raise, just do that. No logging.
- if working around a problem, log and track as needed.
2012-08-01 11:48:18 -04:00
Victor Shnayder
e2e524453f
Make courseware index view more bulletproof
2012-08-01 11:48:18 -04:00
Victor Shnayder
c0cdff7071
Rename MalformedDescriptor to ErrorDescriptor
...
* change references and tests
* add staff/non-staff display
* added is_staff to ModuleSystem
2012-08-01 11:42:39 -04:00
Victor Shnayder
0edc40de34
Address minor comments in #313
2012-08-01 11:40:12 -04:00
Victor Shnayder
0ae434cc09
Move path_to_location out of mongo.py
...
* also bugfix for load_definition in html_module
* a bit of refactoring of Location checking code in mongo.py
2012-08-01 11:40:12 -04:00
Victor Shnayder
ed35cefa29
Fix html file handling.
...
* html files are now stored as follows:
If the html file is valid xml, store as html/stuff.xml
If it's not, store as html/stuff.xml, which contains
<html meta1="..." filename="stuff.html">,
and html/stuff.html, which actually contains the contents.
Warn if the contents are not parseable with lxml's html parser,
but don't error.
* for parseable html, strip out the html tag when storing, so that it isn't
rendered into the middle of a page
* lots of backcompat to deal with paths. Can go away soon.
* fix output ordering in clean_xml
2012-08-01 11:40:12 -04:00
Calen Pennington
ef8a211b9e
Merge pull request #329 from MITx/MITx/feature/bridger/fast_course_grading
...
Got profile page working again.
2012-08-01 08:37:16 -07:00
Bridger Maxwell
ae3da772d0
Got profile page working again. The grader for each course is now defined in the data dir as grading_policy.json.
2012-08-01 11:27:04 -04:00
Brittany Cheng
f637ca5120
Merge branch 'master' of github.com:MITx/mitx into discussion2
2012-08-01 09:44:45 -04:00
kimth
2e3c5de1a5
Remove hardcoding of LMS callback URL and default queuename
2012-07-31 14:08:02 -04:00
Rocky Duan
c39b2db678
retrieve inline discussion by ajax
2012-07-31 13:22:25 -04:00
kimth
0879f3e0a8
Use build_absolute_uri rather than hardcoded sandbox URL
2012-07-31 13:21:45 -04:00
kimth
27e142dd2f
Extra empty line
2012-07-31 12:58:32 -04:00