Commit graph

6623 commits

Author SHA1 Message Date
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
jenkins-bot e22fcaf65d Merge "Don't use '#' for comments in .sql files" 2022-04-12 12:31:24 +00:00
Matěj Suchánek 50e6b7d6f3 Don't use '#' for comments in .sql files
Fails for sqlite. Needed for Wikimedia CI when an extension loads Echo.

Change-Id: Ia7572f1610aa765f34ec94f2609eb747fa48ac38
2022-04-12 13:47:21 +02:00
Translation updater bot 59e8ca5c27 Localisation updates from https://translatewiki.net.
Change-Id: I1519bdd329fea0fa22fa39f53b562888344a31f3
2022-04-12 08:14:10 +02:00
jenkins-bot 7d54187ce0 Merge "Call IDatabase::timestamp before inserting echo_unread_wikis" 2022-04-11 23:28:32 +00:00
jenkins-bot ad0d9d64a0 Merge "Call IDatabase::timestamp before inserting notification_read_timestamp" 2022-04-11 23:14:42 +00:00
Umherirrender c650698ac5 Call IDatabase::timestamp before inserting echo_unread_wikis
The default timestamp of 00000000000000 cannot represent as timestamp,
because it gets a negative timestamp -00011130000000

This is needed for proper cross-RDBMS support

This reapply a change from I46206e0b3a687dff3168a81cf0020e669133e876,
reverted with I1c8c409b7820512b3e31246a7f3d8c1cf4db209c.

Bug: T244898
Change-Id: I109b783de0a8d60ccb161b280ce5fa09e145017b
2022-04-11 23:12:02 +00:00
Translation updater bot 5991441d79 Localisation updates from https://translatewiki.net.
Change-Id: I4e2ee74a1d03f04f37e5ba90f5f44e4c393883bd
2022-04-11 08:13:58 +02:00
Translation updater bot c7ccc8ab35 Localisation updates from https://translatewiki.net.
Change-Id: I6e8dc8dd1d9f7516a6ea9511ca2188530e7925d0
2022-04-05 08:25:23 +02:00
Taavi Väänänen 30306fd923 SECURITY: Send original client info on x-wiki requests
Bug: T285116
Change-Id: I0551fe64042676f8a2b35afb82a3b4e9c09ea673
2022-04-04 15:42:18 -05:00
Jon Robson 5350bba546 Drop unused zero class
Not used anywhere.

Change-Id: I848650e4e3497664d712537437d8a10b22d6afb1
2022-04-04 18:20:27 +00:00
Translation updater bot 70e0d4a281 Localisation updates from https://translatewiki.net.
Change-Id: I88c95a4424316f2e5e6efad636411a1ba279a40c
2022-04-04 09:34:21 +02:00