Calen Pennington
8201b1412e
Use XBlock 0.3
2013-09-06 09:45:59 -04:00
Felix Sun
444f51d6de
Fixed some pep/pylint violations.
2013-08-27 09:46:02 -04:00
Felix Sun
d6715749dc
Addressed pull request comments.
...
Fixed broken tests.
2013-08-26 09:40:04 -04:00
Felix Sun
544aa55e43
Added comments to explain confusing field names in crowdsource_hinter.
...
Fixed some pep8 errors.
2013-08-26 09:40:04 -04:00
Felix Sun
d9517ea13e
Fixed tests for removing hash access to hints. Fixed instructor view for same.
2013-08-26 09:40:04 -04:00
Felix Sun
4ee8111cf4
Fixed monkey-patching persistent state bug.
2013-08-26 09:40:03 -04:00
Felix Sun
6b40c5cf13
Changed hint voting ui to show all hints on one page.
...
Fixed broken tests for hint manager.
2013-08-26 09:40:03 -04:00
Felix Sun
a730f9189b
Fixed numerous 500 errors that result from mal-formatted post requests.
...
Fixed tests to work with symbolic answer changes.
2013-08-26 09:40:03 -04:00
Felix Sun
69380756d2
Fixed tests to work with new vote-tabbing method. Fixed some string-int incompatibility errors.
...
Conflicts:
common/lib/xmodule/xmodule/crowdsource_hinter.py
common/lib/xmodule/xmodule/tests/test_crowdsource_hinter.py
2013-08-26 09:40:02 -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
Felix Sun
b68c117854
Fixed bug: When student submits empty string, hinter returns a 500 error.
...
Added tests to catch said bug.
Fixed some pylint violations.
2013-07-08 09:05:29 -04:00
Felix Sun
0c4d6ba6d9
Made explanation for hints field in crowdsource_hinter.py more clear.
...
Fixed various commenting things.
Removed an unused function in the crowdsourced module coffeescript.
Improved commenting in hint_manager.
Fixed pep and pylint violations.
2013-07-01 11:52:52 -04:00
Felix Sun
970a7f0916
Fixed some docstring formatting things.
...
Expanded test coverage a little.
2013-07-01 10:25:04 -04:00
Felix Sun
b6760cebca
Fixed a small, but dangerous, string-to-integer casting bug in hint_manager.
...
Expanded tests of hint_manager.
Enabled the hint_manager by default in development environments.
2013-07-01 10:25:04 -04:00
Felix Sun
6890563d43
Fixed broken tests. Made the hint manager enabled in testing environments - this lets us test the hint manager.
2013-07-01 10:25:04 -04:00
Felix Sun
ab303e7567
Fixed numerous code-formatting issues and pep8 violations.
...
Began enforcing one-vote-per-person. This can be disabled with debug="True" in the <crowdsource_hinter> tag.
Started tests of the hint manager.
2013-07-01 10:25:04 -04:00
Felix Sun
242d0c28ae
Properly fomatted the tab-based UX for hint-voting.
...
Chiseled a little at writing template tests.
2013-07-01 10:25:04 -04:00
Felix Sun
c79ca38f6e
Moved the hinter rendering onto a mako template.
...
Hinter now displays vote count after voting.
Began testing templates.
2013-07-01 10:25:04 -04:00
Felix Sun
bb922ed8d8
Moved the crowdsourced hinter module into mako template form.
...
Fixed some bugs in the tests for crowdsourced hinter.
2013-07-01 10:25:04 -04:00
Felix Sun
475ac62c79
Fixed epic git rebase meltdown. No new features.
2013-07-01 10:25:04 -04:00
Felix Sun
6ccfa2e38d
Made tests of the crowdsource hinter module more standardized and easier to read. Fixed database non-initialization bug in crowdsource hinter module.
2013-07-01 10:25:03 -04:00
Felix Sun
b64fe5c537
Finished prototype of hint moderation view. Began re-writing tests of the crowdsource hinter module. (Old tests no longer cover all the code, now that moderation has been added.)
2013-07-01 10:25:03 -04:00