Peter Fogg
ef56c49056
Update XML in old video tests. This change tags like <video youtube="1.0:abcdefg"> to <video youtube_id_1_0="abcdefg".
2013-06-13 11:43:51 -04:00
Peter Fogg
8da102c732
Update failing Jasmine tests for video.
2013-06-12 13:50:33 -04:00
Peter Fogg
4e2c4f02d6
Fix times not being parse from HH:MM:SS format into floats and update video module logic tests.
2013-06-12 12:37:06 -04:00
Peter Fogg
681e96b702
Update display names and help text for video metadata.
2013-06-12 11:42:41 -04:00
Peter Fogg
52bf82ac17
Set Youtube ID defaults to the empty string.
2013-06-12 11:29:14 -04:00
Peter Fogg
008c769ffb
Update and fix acceptance to show captions when correct.
2013-06-12 10:27:05 -04:00
Peter Fogg
1ff72e0bae
Convert show_captions to StringyBoolean.
2013-06-11 16:14:52 -04:00
Peter Fogg
94ac7fba31
Prevent showing video speeds that aren't set by course author.
2013-06-11 16:12:58 -04:00
Peter Fogg
872bf71c37
Remove data attribute from templates/video/default.yaml.
2013-06-11 15:53:50 -04:00
Peter Fogg
716da9c6bc
Convert Floats to StringyFloats.
2013-06-11 15:38:02 -04:00
Peter Fogg
dbb127599f
Merge peter-fogg/fix-video-captions-setting.
2013-06-11 15:11:14 -04:00
Peter Fogg
fc6f0606c2
0;95;cRemove unnecessary boolean conversion.
2013-06-11 14:33:28 -04:00
Peter Fogg
8543043f86
Make video captions respect course author's setting.
2013-06-11 13:39:15 -04:00
Peter Fogg
5b9e88e2db
Enable exporting video to XML for backwards compatibility.
2013-06-11 11:37:00 -04:00
Peter Fogg
f9b825fe8b
Fix failing acceptance tests and allow videos to be imported from XML.
2013-06-11 09:27:02 -04:00
Brian Talbot
d778f2e9b9
updates jasmine tests to correspond to new capa template HTML
2013-06-10 16:22:20 -07:00
Brian Talbot
8e30981f6f
revises the show/hide answer input to use an HTML button element for accessibility purposes
2013-06-10 16:22:14 -07:00
Don Mitchell
976280e693
Merge pull request #110 from edx/bug/dhm/baddrafts
...
Have the draft module store actively prevent non-leaf nodes from being
2013-06-10 12:01:49 -07:00
Ned Batchelder
62b2323588
Merge pull request #94 from edx/ned/fix-silly-xml-encoding-errors
...
Fix encoding errors when hashing XML
2013-06-10 10:45:37 -07:00
Ned Batchelder
fea6792637
In these tests, 'rendered_html' is neither rendered, nor HTML. Name it context_repr, since that's what it is.
2013-06-10 13:11:10 -04:00
Ned Batchelder
5bc7333ca8
Test the Unicode handling during construction of an ErrorModule directly.
2013-06-10 12:58:10 -04:00
Ned Batchelder
a841bf7d2e
Use repr instead of str for getting context data via the system render function, so it works better for non-ASCII data.
2013-06-10 12:57:39 -04:00
cahrens
b0b3062a20
Allow a value of 0 for max attempts. STUD-264.
2013-06-10 11:51:25 -04:00
Peter Fogg
115ae42bee
Changed description of source and track fields.
2013-06-10 11:07:11 -04:00
Peter Fogg
ee64d8c024
Fixed .75 and 1.5 speeds playing at 1.0 speed.
2013-06-10 11:01:22 -04:00
Ned Batchelder
979ee6844e
Add to the test, a check that the XML file truly has a non-ASCII character in it.
2013-06-07 19:05:01 -04:00
Ned Batchelder
4896e44589
Write a test for the XML unicode conversion fix.
2013-06-07 17:07:33 -04:00
Ned Batchelder
aac7e364d3
Make the repr right.
2013-06-07 17:05:58 -04:00
Don Mitchell
2266028921
Have the draft module store actively prevent non-leaf nodes from being
...
saved as draft.
2013-06-07 15:40:30 -04:00
Ned Batchelder
69f8bf7afa
Fix weird formatting.
2013-06-07 09:58:12 -04:00
Ned Batchelder
ccaf8178fd
Change a test to get at some Unicode issues.
2013-06-07 09:57:51 -04:00
Valera Rozuvan
01678c3be0
Merge pull request #70 from edx/valera/gst_fixes_hsph
...
GST fixes
2013-06-07 06:15:28 -07:00
Valera Rozuvan
d9651d7497
GST fixes. Removed red error messages preseneted to the user. The errors are now displayed when a flag is turned on. Added graphical_slider_tool tag to the list which shows staff debug info.
2013-06-07 16:12:50 +03:00
Valera Rozuvan
1956020f5c
Overhaul of event log of load, play, pause, seek, speed-change events.
2013-06-07 16:05:02 +03:00
Valera Rozuvan
48edd4a2bf
Experimenting with optimal event attachment strategy.
2013-06-07 16:05:02 +03:00
Ned Batchelder
d4db4c6dea
Fix encoding errors when hashing XML
...
We occasionally get UnicodeEncodeErrors from these two places,
because the XML is a Unicode string, and is implicitly encoded to ascii.
2013-06-07 07:10:32 -04:00
Calen Pennington
5489a3b645
Merge pull request #44 from edx/feature/cale/run-all-tests
...
Run all tests on jenkins
2013-06-06 09:52:27 -07:00
Peter Fogg
4415fb4c42
Started removing XML from video editor.
...
TODO: This breaks the 1.5x and .75x speeds. I'm still looking into
why.
TODO: VideoDescriptor inherits from RawDescriptor in order to
use the from_xml and export_to_xml methods. This seems really ugly,
though; I'd rather find a better way to do this.
2013-06-06 10:29:24 -04:00
Vasyl Nakvasiuk
45e32107e7
video module: remove old methods
2013-06-06 16:46:47 +03:00
Vasyl Nakvasiuk
68716f99cc
video module: _get_timeframe -> get_timeframe
2013-06-06 16:46:47 +03:00
Anto Stupak
8b06916eb6
Fix tests for firefox
2013-06-06 16:45:16 +03:00
Anton Stupak
7eb18fe019
adds test files for video
2013-06-06 16:45:16 +03:00
Calen Pennington
16fc7b37fb
Make xmodule_assets incremental, rather than removing the entire generated asset tree
2013-06-05 13:08:53 -04:00
Chris Dodge
4391783248
add exporting of 'about' content as well as adding unit test checks
2013-06-05 12:40:09 -04:00
Diana Huang
ff7b851f95
Merge pull request #4 from edx/diana/fix-error-descriptor
...
Ensure that the original error gets preserved by the ErrorModule
2013-06-05 07:39:40 -07:00
Joe Blaylock
e092aadbf9
Merge pull request #48 from edx/jrbl/substitute-anonymous-user-id-in-html
...
Expose site-wide anonymized ids to HTML module
2013-06-04 14:13:59 -07:00
Diana Huang
d895c64f4a
Use full descriptor when showing errors, not just the model data.
2013-06-04 10:43:06 -04:00
Diana Huang
f3b36b8bc9
Use from_descriptor instead of from_xml to make ErrorDescriptor
2013-06-03 17:21:41 -04:00
Joe Blaylock
6262274805
Expose site-wide anonymized ids to HTML module
...
Co-authored-by: Nate Hardison <natehardison@gmail.com >
2013-06-03 11:35:42 -07:00
jkarni
4bc27b930c
Merge pull request #47 from edx/hotfix/jkarni/folditpartialcred
...
Add partial credit for foldit
2013-06-03 09:19:10 -07:00