Commit graph

9 commits

Author SHA1 Message Date
alistair3149 b5675a9068 Use ResourceLoader callback to retrieve hCaptcha config
The old method is returning null, results in error that makes
user stuck on the save your chagnes dialog in VE.

Bug: T311449
Change-Id: I124093fff4f7e69f7ec76cc6b9994d7939bc80f1
(cherry picked from commit 2de530d092)
2022-12-13 20:52:16 +00:00
Reedy e6e18222a4 HCaptchaAuthenticationRequest: Use namespaced CaptchaAuthenticationRequest
Change-Id: Idda9e6962e1236db344eda561a0ba8120468e380
Follows-Up: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
(cherry picked from commit b1c0c0f6af)
2022-11-11 19:40:59 +00:00
Reedy 30cd1d8a23 Namespace base classes
Change-Id: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
2022-07-30 18:13:03 +00:00
Reedy c1b67dc3c1 Correct namespacing to match best practices
Bug: T303105
Change-Id: I6df333dde64235bc0ee56cb27d28072bdead7612
2022-03-05 15:05:22 +00:00
libraryupgrader 81a524e2e9 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I57837ebf8054a2e968d207fecb3f12397c18e2a2
2021-07-22 14:24:25 +00:00
alistair3149 0993a43a29 Support hCaptcha for VisualEditor
Extend Captcha save error handler to verify user using
hCaptcha.

Bug: T264684
Change-Id: I88928e291a2ecd6edd74af62575e8704c0a2ee13
2021-04-21 23:22:47 +01:00
Florian 9aba484800 Add Content Security Policy handling for ReCaptcha and hCaptcha
Bug: T250544
Change-Id: I280054a8252c991cca04ec74bdb41e079c885d99
2020-10-29 02:36:00 +00:00
Reedy 96f348b64b Add $wgHCaptchaProxy
Bug: T252427
Change-Id: Ia062edb5e619ef3782ad92ab0b7859770f8b5bdd
2020-05-11 17:39:37 +01:00
Reedy f005a5cb4a Add hCaptcha
Mostly working from Florian's ReCaptchaNoCaptcha

Bug: T249854
Change-Id: I5c3ac71bdfd528339b846b5811e78a88e8135e46
2020-04-17 16:43:27 +02:00