Commit graph

6958 commits

Author SHA1 Message Date
jenkins-bot 71803f9876 Merge "Add nextSequenceValue() to support dbs like PostGres" 2013-04-18 13:30:56 +00:00
jenkins-bot 6fdd41b4dd Merge "New presentation of email notification settings per requirements" 2013-04-18 13:16:23 +00:00
kaldari 9448c6cab0 Add 'Mark all as read' button to overlay
Button is only shown if there are more unread notifications than
fit in the overlay.

To avoid performance issues, this version only works for cases where
the number of unread notifications is less than the maximum count
(99 currently). Otherwise the button to mark all as read isn't
displayed (it's also limited on the server-side for good measure).

Bug: 47092
Change-Id: Ifcb0a436e2b31062741c441cca239d35ddefa0e1
2013-04-18 00:29:36 -07:00
jenkins-bot 057e86286d Merge "Lots of UI changes per Vibha" 2013-04-18 04:49:48 +00:00
jenkins-bot c0257f0f72 Merge "Update email footer to approved launch phrasing." 2013-04-18 04:06:39 +00:00
kaldari d4a15e3ee4 New presentation of email notification settings per requirements
We have a new shorter header and add labels for the two options.

Change-Id: If63720afe35f2edfa90b2c74d93fe355abd5da61
2013-04-17 17:44:20 -07:00
jenkins-bot aa315ebd90 Merge "Add .jshintrc" 2013-04-17 23:03:39 +00:00
Siebrand Mazeland d440540cf8 Add .jshintrc
Per https://www.mediawiki.org/wiki/CC/JS#Linting. Update a few files to
bring the tests closer to passing.

Change-Id: I08b190e8b44dbdbeb56de5c380d0ed4a8394aca2
2013-04-18 00:36:08 +02:00
bsitu c7922a366c Email digest header tweaks
Plus adding escape to some of the messages

Bug: 47095
Change-Id: I296de4e5ebe92b737837c7ddcf3f631b16a9cf8b
2013-04-17 14:43:31 -07:00
bsitu a98aaacf38 Add nextSequenceValue() to support dbs like PostGres
Change-Id: I7af8391fc88d0336b83dba449f52709f309b6833
2013-04-17 13:58:13 -07:00
Translation updater bot 930387b47b Localisation updates from http://translatewiki.net.
Change-Id: I0c626115ed526a5858ffa70b0c69fe9c48c238ac
2013-04-17 19:33:47 +00:00
jenkins-bot d9a4bb7bb9 Merge "Pref for showing notifications" 2013-04-17 17:15:51 +00:00
Kaldari 6388779640 Pref for showing notifications
If this pref is turned off, we revert to the old orange bar talk
page notifications. Depends on core change Ifc8fbaf8.

Bug: 46550
Change-Id: If21f3aac51e484c5e077c7f4b5a2218e8b71ed2a
2013-04-17 09:55:05 -07:00
lwelling 66c18e9458 Update email footer to approved launch phrasing.
Change-Id: I4b4eeef4708bd7141006c099173f24b026806ece
2013-04-17 11:54:37 -04:00
Translation updater bot b7f11771dc Localisation updates from http://translatewiki.net.
Change-Id: I81c283e2d124cecb3d4231f0c16a6f7a5fe4ec72
2013-04-16 19:44:42 +00:00
jenkins-bot e45c9336da Merge "Adding Help link to Echo archive page" 2013-04-16 00:04:32 +00:00
jenkins-bot af36f31b67 Merge "Remove the code the tries to create an invalid notification" 2013-04-15 23:54:04 +00:00
kaldari d6fa2b4851 Lots of UI changes per Vibha
Changing highlighting behavior for archive. Now unread notifications
are highlighted with bold text in the archive rather than with a
background color.

Bug: 47149
Change-Id: I03b2a2968db6d067041c2618c5b4f878d8dc548f
2013-04-15 16:39:01 -07:00
kaldari 74fdc01fe6 Adding Help link to Echo archive page
Also fixing feedback link for Safari and Chrome

Change-Id: Icc9f2c66f983e95c1564f6981e952d1d99160111
2013-04-15 16:27:27 -07:00
Translation updater bot 58b77e43d7 Localisation updates from http://translatewiki.net.
Change-Id: I46c73dcd0cf7be124e100fbcb6084ab3f148d8b7
2013-04-15 20:57:21 +00:00
bsitu 5d32291b12 Remove the code the tries to create an invalid notification
Although invalid notification would be checked and not be created, it's better to get rid of any attempt of creating invalid notifications

Change-Id: I4bdbf7e0706b3613c7cf31ab07570fb4d1cdd045
2013-04-15 13:34:24 -07:00
jenkins-bot f4d033b9b2 Merge "Making sure notification counts are reset on user option changes" 2013-04-12 22:40:01 +00:00
kaldari f8157260ca Making sure notification counts are reset on user option changes
Bug: 47131
Change-Id: I5244ef9f7bf9d1217c0c0df6691d8cf689c47cf5
2013-04-12 15:26:25 -07:00
bsitu f611b8e90b (bug 47179) Page Link web or email bundling always show 1 other
This would affect both web and email bundling

Change-Id: If21acb1189ff9de95670bc5519be0700354bb0e7
2013-04-12 11:57:35 -07:00
Translation updater bot ae93a04ef3 Localisation updates from http://translatewiki.net.
Change-Id: I6d5a04180ba533d032346546bf0e48309089e5d2
2013-04-12 18:12:31 +00:00
bsitu 8e32625e6e Should not send bundle emails if users change mail option
If a user switches to email digest, we should not send or schedule any bundle emails, otherwise, a user may keep getting bundle emails till bundle cycle reset

Change-Id: Id8e4f39cad4c61dc9a044558307f0d654193cd49
2013-04-11 21:40:39 -07:00
Translation updater bot 5ee4d17733 Merge "Localisation updates from http://translatewiki.net." 2013-04-11 20:26:48 +00:00
Translation updater bot 4905a15e59 Localisation updates from http://translatewiki.net.
Change-Id: Ie6c995112b2a40269355017afbf9ec459d55c47d
2013-04-11 20:21:12 +00:00
kaldari ac9425aa8f Mostly reverting change Ifb9a287e since it isn't rendering correctly
For Chrome and Safari

Change-Id: I954a33a1a218d2b6f3996a78d9c244ca6b57042a
2013-04-11 13:02:06 -07:00
bsitu d44ed993a2 Add email bundling function to Echo notification
* This patch needs intensive testing on Redis delayed job queue
* This patch is -2 mainly for redis/phpredis are not ready on test/test2/mediawiki

To test this locally, you need to:
* set up Redis and phpredis locally
* add the following to localSettings.php
    $wgJobTypeConf['MWEchoNotificationEmailBundleJob'] = array(
        'class'       => 'JobQueueRedis',
        'redisServer' => '127.0.0.1',
        'redisConfig' => array( 'connectTimeout' => 1 ),
        'claimTTL'    => 3600,
        'checkDelay'  => true
    );
* set $wgMainCacheType to CACHE_DB or memcache
* set $wgEchoBundleEmailInterval to smaller number for testing purpose, 0 to disable email bundling

Change-Id: I9313e7f6ed3e13478cec294b5b8408fe8e941faf
2013-04-11 11:25:14 -07:00
jenkins-bot 20f6ca3dde Merge "Switching to new message scheme for prefs per feature requirements" 2013-04-11 18:18:41 +00:00
jenkins-bot 4ee55737e8 Merge "Let maintenance script wait for slaves on the correct cluster" 2013-04-11 17:57:34 +00:00
Matthias Mullie 836aae69d2 Let maintenance script wait for slaves on the correct cluster
Change-Id: I45872e0912ed5949586a15ae77123c8f1bb6151c
2013-04-11 10:34:20 -07:00
jenkins-bot b342f475fa Merge "(bug 46678) Adding feedback link. Temporarily removing Learn more link." 2013-04-11 17:27:07 +00:00
kaldari 7effc4808f (bug 46678) Adding feedback link. Temporarily removing Learn more link.
Change-Id: Ifb9a287e2dc11067efac48bdbf700fe7997d19f0
2013-04-11 10:23:47 -07:00
kaldari cca427faeb Switching to new message scheme for prefs per feature requirements
Change-Id: I84f440d29d3311c580d3ae5ac5b46c151e051e44
2013-04-11 10:22:18 -07:00
jenkins-bot 7049e0452b Merge "remove unused table and columns" 2013-04-11 17:17:32 +00:00
jenkins-bot 841d958bfb Merge "Disabling notification dismiss interface for now per Fabrice" 2013-04-11 17:10:43 +00:00
jenkins-bot 7485666776 Merge "RTL tweak for "All notifications" and "Preferences"" 2013-04-11 14:42:16 +00:00
nischayn22 f7c0a803ac RTL tweak for "All notifications" and "Preferences"
Some thanks to the following blog post
http://snook.ca/archives/html_and_css/background-position-x-y

Tested on Chrome and FF latest. Please test on more browsers!

Bug: 46215
Change-Id: I0b92b04f3a48dbd85c7e871a75a6973ea9760367
2013-04-11 10:27:31 +05:30
kaldari a744301a65 Adding link to Special:Log/rights from rights change notification
Change-Id: Idc1785b149ca24ef0bd4f6cbd54f2893d7648845
2013-04-10 18:27:28 -07:00
kaldari e641d6f7c7 Disabling notification dismiss interface for now per Fabrice
Notification categories can still be unsubscribed to in the prefs

Change-Id: I91046f840add2cd6e02b0b91078fd2ac377ca871
2013-04-10 17:22:40 -07:00
Translation updater bot 65eb33b328 Localisation updates from http://translatewiki.net.
Change-Id: I68d86c3be0138529629c21784c987520af7ec2f2
2013-04-10 20:31:37 +00:00
jenkins-bot 8f77e67e6f Merge "Making agent param logic consistant" 2013-04-10 17:32:47 +00:00
jenkins-bot b6545aa106 Merge "Welcome notification should have 'system' metrics group" 2013-04-10 13:57:04 +00:00
jenkins-bot 76e61a5926 Merge "Add external db support to Echo" 2013-04-10 13:56:54 +00:00
bsitu 2be8a547a0 Add external db support to Echo
Change-Id: I84b0d904795d858d88d8e52c22f00d81c0e81303
2013-04-09 17:59:17 -07:00
jenkins-bot 83bf52dff7 Merge "Better limits on number of notifications in the flyout" 2013-04-10 00:49:29 +00:00
kaldari 3800103c1c Better limits on number of notifications in the flyout
Change-Id: Ic53f6ebe530a73ef89204a96b22194a17d034a12
2013-04-09 17:43:57 -07:00
jenkins-bot b44b289ba2 Merge "Making 'More...' link in archive more prominent per Vibha" 2013-04-10 00:10:56 +00:00