Commit graph

5760 commits

Author SHA1 Message Date
Andrew Garrett 58dfd09907 Update overlay.js in response to comments from MarkTraceur
Change-Id: I2e70ba0499f6913eb8bf3ff7cdc829f730a05409
2012-08-01 12:42:06 -07:00
Catrope 131ae20665 Merge "Echo: Make it possible to specify exactly which events are active with $wgEchoEnabledEvents" 2012-08-01 19:21:18 +00:00
Andrew Garrett 1d47038e62 Echo: Make it possible to specify exactly which events are active with $wgEchoEnabledEvents
Change-Id: Iecf77f1e0dd80a209ef9be013fb2adf44e69a604
2012-08-01 12:11:52 -07:00
Andrew Garrett e48be3b311 Echo: Replace placeholders with real icons
Change-Id: I4af816746200bedfbfa16bf4079bd36febc35d96
2012-08-01 11:35:58 -07:00
Catrope da5280b1d4 Merge "Update code/documentation" 2012-08-01 17:54:50 +00:00
Reedy 0238982af0 Update code/documentation
Add FIXME

Update some code to new standards

Change-Id: I4240f651ca85001eabaf91eed0c896741b01a76d
2012-08-01 10:54:17 -07:00
Andrew Garrett f614f9ded9 Merge "Add escaping for paranoia" 2012-08-01 17:53:38 +00:00
Andrew Garrett 3ede5a482a Add escaping for paranoia
Change-Id: I53fde56d67d5515deb4e296c14cc84d7a5cb1036
2012-08-01 10:53:20 -07:00
Andrew Garrett db36c1f382 Stop triggering the yellow "you have new messages bar".
Transitional arrangements: Because pre-Echo events will not
have Echo notifications, the yellow bar will remain for them.

Change-Id: Id6b0f4c5d5592e3529f264a7235ee321b25fa740
2012-08-01 10:51:28 -07:00
Catrope 429b608270 Merge changes I9051e4bf,Ie6cae76e
* changes:
  Formatting updates for Echo.
  Echo: Implement advanced notifications for vanilla talk pages.
2012-08-01 17:47:26 +00:00
Andrew Garrett 0699d8f402 Formatting updates for Echo.
First implementation of "two line" formatting.
Messages have a title and optional content.

Distinguishing writing on "your talk page" from another talk page in messages.

Change-Id: I9051e4bfb66d1c25c1bf68ec092b52fd90544336
2012-08-01 10:37:17 -07:00
Andrew Garrett 6ff170cada Echo: Implement advanced notifications for vanilla talk pages.
Uses the class EchoDiscussionParser to understand actions taken on
vanilla MediaWiki discussion pages.

Currently notifies on these occasions:
* A new comment is added to a discussion on your talk page or that
  you have participated in.
* A new topic is added to your talk page.

There are vague plans to expand to these classes of events:
* Your comment is edited or removed.
* A large section is moved to your talk page.

and these classes of users:
* Users watching discussion pages.

Change-Id: Ie6cae76ed2e0ecf607059e39ac1aa480a275ec89
2012-08-01 10:17:36 -07:00
Andrew Garrett 5f666bd7a7 Fix non-JS to use the correct message
Change-Id: Ifd451aeb6755dd77b0e988298546ee125b010e4c
2012-07-31 16:29:30 -07:00
Andrew Garrett 4f2d7b933e Echo: Use red badges instead of putting the number of new notifications in text.
Depends on refactoring from efb463c

Change-Id: Iba09f46abaf337ea2578ace9d22592a71970c64b
2012-07-31 14:27:51 -07:00
Andrew Garrett efb463cca9 Echo: Refactor various code to allow for XMPP and badge notifications.
Change-Id: Ic372756501ad3438ab67a5c96791ba2ffe70c886
2012-07-31 14:19:15 -07:00
Krenair 7d6fb20bd7 Some code formatting, wfMsg and deglobalisation changes.
Change-Id: I77715b2c152cf557d2ba3e96a8969847a0957840
2012-07-26 18:51:57 +01:00
Amir E. Aharoni 2dec7a9c39 Added explicit GENDER support to two messages
If there's no $1 in the original messages, the translation are marked
as FUZZY by translatewiki.net.

Change-Id: I6f1617e446baf15404e2794c4fe0e2cde340e081
2012-07-24 15:17:36 +03:00
Andrew Garrett c3b77b543e Merge "Echo: Disable standard email notifications" 2012-07-18 16:28:41 +00:00
Andrew Garrett 669a6dbdd2 Merge "Echo: Reset user notification count when adding a new notification" 2012-07-17 23:53:25 +00:00
Andrew Garrett 5408cf6526 Echo: Make overlay dismiss only if you click *outside* it.
Change-Id: Ifa099fa2d9ccf77a66cb45d39a52c7dbfd0f229d
2012-07-17 15:26:38 -07:00
Andrew Garrett 922fbc1e17 Echo: Disable standard email notifications
Change-Id: I3d613792175f68606483ba729a79b625a7ebcb02
2012-07-17 15:19:32 -07:00
Andrew Garrett fc0b870486 Echo: Reset user notification count when adding a new notification
Change-Id: If4057ba9f6a016189c60836c64333ac0b0572450
2012-07-17 13:39:45 -07:00
Andrew Garrett acd4ee2102 Make Echo use pretty timestamps
Change-Id: I1b061840c720ece80c1301f8ee38da9c80f7d100
2012-07-16 17:05:29 -07:00
Andrew Garrett 92ba7da013 Fix capitalisation of LEFT JOIN
Change-Id: I9c4fc59c813d02803147fd5daf950fd1a0260bbd
2012-07-16 17:05:09 -07:00
Andrew Garrett aa7d7b1e72 Fix fatal errors that were causing notifications to fail
Change-Id: I89fe025b12fe853c3fc40dd2350feae884c61458
2012-07-16 17:04:27 -07:00
Andrew Garrett 4ae2c858f5 Fix URL
Change-Id: Ic963380ba9edbfeb2b2daecbd89ff03881898541
2012-07-16 17:04:16 -07:00
Translation updater bot 417e2622d6 Localisation updates from http://translatewiki.net.
Change-Id: I7127a764646a6e9a648f88626459eeb1a6227028
2012-07-10 19:38:32 +00:00
Translation updater bot 39716402e0 Localisation updates from http://translatewiki.net.
Change-Id: Ic415aa7ff8b8664de89e7a400c8c7ea2732e0852
2012-07-09 20:08:39 +00:00
Translation updater bot a0c7c49318 Localisation updates from http://translatewiki.net.
Change-Id: I8690958108c22dbfd279f1bbf10ff14d75c16fc5
2012-07-05 19:44:26 +00:00
Translation updater bot 882020d9e3 Localisation updates from http://translatewiki.net.
Change-Id: Ifdf33bcd18a4c2ff7152e636eb1c9bed3f192e7b
2012-07-04 20:07:08 +00:00
Translation updater bot 0417410f55 Localisation updates from http://translatewiki.net.
Change-Id: I36583cb0888ebe7a74133a8cb088c5dab1dc8562
2012-07-02 22:12:04 +00:00
Siebrand 2530b613ad Merge "(bug 37668) Add plural support to echo-link-new" 2012-07-01 14:58:47 +00:00
Translation updater bot 59009e0c81 Localisation updates from http://translatewiki.net.
Change-Id: Ib903aa5bad8a84e34e4962f9cf34f3b6a802912e
2012-07-01 13:53:29 +00:00
Translation updater bot 765ab90c83 Localisation updates from http://translatewiki.net.
Change-Id: I6de4bc379b09f0c4f0ed046b348ab8f78e78920e
2012-06-25 20:17:39 +00:00
Translation updater bot f3b2f5e701 Localisation updates from http://translatewiki.net.
Change-Id: I37956ee6ee179b0359e07d6723d9ea479a4da709
2012-06-24 20:04:07 +00:00
Alex Monk f70f555969 (bug 37668) Add plural support to echo-link-new
Change-Id: Iada6a7dcf666afee7a3abae0ea1ed22d2c6031c7
2012-06-24 16:46:39 +01:00
Translation updater bot 1296262497 $COMMITMSG
Change-Id: If7341ff6228b7636b40f7be96cb1388d7ad18fbe
2012-06-23 20:12:43 +00:00
Translation updater bot 4514d25301 Localisation updates from http://translatewiki.net.
Change-Id: I8ebc19f603b8823f7eadf145ecd6cd2481146700
2012-06-22 18:07:05 +00:00
Translation updater bot a9176b9ddb Localisation updates from http://translatewiki.net.
Change-Id: Iea9189d01fefa3098708a2a17ef8b3ea6e9b5915
2012-06-20 20:24:48 +00:00
Translation updater bot 049235f322 Localisation updates from http://translatewiki.net.
Change-Id: I8607331c636872b0911fcabe6fc4f7f78eba68f8
2012-06-19 19:27:11 +00:00
Translation updater bot 5ccb0f4fc8 Localisation updates from http://translatewiki.net.
Change-Id: If1c5ebd86c4b72edcd464e8324fbe14c051632b1
2012-06-17 20:16:45 +00:00
Translation updater bot 2d5892b7c7 Localisation updates from http://translatewiki.net.
Change-Id: Ia0610bc7bb53815d70b9f81a54e6d97bf105d72e
2012-06-15 22:03:34 +00:00
Andrew Garrett ac560231fb Fix up some bugs in Echo overlay updates (7b47e5d09d)
* Instead of creating a new div, replaced the content of EVERY SINGLE DIV ON THE PAGE when a user had no notifications.
* Added some styling to make title and link prettier.

Change-Id: Id713ca56abc2f58ed1d580f3e43efa3c46d76c2a
2012-06-08 16:07:57 +10:00
Andrew Garrett 7b47e5d09d Echo overlay enhancements
Add a title and a link to Special:Notifications to the notifications overlay.
Also add a message to Special:Notifications and the overlay if a user has no notifications

Change-Id: I28407d3ea82039b160170f51ab987418e14be2af
2012-06-08 15:55:01 +10:00
Andrew Garrett 44904f174e Merge "Echo email notification: Make sure users actually want to receive email notifications by checking their preferences first" 2012-06-08 05:33:25 +00:00
Andrew Garrett 587e202f75 Merge "Add a maintenance script to convert MediaWiki watchlists into Echo subscriptions" 2012-06-08 05:33:17 +00:00
Andrew Garrett 4ae8929ebe Add a maintenance script to convert MediaWiki watchlists into Echo subscriptions
Change-Id: I63f5cc2fccaa43becc6b1c1f88633eb2f9ec38f1
2012-06-08 15:32:14 +10:00
Andrew Garrett 6bbbb0c74c Echo email notification: Make sure users actually want to receive email notifications by checking their preferences first
Change-Id: I3fe51a8b418034b872a1ccf77e845f46e5f9e111
2012-06-08 15:31:24 +10:00
Andrew Garrett 46b3024b4a Echo: Defer notifications using the Job Queue
In future it may be necessary to break them down an extra level.

Change-Id: I65e5a285e7d5797636e118c5e3e78b94df9af3d4
2012-06-08 15:30:09 +10:00
Andrew Garrett 5c841cafe3 Add an "overlay" to personal links showing new notifications.
Change-Id: I1a350e5d051bd0e776e5043f0ba189a576ac7ee7
TODO: Add date/time stamp to notifications as shown in overlay
2012-06-01 21:02:30 +10:00