Commit graph

1194 commits

Author SHA1 Message Date
Gergő Tisza 392e714cc6 Add icon for PD licenses
Change-Id: I82c56a420d8d529a4a50cb66e64b191bbb36997f
2014-10-29 14:03:36 +01:00
jenkins-bot d096a73b36 Merge "Change above-the-fold layout - step 3" 2014-10-29 11:41:18 +00:00
Pau Giner cecf17319d Fix open panel detection when scrolling
With touch devices, scrolling may get negative values (e.g., when
scrolling beyond the page limits). That kind fo scroll was triggering
the aplication of the "panel-oppen" class producing unintended UI changes.
With this patchset the class is only applied when the panel is really opened.

Change-Id: I183d8c725373ab29802650b53e26fd4820dbf499
2014-10-29 12:21:31 +01:00
Gergő Tisza 8423974c6a Change above-the-fold layout - step 3
* make top of "below-the-fold" be actually above the fold
* put all above-the-fold content except title and more details button
  into that area
* kep below-the-fold area in fullscreen mode when title/credit gets untruncated
* increase title length to 180 (140 before reducing font size) - works nicely on
  my 1600x900 laptop
* remove old styles which were intended to make the button smaller when the
  panel is close but were mostly broken anyway and only caused the button to
  twitch

To avoid redoing all the size calculation logic, we cheat and use a negative
margin to pull the below-the-fold content above the fold.

Change-Id: I18d7bdb7dbbdfb8201c0d66257731febfac31263
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/833
2014-10-29 12:05:34 +01:00
Gergő Tisza f792a42f93 Change above-the-fold layout - step 2
* move license and terms link from title area to attribution area
* remove some ineffective styling for elements which have already been removed
  in earlier changes

Change-Id: I5bd41e337a4c8133bfa27e4c4d03162b2d6e35bb
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/833
2014-10-28 21:18:53 +00:00
jenkins-bot fb7a04f5a2 Merge "Change above-the-fold layout - step 1" 2014-10-28 21:18:48 +00:00
Gergő Tisza a6adad35ed Change above-the-fold layout - step 1
* remove chevron
* adjust colors

Change-Id: I443fd757f5df18d099e42a81f1f323fadea77987
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/833
2014-10-28 20:02:22 +00:00
jenkins-bot eb21f30631 Merge "Fetch image title from CommonsMetadata" 2014-10-28 19:18:00 +00:00
Translation updater bot 32a4d457b8 Localisation updates from https://translatewiki.net.
Change-Id: I6a8f9c9c69f92564b51887e26a0d6d64b92a8bbf
2014-10-28 15:17:37 +01:00
Gergő Tisza a44be28c4e Fetch image title from CommonsMetadata
Change-Id: Id7d256150aedb4351778f6ad60fd7d85399b58c5
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/589
2014-10-28 10:46:31 +00:00
Translation updater bot 7dd6979fe1 Localisation updates from https://translatewiki.net.
Change-Id: Ib8d30d7540d2136e4fbbf7e3678f489b6bb367c2
2014-10-27 20:14:48 +01:00
Pau Giner 4d415c330c Cog icon adjustment
Border was added for the cog icon so that it can be visible on white

Change-Id: I1bdd73e2e8be571d3d0e3ab49e5d005812e2d090
2014-10-27 17:34:09 +01:00
jenkins-bot 9e3f438654 Merge "Add about link to disable/enable dialog" 2014-10-27 03:08:28 +00:00
Translation updater bot dd08ca299b Localisation updates from https://translatewiki.net.
Change-Id: Icf4c27c662d040915a933e96e6a4433c6539e483
2014-10-26 21:10:19 +01:00
Translation updater bot de876dfbf8 Localisation updates from https://translatewiki.net.
Change-Id: I50fe1db5783cd16729dd4f6696e5dfe9d053228d
2014-10-25 22:47:59 +02:00
Translation updater bot 1722b576fe Localisation updates from https://translatewiki.net.
Change-Id: I90367a2ec168ebe113eb3df604c66cf778571c69
2014-10-24 22:21:02 +02:00
Mark Holmquist ff7a8b23c2 Add about link to disable/enable dialog
This was the last issue with the dialogs. Tests included.

Change-Id: Ic08af400893950a04489af4b166827d059561974
2014-10-24 13:51:32 -05:00
Translation updater bot efc40f3ac8 Localisation updates from https://translatewiki.net.
Change-Id: Ieacc22090e5652a614ccab6176adaa2f307195e4
2014-10-23 23:25:40 +02:00
jenkins-bot 5b4af66668 Merge "Fix issue with options dialog when media viewer has been reopened" 2014-10-23 14:58:54 +00:00
Gilles Dubuc 0d743977dd Fix issue with options dialog when media viewer has been reopened
- Fixes the bug where the options menu wouldn't open if media
viewer was reopened
- Adds human-readable console messages for the options actions
- Makes the tooltip a tipsy one like all the other buttons
- Fixes the tooltip copy, it was referring to "previews", which we
said we wouldn't do anymore, in favour of "Media Viewer"

Change-Id: I1590f9501cc6c406cc1f466b414062d4d6435c1b
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/963
2014-10-23 15:29:44 +02:00
Pau Giner cea4a105a9 Adjust style of the Disable panel
Spacing, color, and typography adjustments to the disable/enable panels

Change-Id: I86cfa04353fb500ebe027576a61301e8ef2f0f3b
2014-10-23 12:21:02 +00:00
Translation updater bot 8d1648f203 Localisation updates from https://translatewiki.net.
Change-Id: I25daeb459c7b40941974b9557c5b7df74f4bcf9f
2014-10-22 22:03:23 +02:00
Gergő Tisza 62133bab3c Update URLs of renamed pages
Change-Id: I6547855881a86616a9df52ad38e97136ee16eae0
2014-10-22 15:44:23 +00:00
Mark Holmquist a7693d2fcd Add new version of actionlogging schema
Adds in option dialog events.

Change-Id: I3e58fc86f00f276c3ff6c0efb8eb813f81d82198
2014-10-21 16:22:49 -05:00
Translation updater bot 83018b9e4f Localisation updates from https://translatewiki.net.
Change-Id: I5f928dde88132eb30e7482d49d22f8d20ddc84ea
2014-10-21 23:01:44 +02:00
jenkins-bot d5bd8d8eb1 Merge "Show popup when the user visits a file page the first time after disabling MMV" 2014-10-21 20:42:09 +00:00
jenkins-bot 4a5872fadd Merge "Show panel shadow on full-screen mode" 2014-10-21 19:31:26 +00:00
jenkins-bot 569423d187 Merge "Prepare repository for running RuboCop after every push to Gerrit" 2014-10-21 16:32:35 +00:00
jenkins-bot 9a511cb6fc Merge "Cog icon & mw.ui styling for expand button" 2014-10-21 16:02:50 +00:00
jenkins-bot a1f8d57648 Merge "Add tests for viewing options panel" 2014-10-21 15:41:47 +00:00
jenkins-bot 616c7bb369 Merge "Add viewing options panel" 2014-10-21 15:41:45 +00:00
Gergő Tisza 2c578e6dc3 Show popup when the user visits a file page the first time after disabling MMV
Change-Id: Id2b121c930115373a8a81dc1091c4124807db053
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/719
2014-10-21 14:28:20 +00:00
Željko Filipin eb7b5f9de2 Prepare repository for running RuboCop after every push to Gerrit
For now ignoring all problems.

Bug: 69245
Change-Id: Icebcad75b1d63efd7016b96a7ccdbe650f0c3894
2014-10-21 15:45:50 +02:00
Gilles Dubuc 90042a5a02 Cog icon & mw.ui styling for expand button
Includes some small refactoring of the bootstrap code to open
MediaViewer so it can be used in a more controller-like fashion, and
removing the .mw-mmv-filepage-menu class which was added in the parent
commit but had no effect since the module was not loaded by default.

Change-Id: I2e7405e694af96e8eca4fcc839b60306232ead01
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/719
2014-10-21 15:16:33 +02:00
Pau Giner 8f9b5924bf Show panel shadow on full-screen mode
On full-screen mode the panel appears on hover over the image.
This patchset applies the same shadow as when the panel is open to the full-screen panel.
This is done to communicate that the panel is ovelapping the image.

Change-Id: Ia76f2ace6a424bbd26d4d3d43ed213b98ec91006
2014-10-21 13:00:49 +02:00
Translation updater bot 99e1e96d52 Localisation updates from https://translatewiki.net.
Change-Id: I2b104b922bae5771c18ee23c488baf5f0ceb0b00
2014-10-19 22:08:25 +02:00
Mark Holmquist feb8e43571 Add tests for viewing options panel
Change-Id: Ic7a856ac4d94f4a65224f4c6373938da7b05f0fd
2014-10-19 00:35:36 +02:00
Mark Holmquist 1853540cd3 Add viewing options panel
Enable, disable, and get confirmations.

Lots of UI work on this one.

Change-Id: I1f731992bd240e7ea403592872f7c7e270158753
2014-10-19 00:27:15 +02:00
Translation updater bot 365bfc270f Localisation updates from https://translatewiki.net.
Change-Id: I5228b144c1c68564956fb07b61ffebdd21bc50eb
2014-10-17 21:16:42 +02:00
jenkins-bot 82831601b8 Merge "E2E tests for download menu" 2014-10-16 08:56:23 +00:00
Gilles Dubuc c4fd6c3740 E2E tests for download menu
Change-Id: I3435366133a9b5fd6079c3a5bad270ee19da8daf
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/445
2014-10-15 23:07:21 +02:00
Translation updater bot 0eead20a58 Localisation updates from https://translatewiki.net.
Change-Id: Ibe86cd5fe31bfad8c7ea702dde917fd1bc7e64ba
2014-10-15 22:07:17 +02:00
Reedy 8647d9b261 Fix file permissions
Bug: 71942
Change-Id: Icd64762906e1409354dcf9c40012b071ecd53f88
2014-10-14 18:17:07 +01:00
jenkins-bot f66f1810b9 Merge "Use EventLoggingRegisterSchemas hook" 2014-10-13 13:43:16 +00:00
Translation updater bot 9fcc51aeaa Localisation updates from https://translatewiki.net.
Change-Id: I5555913c54d58f05a4402fda9087e9c3e58e92d8
2014-10-12 22:18:06 +02:00
Kunal Mehta e57efd8ae6 Use EventLoggingRegisterSchemas hook
Change-Id: If4039e7412e7516f062089150d679d840d5bcbe3
2014-10-11 16:00:05 -07:00
Translation updater bot 9252353aa0 Localisation updates from https://translatewiki.net.
Change-Id: Iac0366a5b7ba97f405a0227ea3984006012e1ede
2014-10-10 22:00:09 +02:00
Translation updater bot 6005c26eb8 Localisation updates from https://translatewiki.net.
Change-Id: Iaf76e27e323d1d6d18c16d1b9c9f038409f3594e
2014-10-09 21:21:38 +02:00
Mark Holmquist c0d8dbcc9e Fix font size in MonoBook
Dunno why it uses x-small, but this fixes it.

Change-Id: I3217ac5279ea23cb5a0b2408a44422c081e11a5e
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/876
2014-10-08 14:49:38 -07:00
Translation updater bot 4eb19d2f40 Localisation updates from https://translatewiki.net.
Change-Id: Iaceadfa6dcbdc600d9093da16fd522ebdd07a2de
2014-10-07 21:01:01 +02:00