Commit graph

779 commits

Author SHA1 Message Date
Stephane Bisson f8a8d392d6 Expandable bundle
Support bundles being expandable
to show their sub-notifications.

Bug: T114356
Change-Id: I1507cae360f45cc87f2d60e966b4d047abfa202d
2016-06-28 15:37:54 -04:00
jenkins-bot 731cde01b8 Merge "Dynamic bundles" 2016-06-28 19:34:42 +00:00
Translation updater bot 156f367f8c Localisation updates from https://translatewiki.net.
Change-Id: Ie46fc63a4c2f185346f1462d75f03ef1f5ffae6c
2016-06-27 23:03:54 +02:00
Stephane Bisson 24caf50ff6 Dynamic bundles
To allow individual notifications to be
marked as read/unread or moderated,
bundles are created by grouping associated
notifications when they are fetched for display
instead of when they are created.

From a product perspective, this change doesn't
introduce moderation or expandable bundles but
it counts each individual notifications.
For instance, the bundled notification
"3 new topics on PageA" now counts as 3
notifications.

Bug: T93673
Bug: T120153
Change-Id: Iacd098573efd92bb1e3fcd7da4cd40cea9522f15
2016-06-27 09:49:13 -04:00
jenkins-bot 79aad8f479 Merge "Add support for querying notifications not associated with any page" 2016-06-27 13:35:02 +00:00
Translation updater bot 3e5e141b1b Localisation updates from https://translatewiki.net.
Change-Id: I0ace770378423972215dd077cf31eb3080c5d92d
2016-06-26 14:15:14 +02:00
Translation updater bot b809b7026b Localisation updates from https://translatewiki.net.
Change-Id: Id4084ae3a64a273fc454201803396e0162f45e79
2016-06-25 14:51:38 +02:00
Translation updater bot a1fad036a0 Localisation updates from https://translatewiki.net.
Change-Id: Ic6517200e5bed55de9d91e2d0e320e2e9c6fe2d7
2016-06-24 11:09:24 +02:00
Roan Kattouw 7d97881344 Add support for querying notifications not associated with any page
Uses the magic value '[]' to mean 'no title'. This is a bit ugly,
but I think introducing an additional &notwithouttitle=1 parameter
is uglier and results in more code.

Change-Id: I83278182aeaf3905eb0f3e24c4c6c247720b1e76
2016-06-24 00:37:21 +02:00
jenkins-bot 45d8fdf24f Merge "Add a cross-wiki sidebar to the Special:Notifications page" 2016-06-21 21:57:48 +00:00
Moriel Schottlender 820d2b0fa7 Add a cross-wiki sidebar to the Special:Notifications page
Add a sidebar with cross-wiki sources and pages of unread notifications.
The filter allows the user to fetch notifications from a foreign source
and specific pages if those exist.

Bug: T129366
Change-Id: I57d827a47f80274d75364c2099a9624049a26834
2016-06-21 14:49:42 -07:00
Translation updater bot d6c7df3978 Localisation updates from https://translatewiki.net.
Change-Id: I2bbf5a187292fe6cbe6a7b8356480ef9d734f660
2016-06-21 23:28:24 +02:00
Translation updater bot d92b899227 Localisation updates from https://translatewiki.net.
Change-Id: Iab4494f02f394c39a3ba6c4b36fcd1fb939ce914
2016-06-20 22:19:34 +02:00
Translation updater bot 09a8289491 Localisation updates from https://translatewiki.net.
Change-Id: I0f05f8ba9768ca20c0b1cc0c99cb54e49cc5783a
2016-06-19 22:42:30 +02:00
Translation updater bot e690f9bfd3 Localisation updates from https://translatewiki.net.
Change-Id: I07691973a30ab2a58b4525a729d5f616f82f4511
2016-06-18 22:44:39 +02:00
Translation updater bot ce567ae5b4 Localisation updates from https://translatewiki.net.
Change-Id: I80986e8c7574582892de6a998ea477cfabd66401
2016-06-17 22:28:10 +02:00
Translation updater bot 74917b8fae Localisation updates from https://translatewiki.net.
Change-Id: Ic41fa390fe11e41ffc3b028a4d844652ec05a5df
2016-06-16 22:26:33 +02:00
jenkins-bot 7a6d0f6aa3 Merge "ApiEchoNotificatons: Add nottitles parameter" 2016-06-16 12:09:46 +00:00
Translation updater bot e7289e2e29 Localisation updates from https://translatewiki.net.
Change-Id: Ia49d8b96869b824f6088b06f28512f0292ed7046
2016-06-15 22:34:33 +02:00
Translation updater bot 8a4be656df Localisation updates from https://translatewiki.net.
Change-Id: Ib1c4cfa8f0e7047d972f3900b934abe77ecb7a1c
2016-06-13 22:56:07 +02:00
Roan Kattouw 016e6dabda ApiEchoNotificatons: Add nottitles parameter
To only show notifications related to a certain title
(or set of titles).

Bug: T137139
Change-Id: I5c82e02bc8e8553c5b761a771b975f03d943d408
2016-06-13 20:19:32 +01:00
Translation updater bot 767a22717c Localisation updates from https://translatewiki.net.
Change-Id: I83d7ec860eab73acfbfd6001aa3c30c4309f4912
2016-06-12 22:15:15 +02:00
Translation updater bot 08c6747172 Localisation updates from https://translatewiki.net.
Change-Id: Ib9e4200b97de6a70c6eabd380849fc82271fcccc
2016-06-11 22:09:45 +02:00
Translation updater bot 523f98a3b6 Localisation updates from https://translatewiki.net.
Change-Id: Ieb32bcd5cebe96d1cd453a23ab872408836a2a68
2016-06-10 22:15:24 +02:00
Translation updater bot 7ecafc6e63 Localisation updates from https://translatewiki.net.
Change-Id: I5d103053a618d4911d49f0a63a2f98bebde86e71
2016-06-09 22:37:58 +02:00
Translation updater bot 7bd039e601 Localisation updates from https://translatewiki.net.
Change-Id: I22ee52baf491bcf914d6d294f460d106341cbc2d
2016-06-08 22:27:28 +02:00
Translation updater bot 043e5af56d Localisation updates from https://translatewiki.net.
Change-Id: Id7dc7fca263108e85c2cbc051a203146482e0068
2016-06-07 22:43:18 +02:00
Translation updater bot 126b48398c Localisation updates from https://translatewiki.net.
Change-Id: I5f4ca60395138e45ff56cc1100dc8ad66c297160
2016-06-06 22:58:15 +02:00
Translation updater bot 74a6f23ab0 Localisation updates from https://translatewiki.net.
Change-Id: I94980dbe6ab9017601ce32aa1cd4cbfff2832b0b
2016-06-05 22:19:22 +02:00
Translation updater bot 83583505f9 Localisation updates from https://translatewiki.net.
Change-Id: Id762d61f9cf1aef628ca1c8c08349475df2a6489
2016-06-04 22:22:50 +02:00
Translation updater bot 48ca0b4ccc Localisation updates from https://translatewiki.net.
Change-Id: I5012ef29268779b43eb04bbbb433ba6dc3d6cd4a
2016-06-03 23:18:17 +02:00
Translation updater bot a9a801994a Localisation updates from https://translatewiki.net.
Change-Id: I27d6e16d72472b5982ff57599de7fb73c8b21bcc
2016-06-02 22:22:46 +02:00
Translation updater bot a4a257a95b Localisation updates from https://translatewiki.net.
Change-Id: I98db3052096d12b8eadc6037ec08215d65ecb0fc
2016-06-01 23:09:19 +02:00
jenkins-bot 6824dbd020 Merge "Display a message if there are no notifications in Special:Notifications" 2016-05-31 23:22:43 +00:00
Moriel Schottlender cf99479468 Display a message if there are no notifications in Special:Notifications
The zero results can either be because there are no notifications
at all for this user in the local wiki, or because there are no
results for the specific filter. Both messages are used for either
case.

Also, clean up the display of push/pop pending for the inbox widget
and hide the label in case the message count is 0 or 1 notifications
as it is unhelpful and irrelevant in these cases.

Bug: T136586
Bug: T136574
Bug: T129363
Change-Id: I1465f772bb9f5247df645d6612f951e5fd7d38cf
2016-05-31 23:13:48 +00:00
Translation updater bot 80885bb924 Localisation updates from https://translatewiki.net.
Change-Id: I40468fdb9d787be98e4d88dc0b8d79768c658bc2
2016-05-31 22:42:08 +02:00
jenkins-bot ec34b25758 Merge "Unread pages API" 2016-05-31 18:29:07 +00:00
Translation updater bot 85615add1a Localisation updates from https://translatewiki.net.
Change-Id: Id403a5e5d093da3a1e8326fd30e3296853f4547f
2016-05-30 22:23:27 +02:00
Translation updater bot ded60cfc05 Localisation updates from https://translatewiki.net.
Change-Id: Ic90392652ab6742fdea4596b927046a4a7ec99ce
2016-05-29 22:27:49 +02:00
Translation updater bot f8bdb60461 Localisation updates from https://translatewiki.net.
Change-Id: I12825cc2046312020de98e3df3b2ef036558beba
2016-05-28 22:17:31 +02:00
Matthias Mullie f751e96839 Unread pages API
The query shouldn't be too expensive: it'll use an index to narrow
down the resultset for 1 user. After that, it'll be sorted based on
a grouped by value, but that should fit in memory: it'll never be
on more than 2000 entries, which is the max amount of notifications
per user.

Change-Id: I271ea7f7a6e010284739bfce02c4ec8a077148fc
2016-05-27 17:24:53 -07:00
jenkins-bot 5d30e4cfac Merge "Filter notifications by read state in Special:Notifications" 2016-05-27 21:35:41 +00:00
jenkins-bot 95bea57983 Merge "Initial version of Special:Notifications Javascript page" 2016-05-27 21:34:44 +00:00
Moriel Schottlender e5e19dd0f1 Filter notifications by read state in Special:Notifications
Change-Id: I7b47e76ae48eaf4732d99616baa3b4b1ee4ddff5
2016-05-27 13:47:41 -07:00
Moriel Schottlender 9262614ded Initial version of Special:Notifications Javascript page
Bug: T129176
Change-Id: I2f55358c16f78e234ec19154b944a4edebfbe639
2016-05-27 13:42:25 -07:00
Translation updater bot 0bda9488ca Localisation updates from https://translatewiki.net.
Change-Id: Ib9fcbca4b51afe8c10321ecb9fcb0905bf42c970
2016-05-27 22:19:28 +02:00
jenkins-bot e9482fbd34 Merge "Remove technical error from echo-api-failure" 2016-05-26 22:55:46 +00:00
jenkins-bot 3fc46a639d Merge "Adjust styling for "Mark group as read"" 2016-05-26 22:43:12 +00:00
Stephane Bisson 194b75cfed Remove technical error from echo-api-failure
Bug: T129764
Change-Id: Ia8779ff90b71c1c8b4df5b28fd61bfb891533b06
2016-05-26 13:43:14 -07:00
Translation updater bot 5453b7e1a6 Localisation updates from https://translatewiki.net.
Change-Id: I57f14c2abb2cab9c10fd2e7afe690700f81ed510
2016-05-26 22:41:32 +02:00