Commit graph

821 commits

Author SHA1 Message Date
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
Stephane Bisson 52525249e6 Adjust styling for "Mark group as read"
Bug: T134204
Change-Id: Ia0486fa400be7e96ffc4e1ad47f952c17f40042c
2016-05-26 13:30:49 -07:00
Translation updater bot f6d2360d08 Localisation updates from https://translatewiki.net.
Change-Id: If69f786593d48e2ef178ced8c77f44413426c7dd
2016-05-24 23:06:05 +02:00
Translation updater bot 3089594970 Localisation updates from https://translatewiki.net.
Change-Id: I055dd4f8f0834383cd5b8f60af60201960be76b3
2016-05-23 22:24:04 +02:00
Translation updater bot 4143e24982 Localisation updates from https://translatewiki.net.
Change-Id: Id6928f3d28ea9b32c50101aaa9f459f027abfc73
2016-05-22 22:24:01 +02:00
Translation updater bot a1279d3a5c Localisation updates from https://translatewiki.net.
Change-Id: I45469937c67c8856da47cdf63ca39978fbac6e5a
2016-05-21 22:21:24 +02:00
Translation updater bot 45d7b7b196 Localisation updates from https://translatewiki.net.
Change-Id: I125a23187a6a1dd868441beba7a8f05c9e342406
2016-05-20 22:26:53 +02:00
Translation updater bot 85db440844 Localisation updates from https://translatewiki.net.
Change-Id: I79287b2be0bf55eaed7fd164131ef975bf4e0409
2016-05-19 23:08:25 +02:00
Stephane Bisson cb6e6e96cd Build lego message for HTML email footer
Change-Id: Ic750ff3eb4e97c0cd23dd39a998c60860a49cf45
2016-05-19 06:19:38 -04:00
Translation updater bot f09d4305b8 Localisation updates from https://translatewiki.net.
Change-Id: I4a702785aeab618b51eaa66a5f2f11f69cf548bd
2016-05-18 22:10:28 +02:00
Translation updater bot 35789ff53d Localisation updates from https://translatewiki.net.
Change-Id: I4358b594409b2a27dbf645224553ee3109ff526e
2016-05-17 22:21:28 +02:00
Stephane Bisson 46e69972c6 Bring back messages used by old email formatter system
Bug: T135446
Change-Id: I235db93c0f50424da8bc30bcafd717c50a6b0b62
2016-05-17 10:37:39 -04:00
Translation updater bot eee2cbcdd5 Localisation updates from https://translatewiki.net.
Change-Id: I5b3517a184447bee528af12d7b02f301d555c300
2016-05-16 22:41:54 +02:00
Stephane Bisson 8d351ebe45 New error message for failed to fetch notifications
Bug: T129764
Change-Id: Id35d203964ffce9d03b3083e0c0d9c0eeb3b6099
2016-05-16 08:56:25 -04:00
Translation updater bot 767321cdd4 Localisation updates from https://translatewiki.net.
Change-Id: Ib992d87e1184ea8413d0169a9d12d3fea7c43e4d
2016-05-15 22:27:49 +02:00
Translation updater bot 47545312b7 Localisation updates from https://translatewiki.net.
Change-Id: I30814ccc130961687efbf5e74532fa149f2af68e
2016-05-14 22:43:33 +02:00
jenkins-bot 5a2faf26da Merge "HTML email formatter using presentation model" 2016-05-14 00:29:30 +00:00
Translation updater bot 0f8e26c617 Localisation updates from https://translatewiki.net.
Change-Id: I253c5a4d7864415c56e42692921fcf71cbae99f4
2016-05-13 22:20:12 +02:00
Translation updater bot 6b1a005bb3 Localisation updates from https://translatewiki.net.
Change-Id: I47bfaf4495a7f4ee6ac87d12f69fcfc879defd49
2016-05-12 22:14:01 +02:00
Stephane Bisson 6f6e10084c HTML email formatter using presentation model
Bug: T121067
Change-Id: I77f466f0b507ffa49a9714ddba95bea8db1d8438
2016-05-12 09:29:24 -04:00
Translation updater bot f5b243550e Merge "Localisation updates from https://translatewiki.net." 2016-05-11 20:31:58 +00:00
Translation updater bot dc184f835d Localisation updates from https://translatewiki.net.
Change-Id: I8aaf968a47c0bbfe529eba882cbf206f6f582c60
2016-05-11 22:25:55 +02:00
Moriel Schottlender 8f5c718a4f Add 'mark section as read' to Special:Notifications
Allow marking notifications as read per 'section' (days) in the
Special:Notifications page.

Bug: T115528
Bug: T134204
Change-Id: I7324a2c693aa92b9327cf8ff98f125293d5fba10
2016-05-11 20:00:24 +00:00
jenkins-bot 4331c30993 Merge "Add mark-as-read button to notifications in Special:Notifications" 2016-05-11 18:42:46 +00:00
Moriel Schottlender 15a44768f4 Add mark-as-read button to notifications in Special:Notifications
Bug: T115528
Change-Id: I54dba5f86d28a069659d66dede5b7ab9981213aa
2016-05-11 10:41:32 -07:00
Translation updater bot 6e5c2a2826 Localisation updates from https://translatewiki.net.
Change-Id: Id5b46e4562ae21920c5f0f639555c7d47db8054a
2016-05-10 22:26:44 +02:00
Translation updater bot 7b4b3463ed Localisation updates from https://translatewiki.net.
Change-Id: I337786ea94e683d333022f0a0748bd982e1dd62e
2016-05-09 22:12:41 +02:00
Translation updater bot f034a35e33 Localisation updates from https://translatewiki.net.
Change-Id: I4cc56a3708ab7d845ee76aea1ebdaade01ccde41
2016-05-08 22:42:31 +02:00
Translation updater bot 797b8b2eb3 Localisation updates from https://translatewiki.net.
Change-Id: I9cc42250a4493406d3a293ee2335848c2f69059c
2016-05-07 10:53:02 +02:00
Translation updater bot 9462f0c90a Localisation updates from https://translatewiki.net.
Change-Id: Iad7b22cc1c9f1e720866c3d0cdf2b85193cd6d4c
2016-05-04 22:23:05 +02:00
Kunal Mehta b6f742bc46 Add plain text email formatter
Formatters based on presentation models for
individual event emails and digest (daily, weekly)
plain text emails.

Bug: T121067
Change-Id: I4eceaf521315adab7429a8a73ffca70ebcddab86
2016-05-04 13:35:37 -04:00
jenkins-bot f4897e11b2 Merge "Server-side crosswiki requests" 2016-05-04 17:13:23 +00:00
jenkins-bot 2939093854 Merge "Clarify beta feature description" 2016-05-04 12:00:11 +00:00
Matthias Mullie ae3e8a6b8c Server-side crosswiki requests
Passing a param 'wiki' with a list of wiki names will now
result in getting notifications from these wikis too.
It'll execute multi-curl calls to the given wikis to fetch
their results.

Bug: T130636
Change-Id: I89df54366501acfe3e5cf6d2f313ee32694ba387
2016-05-03 17:45:45 -07:00
Translation updater bot 40d1986e89 Localisation updates from https://translatewiki.net.
Change-Id: I1576eee5ad0f89c2cba1e68c1ee81c3a028aa912
2016-05-03 22:24:40 +02:00
Roan Kattouw d6aba7613e Clarify beta feature description
Bug: T134014
Change-Id: I933169e2d7a6e1cc5a4e7134748702f8efb21b85
2016-05-02 15:16:53 -07:00
Translation updater bot d0007081d6 Localisation updates from https://translatewiki.net.
Change-Id: I01d80d43486516e8ee44667491ee1e531eb93333
2016-05-01 23:16:51 +02:00
Translation updater bot 396dc318a2 Localisation updates from https://translatewiki.net.
Change-Id: I08da917f6231ce9867370e0d699494223ad2bc56
2016-04-29 22:34:28 +02:00
Catrope 3a018f9e10 Revert "Localisation updates from https://translatewiki.net."
Removed qqq which broke banana, again.

This reverts commit 8037ff307b.

Change-Id: I9088e5de5900f833b28c203d81b935fe0d827be7
2016-04-28 22:52:04 +00:00
Translation updater bot 8037ff307b Localisation updates from https://translatewiki.net.
Change-Id: I9ff1f66950aedc768a08fb62dcdda63414b85e99
2016-04-28 23:27:52 +02:00
Matthew Flaschen 6d6845d9e4 Display special: Add which section (curr. Alert v. Msg.) each type's in
Replace getAlertEvents and getMessageEvents with
getEventsForSection.

Also, add IDs for linking to sections

Bug: T123018
Change-Id: Ic480320a52a401609d853fc8c75c781b89bb8722
2016-04-28 20:33:52 +00:00
Catrope f37585b947 Revert "Localisation updates from https://translatewiki.net."
Undid changes to qqq.json, which broke banana-checker.

This reverts commit 7b4dd7d046.

Change-Id: I5ed1c8913e8e8538023c1dfd91bc2287a271c995
2016-04-28 00:09:30 +00:00
Translation updater bot 7b4dd7d046 Localisation updates from https://translatewiki.net.
Change-Id: If22e1f6da05323b240b9c12810c3088354f0c9e5
2016-04-27 22:54:08 +02:00
Roan Kattouw 4f7f1a3a09 Repurpose survey call-out in the footer for beta feature invitation
Removing the info popup because we don't have to show
a privacy notice when linking within the wiki.

This adds a database query to every page view for logged-in
users; If78bfc710, once merged, will fix that.

Bug: T117669
Change-Id: I8451db34ae8e94264e4921ecd6df6e4b32c7623a
2016-04-27 07:23:30 +00:00
Translation updater bot 0503734eb9 Localisation updates from https://translatewiki.net.
Change-Id: Idc05bc28f76e543be5cce5c406ac2869cee5acbf
2016-04-26 22:27:21 +02:00
Translation updater bot a3482ef810 Localisation updates from https://translatewiki.net.
Change-Id: Iefefd6e959aa26d46fd7452dc6cfdd5e225f134a
2016-04-25 22:46:34 +02:00
Translation updater bot a04a0e518b Localisation updates from https://translatewiki.net.
Change-Id: If03e6201473c668436c622fbd143e1ae752af9ad
2016-04-24 22:33:32 +02:00
Translation updater bot 0f70dce007 Localisation updates from https://translatewiki.net.
Change-Id: I9aa976545f2111531ec9ad2c06406875340ae1d6
2016-04-23 22:21:22 +02:00
jenkins-bot 2bc334cc62 Merge "Unlisted special page for displaying notification configuration" 2016-04-23 03:54:08 +00:00
Matthew Flaschen d27f32f9b1 Unlisted special page for displaying notification configuration
This provides a simple unlisted special page,
Special:DisplayNotificationsConfiguration, to document how the
notifications are structured and configured.  It shows:

* Which types are in each category
* Which notify types (web/email) can be enabled for each category
* Which notify types are mandatory for each category
* Which notify types are enabled by default:
** For existing users
** For new users

Bug: T132127
Change-Id: I25b447a69a7c984941dfd703345d7977c0000bfe
2016-04-22 20:31:04 -07:00
Translation updater bot 9c627215f7 Localisation updates from https://translatewiki.net.
Change-Id: Ib5bc94eefcf5afbc0fdc745bdc236d57297132ed
2016-04-22 22:21:53 +02:00
jenkins-bot dc14945dcd Merge "Change (opt-out) noforn to (opt-in) crosswikisummary" 2016-04-22 19:29:53 +00:00
Matthias Mullie 57ee975984 Change (opt-out) noforn to (opt-in) crosswikisummary
I thought the name was confusing, and would be even more so
if we get real notifications from other sources.

Meanwhile also split $crossWikiSummary into 2 properties:
- 1 with the class
- 1 to indicate if it should be used

Change-Id: I0e83be7924c8c77680ea1ada3f2bd6a190ce6149
2016-04-22 12:14:21 -07:00
jenkins-bot 748068b66c Merge "Remove param index" 2016-04-22 18:47:12 +00:00
Translation updater bot bf2accd3ca Localisation updates from https://translatewiki.net.
Change-Id: I641913d632f57500f2b310c9bfdb7b22f63b4b50
2016-04-21 22:56:50 +02:00
Matthias Mullie e8d1f6a888 Remove param index
It's (mostly) unused, and it would become problematic once we have
notifications from multiple places (where those ids could conflict)

Change-Id: Ib3bb5ae1e5689037b38290c9ce3d8691f52582b0
2016-04-21 13:33:15 +02:00
Translation updater bot d39f00a8d1 Localisation updates from https://translatewiki.net.
Change-Id: Ie4fabc93c85ed61767f54910978e8876f0d53477
2016-04-20 23:10:41 +02:00
Translation updater bot 52fa8bd915 Localisation updates from https://translatewiki.net.
Change-Id: Ia66ba603c8f2bfb8fafbfa9e5c3b0d02d30d0a4b
2016-04-19 22:20:00 +02:00
jenkins-bot 9a10f73af1 Merge "Display only one foreign bundle on mobile" 2016-04-19 16:19:05 +00:00