Commit graph

26 commits

Author SHA1 Message Date
jenkins-bot 7e98f888fe Merge "Remove entirely pointless directory iteration in GenerateFancyCaptchas" 2017-03-08 18:30:51 +00:00
Gergő Tisza ba936103c3 Remove entirely pointless directory iteration in GenerateFancyCaptchas
Bug: T159606
Change-Id: Ic03a0e83878cd75235095a942400aca4293e791c
2017-03-07 11:35:01 -08:00
Gergő Tisza 508a3d8545 Fix error output
Bug: T159581
Bug: T159831
Change-Id: Ib8d5ddf4ca95defe705a6f7db01dc6f43ca5d9db
2017-03-07 18:12:35 +00:00
Gergő Tisza 175486431b Warn when some of the captcha generation operations fail
Change-Id: If0567186410673137b08633205c3322753985412
2017-03-03 19:24:48 -08:00
jenkins-bot c160aa909a Merge "Switch file store/delete operations to batch operations" 2017-02-26 17:28:08 +00:00
Reedy a1bdde2631 Add a script to delete old fancy captchas
Bug: T158327

Change-Id: I42ed3e0ee2cf274648cf637164e0ebaed036f4d7
2017-02-17 16:27:18 +00:00
Reedy 7de460c289 Switch file store/delete operations to batch operations
Bug: T157738
Change-Id: Ief109d78788fc9f6346e08661b973d65a035cafe
2017-02-16 21:13:16 +00:00
Reedy 1381924e7c Fix class name to match file
More text tweaks to include fancy

Change-Id: I998ec3fa9268cff8fdb27de916903a573b6e46f1
2017-02-16 16:27:10 +00:00
jenkins-bot 3a802c6efb Merge "Add timing instrumentation" 2017-02-10 21:17:55 +00:00
Reedy cff6e0f359 Add timing instrumentation
Move some code closer to relevant usage

Tweak some output of newlines

Bug: T157737
Change-Id: I3a4d9c74a3a93fe0474e78c9c0913dd85dec4bb6
2017-02-10 19:27:19 +00:00
Reedy f5e37ee92e Estimated amount is now useless, as it returns actual
Change-Id: I995dc0ac22099917e89ee0fceb20b57b869f4c8d
2017-02-09 20:05:25 +00:00
Reedy a2fc069174 Use an accurate number of captchas
Change-Id: Ice434235687aa68ccf37a0219d379beb97e5a8ec
2017-02-08 18:05:49 +00:00
jenkins-bot 0cbcb020fa Merge "Add script for counting captchas" 2017-02-08 18:02:07 +00:00
Reedy 424f490e64 Add script for counting captchas
Change-Id: I4d22c4e1e46586f039ee9d9fac4c5cc68fa6e307
2017-02-08 17:49:21 +00:00
Reedy b15d5827d3 Fix class description for maintenance script
Change-Id: I552c9e5e200def239e2894f67183e7e47d202ea4
2017-02-07 15:34:29 +00:00
Reedy 3bf3f53576 Fix inclusion of Maintenance.php
Follows up I9c33c65c913d891739b913d5363abba66c2cd0dd

Change-Id: I6d0bdf25a14f284b0eef71748008cd43b332d7b6
2017-02-01 20:40:06 +00:00
Ed Sanders ae85f2ac6b Replace jshint/jscs with eslint and add stylelint
Change-Id: I9c33c65c913d891739b913d5363abba66c2cd0dd
2017-01-18 16:53:09 -08:00
divadsn 2dc4472e04 Update Maintenance scripts to use $this->requireExtension()
Bug: T152139
Change-Id: I987c75233c8c1d02b240c1f2644aacd43dfff252
2017-01-01 17:34:33 +00:00
Reedy 18849474b9 Add --delete to GenerateFancyCaptchas
Bug: T151244
Change-Id: I722b507dc76da4d7f0970e40bb777137b1c0b327
2016-11-21 20:57:57 +00:00
Reedy c82a903e6f Allow usage of old captcha script
To be reverted at a later date when improved script is allowable for
usage on WMF wikis.

Change-Id: Id23483286ae2549bfd6f1377c6a0d0c0898b88c4
2016-11-04 19:01:15 +00: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
Paladox 30490fba52 Add php code sniffer
Change-Id: I298b8b936a2b86deea75c302d88a7391cdb221c9
2015-10-28 21:46:29 +00:00
Aaron Schulz 0e761f3325 Merge "Disable ulimit time limit for long-running captcha.py script." 2013-01-02 18:27:41 +00:00
Aaron Schulz 82cc98f128 Disable ulimit time limit for long-running captcha.py script.
Change-Id: I367120a1746ac329d675c0a31c9ddb4ef10e3b0f
2012-12-18 15:18:11 -08:00
Aaron Schulz 099b318d61 Actually create directories before using store operations.
Change-Id: I69a6b84f2f989fbe4cdd35ba75f25a4a26406347
2012-12-18 14:25:37 -08:00
Aaron Schulz 13d62bf9c7 File backend support for Captchas.
* Added $wgCaptchaFileBackend configuration setting.
  This causes captchas to be stored in the registered backend.
* Added $wgMemc usage to reduce directory operation I/O.
* Improved $wgCaptchaDeleteOnSolve in terms of race conditions.
* Added maintenance script to create and store new captchas based
  on the total amount desired and the current number remaining.

Change-Id: Iac490503fb94a8f003e3b7e1474a949b037af5df
2012-09-25 23:22:04 -07:00