Calen Pennington
51cd7566a0
Merge pull request #119 from MITx/victor/render-path-cleanup
...
put lambda function back in, as requested during code review
2012-06-18 10:21:41 -07:00
Victor Shnayder
7e73f0ede0
put lambda function back in, as requested during code review
2012-06-18 13:12:47 -04:00
Calen Pennington
4ce08cc358
Merge pull request #118 from MITx/victor/render-path-cleanup
...
Small cleanups in response to Calen + Piotr's comments
2012-06-18 09:12:55 -07:00
Calen Pennington
5ae2668e9c
Merge pull request #43 from MITx/pmitros/same-values
...
Courseware can have same random seed in multiple problems for exam.
2012-06-18 09:10:55 -07:00
Piotr Mitros
f391e9c51c
Courseware can have same random seed in multiple problems for exam. Slight hack.
2012-06-18 12:10:44 -04:00
Victor Shnayder
96cbb3d33b
Small cleanups in response to Calen + Piotr's comments
2012-06-18 12:04:10 -04:00
Calen Pennington
40a950f152
Merge pull request #105 from MITx/ps-video-volume
...
Add video volume control to video player
2012-06-18 09:02:02 -07:00
Calen Pennington
b344e51c0f
Merge pull request #116 from MITx/victor/render-path-cleanup
...
Victor/render path cleanup
2012-06-18 08:59:10 -07:00
Victor Shnayder
e061e86424
Clean and refactor courseware/views.py and module_render.py
...
* Refactor index() so that it makes sense to me and hopefully others :)
* Rename preloaded cache of student modules to student_module_cache
* Fix line length and whitespace throughout
* add docstrings and other comments
* a few behavior-preserving tweaks to the code to make it clearer.
* Separate codepaths for with-module and without-module in index view
* Remove default chapter + section, since they don't exist anyway in course.xml
2012-06-15 18:29:04 -04:00
Victor Shnayder
15ac575301
added rednose to requirements (adds color output to nose)
2012-06-15 18:29:03 -04:00
Victor Shnayder
5ad2824c59
fix typo in comment in student view
2012-06-15 18:28:54 -04:00
Calen Pennington
788321be48
Merge pull request #104 from MITx/ps-fix-feedback-calculator
...
Create Calculator and Feedback form on every page
2012-06-14 09:27:02 -07:00
Prem Sichanugrist
01ca43346f
Use existential operator
2012-06-14 12:16:29 -04:00
Kyle Fiedler
ed69957f62
Added volume images
2012-06-13 15:32:39 -04:00
Kyle Fiedler
b97f82df8f
Added some styles to clean up volume slider
2012-06-13 15:32:38 -04:00
Prem Sichanugrist
98ed738490
Make sure we don't show volume control on iOS
2012-06-13 15:32:38 -04:00
Prem Sichanugrist
7924e5c8f5
Add video volume control to video player
2012-06-13 15:32:38 -04:00
Prem Sichanugrist
e14563954a
Be specific on video progress slider handle
...
Using `.ui-slider-handle` was too broad.
2012-06-13 15:32:38 -04:00
Prem Sichanugrist
0f073f70c4
Create Calculator and Feedback form on every page
2012-06-13 14:56:48 -04:00
Calen Pennington
e75d75b5a8
Merge pull request #99 from MITx/victor/create_docs
...
Victor/create docs
2012-06-13 08:19:14 -07:00
Victor Shnayder
7608003c15
Update overview to reflect suggestions
2012-06-13 10:18:54 -04:00
Victor Shnayder
c3a1d7788c
clarify docstring for modx_dispatch
2012-06-13 10:18:54 -04:00
Victor Shnayder
600899c16c
add comment/explanation to eia.py
2012-06-13 10:18:54 -04:00
Victor Shnayder
9f38ccb65d
add README.md for dogfood
2012-06-13 10:18:54 -04:00
Victor Shnayder
17af925a8a
add function docs to module_render.py
2012-06-13 10:18:54 -04:00
Victor Shnayder
c9cbc52ffa
Add rough overview docs
2012-06-13 10:18:53 -04:00
Victor Shnayder
a3561c96f7
added TODO comment
2012-06-13 10:18:53 -04:00
Calen Pennington
6b8d479510
Merge pull request #97 from MITx/pmitros/documentation
...
Coding standards document
2012-06-13 07:17:51 -07:00
David Ormsbee
8feafeec12
Merge pull request #102 from MITx/mm-test-dependencies
...
Added django_nose and nosexcover to requirements.txt
2012-06-12 13:48:45 -07:00
Calen Pennington
967a6ee2e7
Merge pull request #94 from MITx/capa-cleanup
...
Capa cleanup
2012-06-12 12:26:49 -07:00
Prem Sichanugrist
8e98e59cfa
Cleanup show answer code
2012-06-12 14:10:00 -04:00
ichuang
35202817d5
problem.coffee : queue mathjax typesetting just once
2012-06-12 14:07:48 -04:00
ichuang
5031c838cc
typo in correctmap
2012-06-12 13:52:34 -04:00
ichuang
a0e628f761
private methods start with _ (in capa_problem)
2012-06-12 13:50:57 -04:00
ichuang
4366529a6d
capa_problem log.error + raise -> log.debug + # FIXME
2012-06-12 13:46:30 -04:00
ichuang
d68f0a3b32
util: tol.endswith
2012-06-12 13:43:14 -04:00
ichuang
2ffc8819e5
responsetypes - minor edits
2012-06-12 13:40:03 -04:00
ichuang
462823c317
fix correctmap set_dict bug - make __getitem__ call self.cmap.__getitem__
2012-06-12 13:36:33 -04:00
ichuang
0edab5eeef
revert logging instantiation to use 'mitx.' + __name__
2012-06-12 13:27:49 -04:00
Matthew Mongeau
ef1954aa52
Added django_nose and nosexcover to requirements.txt
2012-06-12 11:44:54 -04:00
ichuang
9ae00c6732
removed unused answer_map parameter from capa_problem.lcp.preprocess_problem
2012-06-11 22:28:09 -04:00
ichuang
9fce2faf7c
Merge pull request #100 from MITx/ps-fix-histogram
...
Fix histogram and sequence navigation bug
looks good, works in my tests. thanks.
2012-06-11 14:53:08 -07:00
Prem Sichanugrist
b4ed14f4f7
Handle the case where histogram score can be null
...
This will leave out the student that never attempt the question and
fixes the error with histogram rendering.
2012-06-11 16:07:09 -04:00
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