Commit graph

28 commits

Author SHA1 Message Date
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
Fomafix 27d3b30321 Replace global configuration variables by Config
Change-Id: I141399ab639edd04528af767948b27b92fdcf87c
2024-09-30 06:53:20 +00:00
Umherirrender 29103eecde Add missing documentation to class properties
Change-Id: Ic7872cd2539dc79f88c70548cbd82d9de98f66b0
2024-08-19 21:36:23 +02: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
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
Umherirrender 0b0f9e37af Use HookHandlers for core hooks
Bug: T269882
Change-Id: I91df459f696e99bb5cce597739b48cbebbf4a88e
2023-08-15 12:21:21 +02: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
Reedy a0feac27b0 Namespace captchas
Change-Id: I2933639f9cb50db2101c4765ce9d8f9069d253b8
2022-12-13 21:40:30 +00:00
Reedy 28e07c225e Fix usage of stringified class name
Change-Id: I626a61fd122361dff7ba6e9422f757347090ae41
2022-12-13 20:57:23 +00:00
Reedy 30cd1d8a23 Namespace base classes
Change-Id: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
2022-07-30 18:13:03 +00:00
Func 1f335f0d95 Adjust the mime type of reCaptcha
Bug: T284894
Change-Id: I53072f2ce825720bb2d93a39bb6539722b59b394
2021-12-09 06:55:53 +00:00
jenkins-bot a128cb0969 Merge "Add Content Security Policy handling for ReCaptcha and hCaptcha" 2020-10-29 03:12:47 +00: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 fa84e437c1 ReCaptchaNoCaptcha: Use POST to siteverify
Bug: T266362
Change-Id: I3b2d989f63e0a9302b833c35a8473ff7eebae4af
2020-10-25 00:28:58 +01:00
Reedy c94e95e500 Consistent indenting in HTML
Change-Id: Ie2c260b99210b7afd4bf4b6b06f870796cbb15cd
2020-07-23 20:32:53 +01:00
Umherirrender 7ce030e117 Pass function name to HttpRequestFactory::create
Useful for logging
Replace deprecated MWHttpRequest::factory with service (since 1.32)

Change-Id: Ic695c8ca1e0238d5ce895649242b6195c2ac053f
2020-06-07 12:36:46 +02:00
Florian 5f24bff3f4 Use globally not-blocked recaptcha.net instead of google.com
Bug: T250297
Change-Id: I05bb74e65ce9ce425a7a4fecd33a75748ef6cc43
2020-04-17 23:46:21 +00:00
Florian 610ac36573 Remove unused and not working code fragment
Bug: T250236
Change-Id: Ia85d61a81234abe8d238424bcabcf5f5dc4d839f
2020-04-17 17:31:36 +02:00
Reedy d648372f7f Fix MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
Change-Id: Idc03460327095e19438fd9a3a542bf4229db4be2
2020-04-15 00:45:00 +01:00
Reedy 74eb713da9 Fix some indenting and whitespace
Change-Id: Ib2c21563f823c6d31a71a94562f808cd2fca3782
2020-04-11 02:27:12 +01:00
jenkins-bot efadd21e76 Merge "Stop passing objects by reference" 2020-01-19 16:43:11 +00:00
Max Semenik 9380fa050e Stop passing objects by reference
Bug: T193950
Change-Id: I8c4aabe75ffce55f81c7ffb0f76b67155db1f761
2020-01-17 20:08:16 +00:00
Daimona Eaytoy 7297235b2a Pass correct type to constructor
Although there was no docblock on CaptchaAuthenticationRequest::__construct,
the method is supposed to get a string and an array, as that's how the
class members are documented and used. Trying to access offsets of null
resulted in PHP notices on PHP 7.4, as seen in the experimental job
for various repos.

Bug: T239726
Change-Id: Idd073ebf3d560543ec225479de060e3c198847eb
2019-12-03 19:30:55 +00:00
libraryupgrader 4575c2ccdb build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: Ie2eff2c48b58600f948dbf9f8c5cb2b2843fbd24
2019-07-14 10:21:38 +00:00
Umherirrender 72900c1ac5 Improve param docs
Change-Id: Ie0619f6f946e651df9c102f0f4f305c15b10eab4
2019-05-23 21:16:12 +02:00
libraryupgrader 87715809bb build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I4650b34b2c6d18cae2bf4650aaf423810fb96457
2019-02-06 12:04:20 +00:00
Nouman Saleem e614050b6a ConfirmEdit: Support No CAPTCHA reCAPTCHA
Extend Captcha save error handler to verify user using
noCaptchaReCaptcha.

Bug: T203478
Change-Id: Ia5438bba6ff797dee822caf7664b911f01684744
2019-01-03 19:40:41 +00:00
Max Semenik 5b7a36a521 Clean up some phpcs problems
Change-Id: Ie956fe86184535a376d0398483ac3c853fa9127c
2018-07-12 23:13:58 +00:00