Arjun Singh
f728123caa
Improve fileinput message
2012-10-28 15:40:36 -07:00
kimth
49bad83caf
Support for multiple rectangle hitboxes in imageresponse
2012-10-28 04:38:59 +00:00
Victor Shnayder
1d4990458e
add todos about would-be-nice refactors
2012-10-27 20:09:02 -04:00
Victor Shnayder
6324eeeecb
add note about mysterious -15 in the code
2012-10-27 20:00:18 -04:00
Victor Shnayder
cc8f0a1634
Fix merge bugs
2012-10-27 19:57:29 -04:00
Victor Shnayder
d36d8cba6b
Cleanups:
...
- switch to using registry
- pull math and solution "input types" into a separate customrender.py file
- make capa_problem use new custom renderers and input types registries
- remove unused imports, methods, etc
- add tests for math and solution tags.
2012-10-27 19:52:16 -04:00
Victor Shnayder
f6637b7fe0
Add a registry that keeps track of tag->renderer/input mappings
2012-10-27 19:51:05 -04:00
Victor Shnayder
2fab97c166
Refactor imageinput and crystallography.
...
- also add a test for chemicalequationinput
2012-10-27 19:51:05 -04:00
Victor Shnayder
9135d7b2db
minor cleanup in math function
2012-10-27 19:36:39 -04:00
Victor Shnayder
80d0952d16
Refactor schematic input
2012-10-27 19:36:39 -04:00
Victor Shnayder
935e370184
Refactor textbox.
...
- tests
- rename it codeinput, with textbox still supported too
2012-10-27 19:36:39 -04:00
Victor Shnayder
c8bc46b6fa
Convert FileSubmission input to be a class.
...
- add test
2012-10-27 19:36:38 -04:00
Victor Shnayder
c2682273a8
Convert textline input into class.
...
Unify math and non-math code and templates.
Add tests.
2012-10-27 19:36:38 -04:00
Victor Shnayder
0c6f6f873b
add a template for a new input type class
2012-10-27 19:36:38 -04:00
Victor Shnayder
d0a9b231a4
Turn javascriptinput into a class, add tests
2012-10-27 19:36:38 -04:00
Victor Shnayder
009d6c2e01
ChoiceGroup refactor
...
- Make it into a class.
- Combine ChoiceGroup, RadioGroup, CheckboxGroup implementation. (All three tags still work--this just unifies the code)
- add tests
2012-10-27 19:36:38 -04:00
Victor Shnayder
6d9fe76dbb
wip. adding tests, basic refactor
2012-10-27 19:36:38 -04:00
kimth
98c3d861ad
Fix reference to iidiv
2012-10-27 18:19:56 +00:00
Chris Dodge
90f9d5fcf0
fix grading policy filepath generation
2012-10-26 15:18:56 -04:00
Александр
1d21473182
Merge branch 'feature-alex-vsepr-mitx'
2012-10-26 18:30:25 +03:00
Александр
9558629e15
fix merge error
2012-10-26 18:21:00 +03:00
Александр
5cd04906e6
fix typo
2012-10-26 18:16:37 +03:00
Александр
c1e75e083f
added unittests
2012-10-26 18:09:54 +03:00
Александр
c5f6f7ada2
html entities are renamed to work with different id's
2012-10-26 18:09:53 +03:00
Александр
948f8090eb
grading for vsepr
2012-10-26 18:09:53 +03:00
Александр
5185df3805
continue vsepr grading
2012-10-26 18:09:53 +03:00
Александр
94b70fd891
start grading implementation
2012-10-26 18:09:53 +03:00
Александр
e6eedb9293
added chemtools to chem module in capa, and added it to global context
2012-10-26 18:09:53 +03:00
Александр
6306d98007
vsepr: geometries and molecules now are passed from xml as parameters
2012-10-26 18:06:17 +03:00
Piotr Mitros
495814c7f6
Hacked better alignment for VSEPR for demo
2012-10-26 18:06:16 +03:00
Александр
bf4d5bf799
starting enviroment
2012-10-26 18:06:16 +03:00
kimth
62840765a5
Variable name is misleading, use generic 'answer' instead
2012-10-26 06:59:21 +00:00
kimth
84aeb9dad3
Permit collapsibles in capa detailed solution
2012-10-26 06:01:26 +00:00
Chris Dodge
b7c830a861
use existing _replace() method on Location to do the re-namespacing on import
2012-10-25 16:37:31 -04:00
Chris Dodge
ba15735214
implement static tabs. rejigger .tar.gz import to do the re-namespacing as a post-processing step as we need to retain the original url_name during the import. Also, migrate the presentation tier to use module_render.py::get_module() to better unify HTML'ifying stuff
2012-10-25 14:27:26 -04:00
Chris Dodge
606e2dba15
Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/import-course-info
2012-10-24 20:57:08 -04:00
Chris Dodge
fec6c42adc
implement importing of course info sections as modules in the course
2012-10-24 20:55:04 -04:00
Victor Shnayder
16990c2743
Add an end date to courses.
...
- needed for cert generation (and later lots of other things)
2012-10-24 17:23:13 -04:00
Calen Pennington
bacd728efc
Squelch some (but not all, yet) errors during template loading
2012-10-24 16:25:20 -04:00
Calen Pennington
f970da6da2
Fix issue where import didn't work if no grading policy file existed
2012-10-24 15:51:43 -04:00
David Ormsbee
ab676d9d6d
Merge pull request #952 from MITx/vik/add_instrumentation
...
Vik/add instrumentation
2012-10-24 12:23:31 -07:00
Chris Dodge
ae4df32e43
adjust implemented according to code review feedback. Move all of the grading_policy retrieval into a from_xml() override method. Also move in some of the grading inheritance logic into course_module.py
2012-10-24 12:27:30 -04:00
Chris Dodge
d2c46f51ea
Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/import-grading-policy
2012-10-23 23:56:02 -04:00
Chris Dodge
91e50f13cb
implement importing of grading policy during import. This is stored in definition.data.grading_policy.
2012-10-23 23:55:55 -04:00
Louis Sobel
b1cfee4592
Add support for subtitle download link
...
Add a download link to the video player. The link is defined
in the content xml using the following structure:
<video youtube="youtubestring">
<track kind="subtitle" src="subtitle_link" />
</video>
2012-10-23 14:50:17 -04:00
Calen Pennington
b52ed48221
Merge remote-tracking branch 'origin/master' into feature/cale/cms-master
...
Conflicts:
common/lib/capa/capa/responsetypes.py
common/lib/xmodule/xmodule/js/src/html/display.coffee
lms/envs/common.py
2012-10-23 13:38:11 -04:00
Victor Shnayder
be947770c0
Merge pull request #917 from MITx/victor/make-problemset-sequential
...
Make problemset render as a sequential, not a vertical.
2012-10-23 10:30:52 -07:00
Vik Paruchuri
51f3b7195e
roll back changes to common
2012-10-23 13:20:37 -04:00
Vik Paruchuri
d76241e6ae
prefix metrics with lms, use tags for enrollment
2012-10-23 10:56:00 -04:00
Vik Paruchuri
3ba45fec73
added instrumentation, including user logins,registrations,enrollment,correct answers
2012-10-22 20:01:39 -04:00