Commit graph

1038 commits

Author SHA1 Message Date
Translation updater bot ac2dd16780 Localisation updates from https://translatewiki.net.
Change-Id: I50e1330c79e8f8e3929883e450d812e0df1e9b86
2021-06-14 08:37:54 +02:00
Translation updater bot 3e5a974e51 Localisation updates from https://translatewiki.net.
Change-Id: I8048105b877bc0a8b8b792ac37fdb840c852b75a
2021-06-04 08:37:00 +02:00
Translation updater bot fd6469ec3b Localisation updates from https://translatewiki.net.
Change-Id: Ifb687fac039ca7c96fb151bc64a4497820daccf8
2021-05-31 08:32:06 +02:00
Translation updater bot b569d0aebc Localisation updates from https://translatewiki.net.
Change-Id: I6f6020da13d56ff1c63e3a0e1b5b54c18844857b
2021-05-28 09:05:38 +02:00
Translation updater bot 8116a70e8a Localisation updates from https://translatewiki.net.
Change-Id: Ib06ba3eded8c7444443a17911ca932f83e22a023
2021-05-27 12:05:50 +02:00
Translation updater bot 3dd337b1d5 Localisation updates from https://translatewiki.net.
Change-Id: I7f1b469ae788cb5221510912cb83970eecd501e4
2021-05-26 09:05:08 +02:00
libraryupgrader f6fe7e3ed5 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: Ife64a3434adc97256842ac44b0352e2615c0f4d0
2021-05-26 00:01:25 +00:00
Translation updater bot 982ed29762 Localisation updates from https://translatewiki.net.
Change-Id: I3ba1a0f1f5ce2f94bfdd8b8811a11fd1d457478d
2021-05-25 08:53:16 +02:00
Translation updater bot 1e0e25283b Localisation updates from https://translatewiki.net.
Change-Id: I33f4b65fe2da84e51cbd5fd38b653e24fffd917b
2021-05-20 09:11:02 +02:00
Translation updater bot 4b9eaa64fc Localisation updates from https://translatewiki.net.
Change-Id: Ic56eedd5b931abad4b3a2d466d74643e0922f158
2021-05-17 08:42:57 +02:00
Translation updater bot 8d95d7a227 Localisation updates from https://translatewiki.net.
Change-Id: I8bd35961052a81e15b2ddcc3bb37b9caa6dd1604
2021-05-14 08:44:58 +02:00
vladshapik bae40b8b5e Replace uses of the deprecated setters of AbstractAuthenticationProvider
Since AbstractAuthenticationProvider ::setLogger, ::setManager,
::setConfig methods had been soft deprecated,
so its uses were removed.
* Also bump required MW version to 1.37.0

Bug: T281991
Change-Id: Ifd6ed1bc60d8a7fe6d10af1f08b6670a96ca2851
2021-05-13 17:50:15 +03:00
Ppchelko eda093497d Merge "Replace uses of DB_MASTER with DB_PRIMARY" 2021-05-13 14:47:03 +00:00
Umherirrender 2d0a3409b1 Merge "build: Updating dependencies" 2021-05-13 13:44:04 +00:00
ZabeMath 7820be3326 Replace uses of DB_MASTER with DB_PRIMARY
Change-Id: Ifd3c5b97b0f519b7f61c8fd76149b1bcd53796d1
2021-05-13 01:25:56 +02:00
Translation updater bot 88feccc5ea Localisation updates from https://translatewiki.net.
Change-Id: I76cde514b41f1fd0c1835298057cf84a3b168d4e
2021-05-12 09:22:35 +02:00
libraryupgrader c54975b884 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)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I0ad0eba98f23846f5baa3a10433331356229fca8
2021-05-12 03:37:53 +00:00
Translation updater bot dfdc112727 Localisation updates from https://translatewiki.net.
Change-Id: Ide6957afec87d0c1c047702b1bc5a5b69d3ef2a0
2021-05-11 09:07:28 +02:00
Translation updater bot 111c3801b0 Localisation updates from https://translatewiki.net.
Change-Id: Iac1860d60984f7b9b04f39e0493626a413b1b033
2021-05-10 08:52:53 +02:00
Translation updater bot 7b3434b534 Localisation updates from https://translatewiki.net.
Change-Id: I3fd848ab6a0cfdce071a55c32dab00592d8f5359
2021-05-07 08:42:35 +02:00
Translation updater bot 4764d3b5c3 Localisation updates from https://translatewiki.net.
Change-Id: I0ffd1c85d0ebe9868fd9fdf6034401d09c902948
2021-05-05 08:38:47 +02:00
Translation updater bot 5a096bb8d6 Localisation updates from https://translatewiki.net.
Change-Id: Idb4f700eb198e493b7b9d9f13b003310a743a290
2021-05-04 08:52:35 +02:00
Translation updater bot 9e83c737bb Localisation updates from https://translatewiki.net.
Change-Id: I92741cf00e3822116e6cca3deba69d82e488593b
2021-04-23 08:37:05 +02:00
Translation updater bot c12560388e Localisation updates from https://translatewiki.net.
Change-Id: I8b5050687d6ff49be85a0eaf6e1fe3df870107ec
2021-04-16 09:50:44 +02:00
libraryupgrader 960f048a8a build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Id70a7ae70911ee063eaa7ab73a1fea4d9808c495
2021-04-13 18:17:10 +00:00
Translation updater bot 9bb97a9a43 Localisation updates from https://translatewiki.net.
Change-Id: I79c7f6f21e3fafa11ceb0555c60e87738f5b795c
2021-03-30 08:33:22 +02:00
Timo Tijhof 6b106fe10c TOTPKey: Use foreach instead of for-i-length and remove dead code
Follows-up c943f75.

* Use foreach to iterate the list of tokens, instead of i-to-length.

* Remove the redundant 'retval = false' assignment, as this was
  within an `if (!$retval)` block where the only previous assignment
  to it was either retval = 1 or retval = false. Hence redundant.

* Remove the conditional that made the list only checked if the
  list was not identical to `[ 0 => "" ]`.
  It is unclear to me why this check existed.
  I can imagine one of two scenarios, neither of which appears
  to be the case:
  1. Maybe the scratch list contains 10 tokens plus an empty string,
     and if we see it only contains that, we know it's logically empty
     and don't "need" to iterate the list.
     Except... iterating the list is cheap, so why bother?

  2. Maybe the scratch list contains 10 tokens plus an empty string,
     and we don't want to allow the empty string to be considered
     a valid scratch token to we skip the loop if that's the only
     one left.

     Except... if that were the case we'd be in trouble as it
     isn't being disallowed when the list contains other items
     still. And again, afaik it never contains an empty string,
     and hopefully empty input is already rejected by now.

   Neither of these are good reasons to remove the code without
   knowing what it was for though, so I'd rather we figure this
   out before merging. I can restore the check if it's non-trivial
   to find out.

Bug: T256918
Change-Id: Ide4160bdc18bc47da9632791fb4321e44d6d115a
2021-03-29 21:42:56 +00:00
Translation updater bot 04522fa6f9 Localisation updates from https://translatewiki.net.
Change-Id: I1ce20e1cb0e8a89830b32284d233485c05629d2d
2021-03-29 08:36:41 +02:00
libraryupgrader 9e8171867e build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I03280687b9740a26c27319c15f3aea9d41c28674
2021-03-14 04:29:18 +00:00
libraryupgrader 60b1ad5283 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I27ddf85ef6aee2412e846d2002c3f0c5145c0ec0
2021-03-07 10:03:42 +00:00
Translation updater bot 58b26f743a Localisation updates from https://translatewiki.net.
Change-Id: I7e425648d4b3fccfe83af72efd859ea30a1a79aa
2021-03-01 08:52:49 +01:00
Translation updater bot ef2cf90e4a Localisation updates from https://translatewiki.net.
Change-Id: I4a48cfd4db9cb78b8840b84cde42d45b0a15355b
2021-02-26 08:57:10 +01:00
Translation updater bot aeae5e05a6 Localisation updates from https://translatewiki.net.
Change-Id: I763d31d0de05e414b537a2019b1c7628b11c0ab8
2021-02-24 08:51:51 +01:00
Translation updater bot 68e68b5d86 Localisation updates from https://translatewiki.net.
Change-Id: I78ba43882f6b0940def85d186ef4549fd4dfa96f
2021-02-15 10:05:56 +01:00
Translation updater bot 77407fc703 Localisation updates from https://translatewiki.net.
Change-Id: I3e70a53d9094d1ab6fe72fff43364a613b1bf479
2021-02-11 08:39:39 +01:00
Translation updater bot 8700272120 Localisation updates from https://translatewiki.net.
Change-Id: I0d620d18ca1315d15fb9a1cfd9f9604c35e93efc
2021-02-08 08:43:01 +01:00
Translation updater bot c7dd350664 Localisation updates from https://translatewiki.net.
Change-Id: I3df01abf770ced60b8156f227b9182dafbdec0ee
2021-02-02 08:39:36 +01:00
Translation updater bot 9a9aec9f7a Localisation updates from https://translatewiki.net.
Change-Id: I3a6b5943283e96f586760855732fefb6d1f87bd8
2021-02-01 08:48:16 +01:00
libraryupgrader 255d43e6a1 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Removing manual extensions for eslint.

Change-Id: I8bb66a4485564d0518f105ccbbdd8f8ba73d20a3
2021-01-30 06:33:24 +00:00
Martin Urbanec b5a187624e Add oathauth-verify-user to oath grant
Change-Id: I4baf29ad39bd56bcbf45670423fd553643af6b55
2021-01-29 00:51:06 +01:00
Translation updater bot 4595e3e53c Localisation updates from https://translatewiki.net.
Change-Id: I08667ee4b0f7aaa3befa8a4c3ab68247bac874f4
2021-01-28 08:36:28 +01:00
Translation updater bot ee4c2973b4 Localisation updates from https://translatewiki.net.
Change-Id: I43b847c2c8775c6a23d0ffe659ddbe2ffb8030f0
2021-01-20 08:27:11 +01:00
Translation updater bot 5a7398d1c7 Localisation updates from https://translatewiki.net.
Change-Id: Ie70506164163af46c6573dea7afd323cdc0a33ff
2021-01-18 08:39:00 +01:00
Reedy 615965c730 Inject services to Special Pages
Change-Id: Ice0c63368e9c0aa77688b63a74eb706dd00691ce
2020-12-31 23:54:43 +00:00
Reedy 85d6681fef Convert to HookHandler
Bug: T270971
Change-Id: Idf8dad4872a220624b4355a8a9b5e9a02d0e442c
2020-12-31 19:52:49 +00:00
Reedy 1d97d5ef1b OATHManage: Code cleanup
* Stop returning return values of function that don't return anything
* Remove & from IManageForm reference

Change-Id: I7afa12a4f154cabee03be8947a0bfaadf9598a03
2020-12-31 04:25:10 +00:00
jenkins-bot dccf665960 Merge "Minor code style changes" 2020-12-31 03:29:55 +00:00
jenkins-bot 2545f76b6b Merge "Update christian-riesen/base32 (1.3.2 => 1.4.0" 2020-12-31 03:28:36 +00:00
jenkins-bot 58b670015e Merge "Updating jakobo/hotp-php (1.0.1 => 2.0.0)" 2020-12-31 03:28:34 +00:00
Reedy 37d2b0ff19 Remove TwoFactorIsEnabled hook handler
Hook was part of Extension:OpenStackManager, but removed by REL1_35, so unnecessary
I4741fcb073f8463f017bc1b477206dee801b662b / 46d9149c2db7c2b2d4573bede74b54779d66bee8

Change-Id: I2c5f99bfa9028c57a1eadbd81a51f84b47668848
2020-12-31 02:37:42 +00:00