Arjun Singh
f004f5febb
Cleaning up javascriptinput setup method
2012-08-07 15:18:30 -04:00
Arjun Singh
26f31324c4
Moving a few static files out of lms into common
2012-08-07 13:39:59 -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
332dd8c99e
Adding tests for javascript response; required copying files that would exist in other places in the main LMS to test_files because the test environment is fragile. This tests the code, but not the environment.
2012-08-07 04:29:45 -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
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
ichuang
926763a3d6
Merge pull request #351 from MITx/edit-link-fix
...
Edit link fix
2012-08-06 15:44:34 -07:00
ichuang
6dfbb222ab
Merge branch 'master' of github.com:MITx/mitx
2012-08-06 18:41:18 -04:00
ichuang
ff5773c0d9
Merge pull request #348 from MITx/kimth/lms-coderesponse
...
merging this now because the it looks ok, and it fixes some bugs introduced by the last xserver merge, which are preventing the LMS from running in the current version of master.
2012-08-06 15:40:56 -07:00
ichuang
9728b429b7
Merge branch 'kimth/lms-coderesponse' of github.com:MITx/mitx
2012-08-06 18:36:11 -04:00
ichuang
f47ab30c3f
small fix to xmodule_modifiers to fix case when filename missing
2012-08-06 18:34:54 -04:00
Arjun Singh
99e7d0076e
Adding a method of executing scripts fetched via AJAX in IE8+. Also adds inputtype-specific handlers so that javascript can be executed when an inputtype is encountered.
2012-08-06 18:11:23 -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
Arjun Singh
869e638e07
Removing compiled js files in data directories before recompiling them; this causes compilation errors to fail loudly.
2012-08-06 18:08:07 -04:00
Arjun Singh
833e7777db
Watching xmodule js
2012-08-06 18:08:07 -04:00
kimth
18a7f58735
Handle xreply parsing errors more gracefully
2012-08-06 17:44:07 -04:00
kimth
b6e9e7a4bb
Handle network errors more gracefully
2012-08-06 17:36:38 -04:00
kimth
ae11f91880
Queue submission reports queue length
2012-08-06 16:56:44 -04:00
kimth
00486819c2
Make CodeMirror more pleasant for 6.00
2012-08-06 16:47:24 -04:00
kimth
c2e351523f
Update ModuleSystem
2012-08-06 16:28:15 -04:00
kimth
4e6808bb47
Merge master
2012-08-06 16:26:25 -04:00
kimth
41e7d72ea8
Xqueue interface is embedded in ModuleSystem
2012-08-06 16:13:35 -04:00
kimth
7cc502c886
Refactor list of inputs in ajax
2012-08-06 15:44:27 -04:00
Calen Pennington
24f85bf202
Merge pull request #340 from MITx/kimth/lms-coderesponse
...
Kimth/lms coderesponse
2012-08-06 12:17:15 -07:00
kimth
110637c023
XqueueInterface is a singleton instantiated object
2012-08-06 15:06:19 -04:00
Calen Pennington
291cbac838
Merge pull request #342 from MITx/lms-migration
...
LMS migration
2012-08-06 11:51:50 -07:00
ichuang
9805ed8962
cleanup syntax, split long if into two lines
2012-08-06 14:37:17 -04:00
ichuang
8a1747770a
redirect to course_about page if hit internal course page unregistered for
2012-08-06 14:30:53 -04:00
ichuang
b1ddff838c
add comment about course start date logic
2012-08-06 14:23:55 -04:00
ichuang
6f894c816c
use jquery for error msg in course_about
2012-08-06 14:19:45 -04:00
ichuang
871ed954be
ACCESS_REQUIRE_STAFF_FOR_COURSE default False in lms.envs.dev
2012-08-06 14:16:11 -04:00
ichuang
3484f5382c
isinstance instead of type
2012-08-06 14:10:00 -04:00
ichuang
a46a37d1c0
log.debug -> log.exception; revert log change in xml_module
2012-08-06 13:58:42 -04:00
kimth
6c875206bc
Simplify file submission front end
2012-08-06 12:44:19 -04:00
kimth
c950d437e5
Add comments on CodeResponse.get_score
2012-08-06 11:58:00 -04:00
kimth
881cafb88d
Moved default parameter assignment to function def, parse_xreply util function
2012-08-06 09:14:09 -04:00
ichuang
7607444286
fix bug: course staff group based on dir_name, not course number
2012-08-05 23:26:31 -04:00
ichuang
553f7046b4
suggested username for ssl auth is conjoined name with no spaces
2012-08-05 21:12:56 -04:00
ichuang
0347eb498c
add MITX_FEATURES flags to enable textbook and discussion,
...
and modify course_navigation correspondingly
2012-08-05 20:24:00 -04:00
ichuang
190f1f8f89
tracking_log template
2012-08-05 16:35:32 -04:00
ichuang
b612517dde
Merge branch 'lms-migration' of github.com:MITx/mitx into lms-migration
2012-08-05 16:33:58 -04:00
ichuang
c42960c172
add feature ENABLE_SQL_TRACKING_LOGS and url view /event_logs
2012-08-05 16:32:58 -04:00
ichuang
3ee224e399
improve create_user script slightly, to auto-grab fullname for MIT users
2012-08-05 12:39:13 -04:00
ichuang
3c23235885
fix for some broken github edit links - avoids symlinks
2012-08-05 11:39:56 -04:00
ichuang
1ff49aa3f9
remove unnecessary comments from util-scripts/*
2012-08-04 21:15:51 -04:00
ichuang
9db88b0b52
fix comment in dev.py
2012-08-04 21:13:43 -04:00
ichuang
f0850e25a8
Merge branch 'lms-migration' of github.com:MITx/mitx into lms-migration
2012-08-04 21:11:27 -04:00
ichuang
ebe6bf4888
remove some unnecessary debugging lines in xmodule_modifiers
2012-08-04 21:10:50 -04:00