Commit graph

614 commits

Author SHA1 Message Date
jenkins-bot 87c07e9141 Merge "Only create notifications that are wanted by the recipients" 2013-04-29 10:25:34 +00:00
jenkins-bot bd590aaab6 Merge "Changing how the enotifusertalkpages user option is handled by Echo" 2013-04-29 10:00:11 +00:00
Matthew Flaschen d3b67e2122 Change icons to use img tags, allowing easier customization:
* Icon can be defined using a path or a URL
* Extensions don't need custom CSS, but add icon through BeforeCreateEchoEvent
* Sites set their notification icon in LocalSettings.php or equivalent

Bug: 46585
Change-Id: Ifc02b653d07de19229dfb2604305e32f3bd595fe
2013-04-29 06:05:40 +00:00
Translation updater bot a5a97ea8e6 Localisation updates from http://translatewiki.net.
Change-Id: Icd1d1a2498bd165971ae3f48706fbc8863483f30
2013-04-28 23:53:25 +00:00
kaldari 5b40cfbc58 Changing how the enotifusertalkpages user option is handled by Echo
If we're using Echo to handle user talk page post notifications,
hide the old (non-Echo) preference for this. If Echo is moved to core
we'll want to remove this old user option entirely. For now, though,
we need to keep it defined in case Echo is ever uninstalled.
Otherwise, that preference could be lost entirely. This hiding logic
is not abstracted since there is only a single preference in core
that is potentially made obsolete by Echo.

Change-Id: I6c8b2143a5fd719486f7e6cbaa3d7635f507ffca
2013-04-28 15:21:05 -07:00
kaldari 5a4704e357 Only create notifications that are wanted by the recipients
Also moving getUserEnabledEvents from EchoBackend to
NotificationController since it has nothing to do with the backend.

Bug: 47664
Change-Id: I4f9682b861d9f035ae45f206c37ec0ae1c09ab64
2013-04-28 11:09:15 -07:00
Translation updater bot ccb93c653b Localisation updates from http://translatewiki.net.
Change-Id: I1df53916563aab0ee36172a5a851739b155ea5aa
2013-04-27 20:18:24 +00:00
jenkins-bot 18b3b3a71a Merge "Making system messages email to users by default per specs" 2013-04-27 02:18:58 +00:00
kaldari 2c4b1e2c2e Making system messages email to users by default per specs
Change-Id: I9ba67d06adaee68fc801f92eec6dd9429bfee950
2013-04-26 18:39:11 -07:00
jenkins-bot 4f4289b55f Merge "More fixes for Monobook and adding a missing message key" 2013-04-27 00:03:06 +00:00
jenkins-bot c28d5c9f5c Merge "Hedging my bets" 2013-04-27 00:01:29 +00:00
kaldari 5ad9f2a96e More fixes for Monobook and adding a missing message key
Bug: 47652
Change-Id: I3199af6aef0ceab2380fb1de7b74cc21541e2886
2013-04-26 16:58:03 -07:00
Translation updater bot 474124a6ca Localisation updates from http://translatewiki.net.
Change-Id: I2c7bf57334dcd9747db1b625de10e02871bf9c7d
2013-04-26 22:12:00 +00:00
kaldari 35797064c4 Hedging my bets
Making monobook's text-transform not apply to notification flyout.
Unfortunately, 2 overrides are needed since the monobook selector
is applied weakly to the overlay in general (as an inherited style)
and strongly to the notifications themselves (since they're in a ul)

Bug: 47652
Change-Id: I2600b5836ea7bca59d9089d8bb7e69a6aaeca6a4
2013-04-26 14:52:44 -07:00
jenkins-bot 9a6a74208c Merge "Override text color for monobook skin." 2013-04-26 21:19:38 +00:00
kaldari c52cc48aed Override text color for monobook skin.
Bug: 47652
Change-Id: I29562fa75ec4af1128f69865d0500fc13a92eec8
2013-04-26 14:00:59 -07:00
jenkins-bot f89a7b2c88 Merge "Only the 'Notifications' part of the header should be bold" 2013-04-26 00:43:11 +00:00
kaldari f9a40d47f2 Making page title bold in flyout version of revert notification
Change-Id: I98ac6a267f230bbca05608130d22f2512542ccaf
2013-04-25 16:27:38 -07:00
lwelling 8f3e83d183 Fix enabled/disabled logic for event logging in echo
Change-Id: I5dbf939a0651f5c1e97f896d5325437a5fc32b54
2013-04-25 15:36:55 -04:00
raymond 8599f19a2d Slightly rephrase message and add link
Suggested by Siebrand
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Echo-dismiss-prefs-message/nl

Change-Id: I600c3ab518dda019b3f4210c3836356908d2de91
2013-04-25 20:13:57 +01:00
jenkins-bot 897e450c5b Merge "Adding help button to flyout. Fixing ID name per conventions." 2013-04-25 18:36:34 +00:00
Kaldari d38ad2afdf Merge "Get rid of wikipedia logo" 2013-04-25 18:24:51 +00:00
jenkins-bot 13a680513a Merge "Making agents and pages bold in flyout notifications per specs" 2013-04-25 18:15:33 +00:00
Krenair 49d1eac5a6 Get rid of wikipedia logo
This was being used as the icon for the welcome and user rights notifications,
but is completely inappropriate for any site other than Wikipedia.

WMF will probably want something like this in their config:
if ( $site === 'wikipedia' ) {
	$wgEchoNotifications['welcome']['icon'] = 'w';
	$wgEchoNotifications['user-rights']['icon'] = 'w';
}

Bug: 47650
Change-Id: Idd41567ffcb468dd3d040d2a5a61d1e3f9f7f5fa
2013-04-25 19:11:19 +01:00
jenkins-bot c671d15a01 Merge "Move maintenance scripts to maintenance directory" 2013-04-25 17:48:22 +00:00
kaldari b3391e42ff Only the 'Notifications' part of the header should be bold
When there are more new notifications than can fit in the overly
it shows a message in the header alerting the user. This message
should be in regular text, while 'Notifications' should stay bold.

Changed per Fabrice.

Change-Id: I21dc0ed516e5656c6d1965970d7a5f313e317aa9
2013-04-24 21:51:27 -07:00
kaldari 24b00328b6 Adding help button to flyout. Fixing ID name per conventions.
Change-Id: Id7243ba8e8599e1413203f951e96b73e2a6ceb9c
2013-04-24 21:36:03 -07:00
jenkins-bot 5276fbad66 Merge "Set echo preferences for new users after their account is created Default settings for existing users are intended to be low volume and not annoying New users need more encouragement and incentive to return" 2013-04-25 01:39:40 +00:00
jenkins-bot a7c2b83f9a Merge "Some comment fixes" 2013-04-25 01:37:06 +00:00
jenkins-bot 564827f873 Merge "New red heart icon for Echo gratitude notifications" 2013-04-25 01:36:30 +00:00
lwelling 073ef28599 Set echo preferences for new users after their account is created
Default settings for existing users are intended to be low volume and not annoying
New users need more encouragement and incentive to return

Change-Id: Id37ad8289a5c968ae8be6a8c424a19d6cbc7e071
2013-04-24 21:03:25 -04:00
kaldari 9febd46267 New red heart icon for Echo gratitude notifications
Change-Id: If2905985b6e7ceb4acf59313b60e6c92ab7fc599
2013-04-24 16:02:08 -07:00
lwelling 51bd09e3aa Add event logging call to notifications sent by email
Add deliveryMethod to logged data as described in the new schema at http://meta.wikimedia.org/wiki/Schema:Echo

Change-Id: I60705900166b675d7d8e07d11114ae06a2d1a7c3
2013-04-24 17:33:45 -04:00
Translation updater bot 6b859ebb24 Localisation updates from http://translatewiki.net.
Change-Id: I85a012c0d40e2fa296c7bf8827726d1bbb67722f
2013-04-24 20:07:23 +00:00
jenkins-bot bf8f6e9e48 Merge "Modifying Echo defaults per Echo/Feature_requirements" 2013-04-24 18:24:26 +00:00
kaldari 79c1337376 Modifying Echo defaults per Echo/Feature_requirements
Change-Id: I2fd23001a4b54aa19739fd0b5e0c6b3d4c59c2a9
2013-04-24 11:20:26 -07:00
Translation updater bot 5239733efb Localisation updates from http://translatewiki.net.
Change-Id: I96aca69e536852b50b71021a3969f33fb83654eb
2013-04-23 20:06:16 +00:00
ebernhardson c999480a65 Hide preference for disabling fly-out notification
Bug: 47562
Change-Id: If295d802f5210ba7493eaff55a4330b8035e506c
2013-04-23 12:16:01 -07:00
kaldari d134ffe98e Some comment fixes
Change-Id: Ie397eabe8322608fd58ba2a6f999d9f9e08aface
2013-04-23 11:05:54 -07:00
Reedy adffeae19d Move maintenance scripts to maintenance directory
Left fixme comment

Change-Id: I30207558d21bb73c6caa6dd722016bc51b257395
2013-04-22 22:52:21 +01:00
Translation updater bot 522d452c68 Localisation updates from http://translatewiki.net.
Change-Id: I61120ea8c4a1d38f0a75ce900bab47109f55f378
2013-04-20 22:41:59 +00:00
Krenair 2e9a1c5fc3 Use slave database to reset notification count on preference change
Per Bsitu's comment on I5244ef9f

Change-Id: Ibfd598fd736808e69877ffb892f3781ff742a630
2013-04-20 16:06:25 +01:00
Amir E. Aharoni 62fa7a5983 Fix English grammar in echo-email-batch-* messages
Change-Id: Ibe9586eade16d7fb28a6edf1507ef28eb41bee0f
2013-04-20 11:37:54 +03:00
jenkins-bot 724470ce02 Merge "Remove static object cache to avoid cross wiki related issue" 2013-04-19 21:55:37 +00:00
Translation updater bot 09f6abe044 Localisation updates from http://translatewiki.net.
Change-Id: I3c35afea15a41c1f01d41836937f01755dd90b3d
2013-04-19 20:27:12 +00:00
bsitu e9d042283c Remove static object cache to avoid cross wiki related issue
Some script like job runners are running against multiple wikis, caching the object would make later wikis use the incorrect object, it's global variable anyway, there is no need to cache it

Change-Id: I427a5cefbd607aaf897dfa07087e381faffea495
2013-04-18 20:50:48 -07:00
kaldari 5c87bb3738 Making agents and pages bold in flyout notifications per specs
Change-Id: I8eec2df4c7c772cdd753fbd8ec646baf50f2f03d
2013-04-18 16:02:00 -07:00
bsitu b34e30cefb Fix a possible db cache issue for job runner
Do not cache db object, this may be causing issue for inter wikis

Change-Id: I127fe05c919c1d20d466c7281f01eef1983270de
2013-04-18 16:01:12 -07:00
bsitu 79e66c4268 Remove the redundant db, lb static cache layer
They are already cached in db and lb object

Change-Id: I3e4db98a3eecdf184db64274b3914eec076af905
2013-04-18 14:33:38 -07:00
Translation updater bot c4660f78fe Localisation updates from http://translatewiki.net.
Change-Id: I68ca63af2fbea5eb5c8dcfc507e358ebcedee696
2013-04-18 19:43:00 +00:00