Commit graph

6622 commits

Author SHA1 Message Date
Kaldari 1f88af134b Echo style tweaks per Vibha
Change-Id: I4111092e32213b50ccb0e8dee849a2edfb645827
2013-03-07 10:40:54 -08:00
Kaldari ab784f649b Making sure email notifications are based on categories as well
Change-Id: Ib7cee67c940a4bb1b770f509edd995cb0631950d
2013-03-07 10:32:29 -08:00
bsitu 5526c24375 extract payload from generic format method
This will allow 3rd parties to define their own payload for notification

Change-Id: If3a7c1d7d51beb96379af46617e15f76a32e6c05
2013-03-06 19:12:54 -08:00
jenkins-bot 5f945a6fdd Merge "Just correcting a class name" 2013-03-06 22:57:44 +00:00
lwelling 5189f1cf2d Just correcting a class name
Change-Id: I516ea5070cb440300b7bcdccc142aab9a9f6f1d1
2013-03-06 17:43:26 -05:00
Translation updater bot 588d07ffeb Merge "Localisation updates from http://translatewiki.net." 2013-03-06 22:04:14 +00:00
Translation updater bot 30aaeb1d1f Localisation updates from http://translatewiki.net.
Change-Id: Ib732eb7c5c23c7181461106e063160cef8cd9bc9
2013-03-06 21:51:05 +00:00
bsitu fd72ce7606 Fix eventlogging schema check logic
ResourceLoaderRegisterModules Hook is triggerd on HTML generation, which happens after POST action.  We should move the logic of checking if a schema is enabled out of this hook.

Change-Id: Ic5696aeca378d13d04ce901ce56a2d0e8a9ab802
2013-03-06 13:36:51 -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
bsitu 605c88b4bb Add more documentation and getter method to Notification
Change-Id: Idb64de7034e7ff3c615dcee6fe814d64102f66cc
2013-03-04 17:34:23 -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