Commit graph

1603 commits

Author SHA1 Message Date
Umherirrender 8097a15140 Add revisionslider-disable to DefaultUserOptions
Without the default the preference is never deleted from the database,
even it was disabled by the user.

Bug: T291748
Change-Id: Iac622126ab3f5088d8c7177cd82c006e81fbe4e1
2021-09-29 01:16:59 +02:00
Translation updater bot 09da1499be Localisation updates from https://translatewiki.net.
Change-Id: Ia38409febbd6b2bc849fc217f559dcec11e98a63
2021-09-23 12:27:58 +02:00
Translation updater bot eff69b7b62 Localisation updates from https://translatewiki.net.
Change-Id: Ia8964dc37cce12bc1f8e681673f37bd194e02386
2021-09-13 08:30:14 +02:00
libraryupgrader d95fdc6fab 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: Ibe08248f1b36bf01530b5d7a8f64331dbaebebc7
2021-09-09 11:28:22 +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
Translation updater bot 03e7891ee5 Localisation updates from https://translatewiki.net.
Change-Id: I3f8542db535d83827332820e514d3903efd19b7e
2021-08-19 08:13:49 +02:00
libraryupgrader 81ac6b3b8b build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I9e98e7c72fc2f733882eb1637805f17d2b978779
2021-08-12 10:01:45 +00:00
Translation updater bot 4ddc7a734a Localisation updates from https://translatewiki.net.
Change-Id: Ieb0968dd6f838ba1940db2198800e5566ef3482c
2021-08-06 08:13:52 +02:00
Translation updater bot 31ee7ad19b Localisation updates from https://translatewiki.net.
Change-Id: I92d6259b89adde9e9ae485569495da2852cc583c
2021-08-05 08:22:35 +02:00
Translation updater bot 21ab440ee2 Localisation updates from https://translatewiki.net.
Change-Id: I20a533143b7cdc1d34b10adccaad87b36a6ce784
2021-08-04 08:15:18 +02:00
Translation updater bot dfceac7b0c Localisation updates from https://translatewiki.net.
Change-Id: Ie2fb8bb5972ee957795248b01981a81c636e04e9
2021-07-30 08:27:59 +02: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
Translation updater bot fd445487aa Localisation updates from https://translatewiki.net.
Change-Id: I2fcae0bf09392e7f9862f9547da8436350233b5a
2021-07-09 08:07:09 +02:00
jenkins-bot 695a58d671 Merge "selenium: Upgrade WebdriverIO to v7" 2021-07-02 13:12:05 +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
Thiemo Kreuz a2bd859b29 Simplify/reformat code pieces with a lot of duplication
Change-Id: I7f933bb0d5c82858e5ab1831f9021f67e373ff69
2021-07-01 09:16:34 +02:00
Translation updater bot 66a90b6a8a Localisation updates from https://translatewiki.net.
Change-Id: I63175947b6c41e316d5c2f74650510a7a3a2da3a
2021-06-22 08:09:50 +02:00
Thiemo Kreuz c8ddf3c9b9 Fix jQuery.offset() calculation possibly failing
It turns out the jQuery documentation is incomplete:

  $( '<a>' ).offset() → { top: 0, left: 0 }
  $( '<a>' ).parent().offset() → undefined

The difference is that the jQuery set in the second example is
empty.

Bug: T282067
Change-Id: I7c19162f1a39bd529e0a74a6cc0c1ac987f33657
2021-06-21 15:35:21 +02:00
Translation updater bot 5f10d4a52b Localisation updates from https://translatewiki.net.
Change-Id: Id1982ad4c19f269eb8561a70a57fca36db4c9a2e
2021-06-04 08:37:14 +02:00
Translation updater bot 1c675288bd Localisation updates from https://translatewiki.net.
Change-Id: Ia6968a168a46023e5236b2fb6c6dea12ae4ec469
2021-06-02 14:35:48 +02:00
Translation updater bot 402a977c5b Localisation updates from https://translatewiki.net.
Change-Id: I89a48055f738f688d2e9383b48ece4c58cf4dfca
2021-06-01 08:36:22 +02:00
Translation updater bot 8c83b908f6 Localisation updates from https://translatewiki.net.
Change-Id: I582344d4412847b995141c167af071eed4c0f217
2021-05-31 08:32:38 +02:00
libraryupgrader e4a85339ae build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I74e7056ca974f5cc06898ab48e5820a88c4f65ed
2021-05-28 03:51:58 +00:00
Translation updater bot 3c59e703ce Localisation updates from https://translatewiki.net.
Change-Id: I45f04fdde5410d9f6cd46202f7e34520751b2995
2021-05-27 12:06:11 +02:00
jenkins-bot 28bd07bcb6 Merge "selenium: Update wdio-mediawiki and fix window resizing" 2021-05-27 08:39:19 +00:00
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
sahil 0a8d861b05 selenium: Update README.md file
Bug: T282237
Change-Id: I089bad7629246a93032174665ad10826c5789e53
2021-05-24 17:59:49 +00:00
libraryupgrader 322570c567 build: Updating hosted-git-info to 2.8.9
Change-Id: If43c78936c884971eff8dfd262df39aad8ee6862
2021-05-21 07:45:18 +00:00
Kunal Mehta 35d24e653e build: Use HTTPS for all dependencies
Change-Id: I213a31be0ad688d6c1919a596eb20f5a3cea238c
2021-05-19 09:24:00 -07:00
libraryupgrader d40c4e12f4 build: Updating hosted-git-info to 2.8.9
* https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: Ib9cd866dd331555fc6c23ce4cb33944525828856
2021-05-18 21:51:24 +00: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
Translation updater bot 0c625fb0a9 Localisation updates from https://translatewiki.net.
Change-Id: Ia5cf8915bd044e5ea578a4568c4c1e62455ddc91
2021-05-17 08:43:29 +02: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
Translation updater bot deec1c58bc Localisation updates from https://translatewiki.net.
Change-Id: I9e128a1dec83e59a8f9bc9832079ef9df7cb817e
2021-05-12 09:23:03 +02:00
jenkins-bot 5554d6a255 Merge "Do not set current preference value as default in GetPreferences hook" 2021-05-08 04:59:25 +00:00
Umherirrender 4105bd5c02 Do not set current preference value as default in GetPreferences hook
Set by DefaultPreferencesFactory

Change-Id: I068bbec3e318ca8ac6b2da5d50accda112c47512
2021-05-08 00:32:23 +02:00
Translation updater bot e8d18b0aa8 Localisation updates from https://translatewiki.net.
Change-Id: Ife633bdb8ab11fa9bace89f2a25bdfeb2b7f5aef
2021-05-05 08:39:06 +02:00
Volker E e39dc66484 build: Change 'stylelint' config rule to '*disallowed-list'
Available since 'stylelint-config-wikimedia' v0.10.3.

Bug: T279431
Change-Id: Ia537ebaa27935887f011f431647040f4a2357fa5
2021-04-28 02:52:08 -07:00
Translation updater bot 9a7866929d Localisation updates from https://translatewiki.net.
Change-Id: I5f120cb7f4c6a5452e2f089c6e6fb9dc2941603b
2021-04-19 08:51:26 +02:00
Translation updater bot e73dd4df6f Localisation updates from https://translatewiki.net.
Change-Id: I45fd3af2aeb277c86d8db9e262e024dafc5c3111
2021-04-15 08:44:01 +02:00
libraryupgrader 0da4b7be69 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I51b782486207ee8e1e983a3c962328e53b42a4c8
2021-04-14 03:28:41 +00:00
libraryupgrader e0ef6cbfe1 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: I78a454825a7b3f160fe107c568bc77b7b83e2ec8
2021-03-30 06:45:59 +00:00
Volker E b0b3dcbed0 styles: Remove obsolete -moz- vendor prefixed rules
Bug: T278670
Change-Id: I99d91408feb7a87162522a1207dc7469d5bdd5f4
2021-03-29 02:51:54 -07: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
Translation updater bot 2e513eaf15 Localisation updates from https://translatewiki.net.
Change-Id: I5b56767df4e6c62f74c517aa62427c2a243479ea
2021-03-10 08:32:37 +01:00
Translation updater bot 74a102fc48 Localisation updates from https://translatewiki.net.
Change-Id: I346d1fa007dda6da812b4f484e142f98a9cd0f89
2021-03-08 08:47:05 +01:00
libraryupgrader 3216dac855 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I08049e4da36bd44c9061c49f5659cbe588df5a8a
2021-03-07 19:28:41 +00:00
Translation updater bot 7374a67c96 Localisation updates from https://translatewiki.net.
Change-Id: Ie4f24e1e36d042390807cc04af1e6aa0b41b36e7
2021-02-22 08:53:31 +01:00
Translation updater bot 54bb298290 Localisation updates from https://translatewiki.net.
Change-Id: I77faea7259d3573cdd80cdf326be34070b18273e
2021-02-15 10:06:20 +01:00
Translation updater bot c1018046c4 Localisation updates from https://translatewiki.net.
Change-Id: I2fe160bb429b7eb825b33584414b6986ede150af
2021-02-08 08:44:22 +01:00