Commit graph

1612 commits

Author SHA1 Message Date
Translation updater bot b8a40f6e7c Localisation updates from https://translatewiki.net.
Change-Id: I2c63e3a7615ae84a8c5d6b3451a0e276d012a960
2019-10-24 10:48:08 +02:00
jenkins-bot 2cc1c8617a Merge "build: Update dependencies and make them pass" 2019-10-24 06:56:48 +00:00
WMDE-Fisch 5c77b477e6 Use waitForModuleState from Util class
Change-Id: Ida52cf73686a1cc5af5ab955ef30daf15a2ec68a
2019-10-23 17:50:21 +02:00
WMDE-Fisch 8c9632385d build: Update dependencies and make them pass
Change-Id: Ia7764d44d7fbc8bf5c03e80887b58031a0de5d86
2019-10-23 17:46:39 +02:00
WMDE-Fisch 970c34f041 Add license file
Bug: T234086
Change-Id: I86dc0fdbbec9b3ff1c371a075125f0a392c4be48
2019-10-23 08:44:22 +02:00
Timo Tijhof f0720b6eaf Remove use of jquery.ui module aliases
This increases the extension's dependency to MW 1.34+.

Bug: T219604
Change-Id: I566b163969c66572c3b8de41e4250606df85e4ca
2019-10-20 10:48:39 +01:00
Translation updater bot 4ad54f89f1 Localisation updates from https://translatewiki.net.
Change-Id: Iab75d6bdd28f6285aa3ef61fe1f9c75bac60184b
2019-10-16 20:41:37 +02:00
Translation updater bot 986e56cdb8 Localisation updates from https://translatewiki.net.
Change-Id: I2263af25947bf19758155dbf89373fe4a3b1987c
2019-10-16 10:40:51 +02:00
James D. Forrester f99e981ee7 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I8ce5f16f496f048f6bcf587c545745193dbfe152
2019-10-11 11:28:53 -07:00
Željko Filipin 0cf9ebaa68 Selenium: make it possible to run daily Jenkins job targeting beta cluster
Add missing selenium-daily NPM script.

Bug: T199113
Change-Id: Ic98557f7217c3757c724bc28439cd307027c622e
2019-10-04 17:03:58 +02:00
Translation updater bot 7842cdfecc Localisation updates from https://translatewiki.net.
Change-Id: I5474fecf7f0261ac691812833a1d8363f8b6974e
2019-09-13 10:20:49 +02:00
Translation updater bot ced2dd5e1a Localisation updates from https://translatewiki.net.
Change-Id: I37eb946c82194a9e92b69ae12d924d12f1c1e3ae
2019-09-04 10:15:06 +02:00
libraryupgrader e1466c572f build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Iafac35d5a007af7c1b8a49492d4d18e24d10383d
2019-08-23 03:38:50 +00:00
Translation updater bot 1ed4724531 Localisation updates from https://translatewiki.net.
Change-Id: I8d1b3a19ad0594408a3cc06d34246a6a2db85488
2019-08-20 10:26:07 +02:00
jenkins-bot 4949c15d0c Merge "Replace expand icon with down indicator" 2019-08-17 13:19:45 +00:00
jenkins-bot 90016c2637 Merge "Merge some resource loader modules" 2019-08-15 15:01:01 +00:00
tzhelyazkova a5d329758a Replace expand icon with down indicator
Bug: T212803
Change-Id: Ic0ae23bbc399ce70764457bbf4d789f113fb2f48
2019-08-15 11:47:14 +02:00
Translation updater bot 4d14b65cc2 Localisation updates from https://translatewiki.net.
Change-Id: Ie905dae3322e6f06aff0e82462a663fbb5772d52
2019-08-15 09:16:47 +02:00
Amir Sarabadani 111d108150 Merge some resource loader modules
Each RL module comes with the cost of its name + hash being sent over every
request and in the startup module increasing the time to load the page.

Bug: T229791
Change-Id: I3ae230a84112a70ab369ffbff70e173b8f07ec1a
2019-08-14 23:10:25 +02:00
libraryupgrader fbedfdba57 build: Updating npm dependencies
* js-yaml: 3.13.0 → 3.13.1
  * https://npmjs.com/advisories/813
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* wdio-mediawiki: 0.3.0 → 0.4.0

Change-Id: Ia3b36306bc2d469bed35c9ac47f51be5aa4a7737
2019-08-03 04:45:38 +00:00
Translation updater bot e423862e33 Localisation updates from https://translatewiki.net.
Change-Id: I778e8838de72975577b29ef254e685a548b93547
2019-08-01 09:17:47 +02:00
Translation updater bot 0265ff6c42 Localisation updates from https://translatewiki.net.
Change-Id: Ib262d8e21ae5dc3b197f5fbbff1e347bb89daa8b
2019-07-24 22:29:32 +02:00
WMDE-Fisch 65faa4566c build: Alphabetize composer dependencies
Change-Id: Ibb3393818d89f0d28bb49b63c9f5affd4b999cac
2019-07-15 18:01:44 +02:00
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