Commit graph

708 commits

Author SHA1 Message Date
libraryupgrader 6b45f6ea82 build: Updating jsprim to 1.4.2
* https://npmjs.com/advisories/1006724 (CVE-2021-3918)

Change-Id: I25ac93c55a9d4971851c353e5b0ab284751d3a55
2021-11-30 06:25:23 +00:00
Translation updater bot 67eee4e266 Localisation updates from https://translatewiki.net.
Change-Id: I7e049d69a340b09a394ccf2784f47ca85b03c272
2021-11-22 09:03:40 +01:00
Translation updater bot db85e74196 Localisation updates from https://translatewiki.net.
Change-Id: I8cb057a33f17757447d506c448997fbd84f9a4cc
2021-11-11 10:02:54 +01:00
libraryupgrader 524f3773f2 build: Updating validator to 13.7.0
* https://npmjs.com/advisories/1004784 (CVE-2021-3765)

Change-Id: I94248f824b066d42414a8edb71c0851ca8f7bf23
2021-11-05 11:04:36 +00:00
jdlrobson 83c2b071c4 Fix loading of related articles via IntersectionObserver
For IntersectionObserver to work the element we listen on needs to
have a non-zero height.

Bug: T223844
Change-Id: I308f646670b112e42b0aaa11c438dbc5cdc5edd8
2021-11-04 12:30:11 -07:00
jdlrobson 923f594916 RelatedArticles should use IntersectionObserver rather than deprecated mediawiki.viewport module
Bug: T284251
Change-Id: Ia3139df0beb24268a1e37b85c755b0d0f62910b5
2021-10-29 14:53:20 -07:00
libraryupgrader 6ffacad442 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I19c4813849e01faea802a025f1c272120356e873
2021-10-24 12:03:47 +00:00
Reedy cb5b1baecf Use namespaced Disambiguator Hooks class
Change-Id: I1b2e6e4ac6e4612221f1f720356860c16c5aa5ee
2021-10-19 15:58:36 +01:00
libraryupgrader 07e7b5bb0b build: Updating npm dependencies
* @wdio/mocha-framework: 7.4.6 → 7.13.2
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)
* 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: I9bac58167708f2a07337d9d0350a11422753208e
2021-10-05 07:35:01 +00:00
libraryupgrader 6a6c872611 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: Iad868957534ffedf01edd4830efcda121d546fbd
2021-09-09 06:16:23 +00:00
jdlrobson f318d3acd2 Skip Selenium tests
Discussed with Edward, and there seems to be some problems with
these Selenium tests that are being surfaced in
Ie7cfa3e2b19d22086bfa1ba9c64e17760eb29ad2. Skipping on the short term.

Change-Id: Id9dc0b3bf6a619bec73e0e18915c184fe20936d5
2021-09-07 19:08:43 +00:00
libraryupgrader e9179d5577 build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: I122553868da7515bd46d8115549fa5a116ac660f
2021-09-04 21:51:08 +00:00
acald d9dccf23fd RelatedArticles uses Grunt. This package is unecessary and inconsistent with other repositories.
Uninstalled the following packages: grunt, grunt-eslint, grunt-stylelint

Removed Gruntfile.js since Gruntfile is not longer necessary

Bug: T286832
Change-Id: I4fe5ee2db080f1a2be9607f302704c8c3bf5a233
2021-08-02 20:12:04 +00:00
libraryupgrader 6d03335fb9 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.1 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I8c7d9480e97f500a851775c9444c9e21a9ca5b82
2021-07-23 20:55:02 +00:00
jenkins-bot fd1b475738 Merge "selenium: Update wdio-mediawiki" 2021-07-01 18:15:52 +00:00
Translation updater bot 3faaedb620 Localisation updates from https://translatewiki.net.
Change-Id: I9aacfc9e4e2e35e0ed8e27fedaac9f46989935e6
2021-07-01 08:09:47 +02:00
Volker E 6ea57f8060 Remove outdated browser workarounds
Linear gradients are now supported by all our basic support browsers.

Change-Id: I5563f70f45ab90be6b1073f2c0af7c56d0bd366b
2021-06-22 06:47:26 -07:00
sahil 0512e508db selenium: Update wdio-mediawiki
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.

Bug: T283597
Change-Id: I35a7b000de1f0b55d8e797e0ff35b0b3590460e7
2021-06-21 20:46:30 +05:30
sahil 3a2f197a9e selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Bug: T274579
Change-Id: I2efdb705cba8515963143d6ce025396f5c0672b8
2021-06-17 21:50:01 +05:30
Translation updater bot d10b726a1b Localisation updates from https://translatewiki.net.
Change-Id: I2583aa604ec06e0ae1464b5b318381b0077b6e38
2021-06-14 08:38:15 +02:00
libraryupgrader c9de950ffd build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I52662b22940a12c3df9559683bab69a96b1753cc
2021-05-28 03:51:56 +00:00
Translation updater bot 2befc7c9c4 Localisation updates from https://translatewiki.net.
Change-Id: I45f04fdde5410d9f6cd46202f7e34520751b2995
2021-05-27 12:06:10 +02:00
jenkins-bot 0cf8f8f2d1 Merge "selenium: Update README.md file" 2021-05-25 14:48:17 +00:00
sahil 2578a87e28 selenium: Update README.md file
Bug: T282237
Change-Id: Ia14349e8630e7a075e5f3ce8dea1572027309ef3
2021-05-24 18:00:35 +00:00
Translation updater bot 98fbe16fc3 Localisation updates from https://translatewiki.net.
Change-Id: I86432b7c51fa4740a8de46d9c8f85e254a0e525a
2021-05-24 09:55:14 +02:00
libraryupgrader 68cd3839e7 build: Updating hosted-git-info to 2.8.9
Change-Id: I8a933ce63d0f1353b3bcf0d4a2dcb68385bebda5
2021-05-21 04:47:56 +00:00
libraryupgrader 64282bce15 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.19 → 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: Ie00a61524a48d62913c31f344e9aeb7e631aec5c
2021-05-13 04:31:19 +00:00
Translation updater bot 04d3b21834 Localisation updates from https://translatewiki.net.
Change-Id: I4f953273e94cd791bb4424a58862ff24b6e6100b
2021-05-10 08:53:24 +02:00
Reedy 804debdd8e Remove RelatedArticlesFooterWhitelistedSkins
Bug: T277958
Depends-On: I34519c75bafb56b7f042d7bb95eed49b59bb01a8
Change-Id: Id4391badba750d5acc0d03c8caf0165ba5910741
2021-05-03 23:29:06 +00:00
Jdlrobson 80ef6cffb4 Hotfix: loadRelatedArticles should consider existence of container element
If undefined, the offset function will return undefined.

Bug: T281547
Change-Id: I8ae3c1ee1d259c67d597a1891af029e6192008f8
2021-04-30 16:03:28 -07:00
Željko Filipin edeb38fc58 selenium: Add JUnit reporter
JUnit reporter is required to create the XML file that Jenkins uses to
create Test Result Trend chart for selenium-daily-beta-RelatedArticles
job.

Bug: T214686
Change-Id: I6d950630a85def4987118d107c15f7c7f309488c
2021-04-29 17:02:37 +02:00
Reedy 2715c27bbe Rename RelatedArticlesFooterWhitelistedSkins to RelatedArticlesFooterAllowedSkins
Bug: T277958
Change-Id: I468a38df92347cc764e0457d4598bedfc4d92efa
2021-04-20 19:00:26 +01:00
libraryupgrader 5bf0e2906b build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I1a618cead385aa1825146844763307a1dd4c30b1
2021-04-14 03:08:32 +00:00
libraryupgrader abe3f9fab5 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: I77529de491f9327c35d2b5a8af633fe950b7d9ac
2021-03-30 06:39:22 +00:00
jenkins-bot 6782e797b3 Merge "Remove php entry point" 2021-03-14 16:10:08 +00:00
libraryupgrader b2121295bd build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I526783f28521561ee0b86f45777debc2e90d22aa
2021-03-14 11:21:13 +00:00
Umherirrender 75d8aba8a5 Remove php entry point
Deprecation notice since I9944b9186746386ee18ca28657bb547c00ae2b8c

Bug: T140850
Change-Id: I9e6b9390b9494dde35d8b8f858048ee82ebf0af0
2021-03-12 23:47:08 +01:00
libraryupgrader 10578329de build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I94e98946d08d5dd6b00a7d8290b0d296d3865b3f
2021-03-07 18:53:35 +00:00
Translation updater bot 8af943deab Localisation updates from https://translatewiki.net.
Change-Id: Ida26338ac8edcd5390fe40074c9b136fababce59
2021-02-08 08:44:18 +01:00
Translation updater bot 695aee013c Localisation updates from https://translatewiki.net.
Change-Id: Ib1c895e7fa6b827767d153d2c5868aa9a1e99865
2021-02-05 08:47:32 +01:00
libraryupgrader 7cf2c9513e 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
  The following rules are failing and were disabled:
  * compat/compat

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

Change-Id: Ifc15b65a8f6e5c4d47522d76c31912508dff4bb4
2021-01-30 09:13:04 +00:00
libraryupgrader 01661b6d14 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I779afc3da2491f14c82511384d5a00cc5be93a2c
2020-12-20 01:31:48 +00:00
libraryupgrader c48fe93ebc build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5

npm:
* ini: 1.3.5 → 1.3.7
  * https://npmjs.com/advisories/1589

Change-Id: Icc68119bdb1c5c7cc331a098f660b678e8d4354b
2020-12-11 05:51:30 +00:00
libraryupgrader aa781bbb41 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: Id6419d64fc49e5ce83a1f69c56617f747b10d75e
2020-12-06 23:59:13 +00:00
libraryupgrader e9fa5131db build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: Ife8334ee95cced50c45f1417c90e225b7ef753de
2020-11-22 09:20:03 +00:00
libraryupgrader 614e4998ca build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: Iead3ff1034e8f601736242feaee284b2702f96ec
2020-11-20 14:43:18 +00:00
libraryupgrader ec87247ad8 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).

Change-Id: I8ce8a3296a6da4c6f5c879f19d57c03998d2bdd6
2020-11-04 09:11:26 +00:00
Translation updater bot 93e6dc3e14 Localisation updates from https://translatewiki.net.
Change-Id: I00cc5b8d696fb393dc269bcd0dbc362f1fce085a
2020-10-26 08:31:53 +01:00
libraryupgrader 24f25681b4 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: I8a7592d55b5077435dbba74ee83c48c715411e33
2020-09-25 08:17:49 +00:00
Translation updater bot 68b9d4f854 Localisation updates from https://translatewiki.net.
Change-Id: Ie925ef1e10f35ed7b2df73460363bafcb0d2b894
2020-09-14 09:16:10 +02:00