Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Jeremy Bowman
4e8668d3be
TE-2524 Stop using nose.plugins - LMS 2
2018-08-01 13:54:06 -04:00
muhammad-ammar
aaaafee2b2
remove video transcript enabled flag
2018-04-30 15:59:32 +05:00
muhammad-ammar
d5758bd1f9
delete transcript from advance tab
...
EDUCATOR-1759
2018-04-24 16:49:33 +05:00
Qubad786
cadd4378c7
updload/download/replace transcripts
...
EDUCATOR-2167
EDUCATOR-2168
EDUCATOR-2169
2018-04-23 18:28:35 +05:00
muhammad-ammar
cda7fe9a29
update available translations retrieval interface
...
EDUCATOR-2384
2018-04-23 17:35:43 +05:00
muhammad-ammar
d0cd247d08
Deprecate Contentstore for Video Component Preview LMS/CMS
...
EDUCATOR-1756
2018-04-23 17:35:43 +05:00
Qubad786
c90aa33cb8
Integrate with the updated VAL api utils.
2018-02-16 19:06:44 +05:00
Jeremy Bowman
ebc54c8f1a
PLAT-1890 Fixed assorted ModifyingEnforceTypeWarning warnings
2018-01-24 11:49:42 -05:00
J. Cliff Dyer
1fc43bf60d
Define custom completion for VideoModule
...
Update the VideoModule to publish a completion event when the player
reaches 95% complete, and submit a BlockCompletion when that event
occurs.
OC-3091
MCKIN-5897
2017-12-19 14:12:28 -05:00
John Eskew
b14d2e9cf7
Fix video transcript model import before Django initialization occurs.
2017-12-07 09:56:44 -05:00
Qubad786
4aef8d1c7b
exclude bumper
2017-10-26 16:28:25 +05:00
Qubad786
9c06bb65b1
Use edx-val transcripts and translations collectively with contentstore.
...
Adds val trancripts in outcome of get_transcripts_info and rest of flow remains the same and also add fallback to edx-val rtanscripts for mobile accessible video endpoints.
2017-10-16 19:23:18 +05:00
Qubad786
ec7b78d60e
Use edx-val transcripts as a fallback on the video component
...
Purpose of this, is to serve transcripts from edx-val if the requested transcripts are not found in the contentstore i.e. that's where all the transcripts are living to date.
2017-10-16 19:23:18 +05:00
Jeremy Bowman
fd6af6b05e
ddt usage cleanup
2017-09-05 17:25:51 -04:00
Andy Armstrong
a815003b3b
Handle anonymous and unenrolled users on the new course home page
...
LEARNER-1696
2017-07-10 17:52:28 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Andy Armstrong
684aec8740
Move contentserver to openedx/core
2016-10-11 12:49:33 -04:00
Calen Pennington
bc20a37c2b
Simplify how shards are selected in CI
2016-08-03 16:23:02 -04:00
Toby Lawrence
4e22affb24
[PERF-344] Add versioning of cached course assets to allow graceful cache invalidation
...
When releasing the versioned assets work, we stumbled on a problem with old pickled
versions of the StaticContent objects residing in cache, which triggered a bug in the
code. Not wanting to blow away all cached items, we ended up having to revert and add
in some backwards-compatible helper code to ease the transition.
With this, we'll now utilize the version argument that Django's caching interface
allows, in conjunction with a constant value that can be modified when breaking changes
are being made, to let us gracefully ignore older cached course assets.
2016-07-05 15:15:47 -04:00
Usman Khalid
6cb62f2697
Rebase upgrade Django to v1.8.5
...
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
cahrens
2b57603436
Handle case of video in a content library with no transcripts.
...
This partially addresses TNL-1776
2015-08-07 13:19:12 -04:00
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