Commit graph

201 commits

Author SHA1 Message Date
Bartosz Dziewoński
5d62627a21 Update OOjs UI to v0.11.0
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.11.0/History.md

Local changes to accommodate for font-size change.

This is a total hack. Sorry. I will get it killed.

Bug: T91152
Change-Id: Ie69d14b9094b8cbd4e051985ffd6aaac490be3a6
2015-04-29 18:53:56 -07:00
Timo Tijhof
acfa9695eb Update jQuery from v1.11.2 to v1.11.3
This release ships a hot-fix for a JIT bug in iOS 8.2 and 8.3.
This is the only change.

Source code
 https://code.jquery.com/jquery-1.11.3.js

Release notes
 http://blog.jquery.com/2015/04/28/jquery-1-11-3

Change-Id: I5f23b24ae4481749b32e469bb83663361f706e97
2015-04-29 16:29:35 +00:00
James D. Forrester
5c128481d6 Update OOjs to v1.1.7
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.7/History.md

Change-Id: Ie275172cc497dfba53bd5b405f9f1a4089c063eb
2015-04-28 18:25:09 -07:00
Bartosz Dziewoński
9e5c3e9521 Use ResourceLoaderImageModule to serve icons for OOjs UI
Benefits:
* Full per-language icons support. Icons that differ for each language
  (such as the 'Bold' icon) will now always display correctly
  according to user interface language, even on old browsers.
* MediaWiki UI icons support. When the 'mediawiki.ui.icon' module is
  loaded, you can use syntaxes such as below to display any OOUI icons
  (from the packs that were loaded) without involving OOUI itself.
    <div class="mw-ui-icon mw-ui-icon-before mw-ui-icon-check">OK</div>
    <div class="mw-ui-icon mw-ui-icon-after mw-ui-icon-check">OK</div>
    <div class="mw-ui-icon mw-ui-icon-element mw-ui-icon-check">OK</div>

Summary of changes:
* Resources.php:
  * Remove icons CSS files. Include image data JSON files instead.
  * Split the images from 'oojs-ui.styles' module to separate ones.
* OutputPage: Update enableOOUI() method for newly split modules.
* ResourceLoaderImageModule: Make it possible to load image data from
  a JSON file.
* update-oojs-ui.sh: Copy source files rather than distribution for
  icon packs.

This is not an improvement when it comes to code quality, though :(
Issues include some nasty code duplication, using "source code" (image
definitions) from OOUI rather than just distribution files, and hacky
methods to load image data from JSON files live.

Bug: T92551
Change-Id: Id369ecaec7048dcf68ba1e4df748362760533782
2015-04-28 13:48:30 +00:00
James D. Forrester
ab0fd51b1e Update OOjs UI to v0.10.1
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.10.1/History.md

Change-Id: If390a691c73491be4f080e70788b6b8b8f698be0
2015-04-27 10:24:13 -07:00
James D. Forrester
87619fe704 Update OOjs UI to v0.10.0
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.10.0/History.md

Change-Id: If8cd89dd0035fb570f69c56855c048612971ee91
2015-04-22 18:23:46 -07:00
Timo Tijhof
38e9c763f4 Update OOjs UI to v0.9.8
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.9.8/History.md

Change-Id: I369a24f74c455cd42571718a7b0078fd24c5f25e
2015-04-12 18:25:32 +01:00
Roan Kattouw
17f469814f Update OOjs UI to v0.9.7
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.9.7/History.md

Change-Id: I6548deccf1bce60873ed16229905cfa5790ec4a0
2015-04-03 15:06:31 -07:00
James D. Forrester
f77b9bcc2c Update OOjs UI to v0.9.4
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.9.4/History.md

Change-Id: I0ab9ef6d67e16379785e143cb20ae8de7fe78a7e
2015-03-25 15:27:02 -07:00
jdlrobson
7c52c9265b resourceloader: Add template compiler for Mustache JS
Compatible library for PHP backend added by I281acc49c1.
This adds the frontend compiler.

Change-Id: I2190276a629ca882f3f5535e4e73635d2494e944
2015-03-23 11:10:05 -07:00
James D. Forrester
0e6c8687dd Update OOjs UI to v0.9.3
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.9.3/History.md

Change-Id: Iab68173bddc023b874423ad87d1dd874925a227f
2015-03-19 16:21:21 -07:00
James D. Forrester
680c5738a5 Update OOjs to v1.1.6
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.6/History.md

Change-Id: I7c1299c8049983746158a05e47a13f1f4bf7032f
2015-03-18 18:47:15 -07:00
James D. Forrester
ac0ec426f2 Update OOjs UI to v0.9.2
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.9.2/History.md

Bypassing /vendor this time as no PHP changes.

Change-Id: I05830110d624bc1cd9a7c1244f3f0f34835326dd
2015-03-12 16:50:14 -07:00
James D. Forrester
d1b8defcbb Update OOjs UI to v0.9.1
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.9.1/History.md

Change-Id: I936ea56e1c99f576f44115a9b2fa075ef1ab14bd
2015-03-12 12:41:04 -07:00
James D. Forrester
97c4e93eef resources: Move to library version of jquery.client
The jQuery Client library is no longer mastered in MediaWiki, and is
instead a proper, published library, which is now tagged as v1.0.0.

Change-Id: Idd19d738b392a5f742fef6f98c885e8c391a5cbf
2015-03-11 16:47:16 -07:00
James D. Forrester
70b1fc1bc8 Update OOjs UI to v0.9.0
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.9.0/History.md

Change-Id: I73d20f6556558bd5675c11addfcd27d417173693
2015-03-04 16:49:38 -08:00
James D. Forrester
e5255674fb Update OOjs UI to v0.8.2
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.8.2/History.md

Change-Id: Ie6722b1aae1970d628a82c491c8d525768d01925
2015-02-27 13:09:43 -05:00
James D. Forrester
39db7e461b Update OOjs UI to v0.8.1
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.8.1/History.md

Change-Id: I5ad8d6aac0fb4ef146ef4f36459e4b0e398a66e8
2015-02-26 02:47:10 +00:00
James D. Forrester
e1f6c40c36 Update OOjs to v1.1.5
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.5/History.md

Change-Id: If43d0b4704f95abe4a0438a0d5b0756eb77cc95f
2015-02-25 17:59:43 -08:00
Bartosz Dziewoński
d91f3fbe61 Resources: Use OOjs UI distribution with vector→raster fallback
Bug: T87501
Change-Id: Iff139bf2601d517d91f922c033f1e3e793757943
2015-02-18 17:41:11 -08:00
James D. Forrester
d50f6c0e22 Update OOjs UI to v0.8.0
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.8.0/History.md

Change-Id: If14d382beae3f42d2ffb3a43ee0c3e2a488a5fa1
2015-02-18 17:39:13 -08:00
James D. Forrester
cc97bd4c32 Update OOjs UI to v0.7.0
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.7.0/History.md

Change-Id: I70c56ce5aa070d1a5e6f51f80fce7cd7750b3007
2015-02-11 16:08:17 -08:00
Timo Tijhof
77525e0483 Update QUnit from v1.16.0 to v1.17.1
* Code
  https://code.jquery.com/qunit/qunit-1.17.1.js
  https://code.jquery.com/qunit/qunit-1.17.1.css

* Changes
  https://github.com/jquery/qunit/blob/1.17.1/History.md

Change-Id: I8078f88dcb92ee4626de80a8f0fe6596b76affd1
2015-02-10 06:40:16 +00:00
Timo Tijhof
5f25ba11d5 resources: Move QUnit to resources/lib/qunitjs
This never belonged in resources/lib/jquery as it isn't a jQuery plugin.
It's its own package and library.

In fact, while it is a jQuery Foundation project, it does not even
depend on jQuery core (e.g. like Sizzle, and PEP).

Change-Id: Ibb00f47f4c9444870832ba8d327853f335708ae7
2015-02-10 06:38:24 +00:00
James D. Forrester
c0b0c8a03a Update OOjs UI to v0.6.6
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.6/History.md

Change-Id: I8e0ea18c23df5fe0530cc841799830c4f0082eff
2015-02-04 08:52:31 -08:00
James D. Forrester
fa81c6fc9b Update OOjs UI to v0.6.5
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.5/History.md

Change-Id: I1278a9d0f3b63977f293a79c73283593c65bf910
2015-02-01 19:30:33 -08:00
James D. Forrester
fc38b9b13a Update OOjs UI to v0.6.4
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.4/History.md

Change-Id: I75746e6f702e2108e5282f9a37827a1a533ab57a
2015-01-30 17:18:33 -08:00
James D. Forrester
3c56c66a1a Update OOjs to v1.1.4
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.4/History.md

Change-Id: Ib8736816e4e93306766c56cefee4b7d380944a99
2015-01-23 12:18:14 -08:00
James D. Forrester
e223e8a04e Update OOjs UI to v0.6.3
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.3/History.md

Change-Id: If0fc682b3a7f186d53ca70fdb66dded66a7f4814
2015-01-15 16:06:57 -08:00
James D. Forrester
a0f2cb4618 Update OOjs UI to v0.6.2
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.2/History.md

Change-Id: Ia694c95107e88dd21db358daf503875cb13c5059
2015-01-09 17:38:03 -08:00
paladox
f3f1498f80 Update Moment.js from 2.8.3 to 2.8.4
Project site
* http://momentjs.com
* https://github.com/moment/moment/

File source
* https://github.com/moment/moment/tree/2.8.4

Changelog
* https://github.com/moment/moment/blob/2.8.4/CHANGELOG.md

Difference between 2.8.3 and 2.8.4

2.8.4

Features

* #2000 Add LTS localised format that includes seconds
* #1960 added formatToken 'x' for unix offset in milliseconds #1938
* #1965 Support 24:00:00.000 to mean next day, at midnight.
* #2002 Accept 'date' key when creating moment with object
* #2009 Use native toISOString when we can

Bugfixes

* #2004 Fix makeAs to work with zoned moments
* #2001 moment.utc(string) falling back to Date works properly
* #1928 IE11 module == null
* #1952 New implementation of isBefore/isSame/isAfter
* #1992 Fix strict month parsing of abbreviated/full months
* #2003 Detect hours above 12 with h/hh tokens
* #1974 Locale export for meteor server environment
* #1925 Fix duration as getters (years and months convert to whole days)
* #2008 Fix endOf handling of no-arg and ms
* #2010 Update deprecation warning for moment().lang()

Locale improvements

* #2015 remove Uhr from german format
* #1933 improved russian lastWeek translations
* #2013 changed month abbreviations in russian
* #1971 Fix italian calendar time
* #1967 Fix catalan ordinals
* #1898 Bosnian translation of August
* #1771 Update greek seconds string
* #1961 Add a script to prepare moment for npm publish
* #2016 Fix long date format for Czech

Change-Id: I136a08194476ac01af7495c8f8e1e7ea1e140973
2015-01-09 19:49:46 +00:00
jenkins-bot
5fde727a92 Merge "jquery-ui: Remove dark color from links inside dialogs" 2015-01-07 18:41:21 +00:00
Bartosz Dziewoński
5e772e39dd jquery-ui: Remove dark color from links inside dialogs
Bug: T85857
Change-Id: I29aafd41ce142b05c1bd9aafb096f38273ca747e
2015-01-07 19:31:05 +01:00
Adrian Heine
edf91cda43 Update QUnit from v1.14.0 to v1.16.0
- Release notes
  https://github.com/jquery/qunit/blob/1.16.0/History.md

- Source of imported files
  https://code.jquery.com/qunit/qunit-1.16.0.js
  https://code.jquery.com/qunit/qunit-1.16.0.css

- Unit tests still pass.
  Tested on [[Special:JavaScriptTest/qunit]] with $wgEnableJavaScriptTest = true

Bug: T85994
Change-Id: Ic2d5e91d4f1e16a87618b18c3a83d31aaa0ab91c
2015-01-07 15:23:10 +00:00
James D. Forrester
f478a3602b Update OOjs UI to v0.6.1
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.1/History.md

Change-Id: Iafe5770c74b671dc04a92b9dfab6f121e7fe718d
2015-01-05 13:06:02 +00:00
paladox
d898e80fc5 Update jQuery from v1.11.1 to v1.11.2
Source

* https://code.jquery.com/jquery-1.11.2.js

Release notes

* http://blog.jquery.com/2014/12/18/jquery-1-11-2-and-2-1-3-released-safari-fail-safe-edition/

Change-Id: Ic972e272be9deea6b44b2375fa31ac128e452dac
2014-12-19 21:34:47 +00:00
James D. Forrester
c2301de42b maintenance: Don't copy the Apex styles when importing OOjs UI
Also remove the existing ones.

Change-Id: I60450f5ce3d8e5b1136f9ffa3557aaf3687ca814
2014-12-19 18:19:34 +00:00
James D. Forrester
26c8555f74 Update OOjs UI to v0.6.0
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.0/History.md

Change-Id: I0386c3f622355de2d5771427fbcaeedd6d3bff04
2014-12-16 13:29:32 -08:00
James D. Forrester
b08f91855a Update OOjs UI to v0.5.0
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.5.0/History.md

Change-Id: I8503e846b8d240facb7a579952104285d7f9a7fc
2014-12-12 12:25:30 -08:00
James D. Forrester
c4b9f22b65 Update OOjs UI to v0.4.0
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.4.0/History.md

Change-Id: I8c81656d4f95138d7c187e71e52ee60b669a46a5
2014-12-05 17:37:41 -08:00
James D. Forrester
c393f87470 Remove jQuery Migrate and $wgIncludejQueryMigrate
As indicated in MediaWiki 1.24, removing the jQuery Migrate bridging patch
that allows legacy Javascript code that depends ancient features of
jQuery removed in jQuery 1.9 to work.

Change-Id: I0934247182e2737716c9d40f4bf93415adcdadf3
2014-12-05 01:20:57 +00:00
James D. Forrester
b5c68dcf42 Update OOjs UI to v0.2.4
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.4/History.md

Change-Id: Ic1afd83022ad8e6eee0ca89d94f6df23ba938684
2014-12-02 11:04:30 -08:00
James D. Forrester
ffdd99bef1 Update OOjs UI to v0.2.3
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.3/History.md

Change-Id: Ia3d8a5a9df0efffd2b5cb1466e600cc0b77d7ef2
2014-11-26 15:41:49 -08:00
Timo Tijhof
d8516196cc Update OOjs UI to v0.2.2
Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.2/History.md

Change-Id: I889b41ca2cee87ab9aab373a11e64de9a536b095
2014-11-25 01:23:25 +00:00
James D. Forrester
05a7faeebb Update OOjs UI to v0.1.0-pre (9ed4cf2557)
New changes:
649a6c6 [BREAKING CHANGE] Allow options with similar data
afbedc7 Add a getMenu() getter to ComboBoxWidget

Change-Id: I23782a6e728951dab8cde3d28e30cfe0a2074b50
2014-11-21 17:21:28 -08:00
James D. Forrester
5c0fecfe55 Update OOjs UI to v0.1.0-pre (8f8896196f)
New changes:
56587a8 [BREAKING CHANGE] Rename InputWidget#sanitizeValue → #cleanUpValue
4253739 Implement radio button widgets

Change-Id: If10927a4e595de9b6d0ad45182470e84f335683c
2014-11-21 14:34:28 -08:00
James D. Forrester
f58cfa84a6 Update OOjs UI to v0.1.0-pre (23565e7519)
New changes:
0557719 Use README.md as doxygen main page
290f8a9 Remove accidental double try-catch from 76800b47
e7039d0 Revert "Revert "Show the modal overlay as soon as openWindow is called""
61ac646 Fix lots of spelling mistakes and typos
5b381ae build: Create a 'typos' task to detect common typos
f21c8eb FieldLayout: Only use <label> for InputWidgets
39e8522 Localisation updates from https://translatewiki.net.
16eb98d PHP: Reject malformed and potentially evil input when outputting HTML

Change-Id: Ie039a451cf03eaf21e16538cfca270b1d9b8f7f9
2014-11-21 14:18:41 -08:00
James D. Forrester
bb698dd1a0 Update OOjs UI to v0.1.0-pre (d4cfcce969)
New changes:
f6adfbc Give help content box a reasonable line height for legibility
af5d71c Remove CSS hack for positioning popupButtonWidget
c0768f9 PHP: Add missing OOUI\Exception class
76800b4 PHP: Wrap __toString() in try-catch to avoid unhelpful fatals
d399920 Revert "Followup ca6a16f: use parent selector both for hiding and showing windows"
234cd9f Revert "Show the modal overlay as soon as openWindow is called"

Change-Id: I317b4a747389de35411aca4ffdbbc2306b5b74cc
2014-11-20 16:13:21 -08:00
James D. Forrester
b43909be0e Update OOjs UI to v0.1.0-pre (20c61ec865)
New changes:
20c61ec Follow-up Id9597fde: Restore toolbar-bar class

Change-Id: Ia16292b3ee46f5b38ee216927a9796a8fdf9235d
2014-11-20 10:41:40 -08:00
James D. Forrester
ae8a44b536 Update OOjs UI to v0.1.0-pre (1fa4eb7a73)
New changes:
549ff9a [BREAKING CHANGE] Rename *Menu and *MenuItem widgets

Change-Id: Ifded7f9e17923dbb56a722b7424ccd2854194c21
2014-11-19 16:06:06 -08:00