Commit graph

258 commits

Author SHA1 Message Date
Kunal Mehta defcf9ae8c build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I370cbae95ae15c546f6d70fcab50a4506e129ef1
2018-12-17 18:58:48 -08:00
Ed Sanders 870742e389 build: Update devDependencies
Change-Id: I37d1b6efe55f91ba3c411a06a4c57b4f591ba460
2018-11-26 23:41:56 +00:00
libraryupgrader 251686a88f build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I99fb9907c01700a780ca44958f2a4add294c1701
2018-11-16 14:38:51 +00:00
Translation updater bot 96f8b3e57b Localisation updates from https://translatewiki.net.
Change-Id: Ie3b52cbd5af270c0bd643cc345f5f86617f861b7
2018-10-25 22:39:03 +02:00
libraryupgrader 012b89e966 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I2cecb846c0c13ab5015f4ba182ca5bf40adf0a02
2018-10-11 11:16:53 +00:00
Translation updater bot 662e169cb1 Localisation updates from https://translatewiki.net.
Change-Id: Id9edd34ce15c46f8ac8cc4bb3b831ed3b38014ad
2018-10-04 22:24:26 +02:00
TheDJ 93076cf47e Raise mediawiki requirement to 1.30
Uses MediaWikiServices::getInstance()->getParserCache() only
available since 1.30

Bug: T205916
Change-Id: I388a09b443aa57ae88f36029a7656625373f82a1
2018-10-03 12:23:58 +00:00
Translation updater bot cd169cb9cf Localisation updates from https://translatewiki.net.
Change-Id: I35ed4ddd9a33efb14f925fc4351028e5927281a2
2018-09-22 10:04:03 +02:00
Fomafix 2fdd62e94e Start showing warning for deprecated PHP entry point
Also update required MediaWiki version to required version in extension.json.

Change-Id: Ifbeef2fe20f9491ed1bffaa322248f647492de7c
2018-09-10 20:57:50 +02:00
libraryupgrader bd206eace2 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: Idf6d9e3b80e39e7066d3780c8138cd46b2b8a265
2018-09-08 06:13:48 +00:00
jenkins-bot d9d37c0cc6 Merge "Add recent pattern for ESLinting in repo" 2018-09-06 05:43:56 +00:00
libraryupgrader 9ebc73470a build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I9c8956d5b83f43ea93bfb3ad6664dca64892f76e
2018-09-03 20:02:49 +00:00
Alangi Derick 6f3840db35 Add recent pattern for ESLinting in repo
Use of all: '.' in Gruntfile.js for eslint config and
eslintIgnore in package.json to ignore linting the "vendor/"
directory.

Change-Id: Ic8489351b8de6b7e31a95a55420db1f772f8d535
2018-09-03 15:31:36 +01:00
libraryupgrader dda6fa48a1 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I1f4f402ddc8bdc515c41703dc4c495d96bbf4b89
2018-09-01 14:49:31 +00:00
Translation updater bot 3c4ab649c7 Localisation updates from https://translatewiki.net.
Change-Id: I19c29fc4f41d2ce8ba1084c0be4dd4ebb17376e1
2018-08-29 22:28:29 +02:00
Umherirrender 832d0ff745 Remove use of deprecated UsageException
Deprecated since 1.29, extension required 1.29

Change-Id: I2f550f0b94571afc289af616645b822d63fea4d3
2018-08-21 22:23:49 +02:00
Translation updater bot 47923cb7f7 Localisation updates from https://translatewiki.net.
Change-Id: I483beb62113e3191c4ef42b8eecfc04afc912fe7
2018-08-19 22:39:08 +02:00
libraryupgrader 584ac209d6 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Ia1a6d57e02dbb6cd7afeff984c7baccd2e211413
2018-08-19 17:07:56 +00:00
Umherirrender add3e27461 User constructor does not take an argument
User object without argument is the anon default

Change-Id: I2c47c4865386d59f14eb6390b3e12fb9c5198ccd
2018-08-06 23:12:26 +02:00
Kunal Mehta eab15dfe42 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.

Bug: T201219
Change-Id: I0c81983a41a9c8863bd16c7d358b51472b7e9e9a
2018-08-03 21:31:26 -07:00
libraryupgrader 9ff2069079 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I85ea2a4649a28440c04786911b29e24437b790cd
2018-07-27 20:09:11 +00:00
Translation updater bot 9b7f77b8b5 Localisation updates from https://translatewiki.net.
Change-Id: I60e89bf3e733dd1f2c5363d66c52e62712161877
2018-07-17 22:14:06 +02:00
jenkins-bot 6c36417f4c Merge "Remove unused ParserOptions from ExtractFormatterTest" 2018-07-01 23:37:27 +00:00
Thiemo Kreuz 60cd40b975 Remove not needed count() and "return true" from hook handlers
This patch fixes two styls issues I could not separate:

* Hook handler functions do not need to return true. This is the default
anyway, and meaningless.

* Counting is possibly expensive and not needed when all we need to know
is if an array is empty or not.

Change-Id: I460776c981638806a606d9bf88fc8579d6da8c0e
2018-06-28 20:45:20 +02:00
Thiemo Kreuz 9f99628c1f Remove unused ParserOptions from ExtractFormatterTest
Change-Id: I685b468ad13da73b6273041f6ff068c2d8b730d0
2018-06-28 20:44:46 +02:00
Translation updater bot f607ff8d6c Localisation updates from https://translatewiki.net.
Change-Id: I1e6f035ccec4d52d3cd4fc7187b19679b2d75a67
2018-06-24 22:26:03 +02:00
libraryupgrader 138908a926 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I1d30fed4bc490b4e598b3439ab10f8fa5790a953
2018-05-26 06:54:00 +00:00
Translation updater bot 4afe1f40f5 Localisation updates from https://translatewiki.net.
Change-Id: I52d0115344c7ead3a16c37b7e511d4126f8f64f6
2018-04-27 22:26:16 +02:00
Translation updater bot 7b00e9aa6e Localisation updates from https://translatewiki.net.
Change-Id: I9803a505e310e98596550212ecaa1e49f79b0dea
2018-04-15 22:23:37 +02:00
libraryupgrader fd2754ee40 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Ida68791e01c26fd4058718718dbede561d02de05
2018-04-14 07:02:44 +00:00
Translation updater bot 51f9abef91 Localisation updates from https://translatewiki.net.
Change-Id: Ia59e0be6caa7fe59bc84c866679dfbdfa9990d86
2018-04-13 22:13:02 +02:00
Translation updater bot 00077b2f74 Localisation updates from https://translatewiki.net.
Change-Id: I7d2a9f6d7cd986b66d6fd49e766140bc959ee020
2018-04-11 22:40:30 +02:00
Umherirrender 618aef40a0 Remove @return from __construct
Change-Id: I2000dc076c869620533368431f6c55241fbc92e8
2018-04-05 12:18:59 +02:00
Translation updater bot aaa0805f92 Localisation updates from https://translatewiki.net.
Change-Id: Icb6dc68e027755eba16e65bb9622e19e55709b3d
2018-04-02 09:48:51 +02:00
Translation updater bot b06250c1f7 Localisation updates from https://translatewiki.net.
Change-Id: I9bb761a55d7118ed73472bc10509cf99d8e4fb7b
2018-03-30 09:34:57 +02:00
libraryupgrader 7715826915 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
Change-Id: I449bedf7eebf18c58b144f1913fa416c87228364
2018-03-29 06:15:22 +00:00
Translation updater bot 67261c3e4d Localisation updates from https://translatewiki.net.
Change-Id: I2603f53143fc1eb5571191c1353e048e83752058
2018-03-27 22:09:56 +02:00
Translation updater bot 541b3d1506 Localisation updates from https://translatewiki.net.
Change-Id: I411ba35ac5a13672b16a5fcc1c8b1871aa749f0a
2018-03-23 22:13:22 +01:00
Translation updater bot f99f0849f0 Localisation updates from https://translatewiki.net.
Change-Id: I63e3bbbfbe0565e7a5b38531105c02faf6f0218f
2018-03-21 22:32:16 +01:00
Translation updater bot 6cb42ee264 Localisation updates from https://translatewiki.net.
Change-Id: Id092172ca2a258866a106c3094a252c3f30c5e7c
2018-03-20 22:12:59 +01:00
jdlrobson d69b35f4bc Adjust expectations for API consumers when using the TextExtracts API
Bug: T170617
Change-Id: I53e08db40e5319019c842869f992bac32b1dac97
2018-03-20 09:42:10 -07:00
libraryupgrader dd728f81e2 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I9bfd9a9a98312490be5464fd3db028478b1f94ae
2018-03-10 06:06:14 +00:00
Kunal Mehta adfde34586 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I78f8a3b4e06363a6af4a79189d1ff68697b34dcd
2018-03-02 15:43:49 -08:00
libraryupgrader 80187f5415 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I445ac42ed1d4f1f17a6494ee489284e33633f060
2018-02-25 11:38:27 +00:00
libraryupgrader a95038699e build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ic3c2c99a8f366df4110df2dd9304184be686ba3f
2018-02-18 09:58:06 +00:00
libraryupgrader 2ecb9f8f06 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Ib1a9584cab61f71c3525b0a81d906f457dab3eb6
2018-02-15 14:32:47 +00:00
Gergő Tisza be8a5d6ea3
Bump cache version due to 'unwrap' ParserOutput option
Bug: T186927
Change-Id: I078f71d99f3179af5f4f85892472932eb5635fe1
2018-02-09 14:15:30 -08:00
jenkins-bot 1923c116c4 Merge "Fix and add @covers tags" 2018-01-23 23:22:26 +00:00
Kunal Mehta b463a99a79 Fix and add @covers tags
Change-Id: Ifa11ee418e016c103fb0ac6b32a790a2977aec8d
2018-01-23 14:54:12 -08:00
jenkins-bot 6e7f069974 Merge "Use 'unwrap' post-cache transform instead of setWrapOutputClass( false ), when available" 2018-01-20 03:20:19 +00:00