Commit graph

70 commits

Author SHA1 Message Date
Kunal Mehta 933ce7188e Add a test verifying the reproducibility of domains.php
This test downloads the specified revision of the HSTS preload list,
regenerates it, and compares it with the committed version at
domains.php.

In theory it would catch any potential code injection in domains.php,
which is hard to manually review due to its length.

Bug: T241522
Change-Id: Iee2a393c590b830c6e78adba48edc921e2873465
2019-12-28 17:33:07 -08: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
SecureLinkFixer updater bot 04ce862c2b Updating domains.php from Mozilla
Change-Id: I19cfd6e7619666c3661f0df8613aa2dc80adfed0
2019-12-29 00:00:52 +00:00
Translation updater bot 80d22c744f Localisation updates from https://translatewiki.net.
Change-Id: I54cf4c88a3d8277b7c93aba3b833d1254f47c8d1
2019-12-26 16:21:39 +01:00
jenkins-bot 47dcb0304c Merge "Updating domains.php from Mozilla" 2019-12-22 06:57:06 +00:00
libraryupgrader bd5a1fd3b9 build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I6700e321e81b687006e3e485ca477ea8bce17846
2019-12-22 02:42:53 +00:00
SecureLinkFixer updater bot 76bac5cf37 Updating domains.php from Mozilla
Change-Id: I47a44aadfad4fe05599448843701df0f5851cfc3
2019-12-22 00:00:47 +00:00
libraryupgrader e3c202aec3 build: Updating mediawiki/minus-x to 0.3.2
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I72679e7561a0d9ba45cb27da942109be55c9319b
2019-12-18 06:11:43 +00:00
SecureLinkFixer updater bot c4c894cbab Updating domains.php from Mozilla
Change-Id: I35ede4f01c2587fc055502709c3006de3ae993b9
2019-12-17 18:54:55 +00:00
jenkins-bot ed56d3fc2f Merge "Add sanity check test for domains.php" 2019-12-16 23:04:18 +00:00
libraryupgrader e895a52546 build: Updating grunt-banana-checker to 0.8.1
Additional changes:
* Enable eslint caching.
* Enable eslint's reportUnusedDisableDirectives.

Change-Id: I007cce04aff7e33ecda1a6bb7788766da91d1715
2019-12-14 23:07:20 +00:00
Kunal Mehta 518d26f4a8 Add sanity check test for domains.php
The test verifies:
* domains.php returns an array
* The array has at least 50,000 items (right now it has ~78,000)
* Each domain in the array passes a regex, and the value is either 1 or 0

Bug: T240743
Change-Id: Ic4e2c2e36ddcb0f775f4ac22d1418c814db5b389
2019-12-13 23:09:54 -08:00
Translation updater bot aec46bda9f Localisation updates from https://translatewiki.net.
Change-Id: I360f496e5122fef09734e540943dddb5cc1ad71e
2019-12-09 09:36:59 +01:00
SecureLinkFixer updater bot 044f529c36 Updating domains.php from Mozilla
Change-Id: I852c147bc768968b652184958c929bee8ba4efe1
2019-12-08 00:00:40 +00:00
Translation updater bot 0427cc5ef8 Localisation updates from https://translatewiki.net.
Change-Id: I34b9161018819e552236a47a88d5a2298e41e5e7
2019-12-02 09:23:35 +01:00
SecureLinkFixer updater bot 14a921efaf Updating domains.php from Mozilla
Change-Id: Ic3f2cb7fbbecb2aebd1d0043918f1e1df3ee1d33
2019-12-01 00:01:58 +00:00
SecureLinkFixer updater bot 7345fa9453 Updating domains.php from Mozilla
Change-Id: If069c098c093bd04fd2a52fdaef99b9edd8f7606
2019-11-24 00:00:50 +00:00
SecureLinkFixer updater bot 4c96302bcf Updating domains.php from Mozilla
Change-Id: I33b2e7ee5778a3bbd55ba4057fcfabdbc87a3836
2019-11-17 00:01:07 +00:00
SecureLinkFixer updater bot 6011dbc47f Updating domains.php from Mozilla
Change-Id: I7b0d2690eb07d0215c42156c44e0f9883cabc32b
2019-11-10 00:00:50 +00:00
MarcoAurelio 0c735c0ffc Merge "Updating domains.php from Mozilla" 2019-11-07 19:32:45 +00:00
Translation updater bot 416d5206a0 Localisation updates from https://translatewiki.net.
Change-Id: I3935c2ff74cc9ed6d1759929a8d33090b15d6add
2019-11-07 09:45:03 +01:00
Umherirrender e415c74b17 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I3b491da33d832261cb3c80daf02154883260052b
2019-11-04 19:23:26 +01:00
SecureLinkFixer updater bot 32304688d0 Updating domains.php from Mozilla
Change-Id: I5ad61c4dbb164843125dcb923e7b60ac74aa75cb
2019-11-03 00:00:41 +00:00
SecureLinkFixer updater bot d2e193ba77 Updating domains.php from Mozilla
Change-Id: Icd8dbdff80019d1d75a57f3386971f103ce6332c
2019-10-27 00:00:39 +00:00
SecureLinkFixer updater bot de36fd48c4 Updating domains.php from Mozilla
Change-Id: Iae705753e04807c393e3e8dd8ff8cf46bbef7e10
2019-10-20 00:00:47 +00:00
James D. Forrester f9a6fdfb60 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I5b3842e4009c635408e23f28aecf98bfe72fbff9
2019-10-15 16:01:27 -07:00
SecureLinkFixer updater bot 842bf5c296 Updating domains.php from Mozilla
Change-Id: Ife220dc802f645f15ac8616cd6217f436bb3e497
2019-10-13 00:00:50 +00:00
SecureLinkFixer updater bot c1d7bf0382 Updating domains.php from Mozilla
Change-Id: I43908d44c4105d4eda73dd1385f4dd7658753832
2019-10-06 00:00:44 +00:00
SecureLinkFixer updater bot 3053ccc18c Updating domains.php from Mozilla
Change-Id: Ic5e1daf1018cb56e0a170a40fb66ecb68352ce71
2019-09-29 00:00:35 +00:00
SecureLinkFixer updater bot 057f5b9550 Updating domains.php from Mozilla
Change-Id: I9e827ab48466242815a29aaf673817da5c1bf944
2019-09-22 00:00:51 +00:00
SecureLinkFixer updater bot 7d25508804 Updating domains.php from Mozilla
Change-Id: I49cf0b5e277737c7de957cb97e7b8b86dd7f7746
2019-09-15 00:00:44 +00:00
Translation updater bot ec5849d36b Localisation updates from https://translatewiki.net.
Change-Id: Ib2aecc90c705437fde992b8feba7c5090bf0a17f
2019-09-13 10:21:07 +02:00
SecureLinkFixer updater bot 72749699f3 Updating domains.php from Mozilla
Change-Id: I6678a09a795c389a4b9c5d932d5cc6408ebc4037
2019-09-08 00:00:47 +00:00
SecureLinkFixer updater bot bad04a2045 Updating domains.php from Mozilla
Change-Id: I36dc3bb346b0f55d67823ecceffc90d8bc827592
2019-09-01 00:00:41 +00:00
SecureLinkFixer updater bot 2cbba453d2 Updating domains.php from Mozilla
Change-Id: I28b3b17a25c546959e11fdc74b51c41647f319e3
2019-08-18 00:00:36 +00:00
SecureLinkFixer updater bot 19f198ac36 Updating domains.php from Mozilla
Change-Id: I348184c4f6ae1688498ce38e18defe2d9208c48a
2019-08-11 00:00:58 +00:00
SecureLinkFixer updater bot 86774340c4 Updating domains.php from Mozilla
Change-Id: I4224ef59db79f9c37811c8da9ebca88068b7f6a5
2019-07-28 00:00:49 +00:00
SecureLinkFixer updater bot eaeaee6909 Updating domains.php from Mozilla
Change-Id: I64cc3f327c5673dd023fc75b44b070fdbbb3309c
2019-07-22 01:22:56 +00:00
Kunal Mehta b14450fe3a Configure phan-taint-check-plugin
The plugin checks and flags potential security issues (XSS, SQLi, etc.)
using static analysis.

See <https://www.mediawiki.org/wiki/Phan-taint-check-plugin> for more
details.

Change-Id: Ibebf265e10f8fdb0c26046a81c5f6978b0230537
2019-07-18 19:36:28 -04:00
Kunal Mehta 37b566113e Enable phan
Change-Id: Ia99ca5a3ecbf38c46f0dd176d66e5b75c99ebf4b
2019-07-18 19:33:07 -04: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
Kunal Mehta 8d12e524b1 Update domains.php
Change-Id: I9aae5b4ab2d545a75d9072446c610cf37ee42eda
2019-07-17 17:00:03 -04:00
libraryupgrader 026d92ecad build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744

Change-Id: Ib2401c3f012cf1dea6a3f9c14f0dc837afe77c11
2019-07-15 23:59:33 +00:00
libraryupgrader 50aa42862d 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: I92e0bdaa2e32d15fd8b443cb43c321c871acf1b2
2019-06-08 21:16:24 +00:00
libraryupgrader 76bc8a406d build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: Ice8298f382c2a4d71705ea5b7d60b49b6c6c5fcd
2019-02-23 13:48:23 +00:00
Umherirrender 30b02a0cc3 Add missing .eslintrc.json to pass npm
Change-Id: I4afb4d7257bbb1cca1bd3c058078c90c5b7ab886
2019-02-23 14:46:51 +01:00
Translation updater bot 5c23be668c Localisation updates from https://translatewiki.net.
Change-Id: Iba7ba4ca26846a87b18fbd4cc62e88e59e4ca233
2019-01-13 22:13:42 +01:00
libraryupgrader 1e550c5b89 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: Ibdc47802ea8f74515ccc124155c36fdb7e03c032
2018-11-16 09:17:17 +00:00
Umherirrender 52d1515ece build: Update grunt to 1.0.3
* Updated grunt to 1.0.3, addressing security issues:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I0e008c810c15ea8c224dab0b451227d313a98e1c
2018-10-25 22:15:20 +02:00