Commit Graph

822 Commits

Author SHA1 Message Date
Ben Patterson
106fba70cf Remove Solano artifacts, Solano-only logic. 2014-12-19 10:13:00 -05:00
Don Mitchell
d73eca48ba Merge pull request #6296 from edx/dhm/studio_asides
make asides render in studio
2014-12-18 15:41:58 -05:00
Don Mitchell
d49c82f9bd Add configuration to studio for asides 2014-12-18 14:43:22 -05:00
Calen Pennington
e88c00a25c Make bok_choy tests clean up test files before executing 2014-12-18 14:08:20 -05:00
Calen Pennington
980f30c17f Move lms.lib.xblock into lms.djangoapps.lms_xblock in preparation add database backed configuration to it 2014-12-12 21:45:21 -05:00
Christine Lytwynec
5007e98034 Merge pull request #6173 from edx/clytwynec/add_find_fixme_method
add find_fixme task
2014-12-10 11:08:25 -05:00
Christine Lytwynec
7f23c88dd3 add find_fixme task 2014-12-10 10:43:16 -05:00
Andy Armstrong
2b0f959bd7 Merge pull request #5942 from edx/cohorted-courseware
Cohorted courseware
2014-12-08 14:38:30 -05:00
Christine Lytwynec
25d76da4ef add disable fixme to pylintrc 2014-12-08 09:19:19 -05:00
Andy Armstrong
356b2335e9 Add base support for cohorted group configurations
TNL-649
2014-12-05 09:52:26 -05:00
Ben Patterson
f73d92bff3 Merge pull request #6064 from Stanford-Online/kluo/quality-compare-branch-option
Add compare-branch option to paver run_quality
2014-12-05 07:30:16 -05:00
Kevin Luo
2262906e0b Add compare-branch option to paver run_quality 2014-12-04 15:13:04 -08:00
Greg Price
bc41b65c18 Fix paver test_js task to work without -p flag 2014-12-03 14:55:18 -05:00
Greg Price
7d6dd565db Merge pull request #6102 from edx/gprice/js-test-port
Add paver option to specify js-test-tool port
2014-12-01 15:43:35 -05:00
Greg Price
30d4dc44b8 Add paver option to specify js-test-tool port
This includes an upgrade to a newer version of js-test-tool that accepts
an option to specify the port number.
2014-12-01 13:05:40 -05:00
Sarina Canelake
6569d7542b Clean up pep8 violation 2014-12-01 11:22:13 -05:00
Sarina Canelake
5f723e8d3c s/pylint: disable=W0703/pylint: disable=broad-except/ 2014-12-01 11:22:11 -05:00
David Baumgold
84f809849f Merge pull request #6010 from Stanford-Online/kluo/fix-diff-branch-option
Fix diff branch paver option to take value
2014-11-26 11:31:30 -05:00
Sarina Canelake
a883a9cdda Merge pull request #5925 from stvstnfrd/pep8/continuation
Fix continuation-related PEP8 issues
2014-11-25 09:03:40 -05:00
stv
4d30aedf4e Fix PEP8: E127 continuation line over-indented
for visual indent
2014-11-24 20:46:50 -05:00
Christine Lytwynec
e9e595749d fix NO_PREREQ_INSTALL 2014-11-21 14:24:14 -05:00
Sarina Canelake
9a7338e5cb Remove 'eo' artifacts when doing common/lib test runs 2014-11-20 17:14:10 -05:00
Kevin Luo
193277cb36 Fix diff branch paver option to take value 2014-11-20 13:26:10 -08:00
David Baumgold
d981f98b9c Merge pull request #5814 from edx/disable-pylint-todo-comments
Pylint: ignore TODO comments
2014-11-12 10:51:40 -05:00
stv
41390f0239 Fix PEP8: E222 multiple spaces after operator 2014-11-10 19:30:18 -08:00
stv
5677b143db Fix PEP8: W391 blank line at end of file 2014-11-10 11:00:18 -08:00
stv
fb9f324f2f Fix PEP8: E303 too many blank lines 2014-11-10 11:00:14 -08:00
stv
cf9308144d Fix PEP8: E302 expected 2 blank lines, found 1 2014-11-10 11:00:11 -08:00
Ned Batchelder
757e8f10e5 Merge pull request #5826 from edx/ned/no-which-dot-py
No need to use which on a .py file
2014-11-07 16:41:14 -05:00
David Baumgold
9902dcb10f Disable FIXME errors on paver run_quality
Not on `paver run_pylint`
2014-11-06 09:32:40 -05:00
David Baumgold
58fd091823 Disable TODO comments in paver quality only 2014-11-06 09:32:40 -05:00
Ben Patterson
493672b173 Reduce complexity in run_quality. 2014-11-04 16:01:30 -05:00
Ned Batchelder
cce2aa7fdc No need to use which on a .py file 2014-11-01 16:31:44 -04:00
Ben Patterson
9642468c98 Optimize run_quality calls
Leverages recent changes in diff-cover to reduce number of diff-quality runs
2014-10-27 07:06:58 -04:00
Ben Patterson
ff4a1755d0 Merge pull request #5650 from edx/benp/TE-555
run_quality should run both quality reports in the case of a threshold breach
2014-10-24 19:20:26 -04:00
Ben Patterson
a8c0c2b71c paver run_quality should run both pep8 and pylint diffs with -p flag
TE-555
2014-10-24 08:46:00 -04:00
Adam
7e12e40164 Merge pull request #5532 from edx/adam/disable-pycontracts-on-startup
disable pycontracts except in development environments (PLAT-122)
2014-10-22 14:17:45 -04:00
Jesse Zoldak
24f90307f7 Remove references to /tmp in tests
Including:

* Change path for mongo_metadata_inheritance to use unique temp dir
* Update SASS_CACHE_PATH with thread-safe temp dir
* Remove hard coded directory reference for grades download tests
* Remove hard coded directory reference for direct mongo test
2014-10-17 10:00:12 -04:00
Adam Palay
1aba7f81b4 disable pycontracts except in development environments (PLAT-122) 2014-10-15 13:22:24 -04:00
Ben Patterson
6bcaf61b0c Introduce new switch for paver run_quality command.
When using -p, the underlying diff-quality command will pass that
number as a value for --fail-under.

For example,
  paver run_quality -p 75

Will pass 75 into the --fail-under switch on diff-quality.

Also upgrades diff-cover in order to take advantage of this funcitonality.
2014-10-15 12:40:59 -04:00
Andy Armstrong
8627fdef32 Support adding students to a cohort via the instructor dashboard.
TNL-163
2014-10-01 09:22:31 -04:00
Ben Patterson
1f196523f3 Paver: pep8/pylint violations limit switch. Fail if limit is breached.
This adds the -l switch, wherein a violations limit is passed in. For
example:
  paver run_pep8 -l 700

Will fail if more than 700 violations are found.

By default, this limit is not enforced (i.e. if the -l switch
is not passed into the command, then a limit will not be put
into effect for that run)
2014-09-30 17:38:33 -04:00
Christine Lytwynec
b059d37b95 skipping the firefox version validation if firefox is not the browser being used 2014-09-25 16:29:21 -04:00
Ben Patterson
1d4ce68d2f Update paver bok_choy (test) commands to reflect new default vars. 2014-09-17 11:06:44 -04:00
clytwynec
3f5b829d0e Merge pull request #5147 from edx/clytwynec/auto_capture_har_on_error
enable auto-capturing of hars in bok-choy tests
2014-09-17 09:15:20 -04:00
Tim Babych
d9df388855 Merge pull request #5221 from edx/tim/sourcemaps-debug-only
Do not generate CSS source maps in production
2014-09-17 13:37:55 +03:00
Ben Patterson
fedba149d2 Merge pull request #5118 from edx/benp/paver-tests
Add tests for paver bok_choy commands
2014-09-16 20:32:15 -04:00
Ben Patterson
ae20b10608 Set paver command tests to run as part of unit test lib suites. 2014-09-16 15:20:22 -04:00
Tim Babych
12f280b62a [TNL-198] Do not generate JS and CSS source maps in production 2014-09-16 15:39:09 +03:00
Sarina Canelake
363ef77e5d LTR i18n tooling 2014-09-15 13:46:06 -04:00