Calen Pennington
01411ae66e
WIP: Trying to get tests working
2012-12-28 14:48:47 -05:00
Calen Pennington
c5e3380b71
WIP: Save student state via StudentModule. Inheritance doesn't work
2012-12-28 14:45:46 -05:00
Calen Pennington
8ba4163557
WIP. Data loads, but not all of it
2012-12-28 14:39:13 -05:00
cahrens
dd7ed956dd
Bug fix for Studio #55 .
2012-12-14 11:37:45 -05:00
Calen Pennington
171e932266
Merge branch 'master' into feature/cale/cms-master
...
Conflicts:
rakefile
2012-11-08 12:28:40 -05:00
Calen Pennington
3230345204
Make coverage reports only include code from the source directories
2012-11-08 12:25:12 -05:00
Ned Batchelder
28bb4724e7
Put the coverage data files in the reports dir, where they will be treated like the disposable things they are.
2012-11-08 11:20:23 -05:00
Ned Batchelder
3dc23eb131
Coverage xml and html reports are now a separate 'xml' and 'html' step from 'test'.
2012-11-08 11:20:22 -05:00
Ned Batchelder
90e3386751
WIP for quieter tests with coverage.
2012-11-08 11:19:33 -05:00
Calen Pennington
bca0134a35
Merge remote-tracking branch 'origin/master' into feature/cale/cms-master
2012-11-06 16:13:31 -05:00
Victor Shnayder
9db977feae
Merge pull request #1002 from MITx/feature/victor/inputtypes-refactor
...
More inputtype refactor …
2012-11-02 13:05:40 -07:00
Victor Shnayder
79174259cb
Address Ike's comments.
...
- change a few comments / strings
- move extract_choices into the ChoiceGroup class
2012-11-02 14:00:51 -04:00
Calen Pennington
0bfa443520
Merge remote-tracking branch 'origin/master' into feature/cale/cms-master
2012-11-02 11:09:19 -04:00
Александр
3ed4b77d8c
removed testsing comments
2012-11-01 17:43:41 +02:00
Александр
07a2a105ca
added comments
2012-11-01 17:35:27 +02:00
Александр
5ba2c2e785
converted unittests
2012-11-01 16:48:44 +02:00
Александр
5755325a41
changed syntax to support e1,e2 in AX6 and add convert_to_p behavior
2012-11-01 16:26:54 +02:00
Александр
fa2cf6a49c
add convert_to_perepherial flag and removed order flags
2012-11-01 08:22:33 +02:00
Victor Shnayder
b78fb8dff6
Refactored the rest of the input types
2012-11-01 00:05:48 -04:00
Victor Shnayder
7fcf02a0cc
Further refactor
...
- small Attribute and InputTypeBase interface changes to make things cleaner
- move html quoting into templates (use ${blah | h} syntax)
- converting input types to use new format.
2012-10-31 23:40:19 -04:00
Victor Shnayder
74e23546af
More inputtype refactor
...
- add an Attribute class
- input types just need to declare which attributes they want, and how to transform and validate them, and the base class will do all the rest.
- change OptionInput to new format.
2012-10-31 18:40:10 -04:00
Victor Shnayder
cf2402aee9
bugfix: always set queue len
2012-10-31 18:17:12 -04:00
Victor Shnayder
a155265409
minor whitespace + comment fixes
2012-10-29 23:44:38 -04:00
Victor Shnayder
6cc196394a
fixing comments
2012-10-29 12:06:42 -04:00
Victor Shnayder
d297077775
merge in master
2012-10-29 09:22:23 -04:00
Victor Shnayder
b03789156c
add test for vsepr
2012-10-29 08:16:31 -04:00
Victor Shnayder
516b720f1e
Rename: use 'status' in templates as well as in the code.
2012-10-29 08:05:07 -04:00
Victor Shnayder
ab03f3dddf
move textinput.html to textline.html for consistency with other inputs
2012-10-29 07:56:10 -04:00
Victor Shnayder
318ea9b135
add back mathjax textarea
2012-10-29 07:51:58 -04:00
Victor Shnayder
02bd99697b
Clean up section ids and classes
...
- all inputtypes should have id inputtype_${id}
- should have class capa_inputtype
2012-10-29 07:49:33 -04:00
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
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