Commit Graph

6689 Commits

Author SHA1 Message Date
Don Mitchell
7f4bb63dff Final ie8 fixes hopefully. Now renders correctly for staff. Moved the
debug fns from per problem to part of courseware w/ context info passed
as parms. Known issues: ie8 complains that getlog is not defined if you
click on QA and does not show the debug info popup.
2012-11-05 13:55:09 -05:00
Don Mitchell
8089be3354 Minor stylistic change on jQuery pattern. 2012-11-02 15:31:02 -04:00
Don Mitchell
afabb4ab16 Don't call fn before defined. [ie8 is only browser which seems to care.] 2012-11-02 14:25:25 -04:00
Don Mitchell
2b5e55b662 Use try/catch to detect undefined globals for canvas 2012-10-31 17:29:19 -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
Calen Pennington
9cb2fbdd2f Remove newline from javascript source tags 2012-10-31 16:26:11 -04:00
Victor Shnayder
01f5f59235 Merge pull request #998 from MITx/feature/rocha/hd-video-player
Add HD control to video player
2012-10-30 17:00:03 -07:00
Carlos Andrés Rocha
e5b11a9c57 Add HD control to video player 2012-10-30 19:21:17 -04:00
David Ormsbee
5223e9d3ca Merge pull request #995 from MITx/features/rocha/google-analytics-for-course-pages
Add google analytics to course info pages
2012-10-30 13:48:36 -07:00
Carlos Andrés Rocha
8ec2c34ea5 Add google analytics to course info pages 2012-10-30 16:05:06 -04:00
David Ormsbee
9206341817 Merge pull request #969 from MITx/content/rocha/job-page-update
Update Job Page with new positions
2012-10-30 12:58:03 -07:00
Carlos Andrés Rocha
376dcb7982 Correct job description item 2012-10-30 15:44:28 -04:00
Carlos Andrés Rocha
f82f4f531d Merge pull request #991 from MITx/feature/dave/open_date
Allow optional advertised_start metadata in Course
2012-10-30 12:10:23 -07:00
Calen Pennington
e6ff0b52d0 Merge pull request #994 from MITx/apenney/requirements
Add MySQL-python to the requirements.
2012-10-30 11:37:47 -07:00
Ashley Penney
ab57c7d759 Add MySQL-python to the requirements. 2012-10-30 14:32:50 -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
2c01bf4a48 Merge pull request #982 from MITx/feature/victor/inputtypes-refactor
Feature/victor/inputtypes refactor
- addressed comments and added a few TODOs.  Merging.
2012-10-29 09:07:12 -07: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
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