Commit Graph

10188 Commits

Author SHA1 Message Date
Victor Shnayder
a97298e8f7 add note about documenting js input 2012-10-29 07:48:53 -04:00
Victor Shnayder
d6cb432842 Replace overriding constructor with a setup() method.
- allows catching any exceptions and making sure the xml is in the error message
- isolates subclasses from external interface a bit
2012-10-29 07:42:11 -04:00
Victor Shnayder
1a843c2d77 Remove non-working TrueFalse functionality from choicegroup, combine tests with radiogroup and checkboxgroup 2012-10-29 07:23:27 -04:00
kimth
f154202890 Merge pull request #986 from MITx/feature/arjun/allow_save
Feature/arjun/allow save
2012-10-28 22:15:55 -07:00
Arjun Singh
75f0a56d70 Change documentation, make values strings for save button forcing 2012-10-28 21:57:28 -07:00
Arjun Singh
e29d244a8f allow saving nonrandomized problems 2012-10-28 21:47:43 -07:00
jarv
040464cfe6 Merge pull request #985 from MITx/feature/brian/dev-script-update
Update startup script for 12.10 Ubuntu.
2012-10-28 20:22:37 -07:00
Brian Wilson
5329de8a43 Update startup script for 12.10 Ubuntu.
Added "quantal" to the list of known distribution names.
2012-10-28 19:22:41 -04:00
arjun810
cfe3fe534e Merge pull request #984 from MITx/feature/arjun/improve_msg
Improve fileinput message
2012-10-28 15:42:03 -07:00
Arjun Singh
f728123caa Improve fileinput message 2012-10-28 15:40:36 -07:00
ichuang
71d4877899 Merge pull request #983 from MITx/kimth/fix-imageresponse
Support for multiple rectangle hitboxes in imageresponse
2012-10-28 11:19:31 -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
ichuang
dd6d7e9901 Merge pull request #981 from MITx/kimth/fix-imageresponse
Fix imageresponse in Firefox
2012-10-27 13:18:18 -07:00
kimth
98c3d861ad Fix reference to iidiv 2012-10-27 18:19:56 +00:00
Victor Shnayder
da56f190a2 putting vsepr static image files where vsepr js can find them. TODO: reogranize after proper input type static file storage is sorted out. 2012-10-26 21:41:22 -04:00
David Ormsbee
7a84bed916 hackish EAD export support 2012-10-26 15:50:32 -04:00
Calen Pennington
763e4722dc Merge pull request #980 from MITx/fix/cdodge/fix-import-tests
fix grading policy filepath generation
2012-10-26 12:33:04 -07:00
Chris Dodge
90f9d5fcf0 fix grading policy filepath generation 2012-10-26 15:18:56 -04:00
Chris Dodge
5a96820929 Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/import-course-info 2012-10-26 14:09:15 -04:00
chrisndodge
9cf1ac4ea8 Merge pull request #979 from MITx/feature/cale/text_fixes
Fixing description of import format
2012-10-26 11:08:18 -07:00
chrisndodge
793197e916 Merge pull request #978 from MITx/feature/cale/cas-fix-visibility-selector
Remove references to #visibility id that was changed to .visibility-sele...
2012-10-26 10:36:59 -07:00
Calen Pennington
3d9c92c574 Remove references to #visibility id that was changed to .visibility-select 2012-10-26 13:34:21 -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
Chris Dodge
206b1e26d3 Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/import-course-info 2012-10-26 10:02:45 -04:00