Commit graph

13 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
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
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
Kunal Mehta dfa2506116 Update Legoktm's email address
Change-Id: Ic20c6d24d221fd5377bfa4a36a7f0ee034fad9e1
2021-04-11 19:10:07 -07:00
Kunal Mehta 19dfb75a1e Move the logic from fetchList.php into a PHP class for easier reuse
Change-Id: If01182c89a5db85fde27b36570b17694b1234871
2019-12-28 17:33:07 -08:00
Kunal Mehta 69d907f411 Include a last updated date in domains.php
Makes it more obvious when the file has not been updated recently.

Change-Id: I5a165d7734c8c3bfdc06020a884d2f7b67bf82f2
2019-07-18 00:47:08 -04:00
Kunal Mehta 793b54d8fc Rewrite fetchList.php to not require MediaWiki to be installed
So I can more easily set up a cronjob to update it regularly.

Change-Id: Ie2012e8bf02fb0edb3d52d6076a4a7fb99c743d5
2019-07-18 00:47:08 -04:00
jenkins-bot 54bf84c3f1 Merge "Use StaticArrayWriter class" 2018-08-18 06:25:12 +00:00
Kunal Mehta 1a14b66fef Use StaticArrayWriter class
Bug: T200626
Depends-On: I022c074e8a708fb5219bc4ff4b53e7e31f60dc4b
Change-Id: Iada6cd6f3d9a1c87613d2603ceb0d499bfb6c8f1
2018-08-17 22:39:40 -07:00
Kunal Mehta f2fcdbecfb Add benchmark script for HSTSPreloadLookup
Bug: T200758
Change-Id: Id07970976d2648047915740648d174506868578d
2018-08-17 21:16:41 +00:00
Kunal Mehta 0367ff21af Update fetchList for changes to atom feed
The <link> tag now uses HTTPS. Yay!

Change-Id: I0a43bf02db0cf9533641d18121f12d77a7821ae9
2018-08-01 22:45:20 -07:00
Kunal Mehta e436b78837 Initial commit
Change-Id: I2c8efb613632ce785580e8fba4da5b0a3a36a0f6
2018-07-29 19:01:06 -07:00