Commit graph

117 commits

Author SHA1 Message Date
Translation updater bot 8fff081fa7 Localisation updates from https://translatewiki.net.
Change-Id: Id520c276c27897112994a6a12b4a696956fcc526
2018-03-19 22:19:04 +01:00
Translation updater bot 5566a6492c Localisation updates from https://translatewiki.net.
Change-Id: Ib476caceab613c9c435e4c438efe1a595d8cc7da
2018-03-13 22:23:20 +01:00
Translation updater bot 95549f922c Localisation updates from https://translatewiki.net.
Change-Id: Ia1dcb5075a14ae4281fe2edf0cc85e8b99b6fffd
2018-01-15 22:24:59 +01:00
Umherirrender 1254022153 Improve some parameter docs
Change-Id: Idce2db0b489c19ec9b936cfc4ced3792e6f9711d
2017-09-24 12:14:11 +00:00
Translation updater bot 119975ef1a Localisation updates from https://translatewiki.net.
Change-Id: I382c0df2c1472cf911db7e1a9f12038a80d7f607
2017-07-10 22:34:11 +02:00
Translation updater bot f3702bf8fb Localisation updates from https://translatewiki.net.
Change-Id: If7d90dcdaa5288549b7f571de4c8767ea4011865
2017-06-28 22:44:33 +02:00
Translation updater bot ff15eafcca Localisation updates from https://translatewiki.net.
Change-Id: I34124616e8196b1291259aa73e6a1411229f99bb
2017-06-25 22:55:48 +02:00
Translation updater bot 574e2da664 Localisation updates from https://translatewiki.net.
Change-Id: I339eff851c336423925dcb0a4d6c1f8736f299f2
2017-06-05 22:55:04 +02:00
Translation updater bot b653a9d49e Localisation updates from https://translatewiki.net.
Change-Id: I7839eae607feed662f93e7ba4d7ef409a55cea9e
2017-06-03 22:28:31 +02:00
Translation updater bot 86c36d4b34 Localisation updates from https://translatewiki.net.
Change-Id: Ib376ef65503c42b8f98c04af9560b7f2f5842d85
2017-06-01 22:53:17 +02:00
Translation updater bot 6303a1853a Localisation updates from https://translatewiki.net.
Change-Id: I45b7bbfa9b6387e48bdb011b2ebd7be1202764e4
2017-04-04 22:37:16 +02:00
Reedy 33f0462f22 Param docs and type hints
Change-Id: I848133a979c4e3277e0187a67c4ebcf4098e9446
2017-02-17 13:26:54 +00:00
Translation updater bot 771f2aca8d Localisation updates from https://translatewiki.net.
Change-Id: I2e62e1424b14b5ecf95e8a494c13b37d8199f82b
2017-01-01 09:53:40 +01:00
Translation updater bot 53db284886 Localisation updates from https://translatewiki.net.
Change-Id: Idd11f71a0292a2a949b1b5c6988d430d37c55ee2
2016-11-20 22:13:52 +01:00
Translation updater bot 34ca10b76a Localisation updates from https://translatewiki.net.
Change-Id: I6a5f83791beedfdbc4e96c0eb6d3b45bc60ba914
2016-10-29 22:39:58 +02:00
Translation updater bot 0f32ed0f23 Localisation updates from https://translatewiki.net.
Change-Id: I24a46864bd754bf1bfe85cd595d21feaf7934f15
2016-10-17 22:31:09 +02:00
Translation updater bot 5f421b2c4d Localisation updates from https://translatewiki.net.
Change-Id: I61449d21babaff77917096a5913808530bdfcd5e
2016-10-15 23:00:11 +02:00
Translation updater bot 68a2d014fd Localisation updates from https://translatewiki.net.
Change-Id: I82894052c4e02a5a3a18ce99f92c6ce11df3cabb
2016-10-10 22:26:05 +02:00
Translation updater bot c73e887089 Localisation updates from https://translatewiki.net.
Change-Id: I7cc67f11274c6eca5e94c2ca302eb1b75ca70784
2016-10-09 22:46:09 +02:00
Brad Jorsch ac97e69999 Remove pre-1.25 API compatibility code
Since this extension uses extension.json, it already requires 1.25+ so
no need to keep the old code around.

Change-Id: I31b96b0939d5321be31889422cfc703c9c6c2baa
2016-09-20 15:32:05 -04:00
Translation updater bot 1b5df776e3 Localisation updates from https://translatewiki.net.
Change-Id: Ifa58bcd2b7a4b67dee5918217d4efe7bde052599
2016-09-04 22:27:30 +02:00
Translation updater bot 87dd029422 Localisation updates from https://translatewiki.net.
Change-Id: I921a063904001b57339f61f1b2a2de3b02f94216
2016-08-29 22:34:42 +02:00
Florian Schmidt 38711ed591 Fix mime type of ReCaptchaNoCaptcha
Follow up: I0da671a546700110d789b79a3089460abd9cce3b

Change-Id: I391cc8a80bc228cd0ce55331aea2c4329a97704c
2016-08-21 15:14:57 +02:00
Translation updater bot 2a9245bb2b Localisation updates from https://translatewiki.net.
Change-Id: I7d48b52ebe6b0803dd0eb34166f742d23a70e716
2016-08-16 22:41:01 +02:00
Florian e566dcb966 Remove getForm() and replace by getFormInformation()
This commit removes SimpleCaptcha::getForm() and replaces it by its more informative
counterpart getFormInformation(), which returns an array, which provides some
more information about the form than only the html.

The information included in the array is:
 * html: The HTML of the CAPTCHA form (this is the same as what you expected from
   getForm() previously)
 * modules: ResourceLoader modules, if any, that should be added to the output of the
   page
 * modulestyles: ResourceLoader style modules, if any, that should be added to th
   output of the page
 * headitems: Head items that should be added to the output (see OutputPage::addHeadItems)

Mostly you shouldn't need to handle the response of getFormInformation() anymore, as there's
a new function, addFormToOutput(), which takes an instance of OutputPage as a first parameter
and handles the response of getFormInformation for you (adds all information to the given
OutputPage instance, if they're provided).

Bug: T141300
Depends-On: I433afd124b57526caa13a540cda48ba2b99a9bde
Change-Id: I25f344538052fc18993c43185fbd97804a7cfc81
2016-08-04 01:45:13 +00:00
Translation updater bot a94992e253 Localisation updates from https://translatewiki.net.
Change-Id: If26e3d148017245c67097dfd191fbe1cd0c5abcb
2016-07-25 22:23:07 +02:00
Translation updater bot 83a1b99c14 Localisation updates from https://translatewiki.net.
Change-Id: I4bd03abeae47f7effaf1f40657501abec22335dd
2016-06-16 22:25:56 +02:00
Translation updater bot 079fdb2991 Localisation updates from https://translatewiki.net.
Change-Id: I03d9ac806ca25b8112adc44b27d3c267d4b44fc0
2016-05-28 22:16:52 +02:00
Translation updater bot 9f650aec81 Localisation updates from https://translatewiki.net.
Change-Id: I3d38817ffc890635e37876d7ee2e16deaaf0c720
2016-05-20 22:25:58 +02:00
Translation updater bot 900940d44e Localisation updates from https://translatewiki.net.
Change-Id: I11505d7cf59a46d83eaf9c48b1ed3ae27e89ea46
2016-05-19 23:07:43 +02:00
Translation updater bot d553b17df3 Localisation updates from https://translatewiki.net.
Change-Id: I8e528e2f0dd8bceac9cbc26253aaeed893c98a19
2016-05-17 22:20:50 +02:00
Gergő Tisza f97212acbf Expose equivalent functionality for passCaptcha
passCaptcha was made protected in I0da671a546700110d789b79a3089460abd9cce3b,
but some other extensions used it, provide passCaptchaFromRequest as a
replacement.

Bug: T135477
Change-Id: I47b2e2fbe3e063cd86e8a2d6bc17ca939472dbe1
2016-05-17 18:29:43 +00:00
Gergő Tisza 3e3b91b527 Add AuthManager support for ReCaptcha, ReCaptchaNoCaptcha
Also remove references to "two words" from ReCaptcha labels.
The captcha image doesn't always contain two words.

Bug: T110302
Change-Id: I544656289480056152a1db195babb6dadf29bc71
2016-05-16 09:51:11 +00:00
Gergő Tisza 31c59374a4 Add AuthManager support to SimpleCaptcha, QuestyCaptcha, FancyCaptcha, MathCaptcha
Also update MathCaptcha so that it works with recent versions of
Math (and breaks with old ones). Also fix MathCaptcha API output,
which used to send the question in plaintext.

Bug: T110302
Change-Id: I0da671a546700110d789b79a3089460abd9cce3b
Depends-On: I8b52ec8ddf494f23941807638f149f15b5e46b0c
2016-05-16 09:50:25 +00:00
Kunal Mehta 9ea898ba2a build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
Also added "composer fix" command.

Change-Id: Ibda3fd002c577c7f7c41920d67ec44fedbd27cb8
2016-05-09 16:41:17 -07:00
Translation updater bot 1568afffb2 Localisation updates from https://translatewiki.net.
Change-Id: Ic78c5a89fd710f573538821f7d1f41fe5832c7e9
2016-04-07 22:59:45 +02:00
Translation updater bot d6e6cdaa79 Localisation updates from https://translatewiki.net.
Change-Id: Ia45758637b4463d3213a11998195f0a7e5fb5fb8
2016-03-29 22:35:04 +02:00
Translation updater bot 1730dabc3a Localisation updates from https://translatewiki.net.
Change-Id: I395f7dbacb44f46005cec5f7318c176910fe00aa
2016-03-28 22:39:23 +02:00
Florian 999cbba074 Add "manifest_version": 1 to CAPTCHA modules
Needed to validate against a specific schema version.

Bug: T128330
Change-Id: I6f745057b8b17f57049ec5b565d7a882d19174c5
2016-02-28 18:20:01 +01:00
Translation updater bot 7d83457342 Localisation updates from https://translatewiki.net.
Change-Id: I3a8b2d865ceeaa9c944782686c369320bc70ee8d
2016-02-18 22:15:02 +01:00
Translation updater bot 3eaf561945 Localisation updates from https://translatewiki.net.
Change-Id: Ibbf35f24ac4c2fa2927b5120578aa65a8c024213
2016-01-27 21:39:29 +01:00
Translation updater bot 0c5f033a08 Localisation updates from https://translatewiki.net.
Change-Id: I5ee9a6b59ff9b73e9ba7f6cabb5f65277b7cf94e
2016-01-06 21:52:41 +01:00
Tacsipacsi 0aaacc276f ReCaptchaNoCaptcha: Set captcha language to interface language
Use reCaptcha's "hl" parameter with language code from display language code.
It's tolerant to unknown codes--works as before: displays in browser language.

Bug: T122300
Change-Id: I3aac1aed12bc4b2603d225c1a386a73197f411a0
2015-12-26 23:10:23 +01:00
Translation updater bot fd8d7acf5d Localisation updates from https://translatewiki.net.
Change-Id: I3ef635a036fcb49965b724da73f451b4be09a272
2015-12-23 22:04:04 +01:00
Translation updater bot ebbb13c3cc Localisation updates from https://translatewiki.net.
Change-Id: I1176fd4612e1126602105a554ac5de743136d11e
2015-12-20 22:32:45 +01:00
Brad Jorsch 01d11b7b73 Add i18n for injected API parameters
Change-Id: I4a0a6c47afdd62e1c9d0b29f066d2a6d1791b52d
2015-12-18 12:53:44 -05:00
Translation updater bot 688f88849b Localisation updates from https://translatewiki.net.
Change-Id: I83900391991d12e1af88aafc1517e5c4e22a7316
2015-12-13 22:16:23 +01:00
jenkins-bot cb706b4e01 Merge "ReCaptchaNoCaptcha: Fix function call on a non-object" 2015-11-06 15:11:55 +00:00
Southparkfan 51c3903005 ReCaptchaNoCaptcha: Fix function call on a non-object
$info is a Status object, but the function logCheckError called
getErrorsArray() on $status (which is an undefined variable), thus it threw an
exception.

Change-Id: I93a52f31134a849e064945b653a13392b2f92d08
2015-11-06 16:05:54 +01:00
Paladox 30490fba52 Add php code sniffer
Change-Id: I298b8b936a2b86deea75c302d88a7391cdb221c9
2015-10-28 21:46:29 +00:00
Translation updater bot 82dac8605d Localisation updates from https://translatewiki.net.
Change-Id: Iaa6b8fdedc3a4163faf0f46875f82f3ce0d5b02a
2015-10-22 21:59:14 +02:00
Translation updater bot dd15a63695 Localisation updates from https://translatewiki.net.
Change-Id: I5278b921e9a12c29c1c8c9d59b77dcf7f4492aa5
2015-10-18 21:54:01 +02:00
Translation updater bot b1f0eb85e8 Localisation updates from https://translatewiki.net.
Change-Id: Ife0442aae421b2e0d5cacdf8c9cdee008fdddd05
2015-10-14 21:51:16 +02:00
Southparkfan 79f9c4ecb8 ReCaptchaNoCaptcha: Fix undefined function call to logStatusError()
It seems that logCheckError() works fine for logging errors, so
I changed any logStatusError() calls into logCheckError() ones.

Change-Id: I4dc6fe0c7ddc10f388f43caa928fefce1a0dac3a
2015-10-14 13:03:31 +00:00
Paladox 4307f1ec19 Add some Jenkins tests
Add support for composer phplint and npm jshint, jsonlint
and banana-checker.

Change-Id: If509fdb96f35cdd252b6c53ece8a568b4a614926
2015-10-14 11:52:19 +01:00
Siebrand Mazeland 8c3fa371e4 Update indentation to use tabs
Change-Id: Ica5d454562dc7b6b582f6878edc5ca4ddb7c2837
2015-10-12 09:16:22 +02:00
Florianschmidtwelzow 443bfac8a8 Add a way to use different tab indexes for CAPTCHA input form
And use it for UsercreateTemplate.

Bug: T113432
Change-Id: I56a618f2132fbcf3fea1a3ce6a409ce90709e849
2015-09-27 01:29:18 +02:00
Translation updater bot ffd7692884 Localisation updates from https://translatewiki.net.
Change-Id: I1df83412d525b18d93e15d9be816f5fb77559514
2015-08-26 21:45:20 +02:00
Translation updater bot d5a93c49f1 Localisation updates from https://translatewiki.net.
Change-Id: Ie5be184f32407d1df1e99c3cb872a91205b34a28
2015-08-25 21:56:48 +02:00
Translation updater bot fd4147402f Localisation updates from https://translatewiki.net.
Change-Id: Ic19eba365e5b481f469e4f50cffcffd67ef57107
2015-08-05 22:34:07 +02:00
Translation updater bot e253c138f1 Localisation updates from https://translatewiki.net.
Change-Id: I4d1c81fc7daa34fce17849b6709efcc963b29a0d
2015-07-16 21:10:51 +02:00
Translation updater bot c0e8f08cbf Localisation updates from https://translatewiki.net.
Change-Id: I3475954d4913b81682c63495d20c185448e6d72e
2015-07-14 21:59:49 +02:00
Translation updater bot b92b7e912a Localisation updates from https://translatewiki.net.
Change-Id: I595e42c40c5b43743cb49874029be45b0f69878e
2015-07-09 22:01:08 +02:00
Translation updater bot b284fb5599 Localisation updates from https://translatewiki.net.
Change-Id: Ib77669a3cc5dd742852d251ad3909271ce7a0f6a
2015-07-07 22:07:26 +02:00
Translation updater bot 67345bac18 Localisation updates from https://translatewiki.net.
Change-Id: I25f17b1acb8884421a1b8021247b6fbb141f81e7
2015-07-06 21:44:37 +02:00
Translation updater bot 66801ffd4b Localisation updates from https://translatewiki.net.
Change-Id: I2160df2473d1e543a1b5a3c91c9fdd0c3fb6a03c
2015-07-05 21:59:28 +02:00
Florianschmidtwelzow 36abbc6288 Implement support for Google reCAPTCHA 2.0 ("No captcha")
This change adds a new Captcha type (ReCaptchaNoCaptcha) that uses
Google reCAPTCHA 2.0.

See more:
- https://www.google.com/recaptcha/intro/
- https://developers.google.com/recaptcha/docs/display
- https://developers.google.com/recaptcha/docs/faq
- http://googleonlinesecurity.blogspot.com/2014/12/are-you-robot-introducing-no-captcha.html

Bug: T84918
Change-Id: I5908fd2716786237adb01a403d5bd1e22d95c563
2015-06-27 03:00:11 +02:00