Commit graph

43 commits

Author SHA1 Message Date
libraryupgrader 786af8fa7d build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: I96f6b9e99fb993915859a316508e92e90dfde801
2020-01-30 03:03:18 +00:00
libraryupgrader dfb3995a90 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 28.0.0 → 29.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.MissingParamTag

npm:
* eslint-config-wikimedia: 0.11.0 → 0.15.0
  The following rules are failing and were disabled:
  * no-jquery/no-parse-html-literal

* grunt-eslint: 21.0.0 → 22.0.0
* grunt-stylelint: 0.10.1 → 0.13.0
* stylelint-config-wikimedia: 0.6.0 → 0.8.0

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: Iab538420d73bbbebfd05cf815ab06773f16da8da
2020-01-15 06:11:54 +00:00
libraryupgrader 01ea40f006 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I07e956e5fcd4a5f1897570dbe9eee010dc0962f4
2019-12-22 01:13:30 +00:00
Umherirrender ae1862edba build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: Ic01a5c1b168daff1d778a4db11bf554f585336e5
2019-11-04 19:03:07 +01:00
James D. Forrester 508223b06e build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I44da6771b7642b73e0410882d6661463d04f831c
2019-10-11 11:26:08 -07:00
libraryupgrader 4cdb540f75 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0
* mediawiki/minus-x: 0.3.1 → 0.3.2

npm:
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746
* grunt-banana-checker: 0.7.0 → 0.7.1

Change-Id: I9728f2441f195fd1473f0eb8bc0cbaf28c505cfc
2019-07-19 11:57:33 -07:00
James D. Forrester e1490b3f38 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I091a1caec5ccf141b04abb210e87987e17d78e58
2019-07-09 14:15:54 -07:00
libraryupgrader 72d37219e6 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I636ad49a31be0433519d3e8338b772742b8e3ea6
2019-06-10 10:33:19 +00:00
James D. Forrester 1961f3ac94 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I9f30135be10f0f4d6b085fa68cdde6b481edf268
2019-05-19 12:51:24 +00:00
Umherirrender 495c8db323 Add phan
Change-Id: I94227b61dd788ffaaf05da5c1725f1b9708575a3
2019-04-25 20:49:07 +02:00
libraryupgrader 9918d2f696 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I8020f5480dcc5f5a731ba629a878b0c853d60465
2019-02-07 03:31:29 +00:00
libraryupgrader b203a142f7 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I3e5dc39c5edf917bfb586b47a430b669a4660fa8
2018-11-16 08:26:25 +00:00
libraryupgrader 37beb7dfae build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I327f22412a6ad54eae8d5c70e0a4e751c5022a3c
2018-09-08 05:21:57 +00:00
libraryupgrader c199126902 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: Iecc747be0ae2f2c4c3c6b4cf481d5bd5fc4a0bc1
2018-09-03 14:19:23 +00:00
libraryupgrader c46c56ae65 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I803ea3fb34cc09e35f584512aef887fbb9d42dd8
2018-09-01 13:45:56 +00:00
libraryupgrader fbe7003f21 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I7fd1fec50544b0b29aa2b9fa03bdbe1b33cf761b
2018-08-19 15:55:19 +00:00
Kunal Mehta 34a18a4c99 Configure phan-taint-check-plugin
The plugin checks and flags potential security issues (XSS, SQLi, etc.)
using static analysis.

See <https://www.mediawiki.org/wiki/Phan-taint-check-plugin> for more
details.

Bug: T201219
Change-Id: I609fcfe54f635199b4228773b6338fe88572b68d
2018-08-03 21:30:18 -07:00
libraryupgrader 163b7bdc15 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I94d6c6459dec2cf7fd940ef13b1b70a09d1e763a
2018-07-27 15:36:16 +00:00
libraryupgrader e11bfc4b46 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I3f583a53f094b267a6caf9de41578fcbfb04db01
2018-05-26 06:06:24 +00:00
libraryupgrader 365b7be528 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I5836f4ad01e155e3343191c151527927a2223415
2018-04-14 05:41:32 +00:00
libraryupgrader 77df83cc25 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
Change-Id: I794870ab03883c395a48ea8dd44469103fb676e1
2018-03-29 05:25:34 +00:00
libraryupgrader d16d67a108 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Ib8b0e8a0fc9d23fc0cd188690cd3781958e9afe3
2018-03-10 03:25:19 +00:00
libraryupgrader b15b709eae build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I51e48d77f4f788c91e956b8e944fc1896edf4e7f
2018-02-25 10:49:07 +00:00
libraryupgrader 7eb490fe1a build: Updating mediawiki/minus-x to 0.3.1
Change-Id: If133d7d47c10e66545aadecb683431914968434e
2018-02-18 07:56:25 +00:00
libraryupgrader 754f6f8102 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I69a260376a1952b4e9491a4d15ed66bca88f06b6
2018-02-15 13:56:35 +00:00
libraryupgrader abacaef616 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: I484254e724786f0f023a829dfe50a1e4781c102b
2017-12-30 02:27:33 +00:00
libraryupgrader 503b642a02 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: Ieaed565066ddd9ab0bca5577bc728a61886ae565
2017-12-11 06:53:41 +00:00
Kunal Mehta f0d6da4ae0 build: Adding MinusX
Change-Id: Ia17c357e36ebdb41527cb5b09fc71af0289a150f
2017-11-11 19:39:09 +01:00
Umherirrender d0141fb5d3 build: Always exclude node_modules
Change-Id: Ie675ece6c04091051073a09ede5fb5d86a1075be
2017-11-11 18:40:57 +01:00
libraryupgrader 93a3d9c0db build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: Ia8b317d8b9339bbc8c2fd0de1a51344c86064f9b
2017-10-21 04:29:21 +00:00
libraryupgrader f4708684af build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I2e0c054f7884e5d36ac1640eeb3a2f5d95a767b2
2017-09-24 05:32:20 +00:00
libraryupgrader f93b0ceedb build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.WrongCase

Change-Id: I0d4bdc84162590e8051ed9ddadbb54245af6255d
2017-09-01 04:56:20 +00:00
Kunal Mehta c5dcdea9dc build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I431c63629769d7cb941288cc67aa77fe9b78001c
2017-08-11 00:25:34 -04:00
Umherirrender 548392824d build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: Ie05b9ddc3e351abf4b2b199529b714766055d161
2017-07-26 22:59:51 +02:00
Kunal Mehta 8519e02eb7 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I35cd178e3825a83f1df9d6dd09b21a543cd8b9cd
2017-07-01 01:41:23 -07:00
Kunal Mehta 87b7254eaf build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.FunctionComment.Missing.Public

Change-Id: I591fd0cd60147b9f5ddd3d1b9e74f79a0bb3f595
2017-06-20 00:20:19 -07:00
Antoine Musso 1625f53b9d build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:51:43 +02:00
Kunal Mehta b47b7432f9 build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: Idec1615851f319aa63963cc15ec58a3123039f42
2016-05-27 18:23:53 -07:00
Kunal Mehta d8329fdbb1 build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
Also added "composer fix" command.

Change-Id: I3de1f2562898b76b56f5e7aa36b61088331ff52c
2016-05-09 16:59:15 -07:00
Kunal Mehta 5a26ceec1d build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I7f46747f4f20187e40a9fc6c4478d2aae13cc2f1
2016-01-05 10:39:59 -08:00
Kunal Mehta 027f2d4bac build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.5.0 → 0.5.1

Change-Id: I05d53a56646b8979d3f779b2d4bc388bfdb794df
2016-01-03 18:51:59 -08:00
Kunal Mehta 81fcc48fa9 build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.4.0 → 0.5.0

Change-Id: I92d28f0712b0a3447cc1dd0e2a8eac36e3a9916a
2015-10-23 15:32:25 -07:00
Sam Smith cd055fde89 Add extension boilerplate
Copypasta the following files from the BoilerPlate extension [0]:

* package.json
* Gruntfile.js
* .jscsrc
* .jshintrc
* .jshintignore
* composer.json
* phpcs.xml

Add the following supporting files:

* .gitignore
* composer.lock

Finally, fix the existing coding standard violations.

[0] https://github.com/wikimedia/mediawiki-extensions-BoilerPlate

Change-Id: I30c6cf9e0a637bab5d8f47790b9af57183b6e6fb
2015-10-07 15:48:26 +01:00