Will Daly
548f9b85a8
Changed response_msg argument default to ''
2013-03-01 17:07:23 -05:00
Will Daly
28a502ea97
Fixed a bug in CorrectMaps.get_npoints(), which would return 1
...
when npoints=0.
2013-03-01 16:40:54 -05:00
Will Daly
d6df7e2d96
Added comments to clean_message_html
2013-03-01 15:04:01 -05:00
Will Daly
8265181477
If there are multiple inputs, but only one message specified,
...
the message is now applied to the entire response.
2013-03-01 11:17:31 -05:00
Will Daly
9ac8ef542f
Overall message HTMl now correctly renders when multiple HTML tags are
...
passed as the message (even when there's no root tag)
2013-03-01 09:40:38 -05:00
Will Daly
952716af13
Added clean-up code for message HTML.
...
If overall message is a parseable XHTML tree,
it is inserted as a tree rather than text.
2013-03-01 09:40:38 -05:00
Will Daly
68cf4c4535
Added tests for HTMl rendering of problems
...
Added support for rendering response messages
2013-03-01 09:40:38 -05:00
Will Daly
9f6119a19a
* Fixed a bug in CorrectMap in which overall_message was not copied
...
in the update() method
* Implemented CustomResponse behavior for returning overall_message,
with unit tests
* Added additional CustomResponse unit tests for exception handling
2013-03-01 09:40:38 -05:00
Will Daly
3dd49881c3
* Wrote unit tests for correctmap.
...
* Fixed potential KeyError in correctmap.get_queue_time_str()
* Modified correctmap.get_npoints() to return 0 if answer is incorrect,
even when npoints has been set.
* Added overall_message attribute to CorrectMap to allow
messages that apply to the entire question, not just an individual input
2013-03-01 09:40:38 -05:00
Christina Roberts
1b9d105e35
Merge pull request #1568 from MITx/bug/christina/misc
...
Don't require text tag around multiple choice/checkbox answers.
2013-02-28 10:48:08 -08:00
cahrens
2be42b8f51
Don't require text tag around multiple choice/checkbox answers.
...
https://edx.lighthouseapp.com/projects/102637/tickets/196
2013-02-28 13:33:04 -05:00
Christina Roberts
69ef622afd
Merge pull request #1540 from MITx/feature/ichuang/fix-studio-latex-hls-editor
...
Fix latex high-level source editor in current version of cms / studio
2013-02-28 10:02:09 -08:00
Christina Roberts
1ebc3b314d
Merge pull request #1566 from MITx/fix/cdodge/optimize-metadata-tree-computation
...
Fix/cdodge/optimize metadata tree computation
2013-02-28 07:28:48 -08:00
Diana Huang
9429262ca4
Merge pull request #1563 from MITx/fix/will/capa_response_unit_tests
...
Fix/will/capa response unit tests
2013-02-28 07:05:15 -08:00
Will Daly
71d0a367aa
Fixed an error in the JavascriptResponseTest: coffee files
...
were not being compiled before the LoncapaProblem initializer was
called.
2013-02-28 09:45:27 -05:00
Chris Dodge
8a7211da05
remove unused import commands (which were used for temporary profiling). Also change get_lms_link_for_item() to preserve the previous argument ordering. Apparently all callers may not use argument name conventions for the 'preview' argument.
2013-02-28 09:40:30 -05:00
ichuang
9fe9e2fbf6
upadte latex2edx url in latex-problem template
2013-02-28 04:21:50 +00:00
Chris Dodge
905199b5eb
restore metadata inheritance. Fix lms jump computation on the Studio index page. This gets expensive.
2013-02-27 22:37:13 -05:00
Chris Dodge
e42cdfbd29
turn off metadata inheritence for a quick test
2013-02-27 21:45:17 -05:00
Chris Dodge
d0bbb0f6c9
use a different query to get all collections. Also don't apply inheritance to course modules, because that's ultimately a no-op
2013-02-27 20:43:49 -05:00
cahrens
e47d11bedc
Bug fix for #214 .
...
https://edx.lighthouseapp.com/projects/102637-studio/tickets/214-Via-Tender-Numerical-Input-answer-0-a-tolerance-is-not-accepted#ticket-214-4
2013-02-27 17:36:28 -05:00
cahrens
c0f0ef0cd2
Bug fix for #214 .
...
https://edx.lighthouseapp.com/projects/102637-studio/tickets/214-Via-Tender-Numerical-Input-answer-0-a-tolerance-is-not-accepted#ticket-214-4
2013-02-27 17:34:08 -05:00
Will Daly
7e48de1ef3
Reset responsetypes.py to version on master
2013-02-27 17:22:26 -05:00
Will Daly
043d316d53
Removed test files that are now replaced with XML Factories
2013-02-27 16:40:48 -05:00
Will Daly
ce7256eda9
Removed unused SymbolicResponseXMLFactory
2013-02-27 16:40:05 -05:00
Will Daly
c1324ec21d
Modified CodeResponse to use XML factory
2013-02-27 16:25:19 -05:00
Will Daly
6e4c418a11
Updated JavscriptResponse to use XML factory
2013-02-27 15:26:29 -05:00
Will Daly
3f81fe010c
Implemented tests for ImageResponse
2013-02-27 15:05:21 -05:00
Will Daly
53b3b79f96
Implemented tests of hints for <formularesponse>
2013-02-27 14:13:49 -05:00
Will Daly
9360c3fa9a
Added test for StringResponse hints
2013-02-26 16:55:18 -05:00
Will Daly
4ed229e8e8
Modified StringResponse test to use XML factory and
...
to check case-insensitivity.
2013-02-26 16:31:34 -05:00
Will Daly
1060ce495d
Modified OptionResponseTest to use XML factory
2013-02-26 16:14:59 -05:00
Will Daly
ee22a50d92
Moved problem initialization into ResponseTest base class.
2013-02-26 15:44:15 -05:00
Will Daly
a4dfc0f440
Added tests for TrueFalseResponse. Cleaned up tests by
...
creating common base class.
2013-02-26 15:35:55 -05:00
Will Daly
c225af4e4d
Modified ChoiceResponse to use XML generated by factory.
2013-02-26 14:33:46 -05:00
Will Daly
a7fcb7d6be
Added tests for <schematicresponse>
2013-02-26 13:38:58 -05:00
Will Daly
f2bb9a2dbc
Implemented unit tests for <customresponse>
2013-02-26 10:43:30 -05:00
VikParuchuri
df01064e77
Merge pull request #1536 from MITx/diana/rubric-hot-keys
...
Add in rubric hotkeys
2013-02-26 06:46:26 -08:00
John Hess
ac7fe0631a
fixed excess_draggable behavior so that true means it is actually excess
2013-02-25 19:20:37 -05:00
John Hess
d265c255ec
Merge branch 'master' of github.com:MITx/mitx
2013-02-25 18:42:39 -05:00
John Hess
fbce425152
drag and drop now correctly handles cases where no draggables should be dragged
2013-02-25 18:42:34 -05:00
Will Daly
8b5473b6f6
Wrote unit tests for NumericalResponse capa response type
2013-02-25 15:30:55 -05:00
David Ormsbee
dde4fc981b
Merge pull request #1546 from MITx/fix/cdodge/make-jump-to-handle-lost-slash
...
add a 'missing slash' regular expression for Location patterns in order ...
2013-02-25 08:22:24 -08:00
Chris Dodge
752ff20cf5
add a 'missing slash' regular expression for Location patterns in order to account for dropped slash with the i4x:// pattern. Certain redirect cases will cause this 2nd slash to be dropped (I think via Nginx)
2013-02-25 10:45:00 -05:00
Victor Shnayder
01a38c29be
Add auto-cohorting functionality.
...
See changes in xml-format.md or wiki (dynamic cohorts v1) for spec.
2013-02-24 18:48:01 -05:00
Victor Shnayder
8e93e0770f
Merge pull request #1509 from MITx/feature/victor/capa-finished
...
Add showanswer="finished" option and tests
2013-02-24 13:24:34 -08:00
Vik Paruchuri
d5865e70b8
Merge remote-tracking branch 'origin/master' into feature/vik/oe-messages
2013-02-22 10:21:34 -05:00
Diana Huang
f9667849b8
Fix some minor bugs in event handling and add enter key support
2013-02-22 09:47:50 -05:00
Diana Huang
3ecafa9b42
Add hot keys to rubrics
2013-02-22 09:47:50 -05:00
Brian Wilson
d503fe3d79
Merge remote-tracking branch 'origin/master' into feature/brian/pdf_js
2013-02-21 15:38:28 -05:00