Commit Graph

66833 Commits

Author SHA1 Message Date
Prem Sichanugrist
fe849dedd9 Do not display play/pause button on iOS Device
iOS devices has a restriction that user has to click on the video
element to initiate playback. By visually disable the button, user will
be forced to click on the video itself, and everything will be worked as
expected.

Fixes https://www.pivotaltracker.com/story/show/30334381
2012-06-04 15:30:55 -04:00
Calen Pennington
7cf4b1597c Be more direct about where modx_dispatch is located and where it is used 2012-06-04 09:19:00 -04:00
ichuang
7c33537bf4 dogfood still has the codemirror + chrome bug; put in warning message
for now
2012-06-03 22:47:01 -04:00
ichuang
dc84a20ff5 improve error handling in external response; centralize interaction
with external server into ExternalResponse.do_external_request
2012-06-03 07:43:18 -04:00
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
Bridger Maxwell
e24df47b0b Small bug fix causing crash when generating problem histogram. 2012-06-01 17:34:04 -04:00
Bridger Maxwell
0ad31f556f The modx_dispatch import hack is added back in. Without it, the urls.py file was broken. 2012-06-01 17:22:34 -04:00
Calen Pennington
54ccffcb4c Merge pull request #80 from MITx/pmitros/dexml
Pmitros/dexml
2012-06-01 13:37:56 -07:00
Calen Pennington
b2477de7b4 Remove unused imports 2012-06-01 16:37:11 -04:00
Calen Pennington
d49d0b9119 Remove render_module in favor of render_x_module 2012-06-01 16:37:03 -04:00
Calen Pennington
794022733d Do json dumping and </script> replacement as close to the template as possible 2012-06-01 16:34:00 -04:00
Bridger Maxwell
195fa158cc Changed setup script to pull instead of clone if the repo already exists. 2012-06-01 16:03:30 -04:00
Piotr Mitros
0a8a7795ff Fixed run script 2012-06-01 16:02:23 -04:00
Piotr Mitros
16f0da19b0 Merge branch 'master' into pmitros/dexml 2012-06-01 16:00:48 -04:00
Calen Pennington
725cbe14d1 Merge pull request #73 from MITx/create-dev-env
Create dev env
2012-06-01 12:47:22 -07:00
Calen Pennington
0cb316353d Merge pull request #79 from MITx/ps-fix-page-jumping
Fix page jumping bug when click on the speeds list
2012-06-01 12:46:56 -07:00
Calen Pennington
83b0c84e45 Merge pull request #78 from MITx/ps-fix-youtube-click
Trigger a pause event when user click Youtube logo
2012-06-01 12:46:23 -07:00
Calen Pennington
ff7068d81c Merge pull request #77 from MITx/ps-fix-courseware-nav-ios
Fix problem with sequence navigation on iOS
2012-06-01 12:45:28 -07: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
Kyle Fiedler
da0e2d5f5c Remove usless comment 2012-06-01 13:42:20 -04:00
Prem Sichanugrist
d7043ea27f Fix page jumping bug when click on the speeds list 2012-06-01 13:36:14 -04:00
Prem Sichanugrist
bb18c854f7 Trigger a pause event when user click Youtube logo
This will make sure that the play button is in the paused state.

Fixes https://www.pivotaltracker.com/story/show/26236143
2012-06-01 13:33:27 -04:00
Piotr Mitros
be1e308dc9 Cale's fix for eval/extra json encode 2012-06-01 12:56:20 -04:00
Calen Pennington
b574dcb8e8 Check for None with is rather than == 2012-06-01 12:18:43 -04:00
Prem Sichanugrist
d20147932e Fix problem with sequence navigation on iOS
* Add `touch-based-device` class to the <body> when running on iOS.
* Do not show the tooltip if we're on the iOS.
2012-06-01 12:06:31 -04:00
Calen Pennington
71e25d9b4b According to the elementtree spec, elements with no children test as false. We only want to skip checking for module ids if the module is actually not found 2012-06-01 12:02:40 -04:00
Piotr Mitros
7567e5ebf9 Working snapshot. Simple get_children. get_module taken out of render_module. 2012-06-01 10:29:12 -04:00
Piotr Mitros
98d8f4b55b Unstable commit; syncing computers 2012-05-31 21:12:08 -04:00
John Jarvis
6c4a3cf618 updating for coffeescript 2012-05-31 14:54:38 -04:00
John Jarvis
178cdc877e removing mercurial from brew install list 2012-05-31 14:36:23 -04:00