Christina Roberts
d0eefc6a67
Merge pull request #1580 from MITx/bug/dhm/course_update_js
...
Fix for script tags w/in json objects being oddly evaluated on html page
2013-03-04 12:42:42 -08:00
Don Mitchell
020e1e94fb
Move side effecting of definition for grader to the course_module and
...
don't make caller responsible.
2013-03-04 15:38:47 -05:00
Victor Shnayder
df5ad6ba42
Merge pull request #1574 from MITx/fix/will/cs191_matrix_style_bug
...
Fix/will/cs191 matrix style bug
2013-03-04 12:28:12 -08:00
David Ormsbee
9d2a2cbc2f
Merge pull request #1555 from MITx/feature/jkarni/foldit-api
...
Feature/jkarni/foldit api
2013-03-04 11:40:43 -08:00
Ned Batchelder
7c8a90229e
Use 'is None' and 'is not None'
2013-03-04 10:57:25 -05:00
Ned Batchelder
97f1e04282
Fix some 2-space indents
2013-03-04 10:57:25 -05:00
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
chrisndodge
c236b2c8a9
Merge pull request #1550 from MITx/feature/cdodge/add-test-delete
...
add another command line argument to allow users to only simulate a dele...
2013-03-01 13:29:06 -08:00
Victor Shnayder
88bfdd01ce
Merge pull request #1561 from MITx/feature/will/move_correct_mark_for_multiple_choice
...
Feature/will/move correct mark for multiple choice
2013-03-01 12:52:26 -08:00
Chris Dodge
0047295695
Merge branch 'master' of github.com:MITx/mitx into feature/cdodge/add-test-delete
2013-03-01 15:48:23 -05:00
Will Daly
d6df7e2d96
Added comments to clean_message_html
2013-03-01 15:04:01 -05:00
VikParuchuri
d186e5d186
Merge pull request #1538 from MITx/diana/fix-import-export
...
Fix studio import and export for CombinedOpenEnded, PeerGrading XModules
2013-03-01 09:32:08 -08:00
David Ormsbee
d6957f3e7e
Merge pull request #1508 from MITx/feature/ichuang/fix-save-button-messages-and-add-capa-survey-mode
...
Fix capa save button msgs & add simple capa survey mode
2013-03-01 08:26:21 -08: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
e0d
4e10eb10e3
locking deps versions based on pip freeze in production.
2013-03-01 10:15:07 -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
487afad50d
Merge branch 'master' into feature/will/move_correct_mark_for_multiple_choice
2013-02-27 16:58:35 -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
9fe305e02b
Modified ChoiceGroup to display correct/incorrect indicators
...
(check or x) next to the option the user selected (check boxes or radio
buttons).
2013-02-27 13:05:29 -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