Commit graph

186 commits

Author SHA1 Message Date
Kunal Mehta 0509d34225 Switch to new hook handler format
* Turn HSTSPreloadLookup into a real service, per @todo
* Convert Hooks into a non-static class, take lookup as an argument
* Update tests for new calling style

== Test plan ==
* CI/tests pass
* Use Special:ExpandTemplates with a preloaded domain and localhost,
  observe preloaded link changes, localhost stays http

Bug: T271027
Change-Id: I0196350e85c09eedfba4dbf1dab81f9a757b2a12
2022-06-05 12:12:39 -04:00
libraryupgrader 62898355d3 build: Updating grunt to 1.5.3
Change-Id: I995f6499728ebd46c721b679c5f46c2017f775f3
2022-05-27 00:40:12 +00:00
libraryupgrader fcd0d9fa71 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:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

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

Change-Id: If0429061c2a50d8e9cdc24f4ffcb19ccfab33b7a
2022-05-21 11:54:59 +00:00
Reedy fa055b4dac Updating domains.php from Mozilla
Change-Id: I93b2d35d194cbee5a6c872ff04074dffd95d67bb
2022-05-07 21:25:26 +01:00
Reedy 79bb4621b7 Updating domains.php from Mozilla
Change-Id: I9d5bd81d8d7635fc8c2b81dcdbe6f1ac0a6dd1b6
2022-04-16 17:22:24 +01:00
Reedy 8dc17b5cfb BenchLookup: Add requireExtension() call
Change-Id: Ifee1ee3e3206252662ca80b802653c87d87d24d1
2022-03-11 22:44:30 +00:00
Reedy 7ffa095e03 Fix path to Benchmark class
Follow-Up: I4acd88242dde56a884d319dfc141a3511a8221a3
Change-Id: I96ad4cb194b3e26a9ce8bf559d8cee6f6a992d28
2022-03-11 22:43:55 +00:00
Reedy 561ae17cc8 Updating domains.php from Mozilla
Change-Id: I15f35c85d26f27a0af6e4a81b14d52442e2eb268
2022-03-01 12:19:18 +00:00
Reedy b76009382c Updating domains.php from Mozilla
Change-Id: I4cf111026dc730c2aeca7ca82b2245e3f3814fc6
2022-02-09 00:26:40 +00:00
Translation updater bot 1f82e82b7b Localisation updates from https://translatewiki.net.
Change-Id: I24444fe263883ff277147ea9fa0308061e130562
2022-01-17 08:12:56 +01:00
jenkins-bot 6c4a07925c Merge "MediaWikiTestCase -> MediaWikiIntegrationTestCase" 2021-12-03 16:08:12 +00:00
Reedy 2e20b3edcd Fetch list from GitHub
For some reason Mozilla is blocking our requests from Toolforge,
using GitHub is something we know that works and should be the
same in practice.

Bug: T292242
Change-Id: Ic7d5da9758122ecb36f5e8f43716b4f8cf6f889d
2021-11-24 21:56:13 +00:00
Kunal Mehta dfe75019c3 Updating domains.php from Mozilla
Change-Id: I774ef12fcfe926cec6bd63a5a47099cfef789e1b
2021-11-23 22:36:29 -08:00
Alexander Vorwerk d2f79d1664 MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I3a4b25e284497b72ef3fa6bb4082e07fb57a4fb9
2021-11-08 23:04:46 +00:00
libraryupgrader eb5b01b540 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I82e5331e76b3c127a0cec62f5a24131b4e216cd1
2021-10-24 12:43:05 +00:00
Translation updater bot 9e5d18db64 Localisation updates from https://translatewiki.net.
Change-Id: I0dc3672c0236a867a752a8a78fa9355727e312a1
2021-10-18 15:21:15 +02:00
libraryupgrader 3bb3f3ebdc build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/1002401 (CVE-2021-3807)

Additional changes:
* Dropped default excluded folder(s) from .phpcs.xml (T274684).
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I5121a6bb36a62100300e1b48a86d3ec1c3fe5310
2021-10-08 07:00:15 +00:00
libraryupgrader 5f565c7227 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: If884b16ee3e5f39a61b76ed376b37485db2c8995
2021-09-09 06:34:07 +00:00
libraryupgrader d9612a3282 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: If5b509c9ce4ef9f62472f11d5d5ea96ad3a202e1
2021-08-12 10:30:00 +00:00
SecureLinkFixer updater bot 6ae6484a12 Updating domains.php from Mozilla
Change-Id: I1059bfc31428d77ed3fb1fbf884dda5d369fa8e1
2021-08-01 00:00:49 +00:00
libraryupgrader 15b45eebb4 build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: I8a4158927f9029b069686d39e5e6978cf36106f3
2021-07-24 01:58:33 +00:00
Translation updater bot e74668e651 Localisation updates from https://translatewiki.net.
Change-Id: I6315ca712685c316e650df315b5dfc222ac750d5
2021-06-22 08:09:52 +02:00
SecureLinkFixer updater bot 54866a8125 Updating domains.php from Mozilla
Change-Id: I092861ea21cb4e725a801f77f90cb5483d1f11b2
2021-06-13 00:01:04 +00:00
SecureLinkFixer updater bot 777c63807d Updating domains.php from Mozilla
Change-Id: Iffeebd84b1a5524b9886b57722106973db23a7cc
2021-06-06 00:00:47 +00:00
SecureLinkFixer updater bot 1b2a703743 Updating domains.php from Mozilla
Change-Id: I65e5009ab1b7ef11f25c4ffe70d56abfb5db13fc
2021-05-30 00:01:05 +00:00
Translation updater bot da1cce8954 Localisation updates from https://translatewiki.net.
Change-Id: Icdbcbb3fc3a0787494d3e995aab9c5c420049cd7
2021-05-26 09:05:34 +02:00
libraryupgrader 492728e59a build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I9f144f73068aa22a87abc9fd6eeec6d1dd2722f6
2021-05-26 03:22:35 +00:00
SecureLinkFixer updater bot c3a5665c6c Updating domains.php from Mozilla
Change-Id: Ib190d7de36721769723f342700ac32d48d98e6d0
2021-05-23 00:01:19 +00:00
SecureLinkFixer updater bot 662723611f Updating domains.php from Mozilla
Change-Id: I4d884dca9aaa0c2cb1babc57a630b5a0ac2aa340
2021-05-16 00:00:49 +00:00
libraryupgrader fee7ab5a42 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)

Change-Id: I65eb5506046363d6e8afcaf3166a5f153865121a
2021-05-13 09:45:33 +00:00
SecureLinkFixer updater bot 0118b690de Updating domains.php from Mozilla
Change-Id: I2f7e9d56cc39b3a60f81f7beb8d8d31d085da2c2
2021-05-09 00:00:51 +00:00
SecureLinkFixer updater bot 3e91b4f9f4 Updating domains.php from Mozilla
Change-Id: I04b5cb4c523c382211ccfffb3319d013daa0ab98
2021-05-02 00:01:19 +00:00
SecureLinkFixer updater bot 377aed0717 Updating domains.php from Mozilla
Change-Id: If8ba4e267edfb8b32fa01f64322017535c414004
2021-04-25 00:00:46 +00:00
SecureLinkFixer updater bot 4b1260e56e Updating domains.php from Mozilla
Change-Id: Ie58cc9e6d138147db12a5101b236965c15241d95
2021-04-18 00:01:02 +00:00
libraryupgrader 2de5aa1b52 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I819a87636b96b76c74bbb8b00d44c2f7cf0dcfb8
2021-04-14 04:45:01 +00:00
Kunal Mehta dfa2506116 Update Legoktm's email address
Change-Id: Ic20c6d24d221fd5377bfa4a36a7f0ee034fad9e1
2021-04-11 19:10:07 -07:00
SecureLinkFixer updater bot cf4872f165 Updating domains.php from Mozilla
Change-Id: I945d4f55073b74bddcbc792b5717d8c800b2bedc
2021-04-11 00:01:18 +00:00
SecureLinkFixer updater bot 33f71ca323 Updating domains.php from Mozilla
Change-Id: If3e2ff5a29596b5f32559764954443373f67c8a9
2021-03-28 00:00:49 +00:00
SecureLinkFixer updater bot 98ff331993 Updating domains.php from Mozilla
Change-Id: Ib0fba89a665f6b1bc07c25f515871c7324827dd3
2021-03-21 00:00:47 +00:00
libraryupgrader a55c39e121 build: Updating eslint-config-wikimedia to 0.19.0
Change-Id: I39350c113b4ec17f2d72539872b63acf049593be
2021-03-14 12:55:27 +00:00
SecureLinkFixer updater bot 814999941c Updating domains.php from Mozilla
Change-Id: I6bd198c0ce7e0b2c2c6b438e92e510c2c9cbf8b3
2021-03-14 00:01:12 +00:00
Translation updater bot a4e0d0ce97 Localisation updates from https://translatewiki.net.
Change-Id: I40d23c21d26e1e47630b78c228e6d76f0fdbce13
2021-03-08 08:47:10 +01:00
libraryupgrader 009560f049 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I728d6b8f607a0cf0665056a90f3360b8fc13a454
2021-03-07 21:47:05 +00:00
SecureLinkFixer updater bot ff52569c7a Updating domains.php from Mozilla
Change-Id: I8502db45a95a5d99314c898ef637e6003eb1c239
2021-03-07 00:00:34 +00:00
SecureLinkFixer updater bot ddaf1d1f64 Updating domains.php from Mozilla
Change-Id: Ic3ef6de968abddce7cbfd2b875d92563e599bb73
2021-02-28 00:01:03 +00:00
SecureLinkFixer updater bot 9454ae919d Updating domains.php from Mozilla
Change-Id: I0af7e9590f4326dab1ea87897dd7d2e3aca5f7ed
2021-02-21 00:01:30 +00:00
SecureLinkFixer updater bot 39461f32b9 Updating domains.php from Mozilla
Change-Id: I560f23e9b8294b80f7ba4e13e63883ff28c0da9d
2021-02-14 00:01:07 +00:00
Translation updater bot 97ec344e3b Localisation updates from https://translatewiki.net.
Change-Id: Ic11482106328260db6b8d2aea96796e33630c0a4
2021-02-08 08:44:34 +01:00
SecureLinkFixer updater bot 79b3e0e50c Updating domains.php from Mozilla
Change-Id: I894f18773d65544ab16fb09d679e6d464050ec75
2021-02-07 00:01:07 +00:00
SecureLinkFixer updater bot e586a27de6 Updating domains.php from Mozilla
Change-Id: Id5edcfb1f3c5942d4277a12b5885542597e84b9a
2021-01-31 00:00:47 +00:00