Commit graph

1676 commits

Author SHA1 Message Date
mhutti1 f937b1f20d Fixed viewer only displaying every nth image after reopening
Added code to detach emit calls when the interface is closed.

Bug: T122785
Change-Id: Ifd97aebe7aa01a152817100f301a80a9b6ac83a3
2016-01-07 22:50:19 +00:00
Translation updater bot ae0a1a8cc8 Localisation updates from https://translatewiki.net.
Change-Id: I22a835c5e719420b59cfc46781f1a37e4c49737e
2016-01-06 21:54:51 +01:00
Andrew H 6005b068bf Cache imageinfo query in MultimediaViewer
Bug: T117750
Change-Id: I5560e14b13968113e768bacce9972169f270e7bc
2016-01-06 04:37:53 +00:00
Translation updater bot db3685e956 Localisation updates from https://translatewiki.net.
Change-Id: I31278760d72f35d9c7b3df0440a0812cdc293191
2015-12-30 21:43:31 +01:00
Kunal Mehta d2003e4861 build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I3eb7ac596a7d23fcf4b69aa932ed30602aab788a
2015-12-29 11:41:52 -08:00
jenkins-bot 4d5de1a9fa Merge "Remove uploader's name from MediaViewer" 2015-12-29 17:18:12 +00:00
Julius Alphonso a9758d21e0 Remove uploader's name from MediaViewer
Only last uploader's name is shows, this turns out to be
more confusing than useful.

Bug: T59308
Change-Id: I7d06b72c581fe8738bffc64b5e36be9983b01ccf
2015-12-29 10:56:08 +05:30
Translation updater bot 8883f87691 Localisation updates from https://translatewiki.net.
Change-Id: I0741d2256702cfabd8ba60e0bbeaf284f6367746
2015-12-26 21:10:28 +01:00
Translation updater bot f897f2b0a2 Localisation updates from https://translatewiki.net.
Change-Id: Ib7b44bdf17a74e20c2efba09e6f0eb6600f4d2f7
2015-12-20 22:34:33 +01:00
Željko Filipin 0b8b4c4716 Upgrade to the latest version of mediawiki_selenium Ruby gem
The new version has support for all browsers known to men, and a few
more.

Bug: T114362
Change-Id: Ie4f762095f1060f8f078c718f679a7127ce89eb5
2015-12-15 15:52:06 +01:00
Translation updater bot c9be14593a Localisation updates from https://translatewiki.net.
Change-Id: I73298931019eba39312c6f4a254c5cd75f2d941b
2015-12-14 22:04:13 +01:00
Translation updater bot dfa3158a0d Localisation updates from https://translatewiki.net.
Change-Id: Id1943398add9ba37b37e6108c2eb31fa38f6cafd
2015-12-13 22:20:35 +01:00
Translation updater bot ec5cfad6f3 Localisation updates from https://translatewiki.net.
Change-Id: Ibaf562e0a3c41717a396cc1d24833b199667ee46
2015-12-10 22:56:42 +01:00
Željko Filipin c8237daa5b Fixed Style/StringLiterals RuboCop offense
See:
https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
Bug: T117984

Change-Id: I5388aa3f7c47b9667a03d905f6562dfe6939a70e
2015-12-09 17:21:54 +01:00
Željko Filipin 810506a063 Fixed Style/VariableName RuboCop offense
See:
https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-v
ars
Bug: T117984

Change-Id: I51b5ee142bc845b799b53e356a604aefb13d7f7d
2015-12-09 17:17:24 +01:00
Željko Filipin fba53b776c Fixed Style/TrailingBlankLines RuboCop offense
Change-Id: I7cbfd6d148982039c720fc4fb72e410372a0cbde
See: https://github.com/bbatsov/ruby-style-guide#newline-eof
Bug: T117984
2015-12-09 17:09:10 +01:00
Željko Filipin 346275f751 Fixed Style/Semicolon RuboCop offense
Change-Id: Ib01751f81e921beb3c7e157f9e8037859eb1b3f6
See: https://github.com/bbatsov/ruby-style-guide#no-semicolon
Bug: T117984
2015-12-09 17:08:01 +01:00
Željko Filipin 3bbd3fa72a Fixed Style/RegexpLiteral RuboCop offense
Change-Id: Ic42bb88931e8184bf43edd419d2a82cf36a95038
See: https://github.com/bbatsov/ruby-style-guide#percent-r
Bug: T117984
2015-12-09 17:06:51 +01:00
Željko Filipin 1b8964e86f Fixed Style/LeadingCommentSpace RuboCop offense
Change-Id: Id20fb9d5b9c0ca6a6c2c34812f4130d2c8fb0c93
See: https://github.com/bbatsov/ruby-style-guide#hash-space
Bug: T117984
2015-12-09 16:58:36 +01:00
Željko Filipin 9cf6ba3887 Fixed Lint/UnusedBlockArgument RuboCop offense
See https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars

Bug: T117984
Change-Id: Ie4e7204931f70e87303485176a40c68af3d1c31f
2015-12-09 16:54:58 +01:00
Željko Filipin e66875ef51 Updated RuboCop to the latest version
Regenerated TODO file and copied recommended configuration from

https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#Base_confi
guration

Bug: T117984
Change-Id: I28c98a93b9385dd81d62b11fbf11069fcdb2c06c
2015-12-09 16:10:56 +01:00
Tisza Gergő 6dddb2f7db Do not set up the overlay on irrelevant hash changes
On not-MMV -> not-MMV hash changes the bootstrap class has set
up and immediately torn down the overlay. Besides slowing things
down, this broke TOC navigation on Chrome in an ugly way.

Add a special case to skip the overlay loading when the new hash
does not contain #/media. This is a quick-and-dirty fix; the whole
loading and hash handling could use a rewrite.

Bug: T119854
Change-Id: I5494903dfe778e533773ff142fdf756475c2df32
2015-12-06 08:00:22 +00:00
Translation updater bot 216d62b2e7 Localisation updates from https://translatewiki.net.
Change-Id: I794b78a7383f09eb3669f7ad6256b993e25da492
2015-12-02 21:58:07 +01:00
Translation updater bot db100ff848 Localisation updates from https://translatewiki.net.
Change-Id: Ic15093a0e474cc035bee30e96c69fe2defc50a22
2015-11-26 22:02:30 +01:00
Željko Filipin 2c3ac55a67 Upgrade browser tests to the latest version of mediawiki_selenium Ruby gem
Bug: T99659
Change-Id: I57c9c73284ed856ee1d9a8f490cd511d07953f77
2015-11-25 17:25:58 +01:00
Ori Livneh 20a23ff4a4 Optimize SVGs
Done using svgo version 0.5.2, invoked with '--multipass' and
'--disable=removeXMLProcInst'.

Change-Id: I1abc7a798ef793536dc9262e40f164b2e77e4ea8
2015-11-23 21:13:45 -08:00
Translation updater bot 5aa2674ff4 Localisation updates from https://translatewiki.net.
Change-Id: I9203556c0dfd796a5fd97f1c8ec1911db36a2cab
2015-11-20 22:56:45 +01:00
Translation updater bot 2615b78821 Localisation updates from https://translatewiki.net.
Change-Id: Icc2c68c252530e5048ad21276e0faf6200f127b8
2015-11-19 21:38:17 +01:00
Translation updater bot 843100fb18 Localisation updates from https://translatewiki.net.
Change-Id: I5ebc27fd64df214f2ea157a6b4aefcfa7e3931e3
2015-11-15 22:18:59 +01:00
Translation updater bot e7177ec5d2 Localisation updates from https://translatewiki.net.
Change-Id: I166de55238fdf4ca50d5360996168318a4bf4c68
2015-11-12 23:00:08 +01:00
Translation updater bot 86cab62c6b Localisation updates from https://translatewiki.net.
Change-Id: I352a0a8c36a92e8b8140262553a912e10982e59b
2015-11-11 21:54:39 +01:00
Translation updater bot d2b7da4524 Localisation updates from https://translatewiki.net.
Change-Id: Ib6e372bf6e4d4686151604c7fca29460778cd5b9
2015-11-10 22:35:02 +01:00
Željko Filipin 706e3c74bc Added Rakefile
This is needed for our continuous integration.

Bug: T117993
Change-Id: I0e2b9b016a3680b56ec01d3b2ee8554bba1bc599
2015-11-09 17:55:49 +01:00
Translation updater bot e502bc871d Localisation updates from https://translatewiki.net.
Change-Id: Idca1f7d1fe982a2a409d1fe01e6e049bc20a9acc
2015-11-08 22:11:52 +01:00
Translation updater bot baa17139da Localisation updates from https://translatewiki.net.
Change-Id: I313a463b8d3aee6056a2fadc1042e8d95baa55bc
2015-11-06 22:26:50 +01:00
Translation updater bot d063892a4e Localisation updates from https://translatewiki.net.
Change-Id: Icd8e4705fe7ba9871424ac14a19486a08c2049f9
2015-11-04 21:21:13 +01:00
Translation updater bot 6f2def9db0 Localisation updates from https://translatewiki.net.
Change-Id: I1f74341bf935f70fe8c84be5c8c1ec39f5303d56
2015-11-03 21:51:38 +01:00
Translation updater bot 1551d893a2 Localisation updates from https://translatewiki.net.
Change-Id: I778227760382b182a8a80bfca27a6f2cbe294704
2015-11-02 22:37:39 +01:00
Translation updater bot e19b56d4a6 Localisation updates from https://translatewiki.net.
Change-Id: Ia366040ade5c6666edaf6dc9923414ca6ac49d49
2015-11-01 21:40:20 +01:00
Translation updater bot f823b38628 Localisation updates from https://translatewiki.net.
Change-Id: Ibab112ce18e4a9eb0240e0a9e2d02d1852348fa6
2015-10-30 21:49:19 +01:00
Translation updater bot 9c74a13c0e Localisation updates from https://translatewiki.net.
Change-Id: Ibda53ed00bc6d188a39677e0bbcc06541f06a2fb
2015-10-29 21:25:02 +01:00
jenkins-bot 96e96981be Merge "Improve the spelling of multimediaviewer-errorreport-privacywarning" 2015-10-28 23:46:37 +00:00
Translation updater bot c1f69de77e Localisation updates from https://translatewiki.net.
Change-Id: I7dce64385e54d3c4725f2239510ede5bb78cda12
2015-10-28 21:54:54 +01:00
Amir E. Aharoni 65540bea53 Improve the spelling of multimediaviewer-errorreport-privacywarning
Change-Id: I8cdb05d612ef0527471d092f73b8bc2fba4c8b65
2015-10-28 19:40:55 +02:00
jenkins-bot 99c8b89fac Merge "Add some error details to bug report" 2015-10-27 23:03:32 +00:00
Gergő Tisza 77bfbf61aa Add some error details to bug report
Bug: T111112
Change-Id: I1c3a31ddaefdfec0d86b80891671316741e53b0c
2015-10-26 17:12:34 -07:00
jenkins-bot 00ebd0542f Merge "Ignore case in file extension checks" 2015-10-26 23:37:51 +00:00
Translation updater bot e4da024b3f Localisation updates from https://translatewiki.net.
Change-Id: I34178420fa01066e63e706f4ca8dd2057f7e6a21
2015-10-26 21:04:02 +01:00
Gergő Tisza 056e339ac4 Ignore case in file extension checks
Bug: T115563
Change-Id: I27efb1a1c6510edc88357b69b1631cf55ca11539
2015-10-25 22:31:07 -07:00
Translation updater bot 3d96538664 Localisation updates from https://translatewiki.net.
Change-Id: I8c300264931eae63a171b18c1e5e51e57a2ce71f
2015-10-25 22:05:40 +01:00