Commit graph

973 commits

Author SHA1 Message Date
Ed Sanders e62f46dd80 Remove obsolete aliases from closures
Bug: T208951
Change-Id: Icf10ea6bbc09542e69c0cd583a4ee4f2f76a3f43
2018-11-16 16:33:52 +00:00
libraryupgrader 090f96c12f build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: Ie96bb0e5d0f374893edc5a81c43ddf59c9470c80
2018-11-16 08:41:55 +00:00
Antoine Musso ed577b8e8b Update rubyzip gem
Due to potential security vulnerability, update rubyzip Gem from 1.2.1
to 1.2.2.

Bug: T204119
Change-Id: I0c14492e58b4b8294c77ba388f4237f43a2001ea
2018-11-14 11:19:17 +01:00
Thiemo Kreuz (WMDE) e227de5a48 Fix (accidentally?) reversed blue and yellow lines
This reverts parts of the patch I4d8db23 (T162119) that have
accidentally been done, as far as I can tell.

Note the revert in this patch here is untested and might partly break
the keyboard navigation feature introduced via T162119. However, I
strongly suggest to fix the bug T208238 first, and look back at
T162119 later, possibly via a newly created ticket.

Bug: T162119
Bug: T208238
Change-Id: I0c03e472b72ddd1414d3ca61970dba15158a8486
2018-11-13 14:43:23 +00:00
Translation updater bot 8c448282d9 Localisation updates from https://translatewiki.net.
Change-Id: If405b2be56e0c74911a93565dda8220d8fd0959b
2018-11-11 22:33:51 +01:00
Translation updater bot 363c04a7f9 Localisation updates from https://translatewiki.net.
Change-Id: Ia312074f95fa670fc82d44b4a4dfc18b88bcd65a
2018-11-05 22:24:42 +01:00
Translation updater bot b23c4f7897 Localisation updates from https://translatewiki.net.
Change-Id: I25a3a9014d48ab4ba9fb1c9fb2d1e190ee01c132
2018-11-04 22:42:37 +01:00
WMDE-Fisch 8bc0402eee Merge "Fix icon position of arrow buttons" 2018-10-29 06:08:53 +00:00
Translation updater bot d9f5d5fca8 Localisation updates from https://translatewiki.net.
Change-Id: I690bb024db5a1aee8c1adfe4fb592da483a45fce
2018-10-25 22:39:01 +02:00
Volker E f1cea8c889 Fix icon position of arrow buttons
Also
- fix arrow width to one size of `20px` and
- make use of `.box-sizing` mixin in one occurrence.

Bug: T207905
Depends-on: I09aea78f8ebde37cf4f7de9bf0e14894c76ee722
Change-Id: Ibf4a6c8b77877a34668e91b0f5cf6c11a23e9f88
2018-10-25 09:47:20 -07:00
Thiemo Kreuz 7eb5a10ce6 Fix capitalization of Html::element() call
Change-Id: I272901367c7ba4a12406c9f8ec7fa444f3889c0c
2018-10-24 11:40:36 +02:00
Volker E 618850af6e Replace 'help' by 'helpNotice' icon
A free-standing, frameless button like this is better off with an
icon like 'helpNotice', part of OOUI since v0.28.2. It is a step
back to the original help icon appearance, the new one is still
available for example to use on toolbars.

Bug: T206753
Change-Id: I3d4102de2209e94fa732c1d1962c757fb7bca331
2018-10-11 10:50:56 +00:00
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