Commit graph

1400 commits

Author SHA1 Message Date
Gilles Dubuc 96d4e6a4f2 Differentiate placeholder and final image
Should fix intermittent issues happening with the browser tests,
which can't currently tell the difference between the placeholder
and the final image.

Bug: T90589
Change-Id: Ibfdff4721ce5f37831863110ad1a2f9650b24d5e
2015-03-18 09:41:48 +01:00
Translation updater bot d4f637dfd2 Localisation updates from https://translatewiki.net.
Change-Id: I6839f06430e74caca3e0962280a1069346d3529b
2015-03-16 21:58:35 +01:00
Translation updater bot ad898d57c1 Localisation updates from https://translatewiki.net.
Change-Id: Ibdf96716be6248b9916ec8f3594b9be7be68fc68
2015-03-15 21:51:03 +01:00
Translation updater bot ec6967c14c Localisation updates from https://translatewiki.net.
Change-Id: I991235b1a8ee22584e36d945a1247719f72e8fc3
2015-03-14 21:35:09 +01:00
Translation updater bot 86594a19c6 Localisation updates from https://translatewiki.net.
Change-Id: I3bfa7cda7e4076d2eea4916e2c7fbee832e34f6a
2015-03-13 22:35:00 +01:00
Translation updater bot 7845495fbc Localisation updates from https://translatewiki.net.
Change-Id: I6b6e79daf58d2d8605dc2ed668e05eeb1c5d61b1
2015-03-12 21:29:04 +01:00
jenkins-bot 0464c2b9e7 Merge "Record virtual image views" 2015-03-12 09:04:54 +00:00
Translation updater bot 40dc3b7258 Localisation updates from https://translatewiki.net.
Change-Id: I97083e5944913ab9e7849c374f3b0fe262a25cca
2015-03-10 22:35:23 +01:00
Translation updater bot bb0f7b483f Localisation updates from https://translatewiki.net.
Change-Id: I096025af8987d8b6f74a8a1a363238aa9a3950b3
2015-03-09 22:08:09 +01:00
Translation updater bot 6d51eefe39 Localisation updates from https://translatewiki.net.
Change-Id: Ic8893e8830240be556418275a3e0d8a3f2805941
2015-03-08 21:47:00 +01:00
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