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
Don Mitchell
8379e3038d
Moved settings models from common to cms
2012-11-30 10:42:23 -05:00
Don Mitchell
0b7bff4c3f
Everything tested and ready for Tom to fix
2012-11-30 10:40:19 -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
Vik Paruchuri
de6e913d98
copy code response input type and modify a bit
2012-11-29 16:11:48 -05:00
Vik Paruchuri
f0b4ac3ab8
add open ended input type and html template
2012-11-29 16:09:27 -05:00
Chris Dodge
2aceb2e44a
make sure when defining the course namespace in the replace url methods that we explicitly state the parameter name. There are some optional parameters and if we don't define the parameter name, it'll end put being interpreted as a different parameter
2012-11-29 15:56:03 -05:00
Chris Dodge
46870f4391
be sure to always pass in a course namespace - which can be just the location of the module itself since it has the same org/course pair - when rewriting links. Also, allow for an option parameter in get_module() to disable the wrapping of the module's HTML with the xmodule_display.html. This is needed for ancillary course content such as 'about', 'course info', which are now stored as xmodules, but should not be wrapped in xmodule_display.html as it breaks some styling
2012-11-29 15:09:28 -05:00
Chris Dodge
050cb89cf7
fix crash with working with custom tags with XML filestore
2012-11-29 13:24:41 -05:00
Chris Dodge
021ed3bca6
fix crash with working with custom tags with XML filestore
2012-11-29 13:24:07 -05:00
chrisndodge
89ad8cc564
Merge pull request #1086 from MITx/feature/studio/tom/tabs-cleanup
...
Static tabs cleanup
2012-11-29 06:49:28 -08:00
Brian Wilson
9bfa800208
add non-ascii data to toy dataset
2012-11-28 18:28:40 -05:00
Brian Wilson
6a24ecebe7
decode utf-8 when reading html, and encode when writing.
2012-11-28 17:54:18 -05:00
Don Mitchell
c0da6e4249
Details done except for syllabus
2012-11-28 17:10:41 -05:00
Victor Shnayder
4b58cb9560
Fix attempt tracking, fix test
...
- increments attempts on any transition to DONE state
2012-11-28 15:04:07 -05:00
Victor Shnayder
0a1b731dbc
properly reset answer area on module reset
2012-11-28 14:18:44 -05:00
Victor Shnayder
b41b459712
update docstring on x_module.get_score to match reality
2012-11-28 14:09:32 -05:00
Victor Shnayder
4fd1a2fa1a
Fix state tracking for self-assessment.
...
now keep each set of responses in a separate dictionary
2012-11-28 14:09:09 -05:00