Commit graph

4531 commits

Author SHA1 Message Date
Moriel Schottlender 5c35535f36 Fire 'ext.echo.badge.countChange' after DOM changes
The event should fire after the count actually changes in the
DOM as well as the internal workings of Echo.

Change-Id: I03f1742b209305080af8784632f07dff63135d81
2017-03-30 15:22:02 -07:00
L10n-bot 15c0a409a1 Merge "Localisation updates from https://translatewiki.net." 2017-03-30 20:52:34 +00:00
Translation updater bot 9777937ab8 Localisation updates from https://translatewiki.net.
Change-Id: I704f44c729dbfbfe2693afdbc8d2bc8c4a8d8f8a
2017-03-30 22:52:27 +02:00
Chad Horohoe f4a5ad9300 LoggerFactory is now namespaced, reference it properly
Bug: T161837
Change-Id: Ide941dc019163ed09f208caa7a615d1e3483bc91
2017-03-30 12:35:47 -07:00
jenkins-bot ea942c6250 Merge "Fix JS error when closing notification popup while animating a moving notification" 2017-03-30 17:59:32 +00:00
Translation updater bot 498dd83c4a Localisation updates from https://translatewiki.net.
Change-Id: I8f16ac94fe94919380625c3757e17ef12626b4bb
2017-03-29 22:29:23 +02:00
jenkins-bot 2040c67254 Merge "Make the invisible text in badges really invisible" 2017-03-28 16:49:15 +00:00
Bartosz Dziewoński 945fccf009 Make the invisible text in badges really invisible
Bug: T161302
Change-Id: I5c7a5bcb7a096b69c28651c6fe1e4017654997ad
2017-03-28 18:26:26 +02:00
Roan Kattouw 089531c1e9 Fix JS error when closing notification popup while animating a moving notification
This failed because it tried to call .resetInitiallyUnseen()
on a ClonedNotificationItemWidget.

Change-Id: Ib675aecfb0d916bfb25f17ad738f3a493a49dd1b
2017-03-28 12:24:25 -04:00
Paladox ecae781538 Fix Illegal string offset 'ltr' in ResourceLoaderEchoImageModule.php
Make $paths an array.

@Krinkle came up with this fix. I just uploaded the patch.

Bug: T161420
Change-Id: I709808bfb0e620f7808175dc272fd57e88b663f5
2017-03-27 23:46:45 +00:00
Translation updater bot 7749ac4684 Localisation updates from https://translatewiki.net.
Change-Id: I8c9eb4536f6552652a934403506ab838cb6ba26d
2017-03-27 23:27:04 +02:00
Translation updater bot bc9f8d76bc Localisation updates from https://translatewiki.net.
Change-Id: I49f31a7936f13e4936a36a4ba9049641f9fe9607
2017-03-26 22:27:05 +02:00
Translation updater bot 13f76eb915 Localisation updates from https://translatewiki.net.
Change-Id: I89e885700a667c185260023f4eb26f98548c7749
2017-03-24 22:42:45 +01:00
Translation updater bot e0618c46d7 Localisation updates from https://translatewiki.net.
Change-Id: Iab28e5f0a408ee11a5aeddbbaf1289c3e28bc026
2017-03-23 22:42:20 +01:00
jenkins-bot 4655c59c5e Merge "Run MWEchoThankYouEditTest on clean DB tables" 2017-03-23 16:43:13 +00:00
jenkins-bot 7576f4cc01 Merge "Use tabs to indent in json" 2017-03-23 16:40:06 +00:00
Translation updater bot 5fb0982405 Localisation updates from https://translatewiki.net.
Change-Id: Iffcb71311b48b0125b2ef8f5ed971dc35f381d01
2017-03-22 22:48:13 +01:00
Umherirrender e064b7f1fc Use tabs to indent in json
Change-Id: I20811dc220cd020b1f795cad62d690f142b68643
2017-03-22 22:23:56 +01:00
Leszek Manicki e45705fd84 Run MWEchoThankYouEditTest on clean DB tables
Other tests (possibly from other enabled extensions) could also,
by chance, create Echo notifications for the user MWEchoThankYouEditTests
uses. In order to those tests be reliable, they should make sure
there is no notification data in the database prior to running tests.

Bug: T161087
Change-Id: I870a50b1f831795731235fa8ec97477b3e470b50
2017-03-22 16:32:49 -04:00
jenkins-bot 43851312a0 Merge "Simplify definition of 'ext.echo.badgeicons' module" 2017-03-22 00:47:51 +00:00
Translation updater bot 531b180241 Localisation updates from https://translatewiki.net.
Change-Id: Iab9bbb250c6eba50d3cceda9e4168d67cf46c7a0
2017-03-21 22:33:01 +01:00
Bartosz Dziewoński c39fffd82f Simplify definition of 'ext.echo.badgeicons' module
* The JSON file for the Apex theme was exactly identical to the
  MediaWiki theme. If the icons are the same, there's no need to
  duplicate it.
* Since we now only have one definition used for all themes,
  ResourceLoaderOOUIImageModule is overkill and we can use the
  slightly simpler ResourceLoaderImageModule.
* Remove "prefix": "oo-ui-icon" from the JSON file, since it is
  overridden in the module definition by "selectorWithoutVariant" and
  "selectorWithVariant".

Change-Id: I1d579873459e079369fd13350a9cb00939c2b76b
2017-03-21 20:33:10 +01:00
Translation updater bot d2b93f5624 Localisation updates from https://translatewiki.net.
Change-Id: Idf0ac24272289ecbe2130582eda0c3f1bc02b9a0
2017-03-19 22:24:12 +01:00
WMDE-Fisch f714ff5d74 Replace deprecated Context::getStats() with MWServices::getStatsdDataFactory()
Change-Id: Ia0791472c3569edc269d993bd0d91becd56e70da
2017-03-17 12:16:28 +01:00
Translation updater bot cf7e844076 Localisation updates from https://translatewiki.net.
Change-Id: Ib1bdf6331edfb3d6b024d17edb0ad952400a4923
2017-03-16 23:12:29 +01:00
Translation updater bot 966335f01b Localisation updates from https://translatewiki.net.
Change-Id: I7f65e8aeecaf354a71b727c6cc272a06358e5169
2017-03-14 22:33:59 +01:00
jenkins-bot 705dd1d9d4 Merge "Use words for describing notification counts in HTML text node" 2017-03-14 18:09:13 +00:00
Translation updater bot fbafc84e59 Localisation updates from https://translatewiki.net.
Change-Id: I6070e4114f9354c3cbaae5e776ae85ed85a9a0f8
2017-03-12 22:38:39 +01:00
Ed Sanders d4d325e7e6 Use words for describing notification counts in HTML text node
The text is hidden by CSS so this will not affect regular users.

Bug: T160277
Change-Id: Iabb557a6ea2de82b488a5a40c9b5fd966270f1b0
2017-03-12 19:37:23 +00:00
Translation updater bot fb768a72c2 Localisation updates from https://translatewiki.net.
Change-Id: Icee65ee5ea8804eeaac2688943551748a9d6fb27
2017-03-09 23:15:27 +01:00
Roan Kattouw 739847c20f Fix RTL popup alignment for OOjs UI 0.19.5
Popup alignment corrections are now done with margins on the anchor,
not directly on the popup. Setting "left" also didn't have any effect,
because it was being overridden by inline styles set by the new
PopupWidget/FloatableElement code.

Bug: T159999
Change-Id: I7738edee7ae096fcc116a79e71a591a2287ea34f
2017-03-08 15:39:50 -08:00
jenkins-bot 14f261a2fc Merge "Revert "Remove FloatableElement hack, no longer needed"" 2017-03-08 01:48:27 +00:00
Catrope 8b396ec675 Revert "Remove FloatableElement hack, no longer needed"
We still need overflow-x set to a non-visible value, so that
the overflow-y: visible rule doesn't take effect. If it does
take effect, it breaks clipping.

This reverts commit 97bde4d21a.

Bug: T159888
Change-Id: Id834d9cf9615a8d2dad27faf2eb89743ad95da9d
2017-03-08 01:23:09 +00:00
jenkins-bot 4a9cf5b2e2 Merge "Add and listen to 'modified' event for popup clip()" 2017-03-07 23:25:48 +00:00
Moriel Schottlender bee8aaa499 Add and listen to 'modified' event for popup clip()
Separate the behavior of promise vs event when changes happen and
we need to clip the popup. The popup should only clip itself after
the DOM has finished populating, not "just" after the model has
been populated with data.

Adding an event that triggers whenever the main list changes anything
that is in its DOM, and having the badge widget trigger a popup clip
will solve this issue and untangle the expectation of the promises
vs. the widgets populating themselves through the events.

Change-Id: Iff9996eb1810e7ade135359139e16837e6dc74f0
2017-03-07 14:35:42 -08:00
Translation updater bot df68ab5ec4 Localisation updates from https://translatewiki.net.
Change-Id: I6e6db35cd16226ab69ee069607444357ae77f626
2017-03-07 22:38:45 +01:00
jenkins-bot 1928a7bc9a Merge "Update tests to Selenium 3" 2017-03-07 09:23:09 +00:00
Translation updater bot e508d48bc2 Localisation updates from https://translatewiki.net.
Change-Id: Ia2c04c6c88ca37c4be0e6d5dc3751c124027fb68
2017-03-06 22:32:51 +01:00
Translation updater bot 7b138c9e3e Localisation updates from https://translatewiki.net.
Change-Id: Icab7262f7d05c8e32a9ad3c25935e7fa99f9ccc7
2017-03-05 22:33:41 +01:00
Translation updater bot 1326a68638 Localisation updates from https://translatewiki.net.
Change-Id: Ia59d2372e26e145b6946cec5d41ee6b11b1071d3
2017-03-04 22:44:20 +01:00
Translation updater bot 5bd57cfc05 Localisation updates from https://translatewiki.net.
Change-Id: I4b19d2fbdad978c17667a2943523b2381656e565
2017-03-03 22:28:36 +01:00
Translation updater bot 673a2311ab Localisation updates from https://translatewiki.net.
Change-Id: Ib4dbcd5de9af7050e4069ae114dae65dd2795fc9
2017-03-02 23:03:31 +01:00
jenkins-bot dd61dd06cb Merge "Align the cross-wiki icon with the other notification icons" 2017-03-02 06:47:48 +00:00
jenkins-bot 4ef0594a30 Merge "Remove FloatableElement hack, no longer needed" 2017-03-02 06:46:12 +00:00
jenkins-bot db1a5181dc Merge "NotificationBadgeWidget: Fix appearance of bottom buttons for OOUI changes" 2017-03-02 06:19:48 +00:00
Roan Kattouw 3e8f028ffe NotificationBadgeWidget: Fix appearance of bottom buttons for OOUI changes
This time we actually get to *remove* a hack that overrides OOUI,
which is always nice. Also add our new dependency on future-magic
forthcoming MediaWiki version.

Change-Id: Icef086e6b19dffb34eefe7b5658b57e020c5de8b
2017-03-01 22:04:05 -08:00
MtDu 185e68a803 Support loading of secondary icons in RLEIM module
Before, secondary icons, such as linked, changes, thanks, and
userSpeechBubble were loaded in mw.echo.ui.icons.less. Now, an
extra icons attribute is passed when the module is loaded, allowing
RLEIM to know which icons to load. If this attribute is left out,
an MWException will be thrown.

Bug: T159394
Change-Id: I9b36a74bcf1da0d1c698845bd067b226fb81ac96
2017-03-01 23:45:04 -06:00
L10n-bot ae25e7eee3 Merge "Localisation updates from https://translatewiki.net." 2017-03-01 21:24:51 +00:00
Translation updater bot aa309307e8 Localisation updates from https://translatewiki.net.
Change-Id: I8c561e66920ff37339eb76c49ec37477da3144d5
2017-03-01 22:24:45 +01:00
Roan Kattouw e0ecaad90e Log more info for unserialize failures, and don't treat them as errors
Bug: T159372
Change-Id: I1110465759bd831a9a324bf3f11a3add4f5f446b
2017-03-01 13:02:59 -08:00