Commit Graph

5216 Commits

Author SHA1 Message Date
Alexander Kryklia
95151ad33a tests updates for imageresponse 2012-11-27 14:53:45 +02:00
Alexander Kryklia
896e922858 cleaning and documeting 2012-11-27 14:53:45 +02:00
Alexander Kryklia
adef5d6f7e polygon is created from points via convex_hull 2012-11-27 14:53:45 +02:00
Alexander Kryklia
72f9358f64 tests for imageresponse regions 2012-11-27 14:53:44 +02:00
Alexander Kryklia
5723672e49 speed improvements 2012-11-27 14:53:44 +02:00
Alexander Kryklia
9ce51ec6cf support for single list syntax in regions 2012-11-27 14:53:44 +02:00
Александр
647d1514aa support both regions and rectangles 2012-11-27 14:53:44 +02:00
Александр
b4fb0cc463 fixed line length 2012-11-27 14:53:44 +02:00
Александр
88c98b9a56 added multiple regions support 2012-11-27 14:37:57 +02:00
John Jarvis
474f810b38 Adding lowest_passing_grade() to CourseDescriptor 2012-11-26 16:29:45 -05:00
Calen Pennington
8e68573243 Merge pull request #1041 from MITx/fix/cdodge/video-captions
wire through course asset path information to the video playback module ...
2012-11-26 08:29:05 -08:00
Chris Dodge
6d45445aef assume that users are putting caption information in /static/subs. We'll enforce this on the xlint utility 2012-11-26 11:19:51 -05:00
Chris Dodge
2d7f1b73d7 consolidate logic to compute caption path to server-side, we don't need to do this client-side 2012-11-26 11:19:51 -05:00
Chris Dodge
71f16d40e1 wire through course asset path information to the video playback module and corresponding .coffee files 2012-11-26 11:19:51 -05:00
Calen Pennington
4e3da342d7 Merge pull request #1048 from MITx/feature/cdodge/xlint
Feature/cdodge/xlint
2012-11-26 08:11:34 -08:00
Chris Dodge
fff3782884 cleave xlint entry point in xml_importer.py to be separate from the import method 2012-11-26 11:05:57 -05:00
Calen Pennington
2b6e2b5143 Merge pull request #1056 from MITx/bugfix/ichuang/xml_importer
xml_importer bugfix - when importing without policy override use course_location
2012-11-26 06:54:22 -08:00
Александр
01b5992372 comment outputs 2012-11-22 18:53:35 +02:00
Александр
4b4b2c9927 added documentation, tests, and rounding to closes 0.05 value 2012-11-22 18:44:31 +02:00
Valera Rozuvan
3e8e576e28 Slight change in caption for lattice select. 2012-11-22 16:52:59 +02:00
Valera Rozuvan
37714d45ac Merge branch 'feature/alex/crystallography-update-mitx' of github.com:MITx/mitx into feature/alex/crystallography-update-mitx 2012-11-22 13:56:00 +02:00
Valera Rozuvan
19c463b739 Removed radio buttons for selecting the intersection type from crystallography template. 2012-11-22 13:55:50 +02:00
Александр
166ff823a7 removed hidden parameter to template, style='hidden' is set by default for input 2012-11-22 12:53:21 +02:00
Александр
111667defd UI delta and tests: 2012-11-21 19:02:40 +02:00
Александр
33159824a5 added test for lattices 2012-11-21 18:02:48 +02:00
Александр
d5dd725537 miller indices calculation 2012-11-21 17:53:51 +02:00
Valera Rozuvan
aaeffa5316 Updated template for crystallography so that it corresponds to the cnahges made in the JS part. 2012-11-21 16:52:17 +02:00
Valera Rozuvan
a3db017580 Updated crystallography template to reflect changes made in the JS part. 2012-11-20 14:19:48 +02:00
Chris Dodge
ec6b1a12e9 insert the xmodule.coffee dependency into HTMLSnippet().get_javascript(). This allows us a single point to define this dependency. 2012-11-19 15:46:57 -05:00
Valera Rozuvan
9d46ad51be Merge branch 'feature/alex/crystallography-update-mitx' of github.com:MITx/mitx into feature/alex/crystallography-update-mitx 2012-11-19 18:20:17 +02:00
Valera Rozuvan
ae37b621a8 Update to crystallography html. 2012-11-19 18:19:36 +02:00
Александр
d70b74c701 added miller indexes grading for crystallography problems 2012-11-19 18:18:08 +02:00
Don Mitchell
8c8be3e82a Cleaned up imports 2012-11-19 10:38:58 -05:00
Don Mitchell
88cc5a080b Everything tested and ready for Tom to fix 2012-11-19 10:38:58 -05:00
ichuang
f84f08fae4 xml_importer bugfix - when importing without policy override use course_location 2012-11-17 21:38:15 -05:00
Calen Pennington
650f537763 Merge pull request #1043 from MITx/feature/cale/quieter-jasmine-tests
Make jasmine testing quieter
2012-11-16 13:35:45 -08:00
Calen Pennington
3b2b8ad4fa Merge pull request #1053 from MITx/feature/jzoldak/common-jasmine-tests
Capa Problem jasmine tests running independently
2012-11-16 13:35:19 -08:00
Calen Pennington
719277876f Merge pull request #1051 from MITx/fix/cdodge/code-mirror-crash-on-style-blocks
remove 'mode' property when creating a new CodeMirror control. This appe...
2012-11-16 12:52:33 -08:00
Jay Zoldak
8d0abcb974 Merge branch 'feature/cale/cms-master' into feature/jzoldak/common-jasmine-tests 2012-11-16 15:10:19 -05:00
Jay Zoldak
ea4c0ed86a Refactor fixtures for capa problems. 2012-11-16 14:59:46 -05:00
Jay Zoldak
a10a3209aa Fix all but 4 broken tests. 2012-11-16 14:47:09 -05:00
Jay Zoldak
6ae0add931 Fix the new problem create statements in the describe blocks for the capa display spec. 2012-11-16 13:26:16 -05:00
Jay Zoldak
718ce4db28 Get Problem constructor working again, and copy the helper file from lms. 2012-11-16 13:02:38 -05:00
Calen Pennington
0fff578e7d Merge remote-tracking branch 'origin/master' into feature/cale/cms-master
Conflicts:
	.gitmodules
	lms/envs/aws.py
	lms/envs/common.py
	lms/static/sass/course.scss
	lms/urls.py
2012-11-16 09:03:15 -05:00
Chris Dodge
975d75c116 When importing a course, we need to set the 'display_name' on the static tab module from the course module's policy. This isn't ideal, but the static tab definition on disk does not encapsulate the tab's display name on the LMS - we have to take it from the course 2012-11-15 21:45:20 -05:00
Chris Dodge
2a35132b2a When importing a course, we need to set the 'display_name' on the static tab module from the course module's policy. This isn't ideal, but the static tab definition on disk does not encapsulate the tab's display name on the LMS - we have to take it from the course 2012-11-15 21:44:20 -05:00
Chris Dodge
9ae8558382 put htmlmixed.js and css.js includes in CMS base.html so that we can support html mode in CodeMirror 2012-11-15 20:35:45 -05:00
Jay Zoldak
bf6a147c85 Modify rake file to read in spec and src files correctly and also add in the lms helper file for stubRequests, etc. 2012-11-15 15:43:39 -05:00
David Ormsbee
156dc1fb6c Merge branch 'master' into feature/victor/actual-askbot-removal
Conflicts:
	lms/envs/aws.py
2012-11-15 14:24:55 -05:00
Chris Dodge
39c33b42b2 remove 'mode' property when creating a new CodeMirror control. This appears to completely crash if the user puts in a <style ...> tag in the input. This was causing imported static tabs to not be editable 2012-11-15 13:56:42 -05:00