Commit Graph

1340 Commits

Author SHA1 Message Date
jenkins-bot 35988f1aa8 Merge "Use page-object waiting API instead of Selenium waiting API" 2013-11-21 10:41:45 +00:00
Zeljko Filipin a0ab3a5526 Use page-object waiting API instead of Selenium waiting API
Fixes page-object deprecation warning.

More information:

http://watirwebdriver.com/waiting/
https://github.com/cheezy/page-object/wiki/Ajax-Calls

Change-Id: Ia18339e2fd6b23098b86dd96f3fa9c84f64c28c3
2013-11-21 11:25:24 +01:00
Runa Bhattacharjee 63d9fab772 Add request-bug and request-default fields for AbyssinicaSIL font.
Added the git and gerrit commit URLs for the addition of the AbyssinicaSIL font and it being set as the default font for Amharic (am), Geez (gez), Tigrinya (ti) and Tigre (tig).

Change-Id: I5463711cd672cf49d714fa9cf673eba15bd3ab63
2013-11-21 15:34:26 +05:30
Niklas Laxström ded20c61f2 Fix and enable feature Persistent settings
* Reuse existing steps where possible
* Rename steps file to match convention
* Moved unrelated steps to a new file
* Added wait for saving

https://mingle.corp.wikimedia.org/projects/internationalization/cards/3822

Bug: 56885
Change-Id: I480058430696579947187265b940ea46156f1519
2013-11-21 11:08:08 +02:00
Arrbee 6a7fe531d2 Merge "Add request-bug and request-default fields for Siyam Rupali." 2013-11-21 05:59:06 +00:00
jenkins-bot d48182a035 Merge "Do not strip hints from the WOFF format file too" 2013-11-20 08:52:41 +00:00
Kartik Mistry 6877554902 Add request-bug and request-default fields for Siyam Rupali.
Change-Id: If833fd5477bbba7767c7021853f813dd0b8b6e91
2013-11-19 18:12:41 +05:30
Santhosh Thottingal 328eb017c8 Json message loader clean up
* Rename JsonMessageLoader to ULSJsonMessageLoader
* Correct the return type of mw.uls.loadLocalization

Follow up: Ic39dec1c484982fb07edd167e83794c0b5f470ee

Change-Id: I13c64a5e89ac75be8a95d951658018a78534f466
2013-11-19 10:55:52 +00:00
Translation updater bot 8b95807054 Localisation updates from http://translatewiki.net.
Change-Id: Ieb2487d7bf423b726c934f13532663d6f60040a8
2013-11-18 20:40:29 +00:00
jenkins-bot bda50b7426 Merge "Remove unused method: hide" 2013-11-18 20:12:54 +00:00
jenkins-bot 5bf7ea41c2 Merge "Fix bug: Cannot apply changes after switching panels back and forth" 2013-11-18 20:11:47 +00:00
Santhosh Thottingal 8d9f1e97cd Remove unused method: hide
Change-Id: Iba2ca843db8f0edd7fd1826b998a73279e7c06fe
2013-11-18 20:09:42 +00:00
Santhosh Thottingal 09958fb0e5 Do not strip hints from the WOFF format file too
Update Autonym font from upstream
Version: 20131118

Change-Id: I4988d2dea5502b362236e9b09a008d70f80526f1
2013-11-18 12:13:05 +05:30
Santhosh Thottingal b04c11aec9 Sort the language code in alphabetic order
Follow up: Ide4379c01ec1666cc837e0418c1481e3ae599441

Change-Id: If58594ef1157e84dcf646ef14e5e09ad741c7efc
2013-11-17 07:36:37 +05:30
Santhosh Thottingal a2a53a4409 Update Autonym font to 20131116 version
Bug: 57135
Change-Id: I9dd113b4259e605f1257e7ae49da0e5423cfb441
2013-11-16 22:25:18 +05:30
Santhosh Thottingal 644f38d5f3 Add Polish also to OpenDyslexic font supported languages
Bug: 57136
Change-Id: Ide4379c01ec1666cc837e0418c1481e3ae599441
2013-11-16 18:15:54 +05:30
Santhosh Thottingal be99ff9a55 Fix bug: Cannot apply changes after switching panels back and forth
Bug: 57011
Change-Id: I0614d97dea99781f46bb80a496b12c95aef55c8c
2013-11-14 14:12:59 +00:00
jenkins-bot b2f9e4211e Merge "Updated Ruby gems" 2013-11-14 11:21:59 +00:00
Zeljko Filipin 4d49b1ca6c Updated Ruby gems
mediawiki-selenium 0.1.13 fixed failed test caused by browser size
being to small and ULS was not completely visible:

https://wmf.ci.cloudbees.com/view/r-uls/job/UniversalLanguageSelector-co
mmons.wikimedia.beta.wmflabs.org-linux-firefox/128/testReport/(root)/Tri
gger%20in%20personal%20toolbar/Open_language_selector_when_logged_in/

Change-Id: I1cf74effc7bccd3b4925f6d6263ab57471b167d7
2013-11-14 11:54:17 +01:00
Zeljko Filipin 06341f787f Refactored Autonym font feature
Removed old and ugly steps that are no longer used. Introduced one
small and beautiful step.

Fixes three failed Jenkins jobs:

https://wmf.ci.cloudbees.com/view/r-uls/job/UniversalLanguageSelector-co
mmons.wikimedia.beta.wmflabs.org-linux-firefox/128/testReport/(root)/Aut
onym%20font/

Change-Id: I68da4364592514d161996517875a06fd2942ff0f
2013-11-14 11:13:15 +01:00
Santhosh Thottingal cd6766da28 Add explicit mediawiki.util dependency to RL modules
Change-Id: I3f08b9cda83bd6c25c14c976d6c81e1e2d07ff5e
2013-11-13 12:57:39 +00:00
Santhosh Thottingal 6f113bdf19 Keep previous input settings if new language selected and cancelled
Bug: 56913
Change-Id: If25c0cc07ae233085d1b270f9a75a0002ffe1882
2013-11-13 12:44:58 +00:00
Santhosh Thottingal a1b8316ecc Remove the non-existing lazyload option for uls plugin
Change-Id: I1fac753c449b47de97eec244a8a53dbb8e77fc38
2013-11-13 12:43:38 +00:00
jenkins-bot fb2c99d30e Merge "Validate the dirty flag before saving preferences in each modules" 2013-11-13 12:40:48 +00:00
Santhosh Thottingal 8b3d27a505 Validate the dirty flag before saving preferences in each modules
Pressing apply button is applicable to all settings module, not only
for the one that is visible. Unless we do a validation before we save
preferences, other module can cause incorrect (old) preferences to be
saved.

Bug: 56885
Change-Id: I31df2ee0bf8b600a94e8fed1a784daf529186b16
2013-11-13 12:39:57 +00:00
jenkins-bot 767a6adb5a Merge "Refactor "Open language selector when logged in"" 2013-11-13 12:11:40 +00:00
Niklas Laxström f884356c15 Refactor "Edit area should use the fonts selected by the user from ULS for a language"
* Removed step which different only in case of one letter
* Removed quotes from few steps
* Fixed the scenario, but marked it as pending due to a bug

Change-Id: Iab160782e73071b543ef550dc7d86171e3636d23
2013-11-13 12:45:46 +02:00
Niklas Laxström cffbe79195 Refactor "Open language selector when logged in"
Removed tags @uls-in-sidebar-only and @uls-in-personal-only.
We will figure out a better solution.

Alterted the test so that it catches if the language selector is
not visible in the viewport to catch regressions like bug 56937.

Bug: 56937
Change-Id: Ie8a37bf4f38e9c82e0c14736f2bc29e8ec1331ff
2013-11-13 11:51:04 +02:00
jenkins-bot d19dc4fdc1 Merge "Use data-i18n for system font l10n" 2013-11-13 09:32:48 +00:00
Zfilipin 0994ae1d95 Merge "Refactored scenario: Edit area fonts should not change on UI language change if the user preferences for edit area font are set" 2013-11-13 09:12:58 +00:00
Niklas Laxström de4f78a6be Use data-i18n for system font l10n
This ensures that the translation is updated properly in the
language live preview.

Bug: 56888
Change-Id: I320c570f9272e8d191144f66a9cf0079c89d201d
2013-11-13 08:36:47 +00:00
jenkins-bot f677fa2ff5 Merge "Page scrolls when opening language selector" 2013-11-13 04:43:39 +00:00
Niklas Laxström 7822d5d03b Page scrolls when opening language selector
Was happening mostly on Firefox when ULS was in personal
position and you were logged out and allowed to change language.

Loading grid here already prevents graphical glitch and delaying
the click seems to prevent scrolling to wrong position.

Bug: 56937
Change-Id: Ie9acaa5a46fd903221d30c94dbc26a83355cdb64
2013-11-12 12:50:31 +00:00
jenkins-bot 4c6229e9ba Merge "Revert "Do not load jquery.jStorage for logged in users"" 2013-11-12 12:48:51 +00:00
Nikerabbit 2bc77f2c18 Revert "Do not load jquery.jStorage for logged in users"
This reverts commit 5884337c9f.

Change-Id: Icfdfd89059a417a6aaea30d12164e7174dd5f58b
2013-11-12 12:47:56 +00:00
Kartik Mistry aef4909616 Update Autonym font (20131112)
* Fix rendering of Telugu.

Bug: 56841
Change-Id: Ia43e404ed67346b65e9344c4fb7ae655ed303558
2013-11-12 16:30:26 +05:30
jenkins-bot 601ff3bc60 Merge "Do not load jquery.jStorage for logged in users" 2013-11-12 10:43:57 +00:00
Niklas Laxström 5884337c9f Do not load jquery.jStorage for logged in users
Change-Id: Ibe77962cecd6aa8504aa60d5d2b8d17a56e1319f
2013-11-12 10:40:59 +00:00
Translation updater bot 037984a67f Localisation updates from http://translatewiki.net.
Change-Id: I206fa486d412fdc649f1736ad203f8da999bae86
2013-11-11 20:20:04 +00:00
Amir E. Aharoni bb250efea1 Cleanup wgULSLanguages usage
Change-Id: I15cb10f97ed39b18fdfb1bc2ce51d02374fe9c43
2013-11-11 18:14:55 +02:00
jenkins-bot c804d0dcd9 Merge "ResourceLoaderULSModule::getModifiedTime updates continuously" 2013-11-11 11:12:17 +00:00
Niklas Laxström bd52ae0538 ResourceLoaderULSModule::getModifiedTime updates continuously
Fix is simple: cache the hash of content per language

Added PHPUnit test for the same

Bug: 56856
Change-Id: I590b27af220d6e790c70728062d1a04c098b3d11
2013-11-11 16:12:07 +05:30
Amir E. Aharoni 97c79ec668 Fix incorrect module name
Follow up to Ic33ef034c794a523b5403867196c6098a58eb5b1.

Change-Id: I15c9e58b24bf4f43ac58f065ed42614df59e638f
2013-11-11 12:39:20 +02:00
jenkins-bot 2f9bb2fcd5 Merge "Remove the dependency on uls.data" 2013-11-11 10:22:49 +00:00
Amir E. Aharoni b0d905a554 Refactored scenario: Edit area fonts should not change on UI language change if the user preferences for edit area font are set
Started in a pairing session Amir and Željko, ended in session Niklas and Željko.

Change-Id: I30ef2b41cfdceda04818f16f06e0071c487b90b6
2013-11-11 10:22:17 +00:00
jenkins-bot b98bea93ba Merge "Lazyload jquery.uls library" 2013-11-11 10:10:39 +00:00
Amir E. Aharoni b23f937cb7 Remove the dependency on uls.data
Change-Id: I9fa103ee7d338ed8ea2032c82249a47d022d2c90
2013-11-11 09:56:55 +00:00
Santhosh Thottingal f5ce066c80 Lazyload jquery.uls library
In the "interlanguage" position ULS is shown after 2 clicks,
so don't load it initially.

In the "personal" position ULS is shown immediately after
the language icon click, so load it, but conditionally.

The new RL module ext.uls.mediawiki is added for setting
jquery.uls defaults in a way that will lazy-load the language names.

Change-Id: Ic33ef034c794a523b5403867196c6098a58eb5b1
2013-11-11 14:13:02 +05:30
Santhosh Thottingal 6cd178359e Update jquery.ime to latest version
Version: v0.1.0+20131111
Changes:
* Optimizez icon images

Change-Id: I221c064c47cece276b8f9760fae7dce0e3bd4160
2013-11-11 11:14:38 +05:30
Kartik Mistry 8b0eeda699 Fix URL for Autonym font.
Change-Id: Ia7e87364a7498e396ce0363978860446a7f367f1
2013-11-11 10:10:45 +05:30