Commit graph

5442 commits

Author SHA1 Message Date
Kaldari d42b1db8cc Reworking overlay for edge cases - no notifications, or too many to show at once.
Change-Id: I6af535bf35c5594ed0c4dfad92defffff8b0e02e
2012-12-17 18:40:07 -08:00
bsitu 426c303e1f Email copy update
Change-Id: If7892289f3baf938e97b3a70b30a402468741c78
2012-12-17 17:52:24 -08:00
Kaldari 51b422348e Merge "Fixing line height for the notification titles" 2012-12-17 21:36:25 +00:00
Kaldari 7dd7545c4c Fixing line height for the notification titles
Change-Id: I0c2e38ac59ce55043ed55b02dd6b6737db6ab012
2012-12-17 13:35:37 -08:00
Translation updater bot 3481f50d18 Localisation updates from http://translatewiki.net.
Change-Id: I4c5758d21c2a1b3628f439fb2a950357d3766e72
2012-12-17 21:25:38 +00:00
Translation updater bot 3de71e5c0c Localisation updates from http://translatewiki.net.
Change-Id: I73b77935bdd2c5fca9327d7cbc50abf42bfb9409
2012-12-16 20:48:57 +00:00
Translation updater bot dd019974c8 Localisation updates from http://translatewiki.net.
Change-Id: I5f1af0e661eab8350626c432e3747f9e7f66e18d
2012-12-15 23:54:58 +00:00
bsitu af8b434f11 Various fixes to the special page
1. EchoNotificationController::resetNotificationCount() does not reset count, it has misleading name (should fix the name in another patch)
2. Prevent multiple concurrent API calls resulting from multiple clicks on more link within very short amount of time

Change-Id: I4aeeadddd4fed833c2ae4308c1a0e94e6644f5e7
2012-12-14 17:52:04 -08:00
bsitu 2813576364 Only show email digest preference options if batch is enabled
Change-Id: I5b34ded16afad0d2bd50661bfae06dc7da7e48e9
2012-12-14 12:49:40 -08:00
Translation updater bot 7f7ee8f9fb Localisation updates from http://translatewiki.net.
Change-Id: Iaf95e0490c9621916d02fb6e30b76c4fafc118ae
2012-12-14 20:35:28 +00:00
Kaldari 339bf25dcf Make revert emails opt-in
Change-Id: Ib80b3c306a7d7feaf7fdd040b3819f77b52385c3
2012-12-14 10:16:08 -08:00
Patrick Reilly a1cb855828 fix author list and url
Change-Id: I7104dbafd53d96d47ba295f32c7917e864c4c7f9
2012-12-14 08:49:06 -08:00
Patrick Reilly 082634eebd fix double slash sign issue
Change-Id: I8a9c280c713d88967381e61bf6229c6d78773dbb
2012-12-14 08:35:31 -08:00
Bsitu 8919becfd8 Merge "Put the Notifications link after the talk page link if we're using full link" 2012-12-14 02:03:44 +00:00
Kaldari a46dc2a82d Put the Notifications link after the talk page link if we're using full link
Change-Id: Ifc3bb87575fd21b3f228cf1b8083a78939d7d529
2012-12-13 18:01:04 -08:00
Bsitu cc49fcfe61 Merge "More prefs functionality for Echo" 2012-12-14 01:48:29 +00:00
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