Commit graph

5 commits

Author SHA1 Message Date
Gergő Tisza 69d7524674 Fix FancyCaptcha reload JS
I0da671a5 broke the FancyCaptcha reload script for the old auth
forms, and didn't get it quite right for AuthManager forms either
(that one mostly works but the textfield is not refocused).
This patch fixes both.

Change-Id: I78300a4f6998e63e71e4516331f4f3408b86864b
2016-06-09 21:00:19 +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
Paladox 325f21e117 Add grunt-jscs package
This will allow us to run jscs in npm.

Change-Id: Ica970dfd2459bbdf50abc55ecdb24fe47307ccaa
2015-11-26 23:34:47 +00:00
Matthew Flaschen 843620632a Properly isolate reloading functionality, drop createacct name
There can be more then one CAPTCHA on the page in AJAX scenarios,
so it's important one reload not affect separate CAPTCHAs.

Also, drop the legacy createacct naming, except for the one
that is actually specific to CreateAccount.

The following patch must be merged immediately after this:
* Core - I8924d537cad3e39adace99fb20626247128d9bd9

Change-Id: I0e55a159efd66a73cd217d9a5e86b2bced90f57a
2015-10-22 14:08:05 -04:00
Florian cad5bc9200 Move FancyCaptcha to its own location
3. step in preparation of ExtensionRegistration.

Bug: T88047
Change-Id: I31d8e0c01b16aafb39b4ead7acc88f2e91d33e6a
2015-05-21 16:19:38 +00:00
Renamed from resources/ext.confirmEdit.fancyCaptcha.js (Browse further)