Commit Graph

373 Commits

Author SHA1 Message Date
Robert Raposa
99115b9a9f Adjust safe templates thresholds. 2016-08-26 11:45:37 -04:00
Brian Jacobel
cc857c6b32 Lower ESLint thresholds post-autofix 2016-08-09 12:24:22 -04:00
Ned Batchelder
aaef18ecd7 Remove obsolete scripts 2016-08-05 10:42:40 -04:00
Brian Jacobel
a32fd27d60 Replace JSHint ignore directives with ESLint ones 2016-08-04 16:22:59 -04:00
Calen Pennington
bc20a37c2b Simplify how shards are selected in CI 2016-08-03 16:23:02 -04:00
Ned Batchelder
b4e2af3aae Lower the pylint threshold 2016-08-03 12:45:24 -04:00
Brian Jacobel
0e81e0cebc Merge pull request #13146 from edx/bjacobel/eslint
Remove JSHint dependency, config and paver/CI integration
2016-08-03 12:28:40 -04:00
Albert St. Aubin
8753818558 Added documentation and example json file
Updated README with greater detail

updated README

PR update

PR update (squash)

README updated with minor PR updates
2016-08-02 11:43:26 -04:00
Brian Jacobel
017dbffd5e Remove ESLint from build scripts and script tests 2016-08-02 10:15:53 -04:00
Albert (AJ) St. Aubin
153843d784 Merge pull request #13113 from edx/aj/TNL-4950_xBlockCounts
Script to collect data on the xblock usage within the edx platform, T…
2016-08-01 12:35:36 -04:00
Albert St. Aubin
0d102caa3f Script to collect data on the xblock usage within the edx platform, This script uses the Course block API and returns CSV reports
Updates for Pep8 compliance

Fixed issues found while testing with greater datasets and found during report review

PR updates (Squash)
2016-08-01 11:01:15 -04:00
Brian Jacobel
af76273393 Install and configure eslint and eslint-config-edx (alongside JSHint for now) 2016-07-29 13:27:55 -04:00
Calen Pennington
2e5936f0f5 [TE-1511] Make --with-xunit(mp)? and --xunit(mp)?-file match in all test suites 2016-07-08 09:48:51 -04:00
Diana Huang
f4cf618154 Merge remote-tracking branch 'origin/release' into merge-release-into-master 2016-06-29 19:51:14 -04:00
Diana Huang
48726b71de Make safe-linter happy. 2016-06-29 17:13:07 -04:00
Calen Pennington
b31d1cb8ab Merge pull request #12831 from cpennington/xunit-only-in-ci
Clean up paver arguments
2016-06-28 16:26:47 -04:00
Jeremy Bowman
225768ac2d Merge remote-tracking branch 'origin/release' into release-2016-06-28-conflict 2016-06-28 13:04:26 -04:00
Calen Pennington
2690c044c6 Only generate xunit files during CI builds, so that pudb works during development 2016-06-28 10:46:53 -04:00
Chris Rodriguez
023147406e Adjusting thresholds 2016-06-28 06:05:40 -04:00
Douglas Hall
61d5fdcbd2 Bump safe template linter thresholds to fix failing builds 2016-06-28 06:05:39 -04:00
Calen Pennington
ef89c75b19 Deprecate paver arguments with '_' in them in favor of versions with '-' 2016-06-27 15:21:28 -04:00
Calen Pennington
206cedf55e Deprecate extra_args in favor of just passing through all unknown options 2016-06-27 15:19:50 -04:00
Douglas Hall
826d791bca Bump safe template linter thresholds to fix failing builds 2016-06-24 15:15:55 -04:00
E. Kolpakov
2b8c02a759 Discussion coffee files to JS 2016-06-23 11:05:36 -04:00
Calen Pennington
08fd3ac57c Enable multiprocess tests on LMS tests in jenkins 2016-06-20 08:30:22 -04:00
Robert Raposa
f7042d748d Reduce linter thresholds. 2016-06-13 09:42:00 -04:00
Brian Jacobel
6589139e29 Merge pull request #12266 from edx/bjacobel/requirejs-sync
Load requirejs bundles synchronously
2016-06-08 13:49:18 -04:00
Renzo Lucioni
835c9cc957 Prevent dumpdata from dumping api_admin's Catalog model
The Catalog model is unmanaged, meaning no corresponding table exists in the database. When dumpdata tries to dump this model, it chokes because there's no table to read from.
2016-06-01 14:21:00 -04:00
Brian Jacobel
7c7ab81531 Add require_module_async to safe template linter js context trigger 2016-06-01 12:07:17 -04:00
Robert Raposa
ff862612da Fix false positives on javascript_contact_html. 2016-05-27 13:23:54 -04:00
Calen Pennington
2aa9967189 Merge pull request #12386 from cpennington/cale/concurrent-unit-tests
[EV-12] Run LMS unit tests concurrently on jenkins
2016-05-19 14:25:24 -04:00
Robert Raposa
94adf7fb74 Merge pull request #12490 from edx/robrap/linter-mako
TNL-4566: Lint Mako templates outside of expressions
2016-05-18 16:17:10 -04:00
Robert Raposa
cf3ef8aae3 Enhance safe template linter.
- Lint directories and files in sorted order.
- Lint python blocks in Mako.
2016-05-18 14:23:57 -04:00
Calen Pennington
09dc884c38 Isolate databases between test processes 2016-05-18 14:10:28 -04:00
Andy Armstrong
a7e754dd9a Exclude deleted files from safe template linting 2016-05-18 12:52:21 -04:00
Christine Lytwynec
73806beeec Merge pull request #12478 from edx/clytwynec/ac-367
Add skip_clean option to pa11ycrawler
2016-05-17 09:05:21 -04:00
Christine Lytwynec
0f90b92775 Add skip_clean option to pa11ycrawler 2016-05-16 11:12:03 -04:00
Robert Raposa
06505c45ba Update thresholds. 2016-05-13 15:12:55 -04:00
Robert Raposa
143a22fb9f Enhance Jenkins integration of safe templates take 2
- Handle case when no files are linted
- Skip deleted files for safe commit script
- Add verbose options for safe commit
2016-05-13 09:59:23 -04:00
Christine Lytwynec
510eaa3c95 Merge pull request #12423 from edx/clytwynec/ac-367
Speed up pa11ycrawler runs on Jenkins, Update pa11ycrawler to v0.0.2
2016-05-12 13:16:19 -04:00
Christine Lytwynec
f68747ec96 Speed up pa11ycrawler runs on Jenkins, Update pa11ycrawler to v0.0.2 2016-05-12 11:33:58 -04:00
Robert Raposa
5ea529ae39 Revert: Enhance Jenkins integration of safe template linting 2016-05-11 09:56:23 -04:00
Robert Raposa
afdec6a99b Enhance Jenkins integration of safe template linting
- Add rule based thresholds
- Add safecommit to Jenkins
2016-05-10 15:50:45 -04:00
Robert Raposa
73966d1a05 Add output of violation counts by rule 2016-05-10 15:35:57 -04:00
Calen Pennington
ccaafce05b Merge pull request #12205 from cpennington/disable-caching-in-tests
Disable caching in LMS tests
2016-05-06 15:22:48 -04:00
Jesse Zoldak
d7e9db66c9 Lower the jshint threshold to 7550 2016-05-06 09:56:23 -04:00
Calen Pennington
e87a8a0de3 Make tests run in verbose mode 2016-05-04 14:51:31 -04:00
Robert Raposa
60d11bf2fd Fix Python false positives with AST.
- Use AST to parse Python.
- Refactor Mako to use Python linting.
- Add optional verbose script argument.
- Skip tests.py files when linting.
2016-05-03 15:17:09 -04:00
Robert Raposa
fb13dc6499 Move MakoLinter. 2016-05-02 05:04:51 -04:00
Robert Raposa
1dfe0e8a4e Merge pull request #12254 from edx/robrap/linter-javascript-context
TNL-4427: Add additional JavaScript context tags
2016-04-28 18:00:20 -04:00