Commit Graph

4959 Commits

Author SHA1 Message Date
Don Mitchell
c536846291 Add tests for has_course
and negative tests for get_course.
2014-05-28 08:34:44 -04:00
Waheed Ahmed
6ad6f77ca2 Cheatsheet visibility code refactored. 2014-05-28 12:07:59 +05:00
Don Mitchell
9d2db736df Merge pull request #3869 from edx/dhm/bug_get_children
Redirect most studio access through draft modulestore
2014-05-27 11:57:15 -04:00
Don Mitchell
1be1283f26 Redirect most studio access through draft modulestore
rather than have caller figure out whether to call draft or direct.
Fixes get_children to always find draft children in studio.
STUD-1662
2014-05-27 11:16:29 -04:00
Anton Stupak
29ec66facd Merge pull request #3885 from edx/anton/fix-video-outline
Remove Video player outline.
2014-05-27 16:41:30 +03:00
Andy Armstrong
c5d23b4aa7 Merge pull request #3876 from louyihua/localization-fix-video
i18n: Fix an i18n string extraction problem in 02_html5_video.js
2014-05-27 09:05:48 -04:00
polesye
dc818d41a0 BLD-975: Remove Video player outline. 2014-05-27 15:04:28 +03:00
polesye
db213bf325 BLD-967: Fix regExp. 2014-05-27 13:31:18 +03:00
louyihua
1208908b57 i18n: Fix an i18n string extraction error in 02_html5_video.js
Replace a string concation to a single string to prevent the partial extraction of the string.
2014-05-27 12:59:23 +08:00
Andy Armstrong
926ce567a6 Merge pull request #3878 from louyihua/master
i18n: More extractable & localizable strings in xmodules
2014-05-26 15:08:14 -04:00
louyihua
63ef3bd05a i18n: More extractable & localizable strings in xmodules 2014-05-26 15:30:01 +08:00
polesye
8c26fc6805 Refactor video volume control. 2014-05-26 09:48:27 +03:00
Sarina Canelake
d01af063a6 Merge pull request #3861 from edx/sarina/fix-quality
Fix quality violations from opaque-keys
2014-05-24 19:34:25 -04:00
lduarte1991
e4e4b32c62 Image Annotation Tool: Add linkback functionality to image thumbnails
Changes requested in PR
2014-05-23 14:59:31 -04:00
lduarte1991
0318c95537 Image Annotation Tool Fixes
- Added component to view

- Added correct images for OSD

- Fixed path to codemirror

- Tinymce fullscreen works now

- Pep8/Pylint Fixes

- Default image changed and added call to super
2014-05-23 14:58:18 -04:00
lduarte1991
32e96681f6 Image Annotation Tool: create xmodule and install js files 2014-05-23 14:57:23 -04:00
lduarte1991
c24252001c Annotation Tools: Add helper functions and fixed pep8/pylint errors
Small plugin fixes
2014-05-23 14:57:16 -04:00
Sarina Canelake
265fa826ca Opaque-keys: fix pylint violations 2014-05-23 14:23:12 -04:00
Sarina Canelake
bf32f5a7b9 Opaque-keys: fix pep8 violations 2014-05-23 14:22:54 -04:00
Calen Pennington
9feff62857 Merge pull request #3834 from cpennington/ok-merge-from-master
Merge master into opaque-keys
2014-05-23 11:36:52 -04:00
Calen Pennington
29f7fe14fb Merge remote-tracking branch 'edx/master' into ok-merge-from-master 2014-05-23 10:05:56 -04:00
polesye
2133ebd0a2 BLD-1033: Fix transcript displaying on iPad. 2014-05-23 08:31:26 +03:00
Calen Pennington
35083ad9f9 Fix bad uses of course_id/location/locator in new code on master 2014-05-22 16:24:02 -04:00
louyihua
a6bae4d238 i18n: Make static strings in xmodule files extractable
They can now be extracted.
2014-05-23 01:58:19 +08:00
Sarina Canelake
c7bf96f048 Merge pull request #3822 from edx/sarina/course-modes-display
Sarina/course modes display
2014-05-22 11:40:15 -04:00
Don Mitchell
1223c8a08d has_course was incorrect, fixed 2014-05-22 10:52:24 -04:00
Calen Pennington
cd862b3253 Merge remote-tracking branch 'edx/master' into opaque-keys
Conflicts:
	cms/djangoapps/contentstore/tests/test_contentstore.py
	cms/djangoapps/contentstore/views/component.py
	cms/djangoapps/contentstore/views/item.py
	cms/djangoapps/contentstore/views/preview.py
	cms/djangoapps/contentstore/views/tests/test_container.py
	cms/static/js/spec/views/unit_spec.js
	cms/static/js/utils/module.js
	cms/templates/container.html
	cms/templates/studio_vertical_wrapper.html
	cms/templates/studio_xblock_wrapper.html
	common/djangoapps/student/views.py
	lms/templates/notes.html
	lms/templates/textannotation.html
	lms/templates/videoannotation.html
2014-05-22 10:52:00 -04:00
louyihua
34d2f051a4 i18n: Make checklists translatable
Now the description & action_text strings in checklists can be extracted and translated.
2014-05-22 22:15:45 +08:00
Calen Pennington
75ad81bea3 Merge pull request #3813 from cpennington/ok-mongoengine-fields
Make mongoengine field for UsageKeys expect a Location
2014-05-21 20:35:55 -04:00
Calen Pennington
1f9c7b2ed4 Merge pull request #3809 from cpennington/ok-dead-code
Remove dead code
2014-05-21 16:21:17 -04:00
Calen Pennington
61e621fc6e Merge pull request #3812 from cpennington/ok-simpler-loc-mapper
Make the arguments to translate_location_to_course_locator more specific
2014-05-21 16:12:27 -04:00
Calen Pennington
3b58997b82 Merge pull request #3814 from cpennington/ok-conditional-test
Fix ConditionalTest test system
2014-05-21 16:10:56 -04:00
Andy Armstrong
541d20ef83 Allow creation of components on container page
This commit implements STUD-1490, allowing creation of components
on the container page. It also enables the delete and duplicate
buttons now that new content can be created that would benefit.

Note that it also creates shared functionality for adding components,
and refactors the unit page to use it too.
2014-05-21 15:40:31 -04:00
Calen Pennington
c62b6b0083 Fix ConditionalTest test system 2014-05-21 14:44:46 -04:00
Calen Pennington
4c2e612aeb Make mongoengine field for UsageKeys expect a Location 2014-05-21 14:43:51 -04:00
Calen Pennington
4836252972 Make the arguments to translate_location_to_course_locator more specific 2014-05-21 14:39:28 -04:00
Calen Pennington
4af2249a9d Remove dead code 2014-05-21 14:28:04 -04:00
Calen Pennington
39e264041e Merge pull request #3778 from cpennington/mixed-modulestore-bad-keys
Handle malformed keys in MixedModuleStore configuration
2014-05-21 11:05:50 -04:00
Don Mitchell
c085578383 Fix student progress @sarina bug 2014-05-20 18:08:33 -04:00
David Baumgold
6e0e13003f Merge pull request #3744 from lduarte1991/lduarte-harvardx
Reconnecting Token Generator for Annotation Tool [Fix]
2014-05-20 15:34:34 -04:00
Ned Batchelder
cf6a83f4a4 Merge pull request #3730 from louyihua/localization-fix-video
i18n: Make translation works for video editor tabs
2014-05-20 14:22:40 -04:00
jmclaus
678a92b4b2 Added new error message that displays when HTML5 video is not supported altogether. Make sure spinner gets hidden when error message is shown. [BLD-638] 2014-05-20 19:17:57 +02:00
Ned Batchelder
2c4fcb0c5b Slight tweak to get_text 2014-05-20 12:02:17 -04:00
Don Mitchell
f7558c40e8 Fixes ../courseware/Peer_Grading_Panel/peergrading:L12P5_grading/ reported bug 2014-05-20 11:44:51 -04:00
Calen Pennington
ef10833309 Handle malformed keys in MixedModuleStore configuration 2014-05-20 10:27:59 -04:00
louyihua
f3371643ee i18n: Make translation works for video editor tabs
Now the display_name & help strings in video editor tabs can be extracted and translated.
2014-05-20 11:20:22 +08:00
Calen Pennington
a3b6ef8bae Rename variables to make type clearer 2014-05-19 10:58:38 -04:00
Calen Pennington
4df122a92e Update annotations modules to use the course_id from the runtime, rather than extracting it from the page 2014-05-19 09:37:53 -04:00
Calen Pennington
2ce6719153 Merge remote-tracking branch 'edx/opaque-keys' into opaque-keys-merge-master 2014-05-19 09:29:34 -04:00
Don Mitchell
1c6a0f0a6c Merge pull request #3761 from edx/dhm/opaque-export
Dhm/opaque export
2014-05-16 16:40:06 -04:00