Commit graph

3196 commits

Author SHA1 Message Date
Reedy 3b9ab99b1d Make GenerateFancyCaptchas.php execute captcha(-old)?.py via python3
Bug: T268468
Change-Id: I3d5113d1a83eea9f711ee2bb206fe9423431b887
2020-12-01 18:28:00 +00:00
Reedy 3b477b543d Update captch(-old)?.py shebang to python 3
Bug: T268468
Change-Id: I9e3918939365a3142772627a192b0d92be7d7000
2020-12-01 14:16:56 +00:00
Translation updater bot cfede61c46 Localisation updates from https://translatewiki.net.
Change-Id: I9a40fddfa471e882a7ed0cf607d0bc23806011f2
2020-11-30 08:46:19 +01:00
Translation updater bot dfda6a9bed Localisation updates from https://translatewiki.net.
Change-Id: Ib90d9794dd7f891347b94e3695ef3c5c2bdd6dd7
2020-11-27 08:29:52 +01:00
Translation updater bot d7cf8ed359 Localisation updates from https://translatewiki.net.
Change-Id: I637333bd6af611e67660974413be4340fe186d48
2020-11-23 08:38:44 +01:00
libraryupgrader f952dd1736 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I2c6469b3bb34fec6dbb304ec9924b004e0c0ba3f
2020-11-22 00:33:10 +00:00
libraryupgrader a38c96140e build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: Id88999106d58d86395b6d60635c7005a28d16f0b
2020-11-20 03:04:10 +00:00
Translation updater bot f575749539 Localisation updates from https://translatewiki.net.
Change-Id: I2833b3076b009b8b837a1c19dc8e724bf48cd6ba
2020-11-19 09:09:57 +01:00
Translation updater bot 6948159f87 Localisation updates from https://translatewiki.net.
Change-Id: I03260e1d35f53c670afd3d2bec977f210b799e7f
2020-11-16 08:36:47 +01:00
Translation updater bot c945a29dce Localisation updates from https://translatewiki.net.
Change-Id: Ie2c9e986e31cab71a14cea3010030032934ee9f4
2020-11-13 08:30:10 +01:00
Translation updater bot 70166c5006 Localisation updates from https://translatewiki.net.
Change-Id: I80788d64458369442de247da96e265b9903df318
2020-11-12 08:21:47 +01:00
Translation updater bot 20666421b0 Localisation updates from https://translatewiki.net.
Change-Id: I8e08ad7f6da4f64a511a3d413013e28bb6d4a6d5
2020-11-10 08:40:00 +01:00
Translation updater bot 0cd0379ce7 Localisation updates from https://translatewiki.net.
Change-Id: I84d812712cb4762660e5e1700f3c240fa7b2b438
2020-11-09 08:34:27 +01:00
libraryupgrader 45ee5bfdd5 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Change-Id: I760284f64e8a2ca4239a345d760447ef7a06ee9b
2020-11-03 15:28:02 +00:00
Translation updater bot 6d5dc722f3 Localisation updates from https://translatewiki.net.
Change-Id: Icc5dc19a7fbc85912148a57c71e18e6ac5a237d6
2020-11-02 08:52:33 +01:00
libraryupgrader fd495575a1 build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle

Change-Id: I8479cfb5fbc67a6472e28045ece5ea2ae1ba6ac6
2020-10-29 08:41:34 +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
jenkins-bot 14f701d55f Merge "ReCaptchaNoCaptcha: Use POST to siteverify" 2020-10-28 23:03:32 +00:00
jenkins-bot 810e6b8598 Merge "Fix characters typo in captcha python scripts" 2020-10-28 22:10:59 +00:00
Reedy b86cc888a5 Fix characters typo in captcha python scripts
Change-Id: I855a43d3bd331974c63b4eacf8178805db6de7c1
2020-10-28 19:45:02 +00:00
Platonides 520e1ab036 Make captcha.py work under python 3
It was just a matter of converting some
divisions to integer ones.

Bug: T263223
Change-Id: Ia04efa1d657bbfa2ee4aed44be504cc3ac0b7196
2020-10-28 19:25:04 +00:00
Reedy fa84e437c1 ReCaptchaNoCaptcha: Use POST to siteverify
Bug: T266362
Change-Id: I3b2d989f63e0a9302b833c35a8473ff7eebae4af
2020-10-25 00:28:58 +01:00
Translation updater bot 4cd8e7664f Localisation updates from https://translatewiki.net.
Change-Id: Ic9e5fdc2e8775656fcbb702101912b23d2287af7
2020-10-22 08:30:26 +02: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 0cce46e7bb Localisation updates from https://translatewiki.net.
Change-Id: Ia6be461958062beb34c929c8f90fdbc7e6c75563
2020-10-19 08:35:26 +02:00
Translation updater bot a37a7a6b43 Localisation updates from https://translatewiki.net.
Change-Id: Idb0931010a783322c38387512f0deccd0bdd308a
2020-10-14 08:27:43 +02:00
Translation updater bot 05d588a5c0 Localisation updates from https://translatewiki.net.
Change-Id: I70a742d5f475fd506daa909f186f5c3aff73721a
2020-10-13 08:41:59 +02:00
Translation updater bot 11d22bba45 Localisation updates from https://translatewiki.net.
Change-Id: I373155cd086ff345bd9f0074271e5ba75c96dcfa
2020-10-12 08:34:49 +02:00
Translation updater bot 201d7c294d Localisation updates from https://translatewiki.net.
Change-Id: I8fe53704a46f234074c6c8d1a916e8f500993d29
2020-10-09 08:25:09 +02:00
Translation updater bot 23e9663581 Localisation updates from https://translatewiki.net.
Change-Id: I627ccccf3ef6b03c7ad218da61049dfdf31011ef
2020-10-08 08:29:43 +02:00
Translation updater bot b2890991df Localisation updates from https://translatewiki.net.
Change-Id: Iebcc04f8d59ea2ea31ecce9aad2e542da12378cb
2020-10-05 08:41:29 +02:00
Translation updater bot 3d89b1e87a Localisation updates from https://translatewiki.net.
Change-Id: I89bcdd9adb71008217e3feba45b2c54f0dd42a22
2020-10-02 08:23:58 +02:00
Translation updater bot bbecdc8828 Localisation updates from https://translatewiki.net.
Change-Id: I48e55c78fab27e3d9200ea8e197b1b6887a23e3f
2020-09-30 08:41:26 +02:00
Translation updater bot 61a9a205cc Localisation updates from https://translatewiki.net.
Change-Id: I0fbf9095102f7a92e9148b22de502c76b618fdd1
2020-09-28 08:28:55 +02:00
libraryupgrader 202db5da16 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: I5aead5baca8f62a8b8915559df41f41cff082e4f
2020-09-24 23:51:20 +00:00
Translation updater bot a60ae051cb Localisation updates from https://translatewiki.net.
Change-Id: I61b40edbe429c67de1873c224eeeaf33a516b6ba
2020-09-24 08:28:32 +02:00
Translation updater bot 14d4c6ab73 Localisation updates from https://translatewiki.net.
Change-Id: I7470cff7603ff88711102da2f2b46421bca20a10
2020-09-23 08:24:34 +02:00
Reedy 69512c8046 Use floor division (//) when calculating chunks in python
Also remove int() casting from captcha-old.py which was added
in 66152162fe but diverges from
captcha.py

Most of the code should be the same in these two files should
be the same bar the actual image processing...

Bug: T263223
Follows-Up: If4f6bc9048aceacc41538c001255425e848fd8e9
Change-Id: I3062e64fc380022ca9fee793bc522f212eb873d3
2020-09-18 17:18:53 +00:00
Reedy 297897220c Use $this->fatalError() where $this->error() is called with $die > 1
Change-Id: Ia8cf34437661f53a2c28bc9e2077fe5c7c8103de
2020-09-18 17:11:56 +01:00
Translation updater bot a6ffe78172 Localisation updates from https://translatewiki.net.
Change-Id: I9ce53779e18ff72304a7bde25198a8a4ab9543ac
2020-09-14 09:13:44 +02:00
Translation updater bot ca7b7ba1f2 Localisation updates from https://translatewiki.net.
Change-Id: Ic0ad1bc6a00fb4f18096624a7903158ff1faf08d
2020-09-11 09:39:29 +02:00
Translation updater bot d18104a4fc Localisation updates from https://translatewiki.net.
Change-Id: I599e2e739439d74bc4bcb63197ab7d69e528ac2d
2020-09-10 09:49:08 +02:00
Translation updater bot 3f6c2861f1 Localisation updates from https://translatewiki.net.
Change-Id: Ib4841a38fc7d946e53ed290d44d096aac33d7b13
2020-09-06 20:55:28 +02:00
libraryupgrader 0a8e8c9697 build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: I5564c4e0d9731282648d795e81027c7ef8665a65
2020-09-05 11:37:07 +00:00
Translation updater bot d6fa93a02a Localisation updates from https://translatewiki.net.
Change-Id: I626b808601a361f3bc5e0a7681c2c7a81725e4a0
2020-09-04 09:25:54 +02:00
Translation updater bot 3f5d5d8590 Localisation updates from https://translatewiki.net.
Change-Id: I8ff0938b0a75a793beea8a45f653d9d29f2a47c2
2020-08-27 09:51:31 +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 f4b590bbcb Localisation updates from https://translatewiki.net.
Change-Id: If8e215da2408136c682ad359f04c9aec07a7b247
2020-08-12 08:19:08 +02:00
Translation updater bot 94377fc2b6 Localisation updates from https://translatewiki.net.
Change-Id: Ib457211042e5e8eb7f6081e236a94d8f03fa560e
2020-08-10 09:00:42 +02:00