Commit graph

75 commits

Author SHA1 Message Date
Volker E 7f6f5d7824 build: Update SVGO to v3.0.2
svgo         2.8.0  →   3.0.2

Amending to new `cleanupIds` plugin name.

Bug: T339162
Change-Id: I1eedb094b0afce2167c1de7296c81c30813838e0
2023-06-14 12:38:31 -07:00
libraryupgrader aacd7dba34 build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I4ddab3580ba726a373f36cc96cd2ced448e96f39
2023-06-02 01:47:11 +00:00
libraryupgrader 50fe9c445b build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Ib27405f6bab96e7edefae53e8e48dc6bd470443d
2023-05-05 10:49:05 +00:00
libraryupgrader 9dd40a599c build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Ib973eda921fe671098e9ed4e98094d8b5da7091b
2023-04-29 09:51:30 +00:00
Vaughn Walters 8a53d056be selenium: Refactor WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode, hence changed to async.

Update npm packages: @wdio/*, wdio-mediawiki
because async mode needs at least @wdio v7.9.

Remove npm packages: @wdio/dot-reporter and @wdio/sync.

Bug: T300798
Change-Id: I053ea6b5fbfdcff279f4eb10cf2429155690bd72
2023-03-31 14:10:46 -05:00
libraryupgrader 88f6eccd11 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.0 → 0.14.0
  The following rules are failing and were disabled:
  * selector-pseudo-element-colon-notation

Change-Id: Ic78a5aa7fca2d917054eb26b5c8d46c008870484
2023-03-22 21:18:23 +00:00
Vaughn Walters 8461d956d4 selenium: Remove webdriverio npm package from the Revision Slider extension
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: Id772e7e1438fb7ac7ff3c5e90dcff5a94783d13d
2023-01-13 11:09:50 -06:00
libraryupgrader 84b939292c build: Updating grunt-stylelint to 0.18.0
Change-Id: If26dfcedc2607127aa9456b296b0c775f9f5c438
2022-11-13 08:43:53 +00:00
libraryupgrader 7a3144e084 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Ied496cc652a874860e734fe9885e76cfdb1cf3d3
2022-10-07 05:01:14 +00:00
libraryupgrader efa624bbc6 build: Updating grunt to 1.5.3
Change-Id: Ibcb4a1e3c0cc2c9e34666fecfd61703ee1394330
2022-05-27 00:23:42 +00:00
libraryupgrader 74ea0a4ce2 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt: 1.4.1 → 1.5.2
* stylelint-config-wikimedia: 0.12.2 → 0.13.0
* wdio-mediawiki: 1.1.1 → 1.2.0
* async: 0.9.2 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.6 → 3.1.8
  * https://github.com/advisories/GHSA-phwq-j96m-2c2q
* jake: 10.8.2 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* json-schema: 0.2.3 → 0.4.0
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* jsprim: 1.4.1 → 1.4.2
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* mocha: 9.1.2 → 9.2.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.3.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* node-fetch: 2.6.1 → 2.6.7
  * https://github.com/advisories/GHSA-r683-j2x4-v87g

Additional changes:
* Set `name` in package.json.

Change-Id: If4b981e1fc37e9572864f51825caa96c889b4b3f
2022-05-21 11:26:40 +00:00
Ed Sanders 4a44f8c2e5 build: Update devDependencies
Change-Id: I0bbd117b2b3ebdfee8deb7ed38b409a561f570d5
2022-03-17 22:55:02 +00:00
Volker E 91ea0fcc92 build: Update 'svgo' to latest v2.8.0
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.

Change-Id: Iac535fc7c3284de1ba495a483f9d0161a4dc0927
2022-02-27 03:01:09 -08:00
libraryupgrader 3c46c571be build: Updating npm dependencies
* @wdio/mocha-framework: 7.4.6 → 7.13.2
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)
* nth-check: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/5101 (CVE-2021-3803)
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I1796f96f3110821fe0627211951a4a9b312c7b43
2021-10-05 07:45:42 +00:00
libraryupgrader 6ae0653003 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: I95dfc184629b92b85a82173473a55155ed1f3698
2021-09-04 21:55:16 +00:00
libraryupgrader 6b4edb0efd build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* svgo: 2.3.0 → 2.3.1
  * https://npmjs.com/advisories/1754 (CVE-2021-33587)
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: Ia723f76e78bfbe616d03886ba526be72b8d094fe
2021-07-23 10:25:21 +00:00
sahil 45b95f90f3 selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Also adding a fallback for the case, that the slider does
not open as expected.

It seems, that the update is causing some issues when
waiting for the module state. Waiting for the lazy module
in DiffPage.ready() should make sure, that the event to
trigger the opening of the slider is in place. This seems
to fail sometimes.

Bug: T274579
Change-Id: Icd597fc5aaa857879a8af310166867d433ba0678
2021-07-02 17:36:55 +05:30
Adam Wight 40de993f4c selenium: Update wdio-mediawiki and fix window resizing
wdio-mediawiki v1.1.1:
- Includes wdio-defaults.conf.js file that vastly simplifies wdio.conf.js.
- Replaces @wdio/spec-reporter with @wdio/dot-reporter.
- Introduces video recording.

Some part of the new setup seems to influnce they way how resize is applied
to the window. The fix makes sure it works as expected.

Bug: T283597
Change-Id: I20697815591243367b5a8bdd1cd1cc173a1ddc77
2021-05-27 10:17:30 +02:00
Volker E 5557f7d4ee build: Update SVGO to latest v2.3.0 and re-crush SVGs
SVGO v2.x changed configuration to JS, amending configuration.
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.

Bug: T278656
Change-Id: I71621ebdd0c060a4252780e1ba387d707ac81eab
2021-05-17 17:45:58 -07:00
libraryupgrader bcdbec52a8 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.20 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 2.8.8 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* ua-parser-js: 0.7.21 → 0.7.28
  * https://npmjs.com/advisories/1679 (CVE-2021-27292)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I414aca6e82f401dec31a1358ea861b30105d73c8
2021-05-13 05:42:58 +00:00
libraryupgrader 0da4b7be69 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I51b782486207ee8e1e983a3c962328e53b42a4c8
2021-04-14 03:28:41 +00:00
libraryupgrader f0e95b2911 build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I5d3bc67a9211350f8256e59aacce4ae7e4154573
2021-03-14 11:47:24 +00:00
libraryupgrader 3216dac855 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I08049e4da36bd44c9061c49f5659cbe588df5a8a
2021-03-07 19:28:41 +00:00
libraryupgrader 6bbbf17aaa build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I741732764220eaba0b8a1356e793ce361d76c248
2021-01-30 09:26:11 +00:00
libraryupgrader 8ce9334583 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
  The following rules are failing and were disabled:
  * unit-disallowed-list

Change-Id: I75146f02a35e71063d2171d10d51774ade00222e
2020-11-22 09:27:59 +00:00
Ed Sanders 49d6f1ef8f build: Update eslint-config-wikimedia to 0.17.0
Fix instances of variable shadowing.

Change-Id: I9f8d4dcab8cb400d04600e7bb543ddda2705d1df
2020-09-11 16:28:52 +01:00
WMDE-Fisch 6d82ab303c build: Update wdio to 6.3.6
Change-Id: I9f08d11684940ccdeeb467d66b7ee0ec4be4c9b8
2020-09-01 13:44:18 +02:00
libraryupgrader b9951a31a3 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: I8961dd6a72fbbae3c659d411f78c1c7432b8dd49
2020-07-23 21:54:36 +00:00
vidhi-mody 94286fd79d Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T250601
Change-Id: Ia2dea1cda3efc5ac43f84d606f718eebce81e046
2020-07-23 01:06:18 +05:30
libraryupgrader 82780a8c0d build: Updating grunt to 1.2.1
Change-Id: I285f3cd759ff57422e3f501eb35cbe511d48c365
2020-07-18 22:23:02 +00:00
libraryupgrader 78ed4ab547 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: Iec24546623f311dbfdc5e21009190f4940e232ca
2020-07-16 02:28:18 +00:00
Ed Sanders eaa7966710 build: Update eslint-config-wikimedia to 0.16.1
Mostly documentation style fixes

Change-Id: I75262aead377f7f41931de44c5208b7b7d06930d
2020-06-16 15:13:36 +01:00
vidhi-mody 94b952e78a Selenium: Update to WebdriverIO v5
Update NPM packages: webdriverio, wdio-mediawiki.
Update ESlint configuration.

Replace NPM packages:
- wdio-mocha-framework with @wdio/mocha-framework.
- wdio-spec-reporter with @wdio/spec-reporter.

New NPM packages: @wdio/cli, @wdio/local-runner, @wdio/sync.

Replace:
- `browser.element` with `$`.
- `chromeOptions` with `'goog:chromeOptions'`.
- `password` with `mwPwd`.
- `username` with `mwUser`.
- `waitForVisible()` with `waitForDisplayed()`.
- `moveToObject()` with `moveTo()`.

Bug: T250601
Change-Id: I2c2e79800433eb964368d932954def69af936195
2020-05-24 01:21:04 +05:30
libraryupgrader dc1463dc9f build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
  The following rules are failing and were disabled:
  * mediawiki/class-doc
  * mediawiki/valid-package-file-require

* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I2b97bc8da27c435baa9ab4ff8c248d63094b6077
2020-04-22 19:01:40 +00:00
jenkins-bot 81a98350dd Merge "Add SVG minifier and minify files" 2020-04-20 15:11:30 +00:00
WMDE-Fisch fa9991ef99 Add SVG minifier and minify files
Following the standard in the minifier settings we use the SVG
is not inlined anymore. The files got still smaller and I guess
it's fine do leave them like this to meet the standards.

Change-Id: Icc673c5d4811bf707031a27cff78d48aab8f1fa1
2020-04-20 13:58:03 +02:00
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