Commit graph

14 commits

Author SHA1 Message Date
libraryupgrader a8c5016096 build: Updating npm dependencies
* eslint-config-wikimedia: 0.27.0 → 0.28.0
  The following rules are failing and were disabled:
  * ReCaptchaNoCaptcha/resources/ve-confirmedit-reCaptchaNoCaptcha:
    * no-jquery/no-extend
  * Turnstile/resources/ve-confirmedit-turnstile:
    * no-jquery/no-extend
  * hCaptcha/resources/ve-confirmedit-hCaptcha:
    * no-jquery/no-extend

* grunt-stylelint: 0.19.0 → 0.20.0
* stylelint-config-wikimedia: 0.16.1 → 0.17.1

Change-Id: I8045a843b3e9b6a67e07d580ce07dc6afeaeab2d
2024-06-07 15:07:52 +00:00
James D. Forrester 2f9beac0fa build: Switch eslint to ES6 mode, and make pass
Change-Id: Ic29ad198519a7455909b8ee32fa891c7881e4bb5
2023-09-20 09:27:51 +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
James D. Forrester 9ef3132dce build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
Change-Id: I1e6c500b8a79f8d01b3050dabdece36e77d17706
2019-04-03 15:54:28 -07:00
Ed Sanders 28cb4a71da build: Update eslint-config-wikimedia to 0.10.1
Change-Id: I78b2a1c233c97af39e1c8f8fd9d839d0ffc4936e
2019-02-10 15:44:37 +00:00
Ed Sanders 5c5d4a5429 Remove obsolete aliases from closures
Bug: T208951
Change-Id: I82abf50e680639f326d3a1ca639bc05fa0eeb7c5
2018-11-12 13:21:13 +00:00
Ed Sanders 190c701217 build: Update linters
Change-Id: I95a14ebfd19a6632cf685444508fea5b5b33817f
2018-02-04 21:22:31 +00:00
Alex Monk a1d0cc0e4f reload JS: Get captcha ID using JSON for the API request
Change-Id: I0cc5293bd9dd0f0e71a3f5b3277bd8d53cb740f8
2017-09-01 19:06:51 +00:00
Ed Sanders ae85f2ac6b Replace jshint/jscs with eslint and add stylelint
Change-Id: I9c33c65c913d891739b913d5363abba66c2cd0dd
2017-01-18 16:53:09 -08:00
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)