Commit Graph

1366 Commits

Author SHA1 Message Date
ichuang
b23bfc75bc additional minor change: allow "inline" attrib on textline 2012-08-19 23:18:06 -04:00
kimth
891797a3bb Submission of files through requests.POST depletes the file pointer. Need to rewind for replay 2012-08-19 20:38:10 -04:00
kimth
20adaa81ba Use list comprehension 2012-08-19 12:22:14 -04:00
kimth
9b94bb17e4 Default param is None rather than [] 2012-08-19 12:19:10 -04:00
kimth
e2bca44ca3 Simplify is_list_of_files 2012-08-19 12:09:38 -04:00
kimth
f5e60412ee Send multiple files to xqueue 2012-08-19 11:02:03 -04:00
kimth
b2599f075f Send multiple files to xqueue 2012-08-19 11:00:51 -04:00
kimth
d2cb645834 Multiple file submissions 2012-08-19 09:26:03 -04:00
kimth
588444c46b Filesubmission template allows multiple file selection 2012-08-19 07:54:10 -04:00
kimth
40b49224a2 Merge pull request #451 from MITx/feature/kfiedler/courseware-style
Added new styles for sequence nav and reset some of the styles for inputs
2012-08-17 17:54:03 -07:00
Kyle Fiedler
8473188fea Added new styles for sequence nav and reset some of the styles for inputs 2012-08-17 17:41:45 -04:00
ichuang
4dbcfe927e hotfix: eecs1 is inaccessible due to dead router; switch to qisx for pyxserver
This needs a more permanent solution.
2012-08-17 09:36:43 -04:00
kimth
0a9065f2be Fix CustomResponse for 6.002x 2012-08-16 22:00:10 -04:00
Calen Pennington
9c0e41691c Make XQueueInterface a new-style class 2012-08-14 15:57:07 -04:00
Calen Pennington
8ce12b10b2 Pass HttpBasicAuth object to requests, rather than a list, which it didn't understand 2012-08-14 12:32:52 -04:00
Calen Pennington
c4bed2c128 Add basic authentication support for requests made to the xqueue server 2012-08-14 11:59:47 -04:00
Calen Pennington
f09aca917f Fix name of XQueueInterface 2012-08-14 11:59:46 -04:00
Calen Pennington
91b6bb649c Move queue interface url and auth into configuration, rather than hardcoding it 2012-08-14 11:59:46 -04:00
Calen Pennington
2504880e57 Merge pull request #404 from MITx/feature/ichuang/consistent-customresponse
fix customresponse be consistent with "no answer entered" behavior
2012-08-13 17:55:24 -07:00
ichuang
1b06f51fd8 fix customresponse be consistent with "no answer entered" behavior 2012-08-13 17:41:24 -04:00
kimth
99e7711aca Generic CodeResponse XML (+ support for old ExternalResponse XML) 2012-08-13 15:48:33 -04:00
Calen Pennington
32924d8bfe Merge pull request #398 from MITx/kimth/partialgrading
Partial scoring
2012-08-13 07:19:50 -07:00
kimth
1ff8e271f5 Partial scoring 2012-08-13 10:14:29 -04:00
Calen Pennington
801df37872 Merge remote-tracking branch 'origin/master' into arjun/javascript_response
Conflicts:
	common/lib/xmodule/xmodule/js/src/capa/display.coffee
	common/lib/xmodule/xmodule/tests/__init__.py
	common/lib/xmodule/xmodule/x_module.py
	lms/djangoapps/courseware/module_render.py
2012-08-13 10:13:21 -04:00
Calen Pennington
bd95c03d9b Merge pull request #396 from MITx/feature/ichuang/xqa-and-patches
Provide content QA (quality assessment) interface
2012-08-13 06:55:05 -07:00
Victor Shnayder
af7e70a979 Log content problems as warnings, not errors
* will avoid newrelic complaining
* NOTE: Is this what we want post-ship?
  - need some way of notifying instructors of problems
2012-08-12 17:21:40 -04:00
ichuang
c0a4ff3717 more useful debugging message for capa problem script errors 2012-08-10 15:25:42 -04:00
kimth
125bbbf934 Spinner on waiting for queue 2012-08-10 15:25:07 -04:00
kimth
64eba4332c Remove temp xqueue url 2012-08-10 12:01:53 -04:00
kimth
36091697a5 Student browser polls for queued submission result 2012-08-10 11:59:45 -04:00
kimth
062eff12c4 Remove test url of xqueue 2012-08-09 12:06:36 -04:00
kimth
e47ff641f3 Testing new instances of xqueue 2012-08-09 11:57:59 -04:00
kimth
e3ed383888 Move old externalresponse XML parser into subfunction, fix correctness bug (should be correct/incorrect not True/False) 2012-08-09 09:41:27 -04:00
kimth
58a1248d32 New external grader format: JSON-serialized dict 2012-08-09 08:29:12 -04:00
Arjun Singh
b9f2d4bc13 Remove coffee libraries (use the system coffee); don't set the OS NODE_PATH but rather just read it in once and then modify the temporary environments used when executing node. 2012-08-07 15:52:39 -04:00
Arjun Singh
35d6c773f1 Clean up code for generating env for running node 2012-08-07 15:24:20 -04:00
kimth
a9a19f40c3 Merge master 2012-08-07 11:51:44 -04:00
kimth
501f2ccf14 CodeResponse uses 'is_file' helper function 2012-08-07 11:30:21 -04:00
ichuang
ca177570fa Merge pull request #356 from MITx/kimth/lms-coderesponse
Kimth/lms coderesponse
2012-08-07 07:56:23 -07:00
kimth
ceeea66417 Fix overrzealous file_to_filename conversion and fix CapaProblem unit tests 2012-08-07 09:24:17 -04:00
Arjun Singh
0c4ad3b152 Converting seed to str to allow for using Mock objects as a seed during tests. 2012-08-07 04:30:19 -04:00
Arjun Singh
7cd8ffff3d Cleans up node calls and (barely) improves security as subprocess.Popen will escape arguments properly. This means that instructors cannot set the grader/generator to ;/bin/rm -rf *; however, the python and node environments are not sandboxed at all and so instructors can still run arbitrarily malicious code. 2012-08-07 03:55:01 -04:00
Arjun Singh
fb6dbb120e Fixing dependency system for javascriptresponses. In particular, adding a location for node-only packages (that are never sent to the client) in lms/lib/node_modules and adding lms/static/js, lms/static/coffee/* to the NODE_PATH, along with the course's data directory. 2012-08-07 03:28:35 -04:00
Arjun Singh
19fa50a882 Removing the <text> wrapper around choice text for radiogroup and checkboxgroup. 2012-08-07 02:38:23 -04:00
Arjun Singh
323fb18c74 Poor fix for a breaking change in which student answers that were arrays (e.g. those resulting from a checkbox group) would be converted to strings and graded incorrectly. 2012-08-07 00:14:48 -04:00
kimth
d3f4746f57 Don't contact queueing server on Django load 2012-08-06 19:02:40 -04:00
Arjun Singh
88d672e862 Add hashlib back into responsetypes temporarily. 2012-08-06 18:49:59 -04:00
Arjun Singh
2f84e0ca78 Merge master 2012-08-06 18:48:17 -04:00
Arjun Singh
2337eeba1e Adding javascriptresponse. This responsetype is a framework for problems that are entirely controlled by javascript and graded by Node.js on the server. 2012-08-06 18:11:23 -04:00
kimth
18a7f58735 Handle xreply parsing errors more gracefully 2012-08-06 17:44:07 -04:00