Victor Shnayder
b78fb8dff6
Refactored the rest of the input types
2012-11-01 00:05:48 -04:00
Victor Shnayder
3a0999702b
Merge remote-tracking branch 'origin/master' into feature/victor/inputtypes-refactor
2012-10-31 23:50:10 -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
Chris Dodge
17528906ab
make sure paths are path() objects rather than strings so that the '/' operator works as expected. Also some path cleanup and remove duplicate computation
2012-10-31 22:16:11 -04:00
Vik Paruchuri
75adeed063
changing coffee file
2012-10-31 20:04:21 -04:00
Vik Paruchuri
a91a571fbf
update javascript
2012-10-31 18:49:58 -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
e4c49f3a1e
Merge pull request #1001 from MITx/feature/victor/inputtypes-refactor
...
Feature/victor/inputtypes refactor
2012-10-31 15:18:28 -07:00
Victor Shnayder
cf2402aee9
bugfix: always set queue len
2012-10-31 18:17:12 -04:00
Vik Paruchuri
947e6e6e01
working on ajax calls
2012-10-31 18:11:38 -04:00
Vik Paruchuri
74e6834cca
move rubric and problem to forms
2012-10-31 18:05:04 -04:00
Vik Paruchuri
1bf548af28
basic parsing for problem and rubric
2012-10-31 17:41:46 -04:00
Don Mitchell
2b5e55b662
Use try/catch to detect undefined globals for canvas
2012-10-31 17:29:19 -04:00
Vik Paruchuri
562dee067c
rolling back self assessment module
2012-10-31 17:10:51 -04:00
Don Mitchell
6bbe82b697
Make work w/ ie8. Still complains that HTMLCanvasElement is undefined
...
but doesn't try to manipulate it.
2012-10-31 17:05:46 -04:00
Vik Paruchuri
32a8ed7be3
adding in self assessment grader
2012-10-31 16:54:00 -04:00
Vik Paruchuri
b74a484f75
working on self assessment
2012-10-31 16:39:04 -04:00
Vik Paruchuri
64c791b38a
working on self assessment module
2012-10-31 16:18:55 -04:00
Vik Paruchuri
2cb38a2c0f
working on new xmodule
2012-10-31 15:37:43 -04:00
Chris Dodge
87dadd40c4
address some of Cale's feedback
2012-10-31 14:11:24 -04:00
Vik Paruchuri
0f5af40bf5
add self assessment
2012-10-31 13:06:05 -04:00
Vik Paruchuri
7fc54dc717
fix docstring
2012-10-30 20:38:33 -04:00
Vik Paruchuri
5586139594
bugfix to self assessment
2012-10-30 20:36:45 -04:00
Vik Paruchuri
188e1c68d7
add self assessment module
2012-10-30 20:13:35 -04:00
Carlos Andrés Rocha
e5b11a9c57
Add HD control to video player
2012-10-30 19:21:17 -04:00
Victor Shnayder
793354a0dc
remove (almost) all references to askbot.
2012-10-30 18:23:07 -04:00
Chris Dodge
ba9a03410b
remove unneeded debugging traces
2012-10-30 15:56:02 -04:00
Chris Dodge
743f2b56dd
make course about view methods render the about content as a module, so we get all the url rewriting goodness. Also, since we're now handling the url re-writing via the module get_html pipelines, we can remove the link rewriting inside the xmodules itself - which is good because there's a wierd bug in lxml.html rewriting
2012-10-30 15:12:13 -04:00
Chris Dodge
f4822c23de
lots of tweeks to better support importing of existing courseware
2012-10-30 11:52:31 -04:00
David Ormsbee
535980eb6d
Allow optional advertised_start metadata in Course, to let people pre-launch thier courses quietly if desired.
2012-10-30 11:06:50 -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
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
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