Commit graph

2030 commits

Author SHA1 Message Date
Gergő Tisza f8362450bb Log event on captcha display/success/failure.
Logs a 'captcha.display' event when a captcha is displayed,
either via web or in an API response, and 'captcha.submit' when
a captcha response is evaluated.

Bug: T91701
Change-Id: I376fdd6740aca4f11776e1326ff2e7e6e5af6a75
2015-07-28 22:32:21 +00:00
csteipp abb9c02d8c Send rate limits to main captcha log
Log exceeding the badcaptcha rate limit to the main captcha log (e.g.,
captcha.log on the WMF cluster).

So that we can measure the impact of things like
https://gerrit.wikimedia.org/r/#/c/195886/

Change-Id: I2af26d23b9343e90db2f01f099c1292914bd7ac3
2015-07-27 13:25:44 -07:00
Translation updater bot f0b97ad19c Localisation updates from https://translatewiki.net.
Change-Id: I728c9b55649afb4cbca93bd52e22e4fde43e113a
2015-07-27 21:34:29 +02:00
Translation updater bot 0f070cbe64 Localisation updates from https://translatewiki.net.
Change-Id: I5749d96340bf2c026ae675f67327de14a82a642e
2015-07-26 21:38:45 +02:00
Translation updater bot 9244c40de6 Localisation updates from https://translatewiki.net.
Change-Id: I121a975ba40c90722480d848dfd9f42a54abb88b
2015-07-25 21:56:15 +02:00
Translation updater bot 212ff91379 Localisation updates from https://translatewiki.net.
Change-Id: I33f130714048cf69a4aba87507da4f7864ca9f06
2015-07-24 21:06:12 +02:00
Translation updater bot e07aac1120 Localisation updates from https://translatewiki.net.
Change-Id: I6c7604918abbb06d6f6f38fb45cb9e4ed1b829a2
2015-07-22 22:13:41 +02:00
Translation updater bot d7f098643d Localisation updates from https://translatewiki.net.
Change-Id: I614b047830a1941c848abec7069fe2245beeaf22
2015-07-20 21:53:35 +02:00
Translation updater bot 53fe51ab75 Localisation updates from https://translatewiki.net.
Change-Id: I22d2a4bcb6340805e2c99c03bd401207ebc44c45
2015-07-18 21:58:44 +02:00
Translation updater bot b2d9da4e47 Localisation updates from https://translatewiki.net.
Change-Id: Ib0e51b0b23a6855e3a4ff92a6c9cb96f800e1caf
2015-07-17 22:17:47 +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 8f2fe4b613 Localisation updates from https://translatewiki.net.
Change-Id: Ia8c66df5ea587f0320ad10d78f2b09c524d262f5
2015-07-15 21:38:38 +02:00
jenkins-bot 39636476ae Merge "Conversion to using getMainStashInstance()" 2015-07-15 08:31:34 +00: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 fe8e39fb3d Localisation updates from https://translatewiki.net.
Change-Id: I13d6d51e35d7b96769c38dd9290d2f74c44a1341
2015-07-11 22:04:40 +02:00
Translation updater bot 504edba9d8 Localisation updates from https://translatewiki.net.
Change-Id: I3b1e4d411a599baf63160ecd2d8abe72d0fa6ce7
2015-07-10 21:13:16 +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
Translation updater bot 73fcd1fee9 Localisation updates from https://translatewiki.net.
Change-Id: I38089a9ec0e596e1af65b423d9658567f682cd12
2015-07-04 20:35:23 +02:00
Translation updater bot c38c1330a5 Localisation updates from https://translatewiki.net.
Change-Id: Id0e99d1529947a664a5a3a6432dcd4ea0557b605
2015-07-03 20:37:47 +02:00
Translation updater bot 1766e5c1c9 Localisation updates from https://translatewiki.net.
Change-Id: I640cdfadcddfc4a41f121659fef0aa9de4e320e9
2015-07-02 21:22:55 +02:00
Timo Tijhof 2f4326a8be Fix missing getForm( OutputPage ) argument in showEditFormFields()
Follows-up 36abbc6.

Bug: T104477
Change-Id: I7fd99b495b07801aa299ea032c325d4ca4368ec5
2015-07-01 20:16:59 +01:00
Translation updater bot d3c3b73e7c Localisation updates from https://translatewiki.net.
Change-Id: Id49ebd6c2085c8d0a8053ec3f1bac7047c482225
2015-06-30 21:20:35 +02:00
Aaron Schulz 63d0bc66e0 Conversion to using getMainStashInstance()
Bug: T97620
Change-Id: I94be31eb95cd86c2b922d1c802c6e6c6785b7905
2015-06-30 18:05:33 +00:00
Translation updater bot 3fa32fa88f Localisation updates from https://translatewiki.net.
Change-Id: I1963cfd432d8a0c7c27368d88a6eb0ab5c215bfa
2015-06-28 22:09:33 +02:00
Reedy 9019692c9d Remove execute bit
Fix mixed indenting

Change-Id: I430d4210146125b2ac759925a265b9281e274dbc
2015-06-28 03:33:28 +01: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
Translation updater bot 64a5101ac6 Localisation updates from https://translatewiki.net.
Change-Id: I7ee8dffeaa06facf2b14f71dc009d2186560eb3d
2015-06-25 20:41:56 +02:00
jenkins-bot 40faa5b186 Merge "Fix non-parsed captcha help message" 2015-06-24 23:10:57 +00:00
Translation updater bot c03b923268 Localisation updates from https://translatewiki.net.
Change-Id: Ifb387f0506ddc1dc200b221a3fecc90668354d6d
2015-06-23 21:25:09 +02:00
jenkins-bot 78cc7ffd06 Merge "Moved up shouldCheck() short-circuit logic a bit" 2015-06-22 19:40:46 +00:00
Aaron Schulz e13d31e2ab Moved up shouldCheck() short-circuit logic a bit
Change-Id: Idbae820131eba8427075c9a59292ecf243490543
2015-06-22 12:24:21 -07:00
Florian 101caf8b8f Fix non-parsed captcha help message
* Explicitly parse the help message
* Don't escape the contents of the message

Bug: T101463
Change-Id: Ie50206b8296d65eba14fd827a9a18ced550f36e5
2015-06-22 18:59:19 +00:00
Translation updater bot 43cbc978fa Localisation updates from https://translatewiki.net.
Change-Id: Ife183adf54a1cf0c3771f345e86867d191ae7154
2015-06-21 19:57:08 +02:00
Translation updater bot 45b5f6c4a4 Localisation updates from https://translatewiki.net.
Change-Id: I16e524ff170a579188620df300dbe7a876ec7f87
2015-06-16 22:36:24 +02:00
Translation updater bot 33a05519d5 Localisation updates from https://translatewiki.net.
Change-Id: Ife0659cec8b8c08a772cecd96b432a03158e9429
2015-06-15 22:44:18 +02:00
Translation updater bot b71822264a Localisation updates from https://translatewiki.net.
Change-Id: I9e260e49189ba9d14cc0d0f755b7f353476b4a7c
2015-06-14 21:04:12 +02:00
Translation updater bot 7d377e2434 Localisation updates from https://translatewiki.net.
Change-Id: I25f74cb091e2477c76d328ba1fbcedd5554e13ff
2015-06-13 22:27:15 +02:00
jenkins-bot e65a194347 Merge "Make Questy answers in arrays case-insensitive" 2015-06-13 00:00:31 +00:00
Translation updater bot bbb2e62d6a Localisation updates from https://translatewiki.net.
Change-Id: I22c168f3e606b4243a565568996e0049749eb8c4
2015-06-12 21:52:40 +02:00
Florianschmidtwelzow 258f5019f1 Make Questy answers in arrays case-insensitive
Before, QuestyCaptcha answers were case-insensitive when there was
only one answer for a question, but they had to be lowercase when
there was an array of answers. This makes it so that when an array
of answers is provided for a question in $wgCaptchaQuestions, those
answers are case-insensitive.

Bug: T65272
Change-Id: I146b53cacf901c45ce27bd87fdf8125bfd2bc270
2015-06-12 17:58:37 +02:00
Translation updater bot 2fe3fe771f Localisation updates from https://translatewiki.net.
Change-Id: Iaff0c609d91d14fa358f4dfc69bc48c99bdc44c7
2015-06-11 21:10:19 +02:00
Translation updater bot 197deaa299 Localisation updates from https://translatewiki.net.
Change-Id: If7416631d36fa7a38a8228262598552bbdbbd959
2015-06-07 22:26:44 +02:00
Translation updater bot e86a9cdb0a Localisation updates from https://translatewiki.net.
Change-Id: I0e963d01f289a6c31cc2d6f0ba676faf91a6272c
2015-06-05 20:57:54 +02:00
Translation updater bot a29731aea2 Localisation updates from https://translatewiki.net.
Change-Id: Ib2b291291160314f78157db8f64c4fc440901261
2015-06-01 22:50:02 +02:00
Translation updater bot 44a0fb37f9 Localisation updates from https://translatewiki.net.
Change-Id: I599c66fe674563303cecde2956874a149fa5032c
2015-05-31 22:10:51 +02:00
Brad Jorsch e5cb34c058 Fix issues from recent extension registration changes
* Move ApiFancyCaptchaReload.php into the FancyCaptcha subdir
* Fix include of recaptchalib.php
* Restore efReCaptcha() that was randomly deleted

Bug: T100775
Bug: T100504
Bug: T100505
Change-Id: I70f9c3f1610fed5aa4b88f3512b86e1a40d64a6b
2015-05-29 14:35:55 +00:00
jenkins-bot 355d970038 Merge "FancyCaptcha: callbacks can't be arrays" 2015-05-27 21:20:40 +00:00