Commit graph

32 commits

Author SHA1 Message Date
Translation updater bot 085194c49d
Localisation updates from https://translatewiki.net.
Change-Id: I6b8235c7675ee971f27ec1bdf527f5238c018855
2024-10-30 08:22:55 +01:00
Umherirrender 1cfba87b23 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I60968f9b735b27eaef20e5d42af322a8c2ecd257
2024-10-19 23:34:41 +02:00
Translation updater bot 1cb7fcd2c9
Localisation updates from https://translatewiki.net.
Change-Id: If4b18c439ea6ab5ec826509841c2629b9b2ec093
2024-10-11 09:24:36 +02:00
Fomafix 27d3b30321 Replace global configuration variables by Config
Change-Id: I141399ab639edd04528af767948b27b92fdcf87c
2024-09-30 06:53:20 +00:00
Translation updater bot faf8efe348
Localisation updates from https://translatewiki.net.
Change-Id: Ia7561508dc8d2010ecf8d12b2491c1be7eb3e83d
2024-09-27 09:18:27 +02:00
Ebrahim Byagowi 639dbc5cd7 Replace uses of mw.Uri with browser native URL
Uses of mediawiki.Uri apparently wasn't explicit but this
makes uses of URL's polyfill explicit which later will
be removed.

Bug: T374314
Change-Id: I62b92b3bc923269226512ab50b0708ce5a382abf
2024-09-17 22:53:53 +03:30
Umherirrender 29103eecde Add missing documentation to class properties
Change-Id: Ic7872cd2539dc79f88c70548cbd82d9de98f66b0
2024-08-19 21:36:23 +02:00
Translation updater bot 7a994c14df
Localisation updates from https://translatewiki.net.
Change-Id: I83e589dbf819262754302178453fac1357a15298
2024-08-06 09:46:34 +02:00
alex4401 92bcb7f2a2
Turnstile's response field uses a static name instead of IDs
The script was originally looking for the field by ID. This resulted in an infinite challenge loop when saving edits through the VisualEditor.

This bug stopped our [wiki.gg] rollout of Turnstile over the network last week, so upstreaming this fix in case someone else needs it.

Bug: T361098
Change-Id: I0354a33d0d1af988c8788ad2bb021c585384b038
2024-06-25 03:24:25 +02:00
libraryupgrader d73defaaed build: Updating npm dependencies
* eslint-config-wikimedia: 0.28.0 → 0.28.2
* grunt-stylelint: 0.20.0 → 0.20.1
* stylelint-config-wikimedia: 0.17.1 → 0.17.2

Change-Id: I03344db83adbac4fee93c7672dcac1d2d51d3873
2024-06-20 05:31:04 +00:00
jenkins-bot 47dffc154b Merge "build: Updating npm dependencies" 2024-06-09 12:51:57 +00:00
Umherirrender 81d0c7bcd4 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I325f5bab163cddf76dbf8d5a6eca35a7ed7b6df7
2024-06-08 23:46:45 +02:00
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
Translation updater bot 46fd644605 Localisation updates from https://translatewiki.net.
Change-Id: I8c3bd20622fc2b96b43ee85b46cf4e0f7cbeee64
2024-05-13 09:26:52 +02:00
Translation updater bot db96b6a22f Localisation updates from https://translatewiki.net.
Change-Id: I1a069b44fb7da5601872a12ab0ba37120f165e26
2024-05-06 09:25:26 +02:00
Translation updater bot 1b66676367 Localisation updates from https://translatewiki.net.
Change-Id: I2d976697b9a33221bc97e9a278ddd8ab740c57eb
2024-04-24 09:18:35 +02:00
Translation updater bot 43fb582b4e Localisation updates from https://translatewiki.net.
Change-Id: Ic81a2c3c2e548b088df32939f2625fc4eb4f8b1f
2024-04-22 09:27:59 +02:00
Translation updater bot 0285e163bc Localisation updates from https://translatewiki.net.
Change-Id: I171d1723a1fed26a881b0a3f83abe60528b6f019
2024-04-15 09:27:45 +02:00
Translation updater bot 78ba529096 Localisation updates from https://translatewiki.net.
Change-Id: I90c432110e3e63db95889d7064654f660f330d6d
2024-03-18 08:30:41 +01:00
Translation updater bot 43f2f36462 Localisation updates from https://translatewiki.net.
Change-Id: Icb81ed4ae441b5c6582e8c3f2907a244658bd31d
2024-03-07 08:48:18 +01:00
Translation updater bot d523383d6e Localisation updates from https://translatewiki.net.
Change-Id: I96cbb18680f3dbf0d1077d942fcb5352b8bf07a7
2024-02-21 08:35:28 +01:00
Translation updater bot b56abdc0b3 Localisation updates from https://translatewiki.net.
Change-Id: I6b7c8d58dc6613fa2e4fa6826ee6a95b2551e444
2024-02-15 13:27:54 +01:00
Translation updater bot bc07ba7ac8 Localisation updates from https://translatewiki.net.
Change-Id: I7cddc35be6a4b4b01e82302e267f5e73f5920b4f
2024-02-12 14:49:14 +01:00
Translation updater bot 8d84937609 Localisation updates from https://translatewiki.net.
Change-Id: I5ad1b58ff9eebef2867ab14244527bc947803ac1
2024-02-08 09:14:51 +01:00
Translation updater bot 43dc2b2059 Localisation updates from https://translatewiki.net.
Change-Id: If50e27e7066726e37e7564dbbf29011333668ba2
2024-02-05 08:49:28 +01:00
Translation updater bot b0227d4ab7 Localisation updates from https://translatewiki.net.
Change-Id: I4a8d5b54fa90a08c8fd6cb07d5b4534922c3241d
2024-01-28 16:05:59 +01:00
Umherirrender a672544be1 Turnstile: Drop RL targets definitions, no longer honoured
Bug: T328497
Follow-Up: Id8501de1d372b7eca8e49c669d401322b2a51371
Change-Id: Ibc1ba4895a38f7f34838e4f4faa8144b0f889d76
2024-01-24 00:00:04 +01:00
jenkins-bot 3935691f2f Merge "Turnstile: Minor cleanup" 2024-01-19 11:05:08 +00:00
Translation updater bot a754620fd5 Localisation updates from https://translatewiki.net.
Change-Id: Ie61b6d4d10cadb1e667bc01facd0c5f294d26606
2024-01-19 09:16:37 +01:00
Translation updater bot 89394063e9 Localisation updates from https://translatewiki.net.
Change-Id: I0b65c94cc5f7126bc9a5f77ed9aee8c2466468f2
2024-01-17 08:37:07 +01:00
Reedy 8d3afbd390 Turnstile: Minor cleanup
Bug: T319068
Follows-Up: I0d5a74655619975f0bf61b5b672159afe5f4fb00
Change-Id: I15c26957158f22a0b6d6abb9def0e84e73c63ddc
2024-01-15 20:04:49 +00:00
Jayden Bailey fbf6c1c7ea Add Turnstile support
This is a rudimentary implementation of Cloudflare's Turnstile captcha alternative.

Since it is fairly similar to ReCaptchaNoCaptcha, there is some duplicate code used here. I opted not to use the migration path that CF has for reCAPTCHA v2 and build this as a separate implementation. After T324925, it should be easy to refactor this code.

Users should set $wgTurnstileSiteKey and $wgTurnstileSecretKey as appropriate, based on details from the Cloudflare dashboard.

Bug: T319068
Change-Id: I0d5a74655619975f0bf61b5b672159afe5f4fb00
2024-01-15 19:31:24 +00:00