Commit Graph

1146 Commits

Author SHA1 Message Date
David Baumgold
1a3f0958b9 Revert setuptools upgrade 2015-07-15 09:36:56 -04:00
Sarina Canelake
49f78b4742 Remove logging-not-lazy Pylint violations 2015-07-13 17:34:54 -04:00
Sarina Canelake
8283c07e32 Remove superfluous-parens pylint violations
Skipped 'print' statement violations, as print() is Py3k syntax.
2015-07-13 17:33:28 -04:00
Régis Behmo
95ebf7f675 Upgrade distribute to the latest stable version of setuptools
'distribute' is the ancestor of 'setuptools', and many packages require
setuptools to be installed.

Upgrade of MySQL-python from 1.2.4 to 1.2.5 is required because of an
incompatibility with setuptools>0.7.
2015-07-09 13:04:33 -04:00
Christine Lytwynec
e9e4e3cf65 use 1 coveragerc file to generate 1 coverage report per build 2015-07-01 16:07:49 -04:00
Diana Huang
42d8091b49 Merge pull request #8688 from edx/diana/polling-cleanup
Clean up capa polling to have exponential backoff
2015-06-26 17:00:53 -04:00
Diana Huang
254d6c6821 Put a timeout on poling for codeinput and matlab problems. 2015-06-26 15:29:49 -04:00
Kyle McCormick
aa5e2f49bd Fixes tests, adds internationalized strings for new state tooltips, corrected tooltip javascript, etc. 2015-06-23 10:27:22 -04:00
Marco Morales
8acc72975e Iniital refactor of capa styling for basic checkbox and multiple choice problem types, including additional comments to sass styles 2015-06-22 10:50:58 -04:00
Nick Parlante
77f3069655 Extended Feedback and Hints for Problems
Extends the common capa response types (string, numeric, multiple
choice, checkbox, dropdown) with feedback and hint
capabilities. "Feedback" refers to feedback shown to the student when
they check the problem, looking at their specific answer. "Hints"
refers to a Hint button in LMS which the student can click at any time
to see hints for that problem. The implementation extends the markdown
syntax to include feedback and hints. There are new Feedback-and-Hint
specific templates in Studio when the author clicks to add a new
problem.
2015-06-17 16:25:04 -07:00
Nimisha Asthagiri
89ea8b31c6 MA-725 responsive_ui indication on responsive xBlocks. 2015-06-12 09:27:21 -04:00
Adam Palay
1da047bd18 fix tolerance rounding error (TNL-904) 2015-06-03 11:10:06 -04:00
Ned Batchelder
cc5c1001d1 Fix simplifiable-range pylint warnings. 2015-06-02 09:47:13 -04:00
Adam Palay
683d2b3dbe fix quality violation 2015-05-29 21:46:02 -04:00
Adam Palay
0aba5874e6 Revert "Fieldset and legend solution is lost when edit Problem"
This reverts commit 16a248b997.
2015-05-29 18:50:34 -04:00
Adam Palay
509f27f02c Revert "changes for failing label test"
This reverts commit c75526ea5e.
2015-05-29 18:50:23 -04:00
Ahsan Ulhaq
c75526ea5e changes for failing label test 2015-05-19 13:17:17 +05:00
Ahsan Ulhaq
16a248b997 Fieldset and legend solution is lost when edit Problem
when user try to update a problem the fieldset and legend solution for that
problem is lost because legend and fieldset are not added in the markdownToXml.
So added new markups where fieldset is to be added and used ```>><<``` markup for
legend.

AC-103
2015-05-19 11:46:28 +05:00
Ned Batchelder
78e9445aa1 Add super() calls to setUp/tearDown that are missing them
Also, I replaced a number of tearDown methods with addCleanup instead.
And also remove some unneeded patch.stopall() calls.
2015-05-14 18:14:21 -04:00
Ahsan Ulhaq
918afe64fd Numerical Input assessment has multiple accessibilty issues
TNL-1677
2015-05-01 23:15:33 +05:00
Ned Batchelder
777be12ada Add missing __init__.py files 2015-04-30 07:43:08 -04:00
Ned Batchelder
f396c11579 Fix unidiomatic type checking 2015-03-20 15:48:54 -04:00
Ned Batchelder
7d799e34f3 Remove unused imports 2015-03-17 07:10:31 -04:00
stv
79f9d1a70f Fix Pylint: E1121(too-many-function-args) 2015-03-13 20:20:04 -07:00
Sarina Canelake
6900bd27fe Merge pull request #7013 from stvstnfrd/pylint/low
Fix Pylint violations (easy)
2015-02-20 16:36:52 -05:00
Mark Sadecki
bf7f7e1425 Merge pull request #6968 from edx/cptvitamin/TNL-891-alt-on-spinner
adds and alt attribute to the loading/spinner graphic
2015-02-20 09:42:31 -05:00
stv
237f2c329f Add TODO comment about future test improvements 2015-02-19 19:56:52 -08:00
stv
e7b5ada5d1 Remove useless test
Per @sarina:
> `build_problem` is called in `_make_problem`, which other tests call
> in this class. A failure here will arise in other tests. This test is
> unnecessary.
2015-02-19 19:56:52 -08:00
stv
c0a7bf94f4 Fix Pylint: W1503(redundant-unittest-assert) 2015-02-19 19:56:52 -08:00
stv
c6ef359785 Fix Pylint: E1102(not-callable) 2015-02-19 19:56:52 -08:00
stv
416f7090b1 Fix Pylint: C0112(empty-docstring) 2015-02-19 19:56:51 -08:00
Waheed Ahmed
8f5dd63e9f Fixed save matlab problem response message.
TNL-1459
2015-02-19 15:17:28 +05:00
Mark Sadecki
8b79d94064 adds and alt attribute to the loading/spinner graphic 2015-02-18 14:05:11 -05:00
Waheed Ahmed
0086893ddd Fixed option was not remain selected after submitting.
TNL-1419
2015-02-18 18:50:32 +05:00
Sarina Canelake
73c309935b Merge pull request #6679 from open-craft/problem-tooltips
Support for inline explanatory popups in problem XML
2015-02-18 08:37:03 -05:00
stv
01bd96512a Remove shadowed class declaration
It looks like one version of the class was first added [1] and then a
few days later, another was written [2]. The newer declaration appeared
lower in the file, allowing it to hide the other.

This removes the first, hidden declaration.

[1] commit 7aa493ec85
    Date:   Fri Mar 1 10:36:20 2013 -0500
[2] commit f62dad2f57
    Date:   Tue Mar 5 16:31:02 2013 -0500
2015-02-16 22:55:22 -08:00
Braden MacDonald
e833d9c2e8 Accessibility improvements 2015-02-05 19:36:47 -08:00
Braden MacDonald
3fd9fa6415 Support for inline explanatory popups in problem XML 2015-02-05 16:56:02 -08:00
Calen Pennington
03a05fd9d4 Always call super(..).setUp() from setUp 2015-02-04 09:09:14 -05:00
Adam Palay
4a76a629f6 Revert "Fix tolerance broken"
This reverts commit 66b949b745.
2015-01-28 18:23:22 -05:00
Braden MacDonald
6be35e0fc1 Merge pull request #6459 from edx/content-libraries
Content libraries MVP
2015-01-13 11:20:20 -08:00
Syed Hassan Raza
66b949b745 Fix tolerance broken 2015-01-13 16:01:46 +05:00
E. Kolpakov
07241aa1de Addressed review notes:
* Added tests for `problem_types` CapaDescriptor property
* Improved indentation in tests
* Improved validation messages
2015-01-12 13:41:01 +03:00
Jonathan Piacenti
332d2b0368 Addressed notes from reviewers about Library content filters. 2015-01-12 13:41:01 +03:00
Syed Hassan Raza
ee39957101 Fix sorting issue
TNL-952
2015-01-07 17:15:40 +05:00
David Baumgold
36e77c7463 Fixing pep8 issues 2014-12-11 13:04:49 -05:00
Sarina Canelake
7aab4151bb s/pylint: disable=W0201/pylint: disable=attribute-defined-outside-init/ 2014-12-01 11:22:12 -05:00
Sarina Canelake
7229ef92ee s/pylint: disable=W0212/pylint: disable=protected-access/ 2014-12-01 11:22:12 -05:00
Sarina Canelake
5f723e8d3c s/pylint: disable=W0703/pylint: disable=broad-except/ 2014-12-01 11:22:11 -05:00
Sarina Canelake
c904bd70cd s/pylint: disable=E0604/pylint: disable=invalid-all-object/ 2014-12-01 11:22:10 -05:00