Commit Graph

272 Commits

Author SHA1 Message Date
Ned Batchelder
02fa9c101d Stop adding lms/lib and cms/lib to the PYTHONPATH for pylint
These two directories are not added to sys.path when running the
application, so there is no need to add them for pylint.  When they are
added, they make it impossible to run pylint properly because
lms.lib.xblock is imported when trying to import xblock.
2015-12-09 15:07:37 -05:00
David Baumgold
58daa365cd re-enable edx.org comprehensive theme 2015-12-03 17:18:55 -05:00
Brian Beggs
89a7e42576 Merge pull request #10742 from edx/bbeggs/acceptance-test-migration-fix
Migrations will now run during Acceptance tests
2015-11-26 09:34:51 -05:00
Jim Abramson
8f4c2264a1 Merge pull request #10701 from edx/renzo/studio-programs-tab
Add Programs tab to Studio
2015-11-25 16:37:34 -05:00
Renzo Lucioni
70d57327eb Add Programs tab to Studio
Extends the Programs ConfigurationModel, cleans up Programs-related utilities and corresponding tests, and corrects caching. Uses the Programs API to list programs within Studio. ECOM-2769.
2015-11-25 14:56:50 -05:00
Brian Beggs
3d204a87f2 updated paver command to fake migrations when the DB exists 2015-11-25 13:24:08 -05:00
Jesse Zoldak
c5be59d8c7 Disable the pip version check message for uninstalls 2015-11-25 10:45:20 -05:00
Ned Batchelder
f5d0f3ff55 Remove useless pylint suppressions 2015-11-22 07:41:19 -05:00
Brian Beggs
141e0a93c7 Merge branch 'master' into dj18-release-merge 2015-11-19 13:36:13 -05:00
Christine Lytwynec
01d8a9bcad Fix paths for diff quality jshint comparison 2015-11-18 15:52:27 -05:00
muhammad-ammar
8d5f153201 Merge remote-tracking branch 'origin/release' into dj18-release-merge
Conflicts:
	common/djangoapps/util/testing.py
	lms/djangoapps/instructor/views/api.py
	lms/djangoapps/teams/tests/test_views.py
	openedx/core/djangoapps/programs/models.py
	openedx/core/djangoapps/user_api/accounts/tests/test_views.py
	requirements/edx/github.txt
2015-11-18 17:53:44 +05:00
Christine Lytwynec
9aa1f2b73f use .jshintignore instead of hardcoded directory list 2015-11-13 16:19:02 -05:00
Ned Batchelder
d3f9e1a7b2 Fix the uninstall of django-storages 2015-11-12 15:53:25 -05:00
Usman Khalid
fb9526b9cd Update expected_version. 2015-11-11 18:39:55 +05:00
muhammad-ammar
a6ec8cd2a4 add django-storages into uninstall list 2015-11-11 14:20:01 +05:00
Usman Khalid
6cb62f2697 Rebase upgrade Django to v1.8.5
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Christine Lytwynec
5d9dc32558 add custom-a11y-rules.js from edx-custom-a11y-rules 2015-11-05 16:09:06 -05:00
Christine Lytwynec
468864a314 add paver test_a11y and a11y_coverage commands 2015-11-05 13:55:35 -05:00
Ben Patterson
183fce375e Merge pull request #10508 from edx/benp/bokchoy_default_store_envvar
Allow bok-choy default_store to be controlled by env vars.
2015-11-05 10:21:42 -05:00
Ben Patterson
634d0ffd9e Allow bok-choy default_store to be controlled by env vars. 2015-11-04 09:28:28 -05:00
Ben Patterson
a1bb822c8e Generify message. User will see context in previous console line. 2015-11-04 08:40:56 -05:00
Ned Batchelder
3f79dd0b75 If NO_PREREQ_INSTALL is set, print a message to explain why 2015-11-03 17:34:22 -05:00
Ben Patterson
7eb9cecb9b Ability to run bok-choy in multiprocess mode.
This includes:
* Ability to specify number of processes to run bok-choy tests in
* A forked nose commit to get the multiprocess plugin's logging to work
* A different plugin (xunitmp) must be used for pulling together xunit results

This works by:
* Starting the various servers that are needed for the acceptance test environment
* Running the tests themselves in multiprocess mode
2015-11-03 08:19:20 -05:00
Matt Drayer
1eab25f292 mattdrayer/increment-edx-lint: Bump to v0.2.9 and address pylint/pep8 violations
* Fix paver violations to stablize edx-lint update
* Parens, Line2Long
* Fix missing docstrings
* Fix PEP8 issues
* Address PR feedback (thanks @nedbat!)
2015-10-19 10:11:59 -04:00
Justin Abrahms
86864116e1 Fix help description for test's --fail_fast flag 2015-10-13 15:17:27 -07:00
Ben Patterson
60c439c93b Merge pull request #9898 from edx/benp/fix-jshint-report-diff-qual
Use correct reports for jshint diff-quality.
2015-09-24 11:59:23 -04:00
Ben Patterson
4acde8e1fc Use correct reports for jshint diff-quality. 2015-09-23 16:13:57 -04:00
Ned Batchelder
210be884bf A faster way to clean the .pyc files
On my devstack, the old line takes about 5.5 seconds, the new line takes
about 1.3 seconds.

For background:
http://nedbatchelder.com/blog/201505/be_careful_deleting_files_around_git.html
2015-09-23 13:57:12 -04:00
Ned Batchelder
a8dd9ca99d Use the proper 'off' default for COMP_THEME_DIR. 2015-09-17 15:39:03 -04:00
David Baumgold
6ebf2515f4 Comprehensive theming
This is a squash of 38 commits ending with
5b080f979d692804452400ac5bed9b17c50b001e
2015-09-17 15:39:03 -04:00
David Baumgold
58ea785e6e Merge pull request #9660 from OmarIthawi/edraak/watch-xmodule-assets
Watch and process xmodule assets
2015-09-15 11:43:35 -04:00
Omar Al-Ithawi
82c0206ca6 Added messages after assets process steps 2015-09-15 17:22:22 +03:00
Omar Al-Ithawi
68198845ed Watch and process JS and CSS xmodule assets 2015-09-15 17:22:19 +03:00
Ned Batchelder
0dea5605c0 Disable the pip version check message
This message is being shown to people who should not be deciding whether
to upgrade pip, so it is just confusing and alarming noise.

Before:

---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
Ruby prereqs unchanged, skipping...
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.prereqs.install_python_prereqs
pip install -q --exists-action w -r requirements/edx/pre.txt
You are using pip version 6.0.8, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pip install -q --exists-action w -r requirements/edx/github.txt
You are using pip version 6.0.8, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Could not find a tag or branch '96e1922348bfe6d99201b9512a9ed946c87b7e0b', assuming commit.
Could not find a tag or branch 'b0686a76f1ce3532088c4aee6e76b9abe61cc808', assuming commit.
Could not find a tag or branch '88ec8a011e481918fdc9d2682d4017c835acd8be', assuming commit.

After:

---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
Ruby prereqs unchanged, skipping...
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.prereqs.install_python_prereqs
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/pre.txt
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/github.txt
Could not find a tag or branch '96e1922348bfe6d99201b9512a9ed946c87b7e0b', assuming commit.
Could not find a tag or branch 'b0686a76f1ce3532088c4aee6e76b9abe61cc808', assuming commit.
Could not find a tag or branch '88ec8a011e481918fdc9d2682d4017c835acd8be', assuming commit.
2015-09-08 07:18:15 -04:00
Marko Jevtic
080a44b663 (SOL-1105) Requirement for enabling search in devstack 2015-09-04 10:50:40 +00:00
Ned Batchelder
af609f103f Merge pull request #9494 from edx/ned/move-recommender-tests
Move recommender XBlock tests to openedx/tests/external
2015-09-01 10:20:24 -04:00
Ned Batchelder
f925a4af9c Move recommender XBlock tests to openedx/tests/xblock_integration
I want to make clear that these tests rely on XBlocks in other repos,
and that ideally in time we would move these tests into the XBlock repo.
2015-08-31 17:14:47 -04:00
Ben Patterson
db2ac7996d Merge pull request #9515 from edx/benp/add-jshint-diff-quality
Add jshint to run_quality.
2015-08-31 12:55:20 -04:00
Ben Patterson
91c1527189 Update circle-ci to run quality after jshint has been added to PATH.
[Also correct some comments.]
2015-08-31 11:08:56 -04:00
Ben Patterson
0683e5ff3f Add jshint diff-quality.
The platform includes jshint as a development tool, and our
builds are enforcing a limit on total number of jshint violations.
This commit will enforce no new jshint violations on a per-change
basis, much like pylint and pep8 are enforced. So with this change,
we'll be enforcing our linting requirements consistently, regardless
of type of violations.

Also on Jenkins, runs quality task after installing jshint.
2015-08-31 10:56:09 -04:00
Ned Batchelder
5a3b69ba4b Add current directory to the sass compilation path.
This is the default in 3.2, but will need to be explicitly stated in
Sass 3.4.

Also, added a --force parameter to compile_sass to make it easier to see
what warnings are current.
2015-08-28 14:52:18 -04:00
Ned Batchelder
2a0259095d Change imports from path to use the stablest name.
The old line:

    from path import path

produced pylint errors because of the baroque way that path.py defined
"path".  We tried to get them to change how they defined it, but they
deleted the name instead: https://github.com/jaraco/path.py/issues/102

(Jason then changed his mind, but this is a better way to use path.py,
it avoids the pylint error at least.)
2015-08-27 12:59:25 -04:00
Sarina Canelake
0265ce0af7 Clean i18n directories before validating 2015-08-14 10:20:08 -04:00
Jesse Zoldak
f8766891f0 No need to install prereqs twice on circleci.com 2015-08-06 13:09:06 -04:00
Ben Patterson
c9cf8b6306 Post complexity metric to a file for downstream collection.
This complexity metric is created by using radon (see changed files for additional
documentation links). This tool calculates cyclomatic complexity and provides a numeric grade
where a lower number is better (e.g., less complex).
2015-07-23 15:36:36 -04:00
David Baumgold
2ff0f636ed Revert MySQL-python upgrade 2015-07-15 09:37:04 -04:00
Sarina Canelake
b41e70f541 Remove Pylint violations deprecated-pragma, bad-option-value 2015-07-13 17:33:26 -04:00
Sarina Canelake
ba8fd1c21d Eliminate instances of unused-import Pylint violation 2015-07-13 17:33:25 -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
Brandon DeRosier
58c7f43f61 Fix the Paver run_all_servers method.
This command was broken by 85814f0b because multi-character short
options were introduced with `--asset_settings_lms` and
`--asset_settings_cms`.
2015-07-07 23:08:29 -04:00