Commit graph

1639 commits

Author SHA1 Message Date
James D. Forrester 017374146f build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: Ia810a412f8380e2cd84165dc650c261b0f19cf06
2019-07-09 14:16:13 -07:00
WMDE-Fisch 974af21c23 build: add package-lock file
Bug: T179229
Change-Id: Ida8f0e3b27ddef7252f94438016868012b1469e3
2019-07-03 12:14:18 +02:00
WMDE-Fisch a4df17a922 build: Upgrade stylelint-config-wikimedia from 0.5.0 to 0.6.0 and make pass
Change-Id: I1db434584d6927cf0322fdbd6253ebb1846537c0
2019-07-03 12:14:05 +02:00
Translation updater bot 9041e3bc7b Localisation updates from https://translatewiki.net.
Change-Id: I628a2f07e4ae56cd1dc8ef9db31a1076b430763e
2019-06-24 08:39:42 +02:00
libraryupgrader 74401f52d1 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I886f10fcc9dad873dd9f60d56239b9a73bb5402c
2019-06-10 10:33:45 +00:00
jenkins-bot 632a6241a3 Merge "Apply user highlighting for all revisions in DOM" 2019-06-04 09:42:21 +00:00
WMDE-Fisch 1005daa567 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: Ia73f0db8866bbe3c6583e93262d9f2c27a015887
2019-06-04 09:06:35 +02:00
Translation updater bot 1d7317a3e7 Localisation updates from https://translatewiki.net.
Change-Id: I9e052603146da5a04480b0533c8631decfe3648d
2019-05-26 22:23:30 +02:00
Translation updater bot 682448059c Localisation updates from https://translatewiki.net.
Change-Id: I9dc3662e128ec7cd901b039bb7feddb2d6c5086e
2019-05-22 22:31:56 +02:00
Translation updater bot 86e2c90661 Localisation updates from https://translatewiki.net.
Change-Id: Ie0cc7989165190529dbf650d45bc0cb10ec70388
2019-05-20 22:30:32 +02:00
James D. Forrester 0d1334c790 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I110a017902e82032c2a430b2c6e827b5d44da297
2019-05-19 13:29:28 +02:00
WMDE-Fisch 7c47e6e981 Apply user highlighting for all revisions in DOM
This only solves part of the issue. Highlighting is applied for more
elements since they are retrieved from the DOM. The problem still exists
since highlighting depends on the RevisionList chunk on which is it applied.

To fix the issue completely highlighing should be managed somehow globally
on the global list.

Bug: T207781
Change-Id: Idda930f3d0dd64e767c68dade2ca8759bc636898
2019-05-19 11:27:59 +02:00
Translation updater bot ce3ddf2c33 Localisation updates from https://translatewiki.net.
Change-Id: I1a1a720c546eadbed4d502a9d0d6205a7d37c843
2019-05-16 09:10:25 +02:00
Translation updater bot d8fc54fadf Localisation updates from https://translatewiki.net.
Change-Id: Ia94f50c81b77328f8ccc4c70cd3badca51b4e32f
2019-05-13 23:22:32 +02:00
WMDE-Fisch 9e73c7d2c1 Fix re-highlighting of revisions
This was broken for obvious reasons. Also adding a test.

Change-Id: Ib6e8988884ff84472928758d4112574e17fa48be
2019-04-25 11:15:14 +02:00
Translation updater bot 9b9ceb27e4 Localisation updates from https://translatewiki.net.
Change-Id: I89342e83b33a6f500a61bb7a524842304d37c22d
2019-04-14 22:30:31 +02:00
WMDE-Fisch 98c33c4731 Extract reapplication of saved filter state
Change-Id: If770e0cb52034a5f52bc8bb3639c9dccdf64b683
2019-04-12 19:15:18 +00:00
WMDE-Fisch d4a3ec243e Use switch statement for filter events
Change-Id: I0f564e33744d3806682534267c4b922edd5e9b3c
2019-04-12 19:15:12 +00:00
WMDE-Fisch bd38ccaf98 Early exit filter events
Change-Id: I72fd4a1496f6c0247a9166ba54ce3de2918bc310
2019-04-12 19:15:05 +00:00
WMDE-Fisch 32cf219c4e Extract code that resets/removes highlighting
The next iterration on avoiding code duplication. I
still stuggle a bit merging these methods in a sane
way.

Change-Id: I8d95acc06da7f83a6133e55becabdf03b26a97af
2019-04-12 19:13:20 +00:00
WMDE-Fisch a49cb0c466 General code reduction in the highlight event handlers
- make use of toggelCSS()
- use more general jQuery selectors ro reset the line and bubble highlight
- get rid of ~= when selecting revision ids

Change-Id: I123e263bb379107a561fe8a2ffed476da9032b88
2019-04-12 19:12:44 +00:00
WMDE-Fisch f4c64b744e Put event setup for user line highlighting in own method
This is mainly a copy of what's done for the tag lines to set the events.
In the next steps I'll try to avoid code duplication here be extracting
common code.

Change-Id: I29df109de30c538cc206d445abff8464baf45378
2019-04-12 19:09:50 +00:00
WMDE-Fisch 1a18ab3d38 Add a few more selenium tests for the filter options
Change-Id: I7bb14987e2f2ef452953fb2b71aae7f697a4d820
2019-04-12 11:08:49 +02:00
Translation updater bot 9993e07546 Localisation updates from https://translatewiki.net.
Change-Id: Iec18f4d7acc5bad6e249f3db19386125acc8f399
2019-04-12 08:32:28 +02:00
jenkins-bot 6f667e6143 Merge "Add node selenium tests for revision highlight feature" 2019-04-11 16:29:23 +00:00
WMDE-Fisch a2ca2c031e Add node selenium tests for revision highlight feature
The patch adds a first package of node selenium tests including
test for the user and tag filters.

The classes for user- and tag-rows were re-added to have better
access via selectors.

Change-Id: I8c53d9c923820e177d83ee900cee08e93cd3f65b
2019-04-11 17:58:53 +02:00
Translation updater bot b3d1adfd97 Localisation updates from https://translatewiki.net.
Change-Id: Ib077127973f1352260ffd8314bc87ea855a1ff4c
2019-04-04 14:54:39 +02:00
James D. Forrester 153ecb8990 build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
Change-Id: I5a5aede4114b0e6d370904a08f10b327b4968a2d
2019-04-04 00:56:01 +00:00
WMDE-Fisch 6ddf000c0e Slighlty improve filter highlight UI
- move border to right so when the text starts there's a straight line
- increase right margin to fit mock
- adjust border radius so it's most probably always more than the line height

Bug: T218770
Change-Id: I76a2f096d14bf4d912686a71e5771ead1c7db3e6
2019-04-03 10:54:49 +02:00
WMDE-Fisch a96b079e8f Unify highlighting CSS classes
Change-Id: Iceb094075d1fb1bd4aca53c120dbc3c6ccd39eb6
2019-03-25 17:30:47 +01:00
WMDE-Fisch 55c558169b Retrieve revision list in highlighting method
This moves the retrieval of the revisions into the method setting the
highlighting. The check for undefined did not to much since the rev
var would still remain undefined.

Change-Id: I1acf540f135af4c16fb80d633b3690473ada7833
2019-03-25 17:21:03 +01:00
srish 6ee7f910b7 Add filters for tags
* Uses the existing implementation of highlighting revisions from the same user
* Shows bubble next to tags in Tooltip
* When you hover on a bubble, tag row is circled, and revisions with a specific tag gets highlighted. When hovering ends, highlighting ends. But, if there is an active filter available, all previous states are restored accordingly.
* When you click on a bubble, in addition to highlighting revisions and tag row, any previous tag or user filter is removed.

Bug: T203581
Change-Id: I824a027a7f542eb7227545870553e58ec23542bb
2019-03-25 16:57:57 +01:00
Kunal Mehta 46e2f60fec Remove empty tests/phan directory
tests/phan/issues is no longer populated, and stubs should be in .phan/stubs
going forwards.

Change-Id: I238ff73939c5b1b79594c8a043c4fe7082f93a65
2019-03-23 23:02:22 +00:00
Translation updater bot 1145487671 Localisation updates from https://translatewiki.net.
Change-Id: I2a62ec2e2e544d81d579b705d5a212c4c73b55a9
2019-03-23 10:23:35 +01:00
libraryupgrader 724cae3cce build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: I32b12220e15d3b354bf32f44b68c65b221172af5
2019-03-11 03:34:53 +00:00
gopavasanth 197bd4c7b3 Upgrade RevisionSlider to use newer phan
Bug: T216939
Change-Id: Icecfd92783dbe956133b2e63eeb6717fc1466cc0
2019-03-03 12:06:21 +05:30
Translation updater bot e4cfa6afe1 Localisation updates from https://translatewiki.net.
Change-Id: I940874c8667718a2bb4864d75e93c0ca4253ff66
2019-02-21 22:21:35 +01:00
Translation updater bot d702565928 Localisation updates from https://translatewiki.net.
Change-Id: I90ad4e7ce3eaed126b639d095d670e6d9022760a
2019-02-19 22:20:09 +01:00
Translation updater bot 7fb8d26b38 Localisation updates from https://translatewiki.net.
Change-Id: Idcd99418446ca65ab01723649f26e72c5e724d3d
2019-02-17 22:14:38 +01:00
Umherirrender 8dc39ccf86 build: Set private: true in package.json
The package.json is only for build, not to publish the package
Remove license, name, repository, version and homepage, because that is
not needed on private packages

Change-Id: I0819d00ea2effc9edf3f35dc6e74996f212f1d43
2019-02-16 15:48:40 +01:00
Translation updater bot 71c0317527 Localisation updates from https://translatewiki.net.
Change-Id: I24d485228c5c2a9ce09402961290fd2139727f12
2019-02-13 22:38:30 +01:00
Ed Sanders 57f9876e27 build: Update eslint-config-wikimedia to 0.10.1
Change-Id: I8aeddc384d25318e8618bb617884205f1c0c1f00
2019-02-10 16:54:28 +00:00
Translation updater bot 834224a62a Localisation updates from https://translatewiki.net.
Change-Id: Iaa95dab8af6083cc6e7cf1387ac47be85092d227
2019-02-07 22:28:50 +01:00
libraryupgrader 70286a73eb build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: Ia552558a5d46e92e1f5dfd46e2020537e85f8ca6
2019-02-07 03:46:39 +00:00
Translation updater bot 03b5dd8ea0 Localisation updates from https://translatewiki.net.
Change-Id: Ic95aefd2336dfa5b2cdf64ad9841a9136e76a13b
2019-01-30 22:14:29 +01:00
Translation updater bot dbf0e39f54 Localisation updates from https://translatewiki.net.
Change-Id: I28822007444c27ee1342ec03368d2c6f60a0b356
2019-01-17 09:12:55 +01:00
gopavasanth cbf6d4b76c Quick CSS fix
Changed RevSlider tooltip user-row bubble height and width

Bug: T213643
Change-Id: I31278bf00730ba5993a881b695ebff2df2da7f6a
2019-01-16 17:54:33 +01:00
jenkins-bot 07982bcc54 Merge "Remove redundant checks for .length on jQuery objects" 2019-01-14 09:33:12 +00:00
Thiemo Kreuz 2a2d01ffc9 Remove redundant checks for .length on jQuery objects
jQuery objects behave fine when they don't contain anything. No need
to check the .length before. This is one of the essential feature of
jQuery.

I'm also simplifying some setTimeout the same way. clearTimeout will
never fail. It will ignore numbers that never represented a timeout,
or have been cleared before. Note how the property was never set back
to -1. So this code was kind of incomplete anyway. I suggest to fix it
this way around, instead of trying to set -1.

Change-Id: Ic15812ead9d93f8eb07831aeb75577df2abdff07
2019-01-14 09:40:55 +01:00
Translation updater bot 2c6c3bc865 Localisation updates from https://translatewiki.net.
Change-Id: Ie4fb4e7301afb3f1b989f24f7c53d4dba2542f49
2019-01-13 22:13:41 +01:00