Commit graph

2790 commits

Author SHA1 Message Date
Cmcmahon 85a976c890 QA: update ruby gems
Need selenium-webdriver 2.45 to work with recent versions of
Firefox

Change-Id: I5df1ff779696e34fd11629ab0508e345da40f301
2015-03-06 09:14:16 -07:00
Timo Tijhof 8cf1956520 Update JSDuck config to standard jsduck.json
Also
* This way we don't need to pass the --config=jsduck.config.json
  parameter but can run plain 'jsduck' in Jenkins. Allowing it
  to use the standard job template.
* Remove redundant wrapper. Pass directory in jsduck.json instead.
  And use warnings-exit-nonzero for exit code. Have to pass processes=0
  due to https://github.com/senchalabs/jsduck/issues/525.
  Keeping a back-compat wrapper for now to allow easy migration
  from Jenkins.
* Remove 'footer' override.
* Use standard ' - Documentation' suffix, which makes the first
  part of the title render in bold.

Change-Id: I6c9c7a1f29df0a72dc8cd0d37a83aaef23068062
2015-03-05 23:42:59 +01:00
Translation updater bot 93dc703724 Localisation updates from https://translatewiki.net.
Change-Id: Id9c52c019bc0d0d5aa8ada29c1c1a26f797d3b1e
2015-03-05 22:25:01 +01:00
Translation updater bot ce0290992b Localisation updates from https://translatewiki.net.
Change-Id: I505b05d5472b5d3ac8c626c29523b4c027b2ff36
2015-03-01 22:06:57 +01:00
Translation updater bot 40ff634c13 Localisation updates from https://translatewiki.net.
Change-Id: I0b4775af4161b148ffb3aa366de53456aae49991
2015-02-28 22:06:43 +01:00
jenkins-bot 6aa3dddf80 Merge "Workaround for Safari web driver" 2015-02-27 03:06:43 +00:00
jenkins-bot 9265bf2b4c Merge "Make media viewer use the same prefix as mobile" 2015-02-26 21:37:34 +00:00
Translation updater bot 35d4590979 Localisation updates from https://translatewiki.net.
Change-Id: I7bdb5f9e1aab376228408a04494e024acba3c06d
2015-02-25 22:55:43 +01:00
Gilles Dubuc 40c7284911 Make media viewer use the same prefix as mobile
Keep responding to the legacy prefix, since many links on the web
are referencing it.

Bug: T87769
Change-Id: I0936ada35141ddd85e0aa232b833d315e3246ce3
2015-02-25 21:22:05 +01:00
Translation updater bot 8745f37e28 Localisation updates from https://translatewiki.net.
Change-Id: Ie5091827e2dc82b3ab536b28e9decb21501772b2
2015-02-24 22:02:21 +01:00
Gilles Dubuc 7b897e9c07 Workaround for Safari web driver
It doesn't support mouse move, so let's do a plain click in that case

Bug: T89087
Change-Id: Idb89b72896d29772aff893c7cde92728450cc678
2015-02-23 18:59:05 +00:00
jenkins-bot 3c11306293 Merge "Fix IE crop/stretch problems" 2015-02-23 10:50:31 +00:00
jenkins-bot a6bc9e181f Merge "Make logging less noisy in debug mode" 2015-02-23 10:47:19 +00:00
jenkins-bot fcd2317bf4 Merge "Remove delay when logging link clicks" 2015-02-23 10:46:35 +00:00
jenkins-bot e10efb56ed Merge "Adjust Media Viewer download menu colors" 2015-02-23 10:30:09 +00:00
Gergő Tisza 274249a435 Fix IE crop/stretch problems
It seems that IE11 sometimes does not keep the aspect ratio when
the width DOM property is set but height is not.

Also attempt to clarify what the two similar canvas setters are
good for, to the extent I could figure it out.

Bug: T89679
Change-Id: I9c87e2146e3d99d1ee00d7c00142b2ae1c3d7951
2015-02-20 01:20:21 +00:00
Gergő Tisza c3c549f1b4 Make logging less noisy in debug mode
Suppress logger console output if the logger is disabled.

Change-Id: I5f45bb7fc68f33880f8a4d1737f0055335fe5071
2015-02-19 23:50:04 +00:00
Gergő Tisza 1d79a5c483 Remove delay when logging link clicks
EventLogging uses sendBeacon now so there is no danger of losing
clicks because the browser navigates away. (On modern browsers,
anyway; but we can live with being a little imprecise on older
browsers. We don't use link click stats much, anyway.)

Bug: T89533
Change-Id: Id83f60585d11f06610d8514c211f0116c60ea936
2015-02-19 23:36:53 +00:00
Gergő Tisza 3bb2b8185a Fix canvas height calculation
Canvas height is calculated as viewport height minus above-the-fold
height but the latter did not take into account the padding. This
was probably broken last autumn when the above-the-fold contents
were rearranged, but the max-height rule on the image masked the
error so we did not notice until that rule was dropped.

Bug: T89631
Change-Id: Id53cd9c176528da33b393e5ed807d6f2e0886413
2015-02-19 07:20:15 +00:00
Translation updater bot 6994fdfb4f Localisation updates from https://translatewiki.net.
Change-Id: Ic2575381f5803f4be386d38d2c76d0bacb0f8525
2015-02-18 22:05:35 +01:00
Gilles Dubuc 2b1c1b2260 Record virtual image views
Soft-depends on Ie20ed8fc7041e89510a6558d9e2647c67a0a4bbf

Bug: T89088
Change-Id: If1459bd9acde8b6e5040afbd89e2ceafc61dedc9
2015-02-16 18:06:08 +01:00
Gergő Tisza 194876ba58 Fix share tabs
The share/embed tab bar used some hacks to disable MenuSelectWidget's
normal behavior of disappearing once a selection has been made; after
the last OOUI update this doesn't work anymore.

This commit makes some small changes to make it work again:
* replace .show() with .toggle() as the widget uses a custom
  show/hide mechanism now
* reorder some calls - .toggle() has no effect as long as the menu has
  no options
* disable autoHide which would hide the menu when the user clicks
  outside (didn't test if it is really needed but seemed reasonable)

Also undoes some CSS changes that came with the update.

Bug: T89531
Change-Id: I3688ec21250bf2eb8dbfd67e306e857028d71fc7
2015-02-15 06:08:45 +00:00
Gergő Tisza 0fb10961ba Adjust Media Viewer download menu colors
Bug: T89520
Change-Id: I0c736868026fa1b241675058c9f7f1771d5689c5
2015-02-14 01:42:29 +00:00
jenkins-bot 4abcc2e13c Merge "Click in the top-left corner of the image when trying to close the download dialog" 2015-02-13 22:44:58 +00:00
Gilles Dubuc 1409475187 Adapt to OOUI change in dropdown widget
Bug: T89444
Change-Id: Ie65ad811296b5bce6c43f6c37a00f8d899418f8a
2015-02-13 15:20:59 -06:00
Gilles Dubuc 94ac32835d Click in the top-left corner of the image when trying to close the download dialog
This should fix the failures happening in IE.

Bug: T89087
Change-Id: Ia0128a9c85891e8f2d89098c898d5927f01fbedd
2015-02-13 12:21:56 +01:00
Translation updater bot b596fd3b8b Localisation updates from https://translatewiki.net.
Change-Id: If1e5ffc96233b7f0622c84dd54f148a503a6ad8a
2015-02-12 21:34:35 +01:00
Gilles Dubuc 8c37b7abb4 Wait for the download menu to appear before closing it
In practice doing this quickly still works, but the browser test in IE
catches the menu at exactly the wrong time (when it appears briefly
before disappearing).

Bug: T89087
Change-Id: I4076943bf33a566ec882f69d17f6a3a9f1a28002
2015-02-11 20:28:13 +01:00
Translation updater bot 520c23143c Localisation updates from https://translatewiki.net.
Change-Id: I4d64cce0b6d64bd34a0fe6ac2d685f9c3812c3bc
2015-02-08 21:49:03 +01:00
Pau Giner 361315b8af Icon updates
License icons have been updated for consistency with mobile media viewer.
File icon has been changed to match the former ones in color.

Change-Id: I8bc102755829b65ebace9608ca47a3bc2201da4a
2015-02-05 14:53:55 -08:00
Translation updater bot d63905a9dc Localisation updates from https://translatewiki.net.
Change-Id: I6f221e95b89d8df56b8ee692f566f6be3e5e0535
2015-02-03 22:55:39 +01:00
jenkins-bot 32de97910d Merge "Attempt to improve reliability of cucumber tests" 2015-01-30 00:30:36 +00:00
Translation updater bot 8803ff4ec2 Localisation updates from https://translatewiki.net.
Change-Id: I4d3b1d7c39792e5c07b497e2b3c4f5fe3fcb3ec9
2015-01-29 23:03:47 +01:00
Gilles Dubuc d638d9906c Record performance log hits regardless of ResourceTiming data contents
Bug: T87877
Change-Id: Ia196ef82004413144a9a256b73bd35aec8135760
2015-01-29 11:23:11 -08:00
Namit 7d22677ffd "View in browser" link limited to the text
Only the image and the text("View in browser") is now clickable.

Bug: T87427
Change-Id: I6650cf5a7b7cf2b8200087c7687495cdeaf0a3e1
2015-01-29 19:27:23 +05:30
Gilles Dubuc e3b222ffa2 Attempt to improve reliability of cucumber tests
Bug: T87831
Change-Id: I4c1049037f788630c84d4780309d683682fe756f
2015-01-28 16:46:27 -08:00
jenkins-bot 3d604b1297 Merge "Add 'license-name' matching SPDX conventions" 2015-01-28 21:59:43 +00:00
Translation updater bot 1f0b7ca5d2 Localisation updates from https://translatewiki.net.
Change-Id: I91a35792bc452887f66917b3c29f713e268a6ca7
2015-01-28 22:37:43 +01:00
Ricordisamoa 655922172c Add 'license-name' matching SPDX conventions
References:
http://spdx.org/licenses/
https://www.mediawiki.org/wiki/Manual:$wgExtensionCredits#license-name

Change-Id: Ifda5075a6c649852f2c769515229c80650454ead
2015-01-28 22:33:35 +01:00
Translation updater bot 2582cd8211 Localisation updates from https://translatewiki.net.
Change-Id: I4734ad525b617c0d1e302f95c5813cf352f68be4
2015-01-26 22:41:13 +01:00
Translation updater bot 346bcf4c8c Localisation updates from https://translatewiki.net.
Change-Id: I0a3fe56e76eb876572ef05e7f3dd5d7dc2e7c134
2015-01-25 21:48:48 +01:00
jenkins-bot a588751d6f Merge "Collect thumbnail width in the performance log" 2015-01-23 23:04:20 +00:00
Gilles Dubuc 8309d7ea88 Collect thumbnail width in the performance log
Bug: T86609
Change-Id: Ia0934cf76c323b9bcb2ee7b0ee8ee6ca2aefc600
2015-01-23 14:57:36 -08:00
jenkins-bot 6bde670acc Merge "Match size of preview and real image" 2015-01-23 22:16:58 +00:00
Translation updater bot 94ae57549e Localisation updates from https://translatewiki.net.
Change-Id: Iad093d8f8ef1eeb17d12280d9b2bd8c29c09e7bf
2015-01-23 22:28:18 +01:00
Divya adbf42280e Match size of preview and real image
Bug: T87295
Change-Id: I04746dcb80e571a624366b86fd5c5f4cbc31185b
2015-01-23 15:22:39 -05:00
Fomafix ae99be730e Apply coding conventions for JavaScript
Change-Id: I57a8f188eb1152438a8e94235a6f6801e2617c28
2015-01-23 12:48:27 +00:00
Translation updater bot 7a49167905 Localisation updates from https://translatewiki.net.
Change-Id: If079827fb1571e87709f61256ac02fd99482d09f
2015-01-22 23:22:11 +01:00
Divya 94b84fcd28 Removed the second scrollbar appeared while loading images
Bug: T77889
Change-Id: If2786401101b95caba52603389ec530cf48d6818
2015-01-20 01:43:26 -05:00
Translation updater bot 887050ea39 Localisation updates from https://translatewiki.net.
Change-Id: I849635e3c1eb809de909b44eb516b941538b8848
2015-01-19 22:04:03 +01:00