8a523997b1
Added setting for new changes to django-pipeline. Only sass is recompiled each time now.
Bridger Maxwell
2012-06-07 16:49:51 -04:00
c3e730a0a2
Add the capa module templates to the list of mako templates
Calen Pennington
2012-06-07 16:44:57 -04:00
80eb769d0c
Pull StudentInputError from the module it's actually defined in
Calen Pennington
2012-06-07 16:43:59 -04:00
af8155641b
Move remaining capa templates from courseware into common module
Calen Pennington
2012-06-07 16:30:23 -04:00
f78be58141
Cleaning up pep8 issues, including extraneous imports
Calen Pennington
2012-06-07 16:29:23 -04:00
f2309b3112
Remove references to djangosettings from responsetypes.py
Calen Pennington
2012-06-07 15:18:49 -04:00
f2423ca15e
Add a local system with a mako render function for testing problems
Calen Pennington
2012-06-07 14:56:27 -04:00
684be8d257
Move capa templates into the capa library
Calen Pennington
2012-06-07 15:02:03 -04:00
8643b72550
Change inaccurate comment.
David Ormsbee
2012-05-17 18:00:58 -04:00
46e108e15b
remove assumption that LoncapaProblem.fileobject is actually a file on the filesystem
David Ormsbee
2012-05-17 17:58:07 -04:00
b096981482
add a 'show' command to our little problem utility
David Ormsbee
2012-05-15 17:22:50 -04:00
9f2bce0001
Catch common case where problem answers are specified with units but don't expect them in the input
David Ormsbee
2012-05-14 19:22:09 -04:00
3cbb74aee7
fix breakage in problem checker caused by LoncapaProblem taking a file object in its constructor instead of a filename
David Ormsbee
2012-05-14 16:21:03 -04:00
accdbdd660
Check that blank answers are never marked correct (because of NaN issues)
David Ormsbee
2012-04-26 14:06:16 -04:00
0a5e6ce681
A little refactoring to make clearer what running test on problem means
David Ormsbee
2012-04-25 15:17:03 -04:00
d9e72b91ba
add commandline flag for logging level
David Ormsbee
2012-04-25 14:50:27 -04:00
8131cb3334
Allow problem tests to run even if problems can't give us answers to check.
David Ormsbee
2012-04-25 14:37:33 -04:00
2c6efbfd5d
only run problem testing when test command is entered in CLI
David Ormsbee
2012-04-24 17:31:01 -04:00
a2c4948cc5
initial commit for checker script that validates problem files
David Ormsbee
2012-04-24 16:59:37 -04:00
698fea8444
Make run.sh just run the relevant rake lms command
Calen Pennington
2012-06-07 16:38:18 -04:00
3f32e5bb3c
Fix minor issue with an incomplete carry through of a name change
Calen Pennington
2012-06-07 16:36:39 -04:00
3f545511ba
Merge pull request #89 from MITx/cpennington/courseware_documentation
David Ormsbee
2012-06-07 11:22:15 -07:00
f28cba2a50
Merge pull request #88 from MITx/cpennington/courseware_tests
David Ormsbee
2012-06-07 11:21:37 -07:00
d5e0fb3e69
Renaming item to only_one, and adding documentation
Calen Pennington
2012-06-07 11:48:23 -04:00
5101e575ba
Adding documentation for parse_timedelta
Calen Pennington
2012-06-07 11:46:01 -04:00
46a1c43c76
Give a general purpose rake command for running django-admin in the right way for either the lms or the cms
Calen Pennington
2012-06-06 14:41:48 -04:00
8728b417f1
Make truefalse test point to the correct test file
Calen Pennington
2012-06-06 14:25:23 -04:00
dc2dc1f0dd
Make it possible to run cleanliness stuff on lms
Calen Pennington
2012-06-06 14:23:09 -04:00
54756bf5e2
Use relative includes in settings files
Calen Pennington
2012-06-06 14:16:28 -04:00
fa42022ea7
Fixing another static files link
Calen Pennington
2012-06-06 10:12:35 -04:00
97a9a66c52
Move CAPA problem specific xml parsing utilities out of content_parser into xmodule
Calen Pennington
2012-06-04 12:05:47 -04:00
c76bab6f3e
Get rid of unused includes
Calen Pennington
2012-06-01 14:52:46 -04:00
91b306b35a
Moving capa and xmodule out of djangoapps/courseware, and removing django references from them
Calen Pennington
2012-06-01 14:20:59 -04:00
7d0938a3df
Adding logging to symmath, and skipping a test that currently fails due to environment issues
Calen Pennington
2012-06-06 11:58:04 -04:00
8d9b242e42
Get rid of unused code
Calen Pennington
2012-06-06 10:26:28 -04:00
eec80426f2
Python leaks variables from list comprehensions (Why, Python, why?) which breaks any later attempts to use the path module
Calen Pennington
2012-06-06 09:18:04 -04:00
fc791ad852
more minor exception handling changes to capa_module
ichuang
2012-06-05 13:22:24 -04:00
c54f895199
cleaned up exception handling in capa_module
ichuang
2012-06-05 13:12:04 -04:00
b36d0dd907
raise helpful error in NumericalResponse when missing required "answer" attribute
ichuang
2012-06-04 18:13:49 -04:00
613ff49df9
use getattr(system,'DEBUG',False) in capa_problem, and log.error in responsetypes
ichuang
2012-06-04 17:29:56 -04:00
c124bb95fb
move quickedit* from courseware.views to dogfood.views ; now dogfood is completely contained within lib/dogfood, and it can be cleanly unplugged from the rest of the code.
ichuang
2012-06-04 17:19:05 -04:00
fe849dedd9
Do not display play/pause button on iOS Device
Prem Sichanugrist
2012-05-31 16:28:19 -04:00
7cf4b1597c
Be more direct about where modx_dispatch is located and where it is used
Calen Pennington
2012-06-04 09:19:00 -04:00
7c33537bf4
dogfood still has the codemirror + chrome bug; put in warning message for now
ichuang
2012-06-03 22:47:01 -04:00
dc84a20ff5
improve error handling in external response; centralize interaction with external server into ExternalResponse.do_external_request
ichuang
2012-06-03 07:43:18 -04:00
1aa05fd400
externalresponse fixes; clean up semantics of interface, add command for getting expected answer from external server, add error handling, extend to use json for multiple input fields, added rows & cols to textbox inputtype for code input.
ichuang
2012-06-02 23:06:11 -04:00
b1acec7cc9
(local to dogfood - don't pull to master) changes to main.html
ichuang
2012-06-02 23:05:37 -04:00
1527a1e387
problem.js: change "show answer" to put result in .html instead of .text (OK everyone?) also some changes to try to fix the codemirror problem
ichuang
2012-06-02 23:03:58 -04:00
652aaff78e
workaround for codemirror bug on chrome - click "show answer" does codemirror.refresh()
ichuang
2012-06-02 20:48:07 -04:00
4ff3a8735c
add sympy to requirements.txt
ichuang
2012-06-02 19:03:16 -04:00
c563bef133
README for dynamath
ichuang
2012-06-02 19:01:33 -04:00
efdcf7096c
symbolicresponse.xml test file
ichuang
2012-06-02 18:59:54 -04:00
164e17a8d7
symbolicresponse test cases; tests pass. improved some error handling, cleaned up some cruft prints -> logging
ichuang
2012-06-02 18:58:58 -04:00
361c68f8af
another fix to dynamath display timing - problem.js content_updated display
ichuang
2012-06-02 17:57:37 -04:00
2f33bce7ad
symbolic math: add <symbolicresponse> type; improve error handling in symmath library; add options for matrices, qubit to symmath_check
ichuang
2012-06-02 17:17:48 -04:00
9dab2ce4e7
dynamic math rendering timing - had issue with display disappearing after click due to call to content_updated(); fixed this.
ichuang
2012-06-02 17:17:00 -04:00
68a2e7c079
dynamic math display - fix sequence of mathjax timing (mathml now generated when Check is clicked)
ichuang
2012-06-02 17:08:53 -04:00
1e0475c10b
minor change to capa_module: fp needs name when using stringio for error
ichuang
2012-06-02 10:00:41 -04:00
3c8c5a1e85
(cleanup cruft) renamed sympy_check stuff to become symmath
ichuang
2012-06-02 09:52:16 -04:00
52e1f17882
if DEBUG, if one problem is bad don't crash with error message; instead capture the error message and traceback and show this as the problem text.
ichuang
2012-06-02 09:47:37 -04:00
b5eac421d8
template for textinput dynamath (separate from textinput.html)
ichuang
2012-06-01 22:53:57 -04:00
e17668540f
dynamic math - changes to javascript, responsetypes, and inputtypes main.html now includes mathjax_include for all mathjax stuff problem.js refreshes mathjax formulas on change all previous *_fromjs renamed to *_dynamath, eg textline_dynamath
ichuang
2012-06-01 22:39:50 -04:00
e24df47b0b
Small bug fix causing crash when generating problem histogram.
Bridger Maxwell
2012-06-01 17:34:04 -04:00
0ad31f556f
The modx_dispatch import hack is added back in. Without it, the urls.py file was broken.
Bridger Maxwell
2012-06-01 17:22:34 -04:00