Commit graph

1661 commits

Author SHA1 Message Date
jenkins-bot 7b1688a2af Merge "Highlight revisions from the same user" 2018-10-10 09:27:21 +00:00
jenkins-bot ed42723579 Merge "Add keyboard shortcuts to move between revisions" 2018-10-10 09:26:05 +00:00
srish 1675096c7b Add keyboard shortcuts to move between revisions
* Added `tabindex` on yellow and blue knobs to enable tabbing
* Used some of the logic of draggable functionality to support moving between revisions with keyboard shortcuts
* Also changed the source order of old and new pointer. Old pointer comes first in the DOM

Bug: T162119
Change-Id: I4d8db2352915c44aa11617edea5bcb0ac92ddc93
2018-10-05 17:38:40 -07:00
gopavasanth 154180ba52 Highlight revisions from the same user
Completed subtasks

* Added bubble in the Tootltip
* Added border on clicking or hovering the bubble
* Highlites Bubble on hover
* When Clicked or hover on the Bubble: Highlights
  revisions from the same user
* Added filter revisions.

Bug: T136105
Change-Id: I64cfef395ce1812d501980067edffe210fc99227
2018-10-05 19:12:44 +05:30
Translation updater bot 69e70e8db6 Localisation updates from https://translatewiki.net.
Change-Id: I9065afc6afadea34db95b432cedf537a7c43d364
2018-10-03 18:53:46 +02:00
Translation updater bot 88bdb03845 Localisation updates from https://translatewiki.net.
Change-Id: I252651b8015a4d7d9fe02146d149f43b0e496444
2018-09-22 10:03:56 +02:00
Translation updater bot ce20503df3 Localisation updates from https://translatewiki.net.
Change-Id: I21446c836583a6a28d317abbbe275be667ee8f4a
2018-09-20 09:59:25 +02:00
Ed Sanders 351bdcfae7 build: Update linters
Change-Id: If21c9dbeba945d54c6bcf9b6e4edd586c5b411ca
2018-09-13 21:58:39 +01:00
Translation updater bot 59885cab35 Localisation updates from https://translatewiki.net.
Change-Id: I5a7dadad214a4cdf33124eecc75b4a8f50c30c92
2018-09-13 10:16:00 +02:00
Translation updater bot b02ad54d26 Localisation updates from https://translatewiki.net.
Change-Id: Ic803c53d151d20757afd4b82e13e1c4d2fea8401
2018-09-12 09:19:10 +02:00
Translation updater bot c3ebaceaa7 Localisation updates from https://translatewiki.net.
Change-Id: If82ef358c469fd63c9a4117f326087c7e4ba3c74
2018-09-11 10:24:34 +02:00
jenkins-bot fdcf11a787 Merge "Rework and cleanup ext.RevisionSlider.DiffPage code" 2018-09-11 02:24:07 +00:00
Translation updater bot ba78921e90 Localisation updates from https://translatewiki.net.
Change-Id: Ibb394d84996cd1def44da26df80935a722a98866
2018-09-10 09:32:43 +02:00
Translation updater bot 85eafe05d3 Localisation updates from https://translatewiki.net.
Change-Id: I4da0c5d50d74805d6638252f0fbc28b0a6bcf606
2018-09-08 10:39:55 +02:00
libraryupgrader 62197efffd build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I0ce5a5d22b717f518b6d0e557fc34c800bf44750
2018-09-08 05:22:39 +00:00
Translation updater bot 4e8768b3ad Localisation updates from https://translatewiki.net.
Change-Id: Ia16c9720dacbf55def89863b08a5e7b5a2a9fe20
2018-09-06 09:02:10 +02:00
jenkins-bot 4a50097767 Merge "Show tags data on the tooltip in Revision Slider" 2018-09-04 14:39:36 +00:00
jenkins-bot cef99ee67e Merge "Run hook with actual (non-detached) content node" 2018-09-04 09:11:17 +00:00
Thiemo Kreuz 48396b78c7 Rework and cleanup ext.RevisionSlider.DiffPage code
This is a direct follow up to the change done in I885f8e7. I found the
code very hard to read after the change, and tried to rearrange it a
little bit. This is what I came up with. What the code does is entirely
untouched.

This also rearranges the replaceWith calls so the replacements are done
from top to bottom.

This patch also avoids calling mw.config.set multiple times.

Change-Id: I1cbce8e8aa030d6ba5cd7d19ab26fa363e13474b
2018-09-04 10:52:16 +02:00
Translation updater bot a3f2ff12e6 Localisation updates from https://translatewiki.net.
Change-Id: I9820d1226c8634a89b5e01549b348775a4711c96
2018-09-03 22:15:33 +02:00
libraryupgrader 0f594b2639 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I2aa31340786f55804b20ef01d024fdb2a3650e99
2018-09-03 14:30:41 +00:00
libraryupgrader 6e1728b5a6 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I3901eeeca6e0a1bf6185752b5072b5f859548646
2018-09-01 13:56:41 +00:00
Bartek Łukawski a7b966162e Run hook with actual (non-detached) content node
`$.fn.replaceWith` removes content from the DOM. Therefore, the
new content object was not being passed on by the hook.

Change-Id: I885f8e789b806a9ae09de1ed31a19a3f9db8144f
2018-08-30 15:08:51 +00:00
gopavasanth e4c31f762b Replace custom 'pin' by 'pushPin' icon
Modified CSS of the pushPin

Bug: T194613
Change-Id: Ifdaa2567c67a45fd44bea7cc4718f29c4e1a58fd
2018-08-30 20:31:04 +05:30
gopavasanth 548019e16d Added keypress() to mw-revslider-toggle-button
On tapping Enter or Space the Rev-Slider Opens

Bug: T199212
Change-Id: I08ab018c3e89d25ab8d4e72963e9cbd4971f7068
2018-08-29 16:07:18 +00:00
srish 6934b90d87 Show tags data on the tooltip in Revision Slider
Approach followed:
- Include tags as an additional parameter in rvprop field to fetch revision tags
- Use API Tags to fetch available change tags for a wiki along with their display names
- At the time of fetching revision data rebuild the revision list with tags containing display names
- Display tags one in each line on the tooltip

Bug: T180429
Change-Id: Ieba8b79ed408ff50b3f7d4bcfd7b2fa8cca83278
2018-08-28 23:22:12 -07:00
Translation updater bot bd4cc06f14 Localisation updates from https://translatewiki.net.
Change-Id: Ifaf990c213795b9b70766725f829def8bf160f47
2018-08-28 22:23:02 +02:00
libraryupgrader 697a4398fc build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I68345843e388e66782a9a77855a825db2b63b1ce
2018-08-19 15:55:48 +00:00
jenkins-bot 4fd82fde94 Merge "Replace loading bar of revision slider with three moving bubbles" 2018-08-14 11:49:25 +00:00
WMDE-Fisch af276e0f7f Re-enable testing bar clicking
Change-Id: I23f192cf47e2ff94521733f8b1b056152d5ad0fe
2018-08-14 11:25:40 +00:00
WMDE-Fisch b6195eba41 Update gems and Gemfile.lock
Change-Id: I225885392ff22fc6a3ac72cc036cbbd1548c4db3
2018-08-14 11:25:35 +00:00
srish dd4310aece Replace loading bar of revision slider with three moving bubbles
Using rawElement function to generate a new html element for loading spinner.
This replaces the progress bar widget.

Bug: T161640
Change-Id: I949bce945def25de561c0ae0df971c3f609586ce
2018-08-14 09:31:16 +00:00
WMDE-Fisch 187e1e5194 Stabilize ruby selenium browser tests
- added sleep to let scripts load
- changed cookie setting to use vanilla JS
- replace deprecated visible methods
- fixed element definitions
- fixed indentation
- removed unused code

Change-Id: I21047f7c529eee7e22f84fe1023c9e23b74cffa0
2018-08-14 07:52:22 +00:00
Translation updater bot 183c9fd27a Localisation updates from https://translatewiki.net.
Change-Id: I5742b0daf3d56b1092c8767ebeeb08f420377626
2018-08-10 22:18:55 +02:00
Translation updater bot be31c3474d Localisation updates from https://translatewiki.net.
Change-Id: I681e3ef9924b41d420528d871af6d2d43d1b7cc4
2018-08-06 22:22:32 +02:00
Thiemo Kreuz 2d5b40c40b Make use of JavaScript "in" feature instead of "undefined"
Change-Id: I914f7281101bc4873eff3574c884253775e9b4bb
2018-08-02 09:35:37 +02:00
jenkins-bot 91c157e0f4 Merge "RevisionSlider: Fix missing pin icon" 2018-07-30 13:02:36 +00:00
libraryupgrader 1cc328810d build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I9d25db9e8168d2a4354bba1cfc596051e008ef2e
2018-07-27 16:42:52 +00:00
gopavasanth c1fada0773 RevisionSlider: Fix missing pin icon
Added show() and hide() for mw-revslider-auto-expand-button in collapse and expand function.

Bug: T200263
Change-Id: Ic24a175dfe8d19853e32669f12b9f17e26730d6b
2018-07-24 18:46:22 +05:30
Translation updater bot 195458d368 Localisation updates from https://translatewiki.net.
Change-Id: I52671f1d694e0a422515193e4ef5cca598f74abd
2018-07-12 22:38:51 +02:00
jenkins-bot 4a6175b641 Merge "Limit fetchUserGenderData to maximum 50 users" 2018-07-04 11:54:33 +00:00
Thiemo Kreuz 3520a606c9 Limit fetchUserGenderData to maximum 50 users
The 50 is the default. The worst-case scenario here is that users
beyond this limit don't have a gender for a while, until the next call
to the same API endpoint fetches the next 50 users with an unknown
gender.

Doing multiple API calls in advance is not worth it, in my opinion.

Bug: T197858
Change-Id: I0fdcc7ea96a6a5ee3934600c6f0fdc65263276e8
2018-07-04 10:44:27 +00:00
Anmol Wassan 4ab8460fde Indicator flip issue on expand/collapse
The arrow in Revision Slider flips on expand and collapse which is not according to the standard of OOUI.

Bug: T198626
Change-Id: I4205a2260e8507a09f2950566e5033bd58a74345
2018-07-04 10:41:35 +00:00
jenkins-bot fecd8ca49f Merge "Use cookie to dismiss help dialog and fix failing browser tests" 2018-07-03 15:44:13 +00:00
Thiemo Kreuz 407c1de800 Use cookie to dismiss help dialog and fix failing browser tests
I have seen this failing:
https://integration.wikimedia.org/ci/job/mwext-mw-selenium-jessie/9255/console

The idea is to pre-set this cookie so the help dialog never shows up
in the first place. The tests do not need to look for the element, click
it, wait for the dialog to close. This should even speed up the browser
tests, I believe.

Also this adjustes waiting conditions in several places to address
timing issues with failing browser tests.

Since these tests should be replaced by Node.js on the long run I
added "sleep" in the cases although it's not recommended.

Change-Id: Ida381faa390aa62ebaadd3713864676be80abd51
2018-07-03 16:44:28 +02:00
Translation updater bot 2106e5188e Localisation updates from https://translatewiki.net.
Change-Id: I6a3c24cf51569d462b0b5f0637ca1c0ed7931af7
2018-06-29 22:27:33 +02:00
Translation updater bot 761530b847 Localisation updates from https://translatewiki.net.
Change-Id: I167ba9e07ad8ba0ef0646d857810bbae77eb2199
2018-06-28 22:21:36 +02:00
Translation updater bot 733e9eb3b9 Localisation updates from https://translatewiki.net.
Change-Id: Idf91e1ee03e7b6acac66c2400a5f43179101b1b0
2018-06-27 22:20:10 +02:00
Translation updater bot a5ddf57be2 Localisation updates from https://translatewiki.net.
Change-Id: I6fb65c921417ceb1be723546ec8d43217d0dfe0d
2018-06-26 22:13:52 +02:00
jenkins-bot 0fadc05265 Merge "Remove default "return true" from hook handlers" 2018-06-26 14:02:48 +00:00