Commit graph

6384 commits

Author SHA1 Message Date
Translation updater bot 28cc8c2fa7 Localisation updates from https://translatewiki.net.
Change-Id: I3eafb79325d76e6f857b0801c48a7e4737d5732a
2022-05-18 08:19:33 +02:00
Translation updater bot 55cc3ec310 Localisation updates from https://translatewiki.net.
Change-Id: I4e885079e32c79f5fe16269505aee957bef75d77
2022-05-17 08:27:58 +02:00
jenkins-bot 8ae621f8d3 Merge "Don't change width of Vector when more than 0 notifications" 2022-05-16 20:04:30 +00:00
Jon Robson 287c59be44 Don't change width of Vector when more than 0 notifications
Bug: T307134
Change-Id: I133162d06166bc2c3cabd58b61fc8437fdb3db1f
2022-05-16 12:18:48 -07:00
Translation updater bot bf9ce6c2b3 Localisation updates from https://translatewiki.net.
Change-Id: I7f5cef042068e7115421d1189e99cde98ac31f3f
2022-05-16 08:24:15 +02:00
jenkins-bot b3be350054 Merge "WatchlistChangePresentationModel: Place in "message" section" 2022-05-15 19:34:35 +00:00
jenkins-bot 90e30afcde Merge "Use watchlist-progressive icon for WatchlistChangePresentationModel" 2022-05-15 19:30:21 +00:00
Timo Tijhof 46484e8b53 tests: Use native QUnit.test.each(), ES5, and other cleanups
* Declare variables inline, as per the current code conventions.

* Convert ad-hoc cases objects into native QUnit.test.each().
  This makes for shorter and cleaner code, as well as for more
  detailed test reporting, and removes the need to manually construct
  assertion messages based on test case prefix string etc.

* Start adopting ES5 Array.forEach in a few places where otherwise
  ESLint would complain about variable name clashes.

* Future proof the test module names, by stripping the global variable
  namespace that some classes still use, matching packageFiles convention
  as used for NotificationBadge.js and its tests already, by specifying
  only the bundle name and the exported class name. Note that the
  QUnit UI does fuzzy matching so filtering works the same either
  way, e.g. "echodmfilter" will match "ext.echo.dm - FilterModel".

Change-Id: I49858dd2c95d0869f2cd15693f05c38312a9f710
2022-05-13 19:18:28 +01:00
Timo Tijhof 4c9968c71b tests: Remove use of QUnit 1.x setup()/teardown()
Bug: T250045
Change-Id: I51ff05ca32f08fe29e5edf35bbcb332112228981
2022-05-13 18:23:51 +01:00
Translation updater bot 2166b5897e Localisation updates from https://translatewiki.net.
Change-Id: I6874ab82d5a17d8b8ec05081cb83aa239c98fa11
2022-05-13 08:25:50 +02:00
Translation updater bot e2f4c2ff57 Localisation updates from https://translatewiki.net.
Change-Id: Id9e308757be98986564205c78647cd88ffd7ad4b
2022-05-12 08:13:15 +02:00
Kosta Harlan 0abeb2bfeb
Use watchlist-progressive icon for WatchlistChangePresentationModel
Bug: T203941
Change-Id: I8c252c5a48296fd47f0e30462a9771baf7fd7804
2022-05-11 13:57:09 +02:00
Kosta Harlan aeffe917d6
WatchlistChangePresentationModel: Place in "message" section
Bug: T203941
Change-Id: I53da2f64e5f299bac4e355e858223dc91bdd3f57
2022-05-11 13:53:31 +02:00
jenkins-bot d8fc0cfc18 Merge "build: Update stylelint-config-wikimedia to 0.13.0" 2022-05-11 11:29:28 +00:00
jenkins-bot 0037984895 Merge "eslint: Use .eslintignore" 2022-05-11 11:26:36 +00:00
Translation updater bot b21fb63348 Localisation updates from https://translatewiki.net.
Change-Id: I52bbba7ed32566c1a976d191f2d07bb3f2650d9f
2022-05-10 08:09:25 +02:00
Ed Sanders 2af0c6d816 build: Update stylelint-config-wikimedia to 0.13.0
Change-Id: I60f34cb3c3c5c12cf1f9f38426a56c76dcf063fd
2022-05-09 14:05:59 +01:00
Ed Sanders 46a3b6d5de eslint: Use .eslintignore
Change-Id: I4db921d6d22f367a4c5647080e791ca5c9e6b3ce
2022-05-09 14:00:02 +01:00
Translation updater bot d99e647d2a Localisation updates from https://translatewiki.net.
Change-Id: Ifd2bd65567f06b00c693affc0755cbdd0847d93c
2022-05-09 08:11:38 +02:00
Jon Robson 5752542981 Prepare for removal of SkinMinervaReplaceNotificationsBadge hook
Bug: T301263
Change-Id: I7b9cf401936be2421d0ad4efe963486404d50e6a
2022-05-06 14:26:16 +00:00
Translation updater bot 65b467f1ab Localisation updates from https://translatewiki.net.
Change-Id: Iab521e04cc1cb8b6d862801605068abd617491e1
2022-05-06 08:19:09 +02:00
Translation updater bot 7dc3cd8807 Localisation updates from https://translatewiki.net.
Change-Id: Iedd6d6967b2d85bb69c496209327f86c5658fedd
2022-05-05 08:06:28 +02:00
jenkins-bot ddb3b68edc Merge "Use IteratorDecorator from core" 2022-05-03 15:23:04 +00:00
Translation updater bot 5bbbc3d502 Localisation updates from https://translatewiki.net.
Change-Id: I90fcfe47bfe772a131791eb9ab64cdf2a1a5603f
2022-05-03 08:45:14 +02:00
Aryeh Gregor 3af6a04c69 Use IteratorDecorator from core
As far as I can tell, EchoIteratorDecorator is functionally identical to
IteratorDecorator from includes/libs/iterators/ in core, so why have a
separate copy? (EchoIteratorDecorator does pass through the return value
of next() or rewind(), if any, but there shouldn't be any per the
Iterator interface.)

Change-Id: Ic763ec19c15f67d9c9b42ebffb88c52b9056ed22
2022-05-02 13:44:41 +03:00
Translation updater bot fcde0cc8a7 Localisation updates from https://translatewiki.net.
Change-Id: I3e380c6897217dc1924c5b49500d396cb6596107
2022-05-02 08:19:29 +02:00
Aryeh Gregor de4a85b7f8 Don't mention deprecated UserRightsProxy
Instead, prepare for UserIdentity being returned by the
UserGroupsChanged hook instead of a User
(If0b3533804aa750faed1d5f96bac98129639586d), check that the user is
local, and convert to User with a UserFactory.

Bug: T255309
Change-Id: I9e246022e7dd15ea1979dbe87b5ab0eedbbde117
2022-05-01 18:42:52 +03:00
Translation updater bot 48739c7c7d Localisation updates from https://translatewiki.net.
Change-Id: I3e2922775b77f6347367110db281988c73e614bb
2022-04-29 08:42:52 +02:00
jenkins-bot cfd9dbf9ca Merge "Replace deprecated Less .box-sizing() mixin with standard CSS" 2022-04-26 11:12:58 +00:00
jenkins-bot eb9b6bc7f0 Merge "Move EchoPush\Api namespace to MediaWiki\Extension\Notifications\Push\Api" 2022-04-25 23:07:57 +00:00
jenkins-bot f038b8e1c7 Merge "Move EchoPush namespace to MediaWiki\Extension\Notifications\Push" 2022-04-25 14:46:25 +00:00
jenkins-bot 16a1692988 Merge "Move EchoOOUI namespace to MediaWiki\Extension\Notifications\OOUI" 2022-04-25 14:46:23 +00:00
jenkins-bot 136ba5bc31 Merge "Namespace Hooks class" 2022-04-25 14:46:20 +00:00
Reedy b64c1f3642 Move EchoPush\Api namespace to MediaWiki\Extension\Notifications\Push\Api
Bug: T305667
Change-Id: I6168b386f532c83333cdc6700ba7e2917385a39c
2022-04-25 13:56:16 +01:00
Reedy c76761eff3 Move EchoPush namespace to MediaWiki\Extension\Notifications\Push
Bug: T305667
Change-Id: I5a7846a0fc383bddbf6511d6ba73c8be7d7760c7
2022-04-25 13:56:09 +01:00
Reedy 3555ea1089 Move EchoOOUI namespace to MediaWiki\Extension\Notifications\OOUI
Bug: T305667
Change-Id: Ibd9bb70b714acfb34ae89960c0e1e44ead5d997d
2022-04-25 13:55:57 +01:00
Reedy f9c1a0fedb Namespace Hooks class
Change-Id: If948e7d376b40cf29480a9fcbf72a65a0eebacb7
2022-04-25 13:55:41 +01:00
jenkins-bot 71d1d14dd9 Merge "Handle the missing 'all' type as specified in the doc" 2022-04-25 12:55:26 +00:00
Translation updater bot 0e6e9149bc Localisation updates from https://translatewiki.net.
Change-Id: I70f11aa7d5fda2d7e721f1f9e556c9c44596be4f
2022-04-25 08:17:47 +02:00
Translation updater bot ec1024e501 Localisation updates from https://translatewiki.net.
Change-Id: I0ab5c1bef8917743d37de7af18a4bb57887c7820
2022-04-22 08:23:08 +02:00
Translation updater bot 5e690d1b68 Localisation updates from https://translatewiki.net.
Change-Id: I377c3eb78b1cf9d0e059e2e62fa7e6c36891e91c
2022-04-21 08:12:05 +02:00
Volker E fe766f04ea Replace deprecated Less .box-sizing() mixin with standard CSS
Also remove 'mediawiki.mixins' includes where unused.

Bug: T306488
Change-Id: Ia9a5a1ce1e47c1de2c2197885237f9355f9cc4f2
2022-04-20 17:14:37 +00:00
lens0021 5943b13b5b
Handle the missing 'all' type as specified in the doc
The text for 'type' in the documentation of the parent describes the
notification type can be 'all', following 'message' and 'alert'. That is
actually used, for instance inside of
mw.echo.Controller.markLocalNotificationsRead() function. The gap
between doc and implementation results in bugs. This resolves the gap.

Bug: T270879
Change-Id: I546aa42e927a05a5426db90153901ae632b97e36
2022-04-20 21:57:12 +09:00
jenkins-bot 75b3a92fd9 Merge "updater: Improve updater for table echo_unread_wikis" 2022-04-19 20:11:00 +00:00
Umherirrender b442f100cd updater: Improve updater for table echo_unread_wikis
Follow-Up: I227801f850bb9d60488b5dd8b1f84c4c22708f5d
Change-Id: Idcc577a86045ffb2ea3f11d990b324ce6ab91cef
2022-04-19 21:27:11 +02:00
Translation updater bot 1a44500829 Localisation updates from https://translatewiki.net.
Change-Id: Iec2e2f7bbc1c9a8d2247a97cabcab874391eb2d0
2022-04-18 10:05:59 +02:00
jenkins-bot 047d92d059 Merge "Drop unused zero class" 2022-04-17 22:07:11 +00:00
Translation updater bot 4950bb3664 Localisation updates from https://translatewiki.net.
Change-Id: I3522678d437bf74c293448d943662ebae9d75786
2022-04-14 08:26:25 +02:00
Translation updater bot 3e8c531c78 Localisation updates from https://translatewiki.net.
Change-Id: I3c9bbf462b127cc122b5c83f356b9d5049159733
2022-04-13 08:32:14 +02:00
Umherirrender 42a61c84a6 Bump minimum required version for upgrade from 1.28 to 1.29
Remove sql patches, mention the gerrit change to check version
- Drop field etp_user in Ib57510e6b0e9202a7e035f8ea59955dca8a0b24a
- Add index echo_notification_event in
I99fc31a62b37259d7000577583c8e8a599e400f9
- Maintenance script RemoveOrphanedEvents in
Id42a893be81176f37d9d5e3fd7e850d3a6d42e10
- Add field event_deleted in Iacd098573efd92bb1e3fcd7da4cd40cea9522f15
- Add index echo_notification_user_read_timestamp in
Iacd098573efd92bb1e3fcd7da4cd40cea9522f15
- Add index echo_target_page_page_event in
Iacd098573efd92bb1e3fcd7da4cd40cea9522f15
- Add index echo_event_page_id in
I15abd7c901df58f7eb9e5476d58a1bc12835645e

Change-Id: I227801f850bb9d60488b5dd8b1f84c4c22708f5d
2022-04-12 16:20:19 +01:00