Commit graph

7046 commits

Author SHA1 Message Date
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
jenkins-bot 5833846c44 Merge "Add 'Mark all as read' button to overlay" 2013-04-18 18:41:47 +00:00
jenkins-bot 5f21312587 Merge "Email digest header tweaks" 2013-04-18 18:20:57 +00:00
jenkins-bot a534f7b239 Merge "Split out notification emails to a separate from address so they can be configured as specified for launch." 2013-04-18 18:13:37 +00:00
jenkins-bot 3669ea0972 Merge "Add exception to email job so error will be tracked" 2013-04-18 18:13:28 +00:00
lwelling e1f03a8c0e Split out notification emails to a separate from address so they can
be configured as specified for launch.

Part of https://bugzilla.wikimedia.org/show_bug.cgi?id=46670

Change-Id: I06a73aae95bc4b6776a0554b624eccfc4602bc65
2013-04-18 13:55:13 -04:00
bsitu f5807257b1 Add exception to email job so error will be tracked
Change-Id: I59ad29ddcf961f4d5582095b04eb77f616bc40c0
2013-04-18 10:30:27 -07:00
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