Commit graph

529 commits

Author SHA1 Message Date
Reedy 7324af639b Remove extra parameters to MWCryptRand::generate() calls
Fixes phan failures

Change-Id: Ie501c277a68cd05877985ee1f2360a03b9989ebe
2018-06-11 19:49:39 +01:00
libraryupgrader 24a29946c3 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: Id0d15aa3de9593e5d39455a335e2cdb8eba2c7ff
2018-06-08 07:30:32 +00:00
Translation updater bot f1eb8914e6 Localisation updates from https://translatewiki.net.
Change-Id: Ib345beb57590734a43255f978f2623a77c48d4f0
2018-06-03 22:36:30 +02:00
Translation updater bot 84711582d3 Localisation updates from https://translatewiki.net.
Change-Id: I9010362539164084358e9ee479c41f30baaaefd5
2018-06-02 22:41:30 +02:00
libraryupgrader 9ece6cb8df build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I2594bf73b9dbbb4fa07b55cd2126d5e2bce7aaab
2018-05-26 05:10:39 +00:00
Amir Sarabadani de3956da87 Use interface for typehinting
It's actually a phan error:
https://integration.wikimedia.org/ci/job/mwext-php70-phan-docker/6666/console

Change-Id: Ie6389df30e4ee46d5af4c2b744627c46436b9b75
2018-05-20 19:44:50 +02:00
Translation updater bot d7bbb00c3e Localisation updates from https://translatewiki.net.
Change-Id: I2d97d74b9387373a7e76b26696bbfcb852674229
2018-05-19 22:20:01 +02:00
Translation updater bot 33ad3a468b Localisation updates from https://translatewiki.net.
Change-Id: Ib353618ff6e0bf29ae58e3b6e2acd8008541d3c1
2018-05-17 22:19:44 +02:00
Translation updater bot c78df0b9dc Localisation updates from https://translatewiki.net.
Change-Id: I6fcc94472e8d45f9162a5bf4211b3837f2003b0c
2018-05-11 22:25:07 +02:00
Translation updater bot 4da5036b43 Localisation updates from https://translatewiki.net.
Change-Id: I7b33efb979dca4aadf05882c02a7ff1f37e4f4fa
2018-05-09 22:41:09 +02:00
Translation updater bot 6c85175125 Localisation updates from https://translatewiki.net.
Change-Id: Ie32a89a3fc3f6725aecf9cc9e441b6db74a3dcf0
2018-05-08 22:20:23 +02:00
Translation updater bot 5aea1f210b Localisation updates from https://translatewiki.net.
Change-Id: Ib27beba033cbd79aede57ffc22e8a2909243287e
2018-05-05 22:15:08 +02:00
Brian Wolff 19c9b40836 Bump phan-taint-check 1.1.0->1.2.0
Bug: T193909
Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df
2018-05-04 21:20:37 +00:00
Translation updater bot 677e3e2c45 Localisation updates from https://translatewiki.net.
Change-Id: I6e8285c789ce59666d5f185b686d530b09f414b6
2018-05-03 22:21:40 +02:00
Translation updater bot 15ceba1b5c Localisation updates from https://translatewiki.net.
Change-Id: Iede389117d516d16e4314ea917d2797d71f39508
2018-04-21 22:15:44 +02:00
Translation updater bot 4650c504cc Localisation updates from https://translatewiki.net.
Change-Id: I81e51bfe0d00c1c4e19b379db6e9b32dbb000b1d
2018-04-19 22:13:54 +02:00
Translation updater bot ec90c18b14 Localisation updates from https://translatewiki.net.
Change-Id: Iba6ceae4f260760d14da7a64799e8dc55d540f0c
2018-04-14 22:13:59 +02:00
libraryupgrader 5cdebac37b build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Ia94db46d2b474001f3b94eaab5154faed2136ef3
2018-04-14 04:31:42 +00:00
Translation updater bot a14b316b60 Localisation updates from https://translatewiki.net.
Change-Id: Ib738b6d410ce8d8dda3407ca1532cccacc8cf2f6
2018-04-13 22:12:58 +02:00
Translation updater bot b62b5ddbf6 Localisation updates from https://translatewiki.net.
Change-Id: Iab804db31f698f7f68dcc944bff854f0b455c5d2
2018-04-11 22:40:17 +02:00
Kunal Mehta 146b26349a Make licensing explicit, add missing GPL file headers
Since this repository has multi-licensed code, add GPL v2+ file headers
to code that had no licensing blocks to make it obvious which files
carry which license.

And add "AND GPL-3.0-or-later" to extension.json's license-name property
to make it clear that this extension does have code that isn't
redistributable under GPL v2.

Change-Id: Id3059fb9596527ef054bec9d89a28f1ccbe2113d
2018-04-10 18:29:26 -07:00
jenkins-bot 7003d796fb Merge "Add phan configuration" 2018-04-11 00:09:32 +00:00
Kunal Mehta bb593ab8ed Clarify specific BSD license used for hotp.php
Also submitted upstream at <https://github.com/Jakobo/hotp-php/pull/5>.

Change-Id: Iade0299c6f917dd1d19043b416d19c46bf34b078
2018-04-09 11:10:07 -07:00
Kunal Mehta 6e74fa9fba Add phan configuration
Change-Id: I80852cc4ac4ea0bff3b07b2468216eb53271e250
2018-04-09 00:56:37 -07:00
Kunal Mehta 7451a5df33 Move classes to includes/
Change-Id: I2d2a917e5a22f88dc644eb3c33f775642728e1f4
2018-04-09 00:51:39 -07:00
Translation updater bot 0f6c2a4391 Localisation updates from https://translatewiki.net.
Change-Id: Iace1304485aedd3fe6b526258557f81ef8205c6b
2018-04-08 22:30:13 +02:00
Kunal Mehta 9f4e788bdb Fix "MediaWiki.Commenting.LicenseComment.InvalidLicenseTag" sniff
Change-Id: Iadc021f215608be57fee7db8a1e5bcc5d09d27e1
2018-04-07 00:59:22 +00:00
Umherirrender 00805b4cf8 Fix parameter docs
* OATHAuthKey::$secret is accessed as array in getSecret
* OATHAuthUtils::getKeyMaterials returns an string, because the globals
are strings
* OATHUser::__construct make argument also nullable in @param
Change-Id: I61813012aa27a654b747cdf86af3616a33c5208c
2018-04-05 13:27:13 +02:00
Umherirrender ad09b62e3b Add missing use for namespace Wikimedia\Rdbms
Change-Id: I5d65237678d858f1d10969a3de5a5b9d48f6a87f
2018-04-05 11:29:45 +02:00
Translation updater bot a2052eee8d Localisation updates from https://translatewiki.net.
Change-Id: Iecb6fa9b79815c1567f868da68cc4edc59174ea0
2018-04-01 09:38:47 +02:00
libraryupgrader 158be95ff6 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

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

Change-Id: Ifd166d1897c777bc3ea5e2ba541bc679f2536b98
2018-03-29 04:13:18 +00:00
Translation updater bot 058eae4d3f Localisation updates from https://translatewiki.net.
Change-Id: I2d6efb56ed618fa18446e564147edd9dfd99132d
2018-03-28 22:23:13 +02:00
Translation updater bot fc6d5b980b Localisation updates from https://translatewiki.net.
Change-Id: If309cecaedc0210687e1116b1b411e1a896fc62a
2018-03-27 22:09:47 +02:00
Translation updater bot 534411e0f8 Localisation updates from https://translatewiki.net.
Change-Id: Ic7c8f246794af3ab56d8f587131437169a77751a
2018-03-22 22:09:00 +01:00
Translation updater bot dba3717e75 Localisation updates from https://translatewiki.net.
Change-Id: Ic85d9e77f3b7e1b2ac4e25aeb31cf2909c3586d9
2018-03-19 22:19:40 +01:00
Umherirrender fc30b7f738 .phpcs.xml maintenance
Remove exclude-pattern no longer needed
since mediawiki-codesniffer 15.0.0

Change-Id: I0668c16db39fe0ea1e7e69fa04f33c8e964d9e88
2018-03-16 19:25:08 +01:00
Translation updater bot 4f4ae9f1a3 Localisation updates from https://translatewiki.net.
Change-Id: I8b9c7ca7c3b97a5769f4d553da6afaefa1d8ab15
2018-03-15 22:52:07 +01:00
Translation updater bot d390cc8315 Localisation updates from https://translatewiki.net.
Change-Id: Ifd6211353ae1bf92a5ea54646211bc827afef1d8
2018-03-13 22:23:50 +01:00
Translation updater bot 6490a765d5 Localisation updates from https://translatewiki.net.
Change-Id: Ib43b81a3385c108a59c62b6e2ef50b01ca5d636d
2018-03-11 22:31:06 +01:00
libraryupgrader 9aad4dc277 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I03f854b1450e2c3da24c55eb9d0a21b965e07fb1
2018-03-09 22:29:29 +00:00
Translation updater bot 79ab6cb56d Localisation updates from https://translatewiki.net.
Change-Id: I8aed165cf3966fcb86c1f6ec9641db7ab1f3a33a
2018-03-09 22:42:16 +01:00
Translation updater bot a5f6c23504 Localisation updates from https://translatewiki.net.
Change-Id: I8029fec895ef73cc169765e745d2d2e67497a479
2018-03-06 22:18:46 +01:00
Translation updater bot a2cc81fefc Localisation updates from https://translatewiki.net.
Change-Id: I76b770eaffd1c41683242216428211d6fe1f2024
2018-03-05 22:24:53 +01:00
Translation updater bot 465cf078b5 Localisation updates from https://translatewiki.net.
Change-Id: I6ec2fe3a5a667562bea4e67ac8ea3b5da4326765
2018-03-03 22:25:44 +01:00
Kunal Mehta e3fc6fdd94 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: Ia282470aefef930bd867de521f9c45ded8349193
2018-03-02 15:27:50 -08:00
Translation updater bot 0b1eb80688 Localisation updates from https://translatewiki.net.
Change-Id: Id747bceff04409a955a4b95dc39fbe0c98518f76
2018-03-02 22:31:21 +01:00
jenkins-bot 9e356da170 Merge "Emphasize the warning that: These tokens will never be shown again" 2018-03-01 23:35:18 +00:00
Quiddity 3484f21dc3 Emphasize the warning that: These tokens will never be shown again
Change-Id: Idb25f3ccd5cb2e9ed2297b2f1bbbc9830397ff4c
2018-03-01 23:29:31 +00:00
libraryupgrader 91877c7724 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I80dd13d3541807cb1b611aa648a43dafb28ebdca
2018-02-25 10:02:49 +00:00
James D. Forrester 5ce705c317 build: Bump devDependencies to latest
grunt                        1.0.1  →  1.0.2
 grunt-banana-checker         0.4.0  →  0.6.0
 grunt-contrib-jshint        0.12.0  →  1.1.0
 grunt-jsonlint               1.0.7  →  1.1.0
 grunt-stylelint              0.6.0  →  0.9.0
 stylelint                    7.8.0  →  8.2.0
 stylelint-config-wikimedia   0.4.1  →  0.4.2

Change-Id: I9ca9d53425379d22022eecbbb9952e01caf8d6df
2018-02-23 18:06:29 -08:00