Brad Jorsch
ac97e69999
Remove pre-1.25 API compatibility code
...
Since this extension uses extension.json, it already requires 1.25+ so
no need to keep the old code around.
Change-Id: I31b96b0939d5321be31889422cfc703c9c6c2baa
2016-09-20 15:32:05 -04:00
Translation updater bot
103c0831f6
Localisation updates from https://translatewiki.net .
...
Change-Id: I38cc12198f5bd4b79236ef139024a6b727ca21c6
2016-09-04 00:19:12 +02:00
Translation updater bot
87dd029422
Localisation updates from https://translatewiki.net .
...
Change-Id: I921a063904001b57339f61f1b2a2de3b02f94216
2016-08-29 22:34:42 +02:00
jenkins-bot
1a5e5fcff2
Merge "Remove getForm() and replace by getFormInformation()"
2016-08-04 02:14:04 +00:00
Florian
e566dcb966
Remove getForm() and replace by getFormInformation()
...
This commit removes SimpleCaptcha::getForm() and replaces it by its more informative
counterpart getFormInformation(), which returns an array, which provides some
more information about the form than only the html.
The information included in the array is:
* html: The HTML of the CAPTCHA form (this is the same as what you expected from
getForm() previously)
* modules: ResourceLoader modules, if any, that should be added to the output of the
page
* modulestyles: ResourceLoader style modules, if any, that should be added to th
output of the page
* headitems: Head items that should be added to the output (see OutputPage::addHeadItems)
Mostly you shouldn't need to handle the response of getFormInformation() anymore, as there's
a new function, addFormToOutput(), which takes an instance of OutputPage as a first parameter
and handles the response of getFormInformation for you (adds all information to the given
OutputPage instance, if they're provided).
Bug: T141300
Depends-On: I433afd124b57526caa13a540cda48ba2b99a9bde
Change-Id: I25f344538052fc18993c43185fbd97804a7cfc81
2016-08-04 01:45:13 +00:00
Translation updater bot
e19c464b14
Localisation updates from https://translatewiki.net .
...
Change-Id: I8af8b227d7f3e18fb59c4853d4fcb5fac2429995
2016-07-30 22:24:10 +02:00
Translation updater bot
d1ef7ab717
Localisation updates from https://translatewiki.net .
...
Change-Id: I912a14f8a4b3660b611bfec8920b2058b07f437e
2016-07-26 22:50:41 +02:00
Translation updater bot
a94992e253
Localisation updates from https://translatewiki.net .
...
Change-Id: If26e3d148017245c67097dfd191fbe1cd0c5abcb
2016-07-25 22:23:07 +02:00
Translation updater bot
49bfa1064a
Localisation updates from https://translatewiki.net .
...
Change-Id: I08a8355d667509e73b671771938f20c7b407655a
2016-07-18 22:28:08 +02:00
Translation updater bot
03232dd933
Localisation updates from https://translatewiki.net .
...
Change-Id: Iae3e5c2ee3b229faab7d0b77017b02f7647d7ce0
2016-06-24 11:08:45 +02:00
Translation updater bot
83a1b99c14
Localisation updates from https://translatewiki.net .
...
Change-Id: I4bd03abeae47f7effaf1f40657501abec22335dd
2016-06-16 22:25:56 +02:00
Translation updater bot
31c1becd3d
Localisation updates from https://translatewiki.net .
...
Change-Id: I4720f5f08c4cb153990ef30ce1e3324a5f7d98c2
2016-06-05 22:18:56 +02:00
Translation updater bot
09e0fd7d8c
Localisation updates from https://translatewiki.net .
...
Change-Id: I1b2980364791e434b36008084a99b7ed06d8dbc0
2016-05-31 22:41:43 +02:00
Translation updater bot
079fdb2991
Localisation updates from https://translatewiki.net .
...
Change-Id: I03d9ac806ca25b8112adc44b27d3c267d4b44fc0
2016-05-28 22:16:52 +02:00
Translation updater bot
fb258aef30
Localisation updates from https://translatewiki.net .
...
Change-Id: I295ac50022e7b94e4aa7fca46b3fa7785ea79e88
2016-05-27 22:18:59 +02:00
Translation updater bot
b94c85585a
Localisation updates from https://translatewiki.net .
...
Change-Id: I3f3c220c87f82b86c56175dd42d06881d1466cd0
2016-05-25 22:23:17 +02:00
Translation updater bot
1821ccb5ec
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie174b86552cbabc8ad2dd39f15e6b4c05fbe0dbd
2016-05-23 22:23:34 +02:00
Translation updater bot
f57479bf29
Localisation updates from https://translatewiki.net .
...
Change-Id: Iacdfda156b875c24692fd077ca5cd45fbba625ec
2016-05-22 22:23:25 +02:00
Translation updater bot
900940d44e
Localisation updates from https://translatewiki.net .
...
Change-Id: I11505d7cf59a46d83eaf9c48b1ed3ae27e89ea46
2016-05-19 23:07:43 +02:00
Translation updater bot
3def5298a2
Localisation updates from https://translatewiki.net .
...
Change-Id: I89f8f007b2daea5c49afec9f62eb50f5255660cf
2016-05-18 22:09:47 +02:00
Translation updater bot
d553b17df3
Localisation updates from https://translatewiki.net .
...
Change-Id: I8e528e2f0dd8bceac9cbc26253aaeed893c98a19
2016-05-17 22:20:50 +02:00
Gergő Tisza
f97212acbf
Expose equivalent functionality for passCaptcha
...
passCaptcha was made protected in I0da671a546700110d789b79a3089460abd9cce3b,
but some other extensions used it, provide passCaptchaFromRequest as a
replacement.
Bug: T135477
Change-Id: I47b2e2fbe3e063cd86e8a2d6bc17ca939472dbe1
2016-05-17 18:29:43 +00:00
Gergő Tisza
3e3b91b527
Add AuthManager support for ReCaptcha, ReCaptchaNoCaptcha
...
Also remove references to "two words" from ReCaptcha labels.
The captcha image doesn't always contain two words.
Bug: T110302
Change-Id: I544656289480056152a1db195babb6dadf29bc71
2016-05-16 09:51:11 +00:00
Gergő Tisza
31c59374a4
Add AuthManager support to SimpleCaptcha, QuestyCaptcha, FancyCaptcha, MathCaptcha
...
Also update MathCaptcha so that it works with recent versions of
Math (and breaks with old ones). Also fix MathCaptcha API output,
which used to send the question in plaintext.
Bug: T110302
Change-Id: I0da671a546700110d789b79a3089460abd9cce3b
Depends-On: I8b52ec8ddf494f23941807638f149f15b5e46b0c
2016-05-16 09:50:25 +00:00
Translation updater bot
ec28b99a33
Localisation updates from https://translatewiki.net .
...
Change-Id: I423ed546ca62f63a03fc0c661fc5cea3ddf02433
2016-05-11 22:25:37 +02:00
Kunal Mehta
9ea898ba2a
build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
...
Also added "composer fix" command.
Change-Id: Ibda3fd002c577c7f7c41920d67ec44fedbd27cb8
2016-05-09 16:41:17 -07:00
Translation updater bot
eea5215cfc
Localisation updates from https://translatewiki.net .
...
Change-Id: I51e3cf41a8a82bb634396d2c7c72e9373a489d2b
2016-04-22 22:21:35 +02:00
Translation updater bot
3cde1b60ff
Localisation updates from https://translatewiki.net .
...
Change-Id: I74cebee7ec7dd69b6e1e6070752c5e34a7f7ae8c
2016-03-23 22:19:47 +01:00
Florian
999cbba074
Add "manifest_version": 1 to CAPTCHA modules
...
Needed to validate against a specific schema version.
Bug: T128330
Change-Id: I6f745057b8b17f57049ec5b565d7a882d19174c5
2016-02-28 18:20:01 +01:00
Translation updater bot
df4bc4f102
Localisation updates from https://translatewiki.net .
...
Change-Id: I779f4b0994f16cfbc981ced07983fbb117614085
2016-02-19 22:06:22 +01:00
Translation updater bot
f10fef8cf5
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia95ad8cabeca8bf5d806e33daef9c80f58f42b5a
2016-02-03 23:04:35 +01:00
Translation updater bot
3eaf561945
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibbf35f24ac4c2fa2927b5120578aa65a8c024213
2016-01-27 21:39:29 +01:00
Translation updater bot
0c5f033a08
Localisation updates from https://translatewiki.net .
...
Change-Id: I5ee9a6b59ff9b73e9ba7f6cabb5f65277b7cf94e
2016-01-06 21:52:41 +01:00
Translation updater bot
ef29d78338
Localisation updates from https://translatewiki.net .
...
Change-Id: I57ded7f7c2016d7e3837dd1884ac3c6a589032c6
2016-01-01 20:00:52 +01:00
Translation updater bot
fd8d7acf5d
Localisation updates from https://translatewiki.net .
...
Change-Id: I3ef635a036fcb49965b724da73f451b4be09a272
2015-12-23 22:04:04 +01:00
Translation updater bot
ebbb13c3cc
Localisation updates from https://translatewiki.net .
...
Change-Id: I1176fd4612e1126602105a554ac5de743136d11e
2015-12-20 22:32:45 +01:00
Brad Jorsch
01d11b7b73
Add i18n for injected API parameters
...
Change-Id: I4a0a6c47afdd62e1c9d0b29f066d2a6d1791b52d
2015-12-18 12:53:44 -05:00
Paladox
30490fba52
Add php code sniffer
...
Change-Id: I298b8b936a2b86deea75c302d88a7391cdb221c9
2015-10-28 21:46:29 +00:00
Siebrand Mazeland
8c3fa371e4
Update indentation to use tabs
...
Change-Id: Ica5d454562dc7b6b582f6878edc5ca4ddb7c2837
2015-10-12 09:16:22 +02:00
Translation updater bot
0e129fc532
Localisation updates from https://translatewiki.net .
...
Change-Id: I995c37921a513d561dfff96f33ac2a6a75174e04
2015-09-28 22:42:15 +02:00
Florianschmidtwelzow
443bfac8a8
Add a way to use different tab indexes for CAPTCHA input form
...
And use it for UsercreateTemplate.
Bug: T113432
Change-Id: I56a618f2132fbcf3fea1a3ce6a409ce90709e849
2015-09-27 01:29:18 +02:00
Translation updater bot
504edba9d8
Localisation updates from https://translatewiki.net .
...
Change-Id: I3b1e4d411a599baf63160ecd2d8abe72d0fa6ce7
2015-07-10 21:13:16 +02:00
Translation updater bot
b92b7e912a
Localisation updates from https://translatewiki.net .
...
Change-Id: I595e42c40c5b43743cb49874029be45b0f69878e
2015-07-09 22:01:08 +02:00
Florianschmidtwelzow
36abbc6288
Implement support for Google reCAPTCHA 2.0 ("No captcha")
...
This change adds a new Captcha type (ReCaptchaNoCaptcha) that uses
Google reCAPTCHA 2.0.
See more:
- https://www.google.com/recaptcha/intro/
- https://developers.google.com/recaptcha/docs/display
- https://developers.google.com/recaptcha/docs/faq
- http://googleonlinesecurity.blogspot.com/2014/12/are-you-robot-introducing-no-captcha.html
Bug: T84918
Change-Id: I5908fd2716786237adb01a403d5bd1e22d95c563
2015-06-27 03:00:11 +02:00
Brad Jorsch
e5cb34c058
Fix issues from recent extension registration changes
...
* Move ApiFancyCaptchaReload.php into the FancyCaptcha subdir
* Fix include of recaptchalib.php
* Restore efReCaptcha() that was randomly deleted
Bug: T100775
Bug: T100504
Bug: T100505
Change-Id: I70f9c3f1610fed5aa4b88f3512b86e1a40d64a6b
2015-05-29 14:35:55 +00:00
Alex Monk
a9b8fcec04
Fix extension.json files
...
Bug: T100351
Change-Id: Ib54e28594024d700f569a7ae864a26ef633e42c1
2015-05-25 20:47:09 +01:00
Florian
d7e46583ed
Clear PHP entry point and use extension.json for ReCaptcha
...
Bug: T88047
Change-Id: Id09113674c2a4c4cfd7539b3e752bfca776a5903
2015-05-23 11:32:16 +02:00
Florian
dc727507ea
Move ReCaptcha to it's own place
...
Bug: T88047
Change-Id: I6cdb9ac1d21c84fc9b01cd90b9cba4aa3db1eccc
2015-05-21 19:08:12 +02:00
Florian
bd5c5d494e
Move i18n to Captcha modules own directory
...
1. change in preparation for ExtensionRegistration.
Bug: T88047
Change-Id: Ia3b84d3cb71832749ae73774dadb292dc4b9157b
2015-05-21 17:32:51 +02:00