Commit Graph

4260 Commits

Author SHA1 Message Date
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 Baratta
0f72eedd37 Add variable i as an imaginary unit 2013-06-10 11:35:34 -04:00
Peter Baratta
944e3390e0 Add support for various math functions in calc.py. 2013-06-10 11:35:34 -04:00
Peter Baratta
ed90ed9a34 Added tests for new math functions 2013-06-10 11:35:33 -04:00
Peter Baratta
a746a9ad15 Get rid of unused code 2013-06-10 11:08:48 -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
cahrens
1273bc22b3 Additional test coverage. 2013-06-07 17:24:07 -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
cahrens
f3b92312d9 Add test for serialize/deserialize. 2013-06-07 15:58:31 -04:00
cahrens
0baec0a164 Move string fields, get rid of hard-coded list of booleans. 2013-06-07 15:45:34 -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
Ned Batchelder
cab49716b5 Whitelisted courses now run Python code outside the sandbox. 2013-06-06 14:27:12 -04:00
Ned Batchelder
9a631fe476 All uses of safe_exec need to get the correct random seed. 2013-06-06 14:27:12 -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
Peter Baratta
83f1f9c2fc Set numpy so it does not print out warnings on student input 2013-06-05 15:50:35 -04:00
Peter Baratta
a85a7f71df Rename variables; get rid of OPS 2013-06-05 15:50:17 -04: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
Ned Batchelder
c865641f13 Merge pull request #23 from edx/ned/move-loncapa-etc-into-sandbox
Ned/move loncapa etc into sandbox
2013-06-03 11:27:16 -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
Julian Arni
198d63db86 Update docstring for get_score 2013-06-03 12:13:05 -04:00
Julian Arni
c639bbc6f0 Add partial credit for foldit 2013-06-03 11:15:45 -04:00
Peter Baratta
72d149caae Add docstrings and comments 2013-06-03 10:46:11 -04:00
Peter Baratta
ed45c505a3 Simpler pyparsing 2013-06-03 10:44:06 -04:00
Peter Baratta
74866a38b0 Move parseActions and statics out of evaluator() 2013-06-03 10:42:42 -04:00
Peter Fogg
8c5f9e6e41 Fix merge conflict. 2013-06-03 08:49:52 -04:00
Christina Roberts
52b76c87f4 Merge pull request #11 from edx/feature/christina/metadata-ui
Feature/christina/metadata ui
2013-06-01 16:01:53 -07:00
Ned Batchelder
88d3f253b6 Move symmath to be its own directory, and install it into the sandbox. 2013-05-31 15:22:16 -04:00
VikParuchuri
4a997842c7 Merge pull request #2 from edx/fix/vik/single-step-oe
Fix js that prevented single step OE problems (ie only self assessment) ...
2013-05-31 12:10:45 -07:00