Commit graph

59 commits

Author SHA1 Message Date
Reedy 106a63e3b4 hCaptcha: Variablise api and verify urls
Bug: T378207
Change-Id: I62b7a418be4cb3a4a51937ae331a4aad22dc5732
2024-11-06 19:24:04 +00:00
jenkins-bot a1c4dccbf2 Merge "Remove redundant sub extension AutoloadNamespaces entries" 2024-11-06 14:13:26 +00:00
Reedy 5a0185206d Fixup paths to moved resources
Bug: T379080
Change-Id: Iff8c39b6d49e3ce476e026b022613ec08ced37ca
Follows-Up: I556f5f2753fae77df4f34b64bccdb7d68f2825b0
2024-11-05 15:37:03 +00:00
Reedy 32b7a3ea5b Remove redundant sub extension AutoloadNamespaces entries
Change-Id: Icf557dfeef3e443e660c888971ed9426f0f24c36
2024-10-30 01:50:31 +00:00
Reedy 9f2e976f10 Attempt to flatten out PHP files in sub extensions
In an attempt to be able to have easier code coverage...

Bug: T377750
Change-Id: I556f5f2753fae77df4f34b64bccdb7d68f2825b0
2024-10-30 01:48:14 +00: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
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
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
Translation updater bot 62d88d6cb3
Localisation updates from https://translatewiki.net.
Change-Id: Idc8b68e044e8efad116d1442235396715dc2676b
2024-06-14 09:48:40 +02: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 43fb582b4e Localisation updates from https://translatewiki.net.
Change-Id: Ic81a2c3c2e548b088df32939f2625fc4eb4f8b1f
2024-04-22 09:27:59 +02: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
James D. Forrester 96f458cdd6 */extension.json: Drop RL targets definitions, no longer honoured
Bug: T328497
Change-Id: Id8501de1d372b7eca8e49c669d401322b2a51371
2024-01-12 22:33:04 +00:00
Umherirrender 92bc1f3d2f Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statements done manually

Change-Id: Id44f211320e56bc83e4c8f243369dc4eb562cf37
2023-12-11 00:07:55 +01:00
Translation updater bot ceee49508b Localisation updates from https://translatewiki.net.
Change-Id: Id9821140fd133a6de1ed6d67704634da401a8e8a
2023-11-08 13:07:26 +01: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
Translation updater bot 613bfd1b45 Localisation updates from https://translatewiki.net.
Change-Id: Ibd111d5ec1d7d4b21ba301e66cb639e7003c03df
2023-09-20 08:54:45 +02:00
James D. Forrester df052e9027 build: Use conf.MessageDirs for banana path config
This repo is a little tricky, as it's made up of multiple sub-
extensions, each using relative paths, but at least this way it
is clear that adding additional i18n paths to a manifest will
also add it to the linting set-up.

Change-Id: I7bc4f0cd5d2b431fe47a4d3bee2ca69a06aeea6d
2023-09-19 09:59:36 +01:00
gerritbot 90270478b9 Update moved class RawMessage
See T321882. Moved in I195cf4c67bd514

Bug: T321681
Change-Id: I917534c6b1b613793893e514a9116ba0468e272e
2023-05-19 10:30:37 +00:00
gerritbot b3faf4d28b Update moved class ContentSecurityPolicy
See T321882. Moved in Ic809656a31

Bug: T321681
Change-Id: Ifee5e52ff0f67269fda4d90cd3dec1b6f89b7e8a
2023-05-06 21:18:56 +00:00
Translation updater bot 57a0eacfa7 Localisation updates from https://translatewiki.net.
Change-Id: Ic63caeb9bed3fa22582e8b0968b978b884e76970
2023-04-25 08:47:44 +02:00
Translation updater bot 54aac3ab94 Localisation updates from https://translatewiki.net.
Change-Id: Ia196963a98861d4290df0fb1139eedf96a4fc28d
2023-04-03 09:17:29 +02:00
Translation updater bot 8c6ea26fbd Localisation updates from https://translatewiki.net.
Change-Id: Iac14ef5edfd0aa34f197663b5e22e299b4b0342d
2023-01-12 08:41:31 +01:00
alistair3149 2de530d092
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
2022-12-11 16:50:34 -05:00
Translation updater bot 719f5a2eae Localisation updates from https://translatewiki.net.
Change-Id: I1355318a5997e4286f1b13fac3ca8a7bea2ae526
2022-11-24 08:17:00 +01:00
jenkins-bot b9a6a59d88 Merge "HCaptchaAuthenticationRequest: Use namespaced CaptchaAuthenticationRequest" 2022-11-02 15:37:07 +00:00
Translation updater bot 9b03d6ed60 Localisation updates from https://translatewiki.net.
Change-Id: I3f915cef80c797cb4aa5a98e58be8e99ec6b3e08
2022-11-01 08:51:50 +01:00
Translation updater bot a10caa5da0 Localisation updates from https://translatewiki.net.
Change-Id: I844fc5007f2c86cad3b888d1892b42d8439f61a1
2022-10-17 08:20:53 +02:00
Reedy b1c0c0f6af HCaptchaAuthenticationRequest: Use namespaced CaptchaAuthenticationRequest
Change-Id: Idda9e6962e1236db344eda561a0ba8120468e380
Follows-Up: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
2022-10-03 00:09:36 +00:00
Reedy 30cd1d8a23 Namespace base classes
Change-Id: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
2022-07-30 18:13:03 +00:00
Translation updater bot 6b555aeede Localisation updates from https://translatewiki.net.
Change-Id: Ifd81c7dcf6b75106ffa96f774698f84fb366b595
2022-05-20 08:36:15 +02:00
Translation updater bot 2009b55379 Localisation updates from https://translatewiki.net.
Change-Id: Iab4d9664a78deb0842b84a43efc2c10f45d6c824
2022-04-18 10:05:44 +02:00
Reedy c1b67dc3c1 Correct namespacing to match best practices
Bug: T303105
Change-Id: I6df333dde64235bc0ee56cb27d28072bdead7612
2022-03-05 15:05:22 +00:00
Translation updater bot 3e7325a31c Localisation updates from https://translatewiki.net.
Change-Id: I97872247f91fa54a1a5acbc71ee56a9fa7d3e66e
2021-09-27 08:34:32 +02: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
Translation updater bot 03d9e92063 Localisation updates from https://translatewiki.net.
Change-Id: I3433d2665d870107e61f7527b3d10f91f3fab7b3
2021-04-26 09:10:06 +02: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
Translation updater bot 4483f91fa6 Localisation updates from https://translatewiki.net.
Change-Id: I9d6ef9eb09ebcf3960818fee0c9e98c22c460a72
2021-02-05 08:46:45 +01:00
libraryupgrader 57fa35260b build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I4749baf839c19067c555258aa2ac22dd6ae3401d
2021-01-29 07:34:33 +00:00
Translation updater bot dfda6a9bed Localisation updates from https://translatewiki.net.
Change-Id: Ib90d9794dd7f891347b94e3695ef3c5c2bdd6dd7
2020-11-27 08:29:52 +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
Translation updater bot 3ebf436bcb Localisation updates from https://translatewiki.net.
Change-Id: Ice97cbc42d80c24c5353b4d5dfdb17d10737b17e
2020-10-21 08:26:44 +02:00
Translation updater bot e919220397 Localisation updates from https://translatewiki.net.
Change-Id: I8adba67b0dec5752c2d46538520ac418035a1361
2020-08-14 08:37:32 +02:00
Translation updater bot f42db5b86d Localisation updates from https://translatewiki.net.
Change-Id: Idba5a02bd41008deee20606a40f2b147c5f0bd79
2020-07-10 08:25:34 +02:00
Translation updater bot 224d9d22bf Localisation updates from https://translatewiki.net.
Change-Id: I40162301bcc35e524ad6736160961deca5c14610
2020-07-01 08:43:21 +02:00
Translation updater bot 6ca7f5d128 Localisation updates from https://translatewiki.net.
Change-Id: I65f644a947ee460486f27267dd2cbfbed18ff30e
2020-06-01 09:56:55 +02:00