Commit graph

605 commits

Author SHA1 Message Date
James D. Forrester
b4c6a5d629 Drop Avro format option for monolog without deprecation
Bug: T265967
Change-Id: I1b46df143b71db7cc387d3239a4a4489c1f47c96
2021-03-25 08:26:17 -07:00
jenkins-bot
d9d445ca96 Merge "Updating wikimedia/at-ease (v2.0.0 => v2.1.0)" 2021-03-22 17:46:56 +00:00
jenkins-bot
fe5e78b909 Merge "Updating wikimedia/php-session-serializer (v1.0.7 => v2.0.0)" 2021-03-22 17:46:49 +00:00
jenkins-bot
749b25892b Merge "Updating wikimedia/ip-set (2.1.0 => 3.0.0)" 2021-03-22 16:16:47 +00:00
jenkins-bot
f292ae023d Merge "Updating wikimedia/ip-utils (3.0.1 => 3.0.2)" 2021-03-22 15:53:01 +00:00
Tim Starling
7ab3c1eb62 Upgrade RequestTimeout to 1.1.0
Depends-On: I6d42216654c589eae1e41bca58d0916967852d75
Change-Id: I14ddb285dd61b788aa96f88c3a12ce6c8d7fb2c2
2021-03-22 09:24:11 +11:00
Reedy
db6a159890 Updating wikimedia/at-ease (v2.0.0 => v2.1.0)
Bug: T271575
Change-Id: Ia85fb8b46a7796b975d54796f09359a015b31523
Depends-On: I9062a53a2e138cad29b04dd93695c08a1d068283
2021-03-21 21:43:42 +00:00
Reedy
b843f0be76 Updating wikimedia/php-session-serializer (v1.0.7 => v2.0.0)
Bug: T271575
Change-Id: If069704e517f749f3fd7de0f6e801c145e6cfab1
Depends-On: I82ee9e6fc2a684c8891b7be01e62be0ae17c3c58
2021-03-21 21:38:02 +00:00
Reedy
d21929f950 Updating wikimedia/ip-set (2.1.0 => 3.0.0)
Bug: T271575
Change-Id: I794d1bd10174aadb4680e95f5809c85c51eac353
Depends-On: I8131cbad3cd8609d61d1e957f066f17b61b2e470
2021-03-21 21:31:15 +00:00
Reedy
c51846fcc3 Updating wikimedia/ip-utils (3.0.1 => 3.0.2)
Bug: T271575
Change-Id: Id5f119dceb5ea598913000c7ec8b032b3c753d97
Depends-On: I1a337443e5b3a6eda4e9243b08b96e10c9e2ba8e
2021-03-21 21:30:09 +00:00
Reedy
bfde43420b Updating wikimedia/xmp-reader (0.8.0 => 0.8.1)
Bug: T271575
Depends-On: If925ee94a6974fda134d8ed100ed3285bf6acfc3
Change-Id: I0a46338e9ad723f0ba8ed0840d412e3f56388cf1
2021-03-21 11:36:41 -07:00
Reedy
a1c2cf5632 Updating wikimedia/utfnormal (3.0.1 => 3.0.2)
Bug: T277982
Change-Id: I1258eac600510e111756055a16801ddc3fa0513c
Depends-On: I086e247886b51da4250e715bea29888929c44b51
2021-03-20 17:39:06 +00:00
Reedy
9be89beafd Updating wikimedia/common-passwords (0.2.0 => v0.3.0)
Change-Id: I8e98b8f613a917852561c459ef0aaa805dcc8be5
Depends-On: Idc1ccd82c54c803cfff983ebb115ea1e5b75b545
2021-03-19 17:01:09 +00:00
Timo Tijhof
5c9e958ffb Update wikimedia/minify to 2.2.1
This effectively re-applies the reverted commit 44d8d23447,
but with bug T277161 fixed.

Bug: T272882
Bug: T277161
Depends-On: I32a18ebe0c5c181a79d22a91c51f25c06f9c4674
Change-Id: I988aef085f485ca344baf939ef8d7010af0e969b
2021-03-16 16:13:04 +00:00
James D. Forrester
dcc67bd33a Update OOUI to v0.41.3
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.41.3/History.md

Bug: T230066
Bug: T262973
Bug: T277177
Change-Id: Ic1ebc506a66d90658e488c5a8bebfeaadb9a83ce
Depends-On: I7aca10091f6a024190781bc3487771201e3c1c62
2021-03-12 14:01:05 -08:00
Lucas Werkmeister
0c5e48b96e Revert "Update wikimedia/minify to v2.2.0"
wikimedia/minify v2.2.0 minifies some code incorrectly, breaking all
Wikibase CI (among other effects). Revert it until the bug has been
fixed and a new version released.

This reverts commit 44d8d23447.

Bug: T277061
Change-Id: If814ae20f7d6602e0167e038ef64f485160bb037
2021-03-11 11:52:37 +01:00
jenkins-bot
1269e29639 Merge "Upgrade wikimedia/html-formatter from 2.0.1 to 3.0.1" 2021-03-10 19:33:52 +00:00
Ed Sanders
bf5f48de6f Upgrade wikimedia/html-formatter from 2.0.1 to 3.0.1
Bug: T276455
Change-Id: I9dfb5d38d6ed5d63aebfe3f395d4f9d1eb23f0e8
Depends-On: I2daeb93bf2523d91ae123727eb9d1b7485dcb61e
2021-03-10 16:40:43 +00:00
Roan Kattouw
44d8d23447 Update wikimedia/minify to v2.2.0
Bug: T272882
Depends-On: I0a5a5bc67bde33243d387de0393c0fa0db5cf661
Change-Id: I31ae009aac570563f7487e8f54763e3a5a470c9d
2021-03-09 13:54:24 -08:00
James D. Forrester
c0e324a333 Update OOUI to v0.41.2
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.41.2/History.md

Bug: T213580
Bug: T240864
Bug: T275125
Bug: T276483
Change-Id: I22d1bb2dc3638a6b73d6bc89c71e3abadd302791
Depends-On: I16a17d9943cde197f8c0de2460328035d6187e4e
2021-03-09 09:19:17 -08:00
Tim Starling
7bdfc83567 Allow Composer 2.0
Remove the requirement for composer-plugin-api 1.1, so that Composer 2.0
can be used.

Throw an exception if the user tries to update with an old version of
composer-merge-plugin using Composer 2.0.

Change-Id: I0302e250f4a4fd834aee7bd84bd3f2da4fc77700
2021-03-01 13:40:55 +11:00
Kunal Mehta
a4ab432ab1 Updating wikimedia/shellbox (1.0.3 => 1.0.4)
Depends-On: Ia4f1b2428575cbb49af7e4acc0e96b318ed13bd9
Change-Id: Ie04c5687544fddb1d5f38c7961be91903f4d2ceb
2021-02-27 17:15:54 +00:00
Reedy
63ef36b46a Updating wikimedia/composer-merge-plugin (v1.4.1 => v2.0.1)
Bug: T275824
Change-Id: Ifef6c81c3720137fa2cae296f537f3e164f6e4d1
Depends-On: Ia18240d26f9845d117935c3eb26347e6173e890e
2021-02-25 22:46:58 +00:00
Timo Tijhof
245bdafd9e resourceloader: Add wikimedia/minify package and remove local copies
- JavaScriptMinifier: The public interface for this internal class is
  ResourceLoader::filter which, except for one caller (minify.php)
  is indeed consistently used already, no other callers need replacing.

- CSSMin: Idem for minification, however, this class has some other
  method as well, which have a number of internal users, but none
  outside core. These have all been replaced in this commit.

- Remove pear/net_url2 as own dependency as this was only used by CSSMin
  and recently added there. This is now a dependency of wikimedia/minify
  instead. This was not part of the public API and no longer mentioned
  here in composer.json or RELEASE-NOTES. (It remains pinned in
  mediawiki-vendor, however.)

Bug: T273247
Depends-On: Iadff8c2112d5e53bd994ab4882006e8c644a2379
Depends-On: Id3c6dcc0b952a9efe34b3a9ed88b716101a51f87
Depends-On: I589be910f57289fd908b22db87241b0e52da60d4
Change-Id: I8d71fc64aeecdb31db218b02e361ae9bb0d19b48
2021-02-24 21:03:02 +00:00
James D. Forrester
df4d67c230 composer: Provide test-some job for CI
Bug: T199403
Change-Id: I901d8d6bfbaeab2fcc3abf528804724f2841f5ec
2021-02-12 18:22:47 -08:00
Reedy
4403a69dc2 Updating wikimedia/cldr-plural-rule-parser (v1.0.0 => v2.0.0)
Bug: T263341
Change-Id: I27405756c5b6733c05ec0edd7cbc8239de20f05c
Depends-On: Ic39d29d0579404fd9e4bedf2e2142c8ebe4a3902
2021-02-12 01:01:34 +00:00
Reedy
69b48bf566 Updating wikimedia/wait-condition-loop (v1.0.1 => v2.0.1)
Bug: T263341
Change-Id: Idfd093c12ac4d2788b33ebbb92bdb0ef272706cc
Depends-On: I54f7f66b0f5a7364653c57cfa985a1093b6ff9bb
2021-02-11 19:39:46 +00:00
Kunal Mehta
70bb3d90ad Update wikimedia/shellbox to 1.0.3
Bug: T274474
Depends-On: I0740696953b828b295318433388a28d868384f02
Change-Id: I4f429501543382359b5244553ecc8cfaf358d01d
2021-02-11 00:22:27 -08:00
jenkins-bot
be522158eb Merge "RequestTimeout library integration" 2021-02-09 01:01:47 +00:00
Kunal Mehta
918e5568a8 Update wikimedia/shellbox to 1.0.2
Depends-On: I946219b6e48751ad817bf150b021056b8cc903f8
Change-Id: Ie2d2ed7a598882ba774dc22d9ff4e343ae9c5471
2021-02-08 09:55:07 -08:00
Tim Starling
2697837fd8 RequestTimeout library integration
* Add $wgRequestTimeLimit. If it is non-null, it starts a time limit,
  using Excimer with a fallback to set_time_limit().
* Add pretty formatting of timeout exceptions thrown by the library.
  Related refactoring.
* Expose the library's critical section feature in MediaWikiServices
* In Setup.php, call warnIfHeadersSent() before sending session headers.
  This helped to debug a related issue I had.
* In wfTransactionalTimeLimit() use the new library, and respect the
  existing library time limit if it is larger than
  $wgTransactionalTimeLimit.

Bug: T269326
Depends-On: I6409ad8a5cba775c27b0d5a79d3300c4dac4c91a
Change-Id: I2e6f6351c451407c06cc7e20932548f7b62e36b6
2021-02-08 11:58:45 +11:00
jenkins-bot
c8a32fa7e3 Merge "Use Shellbox for Shell::command() etc." 2021-02-07 20:40:03 +00:00
Reedy
433a400585 Updating wikimedia/xmp-reader (0.7.0 => 0.8.0)
Bug: T271575
Depends-On: I7c3d912df2778680c17c3fd4546a2e5f8c58d0b3
Change-Id: I80ef92e32927a98a61dfddd8ad09828a23dbe6ff
2021-02-06 15:20:49 -08:00
Tim Starling
99392f3b16 Use Shellbox for Shell::command() etc.
Make Command extend Shellbox's UnboxedCommand. Only a few MediaWiki-
specific features remain in the subclass.

Also add BoxedCommand abstraction and Shellbox client.

The Result alias didn't actually work, I just had to change the return
type hint.

Bug: T260330
Change-Id: Iff7428e4c5fe3959a5cda8e113f223caa0976fc1
2021-02-05 21:51:58 +11:00
jenkins-bot
937d5222c1 Merge "Upgrade wikimedia/utfnormal from 2.0.0 to 3.0.1 (and concomitant remex-html)" 2021-02-01 21:23:56 +00:00
Umherirrender
62002cdcf1 build: Update mediawiki/mediawiki-codesniffer to 35.0.0
Change-Id: Idb413be4b8cba8611afdc022af59810ce1a4531e
2021-01-31 13:34:38 +00:00
James D. Forrester
d6dc4dcaee Upgrade wikimedia/utfnormal from 2.0.0 to 3.0.1 (and concomitant remex-html)
* wikimedia/remex-html:       2.2.1 ->  2.2.2

Bug: T273338
Depends-On: I25bc11cccc2703b84372615487401e2953f1f591
Change-Id: I146bacc8cda24154d3aa0d5d12f3ba00722a5490
2021-01-30 08:34:50 -08:00
Timo Tijhof
52391f21fc build: Document a one-line dependency-free pure php install method
This has been mentioned and referenced from time to time, but having
it defined in composer.json would make it much easier to refer to
and make use of without having to worry about the specific parameters.

This is essentially the same way that Quibble works currently.

Also, simplify the Travis CI setup by using this instead of
concerning that configuration with MySQL and Travis' specific
way of dealing with that.

Usage:

 # Install with pure PHP and start a server (no Apache/MySQL/..)
 $ composer mw-install
 $ composer serve
 $ open http://localhost:4000

Based on <https://wikitech.wikimedia.org/wiki/Fresnel#Quick_MediaWiki>.

Bug: T56856
Change-Id: Ib1f8a86afe48b8f1ae6db733735e81f51d698fc9
2021-01-29 01:32:48 +00:00
James D. Forrester
1c3b694363 Update OOUI to v0.41.1
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.41.1/History.md

Bug: T262549
Bug: T269474
Bug: T269477
Bug: T270960
Change-Id: I0e05786f57f330683113f08f950837163b57ae8c
Depends-On: I6ce57cfbfcc48286ec422b258b7460e213abb903
2021-01-27 01:01:30 +00:00
Reedy
abc661ab0c Update wikimedia/ip-utils from 1.0.0 to 3.0.1
Bug: T247212
Bug: T248237
Depends-On: Iaa520a50498c4d1d4514874fbe6f72aa0f76ccb8
Change-Id: I155024341e8e6b13240e37b30c31b95dc83a47e0
2021-01-26 15:14:02 -08:00
James D. Forrester
075e5d7e2a Upgrade wikimedia/html-formatter from 2.0.0 to 2.0.1
Bug: T271575
Change-Id: I9c9a28b06733f58e8a83e37d5be65a6c6d5443e7
Depends-On: Ic708d409b145866cbfd85bc69f630eed491d7941
2021-01-22 11:21:52 -08:00
James D. Forrester
2e5d9de0a2 Upgrade wikimedia/remex-html from 2.2.0 to 2.2.1
Bug: T271575
Change-Id: Ib5dc2997df7122a5cc7467aaed34865c9e8ce8d7
Depends-On: Iecb20f126941e6d3b912aea54fba76e7bfe7ed03
2021-01-18 18:59:56 +00:00
Reedy
2463a95c3e Updating monolog/monolog (2.1.1 => 2.2.0)
https://github.com/Seldaek/monolog/releases/tag/2.2.0

https://github.com/Seldaek/monolog/compare/2.1.1...2.2.0

Bug: T242751
Change-Id: Id0476b855deeddcd5098ef0656c85447b903dc7d
Depends-On: I96281449ea91cdea6dff774f16733c46ddb4b241
2021-01-12 16:40:49 +00:00
Reedy
a46728e689 Updating monolog/monolog (2.0.2 => 2.1.1)
https://github.com/Seldaek/monolog/releases/tag/2.1.1
https://github.com/Seldaek/monolog/releases/tag/2.1.0

https://github.com/Seldaek/monolog/compare/2.0.2...2.1.1

Bug: T242751
Change-Id: I1da787ce96b54f0f6cd7a7996d130635e534b7df
Depends-On: I63814429de25a3c3108da904898357718dcb75a6
2021-01-12 02:40:28 +00:00
libraryupgrader
c08a03ee4f build: Updating npm dependencies
* ini: 1.3.5 → 1.3.8
  * https://npmjs.com/advisories/1589

Additional changes:
* Removed useless -p option to phpcbf in "composer fix" command.
* Set `root: true` in .eslintrc.json (T206485).

Change-Id: I0116578751fd73e43b07c2830adc629f4b85c784
2021-01-03 15:27:57 -08:00
Reedy
77f631ea5e composer.json: Add ext-libxml and ext-xmlreader to requires
Change-Id: I1c82ec4f2b521ff9dc2d4604cf1007847f32f7de
2020-12-27 22:01:02 +00:00
Daimona Eaytoy
059d471396 Fix 'composer phan' command
Use --long-progress-bar,  not -p, as the former is clearer, and also more suitable for CI logs.
It's also what LibUp would add.

Follow-Up: I119224c37a10d2a59068f899baffc6406ea60335
Bug: T253477
Change-Id: Ibd94fb14561e5abef55fdc0a288ace5d50447221
2020-12-23 16:46:59 +00:00
jenkins-bot
28f1c36c7e Merge "Upgrade doctrine/dbal from 2.10.4 to 3.0.0 for PHP 8.0 support" 2020-12-23 02:58:11 +00:00
Reedy
b16a862d43 Upgrade doctrine/dbal from 2.10.4 to 3.0.0 for PHP 8.0 support
Some irritating breaking changes, including dropping PHP 7.2 support
and renaming the classes we care about. For now, hack in via || and
some back-compatibility class aliases.

Bug: T270732
Change-Id: I685f099584d2f0e5fa17f1f4275eab5289c7bfee
2020-12-23 02:24:31 +00:00
Reedy
2ea470930a composer.json: Add a phan script command
Bug: T253477
Change-Id: I119224c37a10d2a59068f899baffc6406ea60335
2020-12-23 01:38:00 +00:00