Commit graph

2717 commits

Author SHA1 Message Date
jenkins-bot b330a8c463 Merge "Use MediaWikiServices::getFileBackendGroup" 2020-04-05 09:49:14 +00:00
Umherirrender 76ff299d8c Use MediaWikiServices::getAuthManager
This required MediaWiki 1.35 (already set in extension.json)

Change-Id: Ic640f25b299dd7be429766f028ec91ab9481c85c
2020-04-04 16:57:51 +02:00
DannyS712 f0e26d680b Remove use of Revision::newFromTitle
Bug: T249183
Change-Id: I0532af197c7bf4ae88c85c27cdfb5e55ea46feb3
2020-04-04 04:10:13 +00:00
jenkins-bot 1c9c00b507 Merge "docs: Remove mention of $wgMemc from CaptchaCacheStore README" 2020-04-03 06:22:32 +00:00
Brad Jorsch 003237ce9c Fix test hooking of 'PingLimiter'
The code was setting $wgHooks['PingLimiter'] to a Closure rather than
an array of callables, which resulted in the hook never actually being
called.

Interesting that that didn't make any of the tests fail. Anyway, let's
switch to using the setTemporaryHook() method now provided by MW's base
test class.

Change-Id: I6ac22b3c43735dcab4920de827bf06e25f9adc04
2020-04-02 15:22:22 -04:00
Timo Tijhof ea7aba4c6a docs: Remove mention of $wgMemc from CaptchaCacheStore README
Follows-up 63d0bc66.

Bug: T160813
Change-Id: I480d1ffba4e7370298a8a83eb227577ac72bebc6
2020-04-02 17:40:01 +01:00
Translation updater bot 356b64e3d7 Localisation updates from https://translatewiki.net.
Change-Id: Iaf98d23cfac46a2c29cfa609cccc1844726b1232
2020-04-02 08:24:17 +02:00
Translation updater bot 9010394ca8 Localisation updates from https://translatewiki.net.
Change-Id: I1d75b13995cbce38c65a2040636dd676d4ae072d
2020-04-01 08:24:38 +02:00
Umherirrender 615c7d4fdb Use MediaWikiServices::getFileBackendGroup
This required MediaWiki 1.35 (already set in extension.json)

Change-Id: Id403091d4831735410e09727ebba2ab87c406894
2020-03-31 19:38:07 +02:00
jenkins-bot 610264acb8 Merge "Localisation updates from https://translatewiki.net." 2020-03-30 07:24:49 +00:00
Translation updater bot f48a6e5feb Localisation updates from https://translatewiki.net.
Change-Id: Ib73529025a5d20ae5e1afbc2c4bc45db8400eb1b
2020-03-30 09:13:28 +02:00
Translation updater bot 8c526bd344 Localisation updates from https://translatewiki.net.
Change-Id: I30837d5b5feb32c961f8ce799b219403a2673c3b
2020-03-30 08:38:38 +02:00
jenkins-bot 9bc593bf35 Merge "Add skipcaptcha to the basic grant" 2020-03-27 11:59:20 +00:00
Translation updater bot 9c47ab720d Localisation updates from https://translatewiki.net.
Change-Id: I2307181a54e3b7e03dd59c13c8a01b51c0797d84
2020-03-25 08:32:26 +01:00
Bartosz Dziewoński 601b1fff84 VE integration: Fix the "Refresh" button
Previously, clicking it would change the image, but the widget would
still expect the user to fill in the original CAPTCHA.

Change-Id: I24a963e760951427f6d233302429c1baf1fb299f
2020-03-24 00:24:18 +00:00
Bartosz Dziewoński da4c75e387 VE integration: Remove "Warning:" label before CAPTCHA
It doesn't add anything and looks silly.
https://phabricator.wikimedia.org/F31677965

Change-Id: I94641a227d26622846ea8b300e8a3e9eb300b651
2020-03-23 23:06:33 +01:00
jenkins-bot a9093fd482 Merge "Avoid deprecated curly brace syntax" 2020-03-23 10:21:51 +00:00
Translation updater bot 951a536202 Localisation updates from https://translatewiki.net.
Change-Id: I51080c3c0ddcd004b0c678c3f788d3b794f825c4
2020-03-23 09:02:44 +01:00
Kunal Mehta 387bbb1f20 Avoid deprecated curly brace syntax
See <https://wiki.php.net/rfc/deprecate_curly_braces_array_access>, which
deprecated this syntax in PHP 7.4.

Change-Id: Ia7e5515d7fd3557b79df13149befcc75e090dec1
2020-03-22 19:59:03 -07:00
JJMC89 233924604f Add skipcaptcha to the basic grant
Bug: T241118
Change-Id: I6c17fff97d868090cf9f770d2dd66c089154eae2
2020-03-21 20:51:11 +00:00
libraryupgrader 445b870479 build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.6.0 → 6.8.0
  * https://npmjs.com/advisories/1179

Change-Id: I8b4e186fca62cacc75e9fd7df84624bed18f2bdb
2020-03-20 21:33:57 +00:00
Translation updater bot 4f7548558a Localisation updates from https://translatewiki.net.
Change-Id: Ia802f69db522e20681c57fbff618600c8a394d34
2020-03-19 08:33:07 +01:00
libraryupgrader e40b883e3f build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I374adfd9d0effe7ad83f31fab4c9d8730b021087
2020-03-18 05:30:24 +00:00
Translation updater bot 84f576d143 Localisation updates from https://translatewiki.net.
Change-Id: I53dc68c62d159e91c23bccbe0254c6f0e68b565e
2020-03-16 16:00:38 +01:00
Translation updater bot c83b47b754 Localisation updates from https://translatewiki.net.
Change-Id: I1f53325212881b8e3e29173051907c2da9c0d2ff
2020-03-10 08:14:55 +01:00
Translation updater bot 7293811293 Localisation updates from https://translatewiki.net.
Change-Id: Id7b8318d52164f06c20925f76675f281c78d225d
2020-03-09 08:56:29 +01:00
libraryupgrader 72f72c38ea build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I8ff39c4db072351bda0173ec79cff32f5e9ec732
2020-03-08 21:13:01 +00:00
Reedy e5d3a17263 Drop $ceAllowConfirmedEmail
I think well over 2 years is long enough!

Change-Id: Ia3770fe4d257df30b6dd244405d4943099cf8464
Follows-up: If4daf6f25f0d2b2c0f1e173ee3903063a39978bb
2020-03-08 16:17:30 +00:00
DannyS712 b8b0e23632 Pass a user when creating a new ParserOptions
Bug: T246861
Change-Id: Ib516006f0a02c26da50d2a865242adc5cc65be9e
2020-03-04 08:08:26 +00:00
Translation updater bot d4406d2f56 Localisation updates from https://translatewiki.net.
Change-Id: I55948492f731b89162e7610eed33ff06faccb5c3
2020-03-04 08:19:34 +01:00
Translation updater bot 4ba7042ab9 Localisation updates from https://translatewiki.net.
Change-Id: Ie3f4fc6005dcb521de617b6f9e3d873a176371e1
2020-03-03 08:13:59 +01:00
Translation updater bot f74a8f99f2 Localisation updates from https://translatewiki.net.
Change-Id: Ia3ebd2dbad90391b0a0056bf97155808ebfe9e9e
2020-03-02 09:09:25 +01:00
jenkins-bot b1d452d472 Merge "Don't use logging reserved word 'ip' as parameter" 2020-02-29 20:06:54 +00:00
Translation updater bot a58ce27b5d Localisation updates from https://translatewiki.net.
Change-Id: I11db3d2f2fc68c0e1e42bd1eafd710d2d5c3bafe
2020-02-28 08:22:07 +01:00
Reedy 035e073ddb Don't use logging reserved word 'ip' as parameter
Bug: T245280
Change-Id: I368724e9e6de85df45fd8734668789e8d524214f
Follows-up: I5f602bc08902b63acbb0752093b418d0ab063493
2020-02-27 15:11:16 +00:00
Translation updater bot 9a7ec1d0fe Localisation updates from https://translatewiki.net.
Change-Id: I301c4cbcbe193b4c0bcb1be4bf27a435eb3408f9
2020-02-24 09:02:12 +01:00
libraryupgrader 2b33438f7c build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I495b7da171bbd845bd93eebf92cb7dd8a6243efd
2020-02-20 20:40:24 +00:00
Translation updater bot eb01f5eef4 Localisation updates from https://translatewiki.net.
Change-Id: I8a930a15f573d90babc14cf35fb79364457b2d11
2020-02-19 08:23:29 +01:00
Translation updater bot 1e044a652c Localisation updates from https://translatewiki.net.
Change-Id: I559d0483836d9950468ea127910e5e198ced6808
2020-02-17 08:45:52 +01:00
jenkins-bot 3ed7cb168c Merge "log login captchas to "captcha" channel instead of "authevents"" 2020-02-16 23:48:03 +00:00
Translation updater bot 7845c68b85 Localisation updates from https://translatewiki.net.
Change-Id: I16e9a9a3d467690d9580876318a1574c598320e7
2020-02-13 08:54:31 +01:00
Brian Wolff bb0a85ea5e log login captchas to "captcha" channel instead of "authevents"
Also makes the log events more useful by including the username
in question and fix logging logins as being account creations.
See also Icde984d27.

Bug: T210817
Change-Id: I5f602bc08902b63acbb0752093b418d0ab063493
2020-02-11 09:04:55 -08:00
Translation updater bot 5b4a0704b9 Localisation updates from https://translatewiki.net.
Change-Id: Id345c178279d4b640be65c12c3781ab59cd9a1f4
2020-02-10 08:33:14 +01:00
jenkins-bot f5f9c0971d Merge "Remove unused return values and reduce code complexity" 2020-02-09 17:27:11 +00:00
jenkins-bot 14bdf0dfb8 Merge "Replace deprecated IP class with IP Utilities" 2020-02-09 16:45:15 +00:00
Ammar Abdulhamid 07a2824630 Replace deprecated IP class with IP Utilities
* Also bump required MW version to 1.35.0

Bug: T242556
Change-Id: I279e7d83a0dc75414117208ed23f8cc6b729eb19
2020-02-09 08:23:02 +01:00
Aaron Schulz 55404c02d1 Convert $wgMemc use to WANObjectCache
Bug: T160813
Change-Id: I2d78d912e400e814ddefd27d0d7b36c945a3d8af
2020-02-06 15:49:02 -08:00
Translation updater bot 5635916539 Localisation updates from https://translatewiki.net.
Change-Id: I3822aa987ef4575a3ab09d8b7f7b5938bf71352f
2020-02-04 08:33:08 +01:00
Thiemo Kreuz 0dfd1f4ed1 Remove unused return values and reduce code complexity
Changes:
* Do not return anything in a method that is not expected to return
  something.
* Inline some previously hard to read code.
* More specific type hints, if possible.

Change-Id: I0e460899eea07d8733f638a11133adc3000f0542
2020-02-03 15:37:32 +01:00
Translation updater bot cd15b4d9a3 Localisation updates from https://translatewiki.net.
Change-Id: Id8e12097a517556e31b8d247d38b97061bd6eff5
2020-01-31 09:52:53 +01:00