Commit graph

1789 commits

Author SHA1 Message Date
Florian 71388bfdb3 Don't check for edits that will not be saved
Check, if an edit is being saved or not, before checking for captcha
triggers, that potentially could query the database or/and do other
expensive things.

Bug: T93961
Change-Id: Iab3e94e642c965becd23d31c6c1baa4c0cddacde
2015-08-13 14:11:19 +02:00
Translation updater bot 34a0c97ee9 Localisation updates from https://translatewiki.net.
Change-Id: I2a127949e32a77b41bb9a881aca400fcabe0da6f
2015-08-11 22:07:33 +02:00
Translation updater bot eff48c7cd3 Localisation updates from https://translatewiki.net.
Change-Id: Icc7327d7ad3e43e63a11ba90026e5cb4274ff31a
2015-08-09 20:46:00 +02:00
Translation updater bot 1d7bc5bee3 Localisation updates from https://translatewiki.net.
Change-Id: I874dbcaf65673dec79f1dd04b1edecbbe4b886df
2015-08-08 21:12:27 +02:00
Translation updater bot 28a56936ff Localisation updates from https://translatewiki.net.
Change-Id: I5d5e5633445e70ff8f9ebb459c8d66771f982e63
2015-08-06 21:36:02 +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 64279a283c Localisation updates from https://translatewiki.net.
Change-Id: I9b388429e8c1f586ac2ca60339cdc0f5e246e31b
2015-07-31 21:46:52 +02:00
Translation updater bot 97897ace23 Localisation updates from https://translatewiki.net.
Change-Id: I03bc4ef3b32d237af51e27a91601a315a88f43a2
2015-07-30 21:10:20 +02:00
Translation updater bot fcaa01d012 Localisation updates from https://translatewiki.net.
Change-Id: I25c065803168ba7fe5843522969d0c2e9873a934
2015-07-29 21:48:30 +02:00
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