Commit graph

193 commits

Author SHA1 Message Date
libraryupgrader e8c063387f build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I9ae826b1c54fd52db2a88006e26100bc08418589
2022-10-23 07:42:26 +00:00
Translation updater bot 6977a62ee6 Localisation updates from https://translatewiki.net.
Change-Id: I04c81f364f326ddd50b6f6f93469e44b49c45d55
2022-09-05 07:15:57 +02:00
Translation updater bot cca6212908 Localisation updates from https://translatewiki.net.
Change-Id: If068fa9bbd3e3da6996cda2c05e88f0a15518b05
2022-07-11 07:21:59 +02:00
libraryupgrader 8124e9531e build: Updating npm dependencies
* grunt: 1.4.0 → 1.5.3
* nomnom: 1.8.1 → 1.8.1
  * https://github.com/advisories/GHSA-cf4h-3jhx-xvhq
* underscore: 1.6.0 → 1.6.0
  * https://github.com/advisories/GHSA-cf4h-3jhx-xvhq

Change-Id: I549b250b015628736bd84c39087cd9010d485b97
2022-05-22 14:28:49 +00:00
libraryupgrader 3c2ae6a741 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
  * MediaWiki.Usage.StaticClosure.StaticClosure
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon

npm:
* ajv: 6.10.2 → 6.12.6
  * https://github.com/advisories/GHSA-v88g-cgmw-v5xw
* ansi-regex: 5.0.0 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* nanoid: 3.1.23 → 3.3.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nomnom: 1.8.1 → 1.8.1
  * https://github.com/advisories/GHSA-cf4h-3jhx-xvhq
* underscore: 1.6.0 → 1.6.0
  * https://github.com/advisories/GHSA-cf4h-3jhx-xvhq

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

Change-Id: I0171bfdfa258797d98e49c290f215fdaef651efa
2022-04-15 01:49:37 +00:00
Translation updater bot 6977400233 Localisation updates from https://translatewiki.net.
Change-Id: I4badbb8402959c56cc48036a0d347d764895f74b
2022-04-04 07:13:03 +02:00
Translation updater bot 2a18caba9e Localisation updates from https://translatewiki.net.
Change-Id: Ib06a3f2c42b43f2d32caa46d005d3afa7c4dbdb2
2021-12-13 06:52:19 +01:00
libraryupgrader d10d7deb1d build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I72fdd2c7f1ca4d252972e4a11e8a0b0489200079
2021-09-02 16:36:30 +00:00
libraryupgrader fa1cc489e8 build: Updating npm dependencies
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 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: Idb746b624a28928aa20517fad83c88ca0a58ee56
2021-07-22 15:28:41 +00:00
libraryupgrader 63d1f1d33b build: Updating npm dependencies
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* @stylelint/postcss-markdown: 0.36.1 → 0.36.2
  * https://npmjs.com/advisories/1700 (CVE-2020-7753)

Change-Id: Ibe4f97ded6447444a401722126cf161ebab7d42d
2021-05-16 04:22:15 +00:00
libraryupgrader f2b301e632 build: Updating npm dependencies
* grunt: 1.1.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 2.8.5 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: Idb65d6ece389fb233323e952a85c27a13107845f
2021-05-09 10:54:05 +00:00
Ostrzyciel 4f3981580d Move the warning outside sitenotice, tidy up code
There's a lot of things going on here, so a quick summary:
* Moved the warning outside sitenotice to avoid reflows and all
  kinds of other issues, including those with dismissable notices.
* Placed the warning on the bottom of the page, on all skins, for
  consistency and to avoid obstructing vital UI elements such as
  site name, user tools, search box.
* Changed the UI to use OOUI for, again, consistency and to avoid
  reinventing the wheel with button styling.
* Removed the cookie emoji as it was only taking up valuable space
  on mobile and making designing a sensible layout much harder.
* Merged the mobile and desktop RL modules into a single, responsive
  one. The warning will work correctly for any skin and screen width.
* The integration tests are truly horrible, I tried to at least
  make them work. They deserve a proper rewrite, but that should be
  done after the extension switches to the new hook system.

I will post screenshots of this in action in the first of the linked
tasks.

Bug: T271047
Bug: T173335
Change-Id: I6e2a3d7aeccc0d4df1b3238e52c67e72099d27d8
(cherry picked from commit edd0a7d949)
2021-02-01 17:56:50 +00:00
libraryupgrader 542f7e82ef build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).

Change-Id: Iff6dc416a62e7a5c849a4144beefe3fe657f0bc2
2021-01-04 02:48:23 +00:00
Paladox 48f795df08 Replace deprecated hook
Bug: T254302
Change-Id: I140af90b5f175974eb20873f2c1c6449be5a6669
(cherry picked from commit 0dc0e795a1)
2020-11-29 23:46:51 +00:00
libraryupgrader 73683b52a4 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Ibe2076c97cb9bda1f7e5e694c4681c75c5113340
2020-07-13 12:55:30 -07:00
Kunal Mehta 2729a661c3 Unbreak tests
Use an anonymous class to implement QuickTemplate instead of relying on a
specific implementation that no longer exists.

Change-Id: Ifbd47e6fa3aff8c1969e8510edbfd16507025ed2
2020-07-13 12:54:21 -07:00
Nikerabbit ab49b3b403 Revert "Localisation updates from https://translatewiki.net."
This reverts commit b76215c65b.

Reason for revert: Broken export

Change-Id: I5a534f67057acbf67e781a3d06e9cd1043717338
2020-07-13 11:40:24 +00:00
Translation updater bot b76215c65b Localisation updates from https://translatewiki.net.
Change-Id: I8a48759e9f0fcac3983b8fd1645c85adb5a1fd6b
2020-07-13 08:41:42 +02:00
Umherirrender 1412b7c5ba Fix type on @param doc
Change-Id: I9caf576cd3c18b2af8313581d85608becfdacdf7
2020-07-12 01:39:52 +02:00
libraryupgrader 88578c57e8 build: Updating mediawiki/minus-x to 1.1.0
Change-Id: Ie65e0200bd0b0980bb9a954181637214dd419f00
2020-06-08 08:08:35 +00:00
libraryupgrader 831fa0f0f3 build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Ia30b89773ddb5263b2d1dd682db9326b7472e0dc
2020-05-31 02:17:17 +00:00
libraryupgrader 097ddf35ce build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.NoParamType

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Ia29758a25f3aee903130481495071fcdf6e5033d
2020-05-29 11:57:16 +00:00
libraryupgrader 88fcd9f22a build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

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

Change-Id: Ieafd5f4228fd416aecda7ccc9456e7cb7fa50a80
2020-04-22 07:51:31 +00:00
libraryupgrader 1881f08a1e build: Updating grunt-banana-checker to 0.9.0
Change-Id: Icadf434809614a7b4f8ae31c7ce22d8578f1754d
2020-04-19 02:52:35 +00:00
Translation updater bot 34f99672b7 Localisation updates from https://translatewiki.net.
Change-Id: I46df8f0ac278787e1363ac8f9081b658befea357
2020-04-15 08:23:33 +02:00
Translation updater bot e65d8686ac Localisation updates from https://translatewiki.net.
Change-Id: Ice48277337b770a7bce7423922363909bf094b2b
2020-04-07 08:38:41 +02:00
libraryupgrader 002c8ef4fd build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: Ic6b65ea995be8ed0972af82d08165171e7ed5359
2020-04-05 15:28:44 +00:00
libraryupgrader a364a158a1 build: Updating mkdirp to 0.5.3
* https://npmjs.com/advisories/1179

Change-Id: I5123a3aaaea00d8fac097afdfc6233cb67d19f8d
2020-03-20 21:53:35 +00:00
libraryupgrader d6fbac5523 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I25545e5f33105d7bbd9afdad6c2070dd5f6e7bf0
2020-03-18 05:43:15 +00:00
ankit 95f25aa2ed Bump MW version, remove deprecated IP class, update .gitignore
Bug: T247155
Change-Id: Idef39fd39dd8a9f3483ea30e4a01422923c16e05
2020-03-14 14:34:41 +05:30
libraryupgrader fe0e56c5c0 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I755802876dd51fe335fe30ccbb92a591e0b88fe8
2020-03-08 00:13:39 +00:00
libraryupgrader 01b0937ae2 build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I74f1e169e26c86fd1b5b3e5a0035047cc9e6deeb
2020-02-20 20:46:31 +00:00
libraryupgrader e35eef9026 build: Updating mediawiki/minus-x to 1.0.0
Change-Id: I19fe43e049ee9e6aef38b792ea196b1e50ba075e
2020-01-29 02:59:52 +00:00
libraryupgrader fbdd6661d3 build: Updating jakub-onderka/php-console-highlighter to 0.4.0
Change-Id: I784586a6c4f8fcbc890768132fe53e20928f3e8b
2020-01-28 08:12:27 +00:00
Translation updater bot 3062b30678 Localisation updates from https://translatewiki.net.
Change-Id: I092cc82baa0ea91442bdbb3009d0cd7176634a0e
2020-01-28 08:25:06 +01:00
libraryupgrader a25bb81f73 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag

Change-Id: I2bf1056772f560b6f4ead4d1794c6f7c50eec59d
2020-01-14 04:37:44 +00:00
libraryupgrader 4f092b042c build: Updating npm dependencies
* eslint-config-wikimedia: 0.5.0 → 0.15.0
  The following rules are failing and were disabled:
  * no-prototype-builtins

* grunt-eslint: 20.1.0 → 22.0.0
* grunt-stylelint: 0.10.1 → 0.13.0
* stylelint-config-wikimedia: 0.4.3 → 0.8.0
  The following rules are failing and were disabled:
  * rule-empty-line-before

Additional changes:
* Remove direct "stylelint" dependency in favor of "grunt-stylelint".
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I5218ef05353b85925bff7fdd4d5eeae0a71ccac2
2020-01-10 13:51:34 +00:00
libraryupgrader 6407ae6590 build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2

npm:
* grunt-banana-checker: 0.4.0 → 0.8.1

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Iddcd9c7c05c5310cde88df64eaea9f625ffa7b3f
2019-12-16 03:43:04 +00:00
Translation updater bot 2e24becdd3 Localisation updates from https://translatewiki.net.
Change-Id: I8485a44ddefd549e809da2f66bedc47253150a61
2019-12-02 09:20:41 +01:00
Florian Schmidt 6634e8c829 Enable GeoLocation service being replaced by other providers
Making GeoLocation an interface makes it easier to replace the underlying implementation
from the current Http backed method.

Change-Id: I2beb97772fd74ab08b2214c08d82dbc1ebfcdcd2
2019-11-21 17:31:23 +01:00
jenkins-bot 1a0e198b80 Merge "Fix tests to be compatible with master again" 2019-11-19 08:34:14 +00:00
Paladox 6ecc3fd4fc Fix tests to be compatible with master again
Also fix tests relying on MessageCache. MessageCache is enabled in setup,
however, as setMwGlobals is resetting services, it gets disabled again.
Instead of setting the configuration to enable the use of database
messages, let's enable the message cache after the last reset of services.

Change-Id: Iff670def50ab15054099f7a1ca3adc119bd877ce
2019-11-19 00:40:51 +01:00
Translation updater bot 850f05225b Localisation updates from https://translatewiki.net.
Change-Id: I08e49e45bdf9ed757f8fcae0ce7a78592397e962
2019-11-18 09:21:54 +01:00
Translation updater bot 58654cf11a Localisation updates from https://translatewiki.net.
Change-Id: I9ce74f458c6b279d7a3d1022f6f687a194488534
2019-09-10 09:36:42 +02:00
Translation updater bot 71bcc9c340 Localisation updates from https://translatewiki.net.
Change-Id: Ie47d173788133f9cdcf034dc3ed6a6c5a52bc6db
2019-08-12 09:06:17 +02:00
libraryupgrader c8fc6e7268 build: Updating npm dependencies
* 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
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744

Additional changes:
* Enable eslint caching.
* Enable eslint's reportUnusedDisableDirectives.

Change-Id: I482262ac0eee54fefab8d5f9523a711d9c5e154d
2019-08-01 23:21:14 +00:00
Translation updater bot d2889e7cfb Localisation updates from https://translatewiki.net.
Change-Id: Ib1a1658a16479dc27007c684aa305e2c4f477a19
2019-07-29 09:14:16 +02:00
Translation updater bot 38fb5dc477 Localisation updates from https://translatewiki.net.
Change-Id: I7438b09bd59c946ad77bb1adf98bc86849046017
2019-07-22 22:40:41 +02:00
libraryupgrader 257b7eb190 build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Change-Id: I14e560c8721383d2425ecea3c3266c0e06f2e8fc
2019-07-14 10:26:40 +00:00
libraryupgrader 1287a6eaad build: Updating npm dependencies for security issues
* Updated grunt to 1.0.4, addressing:
  * https://npmjs.com/advisories/788
  * https://npmjs.com/advisories/813

Committed package-lock.json (T179229) too.

Change-Id: Ia6c32e7cfeaf69f0cdbc1cc47e53eee487df5818
2019-06-08 03:40:48 +00:00