Translation updater bot
6f42354e94
Localisation updates from https://translatewiki.net .
...
Change-Id: I12e0b745375ffd5347c8884b2996ab2084527ebe
2024-02-22 08:43:17 +01:00
Translation updater bot
d523383d6e
Localisation updates from https://translatewiki.net .
...
Change-Id: I96cbb18680f3dbf0d1077d942fcb5352b8bf07a7
2024-02-21 08:35:28 +01:00
Reedy
86af079ed9
Deprecate use of captcha-old.py
...
Bug: T357930
Change-Id: I69a2e68d430d7a5769fb8b4391f1163ee99ad8fb
2024-02-19 19:11:43 +00:00
Translation updater bot
be305ed8a5
Localisation updates from https://translatewiki.net .
...
Change-Id: I903b38ce6a9f1adb230b29213740baf42a7c5b6e
2024-02-19 08:39:54 +01:00
jenkins-bot
7fed1dc57a
Merge "Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()"
2024-02-17 03:20:15 +00:00
Bartosz Dziewoński
1349c099c6
Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()
...
Bug: T343994
Change-Id: I706a44af75c85bb8d1e4dd6b8e813e436fd8943b
2024-02-17 02:55:53 +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
c7d116c779
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib3d9940e5d39540fa16bcd23b7cbe649319c57df
2024-02-14 08:18:33 +01:00
Translation updater bot
bc07ba7ac8
Localisation updates from https://translatewiki.net .
...
Change-Id: I7cddc35be6a4b4b01e82302e267f5e73f5920b4f
2024-02-12 14:49:14 +01:00
libraryupgrader
ccaeae13c5
build: Updating mediawiki/mediawiki-phan-config to 0.14.0
...
Change-Id: I3644fbc31d47b6b056122eb6f958de76e81e22ce
2024-02-10 16:10:33 +00: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
jenkins-bot
26a4cafe14
Merge "FancyCaptcha: Switch to codex text input"
2024-01-29 21:11:48 +00:00
Amir Sarabadani
e00901f634
FancyCaptcha: Switch to codex text input
...
It's only adding css and relying on classes in divs which is not
beautiful but it stops the field from being unstyled.
Bug: T355436
Change-Id: I103c95733ba60252db0e2b913eb6f3fc5323c122
2024-01-29 21:45:27 +01:00
jenkins-bot
ebb8f73ae3
Merge "captca.py: Fix PIL 10 support again"
2024-01-29 19:36:50 +00:00
jenkins-bot
578a11b779
Merge "FancyCaptcha: Remove deprecated blacklist parameter"
2024-01-29 16:43:36 +00:00
Translation updater bot
b0227d4ab7
Localisation updates from https://translatewiki.net .
...
Change-Id: I4a8d5b54fa90a08c8fd6cb07d5b4534922c3241d
2024-01-28 16:05:59 +01:00
Reedy
cbbe6611b4
FancyCaptcha: Remove deprecated blacklist parameter
...
Bug: T277936
Depends-On: Ia467c4fb56e9920826a2e4e505e277683ab154b8
Change-Id: Ia64c20bf4638cdba85860dbd2852ee04f9498561
2024-01-27 15:07:32 +00:00
Reedy
bdd127a276
captca.py: Fix PIL 10 support again
...
Bug: T354099
Follows-Up: Ia17157d45995b78c6a73f844dfe7d20d09564748
Change-Id: I9d1fe7ad7f12fd79c960574daf79e558d88cb02c
2024-01-27 14:26:02 +00:00
Reedy
db932b2ae2
FancyCaptcha: Add missing trailing /
...
Bug: T355962
Change-Id: Id266aa5671550410b570da41b1ccdc537752aa16
Depends-On: Iecc48db5237adc5b89c99019faac0af425e4eb5d
2024-01-26 22:50:58 +00:00
jenkins-bot
9625c91e18
Merge "FancyCaptcha: Allow configuration of the actual directory captchas are stored in"
2024-01-26 16:18:10 +00:00
gerritbot
8a42f0c0ea
Remove indirect calls to IDBAccessObject::READ_* constants
...
We are getting rid of the schema of implementing this interface and
calling self::READ_* constants, it's confusing, inconsistent, prone to
clashes and isn't really useful for non-ORM systems (which we are not)
Bug: T354194
Change-Id: I03c893130aea133c7df3b1e81213f0cf9191ae3e
2024-01-26 14:27:20 +00:00
jenkins-bot
4fda05d19d
Merge "*.py: Fixup a couple more linting issues"
2024-01-24 22:17:10 +00:00
jenkins-bot
d6675a34c0
Merge "GenerateFancyCaptchas: Add ->disableSandbox() to shell command"
2024-01-24 05:15:15 +00: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
7d5404d0d0
Merge "Drop RL targets definitions from module definition, no longer honoured"
2024-01-23 22:26:10 +00:00
Umherirrender
56ffbcc0ce
Drop RL targets definitions from module definition, no longer honoured
...
Bug: T328497
Change-Id: Iba720a37e81af7b4f462b3dee0596e7133c3bb63
2024-01-23 21:52:48 +01:00
Amir Sarabadani
a84d6f0fc2
GenerateFancyCaptchas: Add ->disableSandbox() to shell command
...
->restrict( Shell::RESTRICT_NONE ) that was removed was by my mistake.
It ::restrict() is deprecated but the internal call, calls
->disableSandbox() when the value is zero.
Follows-Up: I7b71c2f6b1bf05a4f00f2367a795db093dc00867
Change-Id: I6c8ff91aca183bdaa2473d86a029561440ed2ab3
2024-01-23 01:00:02 +01:00
Amir Sarabadani
1e1e9e89ba
GenerateFancyCaptchas: Use Shell::params() instead of ::unsafeParams()
...
::unsafeParams() is for when the params are raw strings while we turned
these into proper array which means they need proper quoting while being
appended to the main bash command.
Follows-Up: Iae3fdea224d896c1a7b53ce1fe7d849cb35a0401
Change-Id: I7b71c2f6b1bf05a4f00f2367a795db093dc00867
2024-01-22 14:56:22 +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
602b8779c8
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib6879b6b4b3bc8b0f1fa7ce52fc650222d3a0c02
2024-01-18 09:25:05 +01:00
Translation updater bot
89394063e9
Localisation updates from https://translatewiki.net .
...
Change-Id: I0b65c94cc5f7126bc9a5f77ed9aee8c2466468f2
2024-01-17 08:37:07 +01:00
jenkins-bot
e8c7e95c28
Merge "Revert "Drop various class aliases""
2024-01-17 05:19:47 +00:00
Gergő Tisza
b52d63ee9d
Revert "Drop various class aliases"
...
This reverts commit 3798d424e2
.
Bug: T355198
Change-Id: I99ecee703cdfa06198eeede96e6c3bdda2d457e0
2024-01-17 04:46:58 +00:00
Reedy
602906527e
*.py: Fixup a couple more linting issues
...
Change-Id: Ic0ba59dc1af1bdefab606a939887752b3b3b3c80
2024-01-16 22:25:27 +00:00
James D. Forrester
5d6a6aaedf
*.py: Auto-fix using black
...
Change-Id: I4645717df655ac570c1fe6e69058082a1fa7ee6b
2024-01-16 12:26:13 -05:00
Amir Sarabadani
e1c7392a8e
Migrate away from deprecated wfShellExec
...
Change-Id: Iae3fdea224d896c1a7b53ce1fe7d849cb35a0401
2024-01-16 15:19:58 +00:00
Reedy
28f297f1f7
Add tox.ini for python linting
...
Base file from:
c4790b589b/tox.ini
Most failing rules disabled, rather than fixing now
Bug: T355090
Change-Id: Ie0f499809d84b94b95dddac9abd433c8f81e04ce
2024-01-16 15:18:51 +00:00
jenkins-bot
78d2312cb2
Merge "catpcha.py: Use opts.output"
2024-01-16 13:17:39 +00:00
Kosta Harlan
d1bc02e2fb
catpcha.py: Use opts.output
...
Script fails on macOS Python 3.9.2 otherwise, with "name 'output' is not
defined".
Change-Id: Id3df19b4a4dedf69f860f1a41348770ac1207377
2024-01-16 12:56:50 +00:00
Reedy
3798d424e2
Drop various class aliases
...
Move manual wgAutoloadClasses entries into TestAutoloadClasses
Change-Id: I4c85a2042ae591732b48bbf872277909a90675b4
2024-01-16 10:49:21 +00:00
jenkins-bot
c60beba52d
Merge "captcha.py: Increase number and position of random lines in the text"
2024-01-15 21:51:34 +00:00
Amir Sarabadani
172b3b53bf
captcha.py: Increase number and position of random lines in the text
...
The current one doesn't add that many lines, this is making it much
better.
Bug: T141490
Change-Id: I25589457c9f7d5871b86b7c70747074b0ef98170
2024-01-15 21:00:07 +00:00
jenkins-bot
a9cc16855e
Merge "captcha(-old).py: Fix undefined variables and remove some unused ones"
2024-01-15 20:23:25 +00: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
Reedy
1a305a40ee
captcha(-old).py: Fix undefined variables and remove some unused ones
...
Change-Id: I13b46cceb68a0118274a1fe9d3547b193f62b53d
2024-01-15 19:05:27 +00:00
jenkins-bot
11213652b6
Merge "ApiFancyCaptchaReload: Mark as internal"
2024-01-15 17:50:20 +00:00
Reedy
b2b1fd4c98
ApiFancyCaptchaReload: Mark as internal
...
Change-Id: I3477f762309ff6e276afee0c38d731cb05ed8ed6
2024-01-15 17:24:36 +00:00