Commit graph

6726 commits

Author SHA1 Message Date
bsitu 41139e43a4 Remove redundant 'mark as read' API call for read items
Change-Id: I95677fe378d8b1b6dcf90e22886670391aa7d451
2012-12-13 17:04:37 -08:00
Kaldari f897c02385 More prefs functionality for Echo
Patch set 16:
	* change some of the message rendering from plain() to escaped()

Change-Id: I9b971bd11171e73cd4d0c4ea10f817f4e19024f2
2012-12-13 16:57:15 -08:00
Kaldari 65255f7c6b Formatting for Special:Notifications
Change-Id: I891542bf8b6a883e7ff9f78d2b33ddd61c345aa7
2012-12-13 14:08:20 -08:00
Kaldari 704147d1d2 Fixes to the toolbar link for notifications per Vibha
New badge behavior - Show badge even if zero notifications
Enable long and short links - i.e. 'Notification (X)' or just '(X)'

Depends on core change https://gerrit.wikimedia.org/r/#/c/38258/

Change-Id: Idc2288a4ddd0bf788ccdadb96d4744d223edaf0a
2012-12-13 14:07:32 -08:00
Translation updater bot d2d59c1d47 Localisation updates from http://translatewiki.net.
Change-Id: Ib9465e95b82e163e6032bf8baac0926c2a615d43
2012-12-13 20:27:58 +00:00
Kaldari 24d6ae2758 Merge "Initial check-in for email batch" 2012-12-13 17:59:17 +00:00
Kaldari 8a127c5206 Merge "(bug 42975) Reset notification count when visiting Special:Notifications" 2012-12-12 21:31:42 +00:00
Translation updater bot c37d98e4a2 Localisation updates from http://translatewiki.net.
Change-Id: I45cb5064e4868195a3ac00c827f28982741e2dc9
2012-12-12 21:12:57 +00:00
bsitu 363f8e9dd1 Remove 'extra' data from API result
1. We are not using 'extra' in API calls.
2. In some cases, we are storing private information in 'extra' data, this would expose those information

Change-Id: I3d8e03c3e01b1cc8832ac98d85a3a74e41865913
2012-12-12 12:29:05 -08:00
bsitu 6b8571403a Initial check-in for email batch
patch set 3:
	* add gender support to various messages
	* tweak variables a little bit, e.g. move class variables to function local variables
patch set 4:
	* update various email to e-mail in i18n file
	* add support to process only valid echo events
	* add global email footer
	* add the new table schema to core schema file
patch set 5:
	* remove trailing white space
	* add missing semicolon to return statement in Notifier::notifyWithEmail()
patch set 8:
	* some change based on newest feature requirement

Change-Id: I3298617dab4c04c4d6d486469120fc2d0c986b66
2012-12-12 12:00:13 -08:00
Krenair a5c23033e9 (bug 42975) Reset notification count when visiting Special:Notifications
Change-Id: Iaf3f4f5be575c36c4459e252bc83f414eb07e381
2012-12-12 19:56:48 +00:00
Translation updater bot 825b5d7c34 Localisation updates from http://translatewiki.net.
Change-Id: I7ae8a492d32ff1cd65ba1ad80f83b0819f34f560
2012-12-11 22:52:15 +00:00
Kaldari 52ee8cd952 Adding placeholder and trashcan icons
Change-Id: I589032ae32ec67f0cfca46af98a27654b4ddd672
2012-12-11 19:27:34 +00:00
Kaldari f519bca628 More formatting work on the overlay and base files
Change-Id: I8512c317d6c0a3db9e3fd0aa2b58a87f8f276b45
2012-12-10 18:02:19 -08:00
Kaldari 20ec5375dd Merge "Modification to all notification page" 2012-12-11 01:12:01 +00:00
bsitu ad14fdbc57 Modification to all notification page
patch set 1:
	* Consolidate notification retrieval in API and Special page
	* Add load more function to special page with records as old as 7 days ago
	* Add support for browsers with javascript disabled

patch set 2:
	* Remove trailing whitespaces

patch set 3:
	* Fix some i18n issue
	* Fix variable names and some exta whitespace
	* Load core css files on special page rendering

Change-Id: Ic69e430b5eb196e5223a2bb6b1d447ef257d559b
2012-12-10 13:51:26 -08:00
Translation updater bot 04f53385b0 Localisation updates from http://translatewiki.net.
Change-Id: I17a46c72aa77cd0a89a516190daf5a5b36aa3ad5
2012-12-10 20:28:59 +00:00
Translation updater bot fdb2086dc0 Localisation updates from http://translatewiki.net.
Change-Id: Ibe3f0fdc4119a848d715a3176cb6a02a362b16df
2012-12-09 20:25:32 +00:00
Translation updater bot e30dd97266 Localisation updates from http://translatewiki.net.
Change-Id: I9e7cb4fa01bc4f7c38d33371804b1167139c7744
2012-12-07 21:54:40 +00:00
Kaldari ae7d11c40f Formatting work on overlay
Change-Id: I84a8d8e8259da65b922170b9a63150d0039dfb20
2012-12-07 12:04:19 -08:00
Translation updater bot 9239b19ddb Localisation updates from http://translatewiki.net.
Change-Id: I9adfc37ec84b02e323a9b17520830d1a219ff05f
2012-12-06 20:14:02 +00:00
bsitu efe5f6817f Fix fatal error
Fatal error: Call to undefined method WikiPage::getContext()

Change-Id: Ib7c7f5cd529930cd469ecce7e66fcc810e7549aa
2012-12-05 17:29:22 -08:00
Translation updater bot bc669eed8a Localisation updates from http://translatewiki.net.
Change-Id: I9b523019553d020423a0dd18bfbba756dc1f838f
2012-12-05 20:53:33 +00:00
Kaldari 48b73cd131 Making sure the user's language is used regardless of context.
Plus a couple whitespace fixes.

Change-Id: Ifb5815874956738c29ec7cb279e0e72107a04edc
2012-12-05 20:20:28 +00:00
Kaldari 7e9a35107b Allowing notifications to support multiple predefined components in the payload.
Payload components can include edit summary, edit snippet, welcome message.

This replaces the older 'content' system which constructed a payload
from an arbitrary message + parameters (but only supported a single
message).

Change-Id: I9a5e1d69f0c8296bb2bb79cb3f26e67aa34592bb
2012-12-05 10:31:41 -08:00
Translation updater bot cec29e0ad2 Localisation updates from http://translatewiki.net.
Change-Id: I38c725e1aff01853c163ad7bc7afd45cf5dd797f
2012-12-04 21:05:46 +00:00
Translation updater bot 0f0cbb32cf Localisation updates from http://translatewiki.net.
Change-Id: I460b48e1c5ceda3a804af7183147d61ac2c45757
2012-12-03 21:02:52 +00:00
Kaldari 3ec54376a5 Setting up preferences for Echo, adding comments for some functions
Removing watchlist features that are now out of scope

Change-Id: Icbc35a4204ed89fe6c3bfdd1fb33c525ef5dc75c
2012-12-03 11:54:34 -08:00
bsitu cd349b11ac (bug 41866) Fix invalid notification in the flyout and page
1. Skip invalid notification events
2. Add formatting to notifcation count, for example, if the count is over 99, we just show 99+

patch set 2:
	* fix trailing whitespace
patch set 3:
	* remove extra whitespace and indentation
patch set 4:
	* change function name from gatherValidEchoEvent() to gatherValidEchoEvents()
	* add more descriptive documentation

Change-Id: I81a135c24f64fa1aace4dd2631e9b88bbe22d3d0
2012-12-03 11:41:16 -08:00
Kaldari 1200f7fe93 Merge "Remove redundant condition from if statement" 2012-12-03 19:35:12 +00:00
Reedy 54f0804b7d Losslessly compress PNGs
Change-Id: Ifb34fa276bac4c05d637e9a04f231918cae7155a
2012-12-02 21:51:39 +00:00
Translation updater bot 4ea005a07a Localisation updates from http://translatewiki.net.
Change-Id: I8738b1ab94ee8e928c2a62479f888f6f40930730
2012-12-02 20:41:24 +00:00
Bsitu 0a5596be3c Merge "Redoing the notification icons and changing some formatting" 2012-11-30 23:50:13 +00:00
Kaldari 1124538d8a Merge "Add global default email footer message" 2012-11-30 22:52:19 +00:00
bsitu 3105444b9f Add global default email footer message
patch set 3: change emails to e-mails
patch set 4: make email-footer a parameter for email-body, this gives more flexibility so the footer can be defined directly inside email body or a separate message.
patch set 5: update email copy, still waiting for legal to finalize, :(
patch set 6: update email copy, remove whitespace, update preference link, the copy is finalized, :)

Change-Id: Ia5e8336f1c142c8f040efd0174696c7952c391a9
2012-11-29 13:20:29 -08:00
Translation updater bot 7a7adb73f2 Localisation updates from http://translatewiki.net.
Change-Id: I2432a278894b7edff55f1d542b445edaf0cdd8bd
2012-11-28 20:15:32 +00:00
Alex Monk 421babd44b Merge "Adding comments and fixing some incorrect comments" 2012-11-28 18:23:37 +00:00
bsitu af027a0dd7 Remove redundant condition from if statement
Change-Id: I5e12b5766f9cc8aa546833756778c8cf2c3bddbe
2012-11-27 14:16:18 -08:00
Translation updater bot 405ccd4db4 Localisation updates from http://translatewiki.net.
Change-Id: I9db4a25c86a7d45513258fa3b6d5b02fa9a96cdc
2012-11-27 21:03:40 +00:00
Kaldari 1c2a76ae22 Adding comments and fixing some incorrect comments
Change-Id: Iab1be6ad8700630f2cf3f97b5d5edd542f1c85ec
2012-11-26 18:20:53 -08:00
Kaldari f07d3f6e7a Redoing the notification icons and changing some formatting
Change-Id: Ida189fc267554f52d3da32d71ea6faf0d9b457f5
2012-11-26 13:23:03 -08:00
Kaldari 8519af52e1 Merge "(bug 41139) message snippets in notif should skip templates" 2012-11-26 21:11:48 +00:00
Translation updater bot 6666ea1e39 Localisation updates from http://translatewiki.net.
Change-Id: Ifa10cab116c3984fd54d189204ad9fac235664d6
2012-11-26 20:33:36 +00:00
Translation updater bot 7207f7e230 Localisation updates from http://translatewiki.net.
Change-Id: Ifcd4427353fe343da63cff147936deaac64b348f
2012-11-24 20:59:45 +00:00
Translation updater bot d876740045 Localisation updates from http://translatewiki.net.
Change-Id: Ia6e370f57d75d4cfff25e0a2cdfef746bb8c0fe3
2012-11-22 20:42:11 +00:00
bsitu 4bcc575ff8 (bug 41139) message snippets in notif should skip templates
patch set 2: remove trailing whitespace
patch set 3: remove unnecessary variable and add @return to function comment
patch set 4: remove redundant intval() and update commit message

Change-Id: I6abfa7d820433e008d8bdcc5843515cd4823dd02
2012-11-21 14:38:07 -08:00
Translation updater bot 3b16d39124 Localisation updates from http://translatewiki.net.
Change-Id: I1653b4742848a70fc6c40766106c3cbef42dc699
2012-11-21 22:26:47 +00:00
Demon 9d2637ec44 Merge "Add database replication delay handling to Echo" 2012-11-21 12:56:28 +00:00
Translation updater bot d2432c8470 Localisation updates from http://translatewiki.net.
Change-Id: I4498f1e894de2862716edd7895926d6bce1ef32f
2012-11-20 20:50:24 +00:00
Translation updater bot f96f5743cb Localisation updates from http://translatewiki.net.
Change-Id: Id5a05db26ebde93889ea01337c84966beb6618ad
2012-11-19 20:16:30 +00:00