Commit Graph

3755 Commits

Author SHA1 Message Date
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
kimth
110637c023 XqueueInterface is a singleton instantiated object 2012-08-06 15:06:19 -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
kimth
8aef6a0e75 Ajax doesn't complain about FormData if there's no file to be uploaded 2012-08-03 17:38:34 -04:00
kimth
8eff9f7caa Upload to xqueue 2012-08-03 17:11:55 -04:00
kimth
9d52c43286 Add 'value' to filesubmission template 2012-08-03 15:49:30 -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
kimth
604596843c Time to think about file interface with xqueue 2012-08-03 14:39:30 -04:00
kimth
473bb817e8 File objects passed to responsetype only if responsetype explicitly allows filesubmissions 2012-08-03 14:34:48 -04:00
kimth
bfd441255a Every path except for 'get_score' gets filename instead of file object 2012-08-03 14:16:20 -04:00
kimth
cbb377d383 Answer dict values remain unicode, rather than str 2012-08-03 14:10:22 -04:00
kimth
afcd6fb1d7 Safe logging of File-included answers 2012-08-03 14:02:49 -04:00
kimth
eeaa1e0440 Capa util function to turn File objects in dict to filename (string) 2012-08-03 13:54:33 -04:00
kimth
7a9489a9b8 modx_dispatch combines file and non-file submission into single answer dict 2012-08-03 13:53:31 -04:00
kimth
1be3057d3c xqueue interface in LMS not responsible for S3 upload 2012-08-03 11:49:20 -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
e4609f3abe Remove unnecessary hardcode url in CodeResponse 2012-08-03 09:30:03 -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
688f8914e3 Update filesubmission template to show state 2012-08-02 20:32:03 -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
51fc69da52 Spelling in comment 2012-08-02 19:26:37 -04:00
kimth
5c3c3df1b7 Unbreak check_fd callback 2012-08-02 19:24:25 -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
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
0879f3e0a8 Use build_absolute_uri rather than hardcoded sandbox URL 2012-07-31 13:21:45 -04:00
kimth
a773df588a Merge branch 'master' into kimth/lms-coderesponse 2012-07-31 13:02:48 -04:00
kimth
27e142dd2f Extra empty line 2012-07-31 12:58:32 -04:00
Calen Pennington
b659846e1f Add askbot to lms staticfiles_dirs in test 2012-07-31 12:46:47 -04:00
David Ormsbee
7bfd21732a Merge pull request #321 from MITx/feature/kfiedler/courseware-style
Fixed jquery ui image problem and added a base style sheet for lms to ov...
2012-07-31 08:22:46 -07: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
3968e117e1 Simplify dict load in xqueue_callback 2012-07-31 10:42:32 -04:00
kimth
22af531b0b Hardcoded URL moved to LMS for now 2012-07-31 10:09:47 -04:00
Calen Pennington
2f95a8e1d0 Re-add __init__.py for contentstore that was accidentally deleted in 05add5818b 2012-07-31 09:29:14 -04:00
kimth
e2f4995bc9 LMS provides fully qualified callback URL 2012-07-31 08:57:28 -04:00