Victor Shnayder
49ba94e96b
add README.md for dogfood
2012-06-21 10:59:40 -04:00
Victor Shnayder
25ac073fb8
add function docs to module_render.py
2012-06-21 10:59:40 -04:00
Victor Shnayder
4e9d26877d
Add rough overview docs
2012-06-21 10:59:40 -04:00
Victor Shnayder
807256f05f
added TODO comment
2012-06-21 10:59:40 -04:00
Prem Sichanugrist
66f8225763
Cleanup show answer code
2012-06-21 10:59:39 -04:00
ichuang
73c1255198
problem.coffee : queue mathjax typesetting just once
2012-06-21 10:59:39 -04:00
ichuang
6572a542e5
typo in correctmap
2012-06-21 10:59:39 -04:00
ichuang
6f35f4887f
private methods start with _ (in capa_problem)
2012-06-21 10:59:39 -04:00
ichuang
929bfc4085
capa_problem log.error + raise -> log.debug + # FIXME
2012-06-21 10:59:39 -04:00
ichuang
071170072a
util: tol.endswith
2012-06-21 10:59:39 -04:00
ichuang
0995116a83
responsetypes - minor edits
2012-06-21 10:59:39 -04:00
ichuang
f64614b8ce
fix correctmap set_dict bug - make __getitem__ call self.cmap.__getitem__
2012-06-21 10:59:39 -04:00
ichuang
3e2ef6b8dc
revert logging instantiation to use 'mitx.' + __name__
2012-06-21 10:59:39 -04:00
Matthew Mongeau
e56a19b4e8
Added django_nose and nosexcover to requirements.txt
2012-06-21 10:59:39 -04:00
ichuang
0b61199f8f
removed unused answer_map parameter from capa_problem.lcp.preprocess_problem
2012-06-21 10:59:39 -04:00
Piotr Mitros
7902553198
Documentation Standards
2012-06-21 10:59:38 -04:00
Piotr Mitros
17ca4afc99
Process standards; should this be the same document?
2012-06-21 10:59:38 -04:00
Piotr Mitros
b1150f5ab7
Added purpose to scaffolding; should be better phrased
2012-06-21 10:59:38 -04:00
Piotr Mitros
f49034c955
Grammar/formatting/spelling
2012-06-21 10:59:38 -04:00
Piotr Mitros
6fe49064fa
Code standards
2012-06-21 10:59:38 -04:00
ichuang
f3c328dd18
fix dogfood -> use CorrectMap
2012-06-21 10:59:38 -04:00
ichuang
d858fc0933
remove loncapa import in formularesponse_with_hint test (jenkins
...
import path not consistent with dev machines?)
2012-06-21 10:59:38 -04:00
ichuang
9edc6bbd43
add MITX_FEATURES['DISPLAY_HISTOGRAMS_TO_STAFF'] flag to settings
2012-06-21 10:59:38 -04:00
ichuang
39dc5d0446
capa_problem and responsetypes pep8 and pyflakes
2012-06-21 10:59:38 -04:00
ichuang
c1c47bdae1
fix capa_problems pep8
2012-06-21 10:59:38 -04:00
ichuang
ede4ae08b9
added stringresponse_with_hint test
2012-06-21 10:59:38 -04:00
ichuang
6dedf644e1
added StringResponse (with hints)
...
for hints, still to be done: numericalhint, optionhint
no default hint processing done yet (ie hintmode = on_request)
2012-06-21 10:59:37 -04:00
ichuang
77d38da927
add FormulaResponseWithHintTest test
2012-06-21 10:59:37 -04:00
ichuang
436794741b
SymbolicResponseTest works if snuggletex war running ; back to skipping it for now
2012-06-21 10:59:37 -04:00
ichuang
6f3143528f
fix i4xs in tests.py; move symbolicresponse.xml test back to where it should be
2012-06-21 10:59:37 -04:00
ichuang
47e0317b7c
fix xmodule/capa tests to use new CorrectMap
2012-06-21 10:59:37 -04:00
ichuang
225a4d87c6
fixes to schematicresponse to work with new CorrectMap
2012-06-21 10:59:37 -04:00
ichuang
d56e6e1a11
django pipeline working now (with new pip -e git+git...)
2012-06-21 10:59:37 -04:00
ichuang
a093b86841
problem.coffee change: show answer -> also show solution_* & do mathjax typeset
2012-06-21 10:59:37 -04:00
ichuang
8030bce0c0
bugfixes - correctmap should reinit self.cmap on init
2012-06-21 10:59:37 -04:00
ichuang
70e942fe2b
fourth pass in capa cleanup:
...
- Added hints + hintmethod
- hintgroup compatible with loncapa spec
- also does hintfn for custom hints (can do answer history)
- GenericResponse -> LoncapaResponse
- moved response type tags into responsetype classes
- capa_problem should use __future__ division
- hints stored in CorrectMap, copied to 'feedback' in SimpleInput for display
2012-06-21 10:59:36 -04:00
ichuang
57c1aa7b3d
third pass in capa cleanup: correct_map -> CorrectMap
...
- added correctmap.py with CorrectMap class
- messages subsumed into CorrectMap
- response get_score called with old CorrectMap so hints based on history are possible
2012-06-21 10:59:36 -04:00
ichuang
a3d24d41f5
second pass in capa cleanup:
...
- each response can now render its own xhtml
- cleaned up LoncapaProblem.extract_html
2012-06-21 10:59:36 -04:00
ichuang
ff9f8c9779
responsetypes - fix comment
2012-06-21 10:59:36 -04:00
ichuang
f1a12a2604
first pass in capa cleanup:
...
- responsetype used to be instantiated multiple times(!) in capa_problem
now it is instantiated once, and stored in self.responders
- responsetypes.GenericResponse restructured; each superclass
show now provide setup_response (and not __init__), and may
provide get_max_score(); general __init__ provided to
clean up superclasses.
2012-06-21 10:59:36 -04:00
ichuang
ec0b451e7f
add msg to textinput_dynamath
2012-06-21 10:59:36 -04:00
Calen Pennington
cabcc0c1d9
Allow login in the cms, and read a particular course from mongo
2012-06-21 10:59:36 -04:00
Calen Pennington
338547343e
Get the cms up to the point of rendering a template
2012-06-21 10:59:36 -04:00
Calen Pennington
3c07c2b158
Make mitxmako available to both the lms and the cms
2012-06-21 10:59:35 -04:00
Matthew Mongeau
2f79936074
Got basic login working
2012-06-21 10:59:13 -04:00
Matthew Mongeau
dd6215ca18
wip
2012-06-21 10:50:55 -04:00
Matthew Mongeau
941a03f1d0
Point login form to login.
2012-06-21 10:43:38 -04:00
Matthew Mongeau
67487f8ad2
Modal wip
2012-06-21 10:38:33 -04:00
Matthew Mongeau
6dd47547c7
wip modal
2012-06-21 09:51:03 -04:00
ichuang
a2e2b6e445
allow javascript in problem xml
2012-06-20 23:37:40 -04:00