Commit Graph

7775 Commits

Author SHA1 Message Date
louyihua
ce1b62311b Fix a url processing error in 02_html5_video.js
As the code in this .js will break the url's integrity when there is already a query string inside the video source's url and cause the url to be invalid in some cases (for example, when working with a url from Windows Azure's Media Service, the appended '?' will cause the url being invalid).
I modified the code by first checking whether the url has already had a query string, and if so, then use '&' instead of '?' to prevent the breaking, and it works for the url from Windows Azure's Media Service.
2014-03-21 23:24:28 +08:00
louyihua
d76c3dfc36 Fix the url processing error when there is a query string inside the video source's url
1. In video_module.py, rewrite the get_ext() function to use the built-in urlparse module to parse the input filename first and then get the file's extension name from the parsed path.
2. In test_video.py, add two test cases (one with query string while the other without) in order to test the rewritten get_ext() function.
2014-03-21 22:47:00 +08:00
louyihua
a458b90d37 Fix incorrect parse of url in video_module.py
Sometimes the video url may look like 'http://abc.com/path/video.mp4?xxxx'.
(For example, the Windows Azure's media service will offer such type of url.)
The original code in video_module.py will produce 'mp4?xxxx' instead of 'mp4'
as the extension of a filename for such type of url, and therefore the video
will be non-playable. The fix here uses the built-in urlparse module to retrive
only the path component from a url and therefore the extension 'mp4' will be
correctly fetched.
2014-03-19 10:30:25 +08:00
Adam
76566be21b Merge pull request #2939 from edx/zub/story/disableunicodecourseids
Enable/disable unicodes in course id's
2014-03-17 12:04:51 -04:00
Calen Pennington
c4c998b55a Merge pull request #2954 from cpennington/pure-xblocks-progress-page
Fix LMS-2349 (Progress page broken for pure xblocks)
2014-03-17 12:01:30 -04:00
zubiar-arbi
714da6ab23 Enable/disable unicodes in course id's 2014-03-17 20:24:59 +05:00
Calen Pennington
a5498bcbd7 Make progress page work with pure xblocks
[LMS-2349]
2014-03-17 10:45:14 -04:00
Dave St.Germain
2a20b3f67e This fixes LMS-2387 by removing a resize call that prevented scrolling.
It also enables syntax highlighting for matlab input fields, which
wasn't previously enabled.
2014-03-17 10:35:53 -04:00
Don Mitchell
e13d167045 Merge pull request #2918 from edx/dhm/meld_pretty_factory
Dhm/meld pretty factory
2014-03-17 09:44:19 -04: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
Julia Hansbrough
ac6b9f8e2a Merge pull request #2936 from edx/flowerhack/dark-lang-docs
Fixed confusing docstring
2014-03-13 18:44:32 -04:00
Julia Hansbrough
08939b64dc Fixed confusing docstring 2014-03-13 22:09:29 +00:00
frances botsford
c87a1138a3 Merge pull request #2923 from lduarte1991/master
CSS changes regarding TinyMCE in annotation tool & accessibility issues
2014-03-13 12:55:55 -04:00
Alexander Kryklia
e457135ee7 Merge pull request #2931 from edx/alex/allow_uppercase_srt_extension
Allow uppercase transcripts srt extension.
2014-03-13 18:27:35 +02:00
Andy Armstrong
891cf8bb08 Merge pull request #2924 from edx/andya/studio-split-test-support-2
Fix split_test xblock so that it can render in Studio
2014-03-13 12:11:01 -04:00
Alexander Kryklia
7fe675b1d0 Allow uppercase transcripts srt extension. 2014-03-13 17:06:17 +02:00
Dave St.Germain
da72cd355d Fixes STUD-1434 by including the CodeMirror css mode in
codemirror-compressed.js
2014-03-13 10:12:25 -04:00
Andy Armstrong
58483c0649 Fix split_test xblock so that it can render in Studio
This change addresses STUD-1403 where split_test modules could not render in Studio.
It changes Studio to pass a new parameter 'runtime-type' of 'studio' when rendering
 an xblock. In split_test, this will then cause all of the children to be rendered,
 rather than just the one that matches the conditional.
2014-03-12 17:21:04 -04:00
lduarte1991
e52e544fb6 As per request #2898, changed the css for annotator tool to affect tinymc only when in annotator-wrapper.
Also removed the outline:none for accessibility requirements and
removed two redundant css files from lms.
2014-03-12 17:09:20 -04:00
Andy Armstrong
6d2cd987dc Merge release-2014-03-12 back to master.
https://edx-wiki.atlassian.net/wiki/display/ENG/Release+Page%3A+2014-03-12
2014-03-12 16:07:00 -04:00
Don Mitchell
fedc06806d Test schema is set in each collection 2014-03-12 15:15:47 -04:00
Don Mitchell
0895e90ab8 Generate split test data via split 2014-03-12 15:15:47 -04:00
Jay Zoldak
fecc5658a6 Return valid feedback from ORA stub
so that the logs will be much cleaner.
See test_root/log/bok_choy_lms.log
2014-03-12 12:40:10 -04:00
Giulio Gratta
e555a2d9f9 Merge pull request #2851 from edx/giulio/high-a11y-issues-mar2014
High priority a11y issues march 2014
2014-03-12 09:28:02 -07:00
Don Mitchell
542b146f2f Split: add schema version and drop pretty_id (was placeholder looking for purpose)
STUD-1359
2014-03-12 11:30:44 -04:00
Greg Price
3884ba4758 Merge pull request #2909 from edx/gprice/bok-choy-robustness
Improve robustness of bok choy discussion tests
2014-03-12 11:05:59 -04:00
ichuang
21ac2e4cc9 Merge pull request #2667 from edx/fix/ichuang/infinity
add infinity symbol to calc preview
2014-03-11 22:10:35 -04:00
Valera Rozuvan
28bdb0bb3e Merge pull request #2822 from edx/valera/convert_collapsible_to_js
Converting Collapsible module to JS.
2014-03-11 22:53:28 +02:00
Greg Price
cc0d227928 Improve robustness of bok choy discussion tests
A test failed because an element disappeared between the evaluation of
the clauses of a conjunction, so rewrite to make the conjunction
unnecessary.
2014-03-11 16:44:52 -04:00
David Baumgold
5be58fc157 Merge pull request #2883 from edx/db/fix-import
Fix undefined references to pytz, and update tests
2014-03-11 16:41:20 -04:00
Giulio Gratta
1cd5a80d1e replace unicode 'X' with font-awesome 'remove' 2014-03-11 12:48:58 -07:00
David Baumgold
f25a7870a5 fix tests 2014-03-11 14:48:03 -04:00
Dave St.Germain
5e4c25dd82 Merge pull request #2894 from edx/dcs/a11y-restore-outline
Remove outline:none to assist keyboard navigation
2014-03-11 14:33:37 -04:00
Dave St.Germain
6d9ca6008c Remove outline:none 2014-03-11 14:33:04 -04:00
Anton Stupak
d64049c4c3 Merge pull request #2901 from edx/anton/fix-video-in-flash-mode
Video: Fix issues related to videos that have separate YouTube IDs for the different video speeds.
2014-03-11 20:32:12 +02:00
polesye
ddf41ce9c5 BLD-915: Fix issues with different videoIDs. 2014-03-11 20:21:06 +02:00
Giulio Gratta
61a4aaa9a9 raise contrast of 'points possible' text to WCAG AA 2014-03-11 11:05:42 -07:00
Greg Price
654239dc2c Merge pull request #2890 from edx/gprice/user-api-with-prefs
Augment user API to allow easier access to user preferences
2014-03-11 13:37:50 -04:00
Andy Armstrong
750640b6f0 Merge pull request #2902 from edx/usman/lms2136-wiki-slug-renamespacing-fix
Do not remap the wiki_slug if reimporting into the same course.
2014-03-11 13:08:03 -04:00
Greg Price
bbd6f788ad Add endpoint to get user list for a preference
The endpoint includes the key of the desired preference in the URL and
returns the list of users for whom the preference is set (regardless of
the value).
2014-03-11 12:03:33 -04:00
Sarina Canelake
e6c9a6c9d9 Merge pull request #2889 from edx/sarina/fix-abtest-for-sequentials
Bugfix for split test on sequential save
2014-03-11 11:59:17 -04:00
Usman Khalid
cb2243a495 Do not remap the wiki_slug if reimporting into the same course.
LMS-2136
2014-03-11 20:47:21 +05:00
polesye
43c16bd093 BLD-915: Fix issues with different videoIDs. 2014-03-11 17:38:29 +02:00
Greg Price
8f01756c6c Include preferences in users returned by user API 2014-03-11 11:17:13 -04:00
Valera Rozuvan
481253d6ec Merge pull request #2893 from edx/valera/add_missing_comment
Add a missing comment documenting the changes done in PR 2841.
2014-03-11 17:11:53 +02:00
Sarina Canelake
119ffd4677 Bugfix for split test on sequential save
Bug would occur when comparing Groups or UserPartitions - because these types
lacked comparator methods, different objects would come up as different when
their values were equal.
2014-03-11 10:51:39 -04:00
Sarina Canelake
1ece8f78af Merge pull request #2896 from edx/sarina/LMS-2302
Put language modal in alphabetical order LMS-2302
2014-03-11 10:33:32 -04:00
Don Mitchell
adb7fbcb4b Merge pull request #2849 from edx/dhm/split_course_id
Make course_id a required arg to split.create_course
2014-03-11 10:22:46 -04:00
Sarina Canelake
5c1c96923a Put language modal in alphabetical order LMS-2302 2014-03-11 10:20:21 -04:00
Sarina Canelake
e3a70ce6df Fix for CourseFactory bug - course object not saved after setattr called 2014-03-11 10:00:42 -04:00