Commit Graph

7107 Commits

Author SHA1 Message Date
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
9fb6c6f989 Debug template issues 2012-11-30 13:18:32 -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
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