Carlos Andrés Rocha
e4ee1c6c9b
Rename arguments of modx_dispatch and handle_ajax related functions
...
Refactor a bit modx_dispatch
2013-06-25 13:38:57 -04:00
Alexander Kryklia
23d4a2b3db
renames is_completed to is_submitted, fixes docstrings and rst docs
2013-06-20 15:09:05 +03:00
Alexander Kryklia
a7cf9d186d
adds doc about correct
2013-06-20 14:56:32 +03:00
Alexander Kryklia
6f964acec5
added docs and added is_correct to conditional
2013-06-20 14:56:32 +03:00
Calen Pennington
e791e84ea7
Remove the stores_state field from XModule
...
stores_state is now only used in a single test, in conjunction with
has_score. In practice, it's never the case that stores_state is false
when has_score is true, so we can delete stores_state entirely, and just
use has_score for the grading test.
2013-06-13 14:38:59 -04:00
Brian Wilson
7486e0f637
cope with ErrorModule as source (or required) module, and add tests.
2013-04-16 01:00:46 -04:00
Chris Dodge
8ece663284
more drive by violation fixes
2013-04-12 15:45:27 -04:00
ichuang
b3f00a6725
add default message to conditional
2013-03-31 12:31:05 +00:00
Vasyl Nakvasiuk
3c645de43f
extend xmodule.ConditionalModule docstrings
2013-03-19 17:29:28 +02:00
Vasyl Nakvasiuk
f172405c9a
remove xml documentation from docs/source/
2013-03-18 15:37:29 +02:00
Calen Pennington
92e99d7a8b
Move field definitions for XModules into mixin classes, so that descriptors and modules always have the same set of fields
2013-03-13 11:35:50 -04:00
Vasyl Nakvasiuk
e9dacfae09
remove self.contents from ConditionalModule
2013-02-28 20:07:59 +02:00
Vasyl Nakvasiuk
9186e61702
use shortcut get_display_items
2013-02-27 18:52:17 +02:00
Vasyl Nakvasiuk
81bfa46f2e
fix caching problem in conditional_module
2013-02-27 18:34:09 +02:00
Vasyl Nakvasiuk
076926c43a
call system.error_tracker together with logging
2013-02-26 10:51:19 +02:00
Vasyl Nakvasiuk
aa34c9d335
remove 'passed' feature
2013-02-25 16:56:34 +02:00
Vasyl Nakvasiuk
0448ef5e03
add docstring
2013-02-25 16:15:33 +02:00
Alexander Kryklia
4600155f97
add icon class support
2013-02-25 13:13:00 +02:00
Alexander Kryklia
9cdd271ee4
added icon class
2013-02-25 12:04:18 +02:00
Alexander Kryklia
6940cb334a
small refactor
2013-02-19 13:33:55 +02:00
Alexander Kryklia
e2470842f7
get_module get descr insted of loc
2013-02-19 13:31:28 +02:00
Alexander Kryklia
72f6578395
fix typo
2013-02-18 11:46:07 +02:00
Alexander Kryklia
0a80f835c0
Revert "fix typo"
...
This reverts commit 24d2c11c3e .
2013-02-18 11:45:21 +02:00
Alexander Kryklia
24d2c11c3e
fix typo
2013-02-18 11:45:03 +02:00
Alexander Kryklia
059b9f66e3
poll and conditional finished
2013-02-15 18:48:39 +02:00
Calen Pennington
bd822b9d2f
Fix tests post-merge
2013-02-13 14:13:22 -05:00
ichuang
b5ba88f0af
Merge branch 'master' of github.com:MITx/mitx into feature/ichuang/conditional-xmodule-icon-and-errortracker
...
Conflicts:
common/lib/xmodule/xmodule/conditional_module.py
2013-02-06 18:15:36 -05:00
ichuang
c16f688802
conditional xmod: add errortracker msg and inherit icon from child
2013-02-06 18:10:25 -05:00
Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
ichuang
e59b0b87b1
add docs for conditional module; clean up a bit more
2013-02-03 21:07:23 -05:00
ichuang
4446ddb292
cleaned up conditional module a bit; add test for conditional module
2013-02-03 20:59:05 -05:00
ichuang
95ef12169a
extend conditional module to add require_attempted
2013-02-03 18:53:51 -05:00
ichuang
1d29e1f2f4
comment out some debug in conditional_module; leave undeleted for future tests
2013-02-03 18:53:51 -05:00
ichuang
363ca7031e
add coffeescript/js for conditional module, does XModule.loadModules
2013-02-03 18:53:51 -05:00
ichuang
19051e40d2
use ajax for doing conditional_module
2013-02-03 18:53:51 -05:00
ichuang
95b8134731
initial implementation of conditional_module; doesn't load dynamically yet
2013-02-03 18:53:51 -05:00