Commit graph

2800 commits

Author SHA1 Message Date
Reedy 96f348b64b Add $wgHCaptchaProxy
Bug: T252427
Change-Id: Ia062edb5e619ef3782ad92ab0b7859770f8b5bdd
2020-05-11 17:39:37 +01:00
Translation updater bot 28b33ed7a4 Localisation updates from https://translatewiki.net.
Change-Id: I559d1eefd92d8ea90b58f42213d7393cf21ba9d4
2020-05-08 09:28:04 +02:00
Translation updater bot c34b94938e Localisation updates from https://translatewiki.net.
Change-Id: I5b0ceb4b8a4e8f37e60a68f6990b102063b41584
2020-05-04 09:15:09 +02:00
Reedy 574330467d Add COPYING
Bug: T234086
Change-Id: Ib2b7661ba5fc9bd7d4e658f68449376cfb72437b
2020-05-01 17:53:14 +01:00
Translation updater bot 4042809400 Localisation updates from https://translatewiki.net.
Change-Id: I54db3196670865c3dd9bf65d908fe315f9eea6a4
2020-05-01 10:00:23 +02:00
Translation updater bot 8dc308a156 Localisation updates from https://translatewiki.net.
Change-Id: Ie40961a71e47f72d51b385919ed467d8a15455ce
2020-04-29 08:35:28 +02:00
Translation updater bot b5943d13a8 Localisation updates from https://translatewiki.net.
Change-Id: Ia6a3f12f949456ecf16e03e4d2c489392608bf53
2020-04-24 08:22:11 +02:00
Translation updater bot d349cc057d Localisation updates from https://translatewiki.net.
Change-Id: Ifafc4f717ce326da1492f71176b40889e1cd7af1
2020-04-23 08:42:41 +02:00
libraryupgrader 9c17e60df2 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: If6c9850e6063293cc21797feab9a96e34ba64a2a
2020-04-22 07:21:43 +00:00
Translation updater bot 7312d6f885 Localisation updates from https://translatewiki.net.
Change-Id: Icb4136e8f59687e97c414f31096db8c003a33837
2020-04-21 08:45:12 +02:00
Translation updater bot a19ed1c194 Localisation updates from https://translatewiki.net.
Change-Id: I480da1ff2335843514ab2684fd54c281fe7fb8d4
2020-04-20 08:41:01 +02:00
libraryupgrader f532395286 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I49d0278615ab5dda2d578da4d5591e2edd4e2cd5
2020-04-19 02:36:10 +00:00
Florian 5f24bff3f4 Use globally not-blocked recaptcha.net instead of google.com
Bug: T250297
Change-Id: I05bb74e65ce9ce425a7a4fecd33a75748ef6cc43
2020-04-17 23:46:21 +00:00
jenkins-bot ecb06a2b7e Merge "[reCaptcha] Fix support for VisualEditor" 2020-04-17 19:01:49 +00:00
jenkins-bot 7db678474c Merge "Extract CaptchaInputWidget from VE code for use in other extensions" 2020-04-17 19:00:22 +00:00
Florian 3cb9a7cd17 [reCaptcha] Fix support for VisualEditor
Bug: T250488
Change-Id: Ic99b039186cf290b7258bca1c48a9f4b103065cb
2020-04-17 18:48:28 +00:00
Florian 610ac36573 Remove unused and not working code fragment
Bug: T250236
Change-Id: Ia85d61a81234abe8d238424bcabcf5f5dc4d839f
2020-04-17 17:31:36 +02:00
jenkins-bot 22842fb0d2 Merge "Add hCaptcha" 2020-04-17 14:56:45 +00:00
Reedy f005a5cb4a Add hCaptcha
Mostly working from Florian's ReCaptchaNoCaptcha

Bug: T249854
Change-Id: I5c3ac71bdfd528339b846b5811e78a88e8135e46
2020-04-17 16:43:27 +02:00
Bartosz Dziewoński f786536715 Extract CaptchaInputWidget from VE code for use in other extensions
* ext.confirmEdit.CaptchaInputWidget.js:
  Based on code from ve.init.mw.CaptchaSaveErrorHandler.js

* ext.confirmEdit.CaptchaInputWidget.less:
  Based on code from mw/ext/VE repo in ve.ui.MWSaveDialog.css

* ConfirmEditHooks.php:
  Based on code from mw/ext/VE repo in VisualEditorHooks.php

Change-Id: I6605017fd31a4f96c529dd0beb69e9f4433cebc1
2020-04-15 16:06:58 +02:00
Translation updater bot c30999fa1b Localisation updates from https://translatewiki.net.
Change-Id: I9c67ba6efd4f118d84917fca71081b55a8d79eb8
2020-04-15 08:23:28 +02:00
Reedy d648372f7f Fix MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
Change-Id: Idc03460327095e19438fd9a3a542bf4229db4be2
2020-04-15 00:45:00 +01:00
Reedy 274e6079f8 Fix PSR12.Properties.ConstantVisibility.NotFound
Change-Id: Ib76375fed58fddb1f96728dd2baeec08e222dc83
2020-04-15 00:25:50 +01:00
Translation updater bot 5065332a92 Localisation updates from https://translatewiki.net.
Change-Id: Ibea0572c140e72ade9cec2166502990e89f409f7
2020-04-13 08:59:56 +02:00
Reedy 74eb713da9 Fix some indenting and whitespace
Change-Id: Ib2c21563f823c6d31a71a94562f808cd2fca3782
2020-04-11 02:27:12 +01:00
Translation updater bot f390c92b98 Localisation updates from https://translatewiki.net.
Change-Id: Id1620e9023b13be2d43b02ea5fa85b97293e1377
2020-04-09 08:38:34 +02:00
Translation updater bot e115281e77 Localisation updates from https://translatewiki.net.
Change-Id: I1adfcf5d9cc14441ff7d4537f705c456dec2a25a
2020-04-07 08:38:24 +02:00
jenkins-bot a048941208 Merge "Remove use of Revision::newFromTitle" 2020-04-07 02:11:52 +00:00
jenkins-bot e1509b9190 Merge "Localisation updates from https://translatewiki.net." 2020-04-06 07:24:34 +00:00
jenkins-bot 65d422c567 Merge "Localisation updates from https://translatewiki.net." 2020-04-06 07:22:22 +00:00
Translation updater bot 126dc038e2 Localisation updates from https://translatewiki.net.
Change-Id: I4be3427f79fcd39a4d9bd4c57630c0d3860a5c42
2020-04-06 09:01:36 +02:00
Translation updater bot 0677cd595c Localisation updates from https://translatewiki.net.
Change-Id: Id50cc94abdf3eda67bebbbc9aa28a6a451ba8fd5
2020-04-06 08:19:42 +02:00
libraryupgrader 8043b8f994 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: I10957eb915a0b0111801826b42af3b1a05974011
2020-04-05 15:24:36 +00:00
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