Alexander Kryklia
4c7bfb44dd
Add Video Bumper.
...
Fix n-click behaviour on poster.
Fix unit tests.
Fix handler for non_en lang for bumper.
Add more tests.
Fix docstrings.
Fix pep8.
Fix static redirection with bumper.
Fix button in IE11.
Add video_bumper field in bok_choy.
Fix pylink violations.
Update docstrings and some clean up.
Rename edx_video_id in bumper tests.
Fix too long lines in help text.
Address ui comments.
Fix bumper events.
Refactor bumper-transcripts code, fix bugs, address comments.
Squashed commits:
Fix download transcript button.
[74e0c8c] Fix quality
[a759f33] Fix error, when sub contains extension.
[b30755c] Revert "Add video files to host for transcripts."
This reverts commit cf8a96bf84346e17b6ad57ad4cc6a27d7a9118cd.
[36f038a] Add video files to host for transcripts.
[23f1655] Fix pep8 and pyling issues.
[0f1f9d2] Update acceptance test.
[765a27d] Wait for ajax in captions.
[8ae72a3] Fix logic.
[063450f] Fix unit tests.
[d1075fc] Fix handlers tests.
[25d31ad] Update bumper_utils.
[cb5f9df] Remove maxDiff.
[8738b1a] Code cleanup.
[87dbcb7] Fix issues with transcripts.
[ec899de] Fix transcripts in serializers.
[444b1fc] Fix transcripts typo.
[d524cb5] Fix bumper.
[f62cf22] Fix video mongo tests.
[8f1b55a] Fix dispatches.
[53bc308] Add more fixes.
[d5e3723] Fix test_video_handlers and rename the method.
[93efc23] Fix mobile tests.
[740e2ae] Fix pep8 and pylint.
[47cfb66] Address comments, add fixes.
[4e499d9] Add fixes.
[8353553] Add improvements.
Updated dispatch values)
.
Use ddt in bumper handler tests.
Move common metadata to single place.
Fix style.
Update docstring.
Fix poster button.
Improve bumper events.
Fix test after rebase.
Address comments.
Download transcript: use def video lang, not bump.
Renamed date_last_view_bumper to bumper_last_view_date.
Rename do_not_show_again_bumper to bumper_...
Address comments.
Fix tests for download for en lang.
Fix bumper logic.
Update strings.
Update resizer.
Remove resizer.
Fix unit tests.
Add tests.
Fix bumper events.
Clean up tests.
Fix pylint violations.
Fix pep8 and pylint violations.
Update docs and method names.
Update events.
Make /static/ prefix a must.
Fix wrong code.
2015-05-31 14:45:31 +03:00
Christine Lytwynec
ddb1ae667e
Split lms unittests into multiple shards
2015-05-07 09:17:26 -04:00
Ned Batchelder
81d17c516e
Fix or remove tearDown methods that don't use super.
...
Update edx-lint to the version that checks if tearDown uses super.
Convert a number of tearDown methods into addCleanup.
Remove some unneeded tearDown methods: no need to call patch.stopall if
none of them were started with patch.start.
2015-03-17 15:14:52 -04:00
Syed Hassan Raza
e2ecb0db46
Invalid youtube_id raise NotFoundError for transcripts
...
TNL-1229
2015-01-27 11:48:08 +05:00
Waheed Ahmed
d23e772dd0
Fixed unicode problem if transcript file is not UTF-8 encoded.
...
TNL-527
2014-12-17 13:19:47 +05:00
David Baumgold
36e77c7463
Fixing pep8 issues
2014-12-11 13:04:49 -05:00
Syed Hassan Raza
9aff1d5718
Remove extra line
2014-12-02 19:37:09 +05:00
Syed Hassan Raza
eec1999208
Handle unicode through try catch
2014-11-25 14:13:11 +00:00
Syed Hassan Raza
b3e7516af7
Handle Unicode for Incoming Keys
2014-11-24 15:11:33 +05:00
Sarina Canelake
725e4908e3
Remove more pep8 violations
2014-11-04 07:37:41 -05:00
Oleg Marshev
46fe356182
Use data dir from course.
2014-07-28 13:11:12 +03:00
Calen Pennington
1bc0b323b1
Explicitly create the AssetKey for all assets coming out of a ContentStore
2014-07-17 10:35:36 -04:00
Nimisha Asthagiri
8855b12b76
Update tests to allow LMS tests to use published branch setting.
...
Conflicts:
cms/djangoapps/contentstore/views/tests/test_container_page.py
common/djangoapps/external_auth/tests/test_shib.py
common/djangoapps/student/tests/test_login.py
common/lib/xmodule/xmodule/modulestore/tests/django_utils.py
common/lib/xmodule/xmodule/modulestore/tests/factories.py
common/lib/xmodule/xmodule/modulestore/xml_importer.py
lms/djangoapps/branding/tests.py
lms/djangoapps/courseware/tests/test_submitting_problems.py
lms/djangoapps/courseware/tests/test_video_handlers.py
lms/djangoapps/instructor_task/tests/test_base.py
lms/djangoapps/instructor_task/tests/test_integration.py
2014-07-09 21:10:12 -04:00
Nimisha Asthagiri
ea32529866
Fix all modulestore calls to pass in user ids.
2014-07-09 21:10:12 -04:00
Don Mitchell
cc6dfbbc75
Asset support in split
...
LMS-2876
2014-07-07 17:11:43 -04:00
Nimisha Asthagiri
a9213509c3
Enable Mixed Modulestore STUD-1540
...
Refactor get_parent_locations STUD-1663
2014-06-26 18:00:11 -04:00
cahrens
73e7ced6f9
Introduce constants for studio_view, student_view, and author_view.
2014-06-20 11:41:23 -04:00
Sarina Canelake
2aea261d48
Merge branch 'release'
...
Conflicts:
common/djangoapps/course_modes/views.py
common/djangoapps/student/tests/test_roles.py
common/djangoapps/student/views.py
common/lib/opaque_keys/opaque_keys/__init__.py
common/lib/opaque_keys/opaque_keys/tests/test_opaque_keys.py
common/lib/xmodule/xmodule/contentstore/mongo.py
lms/djangoapps/certificates/management/commands/gen_cert_report.py
lms/djangoapps/notes/views.py
2014-06-10 16:59:23 -04:00
Don Mitchell
acc02b0e09
Fix to excess asset query
2014-06-09 15:13:23 -04:00
Julia Hansbrough
6ccb11f03e
Change Location, CourseLocator, etc to reference opaque-keys library
2014-05-30 20:32:38 +00:00
Calen Pennington
cfcbdc0145
Move to OpaqueKey implementations from the external library
...
[LMS-2757]
2014-05-29 17:03:35 -04:00
Sarina Canelake
d1672e31f7
Opaque-keys: fix pylint violations
2014-05-24 19:36:09 -04:00
Sarina Canelake
265fa826ca
Opaque-keys: fix pylint violations
2014-05-23 14:23:12 -04:00
Calen Pennington
ff026ea8af
Merge remote-tracking branch 'edx/master' into opaque-keys-merge-master
...
Conflicts:
common/lib/xmodule/xmodule/video_module/video_handlers.py
2014-05-15 10:25:08 -04:00
Carson Gee
52d8317ab5
Fix bug affecting video transcripts in XMLModulesStore courses
2014-05-14 15:19:15 -04:00
Calen Pennington
155ffe37ca
Merge remote-tracking branch 'edx/master' into opaque-keys-merge-master
...
Conflicts:
cms/djangoapps/contentstore/views/item.py
cms/djangoapps/contentstore/views/tests/test_container.py
cms/djangoapps/contentstore/views/tests/test_tabs.py
common/lib/xmodule/xmodule/modulestore/mongo/draft.py
lms/djangoapps/certificates/management/commands/gen_cert_report.py
lms/djangoapps/certificates/queue.py
lms/djangoapps/certificates/views.py
lms/djangoapps/courseware/module_render.py
lms/djangoapps/courseware/tests/test_module_render.py
lms/djangoapps/instructor/views/api.py
lms/djangoapps/instructor/views/instructor_dashboard.py
lms/djangoapps/instructor/views/legacy.py
lms/djangoapps/shoppingcart/tests/test_models.py
lms/djangoapps/verify_student/views.py
2014-05-09 15:29:32 -04:00
Nimisha Asthagiri
46a976d7e1
fixed asset search query.
...
moved location_to_son to LocationBase.py.
2014-05-09 10:28:34 -04:00
Don Mitchell
f73939ab7d
Responses to comments on https://github.com/edx/edx-platform/pull/3539
...
Conflicts:
common/lib/xmodule/xmodule/modulestore/locations.py
2014-05-09 10:18:22 -04:00
Carson Gee
c0644dc984
Only do static transcript redirect for english language, and don't offer static redirect for download
...
Rename video test to real YouTube-ID
2014-05-07 15:11:41 -04:00
Carson Gee
ab6c82342e
Add last resort method to download and showing of video transcript
2014-05-07 15:11:41 -04:00
Calen Pennington
9811926d97
Make course ids and usage ids opaque to LMS and Studio [partial commit]
...
This commit updates lms/djangoapps/courseware.
These keys are now objects with a limited interface, and the particular
internal representation is managed by the data storage layer (the
modulestore).
For the LMS, there should be no outward-facing changes to the system.
The keys are, for now, a change to internal representation only. For
Studio, the new serialized form of the keys is used in urls, to allow
for further migration in the future.
Co-Author: Andy Armstrong <andya@edx.org >
Co-Author: Christina Roberts <christina@edx.org >
Co-Author: David Baumgold <db@edx.org >
Co-Author: Diana Huang <dkh@edx.org >
Co-Author: Don Mitchell <dmitchell@edx.org >
Co-Author: Julia Hansbrough <julia@edx.org >
Co-Author: Nimisha Asthagiri <nasthagiri@edx.org >
Co-Author: Sarina Canelake <sarina@edx.org >
[LMS-2370]
2014-05-06 10:08:32 -04:00
Alexander Kryklia
dfa7c27e77
Add multiple transcripts editor.
...
Fix donwload subs for non youtube videos and non-en language - continue.
Add acceptance tests.
Add detetion of assets on request.
Updated docstring.
Add fixes and acceptance tests.
Fix acceptance tests.
Update docsrtings and cleanup code, resful for language_id.
Specify exception type in POST.
Fix url in upload module.
Improve exception handling.
Remove 'en' and catching in editable_metadata.
Move descriptor.get_context test to lms tests.
Add query parameter to translation dispatch.
Response to format parameter of translatin GET request.
Fix Acceprance test: Metadata Editor.
move handlers to proper scores.
Split video player into smaller files.
Add ugettext and fix typoes.
Add changelog.
Support for downloading non-ascii filenames.
Change event binding.
Add content-language to download requests.
Reractor POST handler to not update self.transcripts.
2014-03-31 18:49:56 +03:00
Alexander Kryklia
dd20e84c84
Fix donwload subs for non youtube videos and non-en language.
...
Check for status in test.
Add test for track url.
Fix test to use cookie.
Use download_track in feature file.
Add new tests for get_transcript.
Add html5 test.
Add content check.
Add tests for available_translations dispatch.
Disable flaky cms test.
Add w/o english transcript tests.
Add to changelog.
2014-03-14 18:30:42 +02:00
jmclaus
3a740c0479
BLD-844: Add possibility to download transcripts in different formats.
2014-03-07 19:22:22 +01:00
polesye
65adb7b272
BLD-896: Fix cc button in HTML5 videos.
2014-03-07 11:24:30 +02:00
Alexander Kryklia
ccb776e928
Catch exception if for en no default subs is uploaded.
2014-03-04 15:41:46 +02:00
Alexander Kryklia
25407ef3e7
BLD-642: Allow multiple transcripts with video.
2014-02-24 21:57:08 +02:00