Commit Graph

58450 Commits

Author SHA1 Message Date
Prem Sichanugrist
eb70ef4c07 Directly call toggleArrow in sequence render
There might be a chance that an error got thrown after 'contentChanged'
event was fired and stop the `toggleArrow()` method to be called. This
will make sure that the navigation will still be working even some
element in the content is failed.
2012-06-11 16:03:22 -04:00
Piotr Mitros
f364e0ae42 Documentation Standards 2012-06-11 15:38:19 -04:00
David Ormsbee
3bfe81126b Merge pull request #98 from MITx/mm-fix-paths
PROJECT_ROOT is needed for coffeescript paths
2012-06-11 10:59:37 -07:00
Matthew Mongeau
d0819071c7 PROJECT_ROOT is needed for coffeescript paths 2012-06-11 13:57:37 -04:00
Piotr Mitros
c3480daec4 Process standards; should this be the same document? 2012-06-11 11:56:20 -04:00
Piotr Mitros
fab8c1e2c7 Added purpose to scaffolding; should be better phrased 2012-06-11 11:01:20 -04:00
Piotr Mitros
6f86e9bbbe Grammar/formatting/spelling 2012-06-11 10:59:01 -04:00
Piotr Mitros
b1c10bb9e4 Code standards 2012-06-11 10:57:24 -04:00
Calen Pennington
77c637ce4b Merge pull request #93 from MITx/create-dev-env
Create dev env
2012-06-11 07:32:04 -07:00
ichuang
628ca00252 fix dogfood -> use CorrectMap 2012-06-10 22:56:16 -04:00
ichuang
17ca0e793c remove loncapa import in formularesponse_with_hint test (jenkins
import path not consistent with dev machines?)
2012-06-10 22:39:16 -04:00
ichuang
6f14acee9e add MITX_FEATURES['DISPLAY_HISTOGRAMS_TO_STAFF'] flag to settings 2012-06-10 22:34:30 -04:00
ichuang
6bcb40b52f capa_problem and responsetypes pep8 and pyflakes 2012-06-10 22:27:40 -04:00
ichuang
6d444de05b fix capa_problems pep8 2012-06-10 22:20:56 -04:00
ichuang
4f6d9143c0 added stringresponse_with_hint test 2012-06-10 22:06:13 -04:00
ichuang
855112f8e7 added StringResponse (with hints)
for hints, still to be done: numericalhint, optionhint
no default hint processing done yet (ie hintmode = on_request)
2012-06-10 21:59:29 -04:00
ichuang
b48b33e65e add FormulaResponseWithHintTest test 2012-06-10 21:27:11 -04:00
ichuang
a7d0f8322d SymbolicResponseTest works if snuggletex war running ; back to skipping it for now 2012-06-10 21:11:43 -04:00
ichuang
fdc4a14cf0 fix i4xs in tests.py; move symbolicresponse.xml test back to where it should be 2012-06-10 21:11:04 -04:00
ichuang
f4a3c54481 fix xmodule/capa tests to use new CorrectMap 2012-06-10 21:05:21 -04:00
ichuang
2af525f19c fixes to schematicresponse to work with new CorrectMap 2012-06-10 20:52:10 -04:00
ichuang
989a74ba3f django pipeline working now (with new pip -e git+git...) 2012-06-10 20:05:33 -04:00
ichuang
58e359e7ec problem.coffee change: show answer -> also show solution_* & do mathjax typeset 2012-06-10 20:04:30 -04:00
ichuang
5eda2f3a63 bugfixes - correctmap should reinit self.cmap on init 2012-06-10 18:41:54 -04:00
ichuang
5ac13e03aa 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-10 17:17:57 -04:00
ichuang
c724affe31 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-09 23:29:08 -04:00
ichuang
7b3c79698f second pass in capa cleanup:
- each response can now render its own xhtml
  - cleaned up LoncapaProblem.extract_html
2012-06-09 21:29:11 -04:00
ichuang
7b3ad55307 responsetypes - fix comment 2012-06-09 18:36:27 -04:00
ichuang
46b45969d0 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-09 18:36:27 -04:00
ichuang
ae44d86e27 add msg to textinput_dynamath 2012-06-09 18:36:27 -04:00
ichuang
2fdf948547 Merge pull request #91 from MITx/ps-dynamath
Refactor and test Dynamath Code (tested, works; one more changeset coming, to add msg back into textinput_dynamath)
2012-06-09 15:33:46 -07:00
Calen Pennington
dc85e46315 Allow login in the cms, and read a particular course from mongo 2012-06-08 16:55:38 -04:00
John Jarvis
b46b7daf0f added a posix compliant check to make sure you are using bash to run the script, added option to use --system-site-packages for virtualenv, updated the ending instructions on how to start the server 2012-06-08 14:59:21 -04:00
Calen Pennington
8134bcbc3d Get the cms up to the point of rendering a template 2012-06-08 14:01:41 -04:00
John Jarvis
eb4272e386 converted tabs to spaces, updated LESS cmdline override 2012-06-08 11:50:57 -04:00
John Jarvis
a8940fc71e adding less option to skip the intro screen for ruby install 2012-06-08 11:30:13 -04:00
Calen Pennington
05436e591b Make mitxmako available to both the lms and the cms 2012-06-08 11:27:22 -04:00
Prem Sichanugrist
ac4f09ac4e Replace dynamite code with tested version 2012-06-08 11:16:03 -04:00
Prem Sichanugrist
c340ffe0a3 Fix code formatting 2012-06-08 10:40:25 -04:00
Calen Pennington
d690aebc78 Set up a pylintrc file 2012-06-08 09:08:18 -04:00
ichuang
37ae7afbd3 Merge pull request #92 from MITx/dogfood-xmodule
fix dogfood wrt lms / xmodule reorg; fix textinput_dynamath call
2012-06-07 19:13:57 -07:00
ichuang
9d0dfd2f02 fix dogfood wrt lms / xmodule reorg; fix textinput_dynamath call 2012-06-07 22:03:47 -04:00
David Ormsbee
bd2a44ade9 Merge pull request #90 from MITx/cpennington/capa_django_deps
Removing references to django.conf.settings from capa/responsetypes.py
2012-06-07 16:18:08 -07:00
David Ormsbee
2991eba1d5 Merge pull request #45 from MITx/problem_tests
Problem testing utility, reducing courseware/capa dependencies on Django
2012-06-07 16:16:39 -07:00
Calen Pennington
374ce67e36 Run pep8 and pylint on all libraries, not just the lms 2012-06-07 17:04:57 -04:00
Calen Pennington
1d1af3be74 Move coverage report html into the reports directory 2012-06-07 17:00:03 -04:00
Calen Pennington
92c6f1e63d Add reports for library tests 2012-06-07 16:54:05 -04:00
Bridger Maxwell
997c24f9e6 Merge branch 'master' of github.com:MITx/mitx 2012-06-07 16:50:01 -04:00
Bridger Maxwell
8a523997b1 Added setting for new changes to django-pipeline. Only sass is recompiled each time now. 2012-06-07 16:49:51 -04:00
Calen Pennington
c3e730a0a2 Add the capa module templates to the list of mako templates 2012-06-07 16:44:57 -04:00