Commit Graph

1743 Commits

Author SHA1 Message Date
Victor Shnayder
7190e484f1 Use a namedtuple for parsing ScoreMessages 2012-12-07 10:35:44 -05:00
Victor Shnayder
bf593c6603 clean up imports 2012-12-07 10:35:44 -05:00
Victor Shnayder
42f8afb083 address minor code review comments 2012-12-07 10:35:44 -05:00
Victor Shnayder
3da727125f fix feedback formatting 2012-12-07 10:35:43 -05:00
Victor Shnayder
6d2688cb66 unicode fix and cleanup in stringify children 2012-12-07 10:21:46 -05:00
Vik Paruchuri
0bc0657939 Add in support for ordering tags properly in feedback box 2012-12-07 09:21:23 -05:00
Vik Paruchuri
1eaf424c20 Change some things to use format 2012-12-05 13:17:16 -05:00
Vik Paruchuri
e813dc3514 Address format issue and exception 2012-12-05 12:08:26 -05:00
Victor Shnayder
3795b3a785 Address Dave's comments
- factor out some common code
- improve variable names
2012-12-05 10:56:12 -05:00
Victor Shnayder
1d87dab3a7 remove queueing spinner and polling logic, change message
- no polling, since instructors may take a long time to grade
2012-12-04 17:45:51 -05:00
Diana Huang
9b1cad90b5 Fix location that gets used for open-ended responses 2012-12-03 16:52:29 -05:00
Diana Huang
65c56edb5c Better error logging when login into queue fails 2012-12-03 15:04:34 -05:00
Victor Shnayder
22ce306f64 whitespace and comments 2012-12-03 12:50:41 -05:00
Victor Shnayder
63c1a8ea10 whitespace 2012-12-03 12:50:41 -05:00
Victor Shnayder
97fbd02cb5 Merge pull request #1090 from MITx/vik/modify_open_ended
Vik/modify open ended
2012-12-03 06:10:01 -08:00
Vik Paruchuri
bcd3022320 Add in import for reverse in staff grading (wouldn't work without it) 2012-11-30 15:26:52 -05:00
Vik Paruchuri
3fa1cfd010 Minor bugfix 2012-11-30 14:16:30 -05:00
Vik Paruchuri
6e75584d06 Convert templates to mako 2012-11-30 14:14:29 -05:00
Vik Paruchuri
a20a6c8fb5 Do all html rendering and generation in lms 2012-11-30 14:11:43 -05:00
Victor Shnayder
32d8a6e922 Pass through course_id, location to openendedresponse
- set default queue in response type--don't use the default per-course one
2012-11-30 14:11:11 -05:00
Vik Paruchuri
2621d07ced Remove unneeded debug statements 2012-11-30 13:48:17 -05:00
Vik Paruchuri
2a0c9d0c70 Handle templating within lms 2012-11-30 12:48:13 -05:00
Vik Paruchuri
7330bef8e6 Changes to fix compatibility with controller feedback 2012-11-30 12:11:58 -05:00
Vik Paruchuri
15c5072984 Work on template render code 2012-11-30 11:47:12 -05:00
Vik Paruchuri
51e148a7a7 Add in support for rendering feedback within lms 2012-11-30 11:42:24 -05:00
Victor Shnayder
052807d7f6 Change the unique student id calculation to match the id we send to xqueue
- can't change the xqueue one because there's data that uses it
- we checked, and no one has sent out survey links that use the old sha1() format

doing this because we'll need the LMS to be able to send the anon student id to backend services e.g. for peer grading, and passing two different anon student ids to xmodule (one for xqueue, one for other uses) is just asking for confusion.
2012-11-30 11:30:02 -05:00
Victor Shnayder
5bf39fef96 Cherry pick the test-cleanup parts of e2826cb.
- look up test courses by id, not name
2012-11-30 09:52:34 -05:00
Victor Shnayder
9d8d6655c6 add docstring for expect_json decorator 2012-11-30 09:51:35 -05:00
Victor Shnayder
6b5125c4df fix typos, logger configs 2012-11-30 09:51:33 -05:00
Vik Paruchuri
c2bf0689b6 Remove correct from expected tags 2012-11-29 16:11:52 -05:00
Vik Paruchuri
1a22d3a15f Lowercase False 2012-11-29 16:11:51 -05:00
Vik Paruchuri
422ecb5b9d define correctness in the response type 2012-11-29 16:11:51 -05:00
Vik Paruchuri
1e194f0e1a Fix rubric code, make sure it is removed properly. 2012-11-29 16:11:51 -05:00
Vik Paruchuri
d71445f9d8 Add rubric field to open ended response 2012-11-29 16:11:51 -05:00
Vik Paruchuri
565f502cb1 Add in prompt tag to openended response and parse/pass along properly 2012-11-29 16:11:51 -05:00
Vik Paruchuri
e17db85d34 Add in max score attribute for proper instructor scoring 2012-11-29 16:11:51 -05:00
Vik Paruchuri
0c69c46658 Remove need for msg 2012-11-29 16:11:50 -05:00
Vik Paruchuri
14403103a4 Remove msg key from xqueue passback dict 2012-11-29 16:11:50 -05:00
Vik Paruchuri
9abd80203f Pass course id in payload 2012-11-29 16:11:50 -05:00
Vik Paruchuri
06a00a982a Send location to external grader 2012-11-29 16:11:50 -05:00
Vik Paruchuri
941ef52863 Add docs, fix some logic 2012-11-29 16:11:50 -05:00
Vik Paruchuri
dba8a7a767 Add anonymous student id to grader payload 2012-11-29 16:11:50 -05:00
Vik Paruchuri
a901757dd7 Fix minor bug with removed grader type tag 2012-11-29 16:11:50 -05:00
Vik Paruchuri
d59681e3aa Alter css tag names, change documentation and answer display settings. 2012-11-29 16:11:49 -05:00
Vik Paruchuri
ce7444780b Add in feedback, work on css to display open ended feedback 2012-11-29 16:11:49 -05:00
Vik Paruchuri
e2d19d1a40 Add openendedparam to list of tags to remove from output html 2012-11-29 16:11:49 -05:00
Vik Paruchuri
bf361af3b3 Added debug code, then removed it 2012-11-29 16:11:49 -05:00
Vik Paruchuri
5c7e6415be Modify capa types 2012-11-29 16:11:49 -05:00
Vik Paruchuri
79941271d7 fix bracket in wrong spot 2012-11-29 16:11:49 -05:00
Vik Paruchuri
8e87d49228 setup grader type parameter to be paarsed from xml 2012-11-29 16:11:49 -05:00