Commit graph

1238 commits

Author SHA1 Message Date
Andrew Garrett dc6a3cb6d0 Add a "mention" notification
Any user whose user page is linked in a comment on a talk page will get a notification of that.

Weaknesses: Currently this mention notification is additive.
We may want to restrict it to only cases where the user would not
otherwise be notified of the comment

patch set 3:
	* user + instead of array_merge for merging subscription users
	* rename $user to $agent to avoid name confilict in generateMentionEvents()
	* add check for possible null object
	* users should not receive 'mention' notification on their own talk pages

patch set 4:
	* add more descriptive comment
	* check for empty notification list before creating mention event

patch set 5:
	* Fix a parse error, change [ to {

patch set 10:
	* rebase

patch set 11:
	* adding flyout messages, updating params for other messages

Change-Id: I76b80db1f325d9569f36c506d14c8c875bba4a34
2013-02-24 20:38:11 -08:00
Translation updater bot b2c69d29c7 Localisation updates from http://translatewiki.net.
Change-Id: I860ef0097a9c2575aec12a588da8c2bbb2b26e2a
2013-02-24 20:36:41 +00:00
Translation updater bot d23c5840e4 Localisation updates from http://translatewiki.net.
Change-Id: Ie6a817e9baa219128c1b26b3d24054fdcba93e37
2013-02-23 20:34:53 +00:00
Bsitu e6d9e93393 Merge "Getting rid of confusing abstraction regarding formatter classes" 2013-02-22 21:24:18 +00:00
Translation updater bot e4f9276e61 Localisation updates from http://translatewiki.net.
Change-Id: I7eb793aa50bd6eff26f1755b6971b14b4af41471
2013-02-22 20:11:31 +00:00
Translation updater bot dca54fcb08 Localisation updates from http://translatewiki.net.
Change-Id: I8158629cabae8bcc25b8fe80a0b952fa615ebe58
2013-02-21 20:16:53 +00:00
Translation updater bot 0f8ba16d33 Localisation updates from http://translatewiki.net.
Change-Id: I7a660f62e4a9207bec5cedb95a220a3188906167
2013-02-20 21:43:48 +00:00
Translation updater bot 21c67472ca Localisation updates from http://translatewiki.net.
Change-Id: I986b71903cb6a5341b0685c9bcbda2a9f6b4c04e
2013-02-19 20:37:04 +00:00
Translation updater bot 9565d05dbb Localisation updates from http://translatewiki.net.
Change-Id: I5e5f38e22aea7859bbddaf7656d107ec03209938
2013-02-18 20:55:25 +00:00
Translation updater bot e358053bc9 Localisation updates from http://translatewiki.net.
Change-Id: I60b07ce6c8b8035b8a661eced0c2b9ba77ac7075
2013-02-17 20:38:37 +00:00
Translation updater bot 3136e3a043 Localisation updates from http://translatewiki.net.
Change-Id: Ic457a16df0f21bf6960064e15e25f6f25e84c8f8
2013-02-16 23:16:53 +00:00
Kaldari 335fc1fab0 Getting rid of confusing abstraction regarding formatter classes
Specifying the class directly is much less confusing and fragile.
Plus we have way too many things named 'type'.
Also changing MWEchoArticleLinkedFormatter to EchoArticleLinkedFormatter
to match the convention of the other formatter classes.
Also making EchoBasicFormatter the default, so that the Hello World
case is easier to implement.

Change-Id: Ibd9b15008d37ad815e466ab81ba9a5b668ee2791
2013-02-15 16:02:42 -08:00
Bsitu 730d98a579 Merge "(bug 45016) make sure dismiss works across all supported types" 2013-02-15 23:10:55 +00:00
Kaldari 35cf44e4a6 (bug 45016) make sure dismiss works across all supported types
Change-Id: Id9bf0c785a8fe429c6ec04c427330395d30bf68c
2013-02-15 14:09:39 -08:00
Translation updater bot 61b02be508 Localisation updates from http://translatewiki.net.
Change-Id: Ic9ee32b8868bcc1c2f80e47c4b6c7d4fe2cbc2a0
2013-02-15 20:32:50 +00:00
Translation updater bot 3ced897d18 Localisation updates from http://translatewiki.net.
Change-Id: Iacb39de64c65dfc085015e777d2ff291ee6f1145
2013-02-14 20:29:43 +00:00
Bsitu 567e11bb14 Merge "Fixing notification type to be 'web' in controller" 2013-02-14 20:13:01 +00:00
Kaldari 6347618db5 Fixing notification type to be 'web' in controller
Change-Id: Iab077a77aa75a6ff0cf03acecca38403595dda93
2013-02-14 12:07:23 -08:00
Bsitu 0af498355c Merge "Adding dismiss functionality to flyout overlay." 2013-02-14 19:23:27 +00:00
bsitu a05cb46922 Excludes user-dismissed events from count
Change-Id: I44e9707ba279a737dadb8c59013d53f3c67a5177
2013-02-14 11:14:08 -08:00
Kaldari 16331eab92 Adding dismiss functionality to flyout overlay.
Change-Id: Ibfbdb2a9f170e1d9b30b50e8639aee25101e71d6
2013-02-14 11:01:03 -08:00
Kaldari e7dc85c6d1 Merge "Update comment and db selection" 2013-02-14 18:38:32 +00:00
Bsitu 5d99d1a258 Merge "(bug 44814) Don't double-escape the date header on Special:Notifications" 2013-02-14 18:14:19 +00:00
Krenair 24eadab910 (bug 44814) Don't double-escape the date header on Special:Notifications
Change-Id: Ib1b9c645c4a7c779fc0a1051e3baf4e8e210743e
2013-02-13 23:05:22 +00:00
Translation updater bot 998fed5a58 Localisation updates from http://translatewiki.net.
Change-Id: I74676d93b9a9a9317087c922d5d0adadb1ca5a85
2013-02-13 20:59:03 +00:00
bsitu b21e50333d Update comment and db selection
Change-Id: I08c1437d58a7811f784a068012de5018b82f0c09
2013-02-13 11:50:25 -08:00
raymond fdf1bc6008 Some consistency tweaks for I484a24b424e69be3640e63b76f82735edae6f13a
* Email -> E-mail
* article -> page
* No Upper Casing

Change-Id: Icefa597e468f42487b806b3e1c193d6881d1a7d1
2013-02-13 09:43:41 +01:00
Bsitu abbfccca0e Merge "Adding dismiss functionality to special page" 2013-02-12 21:11:18 +00:00
Translation updater bot 98f39578d0 Localisation updates from http://translatewiki.net.
Change-Id: If91eff4dc5e104f4751f8014274f05afc8fd18a4
2013-02-12 20:22:40 +00:00
Kaldari af06e26de6 Adding dismiss functionality to special page
Includes new web preferences for Echo

Also adding ability to set dismissability per notification type

Still need to arrange subscription options into a friendly format

Still need to add dismiss functionality to flyout

Change-Id: I484a24b424e69be3640e63b76f82735edae6f13a
2013-02-12 11:33:50 -08:00
Translation updater bot 32556af2e9 Merge "Localisation updates from http://translatewiki.net." 2013-02-11 20:29:53 +00:00
Translation updater bot fec4a6893e Localisation updates from http://translatewiki.net.
Change-Id: I908dc2511a3277243f81a8c116d827051ce4836a
2013-02-11 20:17:41 +00:00
Kaldari d0ddc2a3eb Fixing unread state for flyout - CSS tweak
Change-Id: I08bae800758247bc01abeeb59cb4a2873f37b964
2013-02-11 12:05:55 -08:00
Translation updater bot 1aa29e4973 Localisation updates from http://translatewiki.net.
Change-Id: Ice15b9c558368976e254ecfc6605d483697fa7fa
2013-02-09 22:55:30 +00:00
Kaldari 75fb6a79aa Merge "Abstracting MySQL in Echo so storage type can be swapped easily" 2013-02-09 00:05:03 +00:00
Translation updater bot 290061f679 Localisation updates from http://translatewiki.net.
Change-Id: I97727824e5d2fe0fc6d5ab8b332b8acf28e83e43
2013-02-08 21:32:02 +00:00
bsitu 78ad57d43a Abstracting MySQL in Echo so storage type can be swapped easily
Patch Set 6:
	* remove redundant JobQueueDB because it's the default
	* remove extra ;

Change-Id: I25dc0203ed5be1e4989242a87f4fde9c8799de28
2013-02-08 10:34:50 -08:00
Translation updater bot 8f26fd5e22 Localisation updates from http://translatewiki.net.
Change-Id: I984c37e525ec536a6409796107491255c3a9c492
2013-02-07 20:37:46 +00:00
Translation updater bot 723b574890 Localisation updates from http://translatewiki.net.
Change-Id: I3d975d3c8f25399eacddb5781a10f0ed8398abaf
2013-02-04 22:18:36 +00:00
Translation updater bot 8353781365 Localisation updates from http://translatewiki.net.
Change-Id: I7d1594c1f70fb2da931a083f75e7a0b29b70d952
2013-02-01 22:14:08 +00:00
Kaldari 5852502814 Merge "Allow events to specify that they should notify the agent." 2013-02-01 00:27:20 +00:00
Translation updater bot 41a4f57d54 Localisation updates from http://translatewiki.net.
Change-Id: I85c53918bdd5d05bda59973e98a0703ac26d6793
2013-01-31 20:41:41 +00:00
Translation updater bot 741c01fc67 Localisation updates from http://translatewiki.net.
Change-Id: I8066c6700137030f540757ce292dcd28931c5ec3
2013-01-30 20:48:22 +00:00
jenkins-bot d9ef75574d Merge "Using human-friendly relative timestamps rather than absolute timestamps" 2013-01-30 16:00:01 +00:00
raymond d09640cfcd Add special page to the "users" section on Special:SpecialPages
Change-Id: Iaa8dae73c5987301384442b1ade81f91f7698c9a
2013-01-30 10:32:30 +01:00
Translation updater bot d23bac6148 Localisation updates from http://translatewiki.net.
Change-Id: Ieb75b57bc5a0ad39f75259ef75e07aa62e570661
2013-01-29 21:00:49 +00:00
Translation updater bot 675ec6b402 Localisation updates from http://translatewiki.net.
Change-Id: I1ded25787f3224c2b29c7405e829264e1b8ac563
2013-01-28 21:53:37 +00:00
Translation updater bot 9b60959c4f Localisation updates from http://translatewiki.net.
Change-Id: Ie64e237ecc3e132e8896cd2644900992730ef935
2013-01-27 17:36:02 +00:00
Krenair eefab4076e Allow events to specify that they should notify the agent.
For I617eedce

Change-Id: I763db2f089e250c9f5486ed787ac71344e84abb7
2013-01-26 12:14:36 +00:00
Translation updater bot 5380c7a6c9 Localisation updates from http://translatewiki.net.
Change-Id: Id8847c4005143eccd920755892dcf07df2582cc5
2013-01-25 20:35:49 +00:00