Commit Graph

2006 Commits

Author SHA1 Message Date
ichuang
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.
2012-06-02 23:06:11 -04:00
ichuang
b1acec7cc9 (local to dogfood - don't pull to master) changes to main.html 2012-06-02 23:05:37 -04:00
ichuang
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
2012-06-02 23:03:58 -04:00
ichuang
652aaff78e workaround for codemirror bug on chrome - click "show answer" does codemirror.refresh() 2012-06-02 20:48:07 -04:00
ichuang
4ff3a8735c add sympy to requirements.txt 2012-06-02 19:03:16 -04:00
ichuang
c563bef133 README for dynamath 2012-06-02 19:01:33 -04:00
ichuang
efdcf7096c symbolicresponse.xml test file 2012-06-02 18:59:54 -04:00
ichuang
164e17a8d7 symbolicresponse test cases; tests pass. improved some error handling,
cleaned up some cruft prints -> logging
2012-06-02 18:58:58 -04:00
ichuang
361c68f8af another fix to dynamath display timing - problem.js content_updated display 2012-06-02 17:57:37 -04:00
ichuang
2f33bce7ad symbolic math: add <symbolicresponse> type; improve error handling in
symmath library; add options for matrices, qubit to symmath_check
2012-06-02 17:17:48 -04:00
ichuang
9dab2ce4e7 dynamic math rendering timing - had issue with display disappearing
after click due to call to content_updated(); fixed this.
2012-06-02 17:17:00 -04:00
ichuang
68a2e7c079 dynamic math display - fix sequence of mathjax timing (mathml now
generated when Check is clicked)
2012-06-02 17:08:53 -04:00
ichuang
1e0475c10b minor change to capa_module: fp needs name when using stringio for error 2012-06-02 10:00:41 -04:00
ichuang
3c8c5a1e85 (cleanup cruft) renamed sympy_check stuff to become symmath 2012-06-02 09:52:16 -04:00
ichuang
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.
2012-06-02 09:47:37 -04:00
ichuang
b5eac421d8 template for textinput dynamath (separate from textinput.html) 2012-06-01 22:53:57 -04:00
ichuang
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
2012-06-01 22:39:50 -04:00
ichuang
41996faede changed another debug print to use logging (module_render) 2012-06-01 15:01:34 -04:00
ichuang
b1b08d2989 made "position" a generic parameter passed to all modules, from courseware.views.index 2012-06-01 14:34:26 -04:00
ichuang
2e2bf13e5c untabify lib/dogfood/check.py 2012-06-01 14:15:48 -04:00
ichuang
7fbc4d7f4f removed django.settings imports from modules/* ; changed debug prints
to use logging; added DEBUG attr to XModule class
2012-06-01 13:49:19 -04:00
ichuang
a42ea2ca39 removed debug "if false" line in module_render 2012-06-01 13:42:50 -04:00
ichuang
3d925f29ee new "jumpto": go directly to a specific problem. changes made to
urls, courseware.{views,module_render}, comments added to seq_module
2012-05-29 23:32:02 -04:00
ichuang
b8a3fc04ca partial attempt to fix codemirror js chrome bug, with patch to
problem.js (commented out)
2012-05-29 23:23:22 -04:00
ichuang
27f5826e34 content_parser: use logging for errors 2012-05-29 23:22:10 -04:00
ichuang
bb37f2019b capa_problem: convert print of errors into log.* 2012-05-29 23:21:22 -04:00
ichuang
485c279de1 add imageinput to main.html (which still has the django-pipeline sass problem workaround) 2012-05-29 17:58:58 -04:00
ichuang
6c66afb7b1 try cm.refresh in textbox.html to fix codemirror bug with chrome 2012-05-29 17:55:13 -04:00
ichuang
cc02962eb4 add @ensure_csrf_token to courseware.views.index 2012-05-29 17:54:45 -04:00
ichuang
fdca527bf1 Merge branch 'dogfood' of github.com:MITx/mitx into dogfood 2012-05-29 17:08:27 -04:00
ichuang
5994ef4cdb green pointer image for imageinput 2012-05-29 17:08:12 -04:00
ichuang
87cda4c282 make imageinput work with dogfood, fix typo in responsetypes.imageresponse 2012-05-29 17:06:15 -04:00
ichuang
b70aa31b15 add django admin interface files to static 2012-05-29 07:35:21 -04:00
ichuang
f8e24521b0 in sslauth, auto-create user when settings.DEBUG=true 2012-05-29 07:33:50 -04:00
ichuang
e5a7d811d7 multiplechoice inputs: allow <choice ...>item text</choice> format 2012-05-28 14:08:26 -04:00
ichuang
074fde6762 add mode and linenumbers options to textbox inputtype 2012-05-28 13:34:30 -04:00
ichuang
436a39edec fix inconsistent indentation in inputtypes 2012-05-28 12:55:57 -04:00
ichuang
4bf7459153 add git reset --hard HEAD to git command in quickedit_git_reload 2012-05-28 11:41:43 -04:00
ichuang
c4a0daa403 typo - missing slash 2012-05-28 11:31:00 -04:00
ichuang
e73fc0358b gitupdate template files and mod to accordion.html 2012-05-28 11:26:35 -04:00
ichuang
39c61070ed new feature - load course.xml + html + problems etc from git
(see courseware.views.quickedit_git_reload)
2012-05-28 11:25:12 -04:00
ichuang
5729d013f4 in DEBUG mode, fail gracefully if a problem file is missing (capa_module) 2012-05-28 11:02:33 -04:00
ichuang
e3e41e0c95 dev_ike: MITX_ROOT_URL set based on hostname 2012-05-28 11:01:53 -04:00
ichuang
066dcfabc8 updates to envs.dev_ike for dogfood / edx4edx dev server 2012-05-28 10:09:12 -04:00
ichuang
2a16c46dbf accordion should use MITX_ROOT_URL 2012-05-28 10:08:55 -04:00
ichuang
e50fd0f998 add check code to dogfood; cleaned up interface to quickedit 2012-05-28 10:08:07 -04:00
ichuang
3df1845fc5 quickedit hook for dogfood - skip is_staff check for dogfood 2012-05-28 10:07:02 -04:00
ichuang
4ea7aa26ab debugging statement in multicourse.views 2012-05-28 10:05:57 -04:00
ichuang
c70b80753a pass instance of LoncapaProblem in response checker context 2012-05-28 10:05:14 -04:00
ichuang
9dd5cfa277 admin for courseware student model 2012-05-27 23:33:29 -04:00