Commit graph

39 commits

Author SHA1 Message Date
libraryupgrader afdafc3b51 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I841de635ca0ccbc7bef83e889ebf856817439c09
2020-04-19 17:23:24 +00:00
libraryupgrader aeb4a2eb0d build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: Ic5db7b89171152759f85a9500bd35699a30e07a9
2020-03-19 08:52:52 +00:00
libraryupgrader d448f5785a build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: Ife898bd7bb66d7c6e1ea204d6d3cc7a681e87be6
2020-02-21 01:50:36 +00:00
libraryupgrader a13d8b709e build: Updating npm dependencies
* stylelint-config-wikimedia: 0.7.0 → 0.8.0
* grunt-stylelint: 0.12.0 → 0.13.0

Change-Id: I542ba1cbf70c109222990a34273ee81305ba8a95
2020-01-10 01:33:21 +00:00
Ed Sanders 28bc463836 build: Update linters
Change-Id: Ia316dd09b6d6b7452610ff2b8816a146a3bb48a4
2019-12-11 13:42:51 +00:00
WMDE-Fisch 8c9632385d build: Update dependencies and make them pass
Change-Id: Ia7764d44d7fbc8bf5c03e80887b58031a0de5d86
2019-10-23 17:46:39 +02:00
Željko Filipin 0cf9ebaa68 Selenium: make it possible to run daily Jenkins job targeting beta cluster
Add missing selenium-daily NPM script.

Bug: T199113
Change-Id: Ic98557f7217c3757c724bc28439cd307027c622e
2019-10-04 17:03:58 +02:00
libraryupgrader fbedfdba57 build: Updating npm dependencies
* js-yaml: 3.13.0 → 3.13.1
  * https://npmjs.com/advisories/813
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* wdio-mediawiki: 0.3.0 → 0.4.0

Change-Id: Ia3b36306bc2d469bed35c9ac47f51be5aa4a7737
2019-08-03 04:45:38 +00:00
WMDE-Fisch a4df17a922 build: Upgrade stylelint-config-wikimedia from 0.5.0 to 0.6.0 and make pass
Change-Id: I1db434584d6927cf0322fdbd6253ebb1846537c0
2019-07-03 12:14:05 +02:00
WMDE-Fisch 1005daa567 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: Ia73f0db8866bbe3c6583e93262d9f2c27a015887
2019-06-04 09:06:35 +02:00
jenkins-bot 6f667e6143 Merge "Add node selenium tests for revision highlight feature" 2019-04-11 16:29:23 +00:00
WMDE-Fisch a2ca2c031e Add node selenium tests for revision highlight feature
The patch adds a first package of node selenium tests including
test for the user and tag filters.

The classes for user- and tag-rows were re-added to have better
access via selectors.

Change-Id: I8c53d9c923820e177d83ee900cee08e93cd3f65b
2019-04-11 17:58:53 +02:00
James D. Forrester 153ecb8990 build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
Change-Id: I5a5aede4114b0e6d370904a08f10b327b4968a2d
2019-04-04 00:56:01 +00:00
Umherirrender 8dc39ccf86 build: Set private: true in package.json
The package.json is only for build, not to publish the package
Remove license, name, repository, version and homepage, because that is
not needed on private packages

Change-Id: I0819d00ea2effc9edf3f35dc6e74996f212f1d43
2019-02-16 15:48:40 +01:00
Ed Sanders 57f9876e27 build: Update eslint-config-wikimedia to 0.10.1
Change-Id: I8aeddc384d25318e8618bb617884205f1c0c1f00
2019-02-10 16:54:28 +00:00
Ed Sanders 6ea28c8cdc build: Update devDependencies
Change-Id: Ic278699f631ddc08243ceb68678c0715a19c4304
2018-12-04 18:05:18 -05:00
Ed Sanders 351bdcfae7 build: Update linters
Change-Id: If21c9dbeba945d54c6bcf9b6e4edd586c5b411ca
2018-09-13 21:58:39 +01:00
Kunal Mehta f94fa6b851 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I3e7a12a224f4c1563a467eeff74ba0f118aa8f00
2018-03-02 15:35:31 -08:00
WMDE-Fisch 17ba6fe068 Update eslint and stylelint
Change-Id: I6c316a927427b7ab5f4f47ae5e35bddf5deac419
2018-01-20 19:18:48 +00:00
Ed Sanders 3ceff1f45b build: Update devDependencies
Change-Id: I61da01c4416a2f32b4cfa522153284c455c91e6a
2017-10-27 12:07:25 +01:00
Antoine Musso aa5d550e7f Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:35:02 +02:00
WMDE-Fisch cf5d602a53 Update eslint and fix issues
Change-Id: I0e3ad763398430608c30bb22741a57c81b2b7062
2017-07-14 12:28:45 +02:00
WMDE-Fisch 323984103e Update to banana 0.6.0
Change-Id: I633de137917cfb2e5e50f40a215e31aaf3579016
2017-05-31 16:11:46 +02:00
Ed Sanders c6465dee07 build: Update eslint to 0.4.0 and make pass
Change-Id: I6e3e2f30615996c57650127cde9738d3a6dd9ae5
2017-05-04 21:06:08 +00:00
Umherirrender 5202e7ef2b Use tabs in json
Change-Id: If29e145a10e39151a6febca23df2b298aa2b2b51
2017-03-25 10:56:02 +01:00
James D. Forrester 8f34233c69 build: Bump stylelint and make pass
grunt-stylelint              0.6.0  →   0.7.0
 stylelint-config-wikimedia   0.3.0  →   0.4.1

Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
2017-02-17 16:22:57 -08:00
Leszek Manicki 4705c81e58 Pin eslint version
Same as core did in I1c76dacd0950100825b85a3791f74c1f6d5477d9

Change-Id: Id977f752afd9a5bf48f4f5e40c7116df816e0de4
2016-12-21 08:56:07 +01:00
James D. Forrester 3269f791f5 build: Bump eslint-config-wikimedia to v0.3.0 and make pass
Change-Id: I774e05c4393eca8b4719f335a124efcb3d2a6dd5
2016-11-15 16:48:38 -08:00
Ed Sanders 08aef9f5f4 Update linters and remove redundant ones
eslint covers jshint and jscs rules.

Change-Id: Ieff7a050021e504575a774c7c9ba987b23380294
2016-10-13 12:05:10 -07:00
Leszek Manicki 8e7fe2434d Add eslint, to be used instead of jscs and/or jshint
First I jumped on replacing both jscs and jshint with eslint but
it might be premature decision. Although linting with eslint
is possible (like in there is wikimedia config for eslint)
it is still not clear should it

But in case the change happens we will be ready.

Apart from config stuff this changes few bits spotted by eslint:
improves some indentation, removes weird spaces, completes some
doc blocks, changes IIFE forms in tests. These changes do not
seem controversial.

Change-Id: I9f8bf0f5745da8e662685f4cd879ea4baa609c01
2016-09-05 09:47:11 +02:00
Leszek Manicki 98150d9904 Add licence, home page URL and repository URL to package.json
Change-Id: I7dac5a5d5e62cb89c093f91c105bd0a5aa5115df
2016-09-01 14:28:55 +02:00
Leszek Manicki 9e4320cd31 Bump up the version in package.json
extension.json already states 1.0.0

Change-Id: I9265b96b932d3ebb88af201f724ee13aaab67e76
2016-08-11 09:31:05 +02:00
Ed Sanders 7b463c52eb Replace csslint with stylelint and make a pass
Change-Id: I7f3d1cd867399fa23b087daa89970ebe305c46d9
2016-06-30 21:21:28 +01:00
Ed Sanders 30ae1431c6 Bump linting packages and sort
Change-Id: I71166bf48b31144689a3bc01d465d34188e99f84
2016-06-30 21:10:38 +01:00
Brian Wolff 39d8d9229a Make files not executable
I know it doesn't matter, but it was kind of bothering me.

Change-Id: Iae9f8b17a3fb5ced362dc2da95e67e20db8af5a5
2016-06-02 13:48:09 +00:00
WMDE-Fisch f4fb473539 Add csslint for CSS codestyle checks
Rules taken from the Echo extension.

Change-Id: I72c89be42e7b09486780159f62f022399940a1b1
2016-05-19 13:10:57 +02:00
addshore 79cfbf8199 Update grunt npm packages
grunt 1.0.1 no longer also needs grunt-cli

Change-Id: I2b542884d265630b19408258a1f496e0338e85ec
2016-05-02 10:47:32 +01:00
addshore 5496370086 Add npm test script
Bug: T133282
Change-Id: I421c127077665614400efd0e62dfd1171d596b52
2016-05-02 10:42:57 +01:00
Jakob Warkotsch 23b5b2f112 Initial commit.
This turns the prototype code of the Revision Slider into a MediaWiki
extension.
With this extension enabled the slider should appear on diff pages
already but it won't actually show diffs when adjusting the slider
pointers.

Things that changed so far in the prototype JS code:
- pulled out the rainbow function and made it use Math.floor instead of
 the ~~ binary operator
- pulled out the API request that fetches the revisions into its own
 module
- cleaned up and documented some parts of the code

The code is still very much WIP and JSCS still has a couple of
complaints.

Bug: T132576
Change-Id: I2e22365f3b93a76d5b8d3997242b5fed996c6d78
2016-04-19 16:35:37 +02:00