polesye
77c208a1cf
BLD-474: Allow multiple answers for string response.
2013-11-21 16:23:33 +02:00
RobertMarks
e3b8ce708f
changes to allow multiple choicetextresponses in one problem
2013-11-19 09:55:35 -08:00
Sarina Canelake
b1d91fad49
Merge pull request #1663 from edx/sarina/persist-student-answers-on-error
...
Sarina/persist student answers on error
2013-11-14 08:15:08 -08:00
Oleg Marshev
128846f67d
BLD-449: Fix rearrange bug in problems.
2013-11-14 13:44:58 +02:00
Sarina Canelake
9508b3f9b4
pep8/pylint fixes for capa
2013-11-13 16:12:25 -05:00
Sarina Canelake
862beafdd1
Persist student answers on input error
...
LMS-469
2013-11-13 14:15:52 -05:00
Calen Pennington
864d831ce3
Use XBlock handlers for handle_ajax in XModules
...
Adds xblock handler_url support to the LMS, and makes handle_ajax use
that code.
[LMS-230] [LMS-229]
2013-11-08 11:08:48 -05:00
Sarina Canelake
d711d29d74
Clean up pep8/pylint
2013-10-30 20:43:44 -04:00
Pavel Yushchenko
d238e03f02
remove cast to list
2013-10-24 17:04:32 +04:00
Pavel Yushchenko
0de098468f
fixes shlex unicode
2013-10-24 17:04:32 +04:00
David Baumgold
e53680bb92
make drag_and_drop component work with requirejs and changed static url
2013-10-09 10:26:22 -04:00
David Baumgold
d97921e6e2
Convert Studio JS to use require.js
2013-10-04 13:43:50 -04:00
ichuang
5b460ff6b7
add inline style flag to formulaequationinput
2013-10-04 11:56:50 -04:00
Carlos Andrés Rocha
87fcf1ab9e
Merge pull request #905 from rocha/datadog-statsd
...
Remove dogstatsd-python in favor of dogapi
2013-09-12 06:53:02 -07:00
Carlos Andrés Rocha
ee0004e2f8
Remove dogstatsd-python in favor of dogapi
...
Also added datadog application to commom django apps and set it to use
a local statsd server by default.
2013-09-11 19:28:58 -04:00
David Baumgold
871ad7d694
Pass hostname to LTI XModule
...
Necessary for RFC compliance with oauthlib
2013-09-10 14:21:56 -04:00
David Baumgold
45f38ddf81
Update requests library to 1.2.3
2013-09-10 09:59:21 -04:00
chrisndodge
9aa024b585
Merge pull request #845 from edx/bugfix/ichuang/fix-capa-optioninput-for-inline
...
Fix capa optioninput template to honor inline flag
2013-09-05 15:51:30 -07:00
ichuang
69f72989c5
consistently use inline=False as default in capa inputtypes
2013-09-04 23:13:05 -04:00
Adam Palay
300f7f13a6
fix pep8 and pylint errors
...
Conflicts:
cms/djangoapps/contentstore/views/course.py
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
lms/envs/common.py
2013-09-03 14:55:11 -04:00
ichuang
d7fdcd904a
fix capa optioninput template to honor inline flag
2013-08-31 15:14:05 -04:00
Sarina Canelake
6defd7baf1
Merge pull request #790 from edx/unanswered-on-input
...
Unanswered on input
2013-08-30 14:25:21 -07:00
Peter Baratta
fe47dcb122
Acceptance tests for visual correctness reset feature
2013-08-30 17:24:33 -04:00
Adam Palay
2284f56e20
specify preview import statements to reflect new package structure
2013-08-30 16:57:27 -04:00
Peter Baratta
48cb05c037
Reset 'correctness' visual indicator of a problem on new input
...
Affects:
Choicegroups, option inputs, textline, and formula equation inputs
2013-08-30 12:03:41 -04:00
Will Daly
fc5a24dfc0
Merge pull request #801 from edx/will/remove-test-network-calls
...
Remove network calls in test suite
2013-08-29 11:42:19 -07:00
Ned Batchelder
30cf0b57e6
Fix the requirements in the sandbox instructions
2013-08-28 16:04:43 -04:00
Ned Batchelder
3194e54400
Merge pull request #805 from edx/ned/fix-allow-comments-in-capa-xml
...
Keep comments in capa XML from causing failures
2013-08-28 06:58:51 -07:00
Ned Batchelder
2c544cb0bd
A test that our XML-comments fix works.
2013-08-27 11:44:41 -04:00
Ned Batchelder
ca7c002ca9
Keep comments in capa XML from causing failures
...
Comments (and processing instructions!) are handled oddly in lxml.
This change will keep them from causing failures. They will be omitted
from the HTML generated, which is fine, since they aren't needed there.
2013-08-27 11:08:22 -04:00
Felix Sun
444f51d6de
Fixed some pep/pylint violations.
2013-08-27 09:46:02 -04:00
Will Daly
db6d76d643
Patched textbook TOC request during course import.
...
Patched Snuggletex server calls
2013-08-27 08:28:15 -04:00
Felix Sun
e6067d8814
Addressed PR comments.
...
Fixed coffeescript event logging error.
Fixed crowdsourced hinter dependence on self.field.append() not working.
2013-08-26 09:40:05 -04:00
Felix Sun
69fbe77dcb
Fixed a rebase error in responsetypes.
...
Fixed a css bug in the hinter.
2013-08-26 09:40:05 -04:00
Felix Sun
f3c3436f41
Addressing more PR comments. Fixed a test that broke when new code came in.
2013-08-26 09:40:04 -04:00
Felix Sun
d6715749dc
Addressed pull request comments.
...
Fixed broken tests.
2013-08-26 09:40:04 -04:00
Felix Sun
eb5a90a3ed
Added tests for validate_answer in response types.
2013-08-26 09:40:04 -04:00
Felix Sun
8ce53ed8eb
Got rid of answer signatures - these don't work with approximate answers at all. Instead, implemented comparison-based hint matching.
...
Tests are broken, hint manager is probably broken.
2013-08-26 09:40:03 -04:00
Felix Sun
b88c6b8d68
Hinter now works with formula responses. Tests broken.
2013-08-26 09:40:02 -04:00
Felix Sun
c34a81a845
Refactored formula response grader to expose formula-evaluating to outside world.
...
In preparation for adding hints to formula response.
2013-08-26 09:40:02 -04:00
Peter Baratta
e0f0ab090d
Use calc's evaluator for staff answers in Numercial type
...
Rather than just calling `complex(...)` on the staff answers, also call
`calc.evaluator`. This way, simple things like `1/3` can be entered, as well
as more complicated explicit equations (e.g. `sqrt((12^2 + 26^2)/2)` etc, etc)
Simplify and update the tests to work with this.
2013-08-19 13:40:32 -04:00
ichuang
501c089f41
capa optioninput template was missing msg output (needed for hints)
2013-08-14 21:51:40 -04:00
Peter Baratta
735e3b01a2
Create a new response type for Numerical/Formula
...
Named `FormulaEquationInput` (name up for debate)
- Based off ChemEqnIn
- Add FormulaEquationInput in inputtypes.py
- Add a call to a skeleton method for a preview
javascript:
- Queue up some MathJax
- Put some ordering on the AJAX requests: add a parameter when the request was started, when it returns check that it isn't outdated before displaying the preview
- Tests
Note: we moved the `jsinput` tests and DISABLED them, because they were causing the tests to fail.
2013-08-12 11:48:45 -04:00
Peter Baratta
a1162cbb34
Change calc module
...
- Create a method called `parse_algebra`. It takes a string of math and returns with a `pyparsing.ParseResults` object representing it.
- `evaluator` takes this tree and applies the old "parse actions" to it to get the same number as it used to.
- Change calc's API: `evaluator` to use `case_sensitive` rather than `cs`
- Add most of the capability for latex rendering
2013-08-12 11:40:20 -04:00
Adam Palay
2b40462263
convert all datetime.now() to datetime.now(UTC)
2013-07-22 17:39:11 -04:00
Adam Palay
b2b3a50400
convert datetime.now() to datetime.now(UTC) for xqueue
2013-07-22 17:39:11 -04:00
Adam Palay
b744aaa360
make sure parsed times are set to UTC
2013-07-22 17:39:11 -04:00
Adam Palay
af522af2ca
formatting
2013-07-22 17:39:11 -04:00
RobertMarks
4d880db1b5
Updated behavior for split_answer_dict, get_score, and check_student_inputs (responsetypes.py)
2013-07-18 10:18:53 -07:00
RobertMarks
46ae2f9c26
Added support for a new problem type: ChoicetextResponse
2013-07-18 10:12:56 -07:00