Commit graph

7049 commits

Author SHA1 Message Date
Translation updater bot ce752ec2a8 Localisation updates from https://translatewiki.net.
Change-Id: Ic7ca4e99ab5129e8b39f34e5dbab6c008abb4eb4
2019-08-27 11:03:42 +02:00
DannyS712 0b237983b8 Use Special:MyLanguage in API help links
Bug: T231269
Change-Id: I76e1e257616d8e2a43bcbe9efadead71a09bb058
2019-08-27 06:14:51 +00:00
Translation updater bot c003ca5ecb Localisation updates from https://translatewiki.net.
Change-Id: Ib01a046c971bc7c57af9ac8bc79c81962e33b9aa
2019-08-26 09:06:40 +02:00
Translation updater bot 44956a7c20 Localisation updates from https://translatewiki.net.
Change-Id: Ied0c872f0cdc6c221f9a1a75a6208979895e556e
2019-08-25 10:29:55 +02:00
libraryupgrader c5787d1726 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I6758fb164a0ce37ce1eb62d99675bdf90c0e8fa6
2019-08-24 07:31:33 +00:00
Translation updater bot 8ac4e625e6 Localisation updates from https://translatewiki.net.
Change-Id: Ia96371abfb90eb559382acab1826793edb86aed4
2019-08-23 09:48:12 +02:00
jenkins-bot 0da87cb6bb Merge "Localisation updates from https://translatewiki.net." 2019-08-21 08:15:24 +00:00
jenkins-bot 30dbae4c02 Merge "Render HTML in notification snippet" 2019-08-21 08:11:28 +00:00
Translation updater bot 3e063ff6c0 Localisation updates from https://translatewiki.net.
Change-Id: I11dd8de2dd01de62b6c8adcce7c70936dc0f9c3c
2019-08-21 10:03:22 +02:00
shivanshbindal9 2406462c01 Render HTML in notification snippet
The HTML tags are not parsed in notification snippet.

Bug: T226130
Change-Id: I94cd63d351ac034d80b58a934a823aa0efe18cf5
2019-08-20 23:54:15 +05:30
jenkins-bot dfe150efde Merge "Use utility functions to improve code readability" 2019-08-20 12:32:30 +00:00
jenkins-bot 9025816350 Merge "Fix typos in code (paramters -> parameters)" 2019-08-20 12:01:24 +00:00
DannyS712 9866462f39 Fix typos in code (paramters -> parameters)
Bug: T201491
Change-Id: I1050dbe1e9b2fe8e3959753dbc5fc2e5d64ec484
2019-08-20 11:36:10 +00:00
Translation updater bot 7ad71ccd53 Localisation updates from https://translatewiki.net.
Change-Id: I1fd9bef8caf6e8d87445c60074cf149165717a71
2019-08-20 10:20:57 +02:00
jenkins-bot 42fd16e0f3 Merge "Update for MessageCache as a service" 2019-08-19 15:36:45 +00:00
Aryeh Gregor 7290434158 Update for MessageCache as a service
Change-Id: I546eda0377f3a50843144b1450d3fbe8e4e02a8a
2019-08-18 11:46:11 +03:00
Translation updater bot 57cd1a89b6 Localisation updates from https://translatewiki.net.
Change-Id: I54ad720141e49d608d8f5eabca4ecd50c0e45b84
2019-08-18 09:32:33 +02:00
Kosta Harlan 2a4fde702a Use utility functions to improve code readability
Change-Id: Idf39028d41293b33153254f7648babc3a0cb2b82
Follows-Up: I8cdeb9ee920d3ec943e270eb00a6ef7f3a7449e2
Bug: T226127
2019-08-16 22:25:51 +02:00
jenkins-bot f61c2a569e Merge "Add unseen class to alert/message icons" 2019-08-16 20:19:36 +00:00
shivanshbindal9 8821563955 Add unseen class to alert/message icons
When there are some new notifications during polling,
the unseen state of alert/message icons does not change.

Bug: T226127
Change-Id: I8cdeb9ee920d3ec943e270eb00a6ef7f3a7449e2
2019-08-16 20:32:11 +05:30
Translation updater bot 6c7a73776f Localisation updates from https://translatewiki.net.
Change-Id: Iadb7d6de9f4841116a0fd6eb451f906ecf906517
2019-08-16 09:17:32 +02:00
Translation updater bot d9314436fa Localisation updates from https://translatewiki.net.
Change-Id: I30d396d1c4d291ac7156b7325040c7c105ab52bc
2019-08-15 09:15:54 +02:00
Translation updater bot 0735255506 Localisation updates from https://translatewiki.net.
Change-Id: I9de21f7457f3a2f614b69b1233ba514403c81e01
2019-08-14 09:12:58 +02:00
Translation updater bot 83c55388fd Localisation updates from https://translatewiki.net.
Change-Id: Id815f0ee931d9f15b4b3c5aa2971f8d74335225a
2019-08-13 09:15:44 +02:00
Translation updater bot 5086e5de06 Localisation updates from https://translatewiki.net.
Change-Id: I563001efad85afadf3212ff2013ed918040b5a86
2019-08-12 09:06:44 +02:00
Translation updater bot 8012d23a00 Localisation updates from https://translatewiki.net.
Change-Id: If0fe62fa6254119fb7ac0c7c3ac395dab6154b8f
2019-08-10 22:48:41 +02:00
Translation updater bot 750e6bce8f Localisation updates from https://translatewiki.net.
Change-Id: Id5883075571f185e7aca2752480703426647a764
2019-08-09 09:08:46 +02:00
Translation updater bot a8317ea0eb Localisation updates from https://translatewiki.net.
Change-Id: I7642f397bcc85e31e815765d5f6f03fec058923a
2019-08-08 09:32:15 +02:00
Roan Kattouw 7dacde99d1 Remove unused dependency on ext.echo.styles.notifications
This module only contains styles specific to Special:Notifications, so
ext.echo.ui shouldn't depend on it.

Change-Id: I14fc0076ab634d3bc5082402a9e069d76cf16d07
2019-08-07 16:48:55 +02:00
Translation updater bot 8d44b87536 Localisation updates from https://translatewiki.net.
Change-Id: I861dc8624e22378a5b022f201d6a3b6385c465c1
2019-08-07 09:37:32 +02:00
jenkins-bot 358bdad695 Merge "Define preference for poll updates" 2019-08-06 23:14:49 +00:00
shivanshbindal9 2528e3394f Define preference for poll updates
New preference added so that user can set
* Displaying (n) total unread count in the title
* Displaying notification snippet for incoming notification

Bug: T229732
Change-Id: I35eb68dedf1e087b4668bfec404935f1244b3d0b
2019-08-06 19:42:49 +05:30
jenkins-bot a37ecff5df Merge "Improve EchoPresentationModelSection" 2019-08-05 22:16:51 +00:00
Translation updater bot 127b513894 Localisation updates from https://translatewiki.net.
Change-Id: If66612e9db8ef99b0181fed096fc68dc3ffbbb71
2019-08-05 09:40:52 +02:00
Matěj Suchánek 19c55cd7ca Improve EchoPresentationModelSection
Add documentation and recommendation to one public method
and make getTitleWithSection safer.

Change-Id: I9c17032a80e736751d21c16ca0178b54c498bded
2019-08-02 12:24:59 +02:00
libraryupgrader 9bb30f1629 build: Updating npm dependencies
* 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: I06517f1a052ca42a8b62ccfa9c055c409b96837f
2019-08-02 01:47:20 +00:00
Translation updater bot 36e7005d83 Localisation updates from https://translatewiki.net.
Change-Id: Ib53858690cb6808184835b81073a9c89416fc77a
2019-08-01 09:16:22 +02:00
jenkins-bot e751428cbd Merge "ext.echo.init: Un-dim badge if loading RL modules failed" 2019-08-01 02:30:37 +00:00
jenkins-bot 495a6c8acd Merge "Remove ext.echo.base" 2019-08-01 00:24:25 +00:00
Roan Kattouw 092615db27 ext.echo.init: Un-dim badge if loading RL modules failed
We didn't have any error handling for this scenario previously, but the
recent refactor of this code made it more obvious that it was missing.

Change-Id: I146de3ed2cde1a9bd553fc4825c0e4e06130de65
2019-07-31 22:55:25 +00:00
Roan Kattouw 5c3e30b78a Remove ext.echo.base
It became unused and was deprecated in 1ac72cc01a.
That was almost 4 years ago, back when these definitions were
in PHP instead of JSON.

Change-Id: Icbd5ee8df1fc339ffb2df9f05c35a9dcd545a3d1
2019-07-31 22:53:23 +00:00
shivanshbindal9 6be1eee1db Display notification text for incoming notification
As now polling is used to update the notification count on header icons.
If there are any new notifications then a snippet containing the header
part of the notification will appear using mw.notify().

Bug: T226130
Change-Id: Id38c8ebedebd4c68b9cef0635043d6f9304784dd
2019-07-31 17:54:20 +05:30
Kosta Harlan efd759402f Skip broken Selenium test
Caused failure in
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Echo/+/524520#message-7f1addb6b8b09919581014fe18c6dddef32fb078

Bug: T227009
Change-Id: Iae088bc7c966f927a15d06a4de5966a76913dbe4
2019-07-30 16:54:31 +02:00
Translation updater bot de434e1306 Localisation updates from https://translatewiki.net.
Change-Id: Idcb8f0277c195f9316d93c0d1205c7ee67033bf7
2019-07-29 09:14:21 +02:00
Translation updater bot 13f318508f Localisation updates from https://translatewiki.net.
Change-Id: Icfa17e84d5ba72436952af3f61a5a61dbf8f0cc6
2019-07-26 08:55:22 +02:00
Translation updater bot 809c9a9abc Localisation updates from https://translatewiki.net.
Change-Id: Iea9647556690e162c88e170cad3bf74f6758a624
2019-07-24 22:28:41 +02:00
Roan Kattouw a3bfd725ea Bundle logger-related config vars with ext.echo.logger module
There's no real reason for these to be in MakeGlobalVariablesScript
because they don't really depend on the request context: they were being
omitted if the user was not logged in, but we can just check the user's
logged-in status in JS instead.

Bug: T221151
Change-Id: I2df6d7e061545d342bc3068dccd5ce2f6e85fe78
2019-07-23 21:48:42 +00:00
Translation updater bot 90b1f09ec5 Localisation updates from https://translatewiki.net.
Change-Id: I6eed108fc3768699c1a6e3b9c37067eb6ef15923
2019-07-23 08:53:56 +02:00
Translation updater bot a6eaf7dfb3 Localisation updates from https://translatewiki.net.
Change-Id: Icbd5f18426725c96793108ade91962655c691272
2019-07-22 22:40:49 +02:00
Roan Kattouw cf760b8d84 Use Config parameter instead of deprecated ResourceLoaderContext::getConfig()
Depends-On: Ia4666914e9b07f298ee5ae30ae8c70a3e83b0910
Change-Id: I4578bfc93d8a4615d54d99340ed9cceaa8bb76da
2019-07-18 15:30:41 -07:00