Commit graph

508 commits

Author SHA1 Message Date
Roan Kattouw
03f5f05c50 Add WVUI (0.1.0)
Adding WVUI Wikimedia Vue.js based user-interface library as external resource
in a security-reviewed pre-release. As currently needed for search widget
within Desktop Improvements project.

Bug: T271353
Change-Id: I91db16946e7ea46f69a6b57b116962f77ce3cd20
2021-02-11 17:36:15 -08: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
jdlrobson
9cc5339037 Catch malformed URI exceptions when decoding cookies
Bug: T271838
Change-Id: Ibb4c2a5b9281fb3d5fa2ad6045cf32c48d477236
2021-01-12 09:46:54 -08:00
Volker E
5a359ce3a2 OOUI: Backport I18799e54ef46232a54d36e86e2b3d08c3ee0a3d5
Bug: T269477
Change-Id: I468cf0bbee9de896e75a9a3e926d31a9f934e204
2020-12-10 12:59:33 -08:00
Volker E
75be22f77b Update OOUI to v0.41.0
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.41.0/History.md

Bug: T102364
Bug: T262549
Bug: T265915
Bug: T266223
Bug: T268139
Bug: T269167
Depends-On: I8a5ed202e90990b79e4a6f2371a438e7cc188178
Change-Id: I401d54c2e1d38bdc23f7f3140fc009cf99161dfe
2020-12-03 21:55:21 +00:00
jenkins-bot
e836dfa404 Merge "Support the WebRequest / WebResponse SameSite behavior on the JS side" 2020-11-10 03:08:10 +00:00
Gergő Tisza
22c0986019 Support the WebRequest / WebResponse SameSite behavior on the JS side
Provide the equivalent functionality of WebRequest::getCrossSiteCookie()
and the sameSite and sameSiteLegacy options in WebResponse::setCookie()
in mediawiki.cookie.

Bug: T257936
Change-Id: I88a970bb00c672a9c23569ec791be51d07cae59d
2020-10-19 06:50:29 +00:00
Volker E
b4edfa6d9b Update OOUI to v0.40.4
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.40.4/History.md

Bug: T47656
Bug: T150983
Bug: T251351
Bug: T259906
Bug: T263737
Depends-On: Icdfb86b95a1d88cf2c10bb783d2498142a610f4c
Change-Id: Ia23ac8c26877a34fa30735fe5fe4efe7ceb3cfa8
2020-10-07 23:06:39 +00:00
James D. Forrester
70f07bfd66 resources: Update jquery-client from 2.0.2 to 3.0.0
Bug: T262223
Change-Id: I29a1f086f0fbc93336965925244d9d9efa17513b
2020-09-09 19:48:44 +01:00
James D. Forrester
9cf6be92d8 Update OOUI to v0.40.3
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.40.3/History.md

Bug: T245824
Bug: T249167
Bug: T258337
Bug: T258428
Bug: T259551
Bug: T259906
Bug: T259912
Bug: T260519
Bug: T261314
Change-Id: I16b1b650eb87699a5a88bdbd9b7568a8654e1e3c
Depends-On: I8e133892dbb239b2aeb152a762c8bf301c8fe7b9
2020-09-09 11:54:55 +00:00
Volker E
b52ffa511f Update OOUI to v0.40.1
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.40.1/History.md

Bug: T258420
Bug: T258488
Bug: T259193
Bug: T259354
Depends-On: I0396514739d8b41931ded30cc303c4b56a78f269
Change-Id: I7cea19584091a629084d79b1ee877c4f16e58eac
2020-08-07 06:37:48 -07:00
Kunal Mehta
e9f4e775c8 resources: Add license information for promise-polyfill
Change-Id: I1730d44ffb88280a4297c2745a75b0e5ffcdaa41
2020-07-31 17:09:12 -07:00
jenkins-bot
df0c5f96ee Merge "OOUI: Backport I3d88853fdf9915d2b08063c80ecaf7d92828a5df" 2020-07-21 23:53:38 +00:00
Amir Sarabadani
5fb5dab231 Drop html5shiv
According to T248061 the basic support for IE8 is gone now meaning we
don't need to serve the snippet for html5shiv anymore.

Also dropping the html5shiv code.

Bug: T248061
Change-Id: I1a8dbd72ae68f518f52a76a80a3b54239720d20c
2020-07-21 11:11:08 +00:00
Bartosz Dziewoński
31e6f22652 OOUI: Backport I3d88853fdf9915d2b08063c80ecaf7d92828a5df
Bug: T258256
Change-Id: I77a195d2b786ede76359675817f5a1133ffd4c86
2020-07-20 22:02:55 +02:00
jenkins-bot
83dec4013b Merge "vue: Add unminified version of vue.common.prod.js" 2020-07-17 21:48:27 +00:00
Roan Kattouw
8dc729db49 vue: Add unminified version of vue.common.prod.js
Debian wants us to have unminified versions of any minified code we
release. Vue doesn't publish the unminified version of this file (and
vue.common.dev.js isn't the same, because it contains additional
debugging code), so I had to build it myself.

For more info and build instructions, see resources/lib/vue/BUILD.md

Bug: T257878
Change-Id: If075d0d60848f98dc9d53e2f0a1e2d9cc4c6e510
2020-07-17 13:28:13 -07:00
Volker E
9f79d7a4a3 Update OOUI to v0.39.3
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.39.3/History.md

Bug: T165650
Bug: T248206
Bug: T253399
Bug: T255325
Bug: T257165
Bug: T257167
Bug: T257385
Depends-On: I3908f91f5559a9a3c3382e20c5b28713dcc5223d
Change-Id: Icd1efba32cf01dd915fb15d59fbde5ee81b571c0
2020-07-10 09:29:03 +00:00
James D. Forrester
b78aa4e959 Update OOUI to v0.39.2
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.39.2/History.md

Bug: T214477
Bug: T254800
Bug: T255162
Bug: T255316
Change-Id: I6de36ca2ba279dc11d18bdff3c5d138444a13361
Depends-On: I21e2ac16e1a963042a6d5d0513f7f041332793da
2020-06-24 15:22:57 +01:00
James D. Forrester
ff4a77fd1a Update OOUI to v0.39.1
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.39.1/History.md

Bug: T53229
Bug: T249841
Bug: T252398
Bug: T253272
Bug: T253670
Bug: T254425
Change-Id: I2d7bcdf1131cd3d43fadfb2b89ed2c3aa6d1b91b
Depends-On: If90cdc13661ad58984bae740f129d17892ee3284
2020-06-04 14:43:17 -07:00
James D. Forrester
fac0033825 Update OOUI to v0.39.0
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.39.0/History.md

Bug: T164958
Bug: T251610
Change-Id: I9b1d97ee5ce3f15ead1bdc331c16f895d32e2fbd
Depends-On: I4078ade627689a9738e4efa5812227a042173c54
2020-05-19 14:42:15 -07:00
James D. Forrester
b33e5ffb32 resources: Upgrade oojs from v3.0.1 to v5.0.0
This is a no-op for MediaWiki; the breaking change is requiring jQuery 3.5.1,
up from jQuery 3.4.1.

Change-Id: I61715b023161ece5d4a86d4b1bb6786356a38712
2020-05-19 14:42:15 -07:00
jenkins-bot
2abff007c4 Merge "resources: Upgrade moment from 2.24.0 to 2.25.2; hook in gom-deva & zh-mo" 2020-05-13 10:48:30 +00:00
James D. Forrester
5ae0192d60 resources: Upgrade moment from 2.24.0 to 2.25.2; hook in gom-deva & zh-mo
We don't have en-IN, oc-LNC, or fil (Filipino) at all; we have tl-pl
already hooked up, but that should probably change to just tl.

Bug: T251696
Change-Id: Ic508615a270a90df4828f0946a06672da42f7ae9
2020-05-12 12:07:48 -07:00
James D. Forrester
9a868a0b99 resources: Upgrade qunit from 2.9.3 to 2.10.0
Change-Id: Ib0a0ab2465946fbedf120ebb506a038c526fc78e
2020-05-04 13:49:51 -07:00
Volker E
8588345dbd Update OOUI to v0.38.1
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.38.1/History.md

Bug: T208184
Bug: T244444
Bug: T246044
Bug: T248630
Depends-On: Iaf8fddc006d24e02e43f2634004a72b5948a8d2d
Change-Id: If005f4f71d043d70feab1dae6217fcf1dd2ab602
2020-05-01 14:13:24 -07:00
Timo Tijhof
567001e169 ooui: Fix ButtonWidget jsduck demo
* The button's icon was missing because at some point in the
  past two years, the CSS for this was moved out of the
  main theme CSS files and into its own 'images' theme file,
  which was not yet loaded.

  Fix this by adding a <link> element, and also add the file
  to the whitelist as it was previously also not comitted to
  the repo (because for MW, RL creates this directly based
  on the JSON).

  This aligns closer to VE's /lib/oojs-ui directory.

* Also fix the "require() undefined" warning, although it
  didn't break the demo below it, it is noise.
  This is because mediawiki.base was converted to a packageFiles
  module recently and it now assumes a require() function exists,
  similar to what startup/mediawiki.js would provide during
  debug mode. Mock that as well for consistency.

Bug: T168812
Change-Id: Ide9ef38c38782515becdae5fc40eac4ee9b384fc
2020-04-21 15:23:50 +00:00
James D. Forrester
5b3856e91b Update OOUI to v0.38.0
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.38.0/History.md

Bug: T178387
Bug: T232383
Bug: T248393
Bug: T249853
Change-Id: Iaddcb40869fdba31e3c489e260bee7002ee22cd9
Depends-On: I00c36baabfb781d81a9bfcc9db8f10699ea9749d
2020-04-14 18:33:34 -07:00
Roan Kattouw
b81827ec9f Add Vuex (v3.1.3)
Requires a wrapper file to make module.exports work, just like momentjs
does. Also call Vue.use( Vuex ) in the wrapper file.

Change-Id: I883d9531d13faa11bb630b27437bc6272d0bc134
2020-04-14 16:51:43 -07:00
James D. Forrester
269cbdbdd4 resources: Provide an ES6-style Promises library with a skip function
Using https://github.com/taylorhakes/promise-polyfill via a skipFunction.

Bug: T237688
Change-Id: Ib0ffb5d9821e7b734c3f7533cc99e5fdd2c8da3a
2020-04-14 16:51:43 -07:00
Volker E
827c92d2d0 Update OOUI to v0.37.1
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.37.1/History.md

Bug: T192588
Bug: T244444
Depends-On: Ie48d09aa12fabf52ced0dc514b0197a882164a18
Change-Id: Ie0d55ca69fce4f4e7f32718f1ceea99ae9b58d77
2020-03-25 20:40:10 -07:00
Thiemo Kreuz
7a4df9b019 Remove auto-generated and empty lines in comments
… and add the missing newline after the initial <?php.

Change-Id: I83bbbb1504e4b2bd97eec63c7626d34c655c3197
2020-03-17 09:55:24 +01:00
James D. Forrester
d6f2df383d Update OOUI to v0.37.0
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.37.0/History.md

Bug: T207369
Bug: T232383
Bug: T235585
Bug: T237230
Bug: T245073
Bug: T245576
Bug: T245760
Bug: T245793
Change-Id: I63186c4fe4a38f5d4094e4a2be8ea8c6a0963a65
Depends-On: I149a10c2b289ae3849dca884a8b4da716782b24a
2020-02-26 18:26:14 -08:00
James D. Forrester
2681a587ca Update oojs to v3.0.1
Release notes:
 https://gerrit.wikimedia.org/g/oojs/core/+/v3.0.1/History.md

Change-Id: I637f854e4022726ee2a24cd37a552764a03cea6e
2020-02-26 18:23:36 -08:00
James D. Forrester
59eda4e114 Update OOUI to v0.36.5
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.36.5/History.md

Bug: T244444
Change-Id: I9a98d5a6524ce779c504051fb4e3542642031c00
Depends-On: Ie891861eb982d9487bb064aa5fbe8a88088345ad
2020-02-12 09:53:47 -08:00
jenkins-bot
ad68acdcb1 Merge "Add Vue.js library (v2.6.11)" 2020-02-06 00:15:21 +00:00
James D. Forrester
240690638e Update OOUI to v0.36.4
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.36.4/History.md

Bug: T229435
Bug: T232003
Bug: T235939
Bug: T242092
Bug: T243643
Bug: T243791
Change-Id: I0c1f597a0dd90effdb0865932a4df91cf2b21219
Depends-On: I8a4f1f50cc70a7a65639d36bf1de987e752e5a62
2020-02-05 11:51:36 -08:00
jenkins-bot
0da73acefb Merge "Use faster pako library for deflating in the client" 2020-02-05 01:31:13 +00:00
Ed Sanders
f3baf07379 Use faster pako library for deflating in the client
The library is patched to remove the check for a global
`exports` varaible, so that it exports as a module
in ResourceLoader.

Bug: T236210
Change-Id: I6e9f06ea1214a8f4ded3235d7fda8234392ae98e
2020-02-03 17:05:57 -08:00
Roan Kattouw
4c221a1ea5 Add Vue.js library (v2.6.11)
Uses the development build of Vue in debug mode or when
$wgVueDevelopmentMode = true , and the production mode otherwise.

Change-Id: I2ab1f6364a302c0d1dbbd4c01967028c2e08082b
2020-02-03 16:42:37 -08:00
James D. Forrester
8c3f6440e4 build: Update qunit and all karma-related tools to latest
karma                   3.1.4  →  4.4.1
 karma-chrome-launcher   2.2.0  →  3.1.0
 karma-firefox-launcher  1.1.0  →  1.3.0
 karma-qunit             2.1.0  →  4.0.0
 qunit                   2.9.1  →  2.9.3

Bug: T222293
Change-Id: I76d9fe8b6b189a9a334411f3b62014c234002edc
2020-02-03 13:28:24 -08:00
James D. Forrester
d2801a9e6c Update OOUI to v0.36.3
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.36.3/History.md

Bug: T243075
Bug: T243077
Change-Id: I73c013ea3e339c1d0cf12715a6e07ec988eb03be
Depends-On: Id1e14a13f7ada107511d6f00e71ac5253fcc85ec
2020-01-23 16:15:04 -08:00
James D. Forrester
02f43f3081 Update OOUI to v0.36.2
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.36.2

Bug: T241708
Change-Id: I28c8df1d830961ddb4cb8119fc879b2bf440ddb7
Depends-On: I592a0889df5c0e00f7d3e5084d9c40df4064b9c1
2020-01-07 15:13:07 -08:00
Santhosh Thottingal
cd469e2050 resources: Upgrade jquery.i18n from 1.0.5 to 1.0.7
* Documentation, code linting updates
* Support loading combined message file from URL

Bug: T241639
Change-Id: Ife36d8392f92f48fa377bc0d672ce4636e19cfb9
2020-01-06 10:52:13 -08:00
James D. Forrester
1857bc297e Update OOUI to v0.36.1
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.36.1

Bug: T235578
Bug: T237460
Change-Id: I8fe3054a27c585af67ef76ee90a554f89f7a1ef7
Depends-On: I3e11c05e0ddc13e2757ec66a7ccf1fff197e2fdc
2019-12-11 16:40:32 -08:00
James D. Forrester
928fdd15ff resources: Upgrade jQuery Migrate from v3.0.1 (patched) to v3.1.0 (patched)
Bug: T233027
Change-Id: I19d6b3b3d0467d852a38b7eb16969432a20d3c67
2019-11-08 12:25:16 -05:00
James D. Forrester
c237f5b690 resources: Upgrade jQuery from v3.3.1 (patched) to v3.4.1
Bug: T233027
Change-Id: I64242e02219b99942a57aad04a64b1f6e6ad69f9
2019-11-08 16:44:55 +00:00
Volker E
111f17c5ac Update OOUI to v0.35.1
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.35.1

Depends-On: I54d9c886761d8db6cb521dfcf42eec4792fa25f1
Change-Id: If490242d4db2d9559bed6a104178e552f5caf0b6
2019-10-11 12:00:48 -07:00
Timo Tijhof
473e28e6e7 Remove unused 'easy-deflate.inflate' module
Introduced in 230e90b2af, but never used.
'easy-deflate.inflate' and 'easy-deflate.core' have no matches
anywhere in Codesearch, including all of Wikimedia Gerrit
and third-party hosted repos indexed there.

Bug: T235237
Bug: T233676
Change-Id: I8d9fdde7a37f7e2a2462785a1e0f359af08e262f
2019-10-11 02:00:56 +01:00
Volker E
22c37695ae Update OOUI to v0.34.1
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.34.1

Bug: T230694
Bug: T232211
Bug: T232514
Bug: T232537
Depends-On: I00c6ecd8666d565b66af3021ecf5f339288606fe
Change-Id: Ic9b7033e3f52f415ec8aec845a65a8452d0e5d8f
2019-09-10 22:15:37 -07:00