Commit graph

2049 commits

Author SHA1 Message Date
Translation updater bot b76d90c430 Localisation updates from https://translatewiki.net.
Change-Id: I76c8fa325f12f35e61226f53302cae0826060634
2017-07-17 22:54:13 +02:00
Translation updater bot b4aabb8fe1 Localisation updates from https://translatewiki.net.
Change-Id: I5b72a8ae93ad669d94726edc5bfe7bb6ee76ff85
2017-07-14 22:41:40 +02:00
Prateek Saxena a66c36750c Replace TextInputWidget (multiline) with MultilineTextInputWidget
Bug: T170275
Change-Id: I88a4dabbd2894a9ddacc55e8fcdedb141480be2b
2017-07-12 13:58:35 +05:30
Translation updater bot 8db547d517 Localisation updates from https://translatewiki.net.
Change-Id: Ifb6a263d4d76bdc7390b7f3919e7e4bf377f6558
2017-07-05 22:33:25 +02:00
jenkins-bot 17485a4989 Merge "Replace all direct localStorage interaction by mw.storage" 2017-07-05 14:11:00 +00:00
Kunal Mehta b93cc63d3d build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I58b04790cb9cfeb2245069a4f035aed5a90a9615
2017-07-01 01:34:08 -07:00
Translation updater bot 946d0227d4 Localisation updates from https://translatewiki.net.
Change-Id: I0afe0b2329a4be9b93cfb990ec004a41b29f8655
2017-06-23 22:40:37 +02:00
Translation updater bot cd58b5d915 Localisation updates from https://translatewiki.net.
Change-Id: Iafcf0c8924dbfb5a9a97b4156189d362842eecd6
2017-06-21 22:48:38 +02:00
Translation updater bot 1e0874f364 Localisation updates from https://translatewiki.net.
Change-Id: I890ac62e2c1689f89097107ea4399763c5e54271
2017-06-20 22:51:11 +02:00
Kunal Mehta c0891f47f8 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.Commenting.FunctionComment.WrongStyle
* MediaWiki.FunctionComment.Missing.Public

Change-Id: Iab9881706ae88d106baefed1460ed5317eb8a6ae
2017-06-20 00:15:17 -07:00
Translation updater bot 2b53cfd7f9 Localisation updates from https://translatewiki.net.
Change-Id: Icb6f0f51a5e9077a1f1cc57a81eff9df25c9dd27
2017-06-16 22:46:28 +02:00
Translation updater bot 2ea11d4058 Localisation updates from https://translatewiki.net.
Change-Id: I67462e1b470cf8bd36acebaa7aea65f8e40fe314
2017-06-15 23:03:56 +02:00
Matthias Mullie 31c93b79fa Fix buttons fadeOut when coming back from fullscreen
Bug: T164410
Change-Id: I4275c15733b10cff68a20b19e5fb195a88fafebf
2017-06-07 17:09:01 +02:00
Amir Sarabadani a95c268dc3 Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: Ia3be42a28be6dfcf5e1a350a94a3fca6e30ccfad
2017-06-07 14:57:38 +04:30
Translation updater bot 9679bbb3bd Localisation updates from https://translatewiki.net.
Change-Id: I03760bebabab99b7f7b736f36ce6911f70936cd3
2017-06-05 23:06:12 +02:00
Translation updater bot 0efa823d97 Localisation updates from https://translatewiki.net.
Change-Id: I6ca30d55d46f5533fa32e50a83796e41ada6a9f0
2017-06-04 23:24:32 +02:00
Matthias Mullie 3e5ad4c83a Replace all direct localStorage interaction by mw.storage
Meanwhile I also updated a few places where a non-string was
passed to/expected from localStorage - this could’ve led to
inconsistencies because localStorage stringifies everything.

And I also removed CP.canSetMediaViewerEnabledOnClick, which
was no longer used anywhere except for a test case.

Bug: T137777
Change-Id: I21ad4ba15ca751bb03e5e2c523d09a45c0444ccf
2017-06-02 11:52:34 +02:00
Translation updater bot 0c5c77adb0 Localisation updates from https://translatewiki.net.
Change-Id: Ibd7f60819b48717574373665e2839f5f6740837c
2017-05-28 22:28:11 +02:00
Umherirrender 943a06e6be Add phpcs and make pass
Change-Id: Iae1194f930fe70ec82ac4ca9b96ac75416b8b904
2017-05-19 15:26:43 +02:00
jenkins-bot 8d07d09085 Merge "build: Update eslint to 0.4.0 and make a pass" 2017-05-18 15:54:09 +00:00
jenkins-bot 9959c80679 Merge "Code lint: Throw errors, no strings" 2017-05-18 15:52:11 +00:00
jenkins-bot 9fcda471fa Merge "Fix mmv.model.TaskQueue qunit tests" 2017-05-18 15:51:35 +00:00
Jforrester 1e8432d721 Merge "Fix mmv.lightboxInterface qunit tests" 2017-05-18 15:24:17 +00:00
Jforrester e952f6a9b4 Merge "Fix mmv.logging.DurationLogger qunit tests" 2017-05-18 15:24:03 +00:00
Jforrester d9d6f5f9fa Merge "Fix mmv.logging.PerformanceLogger qunit tests" 2017-05-18 15:23:43 +00:00
Jforrester f3a86c2008 Merge "Fix mmv.logging.ActionLogger qunit tests" 2017-05-18 15:23:22 +00:00
Jforrester 058106a86b Merge "Fix mmv.logging.ViewLogger qunit tests" 2017-05-18 15:22:43 +00:00
Jforrester da1e39d1d3 Merge "Fix mmv.model.TaskQueue qunit tests" 2017-05-18 15:22:30 +00:00
Jforrester 17b09b69f1 Merge "Fix mmw.ui.metadataPanel qunit tests" 2017-05-18 15:22:10 +00:00
Jforrester f8b2c8185f Merge "Fix mmv qunit tests" 2017-05-18 15:21:54 +00:00
Jforrester 6b523ee76e Merge "Fix mmv.bootstrap qunit tests" 2017-05-18 15:21:35 +00:00
Umherirrender 645748d0df Add php-parallel-lint
php-lint will test for valid php files

Change-Id: I6170eb1363dd16457b6d783b42e8822518c1bd44
2017-05-18 13:05:17 +02:00
Ed Sanders 2264e5fdec build: Update eslint to 0.4.0 and make a pass
Change-Id: I444cfd511121a0547901ed87c9aedd410e7920bd
2017-05-17 11:30:45 +01:00
Ed Sanders 9514e3107a Code lint: Throw errors, no strings
Change-Id: I4bb4de96a5e61b67b7a4c8f16a22f67f53cb034f
2017-05-17 11:28:53 +01:00
Matthias Mullie 19fdcc86f3 Fix mmv.model.TaskQueue qunit tests
Bug: T164473
Change-Id: Iaefae1d00a0469f11ddb3fcecb4f831346ac0eec
2017-05-17 11:53:34 +02:00
Matthias Mullie 4c3302d957 Fix mmv.lightboxInterface qunit tests
Bug: T164473
Change-Id: I5d2ddba1e1a5cb69de276d790841536fde77d108
2017-05-16 14:55:17 +00:00
Matthias Mullie 65c00b388c Fix mmv.logging.DurationLogger qunit tests
Bug: T164473
Change-Id: I9787948e26d27e8fcee934e05e2c200eeec5d82f
2017-05-16 14:55:05 +00:00
Matthias Mullie 5bc3a2d90e Fix mmv.logging.PerformanceLogger qunit tests
Bug: T164473
Change-Id: I6ae5c0170bf12fb076ddc505299ceeb7b9c292e8
2017-05-16 16:54:43 +02:00
Matthias Mullie 651476ccfb Fix mmv.logging.ActionLogger qunit tests
Bug: T164473
Change-Id: I41f207519e27f63338298f68411fc2eb3eb7f13a
2017-05-16 16:53:39 +02:00
Matthias Mullie 934ed2d2dd Fix mmv.logging.ViewLogger qunit tests
Bug: T164473
Change-Id: I11849743773e0382354009ccec1c8cb39c466aef
2017-05-16 14:52:49 +00:00
Matthias Mullie 47d67a6e66 Fix mmv.model.TaskQueue qunit tests
Bug: T164473
Change-Id: I849a81c02886c8f80f7bedef40f7a4504d3632f7
2017-05-16 14:52:38 +00:00
Matthias Mullie d96a587a38 Fix mmw.ui.metadataPanel qunit tests
Bug: T164473
Change-Id: Iefad324be86c59ac9bf44363bcbbb98a70769499
2017-05-16 14:52:25 +00:00
Matthias Mullie 93f1c9f79e Fix mmv qunit tests
This heavily relied on deferreds getting resolved synchroneously,
which (for .then) is no longer the case with jQuery 3.
There's also a difference in how chained .then's get resolved,
and $.when no longer propagates notify().

The changes in here are basically:
* fix use of $.when, manually passing along notify()
* use .then in some places, instead of .done, .fail, .progress
* fix progress bar hiding in setupProgressBar, which assumed sync
* fixed tests, mostly by using fake timers to give async stuff a
  chance to execute

Bug: T164473
Change-Id: Ib51ddd8bc6254a477861588fb16f57565353afe1
2017-05-16 16:51:52 +02:00
Matthias Mullie d204ecc99a Fix mmv.bootstrap qunit tests
This heavily relied on deferreds getting resolved synchroneously,
which (for .then) is no longer the case with jQuery 3.
There's also a difference in how chained .then's get resolved.

These tests did not wait for the deferreds to get resolved async,
so that had to change. Worse even: some functionality was tested
by assuming a handler would not be called (= the test in that
handler would not be called), which didn't make the test run,
because we never even waited for it to be called.

The changes in here are basically:
* make mmv.bootstrap.js correctly use .then instead of .done & fail
* let mmw.bootstrap.test.js tests wait for unresolved async promises
* check call counts instead of running tests inside of callbacks
* limit use of fake timer to the 1 test that needs it (it interferes
  with async, which otherwise don't get resolved)

Bug: T164473
Change-Id: I3ca4f786890ad1646f71fe336afdb61e5c3b01c7
2017-05-16 16:48:20 +02:00
Translation updater bot e87c489bba Localisation updates from https://translatewiki.net.
Change-Id: I6b9e7307ce8259059a698e6d1016f308cf321152
2017-05-12 23:04:37 +02:00
Translation updater bot b55457d5c6 Localisation updates from https://translatewiki.net.
Change-Id: Ie1b2889e874912198d243bd8cec787a7b8bb9986
2017-05-11 23:19:34 +02:00
Translation updater bot 7249237554 Localisation updates from https://translatewiki.net.
Change-Id: I672724674ceaefae843cd0e21269fc569cb2d432
2017-05-09 22:56:02 +02:00
Translation updater bot ba5ecf07fd Localisation updates from https://translatewiki.net.
Change-Id: I807e8251dc5e9f256e4397c54fd10a08c8fd474a
2017-05-07 23:06:18 +02:00
Translation updater bot 2a338ec7cd Localisation updates from https://translatewiki.net.
Change-Id: Ibb2f0386aeef035e0e4bb63e386103c5479c18bd
2017-05-04 22:55:21 +02:00
James D. Forrester 1f7d8ce518 Move default user preference setting to appropriate hook
Bug: T158346
Change-Id: I0edd6da3ba6c4c3f9d80bdba755658c828fee4a1
2017-05-03 17:37:16 +02:00