Commit graph

14 commits

Author SHA1 Message Date
ZabeMath 8d8e0e7da1 Avoid using User::setOption()
User::setOption() is deprecated and should be replaced with UserOptionsManager::setOption()

Bug: T277818
Change-Id: Idd89847f2363645862b1d81488d7eb5727d8baab
2021-04-02 21:06:06 +02:00
Umherirrender 674c24f807 Add missing @var and improve documentation
Change-Id: Iee58d1ac85939290c341568ebb10dc757e664425
2020-12-17 20:55:01 +01:00
Reedy 68b1b460d6 Make use of BatchRowIterator::setCaller
Bug: T261014
Change-Id: I803145598f8690e6f054defdc8361cc07a08d2e8
2020-09-04 18:30:20 +01:00
DannyS712 a5d764e44f Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: Ie5a9ba0e65eeda936e63ea2345515a9b59a1ff11
2020-05-19 23:23:47 +00:00
Umherirrender 159b6b3b38 Improve param docs
Change-Id: I4b91b39757bb1a2717550f7c771537ee28ce0761
2020-02-29 21:28:35 +01:00
libraryupgrader 3103915e78 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: Ie0f3c44edd654994ca1aa3c55a40cbef22465c0b
2020-01-14 07:37:43 +00:00
Gergő Tisza 24bb65b54a
Add new $extraData parameter from I8aab48177 to auth audit hook call
Update the login emulator test script to match the changed signature
of AuthManagerLoginAuthenticateAudit.

Change-Id: Id482d2e2205960a0facd334e456d3a23bcad0ece
2018-12-13 10:35:28 -08:00
Umherirrender 866f1883b4 Remove unneeded @codingStandardsIgnore
* Break long lines
* Sniff fixed, see T178725

Change-Id: Iaeea06ece1c58f625dfdd3e0e9f6bd53351cc104
2018-03-29 16:09:33 +00:00
Huji Lee edba4520bf Correct the way that loginAttempt.php verifies a user exists
Change-Id: Ib548914ffa36085925fa63d365e30b8d2ffed4f7
2018-03-13 00:01:29 +00:00
Max Semenik c7a27caee9 Update loginAttempt.php for new login handling code
Bug: T187519
Change-Id: I98982c339c1960c755a95829b4e4bd827d6e37ba
2018-02-20 19:15:34 -08:00
Huji Lee dc821dbb1e Use the proper way to override the User-Agent header of a request
This builds on I01221923387a9e94499efdda39b2e40ee207e27c

Bug: T183722
Change-Id: I7676f0882620eb99ac756bc29bd8b3ef2e2a4f7a
2018-02-03 20:15:10 -05:00
Huji Lee 0cd8f9e926 Maintenance script to generate fake login attemps from any IP
Depends on: Ifb28222cf75ad23859bbdceff332cf1e526afe9c

Bug: T183722
Change-Id: I01221923387a9e94499efdda39b2e40ee207e27c
2018-02-01 20:10:48 -05:00
Max Semenik c211fc1875 Use getBatchSize() instead of direct field access
Change-Id: Ie11dd951b8be4ffe8bc982c6ef64482352e3ca38
2017-11-08 06:54:20 +00:00
Max Semenik e13be59e42 Remove support for per-group preference defaults
Not used and introduces serious compexity, likely causing
the bug with users receiving notifications they've opted out of.

Bug: T174220
Change-Id: I888c6009fffad17121765678387022ed7d454cb0
2017-10-13 17:12:20 -07:00