Commit graph

1713 commits

Author SHA1 Message Date
Gergő Tisza 3c71b85c84 Filter HTML from some attributes
Bug: T138142
Change-Id: Ie5048b38ed397ce852d3f9145a63fe4f52930da9
2016-06-19 15:23:45 +00:00
Gergő Tisza dba273ac31 Add HtmlUtils.makeLinkText utility function
Change-Id: I2697c2d865dc8dd23883a59ca0c38229c2e7b6e9
2016-06-19 17:22:52 +02:00
Gergő Tisza 5c73b4a91e Get rid of version number
Remove useless and misleading version number. It was last updated
in 2013 or so, when MediaViewer was still a beta feature,
and ther was a year of intensive development after that.

Bug: T137477
Change-Id: I4a7cb40852ec55d26260febd446c3d0c4bce9e3f
2016-06-14 07:33:39 +00:00
Translation updater bot 7c0e18fef6 Localisation updates from https://translatewiki.net.
Change-Id: Ia2aec482175dd3d31c353c6ed67940024c0057f3
2016-06-13 22:58:16 +02:00
Translation updater bot 27dab4225e Localisation updates from https://translatewiki.net.
Change-Id: I44ec674610de0da6d98aeb8b9f50a82b1c77064f
2016-06-09 22:39:23 +02:00
Translation updater bot fa8c39eb5c Localisation updates from https://translatewiki.net.
Change-Id: I8dd48f5f516040dbdff7dd4c8f410d109759e496
2016-06-03 23:21:21 +02:00
Translation updater bot 4071aa4f17 Localisation updates from https://translatewiki.net.
Change-Id: I0754b30b8ac3504345a0c1f74903eb99a3de653f
2016-06-02 22:24:36 +02:00
Gergő Tisza f449dcfaaf Update mediawiki_api gem to 1.7.1
Required for selenium test compatibility with AuthManager

Bug: T135884
Change-Id: Ifdfc37c43acac9129cf839d4c7eecac24955997d
2016-05-26 12:36:56 +02:00
Volker E d947539f37 Fix obsolete constructive color on download button dropdown
Remove `constructive` extension of button and remove it with more
generalized `.mw-ui-progressive` class and rely on progressive color.
Also make use of central mediawiki.UI's variable.less file.

Bug: T136209
Change-Id: I22f365419c41dd888824dbfeb4b3c995713ac5a5
2016-05-25 13:33:28 -07:00
Translation updater bot 7bbaac9279 Localisation updates from https://translatewiki.net.
Change-Id: I437ffddcab47f962a958af3a0b374bde5b9ce1b3
2016-05-19 23:10:34 +02:00
jenkins-bot 5f5c3a1e22 Merge "Disable Cucumber feature that is broken in daily Jenkins jobs" 2016-05-16 23:35:09 +00:00
Translation updater bot 7b7177ef82 Localisation updates from https://translatewiki.net.
Change-Id: Icbf2ec2c75ab171ff51dca6222ca8067cc4a1e34
2016-05-16 22:44:02 +02:00
Željko Filipin 54aa54c15c Disable Cucumber feature that is broken in daily Jenkins jobs
Performance feature failed 8 times in a row for Chrome.

Bug: T94150
Change-Id: If459929a717a1e6d0da59a333a80ffc41592d282
2016-05-16 18:23:51 +02:00
jenkins-bot a0e97aab78 Merge "Make Media Viewer pluggable for the 3D extension" 2016-05-09 20:14:35 +00:00
jenkins-bot 60af38230e Merge "Add varnish4* EL fields to MultimediaViewerNetworkPerformance" 2016-05-05 23:52:33 +00:00
Željko Filipin 2eedcb4240 Do not run unstable tests daily
Bug: T128190
Change-Id: Ifc8b03b96b68c81183067cab2bedc56b599dfdf4
2016-05-05 12:50:45 +02:00
Gilles Dubuc 318347d621 Add varnish4* EL fields to MultimediaViewerNetworkPerformance
Bug: T134165
Change-Id: I193414f379d7ce0e981af176126f8223b162c145
2016-05-02 15:25:03 +02:00
Translation updater bot 7b2f2491e6 Localisation updates from https://translatewiki.net.
Change-Id: I84b2bf21da3106ee338bcbb9b2f0cfec364ec524
2016-05-01 23:18:42 +02:00
Željko Filipin afe0397991 Migration of browsertests* Jenkins jobs to selenium* jobs
selenium* jobs are a new way of running Ruby based Selenium tests. The
jobs are triggered daily.

Bug: T128190
Change-Id: If0e6b61c9e3d52005d1851ca49ef65babd002919
2016-04-25 19:15:12 +02:00
Gilles Dubuc 53a3d9a379 Make Media Viewer pluggable for the 3D extension
Some of the code encountered accessed mw.config directly,
I cleaned that up by migrating to mmv.Config, which is an
abstraction added to avoid peeking at mw.config directly.

Bug: T132064
Change-Id: I2a95ba703e6c7f46296f8e435bceec769dceebf9
2016-04-15 16:43:45 +02:00
jenkins-bot 5ecc69c3b9 Merge "Update gems to latest" 2016-04-14 20:09:26 +00:00
Gilles Dubuc e5bbaa19d1 Update gems to latest
The existing locked version of the selenium drivers stopped working
with the latest version of Firefox

Change-Id: Iff28cb1e3afe1966f8fd5ac0fda58d5a9718cb1b
2016-04-14 21:56:35 +02:00
Translation updater bot 9b8042c773 Localisation updates from https://translatewiki.net.
Change-Id: Ie6164be34e5ae8949222468b3c014a263e496503
2016-04-13 22:20:57 +02:00
Translation updater bot 4d0b78019a Localisation updates from https://translatewiki.net.
Change-Id: I59dc190e44755e65c846b5b1b209f9ab307a31cc
2016-04-12 22:54:40 +02:00
Translation updater bot dc9dc4144b Localisation updates from https://translatewiki.net.
Change-Id: I8106937048a4426c595100a864637daa81822501
2016-03-21 23:34:22 +01:00
Translation updater bot e16ca9ea02 Localisation updates from https://translatewiki.net.
Change-Id: Ic1127917df7a8c2010f2d881a8c18d49b3555716
2016-03-20 22:40:52 +01:00
jenkins-bot 9644aacefa Merge "docs: Use the standard way of generating documentation" 2016-03-18 21:38:58 +00:00
Translation updater bot 534373be54 Localisation updates from https://translatewiki.net.
Change-Id: I369f6e5fe2fdb4ba568dc0ccd4c91447632cc6b3
2016-03-15 23:02:48 +01:00
Prateek Saxena 8f1762a420 docs: Use the standard way of generating documentation
* Move the files from the docs directory
* Remove the generate script
* Add npm task

Change-Id: I2b404e132aab0be563c7abb9145ab607242c94cd
2016-03-11 16:13:50 +05:30
Antoine Musso 61fdd5e528 Browser test: update mw.org tag to use canonical URL
The browser test job uses 'www.mediawiki.org' to hit the API which is
then passed to cucumber for tag filter.

Update the scenario tag to match the canonical URL.

Bug: T128079
Change-Id: I68217b3e9867b768ccbba24bbffaa431c1c3035f
2016-03-10 10:18:13 +01:00
jenkins-bot a2bfdb264b Merge "Fix browsertests-MultimediaViewer-mediawiki.org-linux-firefox-sauce Jenkins job" 2016-03-07 15:20:15 +00:00
Željko Filipin 20e7873250 Fix browsertests-MultimediaViewer-mediawiki.org-linux-firefox-sauce Jenkins job
The job was failing with `301 Moved Permanently`. The problem was that
`mediawiki_url` was not `https` and was missing `www`.

Bug: T128079
Change-Id: I4f142c4ed17826b1e4051846395940e139e47689
2016-03-07 15:14:52 +00:00
Translation updater bot ac0825a495 Localisation updates from https://translatewiki.net.
Change-Id: I4a71535f52b05e9424c78a8ccad9ef983545f169
2016-03-05 22:58:35 +01:00
jenkins-bot e46338a4cd Merge "Trigger fullscreen-change event when closing lightbox interface" 2016-03-03 22:02:45 +00:00
Translation updater bot 157255c43e Localisation updates from https://translatewiki.net.
Change-Id: I11a357966204ac7600af39de6e026b004b23d378
2016-03-02 23:38:21 +01:00
Ramunas Geciauskas 454b279140 Trigger fullscreen-change event when closing lightbox interface
When exit button is clicked in the full screen mode, the lightboxinterface
detaches itself but the "jq-fullscreen-change.lip" even is never fired.
This leads to issues as described in T74843 and similar.

Bug: T74843
Change-Id: Id3a68844fd2405fcf289741d54b0602c8e337a3d
2016-03-01 19:47:35 -05:00
Timo Tijhof 55c7b2d5d5 Message 'multimediaviewer-description-page-popup-text-local' doesn't exist
Bug: T118820
Change-Id: I2909f18195bbaf6101019d731544d0b307a8dd44
2016-03-01 23:01:03 +00:00
Translation updater bot 777f74c97a Localisation updates from https://translatewiki.net.
Change-Id: I18e573848c0f2c296a9afd7043d4651156cada35
2016-03-01 21:58:36 +01:00
Translation updater bot 2e896c73b1 Localisation updates from https://translatewiki.net.
Change-Id: I5d4381b69c11deef89fd41ed96182dd5ae5d7583
2016-02-27 21:57:20 +01:00
jenkins-bot 66ff9e38f8 Merge "Do not run browser tests that fail with Internet Explorer 8 daily" 2016-02-26 23:05:25 +00:00
Translation updater bot 07679187ff Localisation updates from https://translatewiki.net.
Change-Id: I97dac8d2c97e897bdb21b286ded99a9ef84117fd
2016-02-25 22:19:45 +01:00
Željko Filipin aa0a725a0e Do not run browser tests that fail with Internet Explorer 8 daily
Bug: T128072
Change-Id: If3cc10004c9d3a9f93307dffb41e82f33853b5fd
2016-02-25 14:44:41 +01:00
Željko Filipin 13adb73273 Set a user-agent in browser tests
We used to rely on the env variable BROWSER_USERAGENT for tests
requiring a customer user agent. 2c3ac55a6 got rid of it in favor of
loading the :browser_useragent from environments.yml where it has not
been set. That in turns caused tests to fail with:

    "missing configuration for browser_useragent"

Set browser_useragent to 'test-user-agent' in the environments.yml

Also drop unused test2 env and add mediawiki-org

Bug: T128064
Change-Id: I720d590505dd5e30c6e9435de456563b8d36f9ea
2016-02-25 13:25:03 +01:00
Željko Filipin 66b0020525 Fix "undefined method test_name" error message in Selenium tests
`test_name` method was removed in mediawiki_selenium 1.6.0.

Bug: T125072
Change-Id: Iac7725b601e099a3567d4e3f4a8743babdadfee5
2016-02-24 15:53:22 +01:00
Translation updater bot 4f4eb372fe Localisation updates from https://translatewiki.net.
Change-Id: I7e30c3efed36eeecf6db43d29db1fb8349b265f1
2016-02-22 21:40:22 +01:00
Translation updater bot a48144399c Localisation updates from https://translatewiki.net.
Change-Id: I664522bdeb8e5bbfb24396bf0ac8fc2bc5bf081b
2016-02-21 22:27:44 +01:00
Translation updater bot 768f9cdecb Localisation updates from https://translatewiki.net.
Change-Id: I8c18c243997fef2dd5143236c140e3a2e73f4764
2016-02-20 22:23:39 +01:00
jenkins-bot 25164d5e62 Merge "Fix resourceloader message fetch warnings" 2016-02-20 18:50:23 +00:00
Timo Tijhof b493318125 Fix resourceloader message fetch warnings
Remove references to non-existing message keys.
Triggered on every startup module request:

> [resourceloader] WARNING:
> Failed to find multimediaviewer-option-header-viewer ({lang})

* multimediaviewer-option-header-viewer
  (listed in 1853540cd3, but never created)
* multimediaviewer-option-header-filepage
* multimediaviewer-option-desc-viewer
* multimediaviewer-option-desc-filepage
* multimediaviewer-license-cc-by-sa-3.0-migrated
  (CommonsMetaData has this aliased to "cc-by-sa-3.0")
* multimediaviewer-description-page-popup-text-local

Even if JS tries to use them, the messages do not exist. There
are no matches across all Wikimedia Git repositories for these
strings other than extension.json here (no i18n, JS or PHP files).

Bug: T118820
Change-Id: I3585f4862781799d9ba828bdc4170a68c6c36100
2016-02-20 13:42:38 +00:00
Translation updater bot ea8c238407 Localisation updates from https://translatewiki.net.
Change-Id: I61edeb024c22e46ee2128b634ec2e19b2f581575
2016-02-19 22:09:10 +01:00