Commit graph

415 commits

Author SHA1 Message Date
Kaldari 8252026040 Using self for static methods
Change-Id: Iea3e7a7bdde9c7ac4d2da39edbc3bff80a68e4c6
2013-03-07 12:48:14 -08:00
Kaldari c253342de4 Making defaultUserOptions based on category to match preferences
Also making getUserEnabledEvents check the categories

Change-Id: I561ccbb82605a6c2122330b791f3790d9dbe9078
2013-03-07 10:56:13 -08:00
Kaldari b3934bfd16 Merge "Remove trailing comma from javascript object literal" 2013-03-06 01:45:40 +00:00
Kaldari 1e23f03827 Merge "Add more documentation and code cleanup" 2013-03-06 01:35:12 +00:00
Kaldari 213e9b7264 Merge "Remove unused pretty timestamp" 2013-03-06 01:30:58 +00:00
bsitu 9f62f5fe36 Remove trailing comma from javascript object literal
Change-Id: I629a21eeeae810fe7d6bf805cfbaa61225e00963
2013-03-05 17:14:32 -08:00
bsitu 85aa4a20a6 Add more documentation and code cleanup
Change-Id: I3bbdd524fdb882f5edd0a0bf5b1efe3321949253
2013-03-05 13:24:03 -08:00
Kaldari 8357f4bd75 Implementing new prefs system for Echo
Change-Id: Id745ed6cf1c92695569597fab6ea662bac8c76c0
2013-03-05 12:20:17 -08:00
bsitu b98b7b69bf Remove unused pretty timestamp
It is not used anywhere and we are going with a completely different approach

Change-Id: I9c8cbbcacd6dfdf6a7767f784a4b8b80b9c606ee
2013-03-05 10:34:20 -08:00
Translation updater bot 9276acbcb2 Localisation updates from http://translatewiki.net.
Change-Id: Ib615e42cff994395f2a4052fd8363c91e47e85d5
2013-03-04 21:32:25 +00:00
Translation updater bot 0bddd60c6f Localisation updates from http://translatewiki.net.
Change-Id: I9cf7e5906468c11a293763e94b2b0eef69525a19
2013-03-03 21:12:31 +00:00
jenkins-bot 95f1d50c18 Merge "Add first version of EventLogging schema to Echo" 2013-03-03 03:45:46 +00:00
bsitu fc5c341692 Add first version of EventLogging schema to Echo
Change-Id: I4b6033ffc2ec8d1597f2b447f100c58a8c3a7f3e
2013-03-01 15:53:07 -08:00
Translation updater bot c832df2d08 Localisation updates from http://translatewiki.net.
Change-Id: I8c606149d959a0dcc00db437648d4c64df3d6c21
2013-03-01 21:20:28 +00:00
Bsitu 3be58d5738 Merge "Remove a couple of unused variables" 2013-03-01 19:11:22 +00:00
Reedy 62a433573f Numerous bits of method parameter documentation
Change-Id: Ie4b2657b5e010311b779aa587aa7fa9fc3f19abb
2013-03-01 10:56:58 -08:00
bsitu 54c52b2a4e (bug 45591) Fix inconsistent function return type
Change-Id: Iccc4acb2bb809d0f957d73d6e8a4da3033839c1e
2013-03-01 01:23:10 +00:00
bsitu 42dbd11d7e (bug 45592) Remove unused function EchoEditFormatter::formatLink()
The logic has been moved to somewhere else

Change-Id: Icfedbc173a3a35d9f2431bfa3baf06bb63662112
2013-02-28 17:19:48 -08:00
Reedy b4b7cd926c Remove a couple of unused variables
Change-Id: I45e0b6e7c2ae8e2235ff8f85c95c657e0e05fc9e
2013-02-28 23:34:10 +00:00
Translation updater bot 3e30543b8b Localisation updates from http://translatewiki.net.
Change-Id: Id3a4b44398fe787479ce3d020f0d94ac6ab6aa4f
2013-02-28 20:39:02 +00:00
Translation updater bot de45d58cbe Localisation updates from http://translatewiki.net.
Change-Id: I30bb847e6b778883716ddb1d8e2fc20bb09fdb87
2013-02-27 21:15:37 +00:00
Siebrand Mazeland b624960ffa (bug 45461) Use email instead of e-mail
Change-Id: I452dd42a007a61d1e45dd81473a2745b86566f93
2013-02-27 12:44:01 +01:00
Kaldari d1aa8d52e1 Some minor polish for user mention notification per design specs
Tweaking pref label and adding edit summary payload

Change-Id: I559d162302bdc06f502a79335d7cfaa5ed3deb7d
2013-02-26 13:31:40 -08:00
Translation updater bot 1849625b93 Localisation updates from http://translatewiki.net.
Change-Id: I0d865d5e01bd6ed46209ea8fbc894a52d30b655c
2013-02-26 20:47:14 +00:00
Translation updater bot 16f0cb186e Localisation updates from http://translatewiki.net.
Change-Id: I12779da9859617209b5c5371ded6741a08c0152b
2013-02-25 21:05:32 +00:00
bsitu d61ce41e80 configure mention notification to use the right formatter
Change-Id: I9b1e6a70eb33b80483f9966c8911b8d7d459059b
2013-02-25 11:19:18 -08:00
Kaldari f191726e35 Merge "Add a "mention" notification" 2013-02-25 04:42:03 +00:00
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