Commit Graph

7096 Commits

Author SHA1 Message Date
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
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
835f18795a Make tests pass again 2012-11-30 10:27:34 -05:00
Victor Shnayder
d28cd4f429 use a dict for backend config. Load it on aws. 2012-11-30 10:03:31 -05:00
Victor Shnayder
b48b389a56 implement login into staff grading service. 2012-11-30 10:03:31 -05:00
Victor Shnayder
26f033b79f allow score 0 2012-11-30 10:03:31 -05:00
Victor Shnayder
edd3277597 Tweaks to actually work with the backend.
- specify mime type
- right urls
2012-11-30 10:03:31 -05:00
Victor Shnayder
d2cc8696ed Add some initial css. 2012-11-30 10:03:31 -05:00
Victor Shnayder
d1b433dba5 add adaptive-max-score html to lms view 2012-11-30 10:03:30 -05:00
Victor Shnayder
a584f06bac Add support for varying max_score. 2012-11-30 10:03:30 -05:00
Victor Shnayder
d0e2b85e3c Refactor testing code, hook up frontend.
- now getting requests from js to server and back, with mocked service.
2012-11-30 10:02:20 -05:00
Victor Shnayder
ff11926570 Initial impl and basic access tests for staff grading service 2012-11-30 10:00:01 -05:00
Victor Shnayder
055aeae0b6 fix comment in access.py 2012-11-30 09:52:34 -05:00
Victor Shnayder
4b8708c2e4 move a comment 2012-11-30 09:52:34 -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
4f359ea594 pass through message when no more submissions. 2012-11-30 09:51:35 -05:00
Victor Shnayder
ed6a8f68ac starting to stub out the backend staff grading service [wip] 2012-11-30 09:51:35 -05:00
Victor Shnayder
9d8d6655c6 add docstring for expect_json decorator 2012-11-30 09:51:35 -05:00
Victor Shnayder
5836438454 hook up radio buttons, hide submit button till after grading 2012-11-30 09:51:35 -05:00
Victor Shnayder
e910f60e08 wip 2012-11-30 09:51:35 -05:00
Victor Shnayder
e1fd6d73b3 refactor to be more clearly model-view 2012-11-30 09:51:34 -05:00
Victor Shnayder
b1d5273a2a add messages, headers for sections 2012-11-30 09:51:34 -05:00
Victor Shnayder
546096e8a0 Split out mock backend, fix out-of-data bug 2012-11-30 09:51:34 -05:00
Victor Shnayder
3d0ef75807 Basic js implementation, with mocked backend 2012-11-30 09:51:34 -05:00
Victor Shnayder
aa786d138d move computers--adding test file 2012-11-30 09:51:34 -05:00
Victor Shnayder
c7ab37bdab initial js--called at page load 2012-11-30 09:51:34 -05:00
Victor Shnayder
7d1d135c16 Wire in some initial js. 2012-11-30 09:51:34 -05:00
Victor Shnayder
f5d9e963cc Initial wiring of a staff grading tab.
- no actual functionality, but have a tab that renders static html via a view
2012-11-30 09:51:33 -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